Skip to content

Releases

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 02 Nov 21:42

[1.7.1] - 2026-11-02

Fixes

  • npm installs of this fork now resolve their platform bundle under the fork's own package scope: the codegraph and require entries looked for @colbymchenry/codegraph-<platform>-<arch> regardless of which scope the packages installed from, so on GitHub Packages as @malarinv/codegraph every command reported the bundle "missing" and then failed to fetch a matching upstream release. Both now derive the scope and repository from the installed main package's own package.json, with upstream's remaining the fallback, and the self-heal download points at the fork's own releases.
  • The self-heal fallback and its guidance lines no longer name the wrong owner when the packages come from a fork, so npm i -g <pkg> --registry=… in the fix-it text points at a package that exists.

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 21:06

[1.7.0] - 2026-11-02

Security

  • CodeGraph's refusal to use a sensitive folder such as ~/.ssh, ~/.config, /etc or C:\Windows as a project can no longer be sidestepped: a link or junction that leads to one, a differently capitalized name on Windows and macOS, a \\?\ spelling on Windows, and a path to a missing folder inside one are now refused like the folder itself. Before, any of these let an AI agent's query read the files inside. Thanks @mixxer for finding it.
  • The MCP server no longer uses a sensitive folder such as ~/.ssh, ~/.config or /etc as a session's default project, whether the folder came from your AI agent's workspace, the folder the server was started in, or --path. Before, only a folder an agent asked for by path was refused, so a session started in one that held an index answered from the files inside and kept it synced; now that session has no default project, and the agent can still query any other project by path.

New Features

  • codegraph files --format package and codegraph_files with format: "package" now list a project's files by the package that owns them, the nearest package.json or composer.json above each file that names one, so a monorepo splits into its workspace members with no setup and files nothing claims get a section of their own (colbymchenry#1871). Thanks @LuisAlbertoMK.
  • In C#, a MediatR Send or Publish now reaches a handler written against the project's own interface, like ICommandHandler<T> or IQueryHandler<T, R>, or one from a package, such as the Mediator library or Ardalis.SharedKernel, with nothing to configure. A command built by a mapper, like mapper.Map<CreateBooking>(request), is read as what it is, and two solutions kept side by side in one repository no longer link to each other's handlers. Thanks @PressXtoChris.
  • codegraph files --json now marks each file as a test file or not, --tests and --no-tests filter the list in any format, and codegraph node --file says "test file" in its header, so your own tooling can ask CodeGraph instead of keeping a copy of its naming rules. Thanks @maxmilian. (colbymchenry#1877)
  • codegraph install now sets up IBM Bob, for Bob IDE and Bob Shell: it adds the CodeGraph MCP server to ~/.bob/settings/mcp.json, or to .bob/mcp.json in a project. Thanks @QuentinDstl.
  • ASP.NET Razor views now link to the JavaScript their inline <script> blocks call, so a shared helper used from .cshtml files lists those views among its callers, with @Model, @if and other Razor syntax inside a script read for what it is. codegraph_explore's blast radius also gives a symbol's views (.cshtml, .razor, .vue, .svelte, .astro) a list of their own, so same-language callers can't crowd them out. Thanks @Johnny-Tsai.
  • codegraph install now sets up Factory Droid: it adds the CodeGraph MCP server to ~/.factory/mcp.json or a project's .factory/mcp.json, plus a short CodeGraph section in AGENTS.md, and Droid picks it up without a restart. Thanks @Rubyj and @KrystianMarek.
  • codegraph install now sets up Windsurf: it adds the CodeGraph MCP server to ~/.codeium/windsurf/mcp_config.json, which Devin, Windsurf's new name, imports by default. Thanks @SEPURI-SAI-KRISHNA.
  • Tauri apps now connect across the line between the frontend and Rust: codegraph_explore, callers and impact follow invoke('save_file'), tauri-specta's typed commands.saveFile() and your own wrappers around invoke to the #[tauri::command] function that answers, and follow events between Rust and the frontend, raw emit / listen and tauri-specta's typed events alike. Thanks @vdavid and @nk33-dev.
  • codegraph install now sets up Qwen Code: it adds the CodeGraph MCP server to settings.json, keeping any comments in that file, plus a short CodeGraph section in QWEN.md, and it can auto-allow CodeGraph's tools as it does for Claude Code. Thanks @ZevGit and @LiangshouX.
  • codegraph install now sets up DeepSeek Harness (dsh): one entry in ~/.dsh/cordis.patch.yml covers every profile, a short CodeGraph section goes in ~/.dsh/AGENTS.md, and an entry you wrote yourself is left as it is. Thanks @hfldqwe.
  • codegraph install now sets up Grok Build: it adds the CodeGraph MCP server to ~/.grok/config.toml or a project's .grok/config.toml, plus a short rule in rules/codegraph.md. Thanks @ximing.
  • codegraph install now sets up Kimi Code: it adds the CodeGraph MCP server to ~/.kimi-code/mcp.json or a project's .kimi-code/mcp.json, plus a short CodeGraph section in AGENTS.md. Thanks @zhouxbalabala.
  • codegraph install now sets up the Qoder CLI: it adds the CodeGraph MCP server to ~/.qoder/settings.json, or to .qoder/settings.local.json in a project. Thanks @greatjackzhou.
  • codegraph install now sets up Pi: it adds the CodeGraph MCP server to ~/.pi/agent/mcp.json or a project's .pi/mcp.json, plus a short CodeGraph section in AGENTS.md, and codegraph_explore stays on the model's tool list. Thanks @roymina.
  • CodeGraph's MCP server now gives agents and editors its display name and icon, so one that shows them, like the Codex app, lists CodeGraph by name and logo instead of a plain codegraph. Thanks @fedosov.
  • Commands that only read the index, like codegraph callers, query, node, impact and explore, now start about twice as fast and use less memory, because they no longer load the code that builds an index; the MCP server's first handshake is faster for the same reason, and so is your agent's prompt hook.
  • codegraph status now shows how many of a language's files yielded symbols when that isn't all of them, and warns when none did, so a parser that isn't working no longer looks healthy, and codegraph status --strict exits non-zero on that or on an index that's missing, unfinished or out of date, so packaging and CI can gate on it (colbymchenry#1658). Thanks @ferrine.
  • Your agent now hears when a project's index predates the engine it's running on: after an upgrade, its first answer for that project warns once, naming the version that built the index and codegraph index, which stays your call since nothing rebuilds on its own, and codegraph_status always shows both versions. Thanks @cbeaulieu-gt. (colbymchenry#1852)
  • codegraph serve --mcp --no-telemetry turns telemetry off for one MCP server entry, so a shared MCP config can opt out without an environment variable; a background daemon that's already running for the project keeps its own setting until it exits. Thanks @danusha2345. (colbymchenry#1908)
  • codegraph implementations <name> lists the types that implement or extend a trait, interface or class, with each one's file and line, how it's tied to the type, and whether it's test code, a Rust mock in a #[cfg(test)] module included; --depth follows subclasses of subclasses. Thanks @danusha2345. (colbymchenry#2833)
  • Indexing is faster, by the most on C and C++ and a good deal on Rust, Java and TypeScript: resolving a call no longer repeats so much work for each name it looks at.
  • Indexing a small project takes much less CPU and memory: CodeGraph starts only the threads a project needs, and a file that's slow to parse no longer holds up the others.
  • Set CODEGRAPH_SYNTH_MIN_INTERVAL_MS to limit how often live syncs rebuild the callback and event links across the whole project, which on a large TypeScript or Vue repo otherwise happens on almost every edit; a rebuild that's put off runs when the interval is up even if no edit follows, and until then those links can be that far behind your code. A full codegraph index is never held. Thanks @danusha2345. (colbymchenry#2911)
  • Indexing a large project takes about a quarter less memory at its peak.
  • Indexing a large project runs fewer threads and finishes as soon, with less CPU and memory.
  • For contributors, the test suite now runs on Vitest 4 and working in this repository needs Node 22.12 or newer; installing and using CodeGraph doesn't change. Thanks @danusha2345.
  • New codegraph cycles command lists the groups of files that import each other in a circle, as text or --json, and exits 1 when it finds any, so it works as a pre-commit or CI check (colbymchenry#888). Thanks @jiangyq9 and @goutham80808.
  • codegraph init --local-only keeps .codegraph/ out of git entirely, so nothing of CodeGraph's shows in git status, and it works on a project that's already set up, leaving a .codegraph/.gitignore you've edited or committed alone (colbymchenry#910). Thanks @jadchene, @jiangyq9, @Wood-Q and @walterf3.
  • CodeIgniter 3 projects are now understood: every controller method and routes.php entry becomes a route, HMVC modules included, and calls through what $this->load loads, like $this->user_model->find($id), link to the method they reach, so codegraph_explore can follow a request from its route through the model and into the view. Thanks @darkspock.
  • In Drupal, services from *.services.yml, plugin definitions (attributes and docblock annotations, a contrib module's own plugin types included) and #[Hook] methods are now part of the graph, and a call through \Drupal::service('x') or $container->get('x') links to the method on that service's class. Thanks @mikedamoiseau and @marcelovani.
  • In Next.js, a route now links to the proxy.ts or middleware.ts that runs before it, following config.matcher, so codegraph impact, codegraph callers and codegraph_explore show which routes a change to it reaches. Thanks @RIGOandre.

Features

  • Kubernetes, Flux, Crossplane and Backstage catalog manifests are now part of the graph. Each YAML document that declares an apiVersion and a kind becomes a node named after both — HelmRelease/consensus, Kustomization/kustomization, Record/www-dev-a-record — so codegraph explore, search and impact can answer questions about manifests the way they do about code. Edges are added only for the keys that point at another document, such as a HelmRelease's sourceRef and dependsOn, a Kustomization's spec.path, its `resour...
Read more