Codex Mixin v0.4.4
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