Skip to main content

Module remote_panes

Module remote_panes 

Source
Expand description

Remote panes, the viewing side (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md, phase 2): this computer pairs with another one as a computer, to watch its agents and, when that computer’s person allows it, send to them.

  • The pairing is kept in Tower’s paired-computer store (tower::peers), marked as a computer’s: the host’s address, port and certificate fingerprint on disk, its token and this computer’s signing key (key) in the secret store.
  • host is the connection: pinned TLS, the token, and a signature on every read of a conversation and every send.
  • pane is the channel for one remote agent: its feed, kept open while any pane shows it, and its lines in memory (ring), never on disk.

Modules§

host
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.
key
This computer’s signing key for one host it paired with to watch its agents (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md §3, §5.3).
pane
The viewing srv’s channel for one remote agent (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md §4, §7): one feed and one Ring per (host, agent), however many panes and windows show it; the feed closes when the last one does. At most MAX_PANES are open at once (D13).
ring
What a viewing computer holds of a remote agent’s conversation (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md §4, D13): the host’s lines as its feed gave them, by their line number in the host’s transcript, in memory only and at most RING_BYTES. Past that the oldest lines go; scrolling up reads them again from the host (older).
wire
A remote pane as the window is told it (rpc_types::remote_panes).