@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
5 new2 fixed6 changed
Release note
What's changed
Added
archiveSession()andunarchiveSession(), and anarchivedfield on the sessions thatlistSessions()andgetSessionInfo()returnAdded
refuseIfBusytoQuery.reloadPlugins()so a host can have a reload refused while the session is busyAdded
managed_locktoplugin_errorsentries onsystem/init, naming the managedenabledPluginsentry that dropped a plugin copyAdded a
system/informationalwarning, taggedhook_no_verdict, when aPreToolUsehook can't run or answer, or times out, without refusing its tool callAdded
invalid_config_fileto theconfig_file_invalidstartup failure result: the broken config file's path and its backup's path as fieldsFixed deny rules (
disallowedTools,permissions.deny,always_deny) that name an in-process SDK MCP tool or its server, or match it with a glob, leaving it in Claude's tool list andsystem/initFixed
supportedEffortLevelsin model info listing effort levels above the organization's effort cap or themaxEffortLevelsettingChanged the
sandboxoption: sandboxed Bash commands are no longer auto-approved unlessautoAllowBashIfSandboxed: trueis setChanged read-only git commands in a repository that isn't the working directory's, an additional directory's or a trusted one to go through the permission flow instead of being auto-approved
Changed
applyFlagSettings()to reject when a value would make Claude Code discard its settings layer, applying nothing and keeping settings from earlier callsChanged
suggestionsoncanUseToolfor Bash and Monitor: a list of rules alone is sent only when saving it would allow that commandChanged the
ProposeSkillsInputtype: a proposal can carryedits, andskillMdis optionalUpdated to parity with Claude Code v2.1.325
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.325 # or yarn add @anthropic-ai/claude-agent-sdk@0.3.325 # or pnpm add @anthropic-ai/claude-agent-sdk@0.3.325 # or bun add @anthropic-ai/claude-agent-sdk@0.3.325
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.