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

dsh-undohaven

v0.1.14

Published

dsh plugin that keeps rolling, daily, and pre-upgrade snapshots for UndoHaven.

Readme

dsh-undohaven

dsh-plugin

Unofficial third-party dsh plugin. Compatible with dsh. It is not an official dsh component.

It takes encrypted snapshots on start, on a timer, and when the plugin is disposed. While dsh is running it also watches storages/*.json and keeps the previous copy locally before the file is overwritten or deleted, so an archive that removes scheduled tasks still has a copy. It does not wait for a session-stop event. When the installed dsh version changes, startup also stores a snapshot of those storage files. The settings tab can show status, take a snapshot, and print a restore command for everything, for scheduled tasks only (undohaven restore --to <id> --scope tasks), or for one session (undohaven restore --to <id> --scope session --session <id>). Restore itself runs from the undohaven CLI after dsh has quit.

On startup the tab also reports a profile whose cordis.patch.yml is the empty template [] next to a cordis.patch.yml.bak-* file, which is what the harness startup recovery button leaves behind. Each real change to that file is stored as an encrypted version. A session that keeps returning the same 400 is undohaven guard repair 400, and undohaven guard undo 400 puts that session back. v4 first aid stays undohaven guard repair and undohaven guard undo sessions. Both run from the CLI after you quit dsh.

Free keeps those copies on this machine. Pro, on the same account and the same prices, uploads them with the existing snapshot timer. .env and .credentials.yaml stay out unless you turn credential backup on. auth.json, *.key, *.pem, and private keys named id_rsa or id_ed25519 are never included. includesCredentials defaults to false.

dsh plugin --profile web add dsh-undohaven

cordis.patch.yml inserts the undohaven row. A bare - id: looks for an entry that is not in the base profile, and dsh prints entry "undohaven" not found.

An agent that would have curled a public temp host can run undohaven drop <file> with no login. This package re-exports dropFile and takeDrop from undohaven-core. It does not upload on its own, and it does not add a host literal.

The launcher forwards add to pnpm in that profile. Homepage: https://undohaven.com/

Capabilities a trust scan will see

UndoHaven is an unofficial third party, compatible with dsh, and not affiliated with DeepSeek.

  • Network. Settings calls are same-origin paths under /api/undohaven/. The trust scan does not list those as outbound network. The only external host literal is https://undohaven.com/pricing?utm_source=plugin, a link in the settings tab. The server side, through undohaven-core, talks only to the API base you set, which the product uses as https://undohaven.com.
  • Environment. The plugin reads the process environment only to resolve DSH_HOME, the agents home, and UNDOHAVEN_HOME / UNDOHAVEN_DATA. It does not read credential environment variables.
  • Files. It reads and writes the dsh home that snapshots already cover (sessions, profile package files, skills) and the local UndoHaven data directory. The route token is route-token in that data directory, mode 0600. A browser call must send it in x-undohaven-token, and the Origin must be the loopback dsh host.
  • Settings injection. It registers one settings tab through settings.plugins.tab. It does not inject a system prompt and it does not override a @deepseek-ai bundle. cordis.patch.yml only inserts the undohaven row.

engines.dsh is >=0.2.1-rc.5 <0.3.0. Checked against dsh 0.2.2-rc.5 and session-workspace-root. The plugin does not call the removed working_directory tool. Restore from the CLI drops a leftover tool-working-directory patch entry and leaves session bytes, including workspace-root/change, unchanged. The Host moves the workspace root.

0.2.3-alpha.3 source review

Release dsh-v0.2.3-alpha.3 says custom plugins must migrate tool executors to the Native/PTC registry, move with React 19, and update selectors that depend on the old slot DOM hierarchy. ui-slots, ui-primitives, and ui-dockkit are now plugin packages.

This package was reviewed against that note. It was not executed on 0.2.3-alpha.3 in this environment.

Unchanged, because the source does not use those old surfaces:

  • No tool executor (registerToolExecutor, ToolExecutor, or toolExecutors). The host entry uses cordis ctx.inject(['connection']) for loopback routes, which is not the tool registry.
  • The settings tab is ctx.slots.inject('settings.plugins.tab') plus ctx.slots.register. It does not query slot DOM (querySelector / [data-slot) and it does not import @deepseek-ai/dsh-client-ui-settings as a stylesheet. The client inject in package.json is still @deepseek-ai/dsh-client-ui-settings.
  • The tab is React.createElement with useState and useEffect, and inline style objects. There is no stylesheet whose selectors walk the old slot tree.
  • engines.dsh is >=0.2.1-rc.5 <0.3.0, which is not an exact 0.2.2 pre-release pin.

Still needs a live 0.2.3-alpha.3 run before calling the settings tab and a snapshot proven: that settings.plugins.tab still mounts after ui-slots became a plugin package, that style isolation does not drop the inline-styled tab, and that connection.fetch.register still attaches. Doctor will not rewrite this plugin to guess at that.