Packages

@anthropic-ai/claude-agent-sdk

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

Your version

0.3.299

14 Oct 2026Where it was published

0.3.330 is the newest release of 0.3.x.

In short

2 new4 fixed2 changed

Release note

What's changed

  • Added an optional nextFireAt (epoch ms of the next run) to the CronCreate and CronList tool outputs

  • Added property_order to the elicitation control request: a form's field names in the order the MCP server listed them, for hosts whose transport keeps no JSON object key order

  • Fixed rewind_conversation answering "target not found" for a message stopped during its prompt hooks or plugins: until a reply or input follows, it answers rewound: true with a null prefillText

  • Fixed in-process SDK MCP servers named constructor or toString being silently dropped when a prewarm() process is claimed with SpareProcess.claim()

  • Fixed queued user messages with content-block arrays running together without a line break when merged into one turn

  • Fixed origin.body on a user message that merges several queued peer messages (from other sessions or agents) carrying only the first message's text; it is now omitted

  • Changed initialize, mcp_set_servers and claim_session to refuse the reserved MCP server names __proto__, __defineGetter__, __defineSetter__, __lookupGetter__, __lookupSetter__

  • Updated to parity with Claude Code v2.1.299

Update

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

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.