@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
3 new2 fixed1 changed
Release note
What's changed
Added a
usage_reportsibling (SDKUsageReport: session totals, the plan's usage rows as the server sends them, extra usage) on the assistant message that delivers a headless/usageresultAdded
reason: "worker_restart"totask_notificationmessages when a background task was stopped by a worker process restartAdded a one-line transcript notice when the SDK host's
StoporSessionStarthook callback times out, shown once until the host answers againFixed a
Stop,SubagentStoporSessionStarthook callback that exceeds its timeout being reported as a hook failure and discarding other hooks' decisions; it now counts as no decisionFixed the browser SSE transport dropping the live slash-command list update (
system/commands_changed)Updated to parity with Claude Code v2.1.273
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.273 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.273 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.273 # or bun add @anthropic-ai/claude-agent-sdk@0.3.273
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.