Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(desktop): guard reasoning item/completed dispatch against existing stream item

7 months ago

26989c8
Authored
mweinbach3/22/2026, 7:31:52 PM
When a reasoning item/completed JSON-RPC notification arrives, check whether
a feed item already exists for this stream key (created by streaming deltas).
If so, update it in-place instead of dispatching a legacy reasoning event,
which would create a duplicate item appended to the bottom of the feed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Parent00bca24

1 file changed
  • apps/desktop/src/app/store.helpers/threadEventReducer.ts+16−7