Packages

@anthropic-ai/claude-agent-sdk

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

Upgrading @anthropic-ai/claude-agent-sdk From 0.3.318 to 0.3.319

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.3.318Newest 0.x, Latest0.3.330
  1. 0.3.318yours
  2. 0.3.319target
0
changes to make
0
advisories fixed
1
new
2
fixes

Release by release

  1. 0.3.319

    6 Nov 20261 new · 2 fixes
    • New

      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

      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

      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

3 other lines we could not sort, mostly version bumps
  • Improved deleteSession() to reject with ENOTEMPTY if the session's folder could not be fully deleted

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

    0.3.319
  • Updated to parity with Claude Code v2.1.319

    0.3.319

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.