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.328 to 0.3.330

2 releases in betweenevery note read

Reading releases, release notes and advisories…

0
changes to make
0
advisories fixed
3
new
10
fixes

Release by release

  1. 0.3.330

    20 Nov 20261 new · 5 fixes
    • New

      Added a system/informational warning, tagged settings_not_in_effect, when settings or a user, project or local settings file fails validation and is not in effect

    • Fixed

      Fixed Claude still waiting for a background agent that stopTask() stopped just as it finished

    • Fixed

      Fixed variables that a SessionStart hook writes to CLAUDE_ENV_FILE not reaching the Bash tool with the continue option

    • Fixed

      Fixed Google Cloud's Agent Platform sessions ignoring fastMode in settings when the model comes from ANTHROPIC_MODEL or a settings file; such sessions now bill at the fast mode price

    • Fixed

      Fixed the initialize response's fast_mode_state describing the default model instead of the model the session runs

    • Fixed

      Fixed a lost or swapped tool result from an SDK MCP server when a call overlapped a reconnect; while an earlier request is unanswered, a new one can carry an id of 1,048,576 or more

  2. 0.3.329

    19 Nov 20262 new · 5 fixes
    • New

      Added a system/informational warning, tagged managed_hooks_not_loaded, when hooks in managed settings fail to load

    • New

      Added permissions.workingDirectoriesExclude to the Settings type: paths, read only from --settings and settings the host sends, that the working-directory read and write blocks treat as outside

    • Fixed

      Fixed sessions bound with SpareProcess.claim() ignoring autoCompactWindow from the folder's settings or the claim's settings

    • Fixed

      Fixed retained memory when an in-process MCP server does not answer its start-up handshake

    • Fixed

      Fixed memory growth in long sessions that use --replay-user-messages: the SDK no longer keeps echoes of its own tool results and permission answers

    • Fixed

      Fixed an MCP server that a plugin started at launch staying connected after the plugin was disabled or uninstalled and reload_plugins ran, in headless and SDK sessions

    • Fixed

      Fixed rewind_conversation removing history under a message sent right after a model change: the request is now refused with "commands queued", and callers can send it again

5 other lines we could not sort, mostly version bumps
  • Changed the TypeScript SDK's query() to fail with an error when settings is a JSON string that doesn't parse

    0.3.330
  • Updated to parity with Claude Code v2.1.330

    0.3.330
  • Improved memory use of idle SDK sessions: after 30 seconds idle, large tool result data that no model request reads is released, except while Remote Control is on

    0.3.329
  • Changed the error when the macOS Keychain can't save a refreshed login: error is now invalid_request, not authentication_failed, and api_error_status is null, not 401

    0.3.329
  • Updated to parity with Claude Code v2.1.329

    0.3.329

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.