pi-claude-max1.1.2
Pi extension that consumes Claude Pro/Max subscription usage instead of extra usage.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-claude-max
A Pi extension that consumes Claude Pro/Max subscription usage instead of extra usage.
Note: This makes Pi identify to Anthropic's API the way the official Claude Code CLI does. Using a third-party harness with your subscription may be against Anthropic's terms; understand the risk before using it.
Install
# from npm
pi install npm:pi-claude-max
# or from git
pi install git:github.com/bradennss/pi-claude-max
# try it for a single run without installing
pi -e npm:pi-claude-max
Then, optionally, silence the extra-usage warning by adding to ~/.pi/agent/settings.json:
{
"warnings": { "anthropicExtraUsage": false }
}
Requirements
- Pi authenticated with an Anthropic OAuth token via
/login anthropic. - Node.js >= 20.
Development
pnpm install
pnpm run check
Contributing
Every change that affects the published package needs a changeset. Add one before opening a pull request:
pnpm changeset
CI blocks pull requests that change the package without a changeset. For changes that should not trigger a release, add an empty changeset with pnpm changeset --empty or apply the @changesets/skip label.
Releasing
Releases are automated with Changesets:
- Merging changesets into
mainopens or updates a Version Packages pull request that bumps the version and updatesCHANGELOG.md. - Merging that pull request publishes to npm and creates the matching GitHub release and tag.