Install
Install with PiG
pig install npm:pi-thinking-timerInstall with Pi
pi install npm:pi-thinking-timerPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"image": "https://raw.githubusercontent.com/xRyul/pi-thinking-timer/main/assets/demo.gif",
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.9 (README.md). PiG does not review it.
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.
Some providers, such as Claude Code with hidden reasoning, stream signed thinking with no text. Pi normally renders nothing for those blocks; this extension shows the same collapsed Thinking... 6.5s label for them instead.
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).
After updating, run /reload and send a new prompt. Timings from before a reload or restart are not retained.
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 ./index.ts
Run the renderer regression tests against the installed pi development dependencies:
npm install --ignore-scripts
npm test
License
MIT