← Catalog

pi-context-info

Shows last-turn uploaded context, turn count and average per turn in the Pi status bar

Package

Install

Install with PiG

pig install npm:pi-context-info

Install with Pi

pi install npm:pi-context-info
Review before installing

Packages 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": [
    "./extensions/context-info.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.

pi-context-info

Pi extension that shows uploaded context in the status bar:

(61K, 3 x 58K)
  • 61K — prompt tokens uploaded by the last turn (uncached input + cache reads + cache writes)
  • 3 — turns so far
  • 58K — average uploaded tokens per turn

Install

pi install npm:pi-context-info

Or try it for one run:

pi -e npm:pi-context-info

Test

npm test

License

MIT