po-et/dsh-session-snapshot ↗★ 0
dsh-session-snapshot
DeepSeek Harness plugin that keeps rolling, integrity-verified backups of each session at turn boundaries, so any corruption costs at most the in-flight turn; one-command restore, even when dsh won't boot
AI 분석
核心用途是为 DSH 会话提供自动的滚动备份。适合希望在会话损坏时能最大程度减少数据丢失、实现一键恢复的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:po-et/dsh-session-snapshotConfiguration
- 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.