FlipFlopszzz/dsh-studio--plugins-rewind0

@dsh-studio/plugins-rewind

Turn-level conversation and workspace rewind for DeepSeek Harness, powered by a persistent Change Ledger

AI Analysis

核心用途是提供对话和工作区文件的双重撤销与恢复。适合在 Agent 产生错误修改或偏离预期时,需要一键回滚代码和上下文的开发任务。

Package
@dsh-studio/plugins-rewind
Version
0.1.0
Last updated
Aug 17, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FlipFlopszzz/dsh-studio#7f3f3a636c7622dd028aefec6e2d5993ec1ccf32&path:plugins/rewind

Configuration

Override configuration in the profile patch layer:

- id: 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.