Packages

@anthropic-ai/claude-agent-sdk

0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed

Your version

0.3.325

13 Nov 2026Where it was published

0.3.330 is the newest release of 0.3.x.

In short

5 new2 fixed6 changed

Release note

What's changed

  • Added archiveSession() and unarchiveSession(), and an archived field on the sessions that listSessions() and getSessionInfo() return

  • Added refuseIfBusy to Query.reloadPlugins() so a host can have a reload refused while the session is busy

  • Added managed_lock to plugin_errors entries on system/init, naming the managed enabledPlugins entry that dropped a plugin copy

  • Added a system/informational warning, tagged hook_no_verdict, when a PreToolUse hook can't run or answer, or times out, without refusing its tool call

  • Added invalid_config_file to the config_file_invalid startup failure result: the broken config file's path and its backup's path as fields

  • Fixed 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 and system/init

  • Fixed supportedEffortLevels in model info listing effort levels above the organization's effort cap or the maxEffortLevel setting

  • Changed the sandbox option: sandboxed Bash commands are no longer auto-approved unless autoAllowBashIfSandboxed: true is set

  • Changed 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 calls

  • Changed suggestions on canUseTool for Bash and Monitor: a list of rules alone is sent only when saving it would allow that command

  • Changed the ProposeSkillsInput type: a proposal can carry edits, and skillMd is optional

  • Updated 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.