AI Agent Hub
Back to plugins
🧠

dsh-session-recovery

Memory Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Coprexist/dsh-session-recovery

Paste the following prompt into your AI chat to install this plugin:

To install this plugin in DeepSeek Harness, run the command dsh plugin install Coprexist/dsh-session-recovery. Source: https://github.com/Coprexist/dsh-session-recovery

About this plugin

When you accidentally run rm -rf ~/.dsh or encounter file system corruption, your precious DeepSeek Harness session history and memory often seem lost forever. This plugin is designed specifically to tackle this data disaster, allowing you to recover deleted conversation logs and memory databases directly from the raw block device. It works by bypassing corrupted index files and reconstructing data from the underlying fragments scattered across your disk.

On the capability front, it goes beyond simple recovery by using SQLite's official .recover command to salvage readable data from memory.db, and it precisely scans for zstd frames to rebuild the official session.l.zstd format. It features intelligent automatic repair that fixes sequence numbers and normalizes operations to pass DeepSeek Harness's validation. Furthermore, it addresses post-recovery issues like invalid inbox splices, ensuring the restored sessions are fully functional.

This tool is ideal for developers and users who have suffered from data loss or corruption. Its design prioritizes safety, performing only read operations on the raw disk and writing to a directory of your choice without ever modifying the original files. Whether you need to retrieve critical conversation context or fix a damaged session file, this battle-tested toolkit offers a reliable solution to rescue your data.

Use Cases

  • Recovering chat history after accidentally deleting the ~/.dsh directory
  • Restoring sessions lost due to filesystem corruption
  • Repairing damaged DeepSeek Harness session files

Best For

  • General users who accidentally lost DeepSeek Harness session data
  • Developers needing to manually repair corrupted configurations
  • Tech enthusiasts interested in data recovery techniques