Repository navigation
Antigravity CLI support
chord now runs Google's Antigravity CLI (agy) beside Claude Code, Codex, OpenCode and pi:
chord agy [--name <agent>] ...
- chord writes
.agents/hooks.jsonand.agents/mcp_config.jsoninto the agent's own workspace and passes--add-dir, so your own agy configuration is left alone. agy's hook payloads are translated where the hook process starts, so the claim and message rules stay in one place. - An unclaimed write is denied with the reason the model reads. The briefing arrives with the first prompt after each launch, and messages arrive before each model call.
- A turn that was cancelled or failed is not continued, and an agent is not idle while one of its sub-agents still works.
chord resumereopens the conversation with--conversation.--remote-agentis refused, and so is a launch while your global agy MCP config has a server namedchord.
OpenCode 2
OpenCode 2 does not run 1.x plugins and shares one background server between its TUIs. Under chord 0.3.1 no hook ran there and claims went unchecked. chord now starts OpenCode with --standalone, loads a 2.x plugin, reads the 2.x tool names and gives the model chord's tools directly.
An edit is now refused when chord's hook process cannot run. It used to go through unchecked, and the same holds for pi.
Breaking: an OpenCode 1.x binary is refused at launch. Stay on chord 0.3.1 for OpenCode 1.x. --server is refused, because it cannot be combined with --standalone.
Fixes
chord codexandchord pidid not start on Windows since 0.3.0: thenode.exean npm shim probes for was taken for the program.- A failed setup on relaunch deleted an existing agent's branch together with its uncommitted work. chord now removes only a branch it has just created.
- A repository's
settings.jsondeny list was dropped whensettings.local.jsonalso had permissions, and your own--settingslost to the repository's. - On Windows a pi edit path written as
/c/...skipped the claim check. - Paste markers split across input chunks, or the Up arrow recalling an old prompt, could let the wake-up type into a draft.
finishwith nothing to merge ran the test command and kept the claims when it failed.chord cleancould delete uncommitted work after the repository folder was renamed, andclean,stopandresumefailed once the database was gone.- A relaunch under the same name inherited the previous session's claims.
- Claiming a new file by the
<repo>/xspelling chord itself prints stored the wrong key, and a committed rename was reported at one end only. - A message longer than 8,000 characters is refused, so a hook never has to cut one short.
Tool updates
- Claude Code 2.1.33x: MCP approvals are read from the settings files, the briefing fits the 10,000-character cap on hook output, failed tool calls are checked as well, and child-session variables are kept out of an agent's environment. Claude Code now asks about the added worktree folder at start-up until the repository is trusted; chord prints a hint first.
CLAUDE_CODE_SIMPLEandCLAUDE_CODE_SAFE_MODEare refused because they switch hooks off. - Codex 0.172: the
doneanderrorstate reports count as idle, a shell call's directory comes from the payload'scwd, and more spellings that switch hooks or chord's MCP server off are refused. - pi 1.6: its MCP extension is loaded by name, so
-necannot drop chord's tools, and its state reports are switched on. - MCP tool timeouts are 1,200 s, which covers the wait for the merge lock plus the test run.
Verified on Windows: Claude Code 2.1.331 with a real model (two agents on a clone of husky, both merged through chord); OpenCode 2.4.1 with a scripted model (two agents, 21 of 21 checks); Antigravity CLI 1.5.16 with a real model (briefing, claim, edit, commit, finish, a wake-up by a message, chord stop, chord resume); Codex 0.172.0 with a real model up to the edit. OpenCode and agy were also run from the built package. The test suite passes on Windows, Linux and macOS. Not yet run: pi or OpenCode with a real model, any tool session on Linux or macOS, agy sub-agents.