github anthropics/claude-agent-sdk-typescript v0.3.337

one hour ago

What's changed

  • Added reason: "unfinished_at_resume" and task_type to the task_notification message that closes a task left unfinished by an earlier process
  • Added api-request-route entries to transcripts and session stores, naming the API provider a conversation may have used; forkSession copies them
  • Added auto_mode_unchecked to permission_denials entries for actions auto mode could not check
  • Fixed --replay-user-messages never 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: true and throw; CLAUDE_CODE_DISABLE_UNCHECKED_ACTIONS_ERROR=1 opts 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

Don't miss a new claude-agent-sdk-typescript release

NewReleases is sending notifications on new releases.