Skip to main content

Module remote_pane_view

Module remote_pane_view 

Source
Expand description

Agents open with host and view: true (POST /api/v1/agent/open_view): puts a pane over an agent of another computer on the caller’s own window, through the same path pane.open takes for the caller (an agent’s pane goes in a tab of its own group, without the person’s focus). The pane opens watching: a block’s meta can’t turn driving on (driving is a person’s click in the pane, remote-pane-drive.ts), so an agent can put a view on its person’s screen and never drive it (docs/specs/SPEC_REMOTE_PANES_WATCH_AND_DRIVE_AN_AGENT_ON_ANOTHER_COMPUTER_2026_11_20.md §6, D4).

Only a computer this one is paired with can be shown: pairing is the person’s act (the Swarm’s pairing panel).

Structs§

OpenViewReq 🔒
The route’s body: the computer as Agents list names it (name, or name/channel when it runs several AgentMux instances) and the agent on it.

Constants§

PROVIDER_WAIT 🔒
How long the open waits for the agent’s feed to say which provider it is. A computer that is slow or away costs this much, and the pane opens anyway (it shows “reconnecting” and reads the default format until it is open).

Functions§

computer_named 🔒
The paired computer host names: its name (any case) and, when given, its channel. Several of one name are refused with what tells them apart, never guessed.
handle_agent_open_view 🔒
POST /api/v1/agent/open_view.
provider_of 🔒
The provider of agent on the paired computer peer_id, from the first snapshot of its feed, which is closed again (the pane opens its own). None when the feed said nothing in time or ended.
refused 🔒
view_meta 🔒
The block meta of a pane over agent of the paired computer computer: the same the Swarm’s click gives it (open-remote-pane.ts), and nothing that says driving. provider is the agent’s provider as its feed named it: the pane reads its transcript in that provider’s format, so a pane that didn’t know it would read a Codex or Gemini agent’s lines as Claude’s.