Skip to main content

Module pane_tool

Module pane_tool 

Source
Expand description

Pane: one tool for the agent’s place in the UI and the panes it shows the user, with an action (docs/specs/SPEC_MUXAPI_TOOL_CONSOLIDATION_2026_10_15.md §4.2, slice S4). It replaces WhoAmI, Layout, OpenEditor, OpenMedia, OpenFiles, NewTab, SetActiveTab, FocusWindow and SetName; their handlers (panes.rs) run each action unchanged. Closing a pane is in Stop.

Constants§

ACTIONS 🔒
ACTS 🔒
OPEN 🔒
open’s handler for each view; the editor and media handlers take the path as file.
OPEN_LINK 🔒
open with a deep link, or a view at a place (docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md R16): srv’s guard decides it.

Functions§

call 🔒
is_link_open 🔒
Whether a Pane open is a deep link: it names link, or a view that is not a file view given a path.
route 🔒
The handler for a Pane call (as the one-action list it was picked from, for relabeled) and its arguments as that handler takes them.