Download Latest Version v0.2.181 source code.zip (581.7 kB)
Home / v0.2.177
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-11-03 769 Bytes
v0.2.177 source code.tar.gz 2026-11-03 480.4 kB
v0.2.177 source code.zip 2026-11-03 576.1 kB
Totals: 3 Items   1.1 MB 0

New Features

  • on_failure option for HookMatcher: Control what happens when a hook callback fails. Set on_failure="block" to block the action when a callback raises, returns None, or returns a value the CLI rejects. Defaults to "continue" (treat failure as no decision). Requires a CLI version that supports this option; connecting to an older CLI with on_failure="block" raises CLIConnectionError (#1460)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.317
  • Tests: e2e tests now accept either Bash or PowerShell tool in shell-dependent tests, fixing intermittent failures on Windows (#1467)

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

:::bash
pip install claude-agent-sdk==0.2.177
Source: README.md, updated 2026-11-03