hex/native
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax Raad ae83fa91f1 macos 27.3: require keystroke permission for paste, request it, and fail visibly
macOS 27.3 splits the old Accessibility grant into Accessibility (assistive
technologies) and System & App Protection Override (apps that control other
apps, posting ⌘V included). The Accessibility grant no longer proves Hex may
post a keystroke, so setup read Ready from AXIsProcessTrusted alone, never
asked macOS, and CGEventPost silently dropped every paste while Hex logged a
successful delivery and wrote History.

- Setup counts only the post-event preflight on 27.3+, reusing the native
  27.3 version check already used for the pane's name; below 27.3 nothing
  changes. Allow now calls CGRequestPostEventAccess so macOS can list Hex and
  post its Privacy & Security notification, during setup and in the "fix it"
  flow.
- The post-event preflight keeps its launch-time answer, so a row that stays
  untrusted after a grant reads "Needs a restart" and offers Restart Hex in
  the tour, and the Settings row does the same instead of running a tccutil
  reset that would drop the grant the person just made.
- A paste that would post a keystroke refuses before touching the clipboard
  when 27.3+ has not granted posting, with a HUD error naming System & App
  Protection Override. The shared delivery path already keeps the text for
  Paste last dictation and writes no History entry on a failed insert.

Docs note the 27.3 behavior and that no 27.3 device has verified it.
2026-11-24 15:48:07 -05:00
..
permission_guide.m macos 27.3: require keystroke permission for paste, request it, and fail visibly 2026-11-24 15:48:07 -05:00
voice_processing_guard.h Labs: voice isolation for dictation on macOS and iOS (#2425) (#2429) 2026-11-22 17:00:41 -05:00
voice_processing_guard.m Labs: voice isolation for dictation on macOS and iOS (#2425) (#2429) 2026-11-22 17:00:41 -05:00