Skip to content

Support the new ChatGPT CLI bundle layout - #26

Merged
AlexBoliachiy merged 1 commit into
masterfrom
codex/chatgpt-cli-layout
Nov 9, 2026
Merged

AlexBoliachiy merged 1 commit into
masterfrom
codex/chatgpt-cli-layout

Conversation

@AlexBoliachiy

Copy link
Copy Markdown
Contributor

Recent ChatGPT desktop builds move the bundled CLI from Contents/Resources/codex to Contents/Resources/codex-cli/bin/codex. Reproduced with ChatGPT 26.1103.60933: MōIcons finds the app bundle but reports it missing or rejects it after Browse because it only checks the old executable path.

Try the packaged launcher first and retain the legacy executable as a fallback for automatic discovery and manually selected apps. A saved app remains authoritative; startup fallback stays within that bundle, and account/image requests are never retried against another candidate.

Fixes #20.

Validation:

  • All 50 discovery, app-location, startup, and Codex protocol tests pass, including both layouts, saved selections across an app update, invalid launchers, and restricted fallback.
  • npx --no-install tsc --noEmit, npm run dev:build, and npm run build pass.
  • Exercised the built macOS app with the installed ChatGPT 26.1103.60933 / codex-cli 0.167.0-alpha.3.2: automatic detection connected; Browse selected /Applications/ChatGPT.app and connected; reopening settings retained the selection; clearing it restored a working automatic connection. The native picker was answered through MōBrowser's automation interface.
  • The real app-server initialization and account-read requests succeeded. No live image generation was requested.

@AlexBoliachiy AlexBoliachiy self-assigned this Nov 9, 2026
@AlexBoliachiy
AlexBoliachiy marked this pull request as ready for review November 9, 2026 09:21
@AlexBoliachiy
AlexBoliachiy merged commit 820fabe into master Nov 9, 2026
@AlexBoliachiy
AlexBoliachiy deleted the codex/chatgpt-cli-layout branch November 23, 2026 10:20
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.

Can't Connect ChatGPT account

2 participants