DeepSeek Harness 插件

dsh-worktree-panel

Worktree + git branch management panel for the DSH Web GUI: orca-style project -> worktree -> sessions tree in the sidebar, with branch/worktree create, open and cleanup backed by real git worktrees(英文原文)

跳到安装方式

来源信息

GitHub 仓库
HeathHe/dsh-worktree-panel
最近更新
2026年8月18日
分类
界面增强
GitHub stars
5
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/HeathHe/dsh-worktree-panel
插件名:dsh-worktree-panel
作者:HeathHe

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-worktree-panel

<p align="center"> <a href="https://www.npmjs.com/package/dsh-worktree-panel"><img alt="npm version" src="https://img.shields.io/npm/v/dsh-worktree-panel?label=npm&color=blue"></a> <a href="https://www.npmjs.com/package/dsh-worktree-panel"><img alt="monthly downloads" src="https://img.shields.io/npm/dm/dsh-worktree-panel?label=%E6%9C%88%E4%B8%8B%E8%BD%BD&color=brightgreen"></a> <a href="https://github.com/HeathHe/dsh-worktree-panel"><img alt="stars" src="https://img.shields.io/github/stars/HeathHe/dsh-worktree-panel?style=social"></a> <a href="https://github.com/HeathHe/dsh-worktree-panel/blob/main/LICENSE"><img alt="license" src="https://img.shields.io/github/license/HeathHe/dsh-worktree-panel?color=orange"></a> <img alt="platform" src="https://img.shields.io/badge/platform-DeepSeek%20Harness%20Web-8A2BE2"> </p>

DeepSeek Harness Web 界面增加 git worktree 维度的分支管理面板:在官方工作区/会话侧边栏之上,展示 项目 → 主工作树 / 分支 worktree → 会话,并保留官方列表的全部原有交互。

A git worktree / branch panel for the DeepSeek Harness Web GUI: on top of the official workspace/session sidebar it adds a project → main working tree / branch worktree → session dimension while preserving every interaction of the official list.

---

使用 / Usage

安装 / Install

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

装完重启 dsh web,工作区侧边栏即出现 worktree 维度。/ Restart dsh web afterwards; the worktree dimension appears in the sidebar.

安装指定版本 / Install a specific version:

dsh plugin --profile web add dsh-worktree-panel@0.1.1

升级 / Upgrade

dsh plugin --profile web add dsh-worktree-panel@<新版本 / new version>
# 然后重启 dsh web / then restart dsh web

源码开发 / Development

dsh plugin --profile web add link:/绝对路径/到/dsh-worktree-panel

---

功能 / Features

  • 主工作树 + 分支 worktree — 项目组内展示主工作树(当前分支 + 干净/有改动状态)与各分支 worktree
  • 会话管理 — 在 worktree 内开新会话、删除 worktree、切换主工作树分支
  • 一键创建 — 底部「+ 分支 → 创建 worktree」为未建 worktree 的分支一键创建(可选新建分支)
  • 落盘位置可配置 — 默认项目内 .dsh/workspaces/,或改为全局目录;更改时自动检测并批量迁移已有 worktree(跳过有未提交改动 / 活跃会话的)
  • 零侵入 — 非 git 工作区保持官方原样,不显示任何 worktree UI
  • Main working tree + branch worktrees — shows the main working tree (current branch + clean/dirty status) and each branch worktree within a project group
  • Session management — open a new session inside a worktree, delete a worktree, switch the main working tree's branch
  • One-click create — the bottom "+ branch → create worktree" button creates a worktree for any branch without one (optionally a new branch)
  • Configurable location — default .dsh/workspaces/ inside the project or a global directory; changing it auto-detects and bulk-migrates existing worktrees (skipping those with uncommitted changes / active sessions)
  • Zero intrusion — non-git workspaces stay exactly as the official UI, no worktree UI is shown

---

许可 / License

MIT · lib/client.js 衍生自 @deepseek-ai/dsh-client-ui-workspace,详见 NOTICE / LICENSE。/ MIT · lib/client.js is derived from @deepseek-ai/dsh-client-ui-workspace; see NOTICE / LICENSE.