@anionex/dsh-turn-rewind
Turn-level conversation and workspace rewind for DeepSeek Harness, powered by a persistent Change Ledger
AI 分析
核心用途是提供对话和本地文件状态的精确回滚(撤销)功能。适合在 Agent 执行复杂任务出错时,需要一键恢复到之前健康状态的开发场景。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Anionex/dsh-turn-rewindドキュメント
README 全文を読む ↗Configuration
Override configuration in the profile patch layer:
- id: turn-rewind
config:
storageDir: ~/.dsh/change-ledger/v1
maxRestorePoints: 50
maxTurnCheckpointsPerSession: 30
maxFiles: 20000
maxFileBytes: 16777216
maxSnapshotBytes: 536870912
planTtlMs: 900000
staleLockMs: 30000
All size and user-point retention limits fail loudly. Automatic turn checkpoints have a separate per-session retention window and prune only their own oldest checkpoints; user and rescue restore points are never silently pruned. When omitted, storageDir resolves to $DSH_HOME/change-ledger/v1 and falls back to ~/.dsh/change-ledger/v1; it must not overlap the managed worktree.