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

@phillipleblanc/pi-wake

v0.1.0

Published

Pi extension that schedules future user messages for monitoring long-running background jobs.

Readme

pi-wake

A pi extension that adds a /wake command and model-callable wake tool for scheduling future user messages in the current session.

This is useful when an agent starts a long-running background job (for example, a build or test run in tmux) and should check back later without blocking the foreground bash tool with sleep.

Install

pi install npm:@phillipleblanc/pi-wake

You can also install directly from GitHub:

pi install git:github.com/phillipleblanc/pi-wake

Reload or restart pi after installation:

/reload

Usage

Schedule a wake-up message:

/wake 2m
/wake 1h30s check the tmux build output
/wake 30s continue debugging the failed test

If no message is provided, pi sends continue.

Durations support ms, s, m, h, and d, including combined forms such as 1h30m, 1h30s, or 1h 30m.

Commands

/wake <duration> [message]  Schedule a future user message
/wake list                  List active wake jobs
/wake cancel [message]      Cancel the wake job for a message; defaults to "continue"
/wake clear                 Cancel all wake jobs

Multiple wake jobs can be active at once, keyed by message. Scheduling the same message replaces the previous job for that message:

/wake 2m
/wake 5m

The second command replaces the first because both use the default continue message.

Model tool

The extension also registers an LLM-callable tool named wake with this shape:

{
  "duration": "2m",
  "message": "check tmux build"
}

Tool guidance tells the model to use wake when waiting for long-running background jobs instead of calling sleep in the foreground bash tool.

Footer

When a wake job is active, the existing pi footer shows the next wake after context usage:

36.7%/400k (auto) • next wake: 10s

The countdown refreshes about every 10 seconds while wake jobs are active.

Notes

Wake jobs are session-scoped and run while the pi process is alive. They are restored from the current session branch on reload or session-tree navigation when possible.