Skip to content

Commit 74fe445

Browse files
docs: update changelog for v0.2.126
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 013cb15 commit 74fe445

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 0.2.126
4+
5+
### New Features
6+
7+
- **`terminal_reason` on ResultMessage**: `ResultMessage.terminal_reason` now surfaces why the query loop ended (`"completed"`, `"max_turns"`, `"aborted_streaming"`, `"aborted_tools"`, etc.). A value of `"aborted_streaming"` or `"aborted_tools"` means the turn was cancelled via `ClaudeSDKClient.interrupt()`. Mirrors the TypeScript SDK's `SDKResultMessage.terminal_reason` (#1142)
8+
- **Typed `model_usage` on ResultMessage**: `ResultMessage.model_usage` is now typed as `dict[str, ModelUsage]` instead of `dict[str, Any]`, with a new `ModelUsage` TypedDict that mirrors the TypeScript SDK's shape. Includes optional `canonicalModel` and `provider` fields for stable model identification across provider-specific aliases (#1143)
9+
10+
### Internal/Other Changes
11+
12+
- Updated bundled Claude CLI to version 2.1.218
13+
314
## 0.2.125
415

516
### Internal/Other Changes

0 commit comments

Comments
 (0)