Pause a machine
Pausing a machine stops everything agents do on it at once. Anyone may pause; only a person at the machine may resume.
When to use this
An agent does something you did not expect, you hand the machine to someone, or you want to be sure nothing acts while you are away. To end one agent’s access everywhere instead, revoke it.
Pause
Any one of these:
- the menu bar: CMDOP → Pause agents;
- the CMDOP window: the Pause switch at the bottom;
- a terminal on the machine:
cmdop control control.pause; - by hand: create an empty file named
control.pausein the machine’s config folder.
At once:
- every tool call returns
paused, for every agent and the page; - every running task is stopped;
- an agent controlling the screen loses control, and held keys and buttons are released.
Resume
Resuming raises what agents may do again, so it needs you at the machine:
- Open the CMDOP app on the machine (the menu bar shows “Paused: open cmdop to resume”).
- Turn the Pause switch off and confirm with Touch ID or your password.
On a machine without the app, delete control.pause from the config folder
(~/.config/cmdop on Linux). A script, an agent or the page cannot resume:
cmdop control control.resume from a terminal returns needs_presence and exits with code 3.
What else needs a person at the machine
Changes that raise what agents may do on this machine, made through the CMDOP app, ask for Touch ID
or your password: resuming, and pairing a client. A call that needs it and has no person behind it
returns needs_presence; an agent stops and asks you.
Check
cmdop control control.stateprints "paused": true while the machine is paused, and false after you resume.