What version of Codex CLI is running?
Homebrew CLI: codex-cli 0.125.0
App-bundled CLI control case: codex-cli 0.125.0-alpha.3
What subscription do you have?
ChatGPT Pro
Which model were you using?
gpt-5.4-mini for the minimal codex exec probe. The same issue also occurs from an interactive CLI session.
What platform is your computer?
Darwin 25.4.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
Ghostty 1.3.1
What issue are you seeing?
Computer Use is unusable from the Homebrew-installed Codex CLI, but works from the Codex.app-bundled CLI on the same machine with the same Computer Use plugin/cache and macOS permissions.
The Homebrew CLI path fails even for the lowest-risk Computer Use call, list_apps, with:
Apple event error -10000: Sender process is not authenticated
The app-bundled CLI path succeeds for the same probe.
This appears related to #18507, but the distinct repro here is the launch/install path split:
/opt/homebrew/bin/codex fails to use Computer Use.
/Applications/Codex.app/Contents/Resources/codex succeeds.
- Same machine, same terminal, same
~/.codex config, same computer-use@openai-bundled plugin cache, and same macOS TCC permissions.
What steps can reproduce the bug?
-
Install/run Codex CLI via Homebrew so codex resolves to /opt/homebrew/bin/codex.
-
Ensure the bundled Computer Use plugin is enabled. In my case:
computer-use@openai-bundled 1.0.758
codex mcp list shows the computer-use MCP server enabled and pointing at:
~/.codex/plugins/cache/openai-bundled/computer-use/1.0.758/.../SkyComputerUseClient mcp
-
Ensure macOS permissions are granted for Computer Use. In my case:
com.openai.sky.CUAService has Accessibility permission.
com.openai.sky.CUAService has Screen Recording permission.
- The terminal app has Apple Events permission for
com.openai.sky.CUAService.
-
Run this minimal Homebrew CLI probe:
/opt/homebrew/bin/codex exec -m gpt-5.4-mini -s danger-full-access --dangerously-bypass-approvals-and-sandbox \
'Use Computer Use only to call list_apps and report whether it worked. Do not click, type, scroll, open apps, or modify anything.'
-
Observe that computer-use/list_apps starts and then fails with:
Apple event error -10000: Sender process is not authenticated
-
Run the same probe through the Codex.app-bundled CLI:
'/Applications/Codex.app/Contents/Resources/codex' exec -m gpt-5.4-mini -s danger-full-access --dangerously-bypass-approvals-and-sandbox \
'Use Computer Use only to call list_apps and report whether it worked. Do not click, type, scroll, open apps, or modify anything.'
-
Observe that computer-use/list_apps completes successfully and returns the app list.
What is the expected behavior?
The officially documented Homebrew-installed Codex CLI should be able to use the bundled Computer Use plugin when the plugin is enabled and the required macOS permissions are granted.
At minimum, the behavior should not differ this sharply between:
/opt/homebrew/bin/codex
/Applications/Codex.app/Contents/Resources/codex
If Computer Use is only supported from the Codex.app-bundled CLI/app launch context, the CLI/plugin UI should make that clear and avoid exposing a Computer Use MCP server that fails at runtime from the Homebrew CLI.
Additional information
Relevant local observations:
- Codex app version:
26.422.30944 (CFBundleVersion 2080)
- Homebrew CLI:
/opt/homebrew/bin/codex -> codex-cli 0.125.0
- App-bundled CLI:
/Applications/Codex.app/Contents/Resources/codex -> codex-cli 0.125.0-alpha.3
- Computer Use plugin:
computer-use@openai-bundled 1.0.758
- Both CLI binaries are signed by
Developer ID Application: OpenAI OpCo, LLC (2DC432GLL2).
- The Homebrew binary reports
Info.plist=not bound under codesign -dv --verbose=2.
- The Computer Use helper has Apple Events entitlement.
- The same failure occurs before targeting any specific app; it fails at
list_apps.
- Computer Use cannot target terminal apps for safety reasons, but this is separate: the failing call is
list_apps, not an attempt to automate the terminal.
Related issue/comment:
What version of Codex CLI is running?
Homebrew CLI:
codex-cli 0.125.0App-bundled CLI control case:
codex-cli 0.125.0-alpha.3What subscription do you have?
ChatGPT Pro
Which model were you using?
gpt-5.4-minifor the minimalcodex execprobe. The same issue also occurs from an interactive CLI session.What platform is your computer?
Darwin 25.4.0 arm64 armWhat terminal emulator and version are you using (if applicable)?
Ghostty
1.3.1What issue are you seeing?
Computer Use is unusable from the Homebrew-installed Codex CLI, but works from the Codex.app-bundled CLI on the same machine with the same Computer Use plugin/cache and macOS permissions.
The Homebrew CLI path fails even for the lowest-risk Computer Use call,
list_apps, with:The app-bundled CLI path succeeds for the same probe.
This appears related to #18507, but the distinct repro here is the launch/install path split:
/opt/homebrew/bin/codexfails to use Computer Use./Applications/Codex.app/Contents/Resources/codexsucceeds.~/.codexconfig, samecomputer-use@openai-bundledplugin cache, and same macOS TCC permissions.What steps can reproduce the bug?
Install/run Codex CLI via Homebrew so
codexresolves to/opt/homebrew/bin/codex.Ensure the bundled Computer Use plugin is enabled. In my case:
codex mcp listshows thecomputer-useMCP server enabled and pointing at:Ensure macOS permissions are granted for Computer Use. In my case:
com.openai.sky.CUAServicehas Accessibility permission.com.openai.sky.CUAServicehas Screen Recording permission.com.openai.sky.CUAService.Run this minimal Homebrew CLI probe:
Observe that
computer-use/list_appsstarts and then fails with:Run the same probe through the Codex.app-bundled CLI:
Observe that
computer-use/list_appscompletes successfully and returns the app list.What is the expected behavior?
The officially documented Homebrew-installed Codex CLI should be able to use the bundled Computer Use plugin when the plugin is enabled and the required macOS permissions are granted.
At minimum, the behavior should not differ this sharply between:
/opt/homebrew/bin/codex/Applications/Codex.app/Contents/Resources/codexIf Computer Use is only supported from the Codex.app-bundled CLI/app launch context, the CLI/plugin UI should make that clear and avoid exposing a Computer Use MCP server that fails at runtime from the Homebrew CLI.
Additional information
Relevant local observations:
26.422.30944(CFBundleVersion2080)/opt/homebrew/bin/codex->codex-cli 0.125.0/Applications/Codex.app/Contents/Resources/codex->codex-cli 0.125.0-alpha.3computer-use@openai-bundled1.0.758Developer ID Application: OpenAI OpCo, LLC (2DC432GLL2).Info.plist=not boundundercodesign -dv --verbose=2.list_apps.list_apps, not an attempt to automate the terminal.Related issue/comment: