Skip to content

WebSocket client: envelope protocol, resume + sync #303

Description

@codebestia

Description:
Update the web socket client to: authenticate with the device-bound token (#108), speak the event envelope (#143), send per-device send_message (#181), handle delivery/read receipts, typing, presence, resume (#150) on reconnect, then run /sync (#137) to backfill missed envelopes. Optimistic UI with reconciliation on ACK (sequenceNumber).

Acceptance criteria:

  • Reconnect triggers resume + sync, no missed/dup messages
  • Optimistic send reconciled with server sequenceNumber
  • Receipts/typing/presence reflected in UI

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions