Connection owns the socket lifecycle, connect/dial with epochs, reconnect, the clock offset, diagnostics upload and a sealed ConnState signal; the hello is built by an injectable builder, the resume token stays private, and the reconnect delay and silence limit are parameters. The coordinator maps ConnState to the same health texts and keeps the reconnect restore and drop handling (step 1 replaces them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apps/desktop
The Flutter desktop app (what users run; hosting runs the server from
packages/server on an isolate). Layout and rules:
../../docs/ARCHITECTURE.md. Build and test:
../../docs/DEVELOPMENT.md.