fix(presence): dedupe instances via stable instanceId

This commit is contained in:
Peter Steinberger
2025-12-12 16:56:46 +00:00
parent cd84c5ad08
commit 6a05d60f41
3 changed files with 132 additions and 5 deletions

View File

@@ -51,6 +51,8 @@ pnpm clawdis gateway --force
- `send` — send a message via the active provider(s).
- `agent` — run an agent turn (streams events back on same connection).
See also: `docs/presence.md` for how presence is produced/deduped and why `instanceId` matters.
## Events
- `agent` — streamed tool/output events from the agent run (seq-tagged).
- `presence` — presence updates (deltas with stateVersion) pushed to all connected clients.