Bug Fixes
- Typed
task_updatedlifecycle events: Exposed terminalsystem/task_updatedevents as typedTaskUpdatedMessagewithtask_id,patch,status,session_id, anduuidfields. Consumers tracking active background tasks no longer hang when a task finishes via atask_updatedmessage without a correspondingTaskNotificationMessage. AddedTaskUpdatedStatustype andTERMINAL_TASK_STATUSESfrozenset for reliable active-task bookkeeping (#1016)
Internal/Other Changes
- Updated bundled Claude CLI to version 2.1.177
PyPI: https://pypi.org/project/claude-agent-sdk/0.2.101/
pip install claude-agent-sdk==0.2.101