fix(coding-agent): export ToolCallEventResult closes #2458

This commit is contained in:
Mario Zechner
2026-03-20 12:54:33 +01:00
parent 6de8a2570b
commit 47ea28b584
3 changed files with 6 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
## [Unreleased] ## [Unreleased]
### Added
- Added `ToolCallEventResult` to the `@mariozechner/pi-coding-agent` top-level and core extension exports so extension authors can type explicit `tool_call` handler return values ([#2458](https://github.com/badlogic/pi-mono/issues/2458))
### Fixed ### Fixed
- Fixed `ctrl+z` suspend and `fg` resume reliability by keeping the process alive until the `SIGCONT` handler restores the TUI, avoiding immediate process exit in environments with no other live event-loop handles ([#2454](https://github.com/badlogic/pi-mono/issues/2454)) - Fixed `ctrl+z` suspend and `fg` resume reliability by keeping the process alive until the `SIGCONT` handler restores the TUI, avoiding immediate process exit in environments with no other live event-loop handles ([#2454](https://github.com/badlogic/pi-mono/issues/2454))

View File

@@ -52,6 +52,7 @@ export {
type SessionSwitchEvent, type SessionSwitchEvent,
type SessionTreeEvent, type SessionTreeEvent,
type ToolCallEvent, type ToolCallEvent,
type ToolCallEventResult,
type ToolDefinition, type ToolDefinition,
type ToolRenderResultOptions, type ToolRenderResultOptions,
type ToolResultEvent, type ToolResultEvent,

View File

@@ -112,6 +112,7 @@ export type {
SlashCommandSource, SlashCommandSource,
TerminalInputHandler, TerminalInputHandler,
ToolCallEvent, ToolCallEvent,
ToolCallEventResult,
ToolDefinition, ToolDefinition,
ToolInfo, ToolInfo,
ToolRenderResultOptions, ToolRenderResultOptions,