Files
paseo/plugins/opencode-go-usage-source/server
Mohamed Boudra 065e4a95b1 Show OpenCode Go usage for the credential OpenCode serves Go with (#10612)
* fix(usage): follow the OpenCode credential that serves Go

OpenCode 2 serves OpenCode Go with the active credential on the
opencode integration when that Console workspace has Go, and uses the
opencode-go key only otherwise. The usage card now reads the same
credential: a Console sign-in (with its organization) first, then a key
on opencode, then the opencode-go key. Keys read the Console Go status
before the usage API, which floors each percent.

Refs #6428

* fix(usage): keep OpenCode Go usage on the sign-in through outages

A Console outage no longer shows the fallback key's usage, and a slow
Console probe no longer uses up the refresh deadline for a working key.

* fix(usage): skip OpenCode keys saved for another Console

A key on the opencode integration can name its own Console server.
Usage now leaves it alone instead of sending it to opencode.ai.
2026-11-23 23:07:16 +07:00
..