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-vault/pi-plan

v0.2.0

Published

Pi extension that adds a read-only plan mode for exploring first and producing a decision-complete implementation plan

Readme

@pi-vault/pi-plan

npm version Quality Node >= 24.15.0 License: MIT

Description

@pi-vault/pi-plan adds a read-only plan mode to Pi so you can explore a codebase, clarify the request, and get a decision-complete implementation plan before any code changes happen.

Screenshots

Plan mode active in Pi showing the plan-mode widget and status line Plan mode menu opened from /plan with Configure tools, Stay in Plan mode, and Exit Plan mode options Plan-mode tool selector showing built-in tools with policy labels and optional extension tools flagged as user risk

Install

pi install npm:@pi-vault/pi-plan

Reload Pi after installing or upgrading:

/reload

Quick Start

Start plan mode:

/plan

Start plan mode and send the planning prompt immediately:

/plan prepare the next release notes and docs

Configure additional optional tools that are available during plan mode:

/plan:tools

Exit plan mode and restore full tool access:

/plan:exit

Start Pi directly in plan mode:

pi --plan

What Plan Mode Does

When plan mode is active, the agent stays in exploration and planning mode until you explicitly exit or choose to implement the proposed plan.

Plan mode is designed for work that benefits from an explore-first workflow:

  • inspect the repo before changing anything
  • clarify requirements and tradeoffs
  • produce a single decision-complete <proposed_plan> block
  • hand the approved plan back into normal execution when you are ready

Command Reference

/plan

  • If plan mode is off, /plan turns it on.
  • If you pass text after /plan, that text is sent as the planning prompt.
  • If plan mode is already on and you run /plan with no arguments, Pi opens the plan-mode menu.

/plan:tools

Opens the plan-mode tool selector. If plan mode is not active yet, Pi enables plan mode first and then opens the selector.

Use this when you want to allow additional tools during planning. Built-in edit and write stay blocked, but extra tools may have broader capabilities, so enable them deliberately.

/plan:exit

Turns off plan mode and restores the tool set that was active before planning started.

Safety Rules During Plan Mode

Plan mode keeps the agent in a read-only workflow by changing which tools are available:

  • built-in edit and write are blocked
  • bash is limited to allowlisted read-only commands
  • mutating shell commands are blocked with an explicit plan-mode error
  • safe built-in planning tools remain available: read, bash, grep, find, and ls

Additional optional tools are off by default. You can selectively enable them with /plan:tools. Built-in edit and write remain blocked, but enabled extra tools may still be able to mutate state through their own interfaces.

Proposed Plan Detection And Handoff

The extension adds a plan-mode system prompt that tells the agent to produce exactly one <proposed_plan> block.

When the agent returns a proposed plan, @pi-vault/pi-plan automatically:

  • detects the plan block
  • stores the latest proposed plan in session state
  • updates the status and widget UI to show that a plan is ready
  • opens a ready menu so you can implement the plan, stay in plan mode, or exit

If you choose Implement this plan, plan mode is disabled first, full tool access is restored, and the saved plan is sent back into the conversation as the next implementation instruction.

Tool Selector

/plan:tools opens a custom TUI selector for additional optional tools.

Safe built-in planning tools always stay available, blocked built-ins stay blocked, and any extra tools you enable persist across turns and session restore. Non-built-in tools run at your discretion and may provide capabilities beyond the default read-only planning tool set.

Development

pnpm install
pnpm check
pnpm run pack:dry-run
pnpm run release:check

License

MIT