mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-22 17:44:53 +02:00
Root cause: two WebSocket connections open to the same session (dashboard card + expanded chat). Every event delivered twice. Fix: track seen stream IDs and message IDs in WebSocketManager. - stream_start: skip if message_id already seen - stream_delta: only accept for streams WE initiated - stream_end: dedup + clean up tracking - agent:message: skip if message id already processed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>