ReleaseAnthropicAnthropicpublished Oct 27, 2026seen 2d

anthropics/claude-agent-sdk-typescript v0.3.312

anthropics/claude-agent-sdk-typescript

Open original ↗

Captured source

source ↗

v0.3.312

Repository: anthropics/claude-agent-sdk-typescript

Tag: v0.3.312

Published: 2026-10-27T20:23:24Z

Prerelease: no

Release notes:

What's changed

  • Added autoMode, skipAutoPermissionPrompt, useAutoModeDuringPlan and permissions.disableAutoMode to the Settings type
  • Added unanswered (skipped, replied_in_chat or dismissed) to AskUserQuestion answers' per-question annotations; send it only when system/init lists the ask_user_question_unanswered_v1 capability
  • Fixed resolveSettings() returning mistyped managed auto-mode settings, such as permissions.disableAutoMode: true, as written instead of reading them as the CLI does; a user or project settings file whose auto-mode keys hold an invalid value is now skipped, as in the CLI
  • Updated to parity with Claude Code v2.1.312

Update

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