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

@prjct.app/pi-statusline

v0.1.3

Published

See your project, Git branch, model, thinking level, and context usage in a compact status line for PI Agent.

Readme

pi-statusline

pi-statusline — extension for PI Agent

See your project, Git branch, model, thinking level, and context usage in a compact status line for PI Agent.

@prjct.app/pi-statusline · Custom footer; one extension.

Install

Requires Pi installed separately and Node.js 22.19 or later. Compatibility is tested with Pi 0.85.1; newer versions are not yet verified. This is an independent community package.

Install with Pi's package manager:

pi install npm:@prjct.app/pi-statusline

For project-only installation, add -l: pi install -l npm:@prjct.app/pi-statusline. Restart Pi after installation. Do not install the same extension from both GitHub and npm: Pi treats those as different package identities.

Usage

Start an interactive Pi session. The footer shows the project directory name, optional session name, Git branch, model, thinking level, and an eight-cell context-usage bar. When Pi Plan is active, its planning status comes first.

The footer replaces Pi's default footer. It currently reads only the plan-mode extension status; other extension status entries are not displayed. It is not a general status aggregator. Use one custom-footer extension at a time.

If context usage is unavailable, the bar shows empty segments; this is not a measured zero. Session-name changes are read on subsequent renders.

Manage the package

For an npm installation:

pi list
pi update npm:@prjct.app/pi-statusline
pi remove npm:@prjct.app/pi-statusline

Use pi config to enable or disable individual resources. Use pi config -l for project settings and add -l to removal when you installed locally.

To pin version 0.1.3, use pi install npm:@prjct.app/[email protected]. Pi skips pinned npm versions during package updates. For a Git installation, update or remove using the same git:github.com/prjct-app/pi-statusline source instead of the npm source.

When switching from GitHub to npm, remove the Git installation first, then install the npm package and restart Pi.

Troubleshooting

If the footer is absent, confirm TUI mode and disable competing custom footers in pi config. Missing branch or session information is normal outside Git repositories or in unnamed sessions.

Package and API documentation

Uses ctx.ui.setFooter(), pi.getSessionName(), footer branch subscriptions, ctx.getContextUsage(), and Pi TUI width utilities.

See Package structure and compatibility for the manifest, dependency policy, shipped resources, and official references. This package follows the official Pi package guide and extension API guide for the tested version.

Development

From a repository checkout:

npm ci --ignore-scripts
npm run check
npm test
npm run check:package

Pi loads the TypeScript entry point directly; no build step is required. To try this checkout for one run, use pi -e .. Tests use isolated temporary state and do not call model APIs. See CONTRIBUTING.md for contribution rules and CHANGELOG.md for release notes.

License

MIT.