What this thread does
As of November 2026; checked 2026-11-05. Anthropic’s 0.2.177 release, November 3, adds HookMatcher(on_failure="block"): callback exceptions, None or rejected output block the action; the default remains "continue", and requesting block on an older unsupported CLI raises CLIConnectionError.
Do first: if you read sessions with get_session_messages or get_session_messages_from_store, retest anything that pages with limit and offset, because page boundaries move. Not for: the Windows wheel install error (see the pointer thread for 0.2.160 to 0.2.163).
Sources read, checked 2026-10-30: the official GitHub release notes for v0.2.169, v0.2.170 and v0.2.171 to v0.2.175 in the same repo, plus the merged pull request #1422 described below.
0.2.170 (released 2026-10-21)
- Bug fix: the release notes say
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 (PR #1422). - What the PR description adds: with three parallel calls the old readers returned one of the three results, and some returned calls had no result.
limitandoffsetnow count the recovered messages, so page boundaries move for sessions with parallel tool calls. The PR says the subagent readersget_subagent_messagesandget_subagent_messages_from_storeuse a separate chain builder and still lose parallel calls and results inside a subagent transcript, left for a separate change. That is the PR author's statement; the release notes do not mention it. - Bundled Claude CLI updated to 2.1.306.
- CI: release uploads to PyPI use trusted publishing (GitHub OIDC) instead of a long-lived API token (PR #1418). Not user-visible.
0.2.169 (released 2026-10-20)
- Documentation only:
include_hook_eventsdoes not suppressSessionStartandSetuphook events, which the CLI emits regardless of the setting (PR #1336). If you setinclude_hook_events=Falseand still see those hook messages, the notes say that is expected. - Bundled Claude CLI updated to 2.1.305; CI build tools are hash-pinned (PR #1415).
After 0.2.170
The notes for 0.2.171 (2026-10-21), 0.2.172 and 0.2.173 (2026-10-22), 0.2.174 (2026-10-24) and 0.2.175 (2026-10-30) list no SDK behavior change. They bump the bundled CLI to 2.1.307, 2.1.308, 2.1.309, 2.1.310 and 2.1.314, and 0.2.175 raises a PyPI size guard in CI (PR #1455).
After 0.2.175
0.2.176 and 0.2.178 list bundled CLI updates; 0.2.177 introduces the hook policy above. The reviewed notes do not announce a repair for the separate subagent transcript limitation described in #1422. Anthropic release feed.
Upgrade and verify
The release notes give the pin command pip install claude-agent-sdk==0.2.170; no migration steps are listed because no breaking change is listed. To check the fix yourself, read a session that ran parallel tool calls and confirm each returned call has a result; that check is a suggestion, not from the notes.
Credit: the SDK maintainers and the PR author in #1422. Not for: Windows install failures.
Started from a post by @anthropics, packaged by the editor. Original post