Skip to content

Commit 544b5cb

Browse files
brettchienclaude
andcommitted
fix(claude): bump adapter + claude-code to unblock Opus 4.7
Before this change, `openab-claude:0.7.8-beta.7` ships: - claude-agent-acp@0.25.0 — hardcoded model list, no Opus 4.7 - claude-code@2.1.104 — knows up to Opus 4.6 only - ENV CLAUDE_CODE_EXECUTABLE=/usr/local/bin/claude (openabdev#447) With openabdev#447 making the pinned claude-code binary load-bearing, neither the adapter's availableModels nor the CLI's model resolver knows about Opus 4.7 — users get Sonnet 4.6 regardless of ANTHROPIC_MODEL=opus. This PR: - introduces `CLAUDE_AGENT_ACP_VERSION` ARG (pattern parity with `CLAUDE_CODE_VERSION` from openabdev#326/openabdev#412) - bumps adapter 0.25.0 → 0.29.2 (brings claude-agent-sdk 0.2.111+ whose availableModels includes Opus 4.7) - bumps claude-code 2.1.104 → 2.1.114 anthropics/claude-code#49512 (parallel-mkdir ENOENT race) was filed against 2.1.112 and is still OPEN but has zero comments. Inspection of the 2.1.114 install shows the CLI moved to a per-platform native binary (openabdev#2.1.113) and session state relocated from `/tmp/claude-<uid>/…/tasks/` to `$HOME/.claude/{projects,tasks}/`, so the vulnerable filesystem layout no longer exists — binary-grep for `/home-//tasks` returns 0 matches. 50 parallel `claude -p` calls as the same user (40ms stagger) produced 0/50 errors, 0 bytes stderr, and no `/tmp/claude-*` directories. Refs openabdev#326, openabdev#412, openabdev#418, openabdev#447 Closes nothing explicitly (no issue filed; repro + rationale in body). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b3e1f92 commit 544b5cb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile.claude

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
1313
# Install claude-agent-acp adapter and Claude Code CLI.
1414
# Without CLAUDE_CODE_EXECUTABLE the adapter uses its own bundled SDK cli.js,
1515
# ignoring the globally installed claude-code binary (see #418).
16-
ARG CLAUDE_CODE_VERSION=2.1.104
17-
RUN npm install -g @agentclientprotocol/claude-agent-acp@0.25.0 @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION} --retry 3
16+
ARG CLAUDE_AGENT_ACP_VERSION=0.29.2
17+
ARG CLAUDE_CODE_VERSION=2.1.114
18+
RUN npm install -g @agentclientprotocol/claude-agent-acp@${CLAUDE_AGENT_ACP_VERSION} @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION} --retry 3
1819
ENV CLAUDE_CODE_EXECUTABLE=/usr/local/bin/claude
1920

2021
# Install gh CLI

0 commit comments

Comments
 (0)