dsh-single-instance-guard
Aborts startup when another live dsh instance holds the same DSH_HOME data directory, preventing the concurrent session-log writes that corrupt transcripts.
检测到其他存活的 dsh 实例占用同一 DSH_HOME 数据目录时中止启动,防止并发写会话日志导致的历史损坏。
How to install
dsh plugin add github:Tang-mm95/dsh-single-instance-guard About
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…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-08-16
- Created
- 2026-08-16
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh, dsh-plugin
Related plugins
langfuse
langfuse/langfuse
🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
claude-code-templates
davila7/claude-code-templates
CLI tool for configuring and monitoring Claude Code
semiotic
nteract/semiotic
React data visualization library for streaming, networks, and AI-assisted development
dsh-desktop
dataelement/dsh-desktop
DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版