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

@pi-archimedes/footer

v2.12.0

Published

Rich footer status bar for pi-archimedes

Readme

@pi-archimedes/footer

Session details without scrolling.

A long session drags context out of reach fast. The footer keeps the essentials pinned to the bottom of the terminal — where you are, which model you're running, how deep you are into the context window, and what you've spent — laying them out without clipping on any viewport width. When subagents run, their tokens and costs land in the same view, so the number you're watching is the whole run.

Install

Standalone:

pi install npm:@pi-archimedes/footer

Or the full suite instead:

pi install npm:pi-archimedes

New to Pi? Pi itself is a one-time global install and needs Node.js ≥ 22.19.0:

npm install -g --ignore-scripts @earendil-works/pi-coding-agent

After installing Pi, choose one installation command above, then cd into your project and run pi. Inside the session, /login signs you in and /model picks a model — the setup section walks through the whole first run. A running session picks the footer up with /reload.

What you get

  • Session line — working directory, active git branch (or nearest jj bookmark in a jj repo) with clean/dirty indicator, worktree badge, active model, and thinking level.
  • Token ledger — input (↑) and output (↓) tokens, cache read/write, and the live accumulated dollar cost of the session.
  • Context bar — colour-coded (green → yellow → red). It shows consumption: how much of the context window is used, not how much headroom is left.
  • Adaptive layout — one compact line on wide viewports; it wraps to the lines it needs as the terminal narrows instead of truncating essential data.
  • Subagent aggregation — in the suite, a subagent reports its tokens and cost on its own tool result, which this footer's session scan already totals, so worker spend and main-session spend read as one number. (It used to arrive a second way, over core's bus, which meant the same money was counted twice.)

Two honest caveats: the ledger reflects usage and pricing as reported to the session — it's a live read of what Pi has accounted, not a guaranteed provider invoice, and not a tally of every background model call. And the context bar tracks consumption, not remaining headroom.

Settings

~/.pi/agent/settings.json, under archimedes.footer (strict JSON):

| Setting | Type | Default | Description | |---------|------|---------|-------------| | splitThreshold | number | 150 | Minimum terminal columns for the single-line layout. Below it, the footer uses the structured multi-line layout; above it, it stays single-line and wraps only if content overflows. | | branchMaxLength | number | 0 | Max columns for the branch or jj bookmark name, truncated with …. 0 = unlimited. Git status indicators are never truncated. Applies on next session or /reload. |

In the suite the setting also appears in /archimedes (when the panel has a control for it); /reload applies it. On/off is managed by the suite: toggle via /plugins (archimedes.footer.enabled, default on).

← Back to pi-archimedes