What's changed
- Added
reason: "unfinished_at_resume"andtask_typeto thetask_notificationmessage that closes a task left unfinished by an earlier process - Added
api-request-routeentries to transcripts and session stores, naming the API provider a conversation may have used;forkSessioncopies them - Added
auto_mode_uncheckedtopermission_denialsentries for actions auto mode could not check - Fixed
--replay-user-messagesnever echoing a message whose turn was interrupted by a follow-up before any output - Changed the error of a failed
rewindFiles()to hold the reason alone, without "Failed to rewind: " in front - Changed auto mode to read a message sent with
origin: { kind: 'human' }together with the question from Claude that it answers; set it only on text that a person typed - Changed a run with an action that auto mode could not check to end with
is_error: trueand throw;CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1opts out - Updated to parity with Claude Code v2.1.337
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.337
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.337
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.337
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.337