Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Repo: https://github.com/openclaw/acpx

### Changes

- Agents/built-ins: bump the default Claude ACP adapter range to `@agentclientprotocol/claude-agent-acp@^0.37.0`. Thanks @trumpyla.

### Breaking

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion src/agent-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url";
const ACP_ADAPTER_PACKAGE_RANGES = {
pi: "^0.0.26",
codex: "^0.0.44",
claude: "^0.36.1",
claude: "^0.37.0",
} as const;

type BuiltInAgentPackageSpec = {
Expand Down
8 changes: 4 additions & 4 deletions test/agent-registry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ test("default agent is codex", () => {
});

test("claude built-in uses the current ACP adapter package range", () => {
assert.equal(BUILT_IN_AGENT_PACKAGES.claude.packageRange, "^0.36.1");
assert.equal(AGENT_REGISTRY.claude, "npx -y @agentclientprotocol/claude-agent-acp@^0.36.1");
assert.equal(BUILT_IN_AGENT_PACKAGES.claude.packageRange, "^0.37.0");
assert.equal(AGENT_REGISTRY.claude, "npx -y @agentclientprotocol/claude-agent-acp@^0.37.0");
});

test("npm-backed built-ins use current adapter package ranges", () => {
Expand All @@ -107,7 +107,7 @@ test("resolveInstalledBuiltInAgentLaunch uses a locally installed adapter when a
path.join(packageRoot, "package.json"),
JSON.stringify({
name: BUILT_IN_AGENT_PACKAGES.claude.packageName,
version: "0.36.1",
version: "0.37.0",
bin: {
"claude-agent-acp": "bin/claude-agent-acp.js",
},
Expand All @@ -126,7 +126,7 @@ test("resolveInstalledBuiltInAgentLaunch uses a locally installed adapter when a
args: [path.join(packageRoot, "bin", "claude-agent-acp.js")],
packageName: BUILT_IN_AGENT_PACKAGES.claude.packageName,
packageRange: BUILT_IN_AGENT_PACKAGES.claude.packageRange,
packageVersion: "0.36.1",
packageVersion: "0.37.0",
binPath: path.join(packageRoot, "bin", "claude-agent-acp.js"),
});
});
Expand Down