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§
- Open
View 🔒Req - The route’s body: the computer as
Agents listnames it (name, orname/channelwhen 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
hostnames: 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
agenton the paired computerpeer_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
agentof the paired computercomputer: the same the Swarm’s click gives it (open-remote-pane.ts), and nothing that says driving.provideris 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.