@carlosgtrz/pi-run-timer
v0.1.3
Published
Pi extension that shows elapsed, previous, and longest agent run times in the footer.
Maintainers
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-timerTry without installing permanently:
pi -e npm:@carlosgtrz/pi-run-timerFor one-off testing from this repo:
pi -e ./packages/run-timerUsage
Start Pi normally:
piThe 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
