Skip to content

Releases: anthropics/claude-agent-sdk-typescript

v0.3.185

20 Jun 20:59

Choose a tag to compare

What's changed

  • Updated to parity with Claude Code v2.1.185

Update

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

v0.3.183

19 Jun 01:20

Choose a tag to compare

What's changed

  • Updated to parity with Claude Code v2.1.183

Update

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

v0.3.181

17 Jun 22:07

Choose a tag to compare

What's changed

  • Added errorCode, canUserPurchaseCredits, and hasChargeableSavedPaymentMethod fields to SDKRateLimitInfo for detecting credits-required rate limits
  • Added tool_use_meta.icon_url to assistant messages, populated from MCP server directory metadata
  • Fixed SDK-hosted Remote Control sessions dropping file_attachments from inbound user messages

Update

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

v0.3.179

16 Jun 20:22

Choose a tag to compare

What's changed

  • Added optional tool_use_meta sidecar to assistant messages with display-friendly names for tool calls, so SDK consumers can render human-readable labels instead of raw wire names
  • Fixed -p mode exiting before a completed background agent's notification was delivered, causing interim text to ship as the final result
  • Fixed remote (stream-json) sessions appearing busy for the entire duration of a background workflow — the turn result is now emitted at the turn boundary and the session reports idle while background tasks continue

Update

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

v0.3.178

15 Jun 21:35

Choose a tag to compare

What's changed

  • Spawn failures on an existing native binary now explain the likely libc mismatch (musl binary on a glibc host) and suggest options.pathToClaudeCodeExecutable
  • Permission-denied advisory messages now carry typed denial reasons (safetyCheck, asyncAgent), enabling SDK consumers to programmatically match denial causes
  • Fixed UserPromptSubmit hook block feedback not being emitted to the SDK event stream — consumers can now see why a prompt was blocked by a hook instead of a silent hang
  • Remote Control workers now send a worker_shutting_down system message on graceful exit so remote clients can show why the session ended
  • Fixed MCP server-level specs (mcp__server, mcp__server__*) in disallowedTools being silently ignored — they now correctly remove all tools from the named server

Update

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

v0.3.177

13 Jun 01:25

Choose a tag to compare

What's changed

  • Updated to parity with Claude Code v2.1.177

Update

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

v0.3.176

12 Jun 21:53

Choose a tag to compare

What's changed

  • Fixed turn result messages being dropped when multiple turns complete while a background agent or workflow is running
  • Fixed background agent, remote agent, and MCP task state not being restored when resuming a session via the SDK

Update

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

v0.3.175

12 Jun 04:24

Choose a tag to compare

What's changed

  • Updated to parity with Claude Code v2.1.175

Update

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

v0.3.174

12 Jun 01:16

Choose a tag to compare

What's changed

  • SDK consumers now receive the system/model_fallback message for all fallback triggers — overloaded, server_error, and last_resort in addition to model_not_found and permission_denied — and the message's trigger field gained the server_error and last_resort values

Update

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

v0.3.173

11 Jun 05:41

Choose a tag to compare

What's changed

  • Updated to parity with Claude Code v2.1.173

Update

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