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

@qcts33/pi-herdr-editor

v0.1.4

Published

Open a Herdr pane with an external editor to compose messages to a pi agent — a non-blocking analogue of Ctrl+G.

Readme

@qcts33/pi-herdr-editor

A pi package that opens a sibling Herdr pane hosting an external editor for composing a message to the agent — a non-blocking analogue of pi's built-in Ctrl+G, which keeps the agent's output visible while you write.

How it works

Invoking /herdr-editor (or alt+g):

  1. Splits the current Herdr pane and waits for the new shell to become ready.
  2. Runs a probe that prints a start marker through the same printer the sentinel uses, and waits for it with a bounded timeout: if it never arrives — a pane shell that cannot run the command — the cycle fails with an error notification quoting the pane instead of waiting forever.
  3. Runs $VISUAL/$EDITOR on a temp file seeded with the current input-box content, through the shell's own eval so a malformed editor command cannot suppress the sentinel.
  4. Waits (indefinitely) for a unique sentinel printed after the editor exits.
  5. Places the edited text back into pi's input box — not submitted; press Enter to send, inheriting pi's normal busy/idle handling.

The pane is closed when the compose cycle ends. Content that trims to empty cancels, leaving the input box unchanged. Outside Herdr it degrades to pi's built-in external-editor dialog.

The compose pane's shell is detected from the pane's own process, so PowerShell (pwsh, powershell) and POSIX shells (sh, bash, zsh, fish, …) work regardless of platform — Herdr's terminal.default_shell decides. A pane running a shell the extension cannot print through (nushell, cmd.exe, …) falls back to the fullscreen dialog instead of hanging.

Install

pi install npm:@qcts33/pi-herdr-editor

Requires HERDR_ENV=1 (running inside Herdr) for the pane flow; otherwise the fullscreen fallback is used.

License

MIT