Expand description
Where a pane an agent opens goes when the agent does not say: a tab of its own pane group.
An agent that opens a pane (an Editor, Files or widget pane) and names no placement gets a new tab in the pane group
of the pane it opened last, or in its own pane’s group when it has none open there. A Browser is different: the first
one an agent drives gets a pane of its own (a split below the agent’s pane), and each later one is a new tab of the
newest browser pane the agent opened that is still open in its own window tab. An agent gets a split only when it
asks for one (split), a floating window only when it asks for one (floating), and a tab of the person’s other
panes, of another agent’s browser or of another window tab never: the group is looked for in the agent’s own tab
only, among panes the agent opened.
Constants§
- BROWSER_
FIRST_ 🔒SPLIT - Where an agent’s first browser goes: below the agent’s own pane, which gives up half of its space (
down:half, seeresolve_placement).
Functions§
- apply 🔒
- Make
cmdopen as a tab of the agent’s own pane group when it names no place, for an agent’s open (by_agent; a person’s own shell keeps its splits).agentis the opener, known by its signed identity (none for a container’s own route, which has no history to look at); the agent’s own pane is the one the request names as its reference. - browser_
target 🔒 - The browser pane
agent’s next browser stacks onto: the newest browser pane it opened that is still in a pane of the tab of its own paneown.Nonefor the agent’s first browser, and after its browsers were closed or moved to another tab: the next one is a first again.openedis the agent’s docked panes, newest first. - is_
browser 🔒 - Whether
block_idis a browser pane. - laid_
out 🔒 - The panes the layout of tab
tab_idholds: a block made with no placement is in the tab but in no pane. - names_
where 🔒 - Whether
cmdsays where the pane goes: a split, a floating window, a pane to stack onto, no placement at all, or a tab of its own. - target_
for 🔒 - The pane
agentstacks its next pane onto: the newest pane it opened that is still there, docked, in a pane of the tab of its own paneown; elseown.openedis the agent’s docked panes, newest first.