Claude Agent SDK 0.3.319
Anthropic · SDK / library · v0.3.319 · Released
View official release notes ↗ Copy link
What's changed
- Added MCP task support in SDK sessions (not on Bedrock, Vertex or Foundry): with
CLAUDE_AUTO_BACKGROUND_TASKS=1and streaming input, an MCP task runs in the background withtask_type"mcp_task" - Fixed the OpenTelemetry
claude_code.session.countmetric countingprewarm()processes that were never claimed; a pre-started process now counts once, whenSpareProcess.claim()succeeds - Fixed
session_writes_lostlisting the wrong session intranscript_session_idsafter/clearin a session resumed from a transcript file outside the projects folder - Improved
deleteSession()to reject withENOTEMPTYif the session's folder could not be fully deleted - Changed
session_writes_lostto 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
Source: Anthropic's official Claude Agent SDK release notes at github.com. Text reproduced from the source for reference; all rights belong to Anthropic. Patchwire is not affiliated with Anthropic.
Get new Claude Agent SDK releases by email
Every AI dev-tool release, including Claude Agent SDK, in one short email each morning. Free. The digest is launching soon; join the list to get it from day one.
By subscribing you agree to our Terms and Privacy Policy. Unsubscribe anytime.
Nearby Claude Agent SDK releases
Full Claude Agent SDK changelog →
More from Anthropic
Other Anthropic changelogs: Claude Code · Claude apps · Claude API · Anthropic Python SDK · Anthropic TypeScript SDK. All Anthropic releases →