Expand description
The blackout of a UI window capture of an AgentMux window
(docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md §7, G5).
Each pane or panel showing private or secret content (the Vault, the Audit, Memory, a browser pane in the
person’s own profile, and the panels listed in the app’s capture-mask.ts) is blacked out by its rectangle, and
the rest of the window is captured. The rectangles and the frame come from the same instant: srv asks every window
for its rectangles just before the frame (begin) and just after (end); the capture is refused if the window
did not answer, if its layout moved or changed in between, if it says it can’t give them, or if the frame’s size
or scale differs from the one they were measured for. Nothing is ever blacked out from rectangles of another
moment.
Structs§
- Mask
Rect 🔒 - A rectangle in the window’s viewport, in CSS pixels.
- Window
Mask 🔒 - One window’s answer, as srv’s
POST /api/v1/ui/capture_maskgives it.
Constants§
- INSTEAD 🔒
- What to do instead, said with every refusal.
- IN_
CONTAINER 🔒 - The refusal for a container agent, which has no access to the host’s screen.
- OTHER_
INSTANCE 🔒 - The refusal for an AgentMux window of another AgentMux, which this one can’t ask for its rectangles.
- UNSANDBOXED_
SUFFIX 🔒 - What the host adds to a window’s title on Linux when it runs without the sandbox
(
crates/cef/src/client/display.rs); the page’s own title, which the window reports, does not have it.
Functions§
- after 🔒
- Whether the frame (
width×heightdevice pixels) may be blacked out bybegin’s rectangles, given every window’s answer toend. - before 🔒
- The answer for the window titled
title, out of every window’s answer tobegin, if it may be captured now. - black_
out 🔒 - Black out each of
mask’s rectangles inimage, a pixel wider on every side so no edge of the content shows. - same_
title 🔒 - Whether the operating system’s
titlefor a window is the page titlepagethe window reported. - unique_
title 🔒 - Refuses when more than one of this AgentMux’s own windows has the target’s title (
same_titlecounts the windows on screen, the target included), whichever of them answered: an answer is found by its title.