pi-thinking-status

Names the silent phases of a pi turn (connecting, processing, thinking) in the working loader

Packages

Package details

extension

Install pi-thinking-status from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-thinking-status
Package
pi-thinking-status
Version
0.2.1
Published
Jul 30, 2026
Downloads
169/mo · 26/wk
Author
peron_js
License
MIT
Types
extension
Size
5.9 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

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-status

Behavior

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