DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Workspace Snapshot Fork — DeepSeek Harness 插件(DSH Plugin)
← Plugins
W

dsh-workspace-snapshot-fork

Workspace Snapshot Fork

将 DeepSeek Harness 会话及其历史工作区状态一起分叉

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Yu-Zhuang1/dsh-workspace-snapshot-fork#6b48e5df46df0c2e0e286e39725adbbb22fe2828
README兼容性版本

兼容性与来源证明

Workspace Snapshot Fork 以 dsh-workspace-snapshot-fork 发布,当前版本为 0.1.0-alpha.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/31

版本

0.1.0-alpha.1prerelease
2026/8/31

相关插件

正在加载相关插件…

最新版
0.1.0-alpha.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/2
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Reme@agentscope-ai/reme面向 TypeScript 代理的 ReMe 客户端和记忆集成

README

DSH Workspace Snapshot Fork

简体中文

dsh-workspace-snapshot-fork is a third-party plugin that extends DeepSeek Harness's built-in session forking. In addition to copying the session history through the selected completed turn, it creates an independent workspace for the new session and restores the files recorded at that fork point. The source session's workspace remains unchanged.

Alpha release: Windows support has been tested with the DSH Web profile. Linux and macOS are not yet verified.

How it works

Each completed turn receives an immutable Git-backed workspace checkpoint. When the user forks that turn in the DSH Web UI, the plugin copies the session-log prefix and materializes the matching files in a new workspace.

Source workspaceFork behavior
Plain directoryMaterializes the checkpoint from a private snapshot repository.
Git repository root with a commitCreates a new worktree and dsh/workspace-fork/<id> branch in the source repository, then restores the checkpoint files. History, remotes, hooks, and repository configuration remain available.
Directory nested inside a Git repositoryUses the private snapshot behavior.
Git repository without an initial commitUses the private snapshot behavior.

Historical uncommitted changes appear as ordinary changes in a Git child worktree. The parent directory is never changed.

Requirements and compatibility

  • DeepSeek Harness Web profile
  • Node.js ^22.19.0 or >=24.0.0
  • Git available on PATH
PlatformStatus
WindowsSupported and tested
Ubuntu/LinuxNot yet verified
macOSNot yet verified

This release supports the DSH 0.1.1-rc.x line. DeepSeek Harness is in developer preview, so upgrade compatibility is not assumed.

Install

Install this release into the web profile:

dsh plugin --profile web add "github:Yu-Zhuang1/dsh-workspace-snapshot-fork#v0.1.0-alpha.1"

For a DSH source checkout, prefix the same command with pnpm:

pnpm dsh plugin --profile web add "github:Yu-Zhuang1/dsh-workspace-snapshot-fork#v0.1.0-alpha.1"

Restart DSH after installing or updating the package. This bundle targets the Web profile only; the shipped headless profile has no session-fork RPC or workspace registry.

Configuration

The default bundle configuration is:

mode: workspace
storageRoot: <DSH_HOME>/workspace-snapshot-fork/snapshots
childRoot: <DSH_HOME>/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.

Security

The plugin uses its own snapshot index and deliberately does not treat the source repository's .gitignore as a security policy. A file ignored by source Git is captured unless it matches this plugin's exclude list.

  • Add every project-specific credential, secret, large generated directory, and private data path to exclude.
  • Removing .env or .env.* from the list may store credentials in local snapshots.
  • Snapshots are local Git objects and are not encrypted by this plugin.
  • The exclusion list is complete replacement configuration, not an addition to hidden defaults.

Read SECURITY.md before using this plugin on sensitive workspaces.

Retention and cleanup

Archiving a session removes its checkpoint map. A snapshot ref is removed only after no unarchived session map references it. Forked child sessions inherit the selected parent prefix's checkpoint maps, so they can continue forking inherited turns after the parent is archived.

Successful child workspaces, Git worktrees, and dsh/workspace-fork/* branches are not deleted automatically. Review their uncommitted files, then clean up a Git child with:

git -C <source-repository> worktree remove <child-workspace>
git -C <source-repository> branch --delete dsh/workspace-fork/<id>

Use --force only when you intentionally want to discard uncommitted child files. Plain child directories are also user-owned after a successful fork.

Uninstall

dsh plugin --profile web remove dsh-workspace-snapshot-fork

For a DSH source checkout, prefix the command with pnpm. Uninstalling stops future checkpoints and workspace-aware forks; it does not delete existing snapshots or child workspaces. Remove any plugin override from $DSH_HOME/profiles/web/cordis.patch.yml after uninstalling.

Known limitations

  • Web profile only; there is no headless fork adapter.
  • DSH fork integration is version-sensitive; verify the plugin after upgrading DSH.
  • Existing successful child worktrees and branches require manual cleanup.
  • Unarchiving a session does not restore checkpoints discarded when it was archived.
  • Checkpoints are created only for turns completed while mode: workspace is active.

Development

The package has no runtime npm dependencies. Tests invoke local Git and create only temporary directories.

npm run check
npm test
npm pack --dry-run

License

MIT