docs(cua-driver-rs): sell --autostart's TCC benefit on macOS (grant once) - #1766
Conversation
…nce) The install output + autostart docs pitched `--autostart` as bare "auto-start (optional)". On macOS it's more than convenience: a launchd-started daemon is attributed to com.trycua.driver (not the terminal that would otherwise spawn it), so permission prompts say "Cua Driver", you grant Accessibility + Screen Recording ONCE, and the grants persist — every `cua-driver call`/`mcp` then routes through the correctly-attributed always-on daemon. This is the clean fix for the terminal-attribution problem (#1491, PRs #1758–#1765). Changes: - install-local-rust.sh: macOS hint now "recommended on macOS" and explains the TCC attribution win; the --autostart --help text too. - autostart.mdx: new callout on the macOS TCC benefit; fixed the stale plist name (com.trycua.cua-driver-rs.plist → com.trycua.cua-driver.plist, matching what the script actually writes) and pointed at the new `cua-driver permissions status|grant` verbs. Kept opt-in (a standing computer-control daemon is a deliberate choice). Linux/systemd messaging unchanged — TCC is macOS-only.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdated macOS autostart documentation and installation script help text to clarify that LaunchAgent-based autostart attributes the daemon to ChangesmacOS autostart TCC attribution guidance
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Install output + autostart docs pitched
--autostartas bare "auto-start (optional)". On macOS it's the clean fix for the terminal-attribution problem we just chased through #1758–#1765: a launchd-started daemon is attributed tocom.trycua.driver, so prompts say "Cua Driver", you grant once, and grants persist — everycall/mcproutes through the correctly-attributed always-on daemon.install-local-rust.sh: macOS hint now "recommended on macOS" + explains the TCC win;--helptoo.autostart.mdx: new macOS-TCC-benefit callout; fixed stale plist name (com.trycua.cua-driver-rs.plist→com.trycua.cua-driver.plist); points atcua-driver permissions status|grant.Kept opt-in (a standing computer-control daemon is a deliberate choice). Linux unchanged (no TCC).
🤖 Generated with Claude Code
Summary by CodeRabbit