ReleaseAnthropicAnthropicpublished Jun 22, 2026seen 3d

anthropics/claude-agent-sdk-typescript v0.3.186

anthropics/claude-agent-sdk-typescript

Open original ↗

Captured source

source ↗

v0.3.186

Repository: anthropics/claude-agent-sdk-typescript

Tag: v0.3.186

Published: 2026-06-22T20:37:32Z

Prerelease: no

Release notes:

What's changed

  • Added agent_id field to can_use_tool control requests — background agents now forward permission prompts to canUseTool instead of auto-denying, and stdin stays open while background tasks are running
  • Added ReadMcpResourceDirTool tool type to SDK schemas — MCP resource directory listing is now a dedicated tool instead of a fallback inside ReadMcpResourceTool
  • Added rewind_conversation control request for rewinding a conversation to a previous point with durable resume anchor support

Update

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

Notability

notability 4.0/10

Routine SDK patch release, low traction.