Repository navigation
fix(codex): one card per Codex Desktop conversation - #1
Merged
Merged
Conversation
…covery (wxtsky#369) Fixes wxtsky#368 (cherry picked from commit 5394c2e)
…id (wxtsky#371) Fixes wxtsky#370 (cherry picked from commit cd39ddd)
ChatGPT moved Codex from Contents/Resources/codex to Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS/codex. The process scan never found Desktop's app-server there, so Desktop threads were never read from state_5.sqlite, and the app-server client could not start at all. The same binary also runs Codex CLI, ChatGPT's cloud exec-server and CodeIsland's own app-server client, so the process is classified by argv and parent: the app-server ChatGPT starts is the Desktop host, helpers and our own child are skipped, anything else is a CLI session process. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 9905070)
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.
Requested by Robin · project thread
Before: starting a new conversation in Codex Desktop (ChatGPT app) showed two identical cards in the notch, same title, same short id.
After: one card per Codex Desktop conversation.
Newer ChatGPT builds start Codex's app-server from
ChatGPT.app/Contents/Resources/codex-cli/without__CFBundleIdentifier, so the thread's hooks were keyed as a CLI session next to thecodexapp:card discovery makes for the same thread. Upstream fixed this in v1.0.37/v1.0.38.How: cherry-picked (
-x) the three upstream Codex fixes that are not yet onslim-fork:The guardian fix (3aad25a) is already on
slim-fork.slim-fork's CHANGELOG was kept as is; the upstream release commits were not taken. All picks applied without code conflicts. Not built or tested here (no macOS in this environment); pleaseswift build && swift testlocally.🤖 Generated with Claude Code
https://claude.ai/code/session_01DfJWbdvTDiGPUHRFJZGoBq
Generated by Claude Code