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-calm

v1.0.2

Published

Make Pi easier to follow while it works: keep the conversation and Working... visible while quietly hiding tool chatter and optional thinking. Toggle it with /calm on, /calm thinking, and /calm off.

Readme

pi-calm

让 Pi 工作时更清爽、更容易跟进。

English | 简体中文

pi-calm 保留对话内容和 Working... 状态,同时把工具执行噪音和可选的思考内容安静地收起来。它只改变终端展示,不会改变工具执行、模型上下文或 session 数据。

保留什么,隐藏什么

Calm 默认开启:

| 保留显示 | 收起(仅展示层) | | --- | --- | | 用户真实提示 | 思考 / CoT 区块(/calm thinking 可显示) | | 助手真实文本 | 常规工具执行噪音(内置工具与自定义工具) | | 交付型关键工具(plan_mode_complete, PI_CALM_VISIBLE_TOOLS) | 带 U+2063 envelope 的操作型用户行 | | Pi 原生 Working... 行 | |

隐藏内容仍会保存在 session 中,关闭 Calm 后会恢复显示。

安装

GitHub

pi install git:github.com/JesseZhang97/pi-calm

npm

pi install npm:pi-calm

本地路径

pi install /path/to/calm-mode

本包包含 pi-package keyword 和 pi manifest,可以被 Pi package gallery/index 发现。

安装后重启 Pi,或执行 /reload。

使用

/calm on              # 开启 Calm,隐藏思考
/calm thinking        # 保持 Calm,切换思考 / CoT 显示
/calm off             # 关闭 Calm,恢复普通 transcript

只有这三个命令。输入 /calm 后,Pi 会提供参数补全。

Working... 始终保持显示,扩展加载后不能被关闭。

偏好设置

默认保存于:

~/.pi/agent/calm

| 文件内容 | 含义 | | --- | --- | | on | Calm 开启,隐藏思考(默认) | | on thinking | Calm 开启,显示思考 / CoT | | off | Calm 关闭 |

可通过 PI_CALM_PREFERENCE_PATH 覆盖保存路径。

交付型工具白名单

Calm 默认收起过程型的工具噪音(read, bash, edit 等),但对于结果即为最终交付物的工具,保留在 transcript 中完整呈现:

  • plan_mode_complete:默认放行,确保 pi-plan-mode 生成的计划 Markdown 在终端中清晰可读。
  • PI_CALM_VISIBLE_TOOLS:可通过此环境变量配置需要额外放行的工具名列表(逗号分隔):
export PI_CALM_VISIBLE_TOOLS="generate_report,review_summary"

展示范围

Calm 使用 Pi 的展示层 seam:

  • 绝大多数 ToolExecutionComponent 工具行都会隐藏,包括任意第三方 custom tools
  • 交付型关键工具(如 pi-plan-mode 的 plan_mode_complete,以及通过 PI_CALM_VISIBLE_TOOLS 环境变量指定的工具)会保留正常显示
  • custom messages 和 custom entries 仍然显示
  • compaction / branch summary 仍然显示
  • ! / !! 用户 bash 行仍然显示
  • /export 和 /share 序列化时会临时恢复标准展示

隐藏只影响终端展示,不会删除 session 数据。

开发验证

node --experimental-strip-types tests/self-check.ts

License

MIT