singularity-forge/packages/pi-coding-agent
Nils Reeh b721ec1445 fix(pi-coding-agent): finalize streaming component on agent_end instead of removing it
When message_end does not fire before agent_end (e.g. abort path), the
agent_end case was calling chatContainer.removeChild(streamingComponent),
which silently erased the last assistant message from the TUI chat history.

Fix: follow the message_end finalization pattern — call setShowMetadata(true)
and updateContent() before clearing the reference. Never call removeChild on
a component that was added to the persistent chat history.

Closes #4197
2026-04-15 03:01:11 +02:00
..
scripts fix: handle Windows non-ASCII paths in cpSync with copyFileSync fallback (#1181) 2026-03-18 10:13:37 -06:00
src fix(pi-coding-agent): finalize streaming component on agent_end instead of removing it 2026-04-15 03:01:11 +02:00
package.json release: v2.74.0 2026-04-14 15:59:28 +00:00
tsconfig.json ci: optimize build workflows and caching 2026-04-14 11:16:47 -05:00