Repository navigation
fix(codex): 用 Claude Code 插件起的 Codex 任务只显示一张卡 (#368) - #369
Merged
Merged
Conversation
…covery (wxtsky#368) Claude Code's Codex plugin drives its own `codex app-server` and identifies itself as "Claude Code". Codex records those threads with source "vscode", the same source as Codex Desktop threads, so codexTranscriptOrigin called them Desktop rollouts. While the ChatGPT app was running, the state-DB scan keyed each one as codexapp:<id>, and the hooks from the plugin's app-server reported the same thread under its raw id: two cards for one thread. Treat a vscode/appServer rollout as Desktop only when its originator names Desktop or is missing. Any other named client's rollout belongs to the process that wrote it, like a CLI one. Spawned threads keep their parent's originator under an object source, so the same rule applies to them; otherwise the plugin's subagents would still be keyed codexapp: and could not fold under their raw parent. Unknown sources keep their existing best-effort handling. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
vxiaofengs
pushed a commit
to vxiaofengs/CodeIsland
that referenced
this pull request
Oct 12, 2026
Five upstream commits across v1.0.37 and v1.0.38, all Codex: finding the binary newer ChatGPT builds bundle, keying Desktop app-server hooks without a bundle id (wxtsky#371), and keeping other app-server clients' threads out of Desktop discovery (wxtsky#369). No conflicts; none of it touches the panel, approval or jump code this branch carries. Co-Authored-By: Claude Opus 5.5 <[email protected]>
RooobinYe
added a commit
to RooobinYe/CodeIsland
that referenced
this pull request
Oct 14, 2026
* fix(codex): keep other app-server clients' threads out of Desktop discovery (wxtsky#369) Fixes wxtsky#368 (cherry picked from commit 5394c2e) * fix(codex): key Desktop app-server hooks as Desktop without a bundle id (wxtsky#371) Fixes wxtsky#370 (cherry picked from commit cd39ddd) * fix(codex): find the Codex binary newer ChatGPT builds bundle 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) --------- Co-authored-by: Terry Li <[email protected]> Co-authored-by: wxtsky <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Fixes #368
改了什么
codexTranscriptOrigin先看originator:写着 Desktop 的照旧算桌面版;写着别的客户端(比如Claude Code)的不再算桌面版,交给起它的那个进程,跟 hook 用同一个 id。插件起的子任务按同样的规则处理,所以还能合并到父对话下面。没有originator的、或者来源认不出来的,行为不变。验证
swift test0 失败。已知影响
插件建的对话如果之后又在桌面版里继续,而 CodeIsland 恰好错过了它的 hook,卡片要等下一次 hook 到了才出来。命令行建的对话现在本来就是这样。
🤖 Generated with Claude Code