@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…
Release by release
- New
Added a
system/informationalwarning, taggedsettings_not_in_effect, whensettingsor 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
SessionStarthook writes toCLAUDE_ENV_FILEnot reaching the Bash tool with thecontinueoption - Fixed
Fixed Google Cloud's Agent Platform sessions ignoring
fastModeinsettingswhen the model comes fromANTHROPIC_MODELor a settings file; such sessions now bill at the fast mode price - Fixed
Fixed the initialize response's
fast_mode_statedescribing 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
idof 1,048,576 or more
- New
- New
Added a
system/informationalwarning, taggedmanaged_hooks_not_loaded, when hooks in managed settings fail to load - New
Added
permissions.workingDirectoriesExcludeto theSettingstype: paths, read only from--settingsand settings the host sends, that the working-directory read and write blocks treat as outside - Fixed
Fixed sessions bound with
SpareProcess.claim()ignoringautoCompactWindowfrom the folder's settings or the claim'ssettings - 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_pluginsran, in headless and SDK sessions - Fixed
Fixed
rewind_conversationremoving history under a message sent right after a model change: the request is now refused with "commands queued", and callers can send it again
- New
5 other lines we could not sort, mostly version bumps
- 0.3.330
Changed the TypeScript SDK's
query()to fail with an error whensettingsis a JSON string that doesn't parse - 0.3.330
Updated to parity with Claude Code v2.1.330
- 0.3.329
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:
erroris nowinvalid_request, notauthentication_failed, andapi_error_statusisnull, not 401 - 0.3.329
Updated to parity with Claude Code v2.1.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.