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
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,63 @@
1
1
# Changelog
2
2
3
+
## 0.1.46
4
+
5
+
### New Features
6
+
7
+
-**Session history functions**: Added `list_sessions()` and `get_session_messages()` top-level functions for retrieving past session data (#622)
8
+
-**MCP control methods**: Added `add_mcp_server()`, `remove_mcp_server()`, and typed `McpServerStatus` for runtime MCP server management (#620)
9
+
-**Typed task messages**: Added `TaskStarted`, `TaskProgress`, and `TaskNotification` message subclasses for better type safety when handling task-related events (#621)
10
+
-**ResultMessage stop_reason**: Added `stop_reason` field to `ResultMessage` for inspecting why a conversation turn ended (#619)
11
+
-**Hook input enhancements**: Added `agent_id` and `agent_type` fields to tool-lifecycle hook inputs (`PreToolUseHookInput`, `PostToolUseHookInput`, `PostToolUseFailureHookInput`) (#628)
12
+
13
+
### Bug Fixes
14
+
15
+
-**String prompt MCP initialization**: Fixed an issue where passing a string prompt would close stdin before MCP server initialization completed, causing MCP servers to fail to register (#630)
16
+
17
+
### Internal/Other Changes
18
+
19
+
- Updated bundled Claude CLI to version 2.1.69
20
+
21
+
## 0.1.45
22
+
23
+
### Internal/Other Changes
24
+
25
+
- Updated bundled Claude CLI to version 2.1.63
26
+
27
+
## 0.1.44
28
+
29
+
### Internal/Other Changes
30
+
31
+
- Updated bundled Claude CLI to version 2.1.59
32
+
33
+
## 0.1.43
34
+
35
+
### Internal/Other Changes
36
+
37
+
- Updated bundled Claude CLI to version 2.1.56
38
+
39
+
## 0.1.42
40
+
41
+
### Internal/Other Changes
42
+
43
+
- Updated bundled Claude CLI to version 2.1.55
44
+
45
+
## 0.1.41
46
+
47
+
### Internal/Other Changes
48
+
49
+
- Updated bundled Claude CLI to version 2.1.52
50
+
51
+
## 0.1.40
52
+
53
+
### Bug Fixes
54
+
55
+
-**Unknown message type handling**: Fixed an issue where unrecognized CLI message types (e.g., `rate_limit_event`) would crash the session by raising `MessageParseError`. Unknown message types are now silently skipped, making the SDK forward-compatible with future CLI message types (#598)
0 commit comments