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

@piex-dev/plan

v0.2.0

Published

Plan Mode extension for pi — read-only exploration, plan creation, and step-by-step execution with progress tracking

Readme

plan

计划模式扩展 — "先规划后执行"的工作流。

功能

  • 计划模式:只读工具,editwrite 禁用,专注分析和规划
  • 结构化计划工具plan_complete 提交完整计划,plan_question 向用户提澄清问题(带选项的交互选择)
  • bash 词法级安全:引号/转义/管道分段解析,白名单只读命令 + 逐命令参数校验(拒绝重定向、子 shell、变量展开、find -deletegit 写操作等)
  • systemPrompt 注入:计划/执行指令直接追加到系统提示,session 历史零污染
  • Footer/Widget:实时显示进度(📋 3/5)
  • Todo 追踪:自动提取编号计划,执行中用 plan_step_complete 工具标记步骤完成([DONE:n] 文本标签作兼容回退),连续无进展自动退出执行模式避免死循环
  • 执行模式:全工具权限,按步骤执行

使用说明

pi install npm:@piex-dev/plan

在 pi 中执行 /plan 进入计划模式,agent 只读探索并可用 plan_question 澄清关键决策;调用 plan_complete 提交计划后,用户选择 Execute / Stay / Refine。

冒烟测试:

pi -e ./extensions/plan/src/plan.ts -p "what is 1+1" --no-session

依赖

  • @earendil-works/pi-coding-agent(peer)
  • @earendil-works/pi-tui(peer,TUI 集成)
  • @earendil-works/pi-agent-core(peer,agent 集成)
  • @earendil-works/pi-ai(peer,AI 集成)
  • typebox(peer)

延伸阅读

  • https://piex.dev/zh/packages/plan/