po-et/dsh-session-snapshot ↗★ 0
dsh-session-snapshot
DeepSeek Harness 插件:在轮次边界对每个会话进行滚动、验证完整性的备份,支持一键恢复。
AI 分析
核心用途是为 DSH 会话提供自动的滚动备份。适合希望在会话损坏时能最大程度减少数据丢失、实现一键恢复的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:po-et/dsh-session-snapshot说明文档
阅读完整 README ↗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// 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.