dsh-zcode-rewind
提供基于工具调用的工作区文件变更备份与撤销功能。 适合需要防止Agent误删改本地代码、需要随时回滚工作区状态的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:BOWLUNA/dsh-zcode-rewind说明文档
阅读完整 README ↗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']