kermanx/dshw 预览 preview

kermanx/dshw

Plugin插件 Native原生 ⭐ 10 Subagents & Orchestration子代理与编排

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 配置后重启生效。首次启动需要几分钟准备运行环境,所有数据仅存放在本地项目目录内,不使用系统级服务。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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。

← 上一个 Prev dsh-acp-adapter 下一个 Next web-background →