Skip to content

Fix discovery of the repackaged ChatGPT Codex CLI - #179

Merged
cpojer merged 1 commit into
nkzw-tech:mainfrom
spaansba:fix/chatgpt-bundled-codex-path
Oct 8, 2026
Merged

cpojer merged 1 commit into
nkzw-tech:mainfrom
spaansba:fix/chatgpt-bundled-codex-path

Conversation

@spaansba

@spaansba spaansba commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

ChatGPT macOS bundles now expose Codex at Contents/Resources/codex-cli/bin/codex. With a desktop-style PATH, Codiff reports “Codex CLI not found” because its fallback checks the previous bundle location.

Add the new entry point for /Applications/ChatGPT.app and ~/Applications/ChatGPT.app, retaining the existing locations. Extend the discovery test to exercise both layouts without a Codex command on PATH.

The bundle relocation is documented in openai/codex#48214. This follows #174, which added discovery for the earlier ChatGPT bundle layout.

AI assistance: Codex researched the bug, wrote the change and test, ran validation, and drafted this description.

@cpojer

cpojer commented Oct 8, 2026

Copy link
Copy Markdown
Member

Thanks. Why do they have to keep changing things…

@cpojer
cpojer merged commit 3af2cd5 into nkzw-tech:main Oct 8, 2026
1 check passed
@spaansba

spaansba commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Thanks. Why do they have to keep changing things…

Fastest reply in history.

No clue, I also looked in the codex changelogs and there was nothing to be found.

@cpojer

cpojer commented Oct 8, 2026

Copy link
Copy Markdown
Member

Published 1.16.1 with the fix.

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.

2 participants