co-mono/packages/coding-agent
Mario Zechner 2fdd304fbf Mark pending tool components as aborted when streaming is interrupted
When user presses Esc during tool argument streaming, the assistant
message ends with stopReason="aborted" but tool execution never starts.
Now we check for aborted/error stopReasons in message_end and update
all pending tool execution components to show red error state with
"Operation aborted" message.

This fixes the issue where tool components stayed stuck in blue/pending
state after aborting during JSON streaming.
2025-11-11 23:37:05 +01:00
..
src Mark pending tool components as aborted when streaming is interrupted 2025-11-11 23:37:05 +01:00
test Agent package + coding agent WIP, refactored web-ui prompts 2025-10-17 11:47:01 +02:00
example.json Add abort signal handling to read, write, and edit tools 2025-11-11 23:28:39 +01:00
example.txt Improve tool execution rendering and error handling 2025-11-11 23:05:58 +01:00
package.json Clean up TUI package and refactor component structure 2025-11-11 10:32:18 +01:00
test.json Fix tab rendering in TUI components 2025-11-11 23:24:48 +01:00
tsconfig.build.json Agent package + coding agent WIP, refactored web-ui prompts 2025-10-17 11:47:01 +02:00
vitest.config.ts Agent package + coding agent WIP, refactored web-ui prompts 2025-10-17 11:47:01 +02:00