opencode-claude-code-acpbridge 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  { "package": "opencode-claude-code-acpbridge",
7
7
  "options": {
8
8
  "command": "claude-agent-acp",
9
- // This list REPLACES the built-in agents (claude-code / claude-code-plan).
9
+ // This list REPLACES the built-in agents (claude-default, claude-plan, …).
10
10
  // Your agents get exactly the `options` you write here: they do NOT inherit the
11
11
  // built-in native profile (native subagents, skills, project memory…). Add those
12
12
  // options yourself if you want them, e.g. "nativeSkills": true.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  // Permission bridge (OpenCode V2 only).
3
3
  //
4
- // The built-in `claude-code` agents keep a few NATIVE Claude Code tools that
4
+ // The built-in `claude-*` agents keep a few NATIVE Claude Code tools that
5
5
  // OpenCode has no equivalent for: Skill, NotebookEdit, WebSearch, native subagents
6
6
  // (Task), MCP resource search, and ExitPlanMode. When Claude wants to use one of
7
7
  // them, Claude Code asks for permission, and the plugin answers like this:
@@ -23,7 +23,7 @@
23
23
  { "package": "opencode-claude-code-acpbridge", "options": { "command": "claude-agent-acp" } }
24
24
  ],
25
25
  "agents": {
26
- "claude-code": {
26
+ "claude-default": {
27
27
  "permissions": [
28
28
  { "action": "Skill", "resource": "*", "effect": "allow" }, // any skill: allow
29
29
  { "action": "WebSearch", "resource": "*", "effect": "allow" }, // native web search: allow
@@ -33,8 +33,8 @@ Notes for all of them:
33
33
  - Refresh the model list: `npx opencode-claude-code-acpbridge sync claude-agent-acp`.
34
34
  - **Requirement.** The ACP agent is `@agentclientprotocol/claude-agent-acp` (binary
35
35
  `claude-agent-acp`); install it with `npm i -g @agentclientprotocol/claude-agent-acp`.
36
- - **CLI.** `opencode run --agent claude-code -m acp/default "…"`. Without `-m`, `run` ignores
36
+ - **CLI.** `opencode run --agent claude-default -m acp/default "…"`. Without `-m`, `run` ignores
37
37
  the agent's `model` and uses the global model from your config: that's how the V2 CLI works.
38
- - **Agent definitions.** The plugin's `options.agents` **replaces** the built-in `claude-code` /
39
- `claude-code-plan`. To add an extra agent and keep the built-in ones, declare it in OpenCode's
38
+ - **Agent definitions.** The plugin's `options.agents` **replaces** the built-in `claude-<mode>`
39
+ agents. To add an extra agent and keep the built-in ones, declare it in OpenCode's
40
40
  own `agents` section with an `acp/…` model (example 04).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-claude-code-acpbridge",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Use Claude Code inside OpenCode. An OpenCode plugin + model provider that bridges Claude Code over ACP (Agent Client Protocol): run it on your Claude subscription while OpenCode orchestrates the tools, permissions and TUI.",
5
5
  "license": "MIT",
6
6
  "author": "Antonio Orizondo Leyva",