Repository navigation
Labels
Description
Summary
The CLI computer-use layer changed in inference-gateway/cli#1086 and needs docs updates on two fronts.
-
New accessibility-tree tools (public surface):
GetUIElements- lists the pressable UI elements of an accessibility tree (targets:frontmost,dock,menubar). Returns a numbered element list (role, title, center, bounding box) in the same coordinate space asGetLatestFrame, so a center can be passed straight toMouseClick. Read-only; does not move the cursor.PressUIElement- presses an element by its title via the accessibility tree, without moving the mouse cursor. The reliable way to click dock items, buttons, and menu titles.
-
Fully cgo-free build (changed build/install behavior):
- The CLI now builds with
CGO_ENABLED=0on macOS, Linux, and Windows; no C toolchain or macOS SDK is required to build from source. - macOS builds select robotgo's pure-Go backend with
-tags mac; Linux and Windows need no build tags. - Application IDs returned by
GetFocusedAppand accepted byActivateAppare nowpid:<N>on every platform (previously the bundle ID on macOS). - Clipboard is text-only; image clipboard was dropped.
- On macOS the Accessibility permission must be granted for the AX tools to return elements.
- The CLI now builds with
Affected pages (proposed):
- Computer Use tools reference - add
GetUIElementsandPressUIElement, and note the macOS Accessibility permission requirement. - Build-from-source / installation - state that builds are cgo-free (
CGO_ENABLED=0) and that macOS needs-tags mac. - Any page documenting
GetFocusedApp/ActivateApp- update the application-identifier format topid:<N>.
Source PR: inference-gateway/cli#1086
Acceptance Criteria
-
GetUIElementsandPressUIElementare documented in the computer-use tools reference (targets, return shape, cursor-free behavior). - The macOS Accessibility permission requirement for the AX tools is documented.
- Build-from-source docs state the cgo-free build (
CGO_ENABLED=0) and the macOS-tags macrequirement. -
GetFocusedAppandActivateAppdocs reflect thepid:<N>application-identifier format. - The clipboard text-only behavior is noted where clipboard is documented.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Aug 24, 2026
@claude Can you work on this? check all the relevant parts in the original repo and its actuality. use /ponytail:ponytail
inference-gateway-maintainer commentedon Aug 24, 2026
Claude finished @edenreich's task in 4m 55s —— View job •
docs/issue-581-20260824-1428• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-581-20260824-1428?quick_pull=1&title=Issue%20%23581%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23581%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #584
climain)pid:<N>application identifiersActuality check - the issue is partly superseded
Checked
inference-gateway/cli@main, not just cli#1086. Three of the issue's specifics no longer hold:GetUIElements/PressUIElementno longer exist as tools. All computer-use tools were collapsed into one action-basedComputertool (accessibility,press,screenshot,cursor,move,click,double_click,triple_click,scroll,type,key) plusGetLatestFrame.GetLatestScreenshot,MouseMove,MouseClick,MouseScroll,KeyboardType,GetFocusedAppandActivateAppare gone from the codebase. Documented the actual surface instead.purego, notmac- and it is applied on macOS, Linux and Windows alike (Taskfile.ymlGOTAGS: purego,release.ymluses-tags puregofor all three). DocumentedCGO_ENABLED=0 go build -tags purego -o infer ./cmd/infer.pid:<N>now describes the accessibilitytarget, not anActivateAppargument, since that tool is gone.Also fixed drift found along the way: the config block is a separate
.infer/computer_use.yamlfile with notools:section (and nomax_width/max_height/log_captures/show_overlay;buffer_sizedefaults to 60), thedestructiveapproval level now splits observations from input actions, and Windows was missing from the display-server table.Clipboard text-only is noted in the Computer Use section - the docs had no other clipboard coverage to amend.
| Branch | PR #584
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 📦🚀