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-07
- 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-chat-import
Nwflower/dsh-chat-import
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
deja-vu
vshulcz/deja-vu
One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 19 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, including months of sessions from before you installed it. No LLM, no embeddings, one local Go binary.
dsh-plugin-bridge
Totoro-qaq/dsh-plugin-bridge
Moves an existing DSH session to another agent preset through a previewable five-section handoff, preserving the source session and either pausing the target for confirmation or continuing immediately.
dsh-recall-plugin
limbo947/dsh-recall-plugin
Recall any user message: rolls the conversation (official session fork) and workspace files (per-message shadow git snapshots) back to before it, with a diff-preview confirmation panel.