dsh-session-surgeon
Run the following command in DeepSeek Harness:
dsh plugin install xiaoshenming/dsh-session-surgeon
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, run the command 'dsh plugin install xiaoshenming/dsh-session-surgeon' to install the plugin, with the full source address at https://github.com/xiaoshenming/dsh-session-surgeon.
About this plugin
The dsh-session-surgeon plugin addresses two critical pain points in DeepSeek Harness (DSH): the native interface's lack of a session ID copy feature, which hinders users from easily extracting context from old sessions to start new conversations, and the risk of session files becoming unloadable due to various technical issues like sequence gaps or data corruption.
Its core capabilities enable users to copy session IDs via the sidebar menu and paste them into new chats, facilitating a Codex-like "continue from this thread" experience where AI can learn from historical dialogue. Additionally, it offers robust repair tools that diagnose and fix corrupted session files, handling issues such as sequence gaps, zstd compression errors, and lone UTF-16 surrogates to ensure session integrity and recoverability.
Ideal for all DSH users, especially those who rely on session history for complex tasks or research—such as developers, data analysts, or content creators. If you frequently encounter session loading errors or need to share context across sessions, this plugin can significantly boost your efficiency and user experience.
Use Cases
- Extract context from old sessions to let AI continue learning in new chats.
- Session files become corrupted and unloadable, requiring repair to restore data.
- Batch scan, inspect, or export session history for analysis or backup.
Best For
- DSH daily users who rely on session history for complex tasks.
- Developers needing to share context across sessions or recover data.
- Advanced users looking to optimize workflows and manage large conversation logs.
Related Plugins
Traceable, searchable cross-session memory for AI agents that turns conversation knowledge into a typed knowledge graph and recalls relevant subgraphs instead of replaying full history, natively integrated with DeepSeek Harness.
Gives DSH AI cross-session long-term memory, to-do and skill management, plus multi-session orchestration, external AI delegation, and an infinite canvas that grows with you.
dsh-mnemon is a three-tier, pluggable, Agent-driven memory system for DeepSeek Harness, combining Runtime memory, Project Documents, and replaceable Memory Spaces with nine long-term providers.
An opinionated, zero-infrastructure file-based memory protocol: human-readable markdown files plus a bounded always-loaded index, curation discipline, and no database or embeddings.