@carlosgtrz/pi-run-timer0.2.1
Pi extension that shows elapsed, previous, and longest agent run times in the footer.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@carlosgtrz/pi-run-timer
Pi extension that shows agent run timing in the footer/status line.
Requires Pi 0.80.10 or newer.
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_settled, including retries, compaction recovery, and queued steering or follow-up prompts.
State is saved into the Pi session and restored after /reload. Navigating with /tree restores the selected branch's statistics. Resuming an idle session discards any saved active-run timestamp, so time spent outside Pi is not counted.

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