Skip to content

v2.1.13-beta.1

Pre-release
Pre-release

Choose a tag to compare

@ndycode ndycode released this 31 May 02:35
· 604 commits to main since this release
33e4b22

v2.1.13-beta.1

Workspace labels no longer vanish after login, and you can now manage workspaces from the CLI.

What's new

  • status and list show 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: doctor shows green while the runtime returns 503.
  • It's unconfirmed whether a real two-workspace login returns both orgs at once or one at a time. Both are handled (workspace for the first, login --org for the second). A sanitised accounts.json from a real two-workspace account would settle it.

Upgrade

npm i -g codex-multi-auth@beta