Move the .dsh directory to another drive
Under 0.2.2-rc.3, @deepseek-ai/dsh-home-paths resolves the data root as an explicit helper argument, then the DSH_HOME environment variable, then ~/.dsh. A blank DSH_HOME is ignored. Moving C:\Users\you\.dsh to E:\dsh without setting DSH_HOME leaves dsh looking at the old default, so the workspace list is empty. The published docs homepage checked on 2026-11-16 did not spell out this move. Stray dshHome and agentsHome keys in a patch row are ignored by dsh-agent-instructions.
Fix it by hand
- Quit dsh and the desktop app before you move the folder.
- Move the directory, then set DSH_HOME to the new absolute path in the environment of the process that starts dsh. On Windows that is the path on E:. How the desktop app inherits environment variables was not verified.
- Do not add a dshHome key to cordis.patch.yml. That row key is ignored.
- The workspace registry is $DSH_HOME/storages/workspace.json. It records project directories. If those projects did not move, the paths can still match. If a recorded directory is gone, put the project back or restore a copy taken before the move. No retarget command was found.
DSH_AGENTS_HOME is a separate root, default ~/.agents. Moving only .dsh does not move it. A snapshot taken before the move can be restored if the new location will not open.
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
- Install: copy this command.
- First snapshot: it stays encrypted on this machine.
- Roll back: undohaven restore --to SNAPSHOT_ID
Free covers 7 days of history and 1 device. Pricing