Sign desktop with the Apple Events entitlement so macOS can prompt - #1876
Merged
Conversation
Contributor
Cloudflare previewTorn down — the PR is closed. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | 9a1100d | Commit Preview URL Branch Preview URL |
Aug 30 2026, 05:25 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | 9a1100d | Aug 30 2026, 05:27 AM |
RhysSullivan
marked this pull request as ready for review
August 30, 2026 05:27
@executor-js/cli
@executor-js/config
@executor-js/execution
@executor-js/sdk
@executor-js/codemode-core
@executor-js/runtime-quickjs
@executor-js/plugin-file-secrets
@executor-js/plugin-graphql
@executor-js/plugin-keychain
@executor-js/plugin-mcp
@executor-js/plugin-onepassword
@executor-js/plugin-openapi
executor
commit: |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The desktop app and its bundled daemon are hardened-runtime signed without
com.apple.security.automation.apple-events. tccd therefore refuses to showthe Automation consent prompt at all ("Policy disallows prompt"): every
Messages call is denied silently, no row is ever created under Privacy &
Security → Automation, and there is nothing the user can enable by hand.
On the add screen this presented as "Checking…" for a full minute (the denied
Apple Event blocks until the MCP request timeout) followed by "Could not start
the plugin. Check that Codex is installed and signed in." — wrong on every
count.
entitlements.mac.plist(signs both the app and thebundled daemon) and an
NSAppleEventsUsageDescriptionviaextendInfo.answered yet — answer the permission prompt, then check again.
Verified live on a 1.6.6 install by re-signing with the new entitlements:
before, tccd logs
AccessRequestIndirect: Policy disallows prompt for sh.executor.desktop; access to kTCCServiceAppleEvents denied; after, it logsPrompting for access to indirect object Codex Computer Use by Executorandthe consent dialog appears.