User impact
GSwitch depends on the locally installed Codex CLI for account checks, but users cannot see which CLI version it uses or update it from GSwitch. A CLI startup failure currently sends users to an external manual step.
Requested behavior
- Show the version of the same Codex CLI executable that GSwitch uses.
- Offer an explicit update action through the CLI's official
codex update command when that command is supported.
- Block the update while an external Codex runtime or another GSwitch account operation is active.
- Recheck and display the CLI version after the command; keep installation and update failures actionable without exposing raw command output.
- Keep saved accounts and Codex credentials untouched. Do not update automatically.
Acceptance
- English and Simplified Chinese show installed, missing, updating, success, and failure states.
- A CLI without an
update subcommand offers official manual guidance rather than treating update as a prompt.
- Tests use a fake CLI or mocks; they do not update the maintainer's installed CLI or operate on real accounts.
- Deliver the feature with the next public Windows release and keep the account-switching issue open until real-account verification.
User impact
GSwitch depends on the locally installed Codex CLI for account checks, but users cannot see which CLI version it uses or update it from GSwitch. A CLI startup failure currently sends users to an external manual step.
Requested behavior
codex updatecommand when that command is supported.Acceptance
updatesubcommand offers official manual guidance rather than treatingupdateas a prompt.