What's changed
- Added
archiveSession()andunarchiveSession(), and anarchivedfield on the sessions thatlistSessions()andgetSessionInfo()return - Added
refuseIfBusytoQuery.reloadPlugins()so a host can have a reload refused while the session is busy - Added
managed_locktoplugin_errorsentries onsystem/init, naming the managedenabledPluginsentry that dropped a plugin copy - Added a
system/informationalwarning, taggedhook_no_verdict, when aPreToolUsehook can't run or answer, or times out, without refusing its tool call - Added
invalid_config_fileto theconfig_file_invalidstartup 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 andsystem/init - Fixed
supportedEffortLevelsin model info listing effort levels above the organization's effort cap or themaxEffortLevelsetting - Changed the
sandboxoption: sandboxed Bash commands are no longer auto-approved unlessautoAllowBashIfSandboxed: trueis 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
suggestionsoncanUseToolfor Bash and Monitor: a list of rules alone is sent only when saving it would allow that command - Changed the
ProposeSkillsInputtype: a proposal can carryedits, andskillMdis 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