BOWLUNA/dsh-zcode-rewind ↗★ 0

dsh-zcode-rewind

Per-tool-call workspace checkpoints for DeepSeek Harness: captures every file mutation including shell side effects, stores content-addressed blobs, previews line-level diffs, and every restore is itself undoable. 适合需要防止Agent误删改本地代码、需要随时回滚工作区状态的开发者。

Package
dsh-zcode-rewind
Compatibility
Unverified
Harness peer range
>=0.1.5-alpha.1 || >=0.1.6-alpha.1
Cordis peer range
^4.0.1
Version
1.0.0
License
MIT
Last updated
Sep 22, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BOWLUNA/dsh-zcode-rewind

Configuration

- insert:
    - id: workspace-rewind
      name: 'dsh-zcode-rewind'
      config:
        capture: all            # all | fileTools | off
        maxFileBytes: 8388608   # larger files are recorded as events only
        maxFiles: 20000         # per-walk file cap
        maxTotalBytes: 536870912  # store quota; oldest unreferenced blobs are evicted
        keepRecords: 500        # ledger trim threshold
        excludes: ['.git', 'node_modules', 'dist']
        secretNames: ['.env', '*.pem', '*.key']