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-better-plan

v0.3.3

Published

Structured execution plans with persistent progress for Pi.

Downloads

1,096

Readme

pi-better-plan

pi-better-plan keeps a structured execution plan visible while Pi works.

What It Does

  • Gives models update_plan and get_plan tools for atomic, explicit progress updates.
  • Supports dependency edges (id and dependsOn) so independent ready steps can run concurrently.
  • Shows the complete checklist of completed, active, pending, and blocked steps above the editor.
  • Persists plan state and display preferences on the active Pi session branch.
  • Keeps a completed plan visible for 30 seconds, then clears it automatically.
  • Opens the complete plan with /plan.

Plan progress is checklist progress, not an estimate of effort. The extension never infers completion from prose or successful tool calls.

Coordinating Delegated Work

Use the plan as the foreground coordinator's milestone ledger. Delegate independent, sufficiently substantial work early with subagents, and use background tasks for long-running processes or repeated checks. Keep doing unblocked foreground work after launch; do not poll workers.

Before the first implementation milestone, check for an independent task that can run alongside foreground work. Launch a bounded subagent task when available; otherwise state the specific dependency or shared-worktree constraint that rules delegation out. The plan records milestones, not worker scheduling.

Independent foreground and delegated milestones may both be in_progress. Use steps for distinct deliverables, not individual worker processes; worker tools and the background-work navigator own run status. Complete verification and the plan only after every relevant delegated task is terminal and its result or failure has been inspected and integrated.

For a DAG, assign stable ids to prerequisite steps and list those ids in dependent steps' dependsOn. Dependencies must exist in the same plan; cycles and starting or completing a step before its prerequisites are complete are rejected. get_plan reports pending steps whose prerequisites are complete as ready. Plans without edges keep their existing behavior.

When an explicitly invoked skill declares workflow-role: coordinator in its metadata, that skill's task plan takes precedence. The generic checklist stays persisted but is hidden, and update_plan refuses competing updates until workflow ownership is released. /plan never opens a stale generic checklist during workflow ownership.

For rush-issues, call sync_workflow_plan with the absolute .resolve-issues/rush/<run-id>/task-plan.json path and its persisted planRevision after each checkpoint. This binds the active run to the session and displays its fleet stages and actual units in the widget, /plan, and get_plan. The view reads the file without writing to it; revision mismatches are rejected. The run binding survives Pi session resume, and ownership release restores the prior generic checklist. Other workflow-owned skills retain their own planning and have no generic plan view.

Install

pi install npm:pi-better-plan

Commands

/plan
/plan clear
/plan hide
/plan show
/plan pin auto
/plan pin on
/plan pin off

pin auto and pin on currently use the compact widget until Pi exposes a reserved right-rail extension interface. A floating overlay is intentionally not used as a substitute because it would cover transcript content.

Development

npm run verify