You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,14 @@ It is designed around three defaults:
17
17
18
18
Use `macos-cua doctor` to inspect current readiness.
19
19
20
+
Use `macos-cua onboard` to trigger the native prompts, open the relevant System Settings panes, and guide a human through granting both permissions. In a tty session it waits by default; in non-tty mode it triggers the flow and returns immediately unless you pass `--wait`. When Screen Recording appears to have been granted but the process has not yet been restarted, `onboard` surfaces a targeted restart hint rather than a generic enable instruction. Add `--json` for structured output including per-permission `granted`, `waited`, and `likelyNeedsRestart` fields.
- If no usable frontmost window is available, default coordinate-taking commands fall back to screen coordinates and report that fallback in output.
67
73
-`window list` is AX-first when Accessibility is available, then falls back to CoreGraphics window discovery.
68
74
-`window list`, `window frontmost`, and `state.frontmostWindow.bounds` remain screen-global diagnostics; they are not window-local action coordinates.
75
+
- Missing permission errors point back to `macos-cua onboard` so agent and human flows land on the same recovery path.
69
76
- Browser DOM/ref actions are intentionally out of scope for this repo.
70
77
-`record enable` starts a persistent session under `~/Library/Application Support/macos-cua/records/`; each subsequent command appends an action log entry, a full-screen timeline screenshot, failure-only snapshots, and a replayable `replay.sh` trace until `record disable`.
71
78
- A shareable VS Code debug example lives at `.vscode/launch.example.json`; local `.vscode/launch.json` stays ignored.
0 commit comments