Skip to content

Bump claude-agent-sdk to 0.3.312 so newer Claude models work - #16

Merged
gracia-gu merged 1 commit into
agentgg-dev:mainfrom
narenvivek:bump-claude-agent-sdk
Oct 28, 2026
Merged

gracia-gu merged 1 commit into
agentgg-dev:mainfrom
narenvivek:bump-claude-agent-sdk

Conversation

@narenvivek

Copy link
Copy Markdown

With the Anthropic provider and a newer model such as claude-opus-5-5, every scan batch fails:

API Error: 400 ... "Claude Code 2.1.119 does not support this model; version 2.1.280 or newer is required." (claude_code_version_too_old)

@anthropic-ai/claude-agent-sdk is pinned to 0.2.119, which bundles Claude Code 2.1.119. No 0.2.x release reaches 2.1.280, so this moves the exact pin to 0.3.312 (Claude Code 2.1.312). The package.json change is one line; the rest is the lockfile.

Testing

  • pnpm -r typecheck passes
  • pnpm test: 1662/1662 pass. One earlier run had 4 timing-related failures on a slow machine; a clean rerun passed.
  • Manual: agentgg scan with claude-opus-5-5 on a one-file eval(req.query.q) repro. It fails on 0.2.119 and finds the RCE on 0.3.312.

The pinned 0.2.119 bundles Claude Code 2.1.119. The API now rejects
newer models such as claude-opus-5-5 from that version with
claude_code_version_too_old (2.1.280 or newer required), so every
Anthropic scan batch failed. No 0.2.x release is new enough.
@gracia-gu
gracia-gu merged commit edf03c2 into agentgg-dev:main Oct 28, 2026
3 checks passed
gracia-gu added a commit that referenced this pull request Nov 3, 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.

2 participants