hex/src/parakeet
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax Raad ee1070649d macos 27.3: restart once per grant, explain a refused paste, and guard captures
Review fixes for the 27.3 keystroke grant.

- Restart Hex was a dead end: every stale Accessibility row on 27.3 offered
  it, so a grant that never landed looped between "Needs a restart" and a
  launch, and the tour row had no way back to the guide. The one restart is
  now recorded in onboarding-accessibility-restart (cleared when
  Accessibility reads Ready, and by a setup reset or identity change). After
  that restart a stale row falls back to the existing "Still grey? Fix it"
  reset-and-prompt flow, in the tour and in Settings > Permissions needed.
- A refused paste's HUD notice was gated by Labs > Failure notices (off by
  default), so the one failure that needs a person to act showed nothing. Its
  message is now a shared constant that the HUD explains regardless of the
  lab, through tr() with the six main languages and the four extra ones.
- Captures take the same check before touching the clipboard: Paster's
  paste_capture and the capture hand-off. The capture helper's Allow asks
  with CGRequestPostEventAccess so 27.3 can list Hex.
- The keystroke check runs before Labs > Return to app brings another app
  forward, so a refusal doesn't switch apps for a paste that cannot land.
- CGRequestPostEventAccess is a safe fn; request_post_event_access returns
  () and logs its answer instead of returning a bool no caller could use.
  The reset flow's request stays: after the restart fallback it is reachable
  again.

Docs now say what the person sees, which tests cover it, and that the
refusal itself has not run on a 27.3 device.
2026-11-24 15:48:07 -05:00
..
ordered.rs fix(transcription): explicit state machines for engine slot, ModelSwap, and OrderedOutputs (#2488) 2026-11-22 22:57:22 -08:00
output_history.rs macos 27.3: restart once per grant, explain a refused paste, and guard captures 2026-11-24 15:48:07 -05:00
words.rs fix(transcription): explicit state machines for engine slot, ModelSwap, and OrderedOutputs (#2488) 2026-11-22 22:57:22 -08:00