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

@getpipher/agent-status

v0.2.5

Published

Pi coding-agent lifecycle state as a colored dot in your tmux window tab — per-window rollup (working/mixed/idle) at a glance, no polling.

Downloads

916

Readme

@getpipher/agent-status

Pi coding-agent lifecycle state as a colored dot in your tmux window tab — at-a-glance across all your pi windows, no polling.

A pi coding-agent extension that listens to pi lifecycle events and writes a per-window rollup of all pi panes' state to a tmux window-scoped option, rendered as a single colored dot in the window tab. No animation → no extra status-bar redraws → your existing #(...) status scripts keep their normal cadence.

Inspired by herdr's per-pane state indicator, but targets your existing tmux (window tabs) instead of herdr's sidebar. When pi runs under herdr, this extension defers to herdr's own pi integration.

The dot

A prefixed before the window number — color-only, no text, no spinner:

| window contains | dot | |---|---| | no pi pane | (no dot) | | all pi panes working | 🟢 green | | mixed (some working, some idle) | 🟡 yellow | | all pi panes idle | ⚪ grey |

e.g. window 3: getpipher with one pi working + one pi idle → ● 3: getpipher (yellow).

Status

v0.2.5 — fix: dot vanished after a pi /new//resume (quit+start cycle) in a window with a sibling pane. The session_shutdown(quit) handler cleared the pane's @agent_state option but didn't reset the in-memory dedup guard, so the next session_start publish(IDLE) was deduped and never re-wrote it. The pane silently dropped out of the rollup; when the sibling later closed, the dot went with it. Reset lastWritten on quit so the next publish always re-writes.

v0.2.0 — window-tab dot + per-window rollup (green/yellow/grey/none). Replaces the v0.1.x status-left spinner (which cost status-script re-runs). Non-breaking: the extension writes only pane-local @agent_state + window-scoped @agent_window_state; the snippet defines one new user option @agent_window_dot and never sets status-left/window-status-* — you merge the dot into your own window-status format. See the design spec and v0.2 plan.

Install

Add to ~/.pi/agent/settings.json packages:

"npm:@getpipher/agent-status"

Source the tmux snippet in ~/.tmux.conf and insert the dot at the start of your existing window-status-current-format / window-status-format (merge, don't replace — preserves your tab layout):

source-file ~/local-dev/getpipher/agent-status/tmux/agent-status.tmux
# Prepend #{E:#{@agent_window_dot}} to YOUR existing window-status formats.
# The #I:#W below is just a template — keep your own tab layout:
set -g window-status-current-format "#{E:#{@agent_window_dot}} #I:#W"
set -g window-status-format         "#{E:#{@agent_window_dot}} #I:#W"

Reload tmux (prefix + r or tmux source ~/.tmux.conf). When a pi agent runs in a tmux pane, its window's tab shows a green dot (working); when multiple pi panes are in the same window with mixed states, yellow; when all idle, grey; when no pi is in the window, no dot.

License

MIT