Expand description
An agent’s resize, move and place of a floating pane it opened, and where each such pane is, for
Pane layout (docs/specs/SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §2.2, §2.3, §2.4, §3).
srv cannot reach a window’s screen, so it asks the floating window itself, in the placefloatingpane
event, and the window answers with pane.floatplaced, the same request, wait and answer an open uses
(app_api::floater_place). The window resolves the request against the work area of its own monitor,
sets its rect without raising or activating it, and says where it went. An agent acts only on a pane
its opener record names it for (pane_openers).
Enums§
Constants§
- MEASURE_
WAIT 🔒 - How long
Pane layoutwaits for a floating window to say where it is. - NOT_
YOURS 🔒 - The refusal for a pane the caller did not open.
Functions§
- ask 🔒
- Ask the floating window
winto applyplace(or, with none, to say where it is) and wait for its answer. - check 🔒
- The action and its arguments, checked: each action takes what it changes and refuses the rest, in words that say which action to use instead. The request comes back as the floating-open shape the shared checks read.
- floater_
of 🔒 - Where
agentstands withblock_id: refused with the status and text the agent gets, or the window to ask. - handle_
pane_ 🔒place POST /api/v1/pane/place— an agent’sresize,moveorplaceof a floating pane it opened. Answers with where the window is now (placed, in CSS pixels from the work area’s top-left,clampedwhen it had to be pulled in).- is_
tacked 🔒 - Whether the person tacked the floating pane
block_id(its header’s always-on-top pin): the block’s meta says so. - placement_
refusal 🔒 - Why
agentmay not resize, move, place, dock or floatblock_id: it did not open it, or it is still a background session (kept above every display untilBrowser showshows it, which holds the caps a shown pane is under). - report_
floaters 🔒 Pane layout’s report of the floating panes agents opened: each getsfloating: trueand, from its window,rect(x,y,width,heightin CSS pixels from the work area’s top-left, anddisplay_scale) andalways_on_top(the person’s tack). A window that does not answer getsrect: nulland the reason. Panes nobody opened as a floater are left as they are.- window_
of 🔒 - The window of the floating pane
block_id: the srv window row of the workspace it is alone in.