@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
5 fixed1 changed
Release note
What's changed
Fixed a deferred tool call's result being emitted with internal keys such as
toolUseResultinstead oftool_use_resultwhen the tool re-runs at the start of a resumed turnFixed
getSessionMessages()andforkSession()sometimes missing a turn's assistant message when called right after the turn'sresultmessageFixed
forkSession({ upToMessageId })rejecting a client-suppliedSDKUserMessage.uuidthat is not in UUID formatFixed
forkSessionrejecting the id thatgetSessionMessagesreturns for a message sent while Claude was working, and a fork showing a re-run prompt twiceFixed
getSessionMessages()omitting a task notification or other queued message that Claude read while running a tool; it now comes back where Claude read itUpdated to parity with Claude Code v2.1.275
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.275 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.275 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.275 # or bun add @anthropic-ai/claude-agent-sdk@0.3.275
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.