viveworker remote-pairing — Phase 2 browser smoke test

How to run
  1. Start the relay in one terminal:
    cd worker-pairing && npx wrangler dev --local --port 8801
  2. Serve the web/ directory in another terminal:
    cd web && npx http-server -p 8000 -c-1
    (any static server works; -c-1 disables caching so edits show up immediately)
  3. Open http://127.0.0.1:8000/remote-pairing-test.html in your browser.
  4. Click Start. Both peers should reach connected with matching channel bindings.
  5. Type messages into either peer's input and click Send — the other peer's "Received" list updates.
  6. Click Force-disconnect on a peer to simulate a network blip; you should see it transition through disconnected → opening → resuming → connected and the encrypted channel survives.

This page intentionally lives outside the main PWA shell — it loads only the remote-pairing modules, so any failure isolates to the new code.

Configuration

Phone (initiator)

State: disconnected
Identity fingerprint:
Channel binding:
Outbound seq: 0

Received

Bridge (responder)

State: disconnected
Identity fingerprint:
Channel binding:
Outbound seq: 0

Received

Logs