Expand description
The desktop’s side of pairing a device with the viewer listener
(backend::viewer, agentmux-mobile’s
SPEC_AGENT_STATUS_AND_LIVE_PANE_FEED_2026_10_07 §13.2): the QR, the
paired-devices list with Revoke, and an agent’s “hide from paired
devices” flag. Reached over the full-key WebSocket only, like every RPC.
Constants§
- NOT_
LISTENING 🔒 - Why there is no QR to show: the viewer listener is not up.
Functions§
- pair_
start_ 🔒impl - The
agentmux://pairURL for a fresh code (cancelling the last one). - register
- register_
agent_ 🔒hidden - register_
devices 🔒 - register_
pair_ 🔒start - register_
revoke 🔒 - revoke_
impl 🔒 - Revoke a device: its token stops working on the next request, and every feed it has open is closed now.