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.319 to 0.3.321

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.3.319Newest 0.x, Latest0.3.330
  1. 0.3.319yours
  2. 0.3.321target
0
changes to make
0
advisories fixed
0
new
7
fixes

Release by release

  1. 0.3.321

    9 Nov 20267 fixes
    • Fixed

      Fixed canUseTool getting the app's own PreToolUse hook reason in decisionReason when another hook also asked

    • Fixed

      Fixed a PreToolUse hook's ask being lost when another hook's defer finished first and could not be honored

    • Fixed

      Fixed every hook being dropped when one event in the hooks option is set to undefined

    • Fixed

      Fixed WarmQuery.query() with a string prompt hanging after startup() with resume when the resumed session finished a turn of its own before the prompt was sent

    • Fixed

      Fixed setMcpServers closing a folder's .mcp.json or local-scope MCP server when passed an in-process server of the same name, in sessions bound with SpareProcess.claim()

    • Fixed

      Fixed reloadSkills(), reloadPlugins() and system/init dropping project skills, commands or agents that a worktree lacks after Claude entered it

    • Fixed

      Fixed sessions hanging on save, and importSessionToStore() never rejecting, when memory ran out while a transcript was being read

4 other lines we could not sort, mostly version bumps
  • Improved resume and continue on the bundled Claude Code binary: initialize is read during boot, so start-up work is less likely to run before your hooks are registered

    0.3.321
  • Changed queued subagent reports in auto mode to share one model call: each keeps its own message and result, and all but the last end in an empty result with num_turns: 0

    0.3.321
  • Changed an SDK MCP server named claude-in-chrome to follow the organization's Claude in Chrome policy: where the policy denies it, the server is not connected

    0.3.321
  • Updated to parity with Claude Code v2.1.321

    0.3.321

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.