Repository navigation
v0.11.0
Changed — breaking
-
One agent per Claude Code mode. The plugin injects a
claude-<mode>agent for every
session mode the agent reports:claude-default,claude-plan,claude-acceptedits,
claude-auto,claude-dontask,claude-bypasspermissions(the six known modes when
discovery has none). They replaceclaude-codeandclaude-code-plan, with no aliases:
rename those agents in youragentssection (claude-code→claude-default,
claude-code-plan→claude-plan). The mode only governs Claude's native tools; OpenCode's
tools keep the agent's OpenCode permissions. Effort stays a model variant;claude-plan
keepshigh. -
The
acpmodels are paired with the Claude Code agents (pairModels, defaulttrue).
OpenCode V2 offers every model to every agent, so the plugin enforces it:- selecting an agent or model that breaks the pair moves the session back to a valid model
(the agent's own, the session's last non-acpmodel, or OpenCode's defaultmodel); - an
acprequest from any other agent fails at once (HTTP 400,x-should-retry: false); - OpenCode subagents launched from a
claude-*agent get their own model or the default one
instead of inheritingacp.
Agents you declare with an
acp/…model count as Claude Code agents.pairModels: false
restores the old behaviour. - selecting an agent or model that breaks the pair moves the session back to a valid model
-
The usage-limit error now says to switch agent rather than model.
Fixed
- Each effort variant started its own agent process. OpenCode V2 builds a new SDK instance
for every distinct modelsettings, and the effort variants are settings, so#high,
#lowand the plain model each spawned aclaude-agent-acpthat resumed the same Claude
session apart from the others (cache partly cold; going back to a variant found a process
that had missed the turns in between). Provider instances built from the same agent config
now share one orchestrator: effort switches live withsetSessionConfigOption, and the
model without a variant restores the session's own effort.
🤖 Generated with Claude Code