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-ide-bridge

v0.4.4

Published

IDE bridge extension for Pi: VS Code / Cursor / Trae context, file inserts, and heartbeat support.

Readme

Pi IDE Bridge

Pi 扩展,用于把 IDE(VS Code、Cursor、Trae)和 Pi 编程助手连接起来。

English

主要功能

  • 实时 IDE 上下文:当前文件、工作区根目录、已打开文件、当前选区。
  • 支持多根工作区
  • 自动连接状态:显示 VS Code: connected / Cursor: connected / Trae: connected,IDE 关闭后自动回到 not connected
  • 通过 /ide-ping 心跳精确检测断开。
  • 从 IDE 插入文件/终端选区到 Pi 的输入框。
  • 用已打开的 IDE 文件增强 @ 自动补全
  • 通过 /ide init一键安装配套编辑器扩展
  • Slash 命令
    • /ide init — 安装 VS Code / Cursor / Trae 配套扩展
    • /ide-state
    • /ide-bridge-port
    • /ide-insert-active-file
    • /ide-insert-selection
    • /ide-open-files
    • /ide-clear-selection
  • 快捷键
    • Ctrl+Shift+A / Cmd+Shift+A:插入当前文件
    • Ctrl+Shift+S / Cmd+Shift+S:插入当前选区

安装

pi install npm:pi-ide-bridge

或者用 git 安装:

pi install git:github.com/Wuhu-dsm/[email protected]

然后重载 Pi:

/reload

安装配套编辑器扩展

Pi 扩展加载后,运行:

/ide init

Pi 会自动检测 PATH 上的 VS Code / Cursor / Trae 命令行工具,从 GitHub 下载最新配套 .vsix 并完成安装。如果检测不到编辑器 CLI,请按下面的手动方式安装。

更新

pi update npm:pi-ide-bridge
/reload

卸载

pi remove npm:pi-ide-bridge
/reload

配套编辑器扩展

VS Code / Cursor / Trae 的配套扩展可以在 GitHub releases 下载 .vsix

  • 下载:https://github.com/Wuhu-dsm/pi-ide-bridge/releases/latest
  • 用编辑器 CLI 安装:
# VS Code
code --install-extension pi-ide-bridge-vscode-0.4.0.vsix

# Cursor
cursor --install-extension pi-ide-bridge-vscode-0.4.0.vsix

# Trae
trae --install-extension pi-ide-bridge-vscode-0.4.0.vsix

或者在扩展视图中点击 ...Install from VSIX

许可证

MIT