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-conversation-outline

v0.2.8

Published

Fullscreen conversation outline rail for Pi: per-prompt ticks, hover preview, click to jump. Does not change session context.

Downloads

330

Readme

pi-conversation-outline

Fullscreen 对话区右侧的 2 列大纲轨:每轮提问一根刻度,悬停预览,点击跳到原对话。不回退、不分叉、不改上下文。

A Grok Build–style outline rail for Pi: one tick per user prompt, hover preview, click to jump. Read-only.

安装

pi install npm:pi-conversation-outline

或:

pi install git:github.com/fujingzhai/pi-conversation-outline

需要 tuiMode: "fullscreen"(Pi 当前默认已是)。装完 /reload 或新开会话。

用法

启动后,终端宽度 ≥ 60 且有提问时,轨会出现在对话区右侧(哪怕只有 1 轮,也照常画 1 根刻度)。不必打斜杠命令。

  • 每轮提问一根刻度,按对话顺序排(不是滚动比例)
  • 屏幕上看得到的提问都高亮(下一条一露头就算进入它);一条都看不到时,高亮正在读的那一轮
  • ▲ / ▼ 跳到上一轮 / 下一轮
  • 鼠标悬停刻度显示提问预览;点击跳到该条提问
  • Ctrl+Alt+O 显示 / 隐藏

regular 模式没有应用内鼠标,轨不出现。只读当前根到叶的分支。预览是提问首行,不含工具轨迹 / thinking。Pi 原版压缩后对话区只画保留段,被压缩掉的提问点了定位不到。

限制

本扩展会碰 Pi TUI 的未公开结构(对话 ScrollView、gutter、nonCapturing overlay)。Pi 大版本更新后可能失效。 失效时轨消失或跳转不准,卸载即可:

pi remove npm:pi-conversation-outline

若同时装着 Claude Code 风格的工具卡扩展(例如会改 hasOverlay / 折叠卡点击的包),本扩展会把 hasOverlay 收成「是否有抢输入的 overlay」,并挡住原生单击 toggle,避免和折叠卡抢鼠标。没有这类扩展时,这些补丁是空操作。

开发

npm test

本地试跑(不写入 settings):

pi -e ./extensions/index.ts