@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 new2 fixed1 changed
Release note
What's changed
Added
suspendSseStream(query)andresumeSseStream(query)to the browser SDK: close a query's event stream and reopen it later without ending the queryAdded stable row ids to
getContextUsage(), and, when the CLI answers on its own stdio, plugin ids, agent and skill file paths, and per-server MCP instruction token sharesFixed
startup()timing out while a SessionStart or Setup command hook was running when noinitializeTimeoutMsis passed: up to 10 minutes of that time no longer counts toward the 60-second limit, and the timeout error now says what the process reportedFixed
startup()keeping everyhook_progressmessage of a running SessionStart or Setup hook in memory until it resolved; it now keeps only the newest one for each hookUpdated to parity with Claude Code v2.1.304
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.304 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.304 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.304 # or bun add @anthropic-ai/claude-agent-sdk@0.3.304
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.