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

squad-monitor

v1.0.3

Published

Lightweight static site generator for monitoring squad activity — thoughts, conversations, and decisions

Readme

Squad Monitor

A browser dashboard for visualizing squad activity, decisions, and agent interactions from the Copilot CLI session store and .squad/ directory. Choose static mode for zero cost or live mode for auto-refresh.

Portable Usage (npx)

Run Squad Monitor as a portable CLI from any directory — no need to clone this repo or install dependencies locally.

# Build a static dashboard from your squad project
npx squad-monitor build

# Start a live development server
npx squad-monitor dev

# Show available options
npx squad-monitor --help

Common options:

  • --squad-root <path> — Path to squad project root (default: current directory)
  • --db <path> — Path to session store database (default: ~/.copilot/session-store.db)
  • --port <port> — Dev server port (default: 3000)
  • --host <address> — Bind address for dev server (default: localhost). Use 0.0.0.0 to listen on all interfaces — useful for DAKboard, kiosk wall displays, or any LAN device.

Requirements:

  • Node.js 18+ (automatically downloaded by npx)
  • A .squad/ directory in your project

Example:

npx squad-monitor build --squad-root ~/my-project --db ~/.copilot/session-store.db

This generates .squad-monitor/index.html in your current directory — a complete, self-contained dashboard ready to share or archive.

Getting Started

Quick start: Use npx squad-monitor to run from any directory (see Portable Usage above).

Local development: Clone this repo and run locally.

Install and Build

Portable (npx):

npx squad-monitor build
npx squad-monitor dev

Local development (cloned repo):

npm install
npm run build
npm run dev

View the Dashboard

Windows:

npm run view

macOS / Linux:

open .squad-monitor/index.html

The .squad-monitor/index.html is a complete, self-contained dashboard. No server, no runtime cost.

Static Mode (Zero Cost)

Perfect for: Sharing reports, archiving decisions, offline browsing.

# Portable (npx) — works from any directory
npx squad-monitor build

# Local development (cloned repo)
npm run build

Then open the generated file:

start .squad-monitor/index.html   # Windows
open .squad-monitor/index.html    # macOS/Linux

The output is a single HTML file with all data embedded. To refresh, re-run the build command and reload the browser.

Live Mode (Auto-Refresh)

Perfect for: Development and real-time monitoring.

# Portable (npx) — works from any directory
npx squad-monitor dev

# Local development (cloned repo)
npm run dev
  • Starts Express server at http://localhost:3000
  • Dashboard auto-refreshes every 10 seconds when .squad/ files change
  • Shows toast notification before reloading
  • Includes manual 🔄 refresh button in the header
  • Server uses ~20MB RAM while running

Stop the server: Press Ctrl+C

Arguments:

# Portable
npx squad-monitor dev --port 8080 --squad-root ./my-squad --db ~/.copilot/session-store.db

# Listen on all interfaces (for DAKboard / kiosk displays on your LAN)
npx squad-monitor dev --host 0.0.0.0

# Local
npm run dev -- --port 8080 --squad-root ./my-squad --db ~/.copilot/session-store.db

Dashboard Tabs

  1. 📊 Dashboard — Overview stats (agent count, decisions, sessions, pending items), recent activity feed
  2. 📋 Decisions — Full decisions.md rendered, pending inbox items with badges
  3. 🤖 Agents — Clickable agent cards → expand to view full charter and history
  4. 💬 Conversations — Session list from Copilot → expandable turns and checkpoints
  5. ⚙️ Orchestration — Timeline of orchestration logs and session logs
  6. 🔍 Search — Client-side full-text search across all rendered content

Architecture

| File | Purpose | |------|---------| | src/data-reader.js | Reads .squad/ markdown files | | src/session-reader.js | Reads Copilot session-store.db (sql.js WASM) | | src/html-generator.js | Generates HTML with Pico.css dark theme | | scripts/build.js | Static build: .squad/ + DB → .squad-monitor/index.html | | scripts/serve.js | Live server: Express + auto-refresh |

Data Sources

  • .squad/decisions.md + .squad/decisions/inbox/*.md — Decisions
  • .squad/agents/*/charter.md + history.md — Agent identities and learnings
  • .squad/team.md — Squad roster
  • .squad/orchestration-log/*.md — Orchestration history
  • .squad/log/*.md — Session logs
  • .squad/skills/*/SKILL.md — Knowledge library
  • .squad/ceremonies.md — Ceremony definitions
  • ~/.copilot/session-store.db (optional) — Copilot CLI conversation history

Requirements

  • Node.js 18+
  • A .squad/ directory (Squad framework)
  • ~/.copilot/session-store.db (optional) — Conversations tab degrades gracefully without it

Design Principles

  • Zero runtime cost in static mode
  • Graceful degradation — works without session store
  • Dark theme — built with Pico.css
  • Single-file output — easy sharing and archival
  • Smart polling — live mode only reloads when data changes

License

MIT