@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
2 new1 fixed3 changed1 internal
Release note
What's changed
Added optional
user_message_uuidtothinking_tokenssystem messages, linking thinking progress to the user message that triggered the turnAdded optional
first_content_frame_ms,first_stream_post_ms,first_stream_post_ack_msandfirst_stream_post_wall_msfields to the success result message for remote-session latency breakdownsFixed
rewindFiles()reporting success when no files could be restored (for example when checkpoint backups are missing); it now failsChanged
error_max_structured_output_retriesresults to append the last StructuredOutput tool error; validation errors now name the offending key, allowed values, and actual length or countChanged
rate_limit_eventto also re-emit during an exceeded window on repeat 429s (about once per 30 seconds per limit window), so stream consumers can refresh stale rate-limit stateUpdated to parity with Claude Code v2.1.260
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.260 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.260 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.260 # or bun add @anthropic-ai/claude-agent-sdk@0.3.260
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.