pi-thinking-timer
Pi extension that shows a live timer next to collapsed Thinking blocks.
Package details
Install pi-thinking-timer from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-thinking-timer- Package
pi-thinking-timer- Version
0.1.4- Published
- Apr 6, 2026
- Downloads
- 237/mo · 25/wk
- Author
- xryul
- License
- MIT
- Types
- extension
- Size
- 10.9 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./thinking-timer.ts"
],
"image": "https://raw.githubusercontent.com/xRyul/pi-thinking-timer/main/assets/demo.gif"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-thinking-timer

A small pi extension that shows a live timer next to the collapsed Thinking label.
Instead of only:
Thinking...
you’ll see something like:
Thinking... 6.5s
It updates live while the model is thinking and leaves the final duration when thinking ends.
Note: This extension patches pi’s internal
AssistantMessageComponentrender/update behavior. If pi changes its internal UI structure, the extension may stop working (it should fail safely and simply show the defaultThinking...text).
Install
Option A: Install from npm (recommended)
pi install npm:pi-thinking-timer
Then restart pi (or run /reload) and ensure the extension is enabled (use pi config if you manage resources explicitly).
Option B: Try without installing (temporary)
pi -e npm:pi-thinking-timer
Option C: Install from GitHub
pi install git:github.com/xRyul/pi-thinking-timer
Usage
- Use a model/thinking level that produces thinking blocks.
- Collapse/expand thinking blocks with Ctrl+T.
- When collapsed, the label will show the elapsed time.
There are no settings.
Development
Clone and run pi with the local extension file:
git clone https://github.com/xRyul/pi-thinking-timer
cd pi-thinking-timer
pi -e ./thinking-timer.ts
License
MIT