dsh-session-guard
预防并发写导致的会话损坏:在会话开始及每一步获取按会话的咨询锁,第二个 dsh 进程会明确报错而非写出重复 seq 断层;死进程持有的锁自动接管。
Prevents concurrent-write session corruption: takes a per-session advisory lock on session start and every step, so a second dsh process fails loudly instead of writing a duplicate-seq gap; dead owners are taken over automatically.
怎么安装
dsh plugin add github:po-et/dsh-session-guard 简介
dsh-session-guard **Stops two DeepSeek Harness processes from corrupting one session log.** 中文文档 · Companion: dsh-session-rescue (repairs the damage this plugin prevents) The most common dsh corruption family is concurrent writing: a dsh web plus a CLI, two instances on different ports, or a desktop shell sharing one $DSH_HOME. Each process keeps its own in-memory seq cursor, the second writer lands events with already-committed seqs, and the session becomes permanently unloadable: history unavailable for session "…": corrupt session log: seq gap in committed region … dsh has no cross-process …
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-10
- 创建于
- 2026-09-05
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh-plugin, lock, session
同类推荐
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。
dsh-nested-followups
sluminositys/dsh-nested-followups
从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。
dsh-session-sync
PerryLink/dsh-session-sync
DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。