插件目录 / UI & Skins / dsh-worktree-panel
dsh-worktree-panel
已验证 · 实测可装 HeathHe
功能简介
Git worktree management panel for the DSH Web GUI — adds a project → worktree → sessions dimension to the sidebar.
可用 — 实测通过,早期项目
Git worktree management panel for the DSH Web GUI — adds a project → worktree → sessions dimension to the sidebar. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-worktree-panel
English | 简体中文
A Git worktree and branch-management panel for the DeepSeek Harness Web GUI. It extends the official workspace/session sidebar with a project → main working tree / branch worktree → session hierarchy while preserving the original workspace interactions.
Usage
Install
dsh plugin --profile web add dsh-worktree-panel
Restart dsh web after installation. The worktree hierarchy will then appear in the workspace sidebar.
Install a specific version:
dsh plugin --profile web add [email protected]
Upgrade
dsh plugin --profile web add dsh-worktree-panel@<version>
# Restart dsh web afterwards.
Local development
dsh plugin --profile web add link:/absolute/path/to/dsh-worktree-panel
Features
- Main working tree + branch worktrees — displays the main working tree, current branch, clean/modified state, and linked branch worktrees inside each project group.
- Session management — starts sessions inside a worktree, removes worktrees, and switches the main working tree branch.
- One-click creation — creates a worktree for an existing branch or creates a new branch and its worktree.
- Session-first non-Git folders — the project-row plus button starts a conversation directly. “Initialize Git and enable worktrees” is available from the project actions menu.
- Configurable storage — stores worktrees in
<project>/.dsh/workspaces/by default or in a custom global directory. - Safe migration — detects and migrates existing worktrees when the storage location changes, while skipping worktrees with uncommitted changes or active sessions.
- Progressive enhancement — non-Git workspaces retain the default session workflow and only gain an optional Git/worktree initializer.
Compatibility
- Tested with DSH Desktop 2.0.3 / DeepSeek Harness 0.1.1-rc.2.
- DSH peer dependency range:
>=0.1.1-rc.2 <0.2.0. - Uses a dedicated Worktree settings page through
settings.section. - Supports the current Host description store and home-directory path abbreviation.
Generated client bundle
lib/client.js is generated by lib/build.mjs from the official @deepseek-ai/dsh-client-ui-workspace browser bundle. The build validates the upstream package version and records it in the generated file header.
Use an explicit upstream bundle when needed:
DSH_WORKSPACE_BUNDLE=/absolute/path/to/client.js npm run build
License
MIT. lib/client.js is derived from @deepseek-ai/dsh-client-ui-workspace; see NOTICE and LICENSE.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-worktree-panel」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:HeathHe/dsh-worktree-panel Headless(CLI)profile:
dsh plugin --profile headless add github:HeathHe/dsh-worktree-panel 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。