mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Pi's ACP binary streams 200+ redundant tool_call_update events per tool call, bypassing the server coalescer and flooding the app with synchronous state updates. Two-layer fix: Server: extend AgentStreamCoalescer to handle tool_call items via last-write-wins per callId (200ms window, up from 33ms). Terminal statuses flush immediately. App: mergeToolCallDetail and appendAgentToolCall now return existing references when fields are unchanged, preserving React.memo equality checks.