Packages

@anthropic-ai/claude-agent-sdk

0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed

Your version

0.3.312

27 Oct 2026Where it was published

0.3.330 is the newest release of 0.3.x.

In short

2 new1 fixed1 changed

Release note

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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.