@mholtzscher/pi-opencode-usage

Pi extension: opencode.ai usage status meter

Packages

Package details

extension

Install @mholtzscher/pi-opencode-usage from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@mholtzscher/pi-opencode-usage
Package
@mholtzscher/pi-opencode-usage
Version
0.1.1
Published
Sep 17, 2026
Downloads
312/mo · 7/wk
Author
mholtzscher
License
MIT
Types
extension
Size
6.8 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@mholtzscher/pi-opencode-usage

Pi extension: shows remaining opencode.ai quota (rolling / weekly / monthly) in the status bar (refreshed on session start and when the agent settles).

Falls back to OPENCODE_API_KEY when no opencode-go model auth is found.

Add "npm:@mholtzscher/pi-opencode-usage" to the packages array in ~/.pi/agent/settings.json.