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
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:
sequenceNumber