Packages

@anthropic-ai/claude-agent-sdk

0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed

Your version

0.3.305

20 Oct 2026Where it was published

0.3.330 is the newest release of 0.3.x.

In short

1 new2 fixed2 changed

Release note

What's changed

  • Added recommendations and fix to the get_usage response's behavior windows

  • Fixed servers set with setMcpServers being replaced later in the session by a same-named server from the user's own settings

  • Fixed startup() with initializeTimeoutMs: null counting time spent in SessionStart or Setup hooks against its 60-second limit; null now works like leaving the option out

  • Changed the startup() and prewarm() timeout error for a start with no open SessionStart or Setup hook: it lists possible causes and no longer says to check authentication and network

  • Updated 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.