Repository navigation
Update dependency @anthropic-ai/claude-code to v2.1.334 - #48
Conversation
There was a problem hiding this comment.
Approved: no adaptation is required under the configured project policy.
PR #48 cleanly integrates with the recorded target and bumps the Claude Code native package from 2.1.333 to 2.1.334 in the development image. Both Linux packages are published, the amd64 binary passed the offline CLI smoke check, and just check passed. Anthropic documents a lower automatic compaction threshold that can affect long headless jobs on eligible models. No deprecation, removal, or migration deadline was identified for the package or CLI options this integration uses.
Agent-assessed risk: Low. The change is limited to the development image, with residual runtime uncertainty from earlier automatic compaction in long Claude Code sessions.
Evidence (7 items)
- Local check:
git merge-base HEAD refs/artidezi/inputs/source-pr; git diff HEAD...refs/artidezi/inputs/source-pr; git diff --check HEAD...refs/artidezi/inputs/source-pr; git merge-tree --write-tree HEAD refs/artidezi/inputs/source-pr— The merge base is the recorded target 36d625d. The sole diff is the native package pin in Dockerfile. Whitespace checks passed and the conflict-free merge tree f6b9ddb09029714f4fbb7572c2a6807c7275fe27 matches the source head tree. - Release notes: source — The stream-json fix is for input, while ArtiDezi passes the prompt on stdin and parses stream-json output. The release lowers the automatic compaction threshold to around 400K tokens on many 1M-context models in headless mode, including rollout with telemetry disabled. No removal or deprecation of the adapter interface was identified.
- Documentation: source — Anthropic still documents npm installation and identifies the Linux x64 and arm64 native packages as the binaries used by npm.
- Local check:
curl -fsSL https://registry.npmjs.org/@anthropic-ai%2fclaude-code-linux-x64/2.1.334; curl -fsSL https://registry.npmjs.org/@anthropic-ai%2fclaude-code-linux-arm64/2.1.334— The registry returned both glibc Linux packages at the exact version, with the expected CPU metadata and no npm deprecation marker. - Local check:
npm install --global --ignore-scripts --registry=https://registry.npmjs.org --prefix <scratch> @anthropic-ai/claude-code-linux-x64@2.1.334; docker run --rm -i --network none --user 65534:65534 -e HOME=/tmp --entrypoint sh docker.io/ubuntu:26.04@sha256:6a06111c3b0a8600feadb270aec771dc239bf407b25625f93f44ab00e11f4d3c -eu -c '<extract binary from stdin tar and check ./claude --version and ./claude --help>'— The script-free amd64 install succeeded. In the pinned Ubuntu runtime the binary returned 2.1.334 (Claude Code), and help listed the adapter's CLI flags and stream-json output. The smoke check covered startup and help on amd64. No full image build, arm64 execution, or real model request ran locally. - Local check:
docker buildx imagetools inspect docker.io/<tag> --format '{{json .Manifest.Digest}}'; docker buildx imagetools inspect --raw docker.io/<tag>@<Dockerfile digest>— All three unchanged FROM pins resolve to valid manifests with Linux amd64 and arm64. The Node tag still points to its pinned digest. The floating Rust and Ubuntu tags currently point to newer digests, while their immutable pins remain available. - Local check:
just check (source-head snapshot from git archive, with CARGO_TARGET_DIR outside the snapshot for the rerun)— Formatting, Clippy, 571 Rust tests, 49 release-script tests and REUSE passed. The first run failed at REUSE because the archive lacked Git ignore filtering. The rerun passed after restoring that filtering with a disposable Git index verified against the source tree. No local just forgejo-test was needed for this package-only change.
Assessed source d2dd56d624c28f5cb7de92e4cc407e9c878efc45.
This PR contains the following updates:
2.1.333→2.1.334Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.