Skip to content

build(deps): bump @anthropic-ai/claude-agent-sdk from 0.3.314 to 0.3.322 in the claude-runtime group - #6

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/claude-runtime-97a2726a77
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/claude-runtime-97a2726a77

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 2026

Copy link
Copy Markdown

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

Updates @anthropic-ai/claude-agent-sdk from 0.3.314 to 0.3.322

Release notes

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

v0.3.322

What's changed

  • Updated to parity with Claude Code v2.1.322

Update

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

v0.3.321

What's changed

  • Fixed canUseTool getting the app's own PreToolUse hook reason in decisionReason when another hook also asked
  • Fixed a PreToolUse hook's ask being lost when another hook's defer finished first and could not be honored
  • Fixed every hook being dropped when one event in the hooks option is set to undefined
  • Fixed WarmQuery.query() with a string prompt hanging after startup() with resume when the resumed session finished a turn of its own before the prompt was sent
  • Fixed setMcpServers closing a folder's .mcp.json or local-scope MCP server when passed an in-process server of the same name, in sessions bound with SpareProcess.claim()
  • Fixed reloadSkills(), reloadPlugins() and system/init dropping project skills, commands or agents that a worktree lacks after Claude entered it
  • Fixed sessions hanging on save, and importSessionToStore() never rejecting, when memory ran out while a transcript was being read
  • Improved resume and continue on the bundled Claude Code binary: initialize is read during boot, so start-up work is less likely to run before your hooks are registered
  • Changed queued subagent reports in auto mode to share one model call: each keeps its own message and result, and all but the last end in an empty result with num_turns: 0
  • Changed an SDK MCP server named claude-in-chrome to follow the organization's Claude in Chrome policy: where the policy denies it, the server is not connected
  • Updated to parity with Claude Code v2.1.321

Update

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

v0.3.319

What's changed

  • Added MCP task support in SDK sessions (not on Bedrock, Vertex or Foundry): with CLAUDE_AUTO_BACKGROUND_TASKS=1 and streaming input, an MCP task runs in the background with task_type "mcp_task"
  • Fixed the OpenTelemetry claude_code.session.count metric counting prewarm() processes that were never claimed; a pre-started process now counts once, when SpareProcess.claim() succeeds
  • Fixed session_writes_lost listing the wrong session in transcript_session_ids after /clear in a session resumed from a transcript file outside the projects folder

... (truncated)

Changelog

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

0.3.322

  • Updated to parity with Claude Code v2.1.322

0.3.321

  • Fixed canUseTool getting the app's own PreToolUse hook reason in decisionReason when another hook also asked
  • Fixed a PreToolUse hook's ask being lost when another hook's defer finished first and could not be honored
  • Fixed every hook being dropped when one event in the hooks option is set to undefined
  • Fixed WarmQuery.query() with a string prompt hanging after startup() with resume when the resumed session finished a turn of its own before the prompt was sent
  • Fixed setMcpServers closing a folder's .mcp.json or local-scope MCP server when passed an in-process server of the same name, in sessions bound with SpareProcess.claim()
  • Fixed reloadSkills(), reloadPlugins() and system/init dropping project skills, commands or agents that a worktree lacks after Claude entered it
  • Fixed sessions hanging on save, and importSessionToStore() never rejecting, when memory ran out while a transcript was being read
  • Improved resume and continue on the bundled Claude Code binary: initialize is read during boot, so start-up work is less likely to run before your hooks are registered
  • Changed queued subagent reports in auto mode to share one model call: each keeps its own message and result, and all but the last end in an empty result with num_turns: 0
  • Changed an SDK MCP server named claude-in-chrome to follow the organization's Claude in Chrome policy: where the policy denies it, the server is not connected
  • Updated to parity with Claude Code v2.1.321

0.3.320

  • Updated to parity with Claude Code v2.1.320

0.3.319

  • Added MCP task support in SDK sessions (not on Bedrock, Vertex or Foundry): with CLAUDE_AUTO_BACKGROUND_TASKS=1 and streaming input, an MCP task runs in the background with task_type "mcp_task"
  • Fixed the OpenTelemetry claude_code.session.count metric counting prewarm() processes that were never claimed; a pre-started process now counts once, when SpareProcess.claim() succeeds
  • Fixed session_writes_lost listing the wrong session in transcript_session_ids after /clear in a session resumed from a transcript file outside the projects folder
  • Improved deleteSession() to reject with ENOTEMPTY if the session's folder could not be fully deleted
  • Changed session_writes_lost to be sent only when the CLI exits 0; a run that ends on an error result now gets only the stderr line
  • Updated to parity with Claude Code v2.1.319

0.3.318

  • Added an optional credential_expires_at field to result messages: when the stored claude.ai sign-in in use ends
  • Added the config_file_invalid startup failure reason, reported when a configuration file read at startup isn't valid JSON
  • Fixed the interrupt response missing a message held behind a model change: it is now listed, cancelled with cancel_queued, and stopped at start-up as a queued message is
  • Changed agentProgressSummaries: while the subagent waits for a response on a likely-cold prompt cache, a summary can wait up to 5 minutes, and is not sent if the subagent ends first
  • Changed status in PushNotificationInput to optional
  • Updated to parity with Claude Code v2.1.318

0.3.317

  • Added onFailure to hook matchers: with "block", a hook that throws or returns invalid output blocks the action
  • Added a warning message in the stream when a hook callback fails
  • Added a session_writes_lost system message, sent after the last result when a full disk or disk quota kept the CLI from saving the session transcript or ~/.claude.json
  • Added initialize_not_first to startup_failure_reason, for a --await-initialize launch whose first stdin line is not the initialize request
  • Added task.description to the TaskCreate tool's tool_use_result: the description the task was created with
  • Added lossy to readFile() utf-8 answers: true when decoding replaced bytes that are not valid UTF-8
  • Removed the file_unchanged variant of FileReadOutput in sdk-tools.d.ts; a repeated Read now returns the file content
  • Fixed setMcpServers closing a folder's .mcp.json and local-scope MCP servers in sessions started with prewarm() and bound with SpareProcess.claim()

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the claude-runtime group with 1 update: [@anthropic-ai/claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-typescript).


Updates `@anthropic-ai/claude-agent-sdk` from 0.3.314 to 0.3.322
- [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.314...v0.3.322)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 15, 2026
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