@charmland/pi-hyper-provider

Pi extension for Charm's Hyper inference provider

Packages

Package details

extension

Install @charmland/pi-hyper-provider from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@charmland/pi-hyper-provider
Package
@charmland/pi-hyper-provider
Version
0.1.2
Published
Jul 21, 2026
Downloads
359/mo · 22/wk
Author
amolith
License
MIT
Types
extension
Size
43.3 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

@charmland/pi-hyper-provider

npm version

A Pi extension that registers Charm's Hyper inference provider with Pi, supporting API keys or OAuth, dynamic model discovery, and optionally showing your team name and Hypercredit balance in the status line.

# via NPM
pi install npm:@charmland/pi-hyper-provider

# via git
pi install git:github.com/charmbracelet/pi-hyper-provider

Usage

  • To authenticate with OAuth, open pi, send /login, pick Subscription, and select the Charm Hyper provider.
  • To authenticate with an API key, set the HYPER_API_KEY environment variable then open pi.

Pick a Hyper model by sending /model and filtering by either provider name hyper or model-name like glm-5.1.

Model info is fetched at startup and cached locally; the cache is used as a fallback when the Hyper provider catalog is unreachable. By default, your remaining Hypercredit balance is shown in the status line while a Hyper model is active.

Use /hyper-status to configure the status line interactively and toggle things on/off or reset to the defaults. teamName defaults to false and hypercredits defaults to true. You can also set values directly:

/hyper-status teamName true
/hyper-status hypercredits false
/hyper-status reset

Contributing

See the contributing guide.

Releasing

  1. mise run release:bump <patch|minor|major|prepatch|preminor|premajor|prerelease> to increment the version
  2. mise run release:pack to dry-run build the release tarball
  3. mise run release:publish to publish

Whatcha think?

We’d love to hear your thoughts on this project. Need help? We gotchu. You can find us on:

License

MIT


Part of Charm.