pi-glance

A rounded editor and adaptive status line for Pi.

Packages

Package details

extension

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.2
Published
Sep 21, 2026
Downloads
1,892/mo · 307/wk
Author
linys77
License
MIT
Types
extension
Size
285.9 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 · 简体中文

npm CI license pi

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 · Model speed · Context · Tokens · Extensions · Model. Model is the last item hidden.
  • Prompt stashalt+s puts 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.

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 Plain in /glanceAppearanceIcons.
  • Upgrading switches activity to Text. Choose Sweep under Activity to restore effects; previous speeds and colors are kept.
  • Git Summary shows changed files and tracked + / − lines. Auto fetch checks upstream every 5 minutes; disable under Status line → Git.
  • Drafts persist per session until restored. --no-session keeps 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 0.86.1+ 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