From 544b5cb4a520a1ad77c2df42093d3755236553f8 Mon Sep 17 00:00:00 2001 From: Brett Chien <1193046+brettchien@users.noreply.github.com> Date: Sun, 19 Apr 2026 23:22:04 +0800 Subject: [PATCH] fix(claude): bump adapter + claude-code to unblock Opus 4.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (#447) With #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 #326/#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 (#2.1.113) and session state relocated from `/tmp/claude-/…/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 #326, #412, #418, #447 Closes nothing explicitly (no issue filed; repro + rationale in body). Co-Authored-By: Claude Opus 4.7 (1M context) --- Dockerfile.claude | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.claude b/Dockerfile.claude index 4875cb05..141a1026 100644 --- a/Dockerfile.claude +++ b/Dockerfile.claude @@ -13,8 +13,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates # Install claude-agent-acp adapter and Claude Code CLI. # Without CLAUDE_CODE_EXECUTABLE the adapter uses its own bundled SDK cli.js, # ignoring the globally installed claude-code binary (see #418). -ARG CLAUDE_CODE_VERSION=2.1.104 -RUN npm install -g @agentclientprotocol/claude-agent-acp@0.25.0 @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION} --retry 3 +ARG CLAUDE_AGENT_ACP_VERSION=0.29.2 +ARG CLAUDE_CODE_VERSION=2.1.114 +RUN npm install -g @agentclientprotocol/claude-agent-acp@${CLAUDE_AGENT_ACP_VERSION} @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION} --retry 3 ENV CLAUDE_CODE_EXECUTABLE=/usr/local/bin/claude # Install gh CLI