@carlosgtrz/pi-run-timer
Pi extension that shows elapsed, previous, and longest agent run times in the footer.
Package details
Install @carlosgtrz/pi-run-timer from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@carlosgtrz/pi-run-timer- Package
@carlosgtrz/pi-run-timer- Version
0.1.2- Published
- May 2, 2026
- Downloads
- 195/mo · 195/wk
- Author
- carlosgtrz
- License
- MIT
- Types
- extension
- Size
- 29.2 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@carlosgtrz/pi-run-timer
Pi extension that shows agent run timing in the footer/status line.
It displays:
- elapsed time for the current run
- duration of the previous completed run
- longest run duration in the current session branch, with a very short prompt preview
A run is one continuous busy period from the first agent_start after idle until agent_end with no pending messages. Steering and follow-up prompts remain part of the same run.
State is saved into the Pi session and restored after /reload.
Install
pi install npm:@carlosgtrz/pi-run-timer
Try without installing permanently:
pi -e npm:@carlosgtrz/pi-run-timer
For one-off testing from this repo:
pi -e ./packages/run-timer
Usage
Start Pi normally:
pi
The footer/status line will show timing information automatically while the agent is working and after each completed run.
Example status:
● run 01:23 · prev 00:40 · max 03:12 (Review README…)
The longest-run prompt preview is limited to 15 characters.
License
MIT