Skip to content

feat(pi-minimal-footer): add opencode code go subscription usage - #28

Merged
ogulcancelik merged 1 commit into
ogulcancelik:mainfrom
roele:issues/minimal-footer-opencode
Aug 12, 2026
Merged

feat(pi-minimal-footer): add opencode code go subscription usage#28
ogulcancelik merged 1 commit into
ogulcancelik:mainfrom
roele:issues/minimal-footer-opencode

Conversation

@roele

@roele roele commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

With anomalyco/opencode#16513 the OpenCode Go usage endpoint was finally added.

Copilot AI lite review requested due to automatic review settings August 12, 2026 18:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds OpenCode Go subscription usage support to the pi-minimal-footer extension, aligning with the newly available OpenCode Go usage endpoint so the footer can display usage bars when the active model provider is opencode-go.

Changes:

  • Added OpenCode Go auth token retrieval helper.
  • Implemented an OpenCode Go usage fetcher against https://opencode.ai/zen/go/v1/usage and mapped response windows to footer rate bars.
  • Wired opencode-go into provider detection and usage dispatch.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/pi-minimal-footer/index.ts Outdated
Comment thread packages/pi-minimal-footer/index.ts
@roele
roele force-pushed the issues/minimal-footer-opencode branch from 6b7f592 to b59f916 Compare August 12, 2026 18:56
@ogulcancelik
ogulcancelik merged commit fddbd6e into ogulcancelik:main Aug 12, 2026
@ogulcancelik

Copy link
Copy Markdown
Owner

finally! ty

@roele
roele deleted the issues/minimal-footer-opencode branch August 14, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants