@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
3 fixed5 changed
Release note
What's changed
Fixed
importSessionToStoreskipping transcript rows that contain a Unicode line or paragraph separator (U+2028, U+2029) on Node 24 and BunFixed a background subagent's final report in auto mode being joined into one turn with another message from the same subagent; the report now always runs as its own turn
Fixed
rewind_conversationwithinterrupt_if_runningstopping the running turn before refusing with "unseen later turn"Reverted
canUseTooloptions carryingsuppressAlwaysAllowRule: truefor connector tools that an organization set to require approval (added in 0.3.292)Improved the browser SDK bundle (
@anthropic-ai/claude-agent-sdk/browser): 40% smaller to download, by no longer bundling a NodecryptopolyfillChanged
thinking: { type: 'disabled' }andmaxThinkingTokens: 0to run as adaptive thinking on models that can't turn thinking offChanged
updatedInputfrom PreToolUse and PermissionRequest hook callbacks: it is now validated like Claude's own input and unknown keys are dropped;canUseToolis unchangedUpdated to parity with Claude Code v2.1.300
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.300 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.300 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.300 # or bun add @anthropic-ai/claude-agent-sdk@0.3.300
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.