Packages

@anthropic-ai/claude-agent-sdk

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

Your version

0.3.318

3 Nov 2026Where it was published

0.3.330 is the newest release of 0.3.x.

In short

2 new1 fixed3 changed

Release note

What's changed

  • Added an optional credential_expires_at field to result messages: when the stored claude.ai sign-in in use ends

  • Added the config_file_invalid startup failure reason, reported when a configuration file read at startup isn't valid JSON

  • Fixed the interrupt response missing a message held behind a model change: it is now listed, cancelled with cancel_queued, and stopped at start-up as a queued message is

  • Changed agentProgressSummaries: while the subagent waits for a response on a likely-cold prompt cache, a summary can wait up to 5 minutes, and is not sent if the subagent ends first

  • Changed status in PushNotificationInput to optional

  • Updated to parity with Claude Code v2.1.318

Update

npm install @anthropic-ai/claude-agent-sdk@0.3.318
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.318
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.318
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.318

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.