← Catalog

@pi-plugins/no-spinner

Spinner remover for pi-agent: stops the working spinner from redrawing the screen 12 times a second.

Extension

Install

Install with PiG

pig install npm:@pi-plugins/no-spinner

Install with Pi

pi install npm:@pi-plugins/no-spinner
Review before installing

Packages 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.

{
  "extensions": [
    "./dist/index.mjs"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.

@pi-plugins/no-spinner

Keep pi light on CPU while it works by removing the animated spinner from the working indicator.

Install

pi install npm:@pi-plugins/no-spinner

To try it for one session without changing your settings:

pi -e npm:@pi-plugins/no-spinner

Usage

Send a prompt. The working indicator shows pi's working message without the spinner. There are no commands or settings.

Why

Pi redraws the screen for every spinner frame, 12 times a second, and each redraw renders the transcript again. In a long session that takes a large share of a CPU core for as long as pi works: about 40% in fullscreen mode and 18% in regular mode, compared with 4 to 6% without the spinner. Without the spinner, pi redraws only when something on screen changes.

Notes

  • Available only in interactive terminal mode.
  • Pi still redraws once a second while a bash or codemode tool runs, to update its duration.