Mombrane/dsh-subagent-monitor
Project Overview项目介绍
dsh-subagent-monitor is a DSH-native client plugin that adds a real-time monitoring dashboard for subagents running in the DSH web interface. It injects a new "Subagent" entry into the DSH sidebar, and places a persistent card panel at the top-right of your screen that updates with the status of all directly spawned subagents in your current session. The top of the panel includes an overview dashboard with three ring charts showing current main session context window usage and aggregate cache hit rates for main and sub-agents, plus a status bar chart counting running, completed, and errored subagents.
The panel can be collapsed in two independent directions, vertically in a two-stage way and horizontally into a narrow 120px bar. You can drag the panel to reposition it anywhere on the screen, adjust its height, and all your settings and positions are saved automatically across sessions, with a double-click to reset to default. When you open a subagent session, the panel automatically switches to show that subagent's spawned children, and adds a one-click button to jump back to the parent session, making it ideal for DSH users that regularly work with multi-subagent workflows.
There are three supported installation methods, with the recommended method being a one-line npm install via the DSH CLI, and alternative options for installing directly from GitHub or embedding the source into your DSH source tree for development. It requires the same Node.js version as DSH itself, which is ^22.19.0 or >=24.0.0, and is compatible with all DSH versions starting from 0.1.0-rc.0. It is released under the permissive MIT open source license, and as it runs an unauthenticated API endpoint only on the loopback interface, it is recommended for local or internal network use only.
这是一款专为 DeepSeek Harness (DSH) 开发的原生插件,用于为 DSH Web 界面添加子代理实时运行监视面板。它会在 DSH 侧边栏底部新增「子代理」入口,面板常驻屏幕右上角,实时展示当前会话直接派生的所有子代理的运行状态,顶部还配有总监控看板,用环形图展示主会话上下文占用和缓存命中率,柱状图统计当前层子代理的各类状态计数。
面板支持纵向和横向两种互不干扰的收起方式,用户可拖动调整面板位置和高度,位置和设置会被记忆,双击即可复位。进入子代理会话后,面板会自动展示该会话派生的下一层子代理,还提供一键返回上一层父会话的按钮,适合经常使用多子代理协作的 DSH 用户跟踪任务运行状态。
该插件支持三种安装方式,推荐使用 npm 一键安装,也可通过 GitHub 直装或者源码内联开发安装,要求 Node.js 版本与 DSH 自身一致(^22.19.0 或 >=24.0.0),兼容 DSH 0.1.0-rc.0 及以上版本,采用 MIT 开源许可,仅建议本地或内网环境使用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-subagent-monitor(Mombrane/dsh-subagent-monitor)
仓库:https://github.com/Mombrane/dsh-subagent-monitor
本站详情页:https://www.yhbd.top/plugins/mombrane-dsh-subagent-monitor/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 26 · 最近提交 2026-09-14 · 主语言 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 更稳。
- 26 stars - an early-stage project星标 26,属于早期项目
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 @leetoners/dsh-ui-subagent-monitor
把 Mombrane/dsh-subagent-monitor 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
🤖 dsh-subagent-monitor
DeepSeek Harness (DSH) Web 扩展插件 · 子代理实时运行监视面板
中文 | English
✨ 是什么
在 DSH Web 界面侧栏底部加一个「子代理」入口,并在屏幕右上角常驻一块卡片式面板,实时展示当前会话直接派生的子代理的运行状态。进入某个子代理会话后,面板随之显示该会话直接派生的下一层子代理。
面板顶部是一块总体监控看板:左侧三枚环形图展示主会话的上下文窗口当前占用、主会话与子代理聚合的缓存命中率;右侧一根状态柱状图展示当前层子代理的运行 / 完成 / 异常计数(按最大值等比缩放)。每张卡片下方另附一行用量明细(该 run 的输入 / 输出、缓存命中、上下文大小)。
面板支持两个方向的收起,互不干扰:
- 纵向(两段式):标题栏「收起」第一次只收下方子代理卡片(顶部总览看板保留,按钮变「全部收起」);再点一次才收到只剩标题栏;「展开」一步恢复。
- 横向(向左折叠为窄栏):标题栏
◂把面板折成 120px 窄栏 —— 右边缘钉住不动,所以是朝左折;保留上下文与主会话两枚环(原大小 48px),由左右一排改为从上到下一列,去掉子代理环,下部继续保留子代理运行框(紧凑卡片)。▸向右展开回 340px。
┌─ ⤢ 子代理看板 ──────────── [◂] [收起 ▴] [✕] ┐
│ ◔ 上下文 ◔ 主会话 ◔ 子代理 █ 运行 1 · █ 完成 1 · █ 异常 0 │
│ ┌─────────────────────────────────────┐ │
│ │ 🔵 统计 ui 目录 TS 文件数 [打开对话] │ │
│ │ one-shot · 1a2b3c4d 运行中 · 00:42 │ │
│ │ ↑12.3k ↓4.5k · 缓存 78% · 上下文 45.6k │ │
│ └─────────────────────────────────────┘ │
│ ┌─────────────────────────────────────┐ │
│ │ 🟢 演示子代理:统计文件类型 [打开对话] │ │
│ │ spawn · 2b3c4d5e 完成 · 03:12 │ │
│ └─────────────────────────────────────┘ │
│ 运行 1 · 完成 1 · 异常 0 [清空已完成] │
│ ════════════════════════════════════════ │ ← 拖动调整高度
└─────────────────────────────────────────┘
横向收起后的窄栏(120px,两枚环原大小竖排):
┌ ⤢ 1 [▸][▴][✕] ┐
│ ◔ │ ← 上下文
│ 上下文 │
│ ◔ │ ← 主会话
│ 主会话 │
│ ┌───────────┐ │
│ │ 🔵 统计 ui… │ │ ← 整张卡片可点,即「打开对话」
│ │ 00:42 │ │
│ └───────────┘ │
│ ┌───────────┐ │
│ │ 🟢 演示子… │ │
│ │ 03:12 │ │
│ └───────────┘ │
│ 1/1/0 [⤢][⌫] │
│ ══════════════ │
└───────────────┘
标题左侧
⤢四角箭头拖动柄移动面板位置,底部═拖动柄调整面板高度;两者均记忆,双击复位。「收起」两段式(纵向):第一次只收起下方子代理卡片(顶部总览看板保留),按钮变「全部收起」;再点一次收起到只剩标题栏;「展开」一步恢复完整面板。
◂ / ▸(横向):向左折成 120px 窄栏 / 向右展开回 340px。窄栏保留**上下文与主会话两枚环(原大小)**竖排 + 子代理卡片;窄 / 宽选择跨会话记忆,刷新后保持。两个方向可叠加 —— 窄栏里照样能两级纵向收起。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
tt-a1i/archify
loopx-project/loopx
ZSeven-W/openpencil
omdsh-dev/DSH-better-sidebar
NanmiCoder/dsh-agent-teams
LiPu-jpg/Openwrite