Expand description
Panes, tabs and windows: open, name, arrange, focus, close; the agentโs own
identity and lifecycle. Not advertised: Pane (pane_tool.rs), Stop
(stop_tool.rs) and Agents (agents_tool.rs) call these by their old
names, and RegisterDevServer passes through Pane unchanged.
Constantsยง
- OPEN_
LINK_ ๐WAIT - A place opened by its deep link (docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md R16): srvโs guard
decides, the window opens it, and the answer is the outcome (opened, reused, queued or refused, with the reason).
srv answers within 13 s (
queuedif the window hasnโt finished by then), so the wait is longer than that.
Functionsยง
- call ๐
- connection_
arg ๐ - describe_
open_ ๐outcome - The answer an agent reads: what happened, where, and for a refusal why and what would work.
- floating_
note ๐ - What a floating
opensays about where its window went (placed, orqueued), from srvโsdata. - link_of ๐
- The deep link a
Paneopen names:linkas given, or one written fromview,place(an id, or ids joined by/),paramsandanchor. srvโs parser is the judge of it; this only writes it in its one form. - placed_
note ๐ - What a floating open says about where its window went, for the agent: the rect it got, and whether it had to be pulled in; or that the window has not answered yet.
- positive_
arg ๐ - A whole-number argument of 1 or more (a line or a page); anything else counts as absent.
- run_
close_ ๐pane - run_
focus_ ๐window - run_
layout ๐ - run_
new_ ๐tab - run_
open_ ๐agent - run_
open_ ๐editor - OpenMedia is an alias of OpenEditor since the Media pane was folded into the Editor: the same open, with the tab following newer files in the folder. SPEC_EDITOR_REVAMP_UNIFIED_VIEWERS_2026_10_15.md ยง4.11.
- run_
open_ ๐files - A Files pane on a folder, optionally with entries selected. Navigation only (SPEC_FILE_BROWSER_PANE_2026_10_01.md ยง8.1, ยง9: agents donโt mutate through this pane).
- run_
open_ ๐link - run_
place_ ๐pane Paneresize, move and place: a floating pane this agent opened, set to a size, a place or both. srv checks that it is the agentโs own and asks the paneโs window, which answers with where it went.- run_
quit_ ๐self - run_
register_ ๐dev_ server - run_
rename_ ๐file renamewith targetfile: srv renames the file or folder in its folder, as the Files pane and an Editor tab do, so every Editor tab open on it follows (a rename in the agentโs own shell leaves them on the old path). A refusal is srvโs own sentence.- run_
set_ ๐active_ tab - run_
set_ ๐name - run_
who_ ๐am_ i - viewer_
args ๐ - The
connectionan Open tool was given: an SSH host or WSL name, trimmed;Nonefor absent, empty or โlocalโ (this machine). An editor openโs viewer and where in the file to land (a text line, a hex byte offset, a PDF page); srv checks the viewer and ignores a position the viewer has no use for.