voltage_run
Start a playbook to delegate rapid keyboard and mouse actions to local models. Use dry_run to test states and transitions without injecting input.
Instructions
Start a Playbook. Returns immediately with a run_id; poll voltage_status.
dry_run overrides the Playbook's policy. Leave it unset for the Playbook's own
setting, which defaults to true. A dry run does everything except inject input, so
it is the correct way to check that your states, guards and transitions behave before
letting it touch the machine.
target_period_s is the loop period. 0.5 is a good default; lower it for games,
raise it for slow UI.
Stop a run with voltage_stop, adjust it live with voltage_steer. The run also stops on its own budget, on any physical keyboard or mouse input from the user, and on the panic file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| playbook | Yes | ||
| keep_frames | No | ||
| target_period_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||