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

latest release: v0.1.68
11 hours ago

Bug Fixes

  • Trio compatibility restored: Fixed RuntimeError: no running event loop when using ClaudeSDKClient or query() under trio, a regression introduced in v0.1.51. Uses sniffio-based dispatch to select the correct async primitive (asyncio.Task vs trio.lowlevel.spawn_system_task) at runtime while preserving the asyncio CPU-spin and cancel-scope fixes from #746 (#870)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.120
  • Added sniffio>=1.0.0 as an explicit runtime dependency (already a transitive dep of anyio)

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

pip install claude-agent-sdk==0.1.67

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

NewReleases is sending notifications on new releases.