Skip to content

fix(computer-use): resolve macOS file panel targets - #3987

Merged
kev1n77 merged 1 commit into
openBitFun:mainfrom
kev1n77:fmy/macos-file-panel
Nov 18, 2026
Merged

kev1n77 merged 1 commit into
openBitFun:mainfrom
kev1n77:fmy/macos-file-panel

Conversation

@kev1n77

@kev1n77 kev1n77 commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Resolve AX descendants of macOS file panels to the nearest native window, sheet or drawer when AppKit reports a proxy window ID.
  • Use the bound window and live overlay membership for semantic writes, pointer hit and focus checks, and foreground destination checks.
  • Add a disposable native NSOpenPanel regression fixture covering proxy identification, semantic Cancel, same-app sibling rejection and revocation after closing the panel or stopping control.

Type and Areas

Bug fix. Native macOS Computer Use service.

Verification

  • Focused AX dump and control-session admission unit tests passed (24).
  • node scripts/test-macos-file-panel.mjs passed on an unlocked macOS desktop. Three additional runs with the same test executable passed.
  • The native fixture exercises local macOS. Remote workspace, Remote Connect, Peer Device Mode and Detached Dispatch were outside the test coverage.

Reviewer Notes

The fixture uses the panel's search field to exercise the proxy identity across file-list layouts. Capture membership is checked live. AI-assisted implementation and verification.

Resolve AppKit proxy descendants to the nearest native window or sheet. Apply the live capture scope to semantic writes, pointer targeting and foreground checks. Exercise overlay admission, sibling rejection and revocation with a native NSOpenPanel fixture.
@kev1n77
kev1n77 merged commit a2e339c into openBitFun:main Nov 18, 2026
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant