You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Headless computer-use control surface (computer_use.approval + pause/resume IPC) #577
inference-gateway/cli#1075 (resolves inference-gateway/cli#1074, ships in the next cli release after v0.174.0) adds a headless computer-use control surface for host UIs such as the desktop app. None of it is documented yet.
What shipped:
A computer_use.approval knob in computer_use.yaml with three levels: never (default, current bypass behavior), destructive (MouseClick and ActivateApp require approval), always (every computer-use tool requires approval). Unknown values are rejected at config load and fail closed in the approval policy. Env override: INFER_COMPUTER_USE_APPROVAL.
A stdin IPC control message for infer headless: {"type":"computer_use_control","action":"pause|resume"}. Works with the json, json-pretty, and ag-ui formats, with or without --require-approval, following the same IPC pattern as approval_response.
Pause cancels the in-flight request and emits a computer_use_paused event; resume restarts the run with a hidden "Please continue from where you left off." message and emits computer_use_resumed. The JSON renderer emits these as JSON lines with the session request_id; the ag-ui renderer emits matching CUSTOM events.
Suggested content:
Add computer_use.approval (values, default, fail-closed behavior, env override) to the configuration reference page for computer_use.yaml.
Document the computer_use_control stdin message and the computer_use_paused / computer_use_resumed output events on the headless/agent-mode page, next to the existing approval_response IPC docs.
Include a runnable example, e.g. piping a pause and resume line into infer headless --format json "..." and the resulting event lines.
Acceptance Criteria
The configuration reference documents computer_use.approval with all three levels, the default, the fail-closed behavior for unknown values, and INFER_COMPUTER_USE_APPROVAL.
The headless docs describe the computer_use_control stdin message and the pause/resume semantics (cancel on pause, hidden continue message on resume).
The headless docs list the computer_use_paused / computer_use_resumed events for both the JSON and ag-ui formats, with an example.
Document computer_use_paused / computer_use_resumed events (json + ag-ui) with example
Validate (lint:md, format:check, build, anchors checked against built HTML)
Commit + open PR
All in cli.md, one commit:
### Computer Use Approval (cli.md, after the Computer Use Configuration block) - three levels, never default, INFER_COMPUTER_USE_APPROVAL override, fail-closed on unknown values (rejected at config load, treated as always in the policy). Added approval: never to the YAML reference block.
#### Pause and resume control (IPC) (under Headless Agent Stream Output, next to the approval IPC docs) - the computer_use_control stdin message, cancel-on-pause, hidden "Please continue from where you left off." on resume, resume clearing the cancelled run's error, works across json/json-pretty/ag-ui with or without --require-approval, malformed/unknown lines ignored.
Events - computer_use_paused / computer_use_resumed added to the stream event types table, shown as JSON lines and as ag-ui CUSTOM events, plus a runnable pipe-pause-then-resume example with sample output.
Not done: no separate computer_use.yaml page exists in this repo - the computer-use config reference lives in cli.md, so that is where the knob is documented.
Activity
edenreich commentedon Aug 19, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 19, 2026
Claude finished @edenreich's task in 3m 38s —— View job •
docs/issue-577-20260819-1706• Create PR ➔Done - PR #579
computer_use.approvalin the config referencecomputer_use_controlstdin IPC + pause/resume semanticscomputer_use_paused/computer_use_resumedevents (json + ag-ui) with examplelint:md,format:check,build, anchors checked against built HTML)All in
cli.md, one commit:### Computer Use Approval(cli.md, after the Computer Use Configuration block) - three levels,neverdefault,INFER_COMPUTER_USE_APPROVALoverride, fail-closed on unknown values (rejected at config load, treated asalwaysin the policy). Addedapproval: neverto the YAML reference block.#### Pause and resume control (IPC)(under Headless Agent Stream Output, next to the approval IPC docs) - thecomputer_use_controlstdin message, cancel-on-pause, hidden "Please continue from where you left off." on resume, resume clearing the cancelled run's error, works acrossjson/json-pretty/ag-uiwith or without--require-approval, malformed/unknown lines ignored.computer_use_paused/computer_use_resumedadded to the stream event types table, shown as JSON lines and as ag-uiCUSTOMevents, plus a runnable pipe-pause-then-resume example with sample output.Not done: no separate
computer_use.yamlpage exists in this repo - the computer-use config reference lives incli.md, so that is where the knob is documented.| Branch
inference-gateway-releaser commentedon Aug 24, 2026
🎉 This issue has been resolved in version 0.9.12 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀