Skip to main content

Module panes

Module panes 

Source
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 (queued if 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 open says about where its window went (placed, or queued), from srvโ€™s data.
link_of ๐Ÿ”’
The deep link a Pane open names: link as given, or one written from view, place (an id, or ids joined by /), params and anchor. 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 ๐Ÿ”’
Pane resize, 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 ๐Ÿ”’
rename with target file: 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 connection an Open tool was given: an SSH host or WSL name, trimmed; None for 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.