Skip to main content

Module http_viewer_computers

Module http_viewer_computers 

Source
Expand description

Another computer as a paired device (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md §5.1): it pairs on the same listener as a phone, as device_kind: "computer", and is let in only while this computer’s person allows computers (viewer:allowcomputers, off by default, a setting only the person changes). While it is off a computer can’t pair, a paired one is refused at every route, and a feed it has open ends at its next event or heartbeat. Phones are not affected.

Constants§

COMPUTERS_OFF 🔒
What a refused computer is told, as reason.
NOT_FOR_COMPUTERS 🔒
What a computer is told when it asks for a route of this computer that isn’t an agent’s, as reason.
REMOTE_PANES_VERSION 🔒
The capability a host advertises in hello once it serves remote panes (§7, version mismatch).
SETTING_ALLOW_COMPUTERS 🔒
The setting: whether other computers may pair with this one and watch its agents.

Functions§

admit 🔒
The answer, when the paired device device_id may not have path now: a computer while computers are not allowed, or a computer asking for a route that isn’t an agent’s. A device that can’t be read is refused.
computers_allowed 🔒
Whether this computer’s person lets other computers watch its agents.
device_admitted 🔒
Whether an open feed of the paired device device_id goes on: false only for a computer once its host’s person stopped allowing computers. A device whose row is gone was revoked, and revoking closes its feeds itself, silently (revoke_impl); a read that fails now is not a reason to end a feed (the device’s next request is refused by admit if the store still can’t be read).
kind_admitted 🔒
Whether a device of kind is let in now.
open_to_computers 🔒
Whether a computer may ask for path: who this is and an agent’s list, feed, history, attachments and input. Nothing else of this computer (its terminals, processes, panes or system figures) is reachable from a remote pane (§5.3).
refuse 🔒
refuse_unsigned_open 🔒
The answer, when a read of the paired device device_id for path (a feed open, or a history page or an attachment with its query) is not signed as a computer’s must be (§3: signing::open_signed_text, by the key the computer paired with, over this computer’s certificate fingerprint, fresh, and with a nonce it hasn’t used). A phone’s open needs no signature, as before.
refused 🔒
The answer to a computer while computers are not allowed.