Skip to content

docs: document computer_use activity and recording state - #883

Merged
edenreich merged 3 commits into
mainfrom
docs/issue-878-20260930-2343
Oct 1, 2026
Merged

edenreich merged 3 commits into
mainfrom
docs/issue-878-20260930-2343

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the computer-use activity and the screen-recording state that the CLI now publishes on the standard AG-UI output stream, so desktop clients read them from standard events instead of reverse-engineering Computer tool arguments and RecordStart results.

  • New cli.md section AG-UI computer-use activity and recording state: the ACTIVITY_SNAPSHOT with activityType computer_use keyed computer_use:<toolCallId>, its content shape (toolCallId, action, x, y, screenWidth, screenHeight), which pointer and keyboard actions write it and when, plus the screenRecording state key with active, path, region and frameWidth/frameHeight, noting that region and the frame dimensions are in the frame space the recorder captures. Links the CLI's docs/ag-ui-output.md reference.
  • Screen-recording section: the AG-UI event for a recording start/stop is now the screenRecording STATE_DELTA with its full field set, not a CUSTOM screen_recording event.
  • Shared event stream table: STATE_SNAPSHOT/STATE_DELTA now describes the whole run state object, ACTIVITY_SNAPSHOT is listed with its activity types, and the stale screen_recording / computer_use_action CUSTOM rows are dropped since those events no longer exist in the CLI.

Validated with bun run lint:md, bun run format:check and bun run build.

Closes #878

@inference-gateway-releaser

inference-gateway-releaser Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich

Copy link
Copy Markdown
Contributor

@claude CI is failing - can you fix this?

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 1m 43s —— View job


CI fixed

  • Find the failing CI run
  • Read the job log
  • Fix and validate locally
  • Commit

Cause: not this PR's content. The "Docs drift" job regenerates the GENERATED:* regions from the upstream inference-gateway/schemas OpenAPI and fails if they differ from what's committed. Upstream changed the Z-AI base URL from https://api.z.ai/api/paas/v4 to https://api.z.ai/api/coding/paas/v4, so the committed supported-providers.md and configuration.md regions were stale.

Fix (commit cb11cef):

  • Regenerated supported-providers.md and configuration.md from the current schema.
  • Updated scripts/__fixtures__/openapi.sample.yaml with the new Z-AI URL, since the generator regression tests compare fixture output byte-for-byte against those files.

Validation: bun test 12 pass / 0 fail, bun run lint:md, bun run format:check, bun run build all clean. cli.md is untouched - the documentation changes under review are unchanged.
| Branch: docs/issue-878-20260930-2343

@edenreich
edenreich merged commit d3936eb into main Oct 1, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-878-20260930-2343 branch October 1, 2026 12:21
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 1, 2026
## [0.9.20](0.9.19...0.9.20) (2026-10-01)

### 📚 Documentation

* align adl card and capabilities with a2a v1.0.1 ([#889](#889)) ([4ea33ce](4ea33ce))
* centralize daemon logging in the daemon log ([#875](#875)) ([ff5e9af](ff5e9af))
* desktop avatars, text to video and avatar clips ([#887](#887)) ([1737563](1737563))
* document chat job list scroll window ([#893](#893)) ([6998335](6998335))
* document computer_use activity and recording state ([#883](#883)) ([d3936eb](d3936eb))
* document per-project artifacts route in panel ([#880](#880)) ([3666a65](3666a65))
* document the browser_extension_status frame ([#882](#882)) ([5f699e8](5f699e8))
* note adk cards still use pre-1.0.1 shape ([#891](#891)) ([e123f58](e123f58))
* opentask ffmpeg via infer binaries commands ([#886](#886)) ([20e69f1](20e69f1))
* subagent done signal and idle auto-close ([#874](#874)) ([febc3f9](febc3f9))

### 🔧 Miscellaneous

* **deps:** bump infer CLI v0.218.0 -> v0.221.1 ([#884](#884)) ([a702d6a](a702d6a))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.20 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document the computer_use activity and the screenRecording frame state of the AG-UI output

1 participant