Repository navigation
fix(deps): raise claude-agent-sdk floor to ^0.3.283 so Opus 5.5 runs - #469
Merged
Merged
Conversation
The SDK runtime runs the Claude Code binary bundled with the SDK, not the one on PATH. ^0.3.215 let consumers resolve SDK 0.3.215 (Claude Code 2.1.215), which rejects claude-opus-5-5 (needs >= 2.1.280). The lockfile now resolves 0.3.283, bundling Claude Code 2.1.283. Peer dependencies are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Warning Review limit reachedNext included review available in 18 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying herdctl with
|
| Latest commit: |
5828892
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d716eb09.herdctl.pages.dev |
| Branch Preview URL: | https://chore-bump-claude-agent-sdk.herdctl.pages.dev |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Raises
@herdctl/core's@anthropic-ai/claude-agent-sdkrange from^0.3.215to^0.3.283. The lockfile now resolves 0.3.283, and nothing else in the lockfile moves apart from the SDK's platform binary packages.Why
The SDK runtime, which also runs every
openChatSession()streaming session, executes the Claude Code binary bundled with the SDK (a platform optional dependency). It never uses theclaudeonPATH. So the SDK version decides which models a chat can run:claude-opus-5-5400 … version 2.1.280 or newer is requiredA consumer whose own lockfile doesn't pin a newer SDK would resolve the old one and fail on Opus 5.5. edspencer/paddock#934 hit exactly this, and worked around it in Paddock's lockfile. Raising the floor here fixes it for every consumer.
@anthropic-ai/claude-agent-sdkis herdctl's only direct Anthropic dependency. 0.3.283 has the same peer dependencies as 0.3.215 (@anthropic-ai/sdk >=0.93.0,@modelcontextprotocol/sdk ^1.29.0,zod ^4), so the transitive@anthropic-ai/sdk0.110.0 and@modelcontextprotocol/sdk1.29.0 stay as they are. The Docker image already installs the latest Claude Code, unpinned.Verification
claude-agent-sdk-linux-x64@0.3.283/claude --versionreports2.1.283 (Claude Code).SDKRuntimewithmodel: "claude-opus-5-5". The SDK started its bundled binary and emittedsystem/initwithclaude_code_version=2.1.283 model=claude-opus-5-5, then stopped at "Not logged in", as expected with no credentials.pnpm typecheckpasses, all 11 tasks.pnpm buildpasses.pnpm test: chat, cli, web, slack and discord all pass. Core passes 3,761 of 3,763. The two failures:state/directory.test.ts"parent directory not writable": pre-existing, fails on untouchedmainwhen run as root.scheduler.test.ts"skips second schedule when agent is at capacity": a timing flake under the parallel full run. It passes 5 of 5 in isolation, and the scheduler doesn't touch the SDK.🤖 Generated with Claude Code