What's changed
- Fixed
importSessionToStoreskipping transcript rows that contain a Unicode line or paragraph separator (U+2028, U+2029) on Node 24 and Bun - Fixed 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 Nodecryptopolyfill - Changed
thinking: { type: 'disabled' }andmaxThinkingTokens: 0to run as adaptive thinking on models that can't turn thinking off - Changed
updatedInputfrom PreToolUse and PermissionRequest hook callbacks: it is now validated like Claude's own input and unknown keys are dropped;canUseToolis unchanged - Updated 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