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

@saifymatteo/pi-x-ide

v1.25.0

Published

IDE selection context for Pi: VS Code, JetBrains, Neovim, and Zed

Readme

pi-x-ide

Pi following the file and line selection open in Zed

A fork of balaenis/pi-x-ide that gives Pi the file and selection open in your IDE: VS Code-family editors, JetBrains IDEs, Neovim, and Zed.

This package is the Pi side only. The editor plugins (VS Code extension, JetBrains plugin, Neovim plugin) are unchanged upstream releases; install them from upstream as described in the docs. On startup Pi offers to install the upstream VS Code extension (balaenis.pi-x-ide) for you. Zed needs no plugin.

Install

pi install npm:@saifymatteo/pi-x-ide

Published to npm as @saifymatteo/pi-x-ide, and bundled in the @saifymatteo/pi-extensions collection; install one or the other. Releases publish from pi-extensions with pi-x-ide-v<version> tags.

Changes in this fork

IDE context as its own message

When IDE context is attached to a prompt, Pi shows it as a separate IDE Context message instead of editing your prompt. It names the IDE, the file, and the selected line range, but not the selected text, so the agent reads the file itself when it needs more:

### IDE Context
- **IDE**: vscode
- **File**: `src/main.ts`
- **Selection**: L10-L20

The file path is relative to Pi's working directory when the file is inside it, and absolute otherwise, so it stays correct when the IDE has a parent folder open. The selection line is left out when nothing is selected.

Zed from any terminal

Upstream follows Zed only when Pi runs in Zed's own terminal. Here Pi attaches from any terminal, once Zed is running and one of its open windows contains Pi's working directory. While no IDE is connected Pi re-checks every 5 seconds, so opening the project in Zed after Pi, or reopening Zed, reconnects without /ide. Closing the project's window or quitting Zed disconnects. See Use Pi × IDE with Zed.

Configuration

~/.pi/agent/extensions/pi-x-ide.json (global; $PI_CODING_AGENT_DIR/extensions/ when set) or <project>/.pi/extensions/pi-x-ide.json. An existing ~/.pi/pi-x-ide/config.json moves to the global path on the next start; otherwise a missing global file is created with every default. Set "$schema": "https://raw.githubusercontent.com/saifymatteo/pi-extensions/main/packages/pi-x-ide/schemas/pi-x-ide.schema.json" for editor completion; examples/pi-x-ide.example.json shows every option. Full reference: Configuration.

Documentation

License

AGPL-3.0-only for changes from 1.22.0 onward; the upstream Apache-2.0 code keeps its license. See NOTICE.md.