mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
a8a0f4b9fb
Matches ToolResultEvent pattern with typed inputs via discriminated union. - Export *ToolInput types from tool schemas - Add *ToolCallEvent interfaces for each built-in tool - Add isToolCallEventType() guard with overloads for built-ins Direct narrowing (event.toolName === "bash") doesn't work due to CustomToolCallEvent.toolName: string overlapping with literals. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
a8a0f4b9fb
ยท
2026-02-01 19:13:52 +01:00
History