dsh-session-doctor:扫描并无损修复 DSH 会话日志损坏

DSH 会话历史以 zstd 帧持久化;写入不校验、加载才校验会导致整条 history unavailable。dsh-session-doctor(imtokenxinluo)用与 loader 相同的规则 scan 损坏会话,repair 前自动备份并无损修复 tool-result content 非数组等已支持形态;v1.1 watch 实时告警,v1.2 blame 判断突然关闭是否 agent 所致;0.2.2 起提供 safeguard 与设置面板。独立 Node >= 22 CLI(npm link),MIT 许可。

Read More
dsh-session-doctor: Diagnose, Unblock, and Read DeepSeek Harness Session

dsh-session-doctor is a DSH plugin developed by maintainer mayf3, positioned as the "Session Doctor" and designed to extend the capabilities of the DSH environment. The current version is 1.0.0 and is licensed under the MIT license, integrating five core functions: listing sessions, reading records, diagnosing status, recovering stuck sessions, and sending messages. `list_sessions` allows viewing session details, `session_status` is used to diagnose the running status, and `read_session` supports reading text messages sequentially. For sessions stuck in the `running` state, `session_recover` can send cancellation signals to terminate activities while preserving queued messages; `send_session_message` enables delivering messages to target sessions.

Read More