更新日志(中文)
[0.17.0] - 2026-03-19
新增
- Codex 切号新增可选的 OpenClaw 登录覆盖开关:设置页与快捷设置新增
openclaw_auth_overwrite_on_switch;关闭时仅切换 Codex,不改写 OpenClaw 当前登录态。
变更
- Codex 到 OpenClaw 的凭据同步升级为
openai-codex:default全链路写入与校验:切号时会更新 OpenClawauth-profiles.json、清理旧openai-codex:*档案、同步候选路径,并校验账号/邮箱/过期时间与 Codex 凭据一致。 - macOS 上 Codex 切号会同时更新 Keychain 的
Codex Auth记录:保证 external-cli/OpenClaw 读取到的凭据与当前 Codex 账号一致。 - OpenClaw 同步后的运行态刷新增加重试机制以加快生效:同步后会尝试执行
secrets reload与gateway restart,失败时自动再试一次并输出可诊断日志。
Changelog (English)
[0.17.0] - 2026-03-19
Added
- Codex account switching now supports an optional OpenClaw login-overwrite toggle: Settings and Quick Settings now expose
openclaw_auth_overwrite_on_switch; when disabled, only Codex is switched and OpenClaw keeps its current login state.
Changed
- Codex-to-OpenClaw credential sync now writes and verifies
openai-codex:defaultend-to-end: switch flow now updates OpenClawauth-profiles.json, cleans staleopenai-codex:*profiles, syncs candidate paths, and validates account/email/expiry consistency with Codex credentials. - macOS Codex switching now updates keychain
Codex Authalongsideauth.json: keeps external-cli/OpenClaw credential reads aligned with the active Codex account. - OpenClaw post-sync runtime refresh now retries reload/restart for faster effect: after sync it attempts
secrets reloadandgateway restart, then performs one retry and logs actionable diagnostics if consistency checks still fail.