singularity-forge/packages
Lex Christopherson ef310574da fix: Remove premature pendingTools.delete in webSearchResult handler (#2743)
The webSearchResult branch deleted entries from pendingTools after rendering,
which removed the duplicate-prevention guard. Subsequent streaming tokens
re-iterated content blocks, re-created the serverToolUse component, and
re-rendered the search result — producing 18+ duplicate blocks.

The message_end handler already calls pendingTools.clear(), so the explicit
deletes were unnecessary and harmful.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 16:03:07 -06:00
..
native fix: use Array.from instead of Buffer.from for native processStreamChunk state (#2348) 2026-03-25 00:08:11 -06:00
pi-agent-core Merge pull request #2173 from frizynn/fix/race-conditions 2026-03-25 22:15:29 -06:00
pi-ai chore: consolidate docs, remove stale artifacts, and repo hygiene (#2665) 2026-03-26 09:13:41 -06:00
pi-coding-agent fix: Remove premature pendingTools.delete in webSearchResult handler (#2743) 2026-03-26 16:03:07 -06:00
pi-tui fix: render tool calls above text response for external providers 2026-03-25 14:38:39 -06:00