kermanx/dshw
DeepSeek Harness 的 PR 工作流插件
Project Overview项目介绍
dshw is a native pull request workflow tool built exclusively for DeepSeek Harness, that embeds as a kanban-style board directly within the DSH Web interface. It automatically tracks pull requests that you have created or been assigned to, clones the codebase to a dedicated local directory, keeps target branches synced, and monitors CI status. When issues like merge conflicts or failed CI checks arise, it invokes the DSH Agent to automatically resolve these problems and address open review feedback. It supports monitoring multiple GitHub repositories at once, and automatically detects new PRs after you add a repository to your watch list.
This tool is built for developers that work with multiple pull requests on a daily basis. Its core features include sorting open PRs by repository to show their current CI, review, merge, and sync status, listing PRs waiting for your review, and visualizing Git branches and commit history. It also displays stacked PRs with their dependency tree from base to top, and provides one-click or automatic handling for common issues like out-of-date branches or unresolved conflicts. You can view and manage running background tasks directly from the kanban board, and access full logs for all services and tasks.
Currently, dshw only supports macOS systems, and requires several pre-installed dependencies: Node.js 24 or newer, pnpm, Git, and GitHub CLI with an authenticated login after running gh auth login. First run takes several minutes to prepare the hosted repository, build the plugin, and register a local LaunchAgent for the current user, no sudo or system-level services are used. All data is stored locally in the .dshw/ directory of your project, which is ignored by Git, and separate installations do not interfere with each other. You can update the tool by pulling the latest changes from git and running pnpm dshw restart to apply updates.
dshw 是专为 DeepSeek Harness 开发的原生 PR 工作流工具,以看板形式嵌入 DSH Web 界面。它会自动追踪你创建的,以及分配给你的拉取请求,将对应代码克隆到本地独立目录,持续同步目标分支、监控 CI 状态,需要时会调用 DSH Agent 自动处理合并冲突、修复 CI 失败、解决 review 评论。支持同时监控多个 GitHub 仓库,新增仓库的 PR 会被自动发现并展示。
它面向需要日常处理多个 PR 的开发者,核心功能包括按仓库展示待处理 PR 的各项状态,列出待你 review 的 PR,可视化 Git 分支与提交历史,还提供后台任务的管控入口和完整日志查看。它支持展示堆叠 PR 的依赖关系,对冲突、分支落后、CI 失败等问题都提供一键处理或自动处理入口。
项目目前仅支持 macOS 系统,要求预先安装 Node.js 24+、pnpm、Git、GitHub CLI,并完成 GitHub CLI 的授权登录。安装需要先克隆仓库,安装依赖后启动后台服务,再将插件添加到 DSH Web 配置后重启生效。首次启动需要几分钟准备运行环境,所有数据仅存放在本地项目目录内,不使用系统级服务。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dshw(kermanx/dshw)
仓库:https://github.com/kermanx/dshw
本站详情页:https://www.yhbd.top/plugins/kermanx-dshw/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 10 · 最近提交 2026-09-08 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
- 10 stars - an early-stage project星标 10,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add "$PWD"
把 kermanx/dshw 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dshw
个人开源项目,非 DeepSeek 官方产品。
dshw 是 DeepSeek Harness 的本机 PR 工作流工具,以看板形式嵌入 Harness Web。它会自动追踪你创建的、以及 assign 给你的 PR,克隆到本地独立目录,持续同步目标分支、监控 CI,并在需要时用 dsh Agent 自动处理冲突合并、修复 CI 失败、解决 review 评论。

功能
- Pull requests:按仓库列出你创建或 assign 给你的 open PR,展示 CI、review、合并与同步状态;冲突、落后、失败检查都有一键或自动处理入口。stacked PR 会彼此连续排列,并用树形连接线标出 base → top 的依赖关系
- Reviews:列出待你 review 的 PR
- Git:仓库分支与提交历史可视化
- Jobs:后台任务列表与详情,运行中的任务可 steer、暂停、终止
- Logs:服务与任务日志
- Settings:
- Repos:选择要监控的 GitHub 仓库(勾选并排序,顺序即各页展示顺序)
- Workers:配置 dsh / Codex 等执行器
- System:更新 dshw、同步主仓库、清理过期 worktree
支持同时监控多个仓库;新增仓库后,它的 PR 会被自动发现并展示。
安装
前置条件
- macOS
- Node.js 24+
- pnpm
- Git
- GitHub CLI,并已运行
gh auth login - DeepSeek Harness
步骤
git clone https://github.com/kermanx/dshw.git
cd dshw
pnpm install
pnpm dshw start # 初始化并后台启动服务
首次启动会准备托管仓库与运行时、构建插件、注册 LaunchAgent,可能需要几分钟。
然后把看板装进你的 dsh:
dsh plugin --profile web add "$PWD"
重启你的 dsh Web 服务(停掉后重新运行 dsh web),刷新页面即可在左侧栏看到看板入口。插件列表在启动时组装,新增插件必须重启 dsh web 才会生效。
使用要点
- 看板数据由本机后台服务实时提供,无需手动刷新
- 服务默认监听
127.0.0.1:7849,可用环境变量DSHW_PORT修改;换端口后在看板的连接失败界面修改服务地址即可 - 更新:
git pull后运行pnpm dshw restart即可。 - 卸载:
dsh plugin --profile web remove dshw,再重启 dsh web
Worker 配置
Settings 的 Workers 页可以维护多个执行器配置并拖动排序,第一项即默认执行器。支持:
- dsh:填写 Provider、模型、API Key 等即可使用
- Codex:使用本机 Codex CLI 与登录状态
- Claude Code:仅保留入口,尚未接入
直接输入的 API Key 不会出现在配置文件里,而是以受限权限单独保存。PR 操作按钮左键使用默认执行器,右键可为本次任务选择其他执行器。
任务控制
运行中的任务可以:
- Steer:在下一个 step 前插入指令
- 暂停 / 继续:暂停当前 turn,输入新指令后继续同一个任务
- 终止:结束任务
daemon 重启后会重新接管运行中的任务。
安全与运维
- dshw 只注册当前用户的 LaunchAgent,不使用 sudo,不创建系统级服务
- 所有数据都在仓库的
.dshw/目录内(已被 Git 忽略) - worker 使用独立的运行环境,不会写入你的全局配置
- 每份 clone 有独立身份;不同安装互不干扰,冲突操作会明确拒绝
常用命令
pnpm dshw start # 初始化并启动
pnpm dshw stop # 停止
pnpm dshw restart # 构建插件并重启
pnpm dshw status # 查看状态
pnpm dshw code # 打开当前分支对应的 worktree
pnpm dshw doctor # 检查环境
开发
pnpm check # 类型检查 + 构建 + 测试
修改正式服务代码后运行 pnpm dshw restart。
tt-a1i/archify
loopx-project/loopx
ZSeven-W/openpencil
omdsh-dev/DSH-better-sidebar
NanmiCoder/dsh-agent-teams
LiPu-jpg/Openwrite