Yu-Zhuang1/dsh-workspace-snapshot-fork0

dsh-workspace-snapshot-fork

Fork DeepSeek Harness sessions together with their historical workspace state.

包名
dsh-workspace-snapshot-fork
版本
0.1.0-alpha.1
许可证
MIT
最近更新
2026年8月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yu-Zhuang1/dsh-workspace-snapshot-fork

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.