Skip to content

Commit 6f227de

Browse files
docs: update changelog for v0.1.46
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f929f2e commit 6f227de

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

CHANGELOG.md

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

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+
321
## 0.1.45
422

523
### Internal/Other Changes

0 commit comments

Comments
 (0)