更新日志(中文)
[0.22.7] - 2026-04-22
新增
- Codex API 服务现已提供 OpenAI 兼容的
/v1/chat/completions入口,并在网关内部转译为官方 Responses 协议:双向归一化 model 快照别名、tools/tool_choice、response_format 与流式 tool-call 增量,第三方客户端可直接对接本地网关。 - Codex API 服务管理面板现已展示
API Port URL与可选Model ID列表:弹框支持一键复制,并从后端运行态读取模型选项。 - 桌面端启动链路现已新增
AppRuntimeGuard兜底层:渲染崩溃或 chunk 加载失败时,会在应用内展示错误详情并提供刷新入口。
变更
- Codex API 服务上游转发现已补齐瞬时故障重试策略:请求发送错误及单账号 5xx/超时状态会执行有限退避重试,429 用量限流继续按模型级冷却处理。
- Trae 刷新链路现已保护运行中客户端/实例绑定账号:单账号刷新、批量刷新与 Token Keeper 在命中保护账号时改为“仅额度刷新”,同时继续更新配额/用量快照。
- Trae 切号与实例启动链路现已加强前后校验:注入/启动前先刷新账号,启动后执行严格 check-login 并在需要时静默修复;切号时若旧 Trae 进程无法正常关闭将直接中止并提示。
- Codex 切号后现会统一执行历史会话可见性修复检查:provider 变化会单独记录,provider 未变化时也会执行一致性检查。
Changelog (English)
[0.22.7] - 2026-04-22
Added
- Codex API Service now exposes an OpenAI-compatible
/v1/chat/completionsentry that is translated to the official Responses protocol internally: model snapshot aliases, tools/tool_choice, response_format, and streaming tool-call deltas are normalized in both directions so third-party clients can call the local gateway directly. - Codex API Service management now shows
API Port URLand selectableModel IDvalues: the modal supports one-click copy and reads model options from backend runtime state. - Desktop startup now includes an
AppRuntimeGuardfallback layer: render crashes and chunk-load failures show an in-app error panel with details and a refresh action.
Changed
- Codex API Service upstream dispatch now retries transient failures more predictably: request-send errors and single-account transient 5xx/timeout statuses now use bounded backoff retries, while 429 usage-limit responses continue to honor model-level cooldown.
- Trae refresh flow now protects accounts bound to running clients/instances: manual refresh, batch refresh, and token keeper switch to usage-only refresh for protected accounts, while still updating quota/usage snapshots.
- Trae switch/start flow now uses stricter pre/post account validation: account is refreshed before inject/start, post-start performs strict check-login with silent remediation when needed, and switch now aborts if existing Trae process cannot be closed cleanly.
- Codex account switching now always runs session-visibility repair checks: provider changes are explicitly logged while non-provider changes still run consistency checks.