Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 20 Jun 22:53
4f9c1bb

Added

  • npm distribution support for the Bun-only speclink package, including
    dist/index.js as the package binary, a runtime package allowlist, dist
    verification, packed-package smoke testing, and release workflow publishing.
  • Platform-staged Swift and Dart scanner binary layout under
    dist/bin/<platform>/, with initial npm scanner support for darwin-arm64
    and linux-x64.
  • Dart scanner worker support, including analyzer-based @doc extraction,
    type/member canonical IDs (without parameter signatures, since Dart has no
    overloading), public-by-naming visibility, and Dart end-to-end
    check/context/graph/LSP integration. The Dart toolchain is provided by the Nix
    dev shell.
  • Swift scanner worker support for SwiftPM source checkouts, including
    SwiftSyntax-based @doc extraction, type/member canonical IDs, visibility
    filtering, and Swift end-to-end check/context/graph/LSP integration.
  • Worker-backed scanner protocol foundation for Swift and Dart adapters,
    including stdin/stdout JSON invocation and scanner availability/failure
    diagnostics.
  • speclink graph: prints the resolved link graph as human-readable output or
    as JSON following schemas/graph-output.schema.json, including resolvable
    one-way links, pair completeness, optional lightweight node content, and
    diagnostics that do not prevent graph construction.
  • Distributable adoption skills under templates/skills/: speclink-adopt
    for existing-project setup, speclink-link for docs-first annotation
    candidate confirmation, and speclink-review for whole-graph semantic
    review using speclink graph --json --include-content.

Changed

  • speclink context and speclink graph --json now carry code language
    metadata for code blocks/nodes so Swift endpoints render and serialize as
    Swift.
  • SpecLink's distributable skills are now dogfooded from .agents/skills/ and
    .claude/skills/ as symlinks to the canonical templates/skills/ entries.
  • TypeScript scanner endpoints now include signatureRange in addition to the
    existing full declarationRange, allowing graph consumers to read the
    public JSDoc/signature surface without implementation bodies.

Fixed

  • Worker-backed scanner responses now fail when the returned file list does not
    exactly match the requested files, and worker failures suppress derived link
    diagnostics for the failed file.
  • The npm-distributed CLI now resolves its bundled dist/bin/<platform> Swift
    and Dart scanner binaries when launched through the node_modules/.bin
    symlink, which previously resolved to the wrong directory on Linux and
    reported the scanner as unavailable.