github anthropics/claude-agent-sdk-python v0.1.70

latest release: v0.1.71
5 hours ago

Bug Fixes

  • In-process MCP tool results silently lost with older mcp versions: Bumped the mcp dependency floor to >=1.19.0. Older versions mishandled CallToolResult returns from SDK MCP tool handlers, causing the model to receive a validation-error blob instead of the actual tool output (#891)
  • Trio nursery corruption on early cancellation: Fixed RuntimeError: Nursery stack corrupted when breaking out of query() iteration inside a trio nursery with options.stderr set. The stderr reader now uses spawn_detached() instead of manually managing a task group, matching the approach already used for the read loop (#885)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.122

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.70/

pip install claude-agent-sdk==0.1.70

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

NewReleases is sending notifications on new releases.