Skip to main content

Module host

Module host 

Source
Expand description

The viewing side’s connection to a host it paired with (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md §3): TLS pinned to the host’s certificate, the pairing’s token on every request, and this computer’s signature on every read of a conversation (a feed open, a history page) and every send.

Structs§

Hello
What a host says about itself and this computer.
Host
One paired host, ready to ask.

Enums§

Refusal
Why the host did not give what was asked.

Constants§

REMOTE_PANES_VERSION
The hello capability a host needs to serve remote panes.

Functions§

clean_version
A version the other computer reported, kept only when it reads as one (digits, letters, dots, dashes, plus): its text goes into a sentence of this computer’s, so nothing else may pass.
newer_text
The one sentence for a computer on a newer remote-pane protocol: which version it runs when it said, and that this computer updates to it. This computer cannot read what it shows, so the fix is on this side.
outdated_text
The one sentence for a computer that is too old for what (words like “take messages from here”): which version it runs when it said, and the version of this computer to update it to.
own_version
The version of this computer’s AgentMux: the one to update an older computer to.
pair
Pairs with the host the link names, as device_name, to watch its agents: a new signing key, whose public half the host pins.