Skip to content

v3.1.3

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Nov 21:19
· 39 commits to main since this release

Added

  • MCP workspace routing: codegraph mcp serve --root /path/to/workspace --workspace workspace.json selects independent repositories without building a parent index. Search results keep project-qualified handles, deterministic project order, freshness, omissions and failures; dependency relationships require explicit configuration.

Changed

  • CLI stdio MCP clients reuse one compatible project owner, index, worker pool and watcher through the existing verified server lifecycle. Automatic owners use an available loopback port and exit after 30 inactive minutes; client disconnects and cancellations do not close another client's analysis state. Incompatible configuration, security policy or runtime code requires an explicit owner stop and reconnect.
  • MCP checks non-Git parent roots before configuration loading or indexing. Multiple independent repositories require project selection or an explicit workspace; discovery-budget exhaustion reports unknown scope. Intentional broad-root indexing uses --allow-parent-root.

Fixed

  • MCP watching retires descendant handles after a parent directory disappears; queued edits still invalidate freshness, but retired handles cannot close or disable replacement watches. An older failed rebuild no longer consumes a newer edit burst's retry attempts.
  • MCP bridges reject retargeted project aliases and revalidate captured owner endpoints after connection setup, before sending tool calls. Workspace routing retains and checks secondary alias paths after physical-project deduplication, rejects owners with a changed root, and preserves nested packet coverage and logical-root metadata.
  • HTTP MCP shutdown closes keep-alive connections after their active responses finish, so health polling cannot hold codegraph server stop open.
  • MCP root preflight recognizes Git checkouts directly inside pruned directory names such as vendor, without scanning their contents. Workspace errors retain owner compatibility reasons and recovery instructions while redacting filesystem paths.

Published certified packages:

  • @lzehrung/codegraph@3.1.3
  • @lzehrung/codegraph-core@3.1.3
  • @lzehrung/codegraph-native@2.1.3

Standalone preview assets are built, smoked, and attached by the final release job.