← 返回列表

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 …

推荐参考

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

信息

协议
MIT
语言
TypeScript
GitHub 星标
0
月下载
最近更新
2026-09-07
创建于
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 HarnessClaude CodeCodex
推荐79

dsh-chat-import

Nwflower/dsh-chat-import

把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。

☆ 140 ↓ 17.0K 会话与消息
DeepSeek HarnessClaude CodeCodexMCP 服务器
推荐78

deja-vu

vshulcz/deja-vu

面向编码智能体的记忆。索引17个智能体已经写入磁盘的会话,包括你安装之前几个月的会话,并能在任意会话中召回它们。无需LLM,无需嵌入——一个本地Go二进制文件即可。

☆ 786 ↓ 2.2K 会话与消息
DeepSeek Harness
推荐75

dsh-plugin-bridge

Totoro-qaq/dsh-plugin-bridge

通过可预览的五段式交接,将已有 DSH 会话迁移到另一个 Agent Preset;保留源会话,并可让目标会话暂停等待确认或立即继续。

☆ 162 ↓ 868 会话与消息
DeepSeek Harness
推荐73

dsh-recall-plugin

limbo947/dsh-recall-plugin

消息撤回:在用户消息旁加「撤回」按钮,把对话历史(官方会话 fork)与项目文件(逐消息影子 git 快照)一并回退到该消息发送之前,带差异预览确认面板。

☆ 31 ↓ 5.6K 会话与消息