pi-thinking-status
v0.2.1
Published
Names the silent phases of a pi turn (connecting, processing, thinking) in the working loader
Maintainers
Readme
pi-thinking-status
A pi extension that names the silent phases of a turn in the working loader, so a stall is attributable instead of looking like a hang.
A model that queues, prefills a large prompt, or reasons without emitting a visible thinking trace
all look the same in pi: a static Working..., indistinguishable from a hung request.
Install
pi install npm:pi-thinking-statusBehavior
Pi's loader says Working... for every silent phase of a turn. This extension names them:
| Label | Meaning |
|---|---|
| Connecting... | provider payload built and about to be sent, no response yet |
| Processing... | response received or stream opened, nothing decoded yet — provider queue plus prompt processing |
| Thinking... | a thinking block is open but has produced no printable content |
The label clears — restoring pi's Working... — as soon as output becomes visible: a thinking delta
with printable content, the end of the thinking block, text, a tool call, or the end of the turn.
The label replaces pi's working message, so it conflicts with other extensions that call
ctx.ui.setWorkingMessage().
Requires pi 0.67.6 or later.
Develop
bun install
bun run verify # biome + tsc
pi -e ./extensions/index.ts