YouHui1/dsh-sessions-diagnosis
Diagnoses and repairs DSH sessions that stopped opening after a harness upgrade, from the CLI, an agent tool or a web dashboard — without modifying the original file.
Runs DSH's own released migration chain over the stored logs, so the reason reported is what the harness actually hit rather than a reimplementation, and classifies each session as ok, unmigrated, repairable, unrepairable, corrupt, too-new, empty or unknown, down to the offending field. Repair produces a valid current-format successor that DSH can select, verified before anything is written; when the codec cannot be reached, a rule-matched session gets an in-place repair behind a byte-verified, undoable backup.
Install
dsh plugin --profile web add github:YouHui1/dsh-sessions-diagnosisREADME install line (GitHub form). No npm package is published; the README's other routes are a local checkout and a command-line mode. The original session file is never modified — repair writes a verified successor instead.
Compatibility
The failure it targets is a closed-vocabulary audit introduced in DSH 0.1.5: every message must carry a source.kind from a fixed set of fifteen values, and one retired value — in the wild at-file-mention, written by older builds for @path mentions — aborts the whole migration. Such sessions still list but fail to open with a generic gateway/internal error.
Details
- Repo: YouHui1/dsh-sessions-diagnosis
- Category: Sessions & Messages
- Stars: 2
- Version: GitHub source install; MIT
Alternatives
GreenLv/dsh-session-insights · PwnKY/dsh-session-link · Motues/dsh-session-curator