Expand description
UI automation and window capture.
Functionsยง
- call ๐
- capture_
blacked_ ๐out - The capture, with an AgentMux windowโs private and secret panes blacked out (
window_blackout): srv asks the windows for their rectangles just before the frame and just after, and anything that doesnโt match refuses it. - capture_
masks ๐ - Every windowโs answer to one ask of srvโs
capture_mask. - container_
media_ ๐dir - Where a container agentโs copies of screenshots and recordings go: its own temp folder.
- post_
shortcuts ๐ - POST to
/api/v1/ui/shortcuts/{route}and return the responseโsdata. - prune_
old_ ๐media - Delete the PNGs and GIFs in
dirthat are older than the capture retention. Best effort. - record_
text ๐ - What
UIRecordtells the agent. A finished recording is on srvโs machine; a container agent gets its own copy (srv sends the bytes when asked) and the message names that path instead of the hostโs. - region_
arg ๐ - The
regionargument of a screenshot: x, y, width and height in CSS pixels, or none. - run_
capture_ ๐window - run_
discover_ ๐windows - run_
list_ ๐shortcuts - run_
press_ ๐keys - run_
reset_ ๐shortcuts reset: one command, or every command, back on its defaults.- run_
run_ ๐command - run_
set_ ๐shortcut bind: give a command exactly these keys. The page refuses what an agent may not do and says what is in the way.- run_
ui_ ๐click - run_
ui_ ๐query - run_
ui_ ๐record - run_
ui_ ๐screenshot - save_
local_ ๐copy - Write
base64(a file srv sent inline) to a new<dir>/<id>.<ext>and return its path. Files older than an hour that were written here go too, so the folder does not only grow. - scale_
arg ๐ - The
scaleargument of a screenshot: device pixels per CSS pixel, or none. Not a number is a mistake, not a default. - screenshot_
text ๐ - What
UIScreenshottells the agent. srv wrote the PNG on its own machine, so a container agent, which cannot read that path, gets its own copy in the container (from the bytes srv sent along) and is told that path instead: the one its file tools read andfileson Tasks and Message can pass on. - shortcut_
edit_ ๐said - What a change to the personโs shortcuts says: what changed, or why not and what is in the way.