Repository navigation
fix: Detect the Codex app as ChatGPT.app - #13
Merged
Merged
Conversation
OpenAI folded the Codex desktop app into ChatGPT: the bundle is `ChatGPT.app`, identifier `com.openai.codex`, and it claims `codex:`. App Studio looked for `Codex.app`, found nothing, and never drew the button. An editor can now list other names and a bundle id; the id is checked because an older `ChatGPT.app` is the chat-only `com.openai.chat`, which has no `codex:` scheme. `Codex.app` is still tried for a copy from before the rename. Also records that Antigravity.app 2.9.1 still cannot be handed a local folder (its one deep link is an AI Studio import), so Antigravity keeps opening through Antigravity IDE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Open in Codex button never appeared, even for projects created with Codex picked. OpenAI merged the Codex desktop app into ChatGPT, so the app is now
/Applications/ChatGPT.app, with bundle idcom.openai.codex, and it handlescodex://links. App Studio was looking forCodex.app, which doesn't exist.Change
_EditorApptakes extra names to look for (alsoNamed) and abundleIdthat a match must have. Codex now looks forChatGPT.appfirst, thenCodex.app, and checkscom.openai.codex.ChatGPT.appis the chat-only app (com.openai.chat), which can't handlecodex://. Only the XMLInfo.plistis read. A binary plist reads as no match, which only costs that app its button.findAppnow also takes the bundle id, so tests can fake it. There are two new tests: one finds Codex asChatGPT.appand checks the bundle id it asked for, the other still finds aCodex.app.Antigravity: no change
I checked Antigravity.app 2.9.1 again. It doesn't accept folders as documents, it only looks for a link in its launch arguments, and its one deep link is
antigravity://teleport/ai_studio?blob_id=…&signature=…, which imports an AI Studio project. There's no way to hand it a local folder, so Open in Antigravity keeps going to Antigravity IDE. This is written down inAGENTS.md.Testing
flutter test test/session/passes.ChatGPT.app→com.openai.codex.🤖 Generated with Claude Code