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

one hour ago

What's changed

  • Breaking: Changed the mcpServersDelivery default to 'initialize': apps that start their own Claude Code older than 2.1.326 with stdio, HTTP or SSE mcpServers must update it or set 'argv'
  • Added description to tool_progress heartbeat messages of Bash, PowerShell, Agent and Monitor calls, so a host that connects mid-call can say what is running
  • Added optional gitOperation.pr.changed to Bash and PowerShell results: false when gh reported that it had nothing to do
  • Fixed getSubagentMessages() dropping tool calls and results when a subagent ran several tools in parallel
  • Fixed getSessionMessages hanging forever on transcripts over 2 GiB, and getSubagentMessages and forkSession on Bun
  • Fixed hosts not being told when some permission rules in their answer could not be saved to their settings file
  • Updated to parity with Claude Code v2.1.333

Update

npm install @anthropic-ai/claude-agent-sdk@0.3.333
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.333
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.333
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.333

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

NewReleases is sending notifications on new releases.