Environment
- 1Code version: v0.0.84
- macOS: Intel x64 (darwin/x86_64)
- Arch (
uname -m): x86_64
Description
After installing 1Code v0.0.84 on macOS x64 and attempting to use the Codex agent, the app immediately fails with two consecutive errors.
Error 1 — Missing bundled CLI
[codex] Bundled Codex CLI not found at /Applications/1Code.app/Contents/Resources/bin/codex.
Binary is missing from bundled resources.
The directory /Applications/1Code.app/Contents/Resources/bin/ does not exist at all in the installed bundle.
Error 2 — Missing ACP native module
After attempting a workaround (manual symlink), the next error appears:
Cannot find module '@zed-industries/codex-acp-darwin-x64/bin/codex-acp'
Require stack:
- /Applications/1Code.app/Contents/Resources/app.asar/out/main/index.js
This indicates that the native ACP package @zed-industries/codex-acp-darwin-x64 is not bundled inside app.asar.
Steps to Reproduce
- Download and install
1Code-0.0.84.dmg (macOS x64 build).
- Open 1Code and attempt to activate/use the Codex agent.
- Observe the errors above in the app logs / console.
Expected Behavior
The Codex agent should start successfully. The bundled binary at
/Applications/1Code.app/Contents/Resources/bin/codex
and the native module @zed-industries/codex-acp-darwin-x64 should be present in the release package for macOS x64.
Actual Behavior
Contents/Resources/bin/ directory is missing entirely.
@zed-industries/codex-acp-darwin-x64 is not bundled inside app.asar.
- Workaround via
sudo ln -s $(which codex) ... is blocked by macOS SIP (Operation not permitted), so there is no viable manual fix.
Possible Root Cause
It appears the macOS x64 build was packaged without the platform-specific native ACP binaries for Codex. The darwin-arm64 build may not be affected.
Suggested Fix
- Ensure
@zed-industries/codex-acp-darwin-x64 is included in the app.asar bundled node_modules for the x64 macOS release.
- Alternatively, provide a configuration option in the UI to point to an externally installed
codex binary path, so users can work around bundling issues without needing to bypass SIP.
Environment
uname -m): x86_64Description
After installing 1Code v0.0.84 on macOS x64 and attempting to use the Codex agent, the app immediately fails with two consecutive errors.
Error 1 — Missing bundled CLI
[codex] Bundled Codex CLI not found at /Applications/1Code.app/Contents/Resources/bin/codex.
Binary is missing from bundled resources.
The directory
/Applications/1Code.app/Contents/Resources/bin/does not exist at all in the installed bundle.Error 2 — Missing ACP native module
After attempting a workaround (manual symlink), the next error appears:
Cannot find module '@zed-industries/codex-acp-darwin-x64/bin/codex-acp'
Require stack:
This indicates that the native ACP package
@zed-industries/codex-acp-darwin-x64is not bundled insideapp.asar.Steps to Reproduce
1Code-0.0.84.dmg(macOS x64 build).Expected Behavior
The Codex agent should start successfully. The bundled binary at
/Applications/1Code.app/Contents/Resources/bin/codexand the native module
@zed-industries/codex-acp-darwin-x64should be present in the release package for macOS x64.Actual Behavior
Contents/Resources/bin/directory is missing entirely.@zed-industries/codex-acp-darwin-x64is not bundled insideapp.asar.sudo ln -s $(which codex) ...is blocked by macOS SIP (Operation not permitted), so there is no viable manual fix.Possible Root Cause
It appears the macOS x64 build was packaged without the platform-specific native ACP binaries for Codex. The
darwin-arm64build may not be affected.Suggested Fix
@zed-industries/codex-acp-darwin-x64is included in theapp.asarbundlednode_modulesfor the x64 macOS release.codexbinary path, so users can work around bundling issues without needing to bypass SIP.