Releases: anthropics/claude-agent-sdk-typescript
Releases · anthropics/claude-agent-sdk-typescript
v0.3.185
v0.3.183
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.183v0.3.181
What's changed
- Added
errorCode,canUserPurchaseCredits, andhasChargeableSavedPaymentMethodfields toSDKRateLimitInfofor detecting credits-required rate limits - Added
tool_use_meta.icon_urlto assistant messages, populated from MCP server directory metadata - Fixed SDK-hosted Remote Control sessions dropping
file_attachmentsfrom 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.181v0.3.179
What's changed
- Added optional
tool_use_metasidecar to assistant messages with display-friendly names for tool calls, so SDK consumers can render human-readable labels instead of raw wire names - Fixed
-pmode 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.179v0.3.178
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
UserPromptSubmithook 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_downsystem message on graceful exit so remote clients can show why the session ended - Fixed MCP server-level specs (
mcp__server,mcp__server__*) indisallowedToolsbeing 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.178v0.3.177
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.177v0.3.176
What's changed
- Fixed turn
resultmessages 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.176v0.3.175
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.175v0.3.174
What's changed
- SDK consumers now receive the
system/model_fallbackmessage for all fallback triggers —overloaded,server_error, andlast_resortin addition tomodel_not_foundandpermission_denied— and the message'striggerfield gained theserver_errorandlast_resortvalues
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.174v0.3.173
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