dsh-session-guard
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 进程会明确报错而非写出重复 seq 断层;死进程持有的锁自动接管。
How to install
dsh plugin add github:po-et/dsh-session-guard About
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 …
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-10
- Created
- 2026-09-05
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh-plugin, lock, session
Related plugins
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
Inline-edit and recall your own user messages in dsh web — lazily and seamlessly, with a version pager and per-session draft persistence.
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
Chat recovery for DSH: edit the last finished user message and explicitly retry failed turns, both via session-fork branches that leave the original conversation untouched.
dsh-nested-followups
sluminositys/dsh-nested-followups
Keep branching from any completed answer at any depth while the main session stays untouched.
dsh-session-sync
PerryLink/dsh-session-sync
Cross-device session sync for DeepSeek Harness — syncs sessions and settings between machines through git.