Skip to content

fix(deps): raise claude-agent-sdk floor to ^0.3.283 so Opus 5.5 runs - #469

Merged
edspencer merged 1 commit into
mainfrom
chore/bump-claude-agent-sdk-0.3.283
Sep 27, 2026
Merged

edspencer merged 1 commit into
mainfrom
chore/bump-claude-agent-sdk-0.3.283

Conversation

@edspencer

Copy link
Copy Markdown
Owner

Summary

Raises @herdctl/core's @anthropic-ai/claude-agent-sdk range from ^0.3.215 to ^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 the claude on PATH. So the SDK version decides which models a chat can run:

SDK Bundled Claude Code claude-opus-5-5
0.3.215 (the old floor, and what this repo's lockfile resolved) 2.1.215 ❌ 400 … version 2.1.280 or newer is required
0.3.283 2.1.283 ✅

A 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-sdk is 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/sdk 0.110.0 and @modelcontextprotocol/sdk 1.29.0 stay as they are. The Docker image already installs the latest Claude Code, unpinned.

Verification

  • Bundled binary: claude-agent-sdk-linux-x64@0.3.283/claude --version reports 2.1.283 (Claude Code).
  • Real SDK smoke test, no credentials, so no API cost: I drove the built SDKRuntime with model: "claude-opus-5-5". The SDK started its bundled binary and emitted system/init with claude_code_version=2.1.283 model=claude-opus-5-5, then stopped at "Not logged in", as expected with no credentials.
  • Repo gates:
    • pnpm typecheck passes, all 11 tasks.
    • pnpm build passes.
    • 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 untouched main when 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

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>
@coderabbitai

coderabbitai Bot commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit 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.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: fa2bb6fd-e708-4fd7-99e4-0db39b050aee

📥 Commits

Reviewing files that changed from the base of the PR and between 4eeb8be and 5828892.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • .changeset/bump-claude-agent-sdk-0-3-283.md
  • packages/core/package.json

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying herdctl with  Cloudflare Pages  Cloudflare Pages

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

View logs

@edspencer
edspencer merged commit ef324ba into main Sep 27, 2026
12 of 13 checks passed
@edspencer
edspencer deleted the chore/bump-claude-agent-sdk-0.3.283 branch September 27, 2026 14:56
@github-actions github-actions Bot mentioned this pull request Sep 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant