Skip to content

build(deps): bump @anthropic-ai/claude-agent-sdk from 0.3.223 to 0.3.312 in /api in the api group across 1 directory - #4

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/api/api-ce8a3b56b2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/api/api-ce8a3b56b2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026 •

Copy link
Copy Markdown

Bumps the api group with 1 update in the /api directory: @anthropic-ai/claude-agent-sdk.

Updates @anthropic-ai/claude-agent-sdk from 0.3.223 to 0.3.312

Release notes

Sourced from @​anthropic-ai/claude-agent-sdk's releases.

v0.3.312

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

v0.3.311

What's changed

  • Added cacheCreationEphemeral5mInputTokens and cacheCreationEphemeral1hInputTokens to ModelUsage, splitting cacheCreationInputTokens by cache lifetime
  • Changed background start-up work to wait until the first model request is sent, for about 10 seconds at most, when the first message arrives during start-up
  • Changed the minimum supported Node.js version from 18.0.0 to 18.14.0
  • Updated to parity with Claude Code v2.1.311

Update

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

v0.3.310

What's changed

  • Updated to parity with Claude Code v2.1.310

Update

npm install @anthropic-ai/claude-agent-sdk@0.3.310
# or
</tr></table> 

... (truncated)

Changelog

Sourced from @​anthropic-ai/claude-agent-sdk's changelog.

0.3.312

  • 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

0.3.311

  • Added cacheCreationEphemeral5mInputTokens and cacheCreationEphemeral1hInputTokens to ModelUsage, splitting cacheCreationInputTokens by cache lifetime
  • Changed background start-up work to wait until the first model request is sent, for about 10 seconds at most, when the first message arrives during start-up
  • Changed the minimum supported Node.js version from 18.0.0 to 18.14.0
  • Updated to parity with Claude Code v2.1.311

0.3.310

  • Updated to parity with Claude Code v2.1.310

0.3.309

  • Fixed host-supplied managedSettings dropping disableAllHooks, disableSkillShellExecution and empty allowedHttpHookUrls / httpHookAllowedEnvVars lists
  • Changed extractFromBunfs() to extract the embedded CLI into its own per-user temp directory (claude-agent-sdk-<uid>, or claude-agent-sdk on Windows) instead of Claude Code's temp root
  • Changed extractFromBunfs() to reuse an already-extracted file only when its bytes match the embedded binary, replacing it otherwise
  • Updated to parity with Claude Code v2.1.309

0.3.308

  • Updated to parity with Claude Code v2.1.308

0.3.307

  • Added wakeup_source to the command_lifecycle started frame of a scheduled wakeup or task, and scheduled_for for a wakeup (capability lifecycle_wakeup_source_v1), so a host can tell which one fired
  • Added supportedDialogKinds to browser SDK query(), sent on initialize; a non-empty list requires onUserDialog
  • Updated to parity with Claude Code v2.1.307

0.3.306

  • Updated to parity with Claude Code v2.1.306

0.3.305

  • Added recommendations and fix to the get_usage response's behavior windows
  • Fixed servers set with setMcpServers being replaced later in the session by a same-named server from the user's own settings
  • Fixed startup() with initializeTimeoutMs: null counting time spent in SessionStart or Setup hooks against its 60-second limit; null now works like leaving the option out
  • Changed the startup() and prewarm() timeout error for a start with no open SessionStart or Setup hook: it lists possible causes and no longer says to check authentication and network
  • Updated to parity with Claude Code v2.1.305

0.3.304

  • Added suspendSseStream(query) and resumeSseStream(query) to the browser SDK: close a query's event stream and reopen it later without ending the query

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​anthropic-ai/claude-agent-sdk since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 22, 2026
Bumps the api group with 1 update in the /api directory: [@anthropic-ai/claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-typescript).


Updates `@anthropic-ai/claude-agent-sdk` from 0.3.223 to 0.3.312
- [Release notes](https://github.com/anthropics/claude-agent-sdk-typescript/releases)
- [Changelog](https://github.com/anthropics/claude-agent-sdk-typescript/blob/main/CHANGELOG.md)
- [Commits](anthropics/claude-agent-sdk-typescript@v0.3.223...v0.3.312)

---
updated-dependencies:
- dependency-name: "@anthropic-ai/claude-agent-sdk"
  dependency-version: 0.3.303
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: api
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump @anthropic-ai/claude-agent-sdk from 0.3.223 to 0.3.303 in /api in the api group build(deps): bump @anthropic-ai/claude-agent-sdk from 0.3.223 to 0.3.312 in /api in the api group across 1 directory Nov 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/api/api-ce8a3b56b2 branch from b7ef7a4 to 373a29f Compare November 1, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants