CC Switch Account Switching Stops After Codex CLI 0.164.0
AI summary
A V2EX user reports that CC Switch stopped switching accounts after updating to Codex CLI 0.164.0, even when running the previous `tui_app_server` option. The user says version 0.164.0 removed that switch and reports that `codex --sandbox danger-full-access --no-daemon` restored account switching by bypassing a shared background service that may retain old login state.
In-depth insight
Users of CC Switch with Codex CLI 0.164.0 may have a practical workaround, but the report comes from only one user and has not been independently confirmed.
更新到 codex cli 0.164.0 版本后, 运行的
codex --disable tui_app_server
也没有办法 CC Switch 切换账号生效了。
解决方法
确认 0.164.0 已移除 tui_app_server 开关,旧参数无法再关闭它。CC Switch 写入账号文件;--no-daemon 会绕过可能保留旧登录状态的共享后台服务。
codex --sandbox danger-full-access --no-daemon
这样写就解决了