BOWLUNA/dsh-zcode-rewind ↗★ 0

dsh-zcode-rewind

提供基于工具调用的工作区文件变更备份与撤销功能。 适合需要防止Agent误删改本地代码、需要随时回滚工作区状态的开发者。

包名
dsh-zcode-rewind
兼容性
待验证
Harness 依赖范围
>=0.1.5-alpha.1 || >=0.1.6-alpha.1
Cordis 依赖范围
^4.0.1
版本
1.0.0
许可证
MIT
最近更新
2026年9月22日

安装

$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']