DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Plugin Worktree — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-plugin-worktree

Plugin Worktree

Claude Code 风格的 git worktree 支持,用于 dsh web:创建、切换和删除 worktree 会话。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-worktree@0.1.1
README兼容性版本

兼容性与来源证明

Plugin Worktree 以 dsh-plugin-worktree 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/4

版本

0.1.1stable
2026/9/4

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
86.6 kB
文件数
14
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/9/4
查看源码 ↗
README Badge

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

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

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

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

相关插件

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

Better Sidebardsh-better-sidebarDSH web 插件:类似 VSCode 的右侧边栏(资源管理器 / 编辑器 / 终端 / git / 浏览器),按对话会话隔离。提供服务,供其他插件注册侧边栏标签页和文件查看器。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Plugindsh-pluginDeepSeek Harness 社区插件市场,遵循官方插件规范——无需离开应用即可浏览、搜索并安装 9000+ 个由人工精选的社区插件。· DeepSeek Harness 社区插件市场(遵循官方开发规范):9000+ 人工精选社区插件,每日更新。

README

dsh-plugin-worktree

A dsh plugin that brings Claude Code-style git worktree support to the dsh web UI. Create, switch, and delete worktree-backed sessions without leaving the browser.

Features

  • New-session hero — the workspace chip shows the root workspace name when the current session is in a worktree, and the Worktree chip shows the current worktree name. You can list the repository's worktree workspaces, create a new git worktree, or switch to another worktree.
  • Sidebar badge — worktree workspaces are normal workspaces whose titles carry a ⑂ branch badge.
  • Delete dialog — deleting a worktree workspace asks whether to also remove the git worktree directory and its dsh/<name> branch, or keep them on disk.

Requirements

  • A working dsh installation
  • A web profile (dsh web)
  • git available on the host machine
  • Node.js 18 or newer

Install

From npm

dsh plugin --profile web add dsh-plugin-worktree

Restart dsh web. The plugin registers the worktree bundle row automatically.

From GitHub

dsh plugin --profile web add github:limoiie/dsh-plugin-worktree#main

Pin a released version by replacing #main with a tag, for example:

dsh plugin --profile web add github:limoiie/dsh-plugin-worktree#v0.1.0

Git-hosted installs may need pnpm's allowBuilds approval for the package's prepare script, as pnpm prints during installation.

Update

dsh plugin --profile web update dsh-plugin-worktree

Restart dsh web after updating.

If you installed from GitHub, re-run the same GitHub install command to move to the latest commit of that branch or tag.

Remove

dsh plugin --profile web remove dsh-plugin-worktree

Restart dsh web after removing. This uninstalls the plugin and removes its bundle layer from the web profile.

Quick start

  1. Install the plugin and restart dsh web.
  2. Open a new session.
  3. In the workspace picker, open the Worktree chip.
  4. Choose New worktree…, enter a name such as feat/okta-sso, and confirm.
  5. dsh creates a git worktree at .dsh/worktrees/<name> on a dsh/<name> branch and opens a new session inside it.

To switch later, start another new session and pick an existing worktree workspace from the Worktree chip or the sidebar. To remove a worktree workspace, use the sidebar delete flow and choose whether to also remove the git worktree and its branch.

Configuration

The worktree row accepts:

fielddefaultmeaning
rootprocess.cwd()directory used for git rev-parse --show-toplevel
worktreesDir.dsh/worktreesworktree root; absolute, or relative to the repository top

Name rules: at most 64 characters, one or more /-separated segments made of letters, digits, dots, underscores, and dashes (feat/okta-sso works; . and .. segments are rejected).

Users can override these values in their profile or home cordis.patch.yml by targeting id: worktree without editing the plugin.

How it works

  • The host service exposes worktree/create, worktree/remove, worktree/removeWorktree, and worktree/branchExists RPCs.
  • Creating a worktree runs git worktree add -b dsh/<name> <repo>/.dsh/worktrees/<name> HEAD.
  • The browser client registers the worktree path as a normal DSH workspace and opens a new session inside it.
  • Deleting a worktree workspace asks whether to remove the git worktree and/or its branch before removing the workspace registration.

See Architecture for implementation details.

Safety

  • Worktree names are validated to prevent path traversal and invalid git names.
  • Worktree paths are resolved under the configured worktrees directory; paths that escape it are rejected.
  • Branch deletion uses git branch -d, so git refuses to delete branches with unmerged commits; the client surfaces that as “branch kept”.
  • The configured worktrees directory is added to .git/info/exclude on a best-effort basis so main-checkout status stays clean.

Related plugins

The dsh ecosystem already has several worktree plugins. They are not direct replacements for each other: they emphasize different parts of the workflow, so the right choice depends on whether the worktree is primarily for the human in the web UI, for parallel agent tasks, or for durable agent-created workspaces.

PluginFocusPrimary interfaceWorktree modelBest for
dsh-plugin-worktree (this plugin)Human-first, web-native worktree sessionsdsh web: new-session hero chip, sidebar ⑂ badges, delete dialogRegular DSH workspaces created in .dsh/worktrees/<name> on a dsh/<name> branchStarting focused sessions in dedicated worktrees and managing them from the dsh web UI, with a clear choice to keep or remove the git worktree and branch on delete
dsh-plugin-worktreesAgent-first parallel task isolationworktree_* agent toolsTask-scoped worktrees with a serial merge queue and conflict-scene retentionDispatching parallel subagents into isolated checkouts and integrating their branches one at a time
dsh-worktreeDurable, Codex-style worktreesworktree_* agent tools and /worktree commandPermanent detached checkouts recorded in a per-repo manifestHaving the agent create, list, and reopen long-lived worktrees across sessions without touching the main checkout

This plugin intentionally keeps the scope on the web UI workflow: a worktree is just a DSH workspace, so creating one is also creating a session context, the branch badge makes worktree sessions recognizable in the sidebar, and deleting asks explicitly whether to remove the worktree directory and its dsh/<name> branch or keep them on disk. It complements agent-tool and merge-automation plugins rather than competing with them.

Documentation

  • Getting started — install, verify, and configure
  • Architecture — how the plugin works
  • Development — set up a local checkout and iterate
  • Release — versioning, publishing, and store registration
  • Contributing — branch flow and contribution guidelines

Development

npm install
npm test

See Development for the full local setup.

License

MIT