Skip to content

[Bug] Codex agent fails to start on macOS x64 (v0.0.84) — missing bundled ACP binary #205

@SergiiShapoval

Description

@SergiiShapoval

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

  1. Download and install 1Code-0.0.84.dmg (macOS x64 build).
  2. Open 1Code and attempt to activate/use the Codex agent.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions