What's changed
- Fixed
type: "http"MCP servers failing with HTTP 406 "Not Acceptable" on Streamable HTTP servers that strictly enforce theAccept: application/json, text/event-streamheader - Changed
AgentToolInput.subagent_typeto optional — defaults to thegeneral-purposeagent 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