pi-tui-prompt-box

A prompt box style for Pi that combines with other styling extensions

Packages

Package details

extension

Install pi-tui-prompt-box from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-tui-prompt-box
Package
pi-tui-prompt-box
Version
0.1.1
Published
Nov 12, 2026
Downloads
547/mo · 212/wk
Author
dimk90
License
MIT
Types
extension
Size
45.8 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "image": "https://media.githubusercontent.com/media/dimk90/pi-tui-prompt-box/d40318c625f33ef90f99108bb0536a8872174cab/doc/images/pi-tui-prompt-box.png",
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

pi-tui-prompt-box

An alternative style for the prompt input in Pi.

It styles the prompt box and nothing else. Other TUI components are only moved to line up with the box. Their content and styling stay unchanged.

It is a building block, not a full theme: combine it with your favorite footer, completion menu, or any other styling extension.

Demo

Demo: thinking levels and bash mode

Install

pi install npm:pi-tui-prompt-box

Side Effects

  • Moves the chat, widgets, dialogs, and footer right so they line up with the prompt box. Their content and styling stay unchanged.

  • Removes the model, provider, and thinking level from the default footer, as the prompt box already shows them. Custom footers stay unchanged.

  • Moves Pi's busy indicator (spinner and message) into the prompt box. Custom spinner widgets stay unchanged.

  • Replaces Pi's editor, so it does not work together with other extensions that replace the editor.

Context Footprint

None. The extension only changes the terminal UI: it adds no tools, prompt sections, or messages to the model context.

My Other Stuff

📌 S-VHS - A terminal recorder used to create the demo GIFs.

📌 pi-context-view - Pi extension to visualize context usage and inspect its hidden parts.

License

MIT