← 返回列表

dsh-session-guard

DeepSeek Harness 会话与消息 低风险

预防并发写导致的会话损坏:在会话开始及每一步获取按会话的咨询锁,第二个 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.

怎么安装

DeepSeek Harness 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 …

推荐参考

42 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
42 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
TypeScript
GitHub 星标
0
月下载
–
最近更新
2026-09-10
创建于
2026-09-05

链接

GitHub ↗ 报告问题 ↗

基础安全检查

检查结果
curated 收录但无 npm 包/安装命令
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
deepseek-harness, dsh-plugin, lock, session

同类推荐

DeepSeek Harness
推荐77

DSH-EasyRewrite

Renzic-Stone/DSH-EasyRewrite

在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。

☆ 116 ↓ 5.7K 会话与消息 ↗
DeepSeek Harness 新上架
推荐71

dsh-web

zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery

对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。

☆ 5.9K ↓ – 会话与消息 ↗
DeepSeek Harness
推荐71

dsh-nested-followups

sluminositys/dsh-nested-followups

从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。

☆ 48 ↓ 830 会话与消息 ↗
DeepSeek Harness 精选
推荐69

dsh-session-sync

PerryLink/dsh-session-sync

DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。

☆ 12 ↓ 2.8K 会话与消息 ↗