@pi-plugins/elapsed
Working timer extension for pi-agent: shows how long the agent has been working.
Package details
Install @pi-plugins/elapsed from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@pi-plugins/elapsed- Package
@pi-plugins/elapsed- Version
0.2.1- Published
- Nov 9, 2026
- Downloads
- 547/mo · 249/wk
- Author
- kedom1337
- License
- MIT
- Types
- extension
- Size
- 1.1 MB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.mjs"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@pi-plugins/elapsed
[!WARNING] This package is deprecated. Use
@pi-plugins/no-spinnerinstead. Each tick of the timer redraws the whole transcript, which still takes a lot of CPU in sessions with long tool output.no-spinnerkeeps the working indicator still, so pi redraws only when something else changes.To switch:
pi remove npm:@pi-plugins/elapsed pi install npm:@pi-plugins/no-spinner
Track how long the agent has been working in pi with a live timer in the working indicator.
Install
pi install npm:@pi-plugins/elapsed
To try it for one session without changing your settings:
pi -e npm:@pi-plugins/elapsed
Usage
Send a prompt. The working indicator shows elapsed time in place of pi's spinner:
Working... 1m 04s
The timer starts at 0s for each agent run and disappears when it ends. It includes
time spent using tools. There are no commands or settings.
Notes
- Available only in interactive terminal mode.
- Automatic retries can reset the timer.
- Pi's spinner redraws the whole transcript every 80 ms, which takes a lot of CPU in long fullscreen sessions.
- Use
speedfor generation speed and time to first token.