DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Process Panel — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

dsh-process-panel

Process Panel

Process panel for DeepSeek Harness: start, stop and watch long-running background processes from the sidebar, with live logs.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:ALIWUER/dsh-process-panel#6e445885f80222948cbebb118ea333a27dd1c985
READMECompatibilityVersions

Compatibility and provenance

Process Panel is published as dsh-process-panel and currently resolves to version 0.5.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/10/2026

Versions

0.5.0stable
9/10/2026
0.4.0stable
9/10/2026

Related plugins

Loading related plugins…

Latest
0.5.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/10/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Pet@linxin666/dsh-petMulti-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score

README

dsh-process-panel

DeepSeek Harness(dsh)的侧栏进程面板插件: 在 Web GUI 里管理长时后台进程 —— 启动、停止、重启、看实时日志,AI 侧通过 sv_* 工具操作。

A sidebar process panel for DeepSeek Harness: manage long-running background processes (start / stop / restart / live logs) from the Web GUI, with matching sv_* tools for the agent. Installs as a standard DSH bundle.

┌ 侧栏 ───────────────┐
│ 记忆系统             │
│ 工作区               │
│ …会话列表…           │
│ 进程任务        ● 2  │   ← 侧栏底部,紧挨「设置」的官方座位
│ 设置                 │
└─────────────────────┘

功能

  • 侧栏入口「进程任务」:位于侧栏底部、紧挨「设置」(官方 sidebar.footer.action 座位), 徽标显示运行中的任务数;点开是全屏面板,左侧任务列表、右侧实时日志。
  • 任务状态一目了然:运行中 / 孤儿进程 / 已失效 / 已停止 / 已退出 / 启动失败。
  • 面板按钮:重启、停止、终止(针对孤儿进程)、清除,列表顶部还有 清理已结束。
  • 日志体验:默认选中第一个运行中的任务并自动跟随底部;手动上滚即暂停跟随,滚回底部恢复。
  • AI 工具:sv_start / sv_stop / sv_restart / sv_logs / sv_list / sv_clear, 所以你(或你的 agent)只要说「启动后端」「看下 backend 日志」就够了。
  • 任务归属宿主进程:所有会话与 GUI 面板共享同一份任务列表。

任务状态语义

状态含义面板能做什么
running本 dsh 进程的子进程,正常可控重启 / 停止
orphandsh 被强杀(kill -9 / 崩溃)时活下来的进程。面板读不到它的输出(管道随旧进程消失),只保留 pid只能「终止」(按 pid 发 SIGTERM→SIGKILL)
lostdsh 重启过,进程已不在;命令行与日志仍保留重启(一键拉回来)/ 清除
stopped / exited / failed已结束重启 / 清除

dsh 正常退出(SIGTERM/SIGINT,含 systemctl restart)会连任务一起结束; 只有 kill -9 / 崩溃才可能留下「孤儿进程」,此时面板会如实显示并提供「终止」。

环境要求与兼容性

依赖版本
DeepSeek Harness0.1.1-rc.2(本插件在该版本上开发并验证)
@deepseek-ai/dsh-tools0.1.1-rc.2(已锁死在 dependencies,随插件一起安装)
Node.js^22.19.0 || >=24.0.0
pnpm11(corepack enable pnpm)

版本锁定说明:插件在运行时 import "@deepseek-ai/dsh-tools",该包与 dsh 主版本同步发布。 本项目把它写成精确版本依赖(不是 peer),以确保任何安装方式下都能解析到与宿主匹配的实现; 升级 dsh 后如果行为异常,请把这里的版本与本表对齐。

安装

本插件以 bundle 形式分发:仓库自带 cordis.patch.yml 并在 package.json 声明 dsh.bundle.patch,因此 dsh plugin add 会自动把插件层登记进 profile,无需手工改配置文件。

方式一:拉源码后一条命令(推荐,无需任何授权)

git clone https://github.com/ALIWUER/dsh-process-panel.git
cd dsh-process-panel
./install.sh            # 装进 web profile;也可 ./install.sh <profile>

install.sh 做三件事:安装依赖并构建 → 注册 bundle → 打印验证命令。等价于手动执行:

pnpm install && pnpm run build
dsh plugin --profile web add "$PWD"

方式二:直接从 GitHub 安装

dsh plugin --profile web add github:ALIWUER/dsh-process-panel#v0.5.0

pnpm ≥10 默认拒绝执行 git 依赖的构建脚本,首次会失败并给出提示 —— 把 pnpm 打印的包键写进该 profile 的 pnpm-workspace.yaml 后重试:

allowBuilds:
  dsh-process-panel: true

⚠️ 安全提示:这一步等于允许该仓库的代码在你的机器上执行构建。 请锁定 tag 或 commit(如 #v0.5.0),不要直接装 main 这种浮动引用。

验证与生效

dsh --profile web --dump-config | grep -A2 process-panel   # 应看到 id: process-panel
# 然后重启 dsh web(bundle 层在启动时装配)

打开 GUI,侧栏底部(设置旁边)即可看到「进程任务」。若之前开着页面,请刷新一次。

卸载

dsh plugin --profile web remove dsh-process-panel

配置

配置项默认值说明
stateDir$DSH_HOME/process-panel任务快照(状态 + 最近日志)的存放目录

在 profile 的 cordis.patch.yml 里覆盖(patch 按行替换,需要重述该行所有键):

- insert:
    - id: process-panel
      name: 'dsh-process-panel'
      config:
        stateDir: '/path/to/my/process-panel'

使用

GUI

点侧栏底部「进程任务」→ 面板。左侧点任务看日志,行内按钮做操作,顶部「清理已结束」批量清掉已结束记录 (仍在运行的孤儿进程会保留)。

自然语言(AI 侧)

你说会调用
「启动后端」「把 backend 跑起来」sv_start
「重启 backend」「改完代码重新部署」sv_restart
「停掉 backend」sv_stop
「看下 backend 日志」sv_logs
「现在有哪些任务在跑」sv_list
「清理一下已结束的任务」sv_clear

sv_start 的 command 是一个字符串(直接 spawn,不做 shell 解析;需要管道/重定向请写成 bash -c '...')。

开发

pnpm install
pnpm run typecheck     # tsc --noEmit
pnpm run build         # rolldown(host ESM + client CJS)+ 生成类型
pnpm run dev           # rolldown --watch
  • 改 host 半边 → 重启 dsh(systemctl restart dsh-web)。
  • 改 client 半边 → 刷新页面即可(/plugins/<包名>/client.js 不缓存)。
  • 本地联调:dsh plugin --profile <你自己的 profile> add "$PWD" 装的是指向本目录的链接, 构建后重启即生效。

实现要点

插件的每一处副作用都归属 dsh 的 Cordis 容器,停止/更新/卸载时自动回收:

半边贡献所有权
clientsidebar.footer.action 入口({ wide } 由座位下发,收起时自动变圆图标)ctx.slots.inject + ctx.slots.register
clientshell.overlay 全屏面板(该层本身 click-through,面板自行开启 pointer-events)同上
client轮询注入的 timer 服务(ctx.interval),无全局定时器
client样式注入一张 style[data-plugin-css](0.1.1-rc.2 无 styles 服务,与官方面板同法)
hostsv_list / sv_start / sv_stop / sv_restart / sv_logs / sv_clearctx.effect(() => ctx.tools.register(...))
host`GETPOST /sv-api/process-panel/*`
host停机钩子(把子进程一起带走)、SIGKILL 升级定时器ctx.effect(...) + ctx.timeout(...)

重启是「先停干净再起」:SIGTERM → 等进程真正退出(最多 5s,超时再 SIGKILL)→ 才重新拉起, 所以像 dev server 这类占端口的任务不会因为端口没释放而 EADDRINUSE 起不来。

已知限制

  • 入口与面板分别挂在 sidebar.footer.action / shell.overlay 两个座位名上;dsh 大版本若改名, 入口会消失,跟进修这里即可(不会再依赖任何产品 DOM 类名)。
  • 已脱离 dsh 的 orphan 进程:面板只能显示 pid 并终止它,无法读取它的输出(管道已随旧进程消失)。
  • 面板 HTTP 接口挂在 /sv-api/process-panel/{state,action}(仅本机 GUI 使用)。
  • 命令以 spawn 直接执行、不经 shell(&&、管道、重定向请自行包 bash -c '...')。

License

MIT