All notable changes to CodeGraph are documented here. Each entry also ships as
a GitHub Release tagged
vX.Y.Z, which is where most people will look.
This project follows Keep a Changelog and adheres to Semantic Versioning.
~/.config/opencode/opencode.json, but opencode reads opencode.jsonc by
default — so the codegraph entry never showed up in any opencode session.
The installer now prefers an existing .jsonc, falls back to .json when
only that exists, and creates .jsonc for greenfield installs. Re-run
codegraph install --target=opencode after upgrading so the entry lands
in the file opencode actually reads.AGENTS.md (global
~/.config/opencode/AGENTS.md, local ./AGENTS.md) with the same
codegraph usage guidance the other agents already received. Without it,
opencode's model would call native Grep instead of the codegraph_*
tools it could see in its MCP list.opencode.jsonc survive install /
re-install / uninstall round-trips — surgical edits via jsonc-parser
rather than full-file rewrites.codegraph install now opens with a multi-select prompt for Claude Code,
Cursor, Codex CLI, and opencode — detected agents are pre-checked.
Each writes its native MCP config + instructions file (e.g. ~/.cursor/mcp.json
.cursor/rules/codegraph.mdc, ~/.codex/config.toml + ~/.codex/AGENTS.md,
~/.config/opencode/opencode.json). The runtime MCP server was already
agent-agnostic; this brings the installer to parity.--target=<csv|auto|all|none>, --location=<global|local>, --yes,
--no-permissions, --print-config <id>.codegraph init now auto-wires project-local agent surfaces for any agent
configured globally. In practice: Cursor's .cursor/rules/codegraph.mdc
is dropped on init so a single global codegraph install works in every
project you open — no per-project re-install needed.rootUri in the MCP initialize call.
We now inject --path into Cursor's MCP args — absolute path for local
installs, ${workspaceFolder} for global installs.~/.claude/CLAUDE.md, .cursor/rules/codegraph.mdc, and ~/.codex/AGENTS.md.codegraph install prompt order: agent picker is now step 1, before the
PATH-install and location prompts.AgentTarget interface in src/installer/targets/ — adding a 5th agent
(Continue, Zed, Windsurf, …) is a new file + one entry in registry.ts.src/installer/targets/toml.ts) — no
new dependency, scoped to the [mcp_servers.codegraph] table only, sibling
tables and [[array_of_tables]] preserved verbatim.unchanged, partial-state recovery for Codex.Based on substantive draft by @andreinknv
(fork commit c5165e4).
Thank you.
codegraph CLI failing with zsh: permission denied: codegraph after a fresh
global install. The published 0.7.5 tarball shipped dist/bin/codegraph.js
without the executable bit, so the shell refused to run it through the npm
symlink. The build now chmod +x's the binary before packing.Already on 0.7.5? Either upgrade to 0.7.6, or unblock yourself in place:
chmod +x "$(npm root -g)/@colbymchenry/codegraph/dist/bin/codegraph.js"