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

@nicknisi/pi-sidepulse

v0.1.2

Published

Report pi agent status to SidePulse LEDs: working, waiting for input, done

Readme

@nicknisi/pi-sidepulse

Makes SidePulse LEDs follow pi sessions the same way the SidePulse installer's built-in hooks follow Claude Code, Codex, Cursor, Junie and Grok. SidePulse ships no pi hook, so without this pi runs never show up on the device or in the SidePulse menu bar.

What it adds

No commands, tools, widgets or entry types. It listens to pi lifecycle events and reports each pi session to the SidePulse background service with sidepulse report:

| pi event | SidePulse state | LEDs | | ------------------ | ------------------------------------------------------------------------------------------ | ----- | | session_start | idle | — | | agent_start | working | cyan | | ui_prompt_start | blocked (--kind permission for confirm, question otherwise; prompt title as --msg) | amber | | ui_prompt_end | back to the state before the prompt | | | agent_settled | done, or idle when the run was aborted | green | | session_shutdown | clear (removes the session) | |

Each pi session reports under its own scope, pi-<sessionId>, with app pi and the session name (or the cwd's folder name) as its title, so it gets its own row in the SidePulse menu bar and sidepulse status. ui_prompt_* covers every ctx.ui prompt, so any extension dialog (for example ask_user_question or a permission confirm) lights the device amber.

Requirements

  • The SidePulse software installed with curl -fsSL https://sidepulse.io/setup.sh | sh, which puts the CLI at ~/.local/bin/sidepulse and runs the background service.
  • pi ≥ 1.1 (agent_settled with aborted, ui_prompt_* events).

Configuration

None. The CLI path is fixed to ~/.local/bin/sidepulse, the installer's default.

Caveats

  • Best-effort. Reports are spawned in order and never block pi; on shutdown pi waits at most 0.5s for the final clear. If the CLI is missing or the background service is down, they fail silently.
  • UI sessions only. Runs without a UI (pi -p, JSON mode) don't report, so one-shot scripts don't leave stale sessions behind. Interactive (TUI) and RPC sessions both report, since RPC hosts can show ctx.ui prompts too, so SDK/RPC embeddings get their own SidePulse rows.
  • Killed sessions. If pi is killed instead of quitting cleanly (for example, the terminal is closed), clear may not be sent. The SidePulse service expires old sessions on its own.
  • Each report starts a short-lived sidepulse process (about 0.1s on an M-series Mac), a handful per prompt.
  • Depends on the SidePulse report CLI interface (--scope, --state, --app, --title, --kind, --msg), documented in SidePulse's program status protocol.

Install

pi install /Users/nicknisi/Developer/pi-extensions/packages/sidepulse