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] Document the computer_use activity and the screenRecording frame state of the AG-UI output #878
The CLI now publishes computer-use activity and screen-recording state on the standard AG-UI output stream, so desktop clients (the overlay and monitor of the #1396 epic) no longer need to reverse-engineer Computer tool arguments and RecordStart results. Implemented in inference-gateway/cli#1441 for inference-gateway/cli#1404. The CLI page docs/ag-ui-output.md is updated in that PR; the docs site should document the same contract wherever it covers the headless AG-UI output.
New activity: ACTIVITY_SNAPSHOT with activityTypecomputer_use, keyed computer_use:<toolCallId>, written just before each pointer (move, click, double_click, triple_click) or keyboard (type, key) action. content is {toolCallId, action, x, y, screenWidth, screenHeight} in screen coordinates; keyboard actions carry no x and y.
Extended state: the screenRecording state key carries active, and while a recording runs also path, region{x, y, width, height} and frameWidth/frameHeight. region is in the frame space the recorder captures.
Acceptance Criteria
The AG-UI output documentation describes the computer_use activity with its content shape and when it is written
The screenRecording state key is documented with active, path, region, frameWidth and frameHeight, with region noted as frame space
The CLI page docs/ag-ui-output.md (updated in PR 1441) is linked or mirrored wherever the docs cover the headless AG-UI output
Gather context (found the headless AG-UI coverage in cli.md, cross-checked the CLI's docs/ag-ui-output.md)
Document the computer_useACTIVITY_SNAPSHOT - key, content shape, which pointer/keyboard actions write it and when
Document the screenRecording state key - active, path, region, frameWidth/frameHeight, with region noted as frame space
Link the CLI docs/ag-ui-output.md reference from the new section
Validate: bun run lint:md, bun run format:check, bun run build all pass
Commit and open PR
What changed in cli.md
New section AG-UI computer-use activity and recording state under the headless AG-UI output docs, with a worked ACTIVITY_SNAPSHOT example (activityTypecomputer_use, messageIdcomputer_use:<toolCallId>, screen coordinates) and a STATE_DELTA example for screenRecording, plus a field table and the frame-space note.
The screen-recording section's AG-UI table now names the screenRecordingSTATE_DELTA instead of the old CUSTOM screen_recording event.
The shared event stream table gained ACTIVITY_SNAPSHOT and a state-object description for STATE_SNAPSHOT/STATE_DELTA, and lost the stale screen_recording / computer_use_action CUSTOM rows - those names no longer exist in the CLI under protocol v2.
Not done: the rest of the protocol-v2 migration of that CUSTOM-events table (agent_status, judge_verdict, background_tasks, token_usage also moved to standard AG-UI events upstream) is outside this issue's scope and worth its own pass.
| Branch | PR #883
Activity
feat(computer): publish computer-use activity and the recording frame…
edenreich commentedon Sep 30, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Sep 30, 2026
Claude finished @edenreich's task in 3m 41s —— View job •
docs/issue-878-20260930-2343• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-878-20260930-2343?quick_pull=1&title=Issue%20%23878%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23878%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented in #883
cli.md, cross-checked the CLI'sdocs/ag-ui-output.md)computer_useACTIVITY_SNAPSHOT- key,contentshape, which pointer/keyboard actions write it and whenscreenRecordingstate key -active,path,region,frameWidth/frameHeight, withregionnoted as frame spacedocs/ag-ui-output.mdreference from the new sectionbun run lint:md,bun run format:check,bun run buildall passWhat changed in
cli.mdACTIVITY_SNAPSHOTexample (activityTypecomputer_use,messageIdcomputer_use:<toolCallId>, screen coordinates) and aSTATE_DELTAexample forscreenRecording, plus a field table and the frame-space note.screenRecordingSTATE_DELTAinstead of the oldCUSTOM screen_recordingevent.ACTIVITY_SNAPSHOTand a state-object description forSTATE_SNAPSHOT/STATE_DELTA, and lost the stalescreen_recording/computer_use_actionCUSTOM rows - those names no longer exist in the CLI under protocol v2.Not done: the rest of the protocol-v2 migration of that CUSTOM-events table (
agent_status,judge_verdict,background_tasks,token_usagealso moved to standard AG-UI events upstream) is outside this issue's scope and worth its own pass.| Branch | PR #883
inference-gateway-releaser commentedon Oct 1, 2026
🎉 This issue has been resolved in version 0.9.20 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀