v2.1.13-beta.1
Pre-release
Pre-release
v2.1.13-beta.1
Workspace labels no longer vanish after login, and you can now manage workspaces from the CLI.
What's new
statusandlistshow every workspace for accounts with more than one, marking the active one and flagging disabled ones.workspace <account> [workspace]lists an account's workspaces, or switches to one and saves it.login --org <org_id>logs in to a specific workspace, so you can add a second one instead of always getting the default.
Fixes
- Workspaces saved at login were thrown away on the next load, so labels were empty and two accounts on the same email looked identical. They now stick.
- Account labels now show the active workspace, like
Account 1 ([Personal Plus], user@gmail.com, id:g-AAAA). Accounts without one keep the old format.
Heads up
- This doesn't fix #486:
doctorshows green while the runtime returns503. - It's unconfirmed whether a real two-workspace login returns both orgs at once or one at a time. Both are handled (
workspacefor the first,login --orgfor the second). A sanitisedaccounts.jsonfrom a real two-workspace account would settle it.
Upgrade
npm i -g codex-multi-auth@beta