github anthropics/claude-agent-sdk-typescript v0.2.70

latest releases: v0.3.332, v0.3.331, v0.3.330...
8 months ago

What's changed

  • Fixed type: "http" MCP servers failing with HTTP 406 "Not Acceptable" on Streamable HTTP servers that strictly enforce the Accept: application/json, text/event-stream header
  • Changed AgentToolInput.subagent_type to optional — defaults to the general-purpose agent when omitted
  • Updated to parity with Claude Code v2.1.70

Update

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

Don't miss a new claude-agent-sdk-typescript release

NewReleases is sending notifications on new releases.