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

@lukebarton/pi-de-claude

v0.1.1

Published

IDE integration for pi with any IDE running a Claude Code plugin-including VS Code, Neovim, IntelliJ IDEA, and other JetBrains IDEs. It lets the LLM interact with your IDE for operations like diff view/approval and lets you reference code from your IDE in

Downloads

173

Readme

pi-de-claude

IDE integration for pi with any IDE running a Claude Code plugin-including VS Code, Neovim, IntelliJ IDEA, and other JetBrains IDEs. It lets the LLM interact with your IDE for operations like diff view/approval and lets you reference code from your IDE in your conversations with pi.

Why use this extension?

  • Let pi trigger IDE actions (open files, diffs etc).
  • Code that you highlight in the IDE is available to pi.

Installation

# Install from npm
pi install npm:@lukebarton/pi-de-claude

# Or from git
pi install github.com/lukebarton/pi-de-claude

IDE Plugins

Using pi-de-claude

  1. Connect: Run the /ide command inside pi. Choose the IDE you want if more than one is detected.
  2. Use it:
    • When pi suggests edits, it will present a diff inside your IDE for approval.
    • Highlight code in your IDE to give pi immediate context for your next request.

A quick note about ever fallible LLMs

LLMs are still LLMs will forget to call the IDE tools. You can improve your chances by asking for it directly (for example, "use openDiff to show the changes"). You can see the list of available tools by running /ide and reviewing the tool descriptions.

Issues

  • cc plugin at-mentions don't get sent to pi
    • JetBrains: No workaround - the cc plugin sends at-mentions directly to the self-managed console, rather than over the Websocket API
    • VS Code: "claudeCode.useTerminal": true forces them over the WebSocket API

The future and commentary

  • I'm happy to maintain this extension in the face of API changes, but the IDE plugins are maintained by Anthropic, and they don't seem to get much love. Who knows what Anthropic has in mind for the future of these plugins.
  • Anthropic may try to poo-poo piggyback integrations like this with extra protocol hoops to defend their moat. I haven't got the time or desire to chase them around on that, so this extension will work while it's easy.
  • We could be better off building some kind of open source, open host, community-led, cross-IDE integration for LLM coding agents in general.
    • pi-de is an example of going home-grown, but only supports IDE->pi code references (no diffs), hence why I thought this extension might be more useful.
    • Trying to achieve more than a basic set of features across all IDE integrations feels like it'd be an uphill battle.
    • This kind of open-host integration point for IDEs could be useful in many ways for the big LLM providers and IDE developers too, but I doubt they'll give up building their moats any time soon.
  • Patches welcome.

References

  • Unarchiving the JetBrains plugin to see how it uses the API - though the JB plugin is using an older (but mostly compatible) protocol version.
    • nb. The VS Code plugin is obfuscated by minification.
  • How Claude Code IDE Extensions Actually Work is a useful reference.