Skip to main content

Module viewer_devices

Module viewer_devices 

Source
Expand description

Paired devices: the viewer grants a device receives at pairing, and each agent’s “hide from paired devices” flag. See db_viewer_devices and db_agents.hide_from_devices in migrations.rs (OBJECT_SCHEMA_VERSION v43) and backend::viewer.

A device’s token is never stored, only its SHA-256 (lowercase hex), so a copy of this database opens no feed. Revoking deletes the row.

Structs§

ViewerDevice
One paired device, as Settings lists it. Never carries the token hash.

Enums§

DeviceKind
What kind of device paired (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md §5.1): a computer is let in only while this computer’s person allows computers (viewer:allowcomputers).