Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
Adds native macOS computer use to Mothership behind the global
mothership-computer-usefeature flag, disabled by default. An opted-in desktop can inspect app accessibility trees and window screenshots, then interact with approved apps through the signed native helper. The desktop UI exposes permissions, app approvals, current activity, and immediate Stop.Type of Change
Testing
Sim Computer Use Test.appmust complete its bridge-to-native screenshot check after macOS grants the parent app Accessibility and Screen Recording. Nested-helper grants alone do not cover that identity.Review authorization claims, late-response cancellation, snapshot ownership, and account cleanup across this PR and its companion. macOS 14+ only; coordinate input requires explicit foreground activation. These checks do not establish compatibility with every Mac app or full Codex parity.
Checklist
Screenshots/Videos
Before: no desktop Computer Use settings or activity strip. After: a settings toggle, macOS permission status/actions, approved-app controls, and an active-action strip with Stop and the registered keyboard shortcut. These source UI states were visually checked locally; live native fixture images and trial reports are committed in the companion under
worker/tools/bench/data/computer-use/.Companion PR
Companion: https://github.com/simstudioai/mothership/pull/520