UndoHaven · Pricing · Docs · Plugins · Log gate · Encryption · What we see · Log in · Account · 中文

Install or roll back a specific dsh version

The package name is @deepseek-ai/dsh. Checked on the public npm registry on 2026-11-15: latest was 0.2.2-rc.1, next was 0.2.2-rc.3, and alpha was 0.2.2-alpha.3. npm i -g @deepseek-ai/dsh with no version follows latest, so it does not install rc.3. Tags move. Run npm view the day you install. A build refuses a session log newer than it knows. Rolling the package back without restoring the home from before that upgrade can leave the current logs unreadable.

Fix it by hand

  1. Quit dsh and the desktop app. Run dsh --version and write the number down. Copy the home with the hand backup before you change packages.
  2. See the tags: npm view @deepseek-ai/dsh dist-tags. Install one version: npm i -g @deepseek-ai/dsh@0.2.2-rc.1. Replace the version with the one you wrote down.
  3. If a mirror is behind, add --registry=https://registry.npmjs.org. Confirm with dsh --version before you start the app.
  4. If the older build will not open the current home, move that home aside and unpack the archive taken before the upgrade. Do not copy a newer session.vN.jsonl.zstd onto a build that does not know that generation.

No dsh upgrade or dsh uninstall flag was found in the 0.2.2-rc.1 launcher. Use the same npm or pnpm command that installed the package.

Optional encrypted snapshot

Optional. UndoHaven is an unofficial third-party, compatible with dsh. Copy the directory by hand first, then use an encrypted snapshot if you want one.

npx undohaven init

  1. Install: copy this command.
  2. First snapshot: it stays encrypted on this machine.
  3. Roll back: undohaven restore --to SNAPSHOT_ID

Free covers 7 days of history and 1 device. Pricing

Related