Fix Computer Use permissions, passive screenshots and Windows compatibility - #469
Merged
Wang-Daoji merged 2 commits intoSep 18, 2026
Conversation
memory-lee
requested review from
Wang-Daoji,
ZongYue99 and
wustzdy
as code owners
September 17, 2026 11:10
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
Fix the remaining Computer Use onboarding and screenshot issues, and prevent unsupported Computer History entry points on Windows. This branch starts from
computer_useand includes only this round of fixes; it does not bring in the unrelated release-branch changes.get_screen_statefor passive display observation and guide the agent to use it for screen-reading requests, so it does not open Finder/Recents as a substitute.agent_chatmodel asTEXT_IMAGE, passing screenshots directly while preserving the existing fallback for explicit image-input rejection.The patched macOS runtime is built during development and DMG packaging from a pinned MIT-licensed source snapshot. Source preparation is repeatable and preserves compilation caches without retaining old patch-added files. Native CI builds and tests that runtime. Windows/Linux Computer Use packaging remains unchanged.
Validation
Validated on the clean
computer_use-based PR worktree:git diff --checkpassed.The user previously confirmed the repaired development authorization flow and a subsequent screen-reading request. Automated native tests use fixtures; they do not establish signed-installer acceptance on another machine. Windows desktop acceptance and a measured live foreground/Finder-window invariance check remain unverified.
Scope
The screenshot/Base64 token-estimation display issue is intentionally deferred. No global token-counting change, release-version change or unrelated release-branch work is included.
Test organization
App/frontend/desktop/src/app/tests/.tests/open-computer-use/, update source preparation and CI path filters, and document the new location.