@anthropic-ai/claude-agent-sdk
0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed
0.3.330 is the newest release of 0.3.x.
In short
1 breaking1 new2 changed
- Breaking
Changed the minimum supported Node.js version from 18.0.0 to 18.14.0
Release note
What's changed
Added
cacheCreationEphemeral5mInputTokensandcacheCreationEphemeral1hInputTokenstoModelUsage, splittingcacheCreationInputTokensby cache lifetimeChanged background start-up work to wait until the first model request is sent, for about 10 seconds at most, when the first message arrives during start-up
- Breaking
Changed the minimum supported Node.js version from 18.0.0 to 18.14.0
Updated to parity with Claude Code v2.1.311
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.311 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.311 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.311 # or bun add @anthropic-ai/claude-agent-sdk@0.3.311
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.