@ravshansbox/pi-tps
Tokens-per-second notification extension for pi
Package details
Install @ravshansbox/pi-tps from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ravshansbox/pi-tps- Package
@ravshansbox/pi-tps- Version
2.0.3- Published
- Nov 1, 2026
- Downloads
- 717/mo · 245/wk
- Author
- ravshansbox
- License
- MIT
- Types
- extension
- Size
- 5.8 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
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