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-orchestrator

v1.1.1

Published

Greenfield piOrchestrator v2 extension for Pi's multi-agent ecosystem.

Readme

pi-orchestrator

A pi extension that orchestrates multi-phase AI workflows — plan, build, review, fix, test, finalize — using pi's full ecosystem: pi-subagents for multi-model execution, pi-messenger Crew for parallel builds, pi-mcp-adapter for context efficiency, and pi-web-access for live testing.


Release highlights

Version 1.1.0 added operator tooling on top of the stable 1.0.0 workflow. 1.1.1 aligns the published npm package name with this repo (pi-orchestrator).

1.1.0 highlights:

  • In-terminal dashboard via /orchestrate tui (Pi TUI): gates, steering, crew status, and usage — same action surface as the web dashboard where applicable
  • Dashboard settings for orchestrator, messenger/crew, and MCP JSON, with validation on save and automatic crew-config sync; optional raw JSON editing and managed-agent file inspection
  • Smarter crew fallbacks when structured planner output is missing: parses tasks-json fences, heading-based task sections, and fix-phase findings lists

See CHANGELOG.md for the full release history.


What it does

Given a task like "add a /health endpoint", piOrchestrator runs a structured workflow:

plan ──[approval]──► build (crew) ──► review ──► enhancer ──[verdict]──► live_test ──► finalize
                                                                │
                                                          [needs_fix] ──► fix (crew) ──► review
                                                          [needs_replan] ──► plan

Each phase dispatches to the appropriate pi capability — a chain of subagents for planning, a Crew of parallel workers for building, a single high-capability agent for review — and passes structured artifacts forward. The workflow survives restarts, supports human-in-the-loop gates, and can be steered mid-execution.


Requirements

Peer dependencies (must be installed alongside this extension):

| Package | Purpose | |---|---| | pi-subagents | Single-agent and chain dispatch | | pi-messenger | Crew parallel builds | | pi-prompt-template-model | Phase prompt templates | | pi-mcp-adapter | Context-efficient MCP proxy | | pi-web-access | Research and live testing |


Installation

pi manages its own extension registry — do not use npm install. Use the pi install command instead.

From npm registry (once published):

pi install npm:pi-orchestrator
# optional: pin a version
pi install npm:[email protected]

From a local checkout:

pi install /path/to/piOrchestrator/claude-v2

Note: Do not use the npm: prefix for local paths (npm:/path/...). The npm: prefix is only for registry packages. Local paths must be passed bare so pi resolves them as type: "local" and reads the extension directly from the directory.

The extension registers itself via the "pi": { "extensions": [...] } field in package.json — no manual registration needed. pi reads this automatically when loading the package.


Quick start

# Start a workflow
/orchestrate "add a /health endpoint to the Express app"

# Check status
/orchestrate status

# Advance until next gate/block
/orchestrate run

# Approve the plan and start building
/orchestrate approve

# Steer a running agent
/orchestrate steer "focus on error handling first"
/orchestrate steer @swift-falcon "prioritize the auth module"

# Fix or re-plan after review
/orchestrate fix
/orchestrate replan

# Open the live dashboard
/orchestrate dashboard
# → http://127.0.0.1:43123

# Terminal UI (interactive Pi sessions only)
/orchestrate tui

# Pending gates can be reviewed and resolved in the dashboard UI
# Choosing a decision there continues the workflow immediately
# Use Settings in the dashboard to edit orchestrator / crew / MCP project files

Commands

| Command | Description | |---|---| | /orchestrate <task> | Initialize and run a new workflow | | /orchestrate status | Show current state and capabilities | | /orchestrate init <task> | Initialize without running | | /orchestrate run | Advance until next gate or block | | /orchestrate pause | Pause execution | | /orchestrate resume | Resume from paused | | /orchestrate retry | Retry the current phase | | /orchestrate goto <phase> | Jump to a specific phase | | /orchestrate skip [phase] | Skip a phase | | /orchestrate steer <message> | Route a message to the active agent | | /orchestrate approve | Resolve gate: approve | | /orchestrate fix | Resolve gate: needs fix | | /orchestrate replan | Resolve gate: needs replan | | /orchestrate confirm | Resolve gate: confirm finalize | | /orchestrate reopen | Resolve gate: reopen | | /orchestrate crew <action> | Direct crew operations | | /orchestrate dashboard | Start the dashboard server | | /orchestrate dashboard stop | Stop the dashboard | | /orchestrate tui | Open the in-terminal operator view (requires interactive UI) | | /orchestrate abort | Mark workflow as failed |


Tools registered

| Tool | Description | |---|---| | orch_status | Read current workflow state and capabilities | | update_memory | Append or replace shared memory / lessons |


Runtime state

All runtime files live under .pi/orchestrator/ in the project directory:

.pi/orchestrator/
├── state.json          # Workflow state machine
├── version.json        # Schema version tracking
├── artifacts/          # Phase outputs (plan.md, build.md, review.md, …)
├── snapshots/          # Compact summaries (~500 token) of artifacts
├── memory/
│   ├── shared.md       # Shared context across all phases
│   └── lessons.md      # Accumulated lessons
└── sessions/
    └── registry.json   # Session group → dir/model/tokens mapping

Documentation

See docs/ for detailed documentation: