Repository navigation
v0.3.321
·
7 commits
to main
since this release
What's changed
- Fixed
canUseToolgetting the app's own PreToolUse hook reason indecisionReasonwhen another hook also asked - Fixed a PreToolUse hook's
askbeing lost when another hook'sdeferfinished first and could not be honored - Fixed every hook being dropped when one event in the
hooksoption is set toundefined - Fixed
WarmQuery.query()with a string prompt hanging afterstartup()withresumewhen the resumed session finished a turn of its own before the prompt was sent - Fixed
setMcpServersclosing a folder's.mcp.jsonor local-scope MCP server when passed an in-process server of the same name, in sessions bound withSpareProcess.claim() - Fixed
reloadSkills(),reloadPlugins()andsystem/initdropping project skills, commands or agents that a worktree lacks after Claude entered it - Fixed sessions hanging on save, and
importSessionToStore()never rejecting, when memory ran out while a transcript was being read - Improved
resumeandcontinueon the bundled Claude Code binary:initializeis read during boot, so start-up work is less likely to run before your hooks are registered - Changed queued subagent reports in auto mode to share one model call: each keeps its own message and result, and all but the last end in an empty
resultwithnum_turns: 0 - Changed an SDK MCP server named
claude-in-chrometo follow the organization's Claude in Chrome policy: where the policy denies it, the server is not connected - Updated to parity with Claude Code v2.1.321
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.321
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.321
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.321
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.321