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-undohaven

v0.1.3

Published

Unofficial third-party encrypted snapshots for the pi coding agent. Not affiliated with pi's authors or DeepSeek.

Readme

pi-undohaven

Unofficial third-party snapshots for the pi coding agent. This package is not affiliated with pi's authors or with DeepSeek.

It uses UndoHaven's existing encryption and, when you are logged into the same UndoHaven account, the same server and the same Pro prices. One subscription covers dsh and pi. Keys stay on this machine. .env, auth.json, and other credential files are never put in a snapshot, and nothing is uploaded in plaintext.

Install

pi install npm:[email protected]

Or run the CLI directly after it is on your path:

pi-undohaven snapshot
pi-undohaven list
pi-undohaven restore --to <snapshot> --file sessions/one.jsonl
pi-undohaven migrate --to <snapshot> --dest ~/.pi/agent
pi-undohaven exclude sessions/scratch.jsonl
pi-undohaven doctor
pi-undohaven before pi-update
pi-undohaven drop ./notes.txt
pi-undohaven take 'https://undohaven.com/d/drop_…#k=…'

Inside pi the same actions are /undohaven, /undohaven list, /undohaven restore <id>, /undohaven exclude <path>, /undohaven doctor, /undohaven drop <file>, and /undohaven take <url>.

drop and take use the same dropFile / takeDrop as the CLI. No login. The key stays in the link fragment. A tool_call whose payload names a public temp host and a sensitive path shows a warning to use undohaven drop instead.

exclude toggles a path. Secrets stay excluded either way.

The extension also takes a local safety snapshot before session compaction, tree edits, switches, and forks. Run pi-undohaven before pi-update yourself before a pi upgrade or a session-file migration. Pi does not emit a hook for its own updater.

Tiers

Free keeps encrypted snapshots on this machine and prints diagnostics. Pro, using the account you already pay for, also stores that encrypted history on UndoHaven. A free login does not upload.

Set UNDOHAVEN_PASSPHRASE the first time so a key can be created. Point UNDOHAVEN_HOME at an existing UndoHaven data directory if you want pi and dsh to share keys. PI_AGENT_DIR selects the pi agent directory. The default is ~/.pi/agent.

Node 22.19 or newer.

Server

No new snapshot API. Cloud history uses the existing POST /v1/snapshots and chunk upload, with snapshot kind manual or safety. The encrypted manifest says tool: pi-undohaven.

drop uses POST /v1/drops. The body is ciphertext. The response URL has no key.