Skip to content

fix(core): persist selected console organization#37298

Open
opencode-agent[bot] wants to merge 1 commit into
devfrom
device-org-select
Open

fix(core): persist selected console organization#37298
opencode-agent[bot] wants to merge 1 commit into
devfrom
device-org-select

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • consume the organization selected during Console device approval
  • persist the returned org_id instead of choosing the alphabetically first organization
  • fail login if the selected organization is no longer available

Depends on anomalyco/opencode-console#953. Fixes #37161.

Tests

  • bun typecheck (packages/core)
  • bun test test/plugin/provider-opencode.test.ts

@opencode-agent opencode-agent Bot force-pushed the device-org-select branch from d1babf6 to 745e696 Compare July 16, 2026 14:20
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.

v2: Opencode Zen models return CreditsError while works with v1

1 participant