Repository navigation
feat(computer-use): improve approval monitor and add auto mode - #142
Merged
Merged
Conversation
edenreich
marked this pull request as ready for review
August 23, 2026 01:50
edenreich
marked this pull request as draft
August 23, 2026 02:03
edenreich
marked this pull request as ready for review
August 23, 2026 02:21
edenreich
added a commit
to inference-gateway/cli
that referenced
this pull request
Aug 23, 2026
## Summary Fix macOS accessibility target resolution when AX does not expose a focused application or when callers use a display name that differs from the CoreGraphics window-owner name. ## Changes - Fall back from `AXFocusedApplication` to the PID of the frontmost layer-0 application window - Match equivalent display and process names case-insensitively while ignoring separators such as spaces and hyphens - Keep Dock, menu bar, and elevated overlay windows out of the frontmost fallback - Add regression coverage for exact, case-insensitive, display/bundle, distinct-app, and invalid-name cases ## Testing - `go test ./internal/computer/infrastructure/accessibility` - `task test` - `task precommit:run` - Native helper: normalized `app:i Term 2` returned 19 elements - Native helper: `frontmost` returned 14 elements for foreground iTerm2 ## Related - inference-gateway/desktop#142
Contributor
|
🎉 This PR is included in version 0.20.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Improve the computer-use approval experience with a wider, translucent top-center monitor, reliable accessibility behavior, and a persistent Auto mode toggle for approval-free runs.
Changes
INFER_SUBAGENT_AGENT_MODE=autofor new Auto mode sessions and keep--require-approvalfor manual modeapp:inference-gateway-desktop, and retry once after app launch before falling back to screenshots