Skip to content

Release 0.6.3: install-agent for Cursor, Copilot, Gemini CLI and opencode - #200

Merged
devmaxxx merged 3 commits into
mainfrom
feat/install-agent-more-agents
Oct 17, 2026
Merged

devmaxxx merged 3 commits into
mainfrom
feat/install-agent-more-agents

Conversation

@devmaxxx

Copy link
Copy Markdown
Owner

Summary

zerograph install-agent learns four more agents, and the version moves to 0.6.3.

  • --cursor: .cursor/mcp.json and an always-on rule, .cursor/rules/zerograph.mdc.
  • --copilot: .vscode/mcp.json and .github/copilot-instructions.md.
  • --gemini: .gemini/settings.json and GEMINI.md.
  • --opencode: opencode.json and AGENTS.md.

Each writes a zerograph MCP server entry and the usual stanza. Existing files are merged, other servers and keys kept. These files are committed, so no absolute path goes in: Cursor and VS Code get --repo ${workspaceFolder}, and the two CLIs start the server at the root they run in. A file that cannot be merged safely (comments in mcp.json, a symlink, an unreadable file) is left alone and the entry to paste is printed. Any subset combines with --claude and --codex.

Windsurf is not covered: it reads MCP servers only from a machine-wide file. Zed's project-level MCP config is undocumented, so it is left out too.

Docs: README setup line, docs/mcp.md#other-agents, docs/releases/0.6.3.md.

Test plan

  • cargo test --lib install_agent: 35 pass, four new (entries and stanzas per editor plus a re-run writing nothing, a project's own servers kept, a commented mcp.json left alone, a symlinked one refused without aborting)
  • cargo clippy --all-targets -- -D warnings clean
  • All four flags run on a scratch repository: files written, second run writes nothing
  • /code-review high: 6 findings, 3 fixed (symlinked MCP file, unreadable MCP file, editor order); key order on re-serialise, the duplicated report printer and the dense server() builder left as follow-ups
  • CI green

Each flag writes the agent's project MCP file with a zerograph server and
the stanza into the instructions file it always reads. The files are
committed, so they hold no absolute path: Cursor and VS Code expand
${workspaceFolder}, the CLIs start the server at the root. A commented
mcp.json is left alone and the entry to paste is printed.
A symlinked or unreadable MCP file is now a note with the entry to paste,
so the stanza and the other agents still install. Editors run before the
Claude pass, so a CLAUDE.md linked to AGENTS.md finds it already written.
@devmaxxx
devmaxxx merged commit 0b76e60 into main Oct 17, 2026
4 checks passed
@devmaxxx
devmaxxx deleted the feat/install-agent-more-agents branch October 17, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant