Skip to content

docs(cli): update computer use for Computer tool and cgo-free build - #584

Merged
edenreich merged 2 commits into
mainfrom
docs/issue-581-20260824-1428
Aug 24, 2026
Merged

edenreich merged 2 commits into
mainfrom
docs/issue-581-20260824-1428

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Rewrites the Computer Use section of cli.md against the CLI's current main, not just the state at cli#1086. Checking actuality showed the tool surface moved further than the issue describes: the individual tools (GetLatestScreenshot, MouseMove, MouseClick, MouseScroll, KeyboardType, GetFocusedApp, ActivateApp, and the interim GetUIElements/PressUIElement) no longer exist - they are now actions on a single Computer tool, alongside GetLatestFrame.

Changes:

  • Computer Use Tools: documents Computer and its actions (accessibility, press, screenshot, cursor, move, click, double_click, triple_click, scroll, type, key) plus GetLatestFrame. Covers targets (frontmost, dock, menubar, pid:<N>, app:<name>), the shared coordinate space, and the cursor-free behavior of press.
  • macOS Accessibility permission requirement documented in the tools section and in troubleshooting, including the screenshot-fallback behavior and the unsupported; use screenshot result on Linux/Windows.
  • Build from source: CGO_ENABLED=0 go build -tags purego -o infer ./cmd/infer. The tag upstream is purego on all three platforms (not the -tags mac named in the issue); no C toolchain or macOS SDK needed.
  • Application identifiers are pid:<N> on every platform; the removal of GetFocusedApp/ActivateApp and the macOS bundle-ID form is called out.
  • Clipboard noted as text-only (image clipboard dropped). The docs had no other clipboard coverage to amend.
  • Config block corrected to the real .infer/computer_use.yaml file and current fields (no tools: section, no max_width/max_height/log_captures/show_overlay; buffer_size default 60), and the destructive approval row updated to the current observation/input split.
  • Display server table gains a Windows row.

Validation: bun run lint:md, bun run format:check, bun run build - all green.

Closes #581

@inference-gateway-releaser

inference-gateway-releaser Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit cd670aa into main Aug 24, 2026
@edenreich
edenreich deleted the docs/issue-581-20260824-1428 branch August 24, 2026 14:53
inference-gateway-releaser Bot added a commit that referenced this pull request Aug 24, 2026
## [0.9.12](0.9.11...0.9.12) (2026-08-24)

### 🐛 Bug Fixes

* auto-generate footer copyright year ([#570](#570)) ([bd7a0ad](bd7a0ad))
* **ci:** install Bun in the preview teardown job ([#567](#567)) ([68aed64](68aed64))
* **ci:** remove preview deployments with the workflow token on close ([527200a](527200a))
* connect app directly to gateway in homepage diagram ([#576](#576)) ([f74823b](f74823b))

### 👷 CI

* move docs deployment and PR previews to Cloudflare Pages ([#566](#566)) ([c369b52](c369b52))
* skip preview environment creation for dependabot PRs ([#583](#583)) ([bd22f31](bd22f31))

### 📚 Documentation

* add animated architecture diagram to homepage hero ([#568](#568)) ([aa85ad4](aa85ad4))
* add computer-use approval and pause/resume IPC ([#579](#579)) ([c4a7d9a](c4a7d9a))
* add quick-start terminal to homepage hero ([#565](#565)) ([d5c55aa](d5c55aa))
* align architecture diagrams with homepage and codebase ([#575](#575)) ([c2d9ffc](c2d9ffc))
* **cli:** update computer use to Computer tool and cgo-free build ([#584](#584)) ([cd670aa](cd670aa))
* de-duplicate provider list on homepage ([#569](#569)) ([a4726ae](a4726ae))
* drop floating window, desktop app for computer use ([#580](#580)) ([85e0a73](85e0a73))
* drop redundant 'How it works' from homepage ([#571](#571)) ([79d203c](79d203c))
* give the homepage a real contribution path ([#573](#573)) ([5ddfc8a](5ddfc8a))
* simplify the homepage ADL section for newcomers ([#572](#572)) ([684a1e2](684a1e2))

### 🔧 Miscellaneous

* **deps-dev:** bump mermaid from 11.16.1 to 11.17.0 in the bun group ([#582](#582)) ([bb85ea9](bb85ea9))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.12 🎉

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 Aug 24, 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 cgo-free computer-use build and accessibility-tree tools

1 participant