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

@fulcrum-agent-os/pi-cockpit

v0.0.6

Published

Fulcrum Cockpit — control-plane dashboard, task management, memory, lifecycle tools, and policy hook for the PI coding agent

Readme

Fulcrum Cockpit

Control-plane dashboard and native PI tools for the PI coding agent.

Install

# From this repo
pi install ./agent-integration/pi/cockpit

# Or use the install script
bash agent-integration/pi/install.sh

What you get

Dashboard widget

Live-updating widget in PI's TUI showing:

  • Server status (stopped / starting / up / error)
  • Running agent count + roles
  • Blocked agent count + reasons
  • WIP count
  • Workspace/project context

Footer status line

Always-visible at the bottom of PI:

● FULCRUM  2 run  WIP:3  :4721

Slash commands

| Command | Description | |---------|-------------| | /fulcrum-setup | Confirm workspace IDs (computed from project path, no files written) | | /fulcrum-status | Show workspace status: running agents, blockers, WIP count | | /fulcrum-start | Start the Fulcrum monitor server | | /fulcrum-monitor | Open monitor in browser (http://localhost:4721) | | /fulcrum-tasks [status] | List tasks, optionally filtered by status | | /fulcrum-create <title> | Create a new task | | /fulcrum-run <task_id> <role> | Start an agent run | | /fulcrum-complete <run_id> [summary] | Mark a run as completed | | /fulcrum-block <run_id> <reason> | Mark a run as blocked | | /fulcrum-recall <query> | Search project memories | | /fulcrum-workspaces | List all workspaces | | /cos <goal> | Inject Chief-of-Staff world-state context into the conversation |

Native LLM tools (11 tools, no MCP overhead)

| Tool | Description | |------|-------------| | fulcrum_list_tasks | List tasks in current workspace | | fulcrum_create_task | Create a new task | | fulcrum_update_task | Update task status or add a blocker note | | fulcrum_recall_memory | Semantic search over project memory | | fulcrum_write_memory | Persist a note to project memory | | fulcrum_start_run | Register a new agent run (call at task start) | | fulcrum_heartbeat | Send a heartbeat during long operations | | fulcrum_complete_run | Mark a run as completed | | fulcrum_block_run | Mark a run as blocked, escalate to CoS | | fulcrum_workspace_status | Get full workspace snapshot | | fulcrum_build_cos_context | Build Chief-of-Staff world-state context |

Policy hook

Every tool call in PI is checked against the Fulcrum policy engine. Currently enforced:

  • Team invocation guard: only chief_of_staff may invoke teams

Auto-start

On PI session start, the cockpit:

  1. Computes workspace_id and project_id deterministically from the project directory path (sha256[:12] of abs path) — no file needed
  2. Starts the Fulcrum monitor server (fulcrum serve monitor) if not already running
  3. Polls workspace status every 5 s
  4. Injects a Fulcrum-first system-prompt nudge before each agent turn so PI prefers native fulcrum_workspace_status / fulcrum_recall_memory before filesystem search or architecture decisions

Configuration

No project-local config files. IDs are computed from the directory path automatically.

Environment variable overrides:

  • FULCRUM_WORKSPACE_ID — override computed workspace_id
  • FULCRUM_PROJECT_ID — override computed project_id
  • FULCRUM_PORT — override monitor port (default 4721)

Monitor URLs

After fulcrum serve monitor (or auto-start):

| Endpoint | Description | |----------|-------------| | http://localhost:4721/status | Server health | | http://localhost:4721/agents | All agent runs | | http://localhost:4721/board | Task counts by status | | http://localhost:4721/tasks | Task list | | http://localhost:4721/workspaces | Workspaces | | http://localhost:4721/metrics | Workspace metrics | | http://localhost:4721/memory-trace | Memory entries |

Multi-runtime sharing

The same Fulcrum monitor server is shared by all three runtimes:

| Runtime | Integration | |---------|-------------| | PI | This cockpit (native tools + hook) | | Claude Code | agent-integration/claude/ (MCP + hook) | | Gemini CLI | agent-integration/gemini/ (MCP + hook) |