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

@juicesharp/rpiv-warp

v2.10.1

Published

Pi extension. Native Warp terminal notifications, dispatched via OSC 777 on Pi lifecycle events.

Readme

@juicesharp/rpiv-warp

npm version License: MIT

The Warp terminal tells you when Pi Agent needs you — a native OS toast, a tab badge, and an animated tab title while a turn is running. rpiv-warp listens to Pi's lifecycle events and writes Warp's OSC 777 cli-agent sequence to the terminal; Warp does the rest. Outside Warp it registers nothing and writes nothing, so installing it costs you exactly zero everywhere else — it is opt-in, and nothing else installs it for you.

Install

pi install npm:@juicesharp/rpiv-warp

Restart your Pi session.

Quick start

Start Pi inside Warp, send it a prompt that takes a while, then switch to another tab or another app. You get:

  • the tab title animating a braille spinner for as long as the turn runs
  • an OS notification when Pi finishes, naming the project and quoting the reply
  • an OS notification the moment Pi asks a question and blocks on your answer

Nothing to configure, no key to supply.

What you get

  • A toast the moment Pi needs you — six lifecycle moments (session start, prompt submitted, question asked, tool finished, turn stopped, gone idle) reach Warp as structured notifications carrying the project name, your query and the assistant's reply.
  • A tab that shows Pi is still working — a braille spinner animates the tab title for the whole turn, then Pi's original π - <repo> label comes back.
  • A Blocked badge that never sticks — an ESC-aborted question is drained at turn end instead of leaving the badge lit.
  • No false idle mid-task — the running prompt is re-announced every 15 seconds while the turn is live.
  • Per-run badges for parked workflow questions — each /wf run gets its own badge keyed on the run id, so concurrent runs light up and clear independently.
  • Nothing to pay for where it can't help — outside Warp or on a known-broken Warp build it registers zero handlers; when /dev/tty is unreachable every terminal write is silently swallowed, so a failed notification can never reach the agent loop.
  • No tokens, no clutter — no tools registered with the model, no slash commands, no widgets. Only lifecycle listeners and escape bytes the terminal eats before they reach stdout.

Configuration

Optional. Create ~/.config/rpiv-warp/config.json:

{ "blockingTools": ["ask_user_question", "my_custom_tool"], "heartbeatMs": 5000 }

| Key | What it does | Default | | --- | --- | --- | | blockingTools | Tool names that raise the Blocked badge when called and clear it when they finish. Set to [] to turn the badge off entirely. | ["ask_user_question"] | | heartbeatMs | How often the running prompt is re-announced so Warp doesn't mark the tab idle. Set to 0 to disable. | 15000 |

Both keys are optional, and a missing or malformed file falls back to the defaults. If XDG_CONFIG_HOME is set to an absolute path the file is read from $XDG_CONFIG_HOME/rpiv-warp/config.json instead, falling back to the ~/.config location when that file does not exist. Config is read once when the extension registers, so restart Pi after editing it.

rpiv-warp reads this file and never writes one.

Reference

  • Event reference — every lifecycle handler and what it emits, the timer-driven events, the exact escape sequences, the full payload field list, and the workflow-question API.
  • Detection and edge cases — the environment variables Warp sets, protocol negotiation, broken-build gating, Windows behavior, and what happens in every environment where nothing can be emitted.

Requirements

  • Warp. Warp sets TERM_PROGRAM, WARP_CLI_AGENT_PROTOCOL_VERSION and WARP_CLIENT_VERSION itself; you never set them. Any other terminal is a silent no-op.
  • A current Warp build. Builds at or below v0.2026.3.25.8.24.stable_5 on the stable and preview channels are gated off — they advertise the protocol but do not render the notifications.
  • macOS or Linux for the /dev/tty transport. Windows delivery via ConPTY is best-effort and untested in the wild.

No API key, no model selection, no native modules — nothing to set up beyond Warp itself.

Troubleshooting

  • No notifications at all, and the tab title never animates. Your Warp build is at or below the gated threshold above, or you are not in Warp. Upgrade Warp and restart your Pi session.
  • The tab title animates but no OS toast arrives. Warp does not have OS notification permission, or the system is in Do Not Disturb. Enable notifications for Warp in your OS settings.

Related

  • @juicesharp/rpiv-pi — drives the per-run workflow-question badges when both are installed, and keeps rpiv-warp out of detached workflow child sessions.

License

MIT — see LICENSE.