更新日志(中文)
[0.25.4] - 2026-06-08
新增
- WebDAV 与本地备份保留天数可分别配置:WebDAV 备份清理可使用独立保留策略,不再与本地备份共用同一个保留天数。
变更
- Codex API 服务账号池变更不再等待网关重载后才返回:保存 API 服务成员、删除账号后清理账号池时,会先更新本地状态并触发一次后台网关重载,让大账号量场景下的添加和删除流程保持响应。
- Codex 大账号选择弹框改为分页展示:API 服务成员选择弹框和 Codex 唤醒账号选择弹框现在按页展示账号,降低 1000+ 账号时的一次性渲染压力。
- Codex 账号页的大列表处理更聚焦:保存 API 服务成员时复用当前页面已有账号快照,不再额外读取一次全量账号;TEAM 账号资料补全也只处理当前分页。
- APIKEY.FUN 展示在暗色主题下更清晰:中转站文案调整为“Cockpit 官方合作中转站”,并为 APIKEY.FUN 页面补充面板、输入框、按钮、卡片、消息和密钥行的暗色主题样式。
修复
- 删除 Codex 账号时会完整清理 API 服务引用:账号池、限定范围 API Key、自定义路由规则、账号模型规则、运行时缓存、响应亲和、冷却状态和绑定 OAuth 引用都会随账号删除同步移除。
- Codex API 服务 sidecar 不再因单纯额度变化反复重启:sidecar 指纹会忽略易变的剩余额度字段,同时继续识别真实的路由和账号配置变化。
- Codex API 服务不再允许 Chat Completions API Key 账号加入普通账号池:需要实例专属 provider gateway 的账号不再可选入全局 API 服务账号池,成员选择弹框会显示明确的不支持状态。
- Codex API 服务在大账号量和大请求场景下更稳定:macOS/Linux 启动时会提升进程文件句柄软限制,声明过大的 HTTP 请求体会在读取前被拒绝,sidecar 也能把 macOS/Windows 系统代理解析为显式上游代理地址。
- CLIProxyAPI sidecar 会保留 manifest 模型的 Codex 思考强度:模型注册表会继承 Codex 模型及别名的静态 thinking 能力,让
reasoning.effort = high这类请求在 sidecar 转换路径中继续生效。 - 恢复备份不再覆盖无关配置字段:导入和恢复流程会保留恢复范围之外的已有配置值。
- MFA 备份字段在备份传输中处理更安全:备份导入/导出避免对 MFA 备份字段做不安全的动态字段处理,并同步补齐相关翻译键。
- WebDAV 服务地址输入框与其他设置项宽度对齐:WebDAV 地址字段现在使用与相邻设置控件一致的宽度表现。
- Windows runner 上的 PR 构建更可靠:PR 构建改用独立的 Tauri CI 配置文件,不再依赖容易被 Windows shell 误解析的内联 JSON 参数。
Changelog (English)
[0.25.4] - 2026-06-08
Added
- WebDAV and local backup retention days can now be configured independently: WebDAV backup cleanup can use its own retention policy instead of sharing the local backup retention setting.
Changed
- Codex API Service account-pool changes now return without waiting for a gateway reload: saving API Service members and removing deleted accounts from the pool update local state first and trigger a single background gateway reload, keeping the add/delete flows responsive on large account sets.
- Large Codex account pickers now paginate their results: the API Service member picker and Codex wakeup account pickers show paged account lists, reducing UI work when more than 1,000 accounts are present.
- Codex account-page large-list work is more focused: API Service member saving reuses the current account snapshot instead of issuing another full account read, and team-account profile hydration only targets the current page.
- APIKEY.FUN presentation is clearer in dark mode: the partner relay copy now says “official Cockpit partner relay”, and the APIKEY.FUN page adds dark-theme styling for panels, inputs, buttons, cards, messages, and key rows.
Fixed
- Deleted Codex accounts are fully removed from API Service references: account pools, scoped API keys, custom routing rules, account model rules, runtime cache, response affinity, cooldowns, and bound OAuth references are cleaned when accounts are deleted.
- Codex API Service sidecar no longer restarts for quota-only manifest changes: sidecar fingerprints ignore volatile remaining-quota fields while still detecting real routing and account changes.
- Codex API Service excludes Chat Completions API Key accounts from the regular account pool: accounts that require the instance-specific provider gateway are no longer selectable for the global API Service pool, and the member picker shows an explicit unsupported status.
- Codex API Service is more stable on large local datasets and large requests: startup raises the process file-descriptor soft limit on macOS/Linux, oversized declared HTTP request bodies are rejected before reading, and the sidecar can resolve macOS/Windows system proxy settings into an explicit upstream proxy URL.
- CLIProxyAPI sidecar preserves Codex reasoning effort for manifest models: model registry entries now keep static thinking support for Codex models and aliases, so requests such as
reasoning.effort = highsurvive the sidecar translation path. - Restoring backups no longer overwrites unrelated configuration fields: import and restore flows preserve configuration values outside the restored backup scope.
- MFA backup fields are handled more safely during backup transfer: backup import/export avoids unsafe dynamic handling of MFA backup fields while keeping the related locale keys in sync.
- WebDAV service URL input now aligns with the other settings fields: the WebDAV address field uses the same width behavior as neighboring settings controls.
- Pull request builds are more reliable on Windows runners: PR builds now use the dedicated Tauri CI config file instead of inline JSON arguments that can be misparsed by Windows shells.