Expand description
An agent’s dock and float of a pane it opened (docs/specs/SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md
§2.2, §3): a floating pane goes back into a tab, a docked one gets a window of its own. Both run the tear-off
and redock the person’s drag runs (service::tear_off), so the pane, its block id and everything that finds it
by that id (the Browser* tools, the opener record) are unchanged by the move. Only a pane the caller opened.
Functions§
- dock 🔒
dock: a floating pane the caller opened goes back into the caller’s own tab, beside the caller’s pane on the sidesplitnames, or where it was torn from when that place can still be found. The window closes with its last pane.- dock_
all 🔒 - A Stop of the agent
agent_uid: each floating pane it opened is docked into the tabhome_block(its own pane) is in, where it was torn from when that place can still be found. Nothing is closed. Returns how many were docked. - float 🔒
float: a docked pane the caller opened gets a window of its own, placed as an open’sfloatingplaces one (the same size, spot, x and y; none gives the default, a browser’s 1040 x 760 flush right).- float_
for_ 🔒handoff - A browser handoff that asked for
floating: true: the pane the person is asked to work in gets a window of its own first, at a browser’s default size and place (docs/specs/SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §4, choice 1, opt in: the page is made again in the new window, so it reloads).Nonewhen the agent did not ask; else{ "floated": true }, or{ "floated": false, "why": ... }when the pane stays where it is (it is not the caller’s, the cap of four, the rate limit, a popup window, a pane already waiting on the person): the handoff goes on either way and the banner shows there. - float_
pane 🔒 - Float the docked pane
target, whichagentopened: the answer of afloatcall, or the status and text it is refused with. A browser’s page is made again in the new window, so it reloads at its address. - home_of 🔒
- The tab and workspace a block is in now.
- redock_
into 🔒 - Redock the floating pane
target(insrc, a tab and its workspace) intotgt: besidebeside’s pane on its side code, or, with none, where it was torn from when that place can still be found. The pane is no floater after. - refuse 🔒
- service_
call 🔒 - split_
code 🔒 - The redock’s direction code for a side of the caller’s pane (
layout_helpers::queue_target_layout_split).