pi-glance
A rounded editor and adaptive status line for Pi.
Package details
Install pi-glance from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-glance- Package
pi-glance- Version
0.7.7- Published
- Oct 15, 2026
- Downloads
- 1,473/mo · 437/wk
- Author
- linys77
- License
- MIT
- Types
- extension
- Size
- 288.2 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"image": "https://raw.githubusercontent.com/LinYS77/pi-glance/main/assets/themes.gif",
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
◌ pi-glance
A rounded editor and status line for Pi.
English · 简体中文
Install
# Try it for one session
pi -e npm:pi-glance
# Or install it
pi install npm:pi-glance
Restart Pi or run /reload.
Features
- Rounded editor — Pi's editing, history, autocomplete and keybindings stay unchanged.
- Adaptive status line — Git · Cost · Output throughput · Context · Tokens · Extensions · Model. Model is the last item hidden.
- Prompt stash —
alt+sputs input aside; press again to restore or swap. - Activity — bottom-border text, or sweeps for work/summaries and blinking for retries. Adjust speed, color, summary multiplier and blink rate.
- 22 palettes — light and dark choices with live preview.
No runtime dependencies. No telemetry.
Output throughput
tok/s is average output throughput, not raw decode speed: total provider-reported output tokens (including reasoning and tool calls), divided by the summed observed request durations. Reasoning is already included in output and is neither subtracted nor added again. Timing includes initial latency and thinking, but excludes tool execution, gaps between requests and blocking UI prompts.
Pi session-level retries exclude failed attempts and their backoff. SDK-internal or upstream retries may remain inside the observed request duration; their waiting time cannot be reliably separated.
~ marks the average of completed requests in the current run; it becomes final when the run settles. A fresh run clears the old rate. Missing or ambiguous boundaries, or invalid timing/output usage, show unknown; no tokens are guessed from chunks, and no speed cap is applied.
Configure
Run /glance for Appearance, Status line, Activity, and Input settings. Tab switches sections, arrows adjust, and S saves.
The full-width preview sits below settings. Closing preserves input and cursor.
Previews use example data.
Notes
- Nerd Font icons are enabled by default. For regular fonts, select
Plainin/glance→ Appearance → Icons. - Activity defaults to Text. Choose Sweep under Activity for border effects.
- Git Summary shows changed files and tracked
+ / −lines. Local polling slows from 5 to 30 seconds while unchanged; activity brings refreshes forward. External edits are picked up by polling. Auto fetch checks upstream every 5 minutes; disable under Status line → Git. - Drafts persist per session until restored.
--no-sessionkeeps them in memory. - Extensions shows compatible plugins' status text. Toggle, reorder or inspect under Status line; empty groups stay hidden.
- Other editor or footer extensions may override parts of Glance's display.
- Requires Pi 1.0.0+ and Node.js 22.19.0 or newer.
Update
pi update npm:pi-glance
Contributing
Issues and pull requests are welcome. Development notes: CONTEXT.md.
License
MIT © 2026 linys77
