Install
Install with PiG
pig install npm:@ravshansbox/pi-tpsInstall with Pi
pi install npm:@ravshansbox/pi-tpsPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 2.0.3 (README.md). PiG does not review it.
pi-tps
Tokens-per-second notification extension for pi.
Install
pi install npm:@ravshansbox/pi-tps
Add -l to install it in project settings.
Usage
Pi loads the extension from ./index.ts and shows a TUI notification after each agent run with token counts, throughput, elapsed time, and cost.
For example, after an assistant response finishes, pi can show a notification such as ↑12k ↓1.4k ↯84.2 16.7s $0.031 • (anthropic) claude-sonnet • thinking off.
Development
npm install
npm run check