Releases: jlcodes99/cockpit-tools
Releases · jlcodes99/cockpit-tools
Cockpit Tools v0.22.8
更新日志(中文)
[0.22.8] - 2026-04-22
新增
- Codex 本地 API 服务现已新增“速度”选择(标准 / 快速)并支持持久化默认值:账号页 API 服务弹框可保存默认速度;网关转发
/v1/responses(含 chat/completions 转译链路)时在“快速”模式注入service_tier: "fast",标准模式则不携带该字段。 - Codex 切号与 API 服务激活后现可联动重启指定宿主应用:设置页与快捷设置新增“切换 Codex 时重启指定应用”开关及路径选择/输入,切号或激活 API 服务后会按配置路径执行重启。
变更
- 本地 API 服务上游重试策略现已支持按重试提示执行并带总预算控制:对
429/5xx/timeout等瞬时状态会优先读取Retry-After(HTTP 头或上游提示)并结合抖动退避重试,不再仅依赖固定的单账号状态重试。
Changelog (English)
[0.22.8] - 2026-04-22
Added
- Codex Local API Service now supports a
Speedselector (Standard/Fast) with persisted defaults: the account-page API Service modal can save the default tier, and gateway request rewriting now injectsservice_tier: "fast"for/v1/responses(including chat-completions translated requests), while standard mode keeps the field unset. - Codex switching now supports restarting a user-specified host app after switch/activate: Settings and Quick Settings add the
Restart specified app when switching Codextoggle plus path picker/input controls, and backend runtime restarts the configured app path after account switch or API Service activation.
Changed
- Local API Service upstream retry now honors retry hints with bounded jitter backoff: transient
429/5xx/timeoutstatuses can retry usingRetry-After(HTTP header or upstream hint parser) under a total retry budget, instead of fixed single-account status retries.
Cockpit Tools v0.22.7
更新日志(中文)
[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.
Cockpit Tools v0.22.6
更新日志(中文)
[0.22.6] - 2026-04-21
新增
- 外部导入现已覆盖启动期与运行期的 Deep Link 唤起链路:启动参数、单实例唤起、
deep_link.on_open_url/get_current以及 macOSRunEvent::Opened现已统一走同一导入处理器,并支持待处理 payload 投递。 - Codex API 服务成员管理现已新增可持久化的“限制 Free 账号”开关:集合配置新增
restrictFreeAccounts(默认true),需要时可显式放开 Free 套餐账号。
变更
- Codex API 服务账号过滤现已端到端遵循已保存的 Free 限制策略:保存成员、运行时集合清洗、请求代理候选过滤现统一使用同一规则,不再固定强制屏蔽 Free 套餐。
- Antigravity 外部导入 token 处理现已在打开添加弹框前自动归一化 OAuth 刷新令牌:
1//...负载会自动包装为 JSON({"refresh_token":"..."}),减少手工转换 token 的步骤。
Changelog (English)
[0.22.6] - 2026-04-21
Added
- External provider import now handles deep-link wakeups across startup and runtime paths: startup arguments, single-instance wakeups,
deep_link.on_open_url/get_current, and macOSRunEvent::Openednow all route through the same import handler with pending payload delivery. - Codex API Service member management now includes a persisted
Limit Free Accountstoggle: collection settings addrestrictFreeAccounts(defaulttrue), so Free-plan accounts can be explicitly allowed when needed.
Changed
- Codex API Service account filtering now follows the persisted Free-account restriction end-to-end: save flow, runtime collection sanitization, and request proxy candidate filtering now use the same rule instead of always hard-blocking Free plans.
- Antigravity external-import token handling now auto-normalizes raw OAuth refresh tokens before opening the add-account modal:
1//...payloads are automatically wrapped into JSON ({"refresh_token":"..."}) to reduce manual token conversion.
Cockpit Tools v0.22.4
更新日志(中文)
[0.22.4] - 2026-04-19
新增
- 设置页现已新增内置“更新记录”查看弹框,并支持按版本下载:关于区域新增“更新记录”按钮,弹框可直接展示 changelog 历史,并对每个版本提供下载入口。
变更
- 更新器后端现已提供结构化发布历史接口(按语言读取本地 changelog):新增
get_release_history命令,读取CHANGELOG.md/CHANGELOG.zh-CN.md并解析Added/Changed/Fixed/Removed分组,支持前端按语言与数量限制展示。 - Codex 本地 API 服务成员资格现已端到端排除 Free 与 API Key 账号:后端集合清洗/请求路由与前端选择保存链路统一执行同一规则,且对不支持账号显示不可选标记。
- Codex 本地 API 服务在首次使用与缺失集合场景下的默认态已收敛:运行时会在缺失时自动初始化为“停用”集合;总览卡片提供稳定的 Base URL / API Key 占位显示;空状态提示改为启动导向文案。
Changelog (English)
[0.22.4] - 2026-04-19
Added
- Settings now include an in-app Release Notes viewer with per-version download actions: the About section adds a
Release Notesbutton, opens changelog history in a modal, and provides direct download actions for each listed version.
Changed
- Updater backend now exposes structured release history parsed from bundled changelog files: the desktop command
get_release_historyreadsCHANGELOG.md/CHANGELOG.zh-CN.md, parsesAdded/Changed/Fixed/Removedsections, and returns locale-aware results with list limits for frontend rendering. - Codex Local API Service member eligibility now excludes Free-plan and API Key accounts end-to-end: backend collection sanitization/request routing and frontend selection/save flows now enforce the same rule, while unsupported accounts are visibly marked and non-selectable.
- Codex Local API Service default/empty state is now stabilized for first-run and missing-collection scenarios: runtime auto-seeds a disabled collection when absent, the overview card keeps deterministic base-url/API-key placeholders, and empty-state guidance is rewritten to the new start flow.
Cockpit Tools v0.22.2
更新日志(中文)
[0.22.2] - 2026-04-18
变更
- Codex API 服务现已补齐总览入口控制与分时统计能力:列表模式下服务卡片可折叠;设置页与快捷设置可隐藏或恢复该入口;隐藏入口时会同步停用当前本地服务;服务面板统计现可在日、周、月三个时间范围间切换。
- 当前账号识别现已改为跟随 Cockpit 显式切换结果,不再依赖兜底猜测:各平台注入账号时会持久化当前账号映射,GitHub Copilot 已纳入该链路,账号索引修复或删除账号时也不会再静默指向首个剩余账号。
- 自动备份保留天数默认值现已调整为 15 天,并加入一次性历史迁移:历史默认值为
3的旧配置会在首次加载时自动升级到15;迁移完成后,用户后续手动设置的值(包括3)将被保留,不会再被自动改写。
Changelog (English)
[0.22.2] - 2026-04-18
Changed
- Codex API Service now adds persisted overview controls and time-window stats: the overview card can be collapsed in list mode, Settings and Quick Settings can hide or restore the entry, hiding the entry also disables the current local service, and the service panel now switches between daily, weekly, and monthly stats.
- Current-account resolution now follows Cockpit's explicit selection instead of fallback guessing: provider injections persist the current-account mapping, GitHub Copilot is included in that flow, and account index repair/delete paths no longer silently repoint the current account to the first remaining record.
- Auto backup retention now defaults to 15 days with a one-time legacy migration: existing configs using the historical default
3are upgraded to15once, while later user-selected values (including3) are preserved and no longer auto-overwritten.
Cockpit Tools v0.22.1
更新日志(中文)
[0.22.1] - 2026-04-18
新增
- 账号总览页现已支持按平台维度的筛选记忆(默认关闭):快捷设置新增“记住账号总览筛选(不含搜索)”开关;开启后,会按平台持久化视图模式、标签/分组筛选与排序偏好。
- 桌面端长时间运行场景现已启用后端 OAuth Token 保活:应用启动后会启动周期性保活任务,对即将过期的各平台 OAuth Token 执行刷新,并带失败退避与托盘状态刷新联动。
变更
- Antigravity 自动切号现已在配额阈值之外新增 Credits 阈值触发能力:设置页与快捷设置新增 Credits 监控选项,自动切号原因会展示 Credits 上下文,候选排序调整为先看配额再看剩余 Credits。
- Codex API 服务卡片现已固定为账号总览首个入口卡片:不再拆分为独立区域;空状态操作改为居中“添加账号”主按钮;成员选择弹框内套餐徽标与账号页样式保持一致。
Changelog (English)
[0.22.1] - 2026-04-18
Added
- Account overview pages now support platform-scoped filter persistence (disabled by default): Quick Settings adds a
Remember overview filters (except search)toggle, and when enabled the app persists per-platform view mode, tag/group filters, and sort preferences. - Backend OAuth token keeper is now enabled for long-running desktop sessions: Cockpit starts a periodic token keepalive worker on app startup and refreshes near-expiry OAuth tokens across supported providers with backoff and tray-state refresh hooks.
Changed
- Antigravity auto-switch now supports Credits threshold triggers in addition to quota thresholds: Settings and Quick Settings add Credits monitoring controls, trigger reasons now include credits context, and candidate ranking now prefers higher quota then higher remaining Credits.
- Codex API Service card now stays fixed as the first entry card across overview layouts: the service card no longer gets split into a separate region, empty-state actions now use a centered
Add AccountCTA, and plan badges in the member picker are aligned with account-page badge styling.
Cockpit Tools v0.22.0
更新日志(中文)
[0.22.0] - 2026-04-18
新增
- 已合入上游工作区/CLI 改造(PR #490,
dcdeda2,基于ca5aade):仓库已迁移为 Cargo Workspace,新增cockpit-core共享 Rust 逻辑层,并初始化cockpit-cli(首版支持 Cursor / Gemini 账号列出与切换)。 - Codex 账号页现已补齐本地 API 服务全量管理能力:提供内联服务卡片与独立服务面板,可在同一流程完成集合成员维护、密钥显示/重置、服务端口设置、直接启动/测试,以及成员集合编辑。
- API 服务现已记录并展示总量与按账号统计:服务面板可直接查看请求数、Token 使用(输入/输出/缓存/思考)、平均延迟与成功率。
变更
- 已并入
5a2d970的 Codex 调整:导入时会保留auth_file_plan_type(prolite/promax)并用于套餐徽标展示(PRO 5x/PRO 20x);sub2api导出结构新增exported_at、type/version、proxies及账号级concurrency/priority字段。 - Codex 实例绑定现已支持独立 API 服务目标(
__api_service__):账号选择器、实例搜索与实例列表标签现已统一识别并展示 API 服务模式。 - API 服务模式下启动 Codex 实例现已写入真实实例目录配置:启动链路与普通实例切换一致走真实落盘路径,并在 provider 实际变化时自动触发历史可见性修复。
- 从 Codex 账号页激活 API 服务时,默认运行态指针现已同步:会清空默认 current account 指针,并把默认 Codex 实例绑定更新为 API 服务模式。
- Cockpit 启动时现会自动恢复已保存的本地 API 网关运行态:已启用的 API 服务配置无需每次手动重新激活。
- Codex 配额网络失败提示现已统一收敛:手动刷新提示不再直接回显后端原始错误详情。
- API 服务新增文案现已覆盖全部支持语言并保持 key 对齐:
zh-CN、en-US、en以及其余非英语语言包均已同步补齐。
Changelog (English)
[0.22.0] - 2026-04-18
Added
- Merged upstream workspace/CLI changes from PR #490 (
dcdeda2, based onca5aade): the repository is migrated to a Cargo Workspace, introducescockpit-coreas shared Rust logic, and initializescockpit-cliwith the first account list/switch flow for Cursor and Gemini. - Codex now includes full local API Service management on the account pages: an inline service card plus a dedicated panel can manage collection members, API key visibility/reset, service port, direct activate/test actions, and account collection edits in one workflow.
- API Service now records and displays usage metrics for totals and per-account views: request counts, token usage (input/output/cache/reasoning), average latency, and success rate are all visible in the service panel.
Changed
- Integrated Codex account/export adjustments from
5a2d970: Codex import now preservesauth_file_plan_type(prolite/promax) from file metadata and uses it in plan badges (PRO 5x/PRO 20x);sub2apiexport payload now includesexported_at,type/version,proxies, and per-accountconcurrency/priority. - Codex instance binding now supports a dedicated API Service target (
__api_service__): account pickers, instance search, and Codex instance labels now recognize and display API Service mode consistently. - Starting a Codex instance in API Service mode now applies the switch on the real profile directory: startup uses the same persisted on-disk path as normal instance switching, and triggers history-visibility repair when the effective provider changes.
- Activating API Service from Codex accounts now syncs default runtime pointers: Cockpit clears the default current-account pointer and updates the default Codex instance binding to API Service mode.
- Cockpit startup now auto-restores saved local API gateway runtime state: previously enabled API Service settings are resumed without manual reactivation.
- Codex quota error messaging for network failures is now normalized: manual-refresh hints no longer expose raw backend error details.
- New API Service locale keys are now fully synchronized across all supported locales:
zh-CN,en-US,en, and the remaining non-English locale packs all ship with matching keys.
Cockpit Tools v0.21.4
更新日志(中文)
[0.21.4] - 2026-04-16
新增
- Codex 账号导出现已支持 Cockpit Tools、sub2api 和 CPA 三种格式:导出弹框可在预览、复制和保存前切换目标格式,便于把 Codex 凭证直接迁移到对应工具。
- 实例页账号选择器现已支持按标签筛选:绑定账号时可在下拉内先搜索、再按标签收窄账号范围,大账号池里不再需要只靠邮箱硬找。
- 账号页现已支持键盘刷新快捷键:
Cmd/Ctrl + R以及 Windows 下的F5会直接触发当前页面可见的刷新操作,无需再点工具栏按钮。
变更
- 按标签分组的账号视图现已把默认组放到最前,并在保存标签后保留滚动位置:新加但尚未打标签的账号更容易被第一时间看到,编辑标签后也不会再把长列表强制拉回顶部。
- Codex 与 GitHub Copilot 表格现已针对大屏做布局收敛:订阅标签固定单行展示,粘性操作列与行背景保持一致,2K 宽度下的表格阅读更稳定。
- 悬浮卡片现已改为新配置默认不开机展示:新安装或首次生成配置时不会再自动弹出悬浮卡片窗口,只有用户主动开启后才会在启动时显示。
修复
- GitHub Copilot OAuth 导入现已在每次重试时重新申请新的设备码:授权失败后重试不再复用已失效的 8 位码,也不再需要重启应用才能继续添加账号。
Changelog (English)
[0.21.4] - 2026-04-16
Added
- Codex account export now supports Cockpit Tools, sub2api, and CPA formats: the export dialog can switch formats before preview, copy, or save so Codex credentials can be moved directly into each target tool.
- Instance account pickers now support tag filtering while binding accounts: instance dropdowns can search and narrow accounts by tags, making large account pools easier to bind without memorizing email addresses.
- Account pages now support keyboard refresh shortcuts:
Cmd/Ctrl + RandF5on Windows trigger the visible page refresh action without clicking the toolbar button.
Changed
- Tag-grouped account views now surface the default group first and keep scroll position after saving tags: newly added untagged accounts are easier to find, and editing tags no longer jumps long lists back to the top.
- Codex and GitHub Copilot table layouts are refined for large screens: subscription badges stay on one line, sticky action columns blend with row backgrounds, and 2K-width tables read more cleanly.
- Floating card startup is now disabled by default for new configs: fresh installs no longer auto-open the floating card window on launch unless users opt in.
Fixed
- GitHub Copilot OAuth account import now always issues a fresh device code for each new attempt: retrying after a failed authorization no longer reuses an expired 8-digit code or require an app restart.
Cockpit Tools v0.21.3
更新日志(中文)
[0.21.3] - 2026-04-13
新增
- Windsurf 账号接入现已重新支持邮箱密码登录,并补充批量导入:添加账号弹框现在既支持单个账号邮箱密码登录,也支持通过 JSON 数组或按分隔符逐行文本批量导入;批量失败项会返回明确的行级错误提示,成功登录后会立即同步受管账号数据。
- Codex 账号分组现已支持组内快速加号、直接移出与删除分组流程:可直接进入某个分组范围查看账号,通过选择器继续补充账号,按单个或批量方式把账号移出该分组,并在弹框内完成删除确认与错误提示。
变更
- 聚合账号页与 Codex 账号页现已补齐围绕分组视图的快捷操作入口:分组卡片、表格行以及组内面包屑工具栏现在都提供直接加账号入口;在 Codex 分组间移动账号时,也会自动排除当前来源分组,避免出现无效目标。
- 打开当前生效的 Codex
config.toml现已统一改走桌面端后端命令:快捷设置与模型供应商快捷配置卡片不再依赖前端直接按路径打开文件,而是通过 Tauri opener 命令解析并打开当前实际生效的配置文件。
Changelog (English)
[0.21.3] - 2026-04-13
Added
- Windsurf account onboarding now supports email/password sign-in again, including batch import: the add-account dialog now supports single-account login plus batch import from JSON arrays or delimiter-based text, and failed rows return explicit line-level error feedback while successful logins immediately sync managed account data.
- Codex account groups now support in-group quick add, direct removal, and group deletion workflows: users can enter a group as a scoped view, add more accounts from a picker, remove one or many accounts from that group, and delete the group with in-modal confirmation and error feedback.
Changed
- Shared Accounts and Codex account pages now expose faster group-entry actions around folder views: group cards, table rows, and in-group breadcrumb toolbars now provide direct add-account actions, and moving Codex accounts between groups excludes the current source group to avoid no-op targets.
- Opening the live Codex
config.tomlnow goes through the desktop backend instead of frontend path opening: Quick Settings and the model-provider quick config card now resolve and open the active file through the Tauri opener command for more reliable desktop behavior.
Cockpit Tools v0.21.2
更新日志(中文)
[0.21.2] - 2026-04-13
新增
- 设置页现已支持账号与应用配置的数据备份/导入包:可分别导出或导入“仅账号”“仅配置”或“两者一起”;配置恢复覆盖分组、实例、唤醒任务、当前账号刷新设置与 Codex 模型供应商数据,旧版仅账号备份也仍可导入,并会提示未能重映射的绑定或需重启的配置项。
- 设置页现已新增“备份管理”能力,用于定期本地备份:Cockpit 现可每天自动生成一份受管备份,统一保存在应用数据目录的
backups文件夹中,支持配置保留天数,并可在同一弹框内立即备份、导入已有备份或删除旧备份文件。 - Codex 会话管理现已支持把废纸篓中的会话恢复回原实例:恢复时会一并放回 rollout 文件、
session_index.jsonl条目和state_5.sqlite线程记录,不再需要手工补文件。
变更
- 各平台账号页现已统一为同一套分页与筛选体验:每个平台都可单独记住每页数量,表格/卡片视图下的选择与分组行为保持一致,标签和排序下拉在小窗口里也会自动翻转方向避免挡住内容。
- Gemini 账号表格现已直接显示 Pro / Flash 配额状态:无需切回卡片视图即可查看配额概览,剩余额度更容易快速扫读。
- 实例页账号选择器现已改为锚定浮层,并在靠近窗口边缘时自动调整展开方向:长列表会自动滚动到当前选中项,Trae 实例搜索也新增支持按显示名匹配。
- Codex 切号现已仅在实际 provider 发生变化后才自动修复历史会话可见性:切号成功后会比较切换前后的 provider,仅在发生变化时才联动修复 rollout/session 元数据与
state_5.sqlite。
移除
- Windsurf 账号接入现已不再提供邮箱密码登录:添加账号弹框现在仅保留 OAuth、Token 和本地 JSON 导入三条路径。
修复
- 各平台账号页现已明确展示配额查询失败与无数据状态:Cursor、Gemini、GitHub Copilot、Kiro、Qoder、Trae、Windsurf、Zed 以及聚合账号总览页现在都会持久化最近一次配额查询错误,界面会显示明确的失败提示,并在无有效配额数据时回退到清晰的“暂无配额数据”状态,不再静默渲染空白或含糊的配额区块。
- Codex 账号状态现已更稳定地与本地 OAuth 登录态保持一致:当前账号识别、切号准备、配额刷新和唤醒执行都会优先复用更新的本地登录数据,并把刷新后的 token 回写到受管目录,减少旧 token 残留导致的状态不一致。
- 后台自动刷新现已改为统一调度:各平台的配额刷新与当前账号刷新更不容易互相重叠或重复触发,整体刷新稳定性更好。
- Trae 刷新 token 时现会保留区域登录上下文并回写到本地认证状态:后续注入与续期所需的 host、region 和 refresh 过期信息会一并保留。
Changelog (English)
[0.21.2] - 2026-04-13
Added
- Settings now support data backup/import bundles for accounts and app config: export or import accounts only, config only, or both together; config restore covers groups, instances, wakeup tasks, current-account refresh settings, and Codex model-provider data, while legacy account-only backups remain importable and report when some bindings need remapping or a restart is required.
- Settings now include a Backup Manager for scheduled local backups: Cockpit can create one managed backup per day, keep backups in the app data
backupsdirectory with configurable retention, and let users run a backup immediately or import/delete existing backup files from the same dialog. - Codex Session Manager now supports restoring trashed sessions back to their original instances: restored sessions recover the rollout file, the
session_index.jsonlentry, and thestate_5.sqlitethread row together instead of requiring manual file repair.
Changed
- Provider account pages now share a unified pagination and filter experience: page size is configurable per platform, selection and grouping stay consistent across table and grid views, and tag/sort dropdowns auto-flip to remain usable in small windows.
- Gemini account tables now surface Pro / Flash quota status directly in list view: quota summaries are visible without switching back to card layout, making remaining capacity easier to scan.
- Instance account pickers now open in anchored floating menus that stay visible near window edges: long account lists keep the active option in view, and Trae instance search now also matches display names in addition to email and plan text.
- Codex account switching now auto-repairs historical session visibility only when the effective provider changes: after a successful switch, Cockpit compares the provider before and after the change and only then repairs rollout/session metadata together with
state_5.sqlite.
Removed
- Windsurf account onboarding no longer includes email/password login: the add-account dialog now focuses on OAuth, token, and local JSON import flows.
Fixed
- Quota refresh failures now surface explicit warning and empty states across provider account pages: Cursor, Gemini, GitHub Copilot, Kiro, Qoder, Trae, Windsurf, Zed, and the aggregated Accounts page now persist the last quota-query error, show a visible failure badge/message, and fall back to a clear
No quota datastate instead of silently rendering blank or ambiguous quota panels. - Codex account state now stays aligned with the live local OAuth session more reliably: current-account detection, switch preparation, quota refresh, and wakeup runs reuse newer local auth data and write refreshed tokens back to managed homes, reducing stale-token mismatches.
- Background auto refresh now runs through a unified scheduler: quota refresh and current-account refresh jobs across providers are less likely to overlap or double-trigger, improving refresh stability.
- Trae token refresh now preserves regional auth context when rewriting local auth state: refreshed sessions keep the host, region, and refresh-expiry metadata needed for follow-up injection flows.