All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.
Rust
fix(terminal): find the Codex desktop app installed as Codex.app
Corey Chiu81066f17e619
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex cd44bc1..ce68201 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,9 @@# Changelog+## [Unreleased]++- Fix: Open In offers Codex Desktop when the app is installed as Codex.app (#55, thanks @yangmingyuan380)+## [0.8.7] — 2026-10-09- New: Kilo Code sessions are indexed — from the database the VS Code extension, the `kilo` CLI and the JetBrains plugin share (`~/.local/share/kilo/kilo.db`, read-only), and from the legacy extension's task folders in VS Code and other VS Code-based editors. Titles, models, thinking, tool calls and token counts included; legacy sub-tasks are listed under the task that started them, and a legacy task the new extension has imported is listed once. Open In continues a session with `kilo --session` in its project directory (legacy tasks have no Open In). On remote hosts only the legacy tasks are mirrored, since `kilo.db` also holds Kilo's credentials (#59, thanks @ICEY4040727)diff --git a/crates/wake-core/src/services/terminal/macos.rs b/crates/wake-core/src/services/terminal/macos.rsindex 7e22c45..fba7001 100644--- a/crates/wake-core/src/services/terminal/macos.rs+++ b/crates/wake-core/src/services/terminal/macos.rs@@ -40,7 +40,7 @@ pub enum TerminalApp {/// 把磁盘上的 CLI transcript 导入 desktop 会话并聚焦(实测 2026-09-01,/// 处理端是 app.asar 的 claudeURLHandler,id 校验为裸 UUID)。ClaudeDesktop,- /// Codex 桌面版(app 名叫 ChatGPT.app,bundle id com.openai.codex):+ /// Codex 桌面版(bundle id com.openai.codex,app 名是 ChatGPT.app 或 Codex.app):/// codex://threads/<uuid> 打开本地会话(路由 kind "localConversation",/// desktop 的 threads 表与 CLI 共库、行内 rollout_path 即 CLI 文件)。CodexDesktop,@@ -92,8 +92,9 @@ impl TerminalApp {TerminalApp::Ghostty => &["/Applications/Ghostty.app"],TerminalApp::Kooky => &["/Applications/Kooky.app"],TerminalApp::ClaudeDesktop => &["/Applications/Claude.app"],- // Codex desktop 的 app 名与旧版 ChatGPT 同名,靠 bundle id 区分- TerminalApp::CodexDesktop => &["/Applications/ChatGPT.app"],+ // Codex desktop 的 app 名不固定:有的机器上与旧版 ChatGPT 同名(旧版改叫+ // ChatGPT Classic),有的仍叫 Codex.app(PR #55),两个都试、靠 bundle id 区分+ TerminalApp::CodexDesktop => &["/Applications/ChatGPT.app", "/Applications/Codex.app"],};let home = dirs::home_dir().unwrap_or_default().join("Applications");for c in candidates {