DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Session Snapshot — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-session-snapshot

Session Snapshot

DeepSeek Harness 插件在每轮交互的边界持续创建并验证完整性的会话备份,因此任何损坏最多只会影响正在进行的一轮;即使 dsh 无法启动,也可使用一条命令恢复

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:po-et/dsh-session-snapshot#084e345828f1752e18ea06a7252672e85effb9c0
README兼容性版本

兼容性与来源证明

Session Snapshot 以 dsh-session-snapshot 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/5

版本

0.1.0stable
2026/9/5

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/10
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。

README

dsh-session-snapshot

Rolling, integrity-verified backups of every DeepSeek Harness session — so corruption costs at most the in-flight turn.

中文文档

Part of a three-piece session-integrity suite:

StagePluginRole
Preventdsh-session-guardstop two dsh processes from corrupting one session
Snapshotdsh-session-snapshot (this)keep a verified good copy at every turn boundary
Repairdsh-session-rescuefix or salvage a log that already broke

Why it exists

dsh-session-guard prevents the common concurrent-write corruption, but two cases stay outside any plugin's reach: a crash mid-write, and dsh's own cold-load repair path that runs before any agent step. This plugin closes that residual gap from the other side. After each turn ends it verifies the live log still loads and, if so, promotes it to a snapshot. When a turn ends with the log already corrupt, it does not overwrite the last good snapshot and tells you how to recover — losing at most the one turn in flight.

Install

dsh plugin --profile web add dsh-session-snapshot

That's it — the plugin snapshots automatically at turn boundaries. Using an AI agent? Tell it: "Install the dsh-session-snapshot plugin."

Recover a broken session

The CLI works even when dsh itself won't boot:

npx dsh-session-snapshot                 # list snapshots + live health for every session
npx dsh-session-snapshot list 37374e34   # snapshots for one session (id fragment)
npx dsh-session-snapshot restore 37374e34   # restore the newest verified snapshot
npx dsh-session-snapshot snapshot 37374e34  # take one right now

restore always preserves the current file as <artifact>.pre-restore-<time> first, and refuses any snapshot that does not itself verify as loadable. Use --at <epoch> (shown in list) to restore a specific snapshot instead of the newest.

Configuration

- id: session-snapshot
  name: dsh-session-snapshot
  config:
    keep: 5            # snapshots kept per session before the oldest is pruned
    minIntervalMs: 0   # minimum ms between snapshots of one session (0 = every changed turn)
    # home: /custom    # default: $DSH_HOME (~/.dsh)

Snapshots live under $DSH_HOME/session-snapshots/<session-id>/ and are only taken when the log grew and still verifies, so an unchanged or already-corrupt session never spends I/O or overwrites a good copy.

Cost & honest scope

  • Each snapshot is a file copy plus one verification scan of the session log. Turns are seconds-to-minutes apart, so this is cheap in practice; raise minIntervalMs for very large sessions if you want to bound it further.
  • Snapshots are point-in-time copies of the session log only — they do not snapshot your workspace files. For conversation+file rollback, that's a different tool.
  • Supports session format version 0 (current dsh developer preview), .jsonl and .jsonl.zstd, JSONL backend. Compression is detected by content, so renamed/backup copies verify correctly. dsh is pre-1.0 with no format-compatibility promise; on an unknown version the tool refuses loudly rather than guessing.

Zero runtime dependencies (zstd via Node's built-in zlib). MIT.