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

@vshulcz/pi-deja

v0.20.2

Published

deja-vu memory for pi: the coding sessions already on this machine — pi, Claude Code, Codex, Cursor and 29 more — recalled at session start and on every prompt, searchable with /deja. A local index, no LLM.

Readme

@vshulcz/pi-deja

pi remembers its own sessions. This extension answers the other question: what was done in the thirty-two other coding agents on this machine — Claude Code, Codex, Cursor, Gemini, OpenClaw and Hermes among them — including the months before pi was installed.

It runs deja, a local Go binary that indexes the transcripts those agents already wrote to disk. No LLM, no embeddings, nothing leaves the machine.

Install

pi install npm:@vshulcz/pi-deja

The deja binary comes with the package; a deja you installed yourself (brew install deja-vu) always wins — see Which binary.

deja install pi-auto wires pi too, and is the shorter path if you have the CLI: it adds deja's MCP server and writes an extension of its own. When that extension is present this package stands down, so having both never injects twice — and the same for omp, whose extension the installer writes elsewhere.

omp loads pi.extensions manifests and emits the same before_agent_start event, so pi install's omp counterpart picks this package up as well.

What it does

  • Session start: a digest of what earlier sessions in this project decided goes to the model before your first prompt; the receipt shows in the footer.
  • Every prompt (before_agent_start): the prompt is matched against the index and, when a past session answers it, that session goes to the model with the prompt. Silence is the common case.
  • After a failed command (tool_result): the repair this machine used the last time that error came up goes in beside the error, in the same turn.
  • Before an edit (tool_result on a read): what earlier sessions decided about the file the agent just opened.
  • After a compaction (session_compact): the list of what this session was already shown is cleared, so the recall it lost can come back.
  • /deja <query>: search the history by hand.

Which binary

In order: DEJA_BIN, deja on PATH, the usual install locations, and last the copy bundled through @vshulcz/deja-vu.

Privacy

deja reads session files where the agents wrote them and builds a local index under ~/.cache/deja (or DEJA_INDEX_DIR). Keys and tokens are stripped as the index is built. Nothing is uploaded.

Part of deja-vu. MIT.