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

latest release: v0.3.332
4 days ago

What's changed

  • Added sideload_flags_disabled to startup_failure_reason, for a start that managed disableSideloadFlags refuses over a flag or launch option
  • Added processing_at to getCcrEvent(), and fixed browser SDK sse queries dropping the server's queued notices
  • Fixed the browser SDK ignoring Retry-After when a session's event stream is refused
  • Fixed the Edit and Write tool results not reporting that canUseTool changed the text through updatedInput
  • Fixed listSessions() without a limit opening every transcript at once, which could leave sessions out when the open-file limit was reached
  • Changed rewindFiles() to refuse under a managed fileCheckpointingEnabled: false, and fixed it deleting files after a restore had failed
  • Changed task_notification.output_file to name a foreground subagent's output file, as it already does for background subagents
  • Updated to parity with Claude Code v2.1.331

Update

npm install @anthropic-ai/claude-agent-sdk@0.3.331
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.331
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.331
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.331

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

NewReleases is sending notifications on new releases.