github anthropics/claude-agent-sdk-typescript v0.3.300

latest releases: v0.3.332, v0.3.331, v0.3.330...
one month ago

What's changed

  • Fixed importSessionToStore skipping 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_conversation with interrupt_if_running stopping the running turn before refusing with "unseen later turn"
  • Reverted canUseTool options carrying suppressAlwaysAllowRule: true for 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 Node crypto polyfill
  • Changed thinking: { type: 'disabled' } and maxThinkingTokens: 0 to run as adaptive thinking on models that can't turn thinking off
  • Changed updatedInput from PreToolUse and PermissionRequest hook callbacks: it is now validated like Claude's own input and unknown keys are dropped; canUseTool is 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

Don't miss a new claude-agent-sdk-typescript release

NewReleases is sending notifications on new releases.