Codex Mixin v0.5.0
v0.5.0
这是 Codex Mixin 的界面与使用体验大版本。macOS 控制中心完成 SwiftUI 重构,Linux、SSH 和远端开发机获得可用鼠标与键盘操作的全屏 TUI;两套界面现在共享同一套 Provider、模型、应用和系统管理能力。
全屏 TUI
- 无参数运行
codex-mixin即进入主界面;首次启动自动安装到~/.local/bin/codex-mixin并打开 Setup - 提供 Home、Setup、Providers、Models、Speed、Fusion、Apps、System 和 Logs 完整页面
- 支持新增、编辑、删除 Provider,配置 API Key、DUCX 扫码认证、辅助模型和百度数据上报
- 支持模型发现、多选、保存和测速,并展示 TTFT、吞吐、Token、额度及健康状态
- 可安装或恢复 Codex、Claude Code 和 DSH,管理 gateway、升级、修复及诊断日志
- 支持鼠标点击、键盘导航和全屏二级工作区;原有 subcommand、
--json与--no-tui继续用于脚本和 macOS App
macOS 控制中心
- Provider 设置、模型测速、Fusion、安装进度、Codex 安装、About、用量和诊断界面迁移到 SwiftUI
- 重新设计 Provider 设置和模型选择体验,增加响应性能、平均 TTFT 与输出吞吐展示
- 使用 macOS 26 Liquid Glass,同时为 macOS 13.1–15 提供原生材质兼容界面
- 最低系统版本保持 macOS 13.1 Ventura,不要求升级到 macOS 26
稳定性
- 修复官方 WebSocket 与 CLI JSON 转发中的 timing 数据采集和展示
- 修复 TUI 操作结果丢失、长任务阻塞、Tab 导航、鼠标命中和 DUCX 二维码显示
- 改进 Provider throughput 聚合并排除异常 timing 样本
v0.5.0
這是 Codex Mixin 的介面與使用體驗大版本。macOS 控制中心完成 SwiftUI 重構,Linux、SSH 和遠端開發機獲得可用滑鼠與鍵盤操作的全螢幕 TUI;兩套介面現在共享同一套 Provider、模型、應用程式和系統管理能力。
全螢幕 TUI
- 不帶參數執行
codex-mixin即進入主介面;首次啟動自動安裝到~/.local/bin/codex-mixin並開啟 Setup - 提供 Home、Setup、Providers、Models、Speed、Fusion、Apps、System 和 Logs 完整頁面
- 支援新增、編輯、刪除 Provider,設定 API Key、DUCX 掃碼認證、輔助模型和百度資料上報
- 支援模型探索、多選、儲存和測速,並顯示 TTFT、吞吐、Token、額度及健康狀態
- 可安裝或還原 Codex、Claude Code 和 DSH,管理 gateway、升級、修復及診斷日誌
- 支援滑鼠點選、鍵盤導覽和全螢幕次級工作區;原有 subcommand、
--json與--no-tui繼續用於腳本和 macOS App
macOS 控制中心
- Provider 設定、模型測速、Fusion、安裝進度、Codex 安裝、About、用量和診斷介面遷移到 SwiftUI
- 重新設計 Provider 設定和模型選擇體驗,增加回應效能、平均 TTFT 與輸出吞吐顯示
- 使用 macOS 26 Liquid Glass,同時為 macOS 13.1–15 提供原生材質相容介面
- 最低系統版本保持 macOS 13.1 Ventura,不要求升級到 macOS 26
穩定性
- 修正官方 WebSocket 與 CLI JSON 轉送中的 timing 資料收集和顯示
- 修正 TUI 操作結果遺失、長任務阻塞、Tab 導覽、滑鼠命中和 DUCX QR code 顯示
- 改善 Provider throughput 彙總並排除異常 timing 樣本
v0.5.0
This is a major interface and usability release. The macOS control center has moved to SwiftUI, while Linux, SSH, and remote development environments now have a full-screen TUI with mouse and keyboard control. Both interfaces manage the same providers, models, applications, and system services.
Full-screen TUI
- Run
codex-mixinwithout arguments to open the control center; the first launch installs it to~/.local/bin/codex-mixinand opens Setup - Use complete Home, Setup, Providers, Models, Speed, Fusion, Apps, System, and Logs pages
- Add, edit, and remove providers, including API keys, DUCX QR authentication, auxiliary models, and Baidu reporting settings
- Discover, select, save, and benchmark models with TTFT, throughput, token, quota, and health data
- Install or restore Codex, Claude Code, and DSH, and manage the gateway, updates, repairs, and diagnostics
- Use mouse input, keyboard navigation, and full-screen secondary workspaces; existing subcommands,
--json, and--no-tuiremain available for automation and the macOS app
macOS control center
- Move provider settings, model benchmarks, Fusion, installation progress, Codex installation, About, usage, and diagnostics to SwiftUI
- Redesign provider settings and model selection, including response performance, average TTFT, and output throughput
- Use Liquid Glass on macOS 26 with a native material interface on macOS 13.1–15
- Keep macOS 13.1 Ventura as the minimum supported version; macOS 26 is not required
Reliability
- Fix timing collection and display for official WebSocket traffic and CLI JSON forwarding
- Fix lost TUI operation results, blocking tasks, Tab navigation, mouse hit testing, and DUCX QR rendering
- Improve provider throughput aggregation and reject anomalous timing samples
v0.4.4
本版本改进了 Provider、gateway 和 macOS 设置体验,并修复了百度代码使用上报。
Provider 与 gateway
- 修复自定义 Provider 的 compact 输出,补齐百度 Responses compact 路径验证
- 明确 Provider capability probe 的触发和结果,模型刷新不再混入过期能力状态
- gateway 优雅停止超时后会结束残留 daemon,避免服务进程卡住
macOS
- 修复模型选择器中的 token 使用量滚动位置
- 分离模型保存和 benchmark 操作,并在新 benchmark 开始前清理旧结果
百度上报可靠性
- 修复 transcript 在
SessionStart时上传的问题;上游 session 尚未建立时不再触发Session meta not found - 只有
upload/query成功后,才上报该 session 的代码生成、代码接受和 transcript - 缺少成功 query 的历史 session 会记录明确的 skip 原因,不再发送无效的 code 或 transcript 请求
- Mixin 直接维护上报生命周期;DUCX 只用于获取短期 report client token
- 上报响应日志会脱敏签名文件 URL,避免短期授权参数写入本机日志
验证
cargo fmt --all -- --checkcargo test --locked --all-targetscargo clippy --all-targets -- -D clippy::cognitive_complexity -D clippy::redundant_closure_for_method_calls -D clippy::redundant_pattern_matching -D warnings
v0.4.4
本版本改善 Provider、gateway 和 macOS 設定體驗,並修正百度程式碼使用上報。
Provider 與 gateway
- 修正自訂 Provider 的 compact 輸出,補齊百度 Responses compact 路徑驗證
- 明確 Provider capability probe 的觸發和結果,模型更新不再混入過期能力狀態
- gateway 優雅停止逾時後會結束殘留 daemon,避免服務程序卡住
macOS
- 修正模型選擇器中的 token 使用量捲動位置
- 分離模型儲存和 benchmark 操作,並在新 benchmark 開始前清除舊結果
百度上報可靠性
- 修正 transcript 在
SessionStart時上傳的問題;上游 session 尚未建立時不再觸發Session meta not found - 只有
upload/query成功後,才上報該 session 的程式碼生成、程式碼接受和 transcript - 缺少成功 query 的歷史 session 會記錄明確的 skip 原因,不再發送無效的 code 或 transcript 請求
- Mixin 直接維護上報生命週期;DUCX 只用於取得短期 report client token
- 上報回應日誌會遮蔽簽名檔案 URL,避免短期授權參數寫入本機日誌
驗證
cargo fmt --all -- --checkcargo test --locked --all-targetscargo clippy --all-targets -- -D clippy::cognitive_complexity -D clippy::redundant_closure_for_method_calls -D clippy::redundant_pattern_matching -D warnings
v0.4.4
This release improves provider, gateway, and macOS settings behavior, and fixes Baidu code-usage reporting.
Provider and gateway
- Fix compact output for custom providers and validate the Baidu Responses compact path
- Make provider capability probes and their results explicit so model refresh does not mix in stale capability state
- Terminate a remaining daemon when graceful gateway shutdown times out
macOS
- Fix the token-usage scroll position in the model selector
- Separate model saving from benchmark actions and clear old results before a new benchmark
Baidu reporting reliability
- Stop uploading transcripts at
SessionStart, which could send them before the upstream session exists and triggerSession meta not found - Upload code generation, code acceptance, and transcripts only after
upload/querysucceeds for the session - Log a clear skip reason for historical sessions without a successful query instead of sending invalid code or transcript requests
- Keep the reporting lifecycle in Mixin; use DUCX only to obtain a short-lived report client token
- Redact signed file URLs in report responses before writing them to local logs
Validation
cargo fmt --all -- --checkcargo test --locked --all-targetscargo clippy --all-targets -- -D clippy::cognitive_complexity -D clippy::redundant_closure_for_method_calls -D clippy::redundant_pattern_matching -D warnings
v0.4.3
- 新增官方 Provider 默认展示,开箱即可选择
- 优化 Provider 探测逻辑,支持手动调整 Provider 顺序
- 支持 DSH 模型安装和思考强度选择
- 优化模型刷新、额度与用量状态显示
- 改进 Gateway 稳定性和 macOS App 更新流程
v0.4.3
- 新增官方 Provider 預設顯示,開箱即可選擇
- 優化 Provider 探測邏輯,支援手動調整 Provider 順序
- 支援 DSH 模型安裝和思考強度選擇
- 優化模型更新、額度與用量狀態顯示
- 改進 Gateway 穩定性和 macOS App 更新流程
v0.4.3
- Show official providers by default for quick setup
- Improve provider discovery and allow manual provider ordering
- Support DSH model installation and reasoning intensity selection
- Improve model refresh, quota, and usage status display
- Improve gateway stability and macOS app update flow
v0.4.2
本版本聚焦于更新体验、跨客户端安装和数据上报 hook。
更新与安装
- macOS App 更新现在会自动下载、挂载 DMG,并替换当前 App,不再要求用户手动拖入 Applications
- 替换前会优雅停止本地网关,替换完成后自动重新启动 App 和网关
- 使用 staging bundle 完成替换,避免旧版本残留文件混入新版本
- 安装到 Claude Code 或 DSH 时,如果启用了百度代码使用上报,会自动安装对应客户端的全局 reporting hook
- 卸载 Claude Code 或 DSH 时会清理 Codex Mixin 管理的 hook,同时保留用户自己的配置
平台与能力
- 增加 DSH(DeepSeek Harness)provider 集成
- 增加 Fusion provider 的禁用和删除命令
- 修复 DSH Responses SSE relay 的 malformed event 处理
- 改进 gateway 配置更新、provider readiness 和 native reporting 生命周期
验证
cargo fmt --all -- --checkcargo check --locked- report hook 单元测试
- macOS App 构建、签名和 bundle 校验
v0.4.2
本版本聚焦於更新體驗、跨客戶端安裝和資料上報 hook。
更新與安裝
- macOS App 更新現在會自動下載、掛載 DMG 並替換目前 App,不再要求使用者手動拖入 Applications
- 替換前會優雅停止本機閘道,替換完成後自動重新啟動 App 和閘道
- 使用 staging bundle 完成替換,避免舊版本殘留檔案混入新版本
- 安裝到 Claude Code 或 DSH 時,如果啟用百度程式碼使用上報,會自動安裝對應客戶端的全域 reporting hook
- 卸載 Claude Code 或 DSH 時會清理 Codex Mixin 管理的 hook,同時保留使用者自己的設定
平台與能力
- 增加 DSH(DeepSeek Harness)provider 整合
- 增加 Fusion provider 的停用和刪除命令
- 修正 DSH Responses SSE relay 的 malformed event 處理
- 改進 gateway 設定更新、provider readiness 和 native reporting 生命週期
驗證
cargo fmt --all -- --checkcargo check --locked- report hook 單元測試
- macOS App 建置、簽名和 bundle 驗證
v0.4.2
This release focuses on seamless updates, cross-client installation, and reporting hooks.
Updates and installation
- macOS app updates now download, mount, and replace the current app without requiring a manual drag into Applications
- The running gateway is stopped gracefully before replacement, then the app and gateway restart automatically
- Replacement uses a staging bundle so stale files from the previous app are not merged into the new version
- Installing into Claude Code or DSH now installs a client-specific global reporting hook when Baidu code-usage reporting is enabled
- Uninstalling Claude Code or DSH removes only Codex Mixin managed hooks and preserves user configuration
Platform and capabilities
- Add DSH (DeepSeek Harness) provider integration
- Add Fusion provider disable and delete commands
- Fix malformed Responses SSE relay events for DSH
- Improve gateway configuration updates, provider readiness, and native reporting lifecycle handling
Validation
cargo fmt --all -- --checkcargo check --locked- report hook unit tests
- macOS app build, signing, and bundle verification
v0.4.1
这是一个 DUCX 原生认证紧急修复版本。建议所有使用百度 OneAPI 认证桥的 v0.4.0 用户立即升级。
紧急修复
- 修复 OpenAI Responses 和 Chat Completions 路径未注入 DUCX 原生认证 Header,导致部分模型出现认证丢失、502 或无法请求的问题
- 统一 Anthropic Messages、OpenAI Responses 和 Chat Completions 的 DUCX 原生认证 Header 选择逻辑
- 修复切换 DUCX 后认证类型与可执行文件路径可能错配,造成选择 DUCX 却启动 DUCX 的问题
- 对认证类型和托管可执行文件布局增加强校验,错误配置现在会直接拒绝,不再带着错误认证核心运行
- 修复 DUCX 只凭登录文件存在就判定已登录的问题;现在会校验实际
Bearer-<JWT>登录记录,损坏、空白或歧义记录会要求重新扫码 - 修复 macOS Provider 设置中未保存的认证选择看起来已经生效、但模型刷新仍使用旧配置的问题
- 修复 Provider 已恢复健康后,菜单栏仍长期显示 Provider 降级的问题;轻量健康检查现在会携带当前 Provider readiness
验证
- 已使用真实 DUCX 登录态完成隔离模型发现,成功刷新 23 个百度 OneAPI 模型
- Rust 单元测试、HTTP 集成测试、启动测试、WebSocket 测试和 macOS Swift 测试全部通过
v0.4.1
這是 DUCX 原生認證的緊急修正版本。建議所有使用百度 OneAPI 認證橋的 v0.4.0 使用者立即升級。
緊急修正
- 修正 OpenAI Responses 和 Chat Completions 路徑未注入 DUCX 原生認證 Header,導致部分模型認證遺失、502 或無法請求
- 統一 Anthropic Messages、OpenAI Responses 和 Chat Completions 的 DUCX 原生認證 Header 選擇邏輯
- 修正切換 DUCX 後認證類型與執行檔路徑可能錯配,造成選擇 DUCX 卻啟動 DUCX
- 對認證類型和受管執行檔版面增加強制驗證,錯誤設定現在會直接拒絕
- 修正 DUCX 只憑登入檔案存在就判定已登入;現在會驗證實際
Bearer-<JWT>登入記錄 - 修正 macOS Provider 設定中未儲存的認證選擇看似已生效,但模型更新仍使用舊設定
- 修正 Provider 恢復健康後,選單列仍長期顯示 Provider 降級
驗證
- 已使用真實 DUCX 登入狀態完成隔離模型探索,成功更新 23 個百度 OneAPI 模型
- Rust 單元、HTTP 整合、啟動、WebSocket 和 macOS Swift 測試全部通過
v0.4.1
This is an emergency DUCX native-authentication fix. All v0.4.0 users of the Baidu OneAPI authentication bridge should upgrade immediately.
Emergency fixes
- Fix missing DUCX native authentication headers on OpenAI Responses and Chat Completions routes, which caused authentication loss, 502 responses, or failed requests for some models
- Use one DUCX native-header selection path across Anthropic Messages, OpenAI Responses, and Chat Completions
- Fix authentication-core and executable-path mismatches that could start DUCX after DUCX was selected
- Reject authentication configurations whose managed executable layout does not match the selected DUCX or DUCX core
- Validate the actual DUCX
Bearer-<JWT>login record instead of treating any login marker file as an authenticated session - Prevent unsaved macOS authentication selections from appearing active while model discovery still uses the saved core
- Clear stale macOS Provider degradation status after the gateway reports that providers have recovered
Validation
- Completed isolated model discovery with a real DUCX login and refreshed 23 Baidu OneAPI models
- Passed the Rust unit, HTTP integration, startup, WebSocket, and macOS Swift test suites