@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 new2 fixed2 changed
Release note
What's changed
Added
recommendationsandfixto theget_usageresponse's behavior windowsFixed servers set with
setMcpServersbeing replaced later in the session by a same-named server from the user's own settingsFixed
startup()withinitializeTimeoutMs: nullcounting time spent in SessionStart or Setup hooks against its 60-second limit;nullnow works like leaving the option outChanged the
startup()andprewarm()timeout error for a start with no open SessionStart or Setup hook: it lists possible causes and no longer says to check authentication and networkUpdated to parity with Claude Code v2.1.305
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.305 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.305 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.305 # or bun add @anthropic-ai/claude-agent-sdk@0.3.305
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.