Yu-Zhuang1/dsh-workspace-snapshot-fork ↗★ 0
dsh-workspace-snapshot-fork
支持将 DeepSeek Harness 会话与其历史工作区状态一同进行 Fork 分支的插件。
AI 分析
核心用途是会话与工作区状态的同步分支复制。适合需要保存历史状态并基于特定节点进行多路径尝试的开发任务。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yu-Zhuang1/dsh-workspace-snapshot-fork说明文档
阅读完整 README ↗Configuration
The default bundle configuration is:
mode: workspace
storageRoot: /workspace-snapshot-fork/snapshots
childRoot: /workspace-snapshot-fork/workspaces
exclude: [.git, node_modules, .env, .env.*, .DS_Store]
DSH_HOME defaults to ~/.dsh. To override the configuration for the Web profile, edit $DSH_HOME/profiles/web/cordis.patch.yml and add the complete entry below:
- id: workspace-snapshot-fork
config:
mode: workspace
storageRoot: !!js dshHomePath('workspace-snapshot-fork/snapshots')
childRoot: !!js dshHomePath('workspace-snapshot-fork/workspaces')
exclude: [.git, node_modules, .env, .env.*, .DS_Store]
DSH replaces the complete config value rather than merging individual fields, so retain every field when overriding it.
Native mode
Set mode: native in the complete profile entry to delegate new forks to DSH unchanged. Native mode records no new workspace checkpoints, but archive cleanup still releases existing checkpoints. DSH watches the profile patch and applies a valid mode change while the Web process is running.
After switching back to workspace, only subsequently completed turns receive checkpoints. Native-mode turns are not captured retroactively.