singularity-forge/packages/pi-agent-core/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
..
agent-loop.ts fix: render tool calls above text response for external providers 2026-03-25 14:38:39 -06:00
agent.test.ts fix(footer): display active inference model during execution (#1982) 2026-03-22 17:06:49 -06:00
agent.ts feat(agent-core): add externalToolExecution mode for external providers 2026-03-25 12:57:47 -06:00
index.ts feat: vendor Pi source into workspace monorepo 2026-03-12 21:55:17 -06:00
proxy.ts Merge pull request #1448 from frizynn/refactor/deduplicate-small-utilities 2026-03-19 15:46:13 -06:00
types.ts feat(agent-core): add externalToolExecution mode for external providers 2026-03-25 12:57:47 -06:00