@artale/pi-context

Context window intelligence for Pi. Usage prediction, message forecast, rate trending, auto-warnings.

Package details

extension

Install @artale/pi-context from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@artale/pi-context
Package
@artale/pi-context
Version
1.1.0
Published
Mar 14, 2026
Downloads
39/mo · 5/wk
Author
artale
License
MIT
Types
extension
Size
7.7 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "src/extension.ts"
  ]
}

Security note

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

README

pi-context

Context window awareness for Pi. Visual usage bar, auto-warnings at 70/85/95%.

Install

pi install npm:@artale/pi-context

Commands

/context              — show usage bar + stats
/context max 128000   — set max tokens for your model

License

MIT