npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@taterdoge/pi-status

v1.2.0

Published

Configurable status bar with border decorations around the Editor for Pi.

Readme

@taterdoge/pi-status

npm version License: MIT

Configurable Pi extension that wraps the Editor with a live status bar using border decorations.

preview

Features

  • Status bar rendered as border decorations around the Editor
  • Four configurable zones: top-left, top-right, bottom-left, bottom-right
  • Real-time segments for activity state, cwd, turn, active tool, git, runtime, model, thinking, TPS, tokens, context, and cost
  • Configurable components, zones, separator, and context bar presets
  • Interactive /pi-status menu for toggling settings
  • Settings stored in Pi's extension config directory, with optional project override

Install

pi install npm:@taterdoge/pi-status

Or try without installing:

pi -e npm:@taterdoge/pi-status

Commands

/pi-status                open interactive menu
/pi-status components     configure components and zones
/pi-status separator      change the separator
/pi-status context-style  choose a context bar preset
/pi-status reset          write default config to config.json

Available components

| Component ID | Description | Default Zone | | --- | --- | --- | | status | Activity state: idle, running, tool, error, or stale | top-left | | cwd | Working directory basename | top-left | | turn | Current turn number | top-left | | current_tool | Currently executing tool name | top-left | | git | Git branch plus dirty/ahead-behind summary | top-left | | runtime | Detected project runtime and version | top-left | | model | Current provider + model | bottom-left | | thinking | Thinking level | bottom-left | | tps | Tokens per second | bottom-left | | tokens | Session input/output token totals | bottom-right | | context | Context window usage | bottom-right | | cost | Session cost from provider-reported usage | top-right |

Configuration

Settings are stored in the Pi extension config directory, not merged from Pi settings.json:

  • ~/.pi/agent/extensions/pi-status/config.json for global settings
  • .pi/pi-status.json for project-local settings

Project settings take precedence over global settings when .pi/pi-status.json exists.

contextBarStyle supports these presets:

  • blocks: ◼◼◼◻◻◻◻◻◻◻
  • lines: ━━━───────

Default config:

{
  "separator": " · ",
  "contextBarStyle": "blocks",
  "components": [
    { "id": "status", "enabled": true, "zone": "top-left" },
    { "id": "cwd", "enabled": true, "zone": "top-left" },
    { "id": "turn", "enabled": true, "zone": "top-left" },
    { "id": "current_tool", "enabled": true, "zone": "top-left" },
    { "id": "git", "enabled": true, "zone": "top-left" },
    { "id": "runtime", "enabled": true, "zone": "top-left" },
    { "id": "cost", "enabled": true, "zone": "top-right" },
    { "id": "model", "enabled": true, "zone": "bottom-left" },
    { "id": "thinking", "enabled": true, "zone": "bottom-left" },
    { "id": "tps", "enabled": true, "zone": "bottom-left" },
    { "id": "tokens", "enabled": true, "zone": "bottom-right" },
    { "id": "context", "enabled": true, "zone": "bottom-right" }
  ]
}

Environment

Disable the extension by default:

PI_STATUS_DISABLED=1 pi

Accepted truthy values are 1, true, yes, and on.

Local Development

Run Pi with this local package:

pi -e ./packages/pi-status

Or install it from the local path:

pi install ./packages/pi-status

Uninstall

pi remove npm:@taterdoge/pi-status

Credits

Status-bar content and layout were adapted from a custom implementation, then moved to Pi's border decoration system for this package.