Expand description
The computer_act batch: what an agent sends, and the typed actions computerd runs.
Structs§
- ActReply
- Reply to
POST /sessions/{id}/act. - ActRequest
- Body of
POST /sessions/{id}/act. - Action
Error - Why a batch was refused. The text tells the agent what to fix.
- Point
- A position on the screen, in pixels from the top left corner.
- RawAction
- An action as the agent writes it. Which fields apply depends on
kind.
Enums§
- Action
- One validated action. Double clicks are already split into two clicks.
- Button
- Mouse button.
- Direction
- Scroll direction.
- Kind
- Kind of a
RawAction.
Constants§
- DEFAULT_
SCROLL_ AMOUNT - Wheel steps per scroll action when it gives none.
- DEFAULT_
SETTLE_ MS - Settle time before the closing screenshot when the batch gives none, in milliseconds.
- DEFAULT_
WAIT_ MS - Wait length when an action gives none, in milliseconds.
- KEYMAP_
SETTLE - Time applications get to reread the keyboard after a temporary key binding changes.
- MAX_
ACTIONS - Most actions one batch may hold, counting each double click as two clicks.
- MAX_
SCROLL_ AMOUNT - Most wheel steps one scroll action may take.
- MAX_
TYPE_ CHARS - Most characters all
typeactions of one batch may hold together. - MAX_
WAIT_ MS - Longest single wait, and longest settle time, in milliseconds.