@charmland/pi-hyper-provider
v0.1.0
Published
Pi extension for Charm's Hyper inference provider
Keywords
Readme
@charmland/pi-hyper-provider
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-providerUsage
- To authenticate with OAuth, open
pi, send/login, pickSubscription, and select theCharm Hyperprovider. - To authenticate with an API key, set the
HYPER_API_KEYenvironment variable then openpi.
Pick a Hyper model by sending /models 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 /models endpoint 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 resetContributing
See the contributing guide.
Releasing
mise run release:bump <patch|minor|major|prepatch|preminor|premajor|prerelease>to increment the versionmise run release:packto dry-run build the release tarballmise run release:publishto publish
Whatcha think?
We’d love to hear your thoughts on this project. Need help? We gotchu. You can find us on:
License
Part of Charm.
