@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.1- Published
- Oct 16, 2026
- Downloads
- 247/mo · 247/wk
- Author
- ravshansbox
- License
- MIT
- Types
- extension
- Size
- 5.9 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
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