Skip to content

chore(deps): Bump @anthropic-ai/claude-agent-sdk from 0.3.310 to 0.3.319 - #84

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/anthropic-ai/claude-agent-sdk-0.3.319
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/anthropic-ai/claude-agent-sdk-0.3.319

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps @anthropic-ai/claude-agent-sdk from 0.3.310 to 0.3.319.

Release notes

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

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
  • 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

Update

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

v0.3.318

What's changed

  • 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

Update

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

v0.3.317

What's changed

  • 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

... (truncated)

Changelog

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

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()
  • Updated to parity with Claude Code v2.1.317

0.3.316

  • Added permissions.blockReadsExemptPaths to the Settings type: paths, read only from --settings and settings the host sends, that blockReadsOutsideWorkingDirectories lets through without making them working directories
  • Updated to parity with Claude Code v2.1.316

0.3.315

  • Updated to parity with Claude Code v2.1.315

0.3.314

  • Added sandbox_required_unavailable to startup_failure_reason, for the result Claude Code writes when a required sandbox cannot run
  • Added permissions.blockWritesOutsideWorkingDirectories to the Settings type
  • Added prewarm() (alpha) to the @anthropic-ai/claude-agent-sdk/core entry point
  • Fixed a settings file left out of settingSources still supplying some settings, such as auto mode rules and saved permission consents
  • Updated to parity with Claude Code v2.1.314

0.3.313

  • Updated to parity with Claude Code v2.1.313

... (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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@anthropic-ai/claude-agent-sdk](https://github.com/anthropics/claude-agent-sdk-typescript) from 0.3.310 to 0.3.319.
- [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.310...v0.3.319)

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

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 9, 2026

This branch has not been deployed

No deployments
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