@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
1 new1 fixed3 changed
Release note
What's changed
Added
plugin_errorsto theSDKSystemMessagetype (system/init), includingpathfor a--plugin-direntry that did not loadFixed
getSessionMessages()returning, andforkSession()copying, a rewound-away branch when the newest branch ends at a meta row or a local command's rowsChanged stream-json output to include warnings and notices raised during a turn as
system/informationalmessages; it previously dropped themChanged the
set_max_thinking_tokenscontrol request: omittingmax_thinking_tokensnow leaves the session's thinking budget unchanged; sendnullto reset it to the session defaultUpdated to parity with Claude Code v2.1.283
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.283 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.283 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.283 # or bun add @anthropic-ai/claude-agent-sdk@0.3.283
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.