Skip to content

fix(computer-use): separate permission request from settings - #305

Merged
Tryanks merged 1 commit into
mainfrom
fix/computer-use-permission-flow
Aug 27, 2026
Merged

fix(computer-use): separate permission request from settings#305
Tryanks merged 1 commit into
mainfrom
fix/computer-use-permission-flow

Conversation

@Tryanks

@Tryanks Tryanks commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • request native macOS consent without opening System Settings in the same click
  • turn the next explicit action into Open System Settings and recheck permissions when tcode becomes active
  • scope relaunch continuity to Screen Recording, clear denied flows, and ignore stale denied markers at startup
  • document Apple guidance and add regression coverage for the permission state machine and marker lifecycle

Testing

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test --workspace --locked

The grant handler coupled the native TCC request with an unconditional System Settings deep-link, causing both interfaces to appear for one click. Keep the first action native-only, expose settings as an explicit retry, recheck on app activation, and scope restart continuity to confirmed Screen Recording grants.
@Tryanks
Tryanks merged commit db9c666 into main Aug 27, 2026
3 checks passed
@Tryanks
Tryanks deleted the fix/computer-use-permission-flow branch August 27, 2026 13:00
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