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-quiet

v0.2.0

Published

This rig's bash tool for the pi coding agent: calm one-line rendering (ctrl+o expands), pi's shell settings honoured, AGENT_SESSION_ID stamped per command from PI_SESSION_ID. Execution is still pi's built-in.

Readme

pi-quiet

Calm tool rendering for the pi coding agent.

pi renders every bash call with the full command text, a multi-line output preview, and timing — useful when you're debugging a command, noisy when the agent is doing routine work. pi-quiet collapses each bash call to two lines:

$ ls -la /tmp | head -20
  → ok · 15 lines · … -rw-r--r--  1 user  staff  5742 Aug 26 22:17 README.md

Multi-line commands show (+N lines). Failures show a red error. Streaming shows … running.

Press ctrl+o (pi's app.tools.expand binding) and the stock built-in rendering returns in full — complete commands, full output, truncation warnings. Press it again to re-collapse. It's a live toggle over the whole transcript: work collapsed, expand when something looks off.

What it owns, by construction

The extension re-registers the built-in bash tool via pi's own createBashToolDefinition. It is the one package on a rig that registers bash, and it owns three things about it:

  • Rendering. The two render slots above. Execution is the built-in tool: the model receives the full output, permission systems, reviewers, and sandboxes that hook execution are unaffected, and session logs store the full result.
  • pi's shell settings. The built-in is constructed with shellCommandPrefix and shellPath — read with the same settings pi itself would use, including pi's own project-trust decision for the current directory (session_start is where that decision becomes available, so that is where the tool is registered). A trusted project's .pi/settings.json contributes its shellCommandPrefix and shellPath; an untrusted project's are ignored, exactly as pi ignores them. Re-registration on each session_start means a /reload after editing settings picks up the new prefix.
  • Session identity. Every command's environment carries AGENT_SESSION_ID, set from pi's per-command PI_SESSION_ID. Tools that scope themselves to the session that ran them (muster, galley, tackle) read that neutral name. It is set per command from pi's live session, never from the extension's process environment, so an in-process subagent can never leave the parent's commands carrying a child's id.

Install

pi install npm:pi-quiet

Or try it for one session:

pi -e npm:pi-quiet

pi shows a one-time notice that the built-in bash tool was overridden — that's this extension, and it's expected.

Caveats

  • Covers bash only (the dominant chatter source). read/grep/find/ls may follow.
  • The expanded path delegates to pi's built-in renderer, so a pi upgrade that reshapes renderer internals can require a patch release here.