Where dsh keeps sessions, config and plugins
undohaven doctor. dsh keeps its home at $DSH_HOME, or ~/.dsh when that variable is unset. The stock profile stores session logs under $DSH_HOME/sessions and profile files under $DSH_HOME/profiles/<name>.
Steps
- $DSH_HOME/sessions holds project directories, then one directory per session, then session.vN.jsonl.zstd (or .jsonl if compression is off).
- $DSH_HOME/profiles/<name>/cordis.patch.yml is that profile's patch. $DSH_HOME/profiles/<name>/package.json lists plugin packages. pnpm install lives beside them.
- $DSH_HOME/cordis.patch.yml, when present, is a home-level overlay. $DSH_HOME/.anonymous-user-id is an id file used by telemetry, not a session.
- UndoHaven's own state is $DSH_HOME/undohaven. A snapshot can include the rest of the home and skip that directory.
Without UndoHaven
Cache directories and node_modules under a profile can be reinstalled. Session logs and cordis.patch.yml cannot be rebuilt from the package alone.