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

@catdaemon/pi-cmux

v0.1.2

Published

cmux status and notification integration for Pi.

Readme

pi-cmux

cmux status and notification integration for Pi.

Why

When Pi runs inside cmux, it is useful for the surrounding workspace to know whether the agent is busy, idle, or waiting for attention. Without an integration, the user has to keep checking the Pi surface manually to see whether a turn has finished or whether an approval prompt needs feedback.

pi-cmux bridges Pi and cmux with lightweight status updates and notifications. It keeps the cmux surface informed while avoiding noise from subagent sessions by default.

This is especially useful for:

  • Seeing at a glance whether Pi is currently working
  • Getting notified when an agent turn finishes
  • Surfacing approval prompts from guard extensions
  • Sharing cmux notification helpers with other Pi extensions

What it does

This Pi package adds cmux integration to Pi:

  • Agent status updates: sets a cmux status while the main agent is running and returns it to idle when the turn ends.
  • Done notifications: sends a cmux notification when a main agent turn completes.
  • Feedback notifications: exports helpers that other extensions can use to notify cmux when user feedback is needed.
  • Subagent filtering: suppresses subagent turn noise by default.
  • Runtime status command: /cmux-status shows whether cmux environment variables are detected and how the integration is configured.
  • Environment configuration: supports PI_CMUX_STATUS_KEY, PI_CMUX_NOTIFY_DONE, PI_CMUX_STATUS_PREVIEW, and PI_CMUX_INCLUDE_SUBAGENTS.

Install from npm

pi install npm:@catdaemon/pi-cmux

Then reload Pi:

/reload
/cmux-status

Runtime dependencies

This package expects the cmux CLI to be available when Pi is running inside cmux. Outside cmux, it safely no-ops.

Other Pi extensions can import its notification helpers when they need to signal cmux feedback or completion events.