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-squad/coordinator

v0.1.3

Published

Bring Squad's multi-agent coordination to Pi — your whole team, no cloud required

Readme

@pi-squad/coordinator

Multi-team coordinator for Pi agents. Embeds Squad's multi-agent coordination into the Pi CLI runtime.

Install

npm install @pi-squad/coordinator

Setup

After installing the package, you need to:

1. Enable the extension in Pi

Add @pi-squad/coordinator to your Pi configuration.

Edit ~/.pi/config.json (create if it doesn't exist):

{
  "extensions": ["@pi-squad/coordinator"]
}

For more details on Pi configuration, see the Pi CLI documentation.

2. Create your .squad/ directory

The coordinator requires a .squad/ folder with at least two files: team.md (your team roster) and routing.md (dispatch rules).

Create the folder in your project root:

mkdir -p .squad

Minimum team.md — Define your team members:

# Team

## Members
- **coordinator** — orchestrator

Minimum routing.md — Define dispatch rules:

# Routing

## Rules
- Default: coordinator

3. Initialize with /squad-init (optional)

If starting fresh, you can scaffold .squad/ interactively using Pi's /squad-init command:

pi
# Inside Pi REPL:
> /squad-init

This guided wizard will detect your git user, installed Pi extensions, and project signals to set up a sensible initial configuration.

4. Verify it works

Start Pi normally. The coordinator system prompt will be injected automatically at the beginning of each agent session. No additional commands are needed — it's automatic.

pi

Usage

This package is a Pi CLI extension. It hooks the before_agent_start event to inject the Squad coordinator system prompt, and registers a /squad command for manual coordinator invocation.

Development

npm run build   # tsc → dist/
npm run dev     # tsc --watch
npm test        # vitest run

See the root docs/ARCHITECTURE.md for the full design specification.

Security

This repo includes a pre-push git hook that scans src/ for restricted terms before each push. Enable it with:

git config core.hooksPath .githooks

Add your restricted terms to .githooks/.boundary-terms (one term per line, # for comments). This file is gitignored — terms stay local to your checkout.

Credits

@pi-squad/coordinator is built on the shoulders of three open-source projects:

  • Pi — the CLI runtime this extension runs inside. © 2025 Mario Zechner. MIT License.

  • Squad — the multi-agent coordination layer. Squad source is vendored at squad/ and loaded at runtime. © 2026 Brady Gaster and contributors. MIT License.

  • rpiv-ask-user-question — questionnaire schema and UX pattern used by the built-in ask_user_question tool. © 2026 juicesharp. Install @juicesharp/rpiv-ask-user-question for the full tabbed TUI with previews and localization. MIT License.