Skip to content

fix(cli): switch org after console logout#36276

Draft
opencode-agent[bot] wants to merge 1 commit into
devfrom
logout-org-switch
Draft

fix(cli): switch org after console logout#36276
opencode-agent[bot] wants to merge 1 commit into
devfrom
logout-org-switch

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • select the first available org after logging out of the active console account
  • leave the current selection unchanged when logging out of an inactive account
  • cover automatic fallback with an account service regression test

Testing

  • bun test test/account/service.test.ts test/account/repo.test.ts test/cli/account.test.ts
  • bun run lint -- packages/opencode/src/account/account.ts packages/opencode/test/account/service.test.ts
  • bun typecheck (local run hit the host process/thread limit; CI remains authoritative)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant