opencode-mystatus icon indicating copy to clipboard operation
opencode-mystatus copied to clipboard

opencode-go provider not supported (Go plan quota invisible)

Open FelipeTesta opened this issue 4 months ago • 0 comments

## Bug: opencode-go provider not supported

The OpenCode Go plan (subscription $5/$10/month) stores credentials under the key opencode-go in auth.json. This plugin does not recognize this provider, so Go plan quota is invisible.

// ~/.local/share/opencode/auth.json
{
  "opencode-go": {
    "type": "api",
    "key": "sk-..."
  }
}

The Go plan has a 5-hour request limit that is the primary quota bottleneck for Go subscribers. Without visibility, users cannot tell when they will hit the limit.

Expected: Plugin queries the Go plan quota API and displays remaining requests / reset time.

Actual: opencode-go key is ignored silently. Only GitHub Copilot appears in output (since github-copilot is the only matching key).

Environment

  • OS: Windows 11
  • opencode-mystatus: latest (v1.2.4)
  • OpenCode auth.json keys present: google, groq, deepseek, github-copilot, opencode-go

Suggested fix

Add opencode-go as a supported provider. Query the Go plan quota API (likely the same endpoint pattern as Zhipu/Z.ai: https://api.z.ai/api/monitor/usage/quota/limit or similar) and display remaining requests + reset time for the 5-hour limit.

FelipeTesta avatar Jul 03 '26 18:07 FelipeTesta