Expand description
Agent-cursor overlay protocol.
computer-use overlay serve listens on <cache>/overlay.sock. The main
CLI sends one JSON line {x,y,session} after a successful positional
action. A missing helper adds the warning overlay helper not running
and does not fail the action. Tests pass a temp socket path and do not
open a window.
Structs§
- Overlay
Point - One cursor position for the helper.
- Socket
Path Guard - Restores the previous overlay socket override.
Functions§
- encode_
point - Newline-terminated JSON for one point.
- note_
point - Tell the helper about a point.
Some(warning)when it is not listening. - parse_
overlay_ line - Parse one socket line. Binary input and non-objects are rejected.
- push_
socket_ path - Send overlay points to
pathuntil the guard drops. - serve
- Run the overlay helper. Off macOS this is
unsupported. - session_
hue - Hue in
0..360for a session id. Stable for the same string.