@anthropic-ai/claude-agent-sdk
0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed
0.3.330 is the newest release of 0.3.x.
In short
2 new5 fixed3 changed
Release note
What's changed
Added a
system/informationalwarning, taggedmanaged_hooks_not_loaded, when hooks in managed settings fail to loadAdded
permissions.workingDirectoriesExcludeto theSettingstype: paths, read only from--settingsand settings the host sends, that the working-directory read and write blocks treat as outsideFixed sessions bound with
SpareProcess.claim()ignoringautoCompactWindowfrom the folder's settings or the claim'ssettingsFixed retained memory when an in-process MCP server does not answer its start-up handshake
Fixed memory growth in long sessions that use
--replay-user-messages: the SDK no longer keeps echoes of its own tool results and permission answersFixed 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 sessionsFixed
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 againImproved 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
Changed the error when the macOS Keychain can't save a refreshed login:
erroris nowinvalid_request, notauthentication_failed, andapi_error_statusisnull, not 401Updated to parity with Claude Code v2.1.329
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.329 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.329 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.329 # or bun add @anthropic-ai/claude-agent-sdk@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.