Skip to content

summertime-wu/pi-tps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pi-tps

TPS (tokens per second) stats widget with waterfall trace visualization for pi coding agent.

pi-tps preview

Features

  • Real-time TPS (tokens per second) display
  • Token usage tracking (input/output)
  • Waterfall trace visualization
  • Tool call monitoring
  • Thinking token stats
  • TTFT (time to first token) tracking
  • Color presets (morandi, forest, ocean, retro, ice, dusk, mono, nord)

Install

pi install npm:pi-tps

Usage

The widget appears automatically in the pi TUI status bar.

Commands

  • /pi-tps - Configure display settings

Configuration

Config file: ~/.pi/agent/pi-tps.json

{
  "showTraces": true,
  "showStats": true,
  "showTtft": false,
  "colorPreset": "mono",
  "maxTraces": 100,
  "maxDetailed": 6
}

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors