Skip to content

docs(cli): web terminal take-over mode and computer use - #1096

Merged
edenreich merged 3 commits into
mainfrom
docs/issue-1092-20261105-1656
Nov 5, 2026
Merged

edenreich merged 3 commits into
mainfrom
docs/issue-1092-20261105-1656

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the CLI web terminal's Screen view and its take-over mode, plus the computer-use side of it. Source material: docs/web-terminal.md, docs/computer-use.md, docs/browser-extension-protocol.md and examples/computer-use in the cli repo (read at cli 89b3364).

New page: cli-web-terminal.md

  • What infer chat --web is, the tab/PTY model, and where the page is served (binding host, port, token, TLS, and the from-other-devices config).
  • The Screen view: computer_use.screenshot.streaming_enabled, the two-second poll of /screen/?id=<session>, and that the frame comes from the workspace the session teleported to.
  • Take-over mode step by step (Take over, act, Done / Esc twice): the agent is held while the screen is held, observations keep flowing, the poll drops to 250 ms, an open Computer approval resolves as rejected, and one continue message is queued on hand-back so the next turn starts from a fresh screenshot.
  • The security rule as its own section: inputs during a take-over create no approval prompt, no judge call and no conversation entry, so a credential typed there never enters the transcript.
  • Walkthrough with examples/computer-use: /teleport desktop, Screen, browse to example.com, Take over to dismiss the cookie dialog, Done.
  • Protocol frames for integrators: read_frame/frame, POST /screen/ with screen_control and screen_input, screen_result, and the 409 Conflict for an input on a screen nobody holds.

Computer use

cli.md already carries the full Computer Use section, so per the repo convention it gets a Taking the Screen Over subsection there (summary plus the security rule) that links to the take-over flow on the new page, rather than a new cli-computer-use.md.

Judge mode

cli-judge-mode.md gains, under the RequestApproval escalation: a daemon session's worker relays the escalation to the chat attached to it, and a take-over on the Screen view is a third answer to an open Computer approval (resolved as rejected, agent held, continue message queued).

Also registered in the nav, the sidebar and public/llms.txt.

Validation

bun run format:check, bun run lint:md and bun run build all pass.

Closes #1092

Generated with Claude Code

Add a Web Terminal page covering infer chat --web, the binding that
serves it, the live Screen view and the take-over flow (Take over, act,
Done) with the computer-use example walkthrough and the screen_control /
screen_input / screen_result protocol frames. Link it from the CLI
Computer Use section with a take-over summary, and note in Judge Mode
that a take-over answers an open Computer approval and that a daemon
session relays RequestApproval to the chat attached to it.

Closes #1092

Co-authored-by: Eden Reich <[email protected]>
@inference-gateway-releaser

inference-gateway-releaser Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich

Copy link
Copy Markdown
Contributor

@claude can you move it under the CLI? because that's what it is.

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 2m 35s —— View job


Moved under the CLI

  • Read the PR diff and the repo convention in AGENTS.md
  • Fold cli-web-terminal.md into cli.md as a ## Web Terminal section
  • Rewrite the cross-links to in-page anchors (and /cli/#web-terminal from cli-judge-mode.md)
  • Drop the standalone page and its nav, sidebar and llms.txt entries
  • bun run format:check, bun run lint:md, bun run build

The web terminal is a CLI feature, so it now lives inside cli.md - which is also what the repo convention asks for (CLI features as a section of that page, not a new cli-*.md). Placed between Daemon and Computer Use, since it is served by the daemon and the Screen view needs computer use:

  • ## Web Terminal - infer chat --web, the tab/PTY model, ### Where the Web Terminal Is Served (binding host, port, token, TLS, from-other-devices config), ### The Screen View, ### Take-over Mode (with the security rule and the examples/computer-use walkthrough as subsections), ### Screen Protocol Frames.
  • The Computer Use section's old ### Taking the Screen Over subsection is gone: it duplicated the new section, so Visualizing Agent Activity keeps a two-sentence pointer to #take-over-mode plus the security rule.
  • cli-judge-mode.md keeps its escalation additions, now linking to /cli/#web-terminal and /cli/#take-over-mode.
  • .vitepress/config.ts and public/llms.txt are back to their main state - no new page to register.

Net: 152 insertions, 177 deletions against main, same content, one page fewer.

I did not re-check the content against the cli repo sources (unchanged from the previous commit, only moved), and did not run bun run preview to eyeball the rendered anchors - the build passes and the anchors match the new heading slugs.
| Branch: docs/issue-1092-20261105-1656

@edenreich
edenreich merged commit 67e71c3 into main Nov 5, 2026
4 checks passed
@edenreich
edenreich deleted the docs/issue-1092-20261105-1656 branch November 5, 2026 17:21
inference-gateway-releaser Bot added a commit that referenced this pull request Nov 8, 2026
## [0.9.24](0.9.23...0.9.24) (2026-11-08)

### 📚 Documentation

* **api:** decisions modality gate and DECISIONS_ENABLED ([#1089](#1089)) ([3616486](3616486))
* **api:** document POST /v1/decisions relay ([#1087](#1087)) ([407e169](407e169))
* **cli:** a tool batch waits for every approval ([#1113](#1113)) ([699250d](699250d))
* **cli:** ag-ui nextStepSuggestion state key ([#1102](#1102)) ([746fca2](746fca2))
* **cli:** browse a session's artifacts from the chat TUI ([#1081](#1081)) ([102d37d](102d37d))
* **cli:** compute.yaml, workspace compute and infer compute ([#1137](#1137)) ([3102bf0](3102bf0))
* **cli:** daemon workspace peer protocol and /a2a endpoint ([#1084](#1084)) ([ce5b2c2](ce5b2c2))
* **cli:** document the decisions judge backend ([#1091](#1091)) ([1176121](1176121))
* **cli:** drop protocol_version from the daemon binding handshake ([#1080](#1080)) ([99168eb](99168eb))
* **cli:** gateway tls settings for private ca and mtls ([#1073](#1073)) ([7a15982](7a15982))
* **cli:** hosted mcp servers and workspace secrets ([#1129](#1129)) ([d3f79c5](d3f79c5))
* **cli:** markdown agents pick mcp servers with mcpServers ([#1143](#1143)) ([39d024f](39d024f))
* **cli:** web terminal take-over mode and computer use ([#1096](#1096)) ([67e71c3](67e71c3)), closes [#1092](#1092)
* **configuration:** document mutual TLS for server and provider clients ([#1066](#1066)) ([e6137ef](e6137ef))
* **daemon:** /tasks, list_tasks and cancel_task frames ([#1112](#1112)) ([e1e90e8](e1e90e8))
* **daemon:** document list_shortcuts and shortcuts frame ([#1108](#1108)) ([f782738](f782738))
* **daemon:** list_files and [@path](https://github.com/path) file expansion ([#1109](#1109)) ([10caff2](10caff2))
* **daemon:** list_issues and #N issue expansion ([#1105](#1105)) ([8c13c28](8c13c28)), references [#N](https://github.com/inference-gateway/docs/issues/N)
* **daemon:** open a thread as a named agent ([#1117](#1117)) ([56f65e7](56f65e7))
* **desktop:** @ file and # issue menus in the composer ([#1120](#1120)) ([4332f5d](4332f5d))
* **desktop:** agent computers and take over ([#1098](#1098)) ([2cc1fbb](2cc1fbb))
* **desktop:** an agent chat runs as its Markdown agent ([#1116](#1116)) ([8dd875c](8dd875c))
* **desktop:** an agent's AgentMail inbox and api key ([#1127](#1127)) ([b077462](b077462))
* **desktop:** an agent's default project ([#1123](#1123)) ([29099c4](29099c4))
* **desktop:** cancelled tool calls and optimization notes ([#1121](#1121)) ([36a3357](36a3357))
* **desktop:** compute tab clusters and workspace cluster picker ([#1141](#1141)) ([1fb60c9](1fb60c9))
* **desktop:** document moving a chat to a workspace ([#1100](#1100)) ([e98906e](e98906e))
* **desktop:** document the Workspaces settings tab ([#1099](#1099)) ([e78871f](e78871f))
* **desktop:** mcps tab and an agent's mcp servers ([#1140](#1140)) ([cdc9fb3](cdc9fb3))
* **desktop:** per-component version pinning in Updates ([#1138](#1138)) ([6943898](6943898))
* **desktop:** provision a local k3s cluster in one click ([#1125](#1125)) ([920572b](920572b))
* **desktop:** secrets tab and inbox key as secret ([#1139](#1139)) ([5e032b7](5e032b7))
* **operator:** client tls crd validation rules ([#1069](#1069)) ([feb3925](feb3925))
* **operator:** document spec.pod on gateway, agent and mcp ([#1064](#1064)) ([ea1ec91](ea1ec91))
* **operator:** gateway crd mutual tls fields ([#1067](#1067)) ([740ce4a](740ce4a))
* **operator:** https probes and single tls server port ([#1065](#1065)) ([4ea36e5](4ea36e5))
* **operator:** orchestrator binding service metadata ([#1077](#1077)) ([a2c326c](a2c326c))
* **operator:** spec.pod sidecar containers and volumes ([#1075](#1075)) ([ff6e9cd](ff6e9cd))
* **typescript-adk:** document the S3 (RustFS) artifact provider rename ([#1085](#1085)) ([87f91b4](87f91b4))

### 🔧 Miscellaneous

* **deps-dev:** bump the bun group with 2 updates ([#1070](#1070)) ([bfc0117](bfc0117))
* **deps-dev:** bump the bun group with 2 updates ([#1130](#1130)) ([38d5f56](38d5f56))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.24 🎉

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 Nov 8, 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 web terminal take-over mode and computer use

1 participant