Skip to content

Commit 7d87126

Browse files
committed
release: 0.7.7 (multi-agent installer — Cursor, Codex, opencode)
1 parent a447e1d commit 7d87126

3 files changed

Lines changed: 58 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,61 @@ a [GitHub Release](https://github.com/colbymchenry/codegraph/releases) tagged
77
This project follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
88
and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [0.7.7] - 2026-05-17
11+
12+
### Added
13+
- **Multi-agent installer** (closes [#137](https://github.com/colbymchenry/codegraph/issues/137)).
14+
`codegraph install` now opens with a multi-select prompt for **Claude Code**,
15+
**Cursor**, **Codex CLI**, and **opencode** — detected agents are pre-checked.
16+
Each writes its native MCP config + instructions file (e.g. `~/.cursor/mcp.json`
17+
+ `.cursor/rules/codegraph.mdc`, `~/.codex/config.toml` + `~/.codex/AGENTS.md`,
18+
`~/.config/opencode/opencode.json`). The runtime MCP server was already
19+
agent-agnostic; this brings the installer to parity.
20+
- Non-interactive install flags for scripting / CI:
21+
`--target=<csv|auto|all|none>`, `--location=<global|local>`, `--yes`,
22+
`--no-permissions`, `--print-config <id>`.
23+
- `codegraph init` now auto-wires project-local agent surfaces for any agent
24+
configured globally. In practice: Cursor's `.cursor/rules/codegraph.mdc`
25+
is dropped on `init` so a single global `codegraph install` works in every
26+
project you open — no per-project re-install needed.
27+
28+
### Fixed
29+
- **Cursor**: globally-installed codegraph reported "not initialized" in every
30+
workspace because Cursor launches MCP-server subprocesses with the wrong
31+
working directory and doesn't pass `rootUri` in the MCP initialize call.
32+
We now inject `--path` into Cursor's MCP args — absolute path for local
33+
installs, `${workspaceFolder}` for global installs.
34+
35+
### Changed
36+
- Agent-instructions template is now agent-agnostic. The previous template was
37+
inherited from the Claude-only era and prescribed "spawn an Explore agent" —
38+
a Claude Code-specific concept that confused Cursor's and Codex's agents and
39+
caused them to fall back to native grep even with codegraph available. The
40+
new template adds explicit "trust codegraph results, don't re-verify with
41+
grep" guidance and a clear tool-by-question matrix. Applies to
42+
`~/.claude/CLAUDE.md`, `.cursor/rules/codegraph.mdc`, and `~/.codex/AGENTS.md`.
43+
- `codegraph install` prompt order: agent picker is now step 1, before the
44+
PATH-install and location prompts.
45+
- Disambiguated "global" wording in install prompts ("Install codegraph CLI on
46+
your PATH?" vs "Apply agent configs to all your projects, or just this one?")
47+
— both used to say "Global" and read as duplicates.
48+
49+
### Internal
50+
- New `AgentTarget` interface in `src/installer/targets/` — adding a 5th agent
51+
(Continue, Zed, Windsurf, …) is a new file + one entry in `registry.ts`.
52+
- Hand-rolled TOML serializer for Codex (`src/installer/targets/toml.ts`) — no
53+
new dependency, scoped to the `[mcp_servers.codegraph]` table only, sibling
54+
tables and `[[array_of_tables]]` preserved verbatim.
55+
- +47 parameterized contract tests across the 4 targets — install idempotency,
56+
sibling preservation, uninstall reverses install, byte-equal re-runs return
57+
`unchanged`, partial-state recovery for Codex.
58+
59+
Based on substantive draft by [@andreinknv](https://github.com/andreinknv)
60+
([fork commit `c5165e4`](https://github.com/andreinknv/codegraph/commit/c5165e4)).
61+
Thank you.
62+
63+
[0.7.7]: https://github.com/colbymchenry/codegraph/releases/tag/v0.7.7
64+
1065
## [0.7.6] - 2026-05-13
1166

1267
### Fixed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@colbymchenry/codegraph",
3-
"version": "0.7.6",
3+
"version": "0.7.7",
44
"description": "Supercharge Claude Code with semantic code intelligence. 94% fewer tool calls • 77% faster exploration • 100% local.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)