Skip to content

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

Description

@FelipeTesta

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions