dsh-single-instance-guard
检测到其他存活的 dsh 实例占用同一 DSH_HOME 数据目录时中止启动,防止并发写会话日志导致的历史损坏。
Aborts startup when another live dsh instance holds the same DSH_HOME data directory, preventing the concurrent session-log writes that corrupt transcripts.
怎么安装
dsh plugin add github:Tang-mm95/dsh-single-instance-guard 简介
dsh-single-instance-guard A zero-dependency DeepSeek Harness plugin that takes an exclusive lock on the DSH_HOME data directory at startup and **aborts loudly** when another live dsh server already uses it. 中文说明 Why The JSONL session persistence backend documents **"One live writer per session"** and has no cross-process defense. Two dsh servers sharing one DSH_HOME (a desktop wrapper spawning its own server, or two dsh web processes) append batches with stale sequence cursors, corrupting session logs: history unavailable for session "…": Error: corrupt session log: seq gap in committed region…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-08-16
- 创建于
- 2026-08-16
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh, dsh-plugin
同类推荐
langfuse
langfuse/langfuse
🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23