po-et/dsh-session-snapshot0

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 会话提供自动的滚动备份。适合希望在会话损坏时能最大程度减少数据丢失、实现一键恢复的用户。

パッケージ
dsh-session-snapshot
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/05

インストール

$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.