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

v0.2.0

Published

Read-only plan mode with RepoPrompt-aware write blocking; restricts tools, bash commands, and RepoPrompt operations (MCP + CLI) to read-only access

Readme

Plan Modus for Pi (pi-plan-modus)

Read-only exploration sandbox for Pi with RepoPrompt-aware write blocking. When enabled, the agent can only use read-only tools — native file tools, bash commands, and RepoPrompt operations (both MCP and CLI) are all restricted to safe, non-mutating access.

Designed to be compatible with the pi-repoprompt-mcp and pi-repoprompt-cli extensions. When any of these are active, plan mode blocks their write-capable operations (apply_edits, file_actions, file create/delete/move) while keeping read operations available.

Based on the plan-mode example from pi-mono, with additions for RepoPrompt integration and bash AST analysis.

Install

From npm:

pi install npm:pi-plan-modus

From the dot314 git bundle (filtered install):

{
  "packages": [
    {
      "source": "git:github.com/w-winter/dot314",
      "extensions": ["extensions/plan-mode.ts"],
      "skills": [],
      "themes": [],
      "prompts": []
    }
  ]
}

Usage

  • Command: /plan
  • Shortcut: Ctrl+Alt+P (macOS: Ctrl+Option+P)
  • CLI flag: pi --plan to start in plan mode

What gets blocked

| Layer | Blocked operations | |---|---| | Native tools | edit, write | | Bash | Destructive commands (rm, mv, cp, mkdir, git commit, ...), write redirects (>, >>), editors (vim, nano, code) | | RepoPrompt MCP (rp) | apply_edits, file_actions | | RepoPrompt CLI (rp_exec, rp-cli) | edit, file create/delete/move, interactive REPL (-i) |

Read-only operations remain available across all layers: read_file, get_file_tree, file_search, get_code_structure, git status/log/diff/show, etc.

Bash command analysis

Uses just-bash AST parsing (v2+) for accurate command inspection, including nested command substitutions, pipelines, conditionals, and wrapper commands (sudo, env, command). Falls back to regex matching if the parser is unavailable.

State persistence

Plan mode state is persisted per-branch via session entries and restored on session start, switch, tree navigation, and fork.