更新日志(中文)
[1.3.18] - 2026-08-14
新增
- Codex 第三方模型目录支持按模型设置上下文窗口:可在添加 / 编辑 API Key 的模型列表、模型供应商编辑页,或 API 服务的模型映射表中填写。官方 / DeepSeek 目录默认保留厂商值;其他模型留空则回落到「上下文与压缩阈值」或 128000。保存后,Codex 客户端和 API 服务对外模型目录都会按该窗口上报;Codex 需重启后生效。
- 安装后首次打开和更新后启动会显示进度条:应用加载时窗口不再长时间空白。
- Codex 账号卡片显示本窗口从满额到现在的用量:API 服务池里的官方账号会显示请求数、token 和账号计费(
A $);没有用量时也保留0 req、0、A $0.00。 - Codex 会话管理增加会话用量:可从本机会话日志汇总真实 Token 用量,不依赖官方配额百分比,也不要求请求一定走 API 服务。
变更
- Codex 官方额度改为小进度条,重置时间单独一行并与额度标签左对齐。
- Codex API 服务官方 OAuth 出站身份与官方客户端对齐:默认使用配对的
codex-tui身份,不再转发下游客户端 UA;会话头改为Session-Id,并带上窗口与线程标识。
修复
- 修复安装后首次打开和更新后启动卡在白屏、像死机的问题:启动过程现在会显示进度,首屏也不再等待远程字体。
Changelog (English)
[1.3.18] - 2026-08-14
Added
- Codex third-party model catalogs support a per-model context window: set it on the model list when adding or editing an API Key, in the model-provider editor, or on the API Service mapping table. Official and DeepSeek catalogs keep vendor values unless you enter one; other models fall back to Compact settings or 128000. After saving, both the Codex client catalog and the API Service model list report that window; restart Codex to apply it there.
- First launch and post-update startup show a progress bar: the window no longer stays blank while the app is loading.
- Codex account cards show usage from the last full window to now: official accounts in the API Service pool display request count, tokens, and account-billed cost (
A $); empty windows still show0 req,0, andA $0.00. - Codex session management adds session usage: real token usage is aggregated from local session logs, independent of official remaining-quota percentages and without requiring traffic to go through API Service.
Changed
- Official Codex quota bars are now compact, with reset time on its own line aligned to the quota label.
- Codex API Service official OAuth outbound identity now matches official clients: paired
codex-tuiidentity is used by default and downstream client user-agents are not forwarded; session headers useSession-Idand include window and thread identifiers.
Fixed
- Fixed the app appearing frozen on a white screen after install or update: startup now shows progress, and first paint no longer waits on remote fonts.