Bug Fixes
- In-process MCP tool results silently lost with older
mcpversions: Bumped themcpdependency floor to>=1.19.0. Older versions mishandledCallToolResultreturns 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 corruptedwhen breaking out ofquery()iteration inside a trio nursery withoptions.stderrset. The stderr reader now usesspawn_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