singularity-forge/packages/pi-tui/src
Lex Christopherson 263d725ecd fix: render tool calls above text response for external providers
- Add insertChildBefore() to Box component for positional insertion
- In chat controller, insert tool_execution components before the last
  assistant message component (instead of appending after) when tools
  were executed externally
- Simplify agent-loop externalToolExecution path back to basic
  tool_execution_start/end emission
- Toolcall streaming events are filtered in the Claude Code adapter
  to prevent duplicate rendering via message_update

Result: externally-executed tool calls render above the text response,
matching the expected visual flow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 14:38:39 -06:00
..
__tests__ fix(tui): prevent freeze when using @ file finder (#1832) 2026-03-21 12:55:12 -06:00
components fix: render tool calls above text response for external providers 2026-03-25 14:38:39 -06:00
autocomplete.ts fix(tui): prevent freeze when using @ file finder (#1832) 2026-03-21 12:55:12 -06:00
editor-component.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
fuzzy.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
index.ts feat: wire native Rust image module into image processing pipeline 2026-03-13 13:41:53 -06:00
keybindings.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
keys.ts refactor: deduplicate rendering patterns in markdown and keys 2026-03-19 16:39:18 -03:00
kill-ring.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
overlay-layout.ts refactor: extract overlay layout and compositing from TUI into separate module (#1482) 2026-03-19 15:35:00 -06:00
stdin-buffer.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
terminal-image.ts feat: integrate cmux with gsd runtime (#1532) 2026-03-19 20:05:06 -06:00
terminal.ts fix: prevent arrow keys from inserting escape sequences as text (#493) 2026-03-15 17:17:58 -05:00
tui.ts fix(tui,gsd): tool-call loop guard + TUI stack overflow prevention (#1801) 2026-03-21 11:41:37 -06:00
undo-stack.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
utils.ts refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00