You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,24 @@
1
1
# Changelog
2
2
3
+
## 0.1.52
4
+
5
+
### New Features
6
+
7
+
-**Context usage**: Added `get_context_usage()` method to `ClaudeSDKClient` for querying context window usage by category (#764)
8
+
-**Annotated parameter descriptions**: The `@tool` decorator and `create_sdk_mcp_server` now support `typing.Annotated` for per-parameter descriptions in JSON Schema (#762)
9
+
-**ToolPermissionContext fields**: Exposed `tool_use_id` and `agent_id` in `ToolPermissionContext` for distinguishing parallel permission requests (#754)
10
+
-**Session ID option**: Added `session_id` option to `ClaudeAgentOptions` for specifying custom session IDs (#750)
11
+
12
+
### Bug Fixes
13
+
14
+
-**String prompt in connect()**: Fixed `connect(prompt="...")` silently dropping the string prompt, causing `receive_messages()` to hang indefinitely (#769)
15
+
-**Cancel request handling**: Implemented `control_cancel_request` handling so in-flight hook callbacks are properly cancelled when the CLI abandons them (#751)
16
+
17
+
### Internal/Other Changes
18
+
19
+
- Updated bundled Claude CLI to version 2.1.87
20
+
- Increased CI timeout for example tests and reduced sleep duration in error handling example (#760)
0 commit comments