Packages

@anthropic-ai/claude-agent-sdk

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

Upgrading @anthropic-ai/claude-agent-sdk From 0.3.325 to 0.3.326

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.3.325Newest 0.x, Latest0.3.330
  1. 0.3.325yours
  2. 0.3.326target
1
change to make
0
advisories fixed
5
new
4
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated0.3.326

Release by release

  1. 0.3.326

    Deprecation16 Nov 20265 new · 4 fixes
    • Deprecated

      Deprecated sending mcpServers on Claude Code's command line (today's default, 'argv'): a future release defaults to 'initialize'; apps running an older Claude Code must update it or set 'argv'

    • New

      Added mcpServersDelivery: 'initialize': sends mcpServers in the initialize request instead of on Claude Code's command line; needs the bundled Claude Code or newer

    • New

      Added getSessionInfo() to the /core entry

    • New

      Added message_uuid to cancel_async_message responses, naming the dropped message

6 other lines we could not sort, mostly version bumps
  • Improved how secrets are masked in the description passed to canUseTool; input itself is unchanged

    0.3.326
  • Improved the first turn after SpareProcess.claim(): it no longer waits up to 500 ms for the stdio MCP servers the claim starts, where tool search loads their tools on demand

    0.3.326
  • Changed the JSON-RPC id of requests to an SDK MCP server from a number to a string

    0.3.326
  • Changed rewindFiles() on macOS, Linux and WSL to leave some files untouched when the sandbox is on, and report them as skipped

    0.3.326
  • Changed the register_repo_root control request to refuse some folders it used to accept

    0.3.326
  • Updated to parity with Claude Code v2.1.326

    0.3.326

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.