Skip to content

fix(macos): unify permissions, screenshot routing, add permission popups (v0.7.13)#49

Open
AmrDab wants to merge 1 commit intomainfrom
fix/macos-permission-popups-v0.7.13
Open

fix(macos): unify permissions, screenshot routing, add permission popups (v0.7.13)#49
AmrDab wants to merge 1 commit intomainfrom
fix/macos-permission-popups-v0.7.13

Conversation

@AmrDab
Copy link
Copy Markdown
Owner

@AmrDab AmrDab commented Apr 10, 2026

Summary

  • Unified permission checking: doctor, status, and readiness all use the same canonical path (Host /statuspermission-check binary) — no more inconsistent results
  • Screenshot routing fix: captureScreen() now routes through screenshot-helper binary to avoid the ReplayKit 19% idle CPU spin bug
  • Installer hardening: build.sh self-chmods, fails on missing binaries; verify-install.js checks all 4 native binaries
  • Permission popups: New clawdcursor grant command and doctor integration that trigger macOS system permission dialogs (Accessibility + Screen Recording) automatically — no more manual System Settings navigation
  • Test script fixes: Fixed path resolution bug in test-macos-fixes.sh, added quarantine removal before app launch

Test plan

  • npx tsc --noEmit passes
  • bash native/build.sh succeeds, all 4 binaries present and signed
  • permission-check returns processPath field
  • Host /status returns matching permission values
  • clawdcursor status runs correctly
  • clawdcursor grant triggers permission request flow
  • MCP server starts with 42 tools registered
  • Grant Screen Recording permission and verify screenshot capture works

🤖 Generated with Claude Code

…, add permission popups (v0.7.13)

Unify permission checking so doctor/status/readiness all use the same
path (Host /status → permission-check binary). Route screenshots through
screenshot-helper to avoid ReplayKit CPU spin bug. Harden the installer
to fail on missing binaries. Add `clawdcursor grant` command and doctor
integration that triggers macOS system permission dialogs automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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