Skip to content
Plugin

dsh-session-surgeon

xiaoshenming153Updated 4d ago

Open on GitHub

Repair DeepSeek Harness sessions that refuse to load. 修好打不开的 DSH 会话文件。

Practical score

85 / 100

Setup

Ready to use

License

MIT

Language

JavaScript

Install

Quick start

Copy the command, or hand the whole task to your harness agent.

dsh plugin --profile desktop add "github:xiaoshenming/dsh-session-surgeon
DSH versionDSH ≥ 0.1.0-rc.6
Install with your agent

Please install the DeepSeek Harness plugin "dsh-session-surgeon" for me. - GitHub repository: xiaoshenming/dsh-session-surgeon (https://github.com/xiaoshenming/dsh-session-surgeon) - Type: a Cordis plugin (installed into a DSH profile) - The plugin declares a…

From the README

A cleaned excerpt from the project's own documentation.

dsh-session-surgeon Copy a session ID from the sidebar ⋯ menu, then paste it into a new chat so the new session can learn from the old one — the Codex-style “continue from this thread” move that stock DSH does not expose. Also repairs DeepSeek Harness sessions that refuse to load — seq gap, torn zstd, a zero-filled tail after the last committed frame ( 9372: the crash landed between write() and fsync() , so the file's length reached disk without the frame data and the official reader refuses the whole log at invalid frame magic while every committed frame is intact — we name the boundary and drop the zeros), llm/retry attempts that do not sequence inside their policy chain ( 9163: llm/retry skips its policy attempt sequence , written silently and surfacing only as stored session is corrupt on the next open — we renumber each chain from 1 and unify its retryId , both read back out of the log), lone surrogates, events missing their message id, and assistant/message / assistant/attempt rows whose settlement fields the seed/restore gate refuses ( 8084:…

Open on GitHub

Project details

by
xiaoshenming
License
MIT
stars
15
Forks
3
Updated
Nov 8, 2026
Created
Aug 18, 2026
Language
JavaScript
Indexed from
topic
Visit homepage

Related entries

Similar tools from the same corner of the ecosystem.

View all
Plugin

dsh-recall-plugin

limbo947

消息撤回插件:回到发送该消息时的状态 DSH Message Recall Plugin: Return to the state when the message was sent

cordisdeepseek-harnessdsh
55Ready to use
85/100
Plugin

dsh-session-link

PwnKY

DeepSeek Harness 的 Codex 式会话深度链接插件:dsh:// 深链,跨对话读取上下文

agentcodexdeep-link
7Ready to use
85/100
Plugin

dsh-retrace

yamingmou

Recall (撤回), edit-and-resend (编辑重发) and regenerate (重新生成) for DeepSeek Harness conversation messages — Web and Desktop plugin

chatdeepseekdeepseek-harness
7Ready to use
82/100