@raunak07/pi-statusline
Amp-inspired status line and sticky input UI for Pi Coding Agent
Package details
Install @raunak07/pi-statusline from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@raunak07/pi-statusline- Package
@raunak07/pi-statusline- Version
0.1.6- Published
- Jul 19, 2026
- Downloads
- 889/mo · 64/wk
- Author
- raunak07
- License
- MIT
- Types
- extension, theme
- Size
- 95.9 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
],
"themes": [
"./themes"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi Statusline
An Amp-inspired input for Pi Coding Agent, with an optional sticky terminal layout that keeps the editor visible while chat history scrolls, plus a session cost breakdown command.

Installation
As a pi package
pi install git:github.com/Raunak0713/pi-statusline
pi install npm:@raunak07/pi-statusline
Features
1. Amp-inspired input bar
Minimal chrome with rounded borders and information-rich labels:
- Top-left: Bash mode indicator (
$prompt on!prefix) + live agent timer - Top-right: Session cost, model name, thinking level (capitalized), context usage %
- Auto-refreshing timer and cost
2. Sticky input
Keep the input bar pinned while chat history scrolls. Toggle with /input-style.
3. Cost breakdown (/cost)
Scans all sessions and shows an aggregated table:

- All values centered in their cells
- Costs always round down (floor to 2 decimals)
- Model names stripped of provider prefix
- Widget auto-dismisses when you start typing
4. Bundled themes
Two themes for a cohesive look:
amp— Clean black & white with grey tonesamp-colorful— Vibrant neon cyberpunk on deep purple
Select via /settings → Theme.
Commands
| Command | Action |
|---|---|
/cost |
Show cost breakdown across all sessions |
/input-style |
Toggle sticky input on/off |
/settings → Theme |
Switch between bundled themes |
Credits
Originally cloned and adapted from VinhLe1410/pi-custom-input.