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).
pi install npm:pi-thinking-timerThen restart pi (or run /reload) and ensure the extension is enabled (use pi config if you manage resources explicitly).
pi -e npm:pi-thinking-timerpi install git:github.com/xRyul/pi-thinking-timer- 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.
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.tsMIT
