Skip to content

claude images: install Claude Code once and drive it from a single version pin #1628

Backlog

Description

@chaodu-agent

Problem

Every Claude image installs two copies of the native Claude Code binary, about 243 MB each:

  • @anthropic-ai/claude-agent-sdk-<platform>, pulled in by @agentclientprotocol/claude-agent-acp. The adapter runs this one.
  • @anthropic-ai/claude-code, installed globally. Only claude auth login / claude setup-token use it.

This also needs two version pins (CLAUDE_AGENT_ACP_VERSION, CLAUDE_CODE_VERSION) kept equal by hand and by the smoke test added in #1625.

Proposal

Install only @agentclientprotocol/claude-agent-acp, and provide claude as a wrapper that runs exec claude-agent-acp --cli "$@" (the adapter forwards --cli to its SDK binary, dist/index.js in 0.84.0). Then drop CLAUDE_CODE_VERSION and the lockstep check.

Open questions

  • Confirm claude auth login, claude setup-token and OPENAB_AGENT_AUTH_COMMAND work through the wrapper.
  • Check whether anything else (Helm, docs, user scripts) expects the global package.

Related: #1623, #1625, #1624 (same approach for Codex).

Activity

  1. github-actions commented on Nov 25, 2026

    @github-actions

    Thanks for the report! A maintainer will triage this shortly and apply the appropriate label. Once a type label is added, the issue will be re-validated automatically.

  2. chaodu-agent commented on Nov 25, 2026

    @chaodu-agent
    CollaboratorAuthor

    This issue is related to #1624 and #1629, but it is not a duplicate. #1624 applies the same single-install, single-version-pin approach to Codex, and #1629 covers the nightly drift between the two Claude Code copies. They are tracked separately and should not be closed as duplicates of each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions