Install
Install with PiG
pig install npm:@saifymatteo/pi-prestart-workingInstall with Pi
pi install npm:@saifymatteo/pi-prestart-workingPackages 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/saifymatteo/pi-extensions/main/packages/pi-prestart-working/screenshot.png",
"extensions": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.5 (README.md). PiG does not review it.
@saifymatteo/pi-prestart-working

A slow before_agent_start hook normally leaves the UI silent after you press Enter. With this extension, the spinner names the extension that is running.
Purpose and registrations
Shows Pi's native "Working" spinner, labelled with the extension currently blocking (e.g. ⠙ Loading extension: hindsight-coding-agents), while before_agent_start hooks run. Pi only raises its working indicator at turn_start, so slow handlers otherwise leave the UI silent. No tools, commands, or configuration.
Compatibility and safety
Patches ExtensionRunner.prototype.emitBeforeAgentStart once per process (guarded by a global symbol, so /reload does not double-wrap) and relies on the runner's internal extensions, handlers, and uiContext shapes. These are host internals, not a public API: a host release that renames them breaks the patch. The label is the nearest package.json name (scope dropped), else the file name. No-op without UI.
Imported host APIs are declared as peer dependencies and supplied by the Pi host. A * peer range describes host resolution, not a guarantee of compatibility with every release.
Running locally
From the repository root:
pi -e ./packages/pi-prestart-working
Follow the root README to avoid loading an existing copy of the extension.
Status
Part of the pi-extensions collection. No personal settings or credentials are included; see NOTICE.md for licensing and provenance.