Bug Fixes
- Fixed parallel tool calls missing from session messages:
get_session_messagesandget_session_messages_from_storenow return every tool call and result from turns that ran tools in parallel. Previously only one branch of the forked transcript was followed, dropping some calls and results (#1422)
Internal/Other Changes
- Updated bundled Claude CLI to version 2.1.306
- CI: release uploads to PyPI now use trusted publishing (GitHub OIDC) instead of a long-lived API token (#1418)
PyPI: https://pypi.org/project/claude-agent-sdk/0.2.170/
pip install claude-agent-sdk==0.2.170