DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@tom2012/dsh-monitor

Monitor

DeepSeek Harness 插件:在撰写器下方显示本地和远程服务器的 CPU/内存/磁盘读数,并在设置中提供“监控”选项卡

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @tom2012/dsh-monitor@1.0.1
README兼容性版本

兼容性与来源证明

Monitor 以 @tom2012/dsh-monitor 发布,当前版本为 1.0.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/5

版本

1.0.1stable
2026/10/25
1.0.0stable
2026/10/25

相关插件

正在加载相关插件…

最新版
1.0.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
32.6 kB
文件数
9
Surface
web
许可证
MIT
发布源
npm
周下载
73
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

README

dsh-monitor

A DeepSeek Harness (DSH) plugin that shows CPU / memory / disk usage of this machine and any number of remote Linux servers, live, right below the chat composer.

What it does

Renders a single compact entry under the composer (input box) showing the currently selected host:

Local ▾   CPU 12.3%  Mem 45.6%  Disk 70.5%

Clicking the entry opens a popover that lists every host — the machine running DSH ("local") plus all configured servers — with their live readings. Pick one to make it the displayed host; the choice is remembered across reloads.

  • The local host is the machine running DSH.
  • Values refresh every 2 seconds; remote readings are cached for 5 seconds.
  • Follows the built-in composer statistics styling (same color as the token / cache-hit pills).
  • Bilingual labels (Local / 本机, Mem / 内存, Disk / 磁盘), localized through the DSH locale service.

Install

Install the bundle into a profile:

dsh plugin --profile <profile-name> add @tom2012/dsh-monitor

Or, during local development, link the source directory directly:

dsh plugin --profile <profile-name> add /path/to/dsh-monitor

The plugin registers a conversation.composer.dock entry (order: 2, after the built-in activity and usage pills), so the local host appears with no further configuration.

Configure remote servers

Remote servers are managed from the settings window — no file editing needed:

  1. Open Settings (⚙️).
  2. Pick the Monitor tab in the left-hand nav.
  3. Add, edit, or remove servers, then Save.

Each server has these fields:

FieldRequiredDefaultNotes
id✅—Short unique name, e.g. node01
label—falls back to idDisplay name
host✅—IP or hostname, e.g. 192.168.1.10
port—22SSH port
user—rootSSH login user
keyPath—""Explicit private key path; empty uses the default ssh key

Changes take effect immediately (no restart). The same servers array can also be set declaratively in the profile's cordis.patch.yml (that patch layer survives bundle upgrades):

- id: dsh-monitor
  name: "@tom2012/dsh-monitor"
  config:
    servers:
      - id: node01
        label: node01        # optional; falls back to id
        host: 192.168.51.110
        port: 22             # optional; default 22
        user: root           # optional; default root
        keyPath: ""          # optional; use an explicit private key, else the default ssh key
  • Remote collection uses SSH with key authentication (BatchMode=yes); password prompts are intentionally unsupported.
  • The remote host must be Linux (reads /proc/stat, /proc/meminfo, and df).
  • A server that fails to connect shows a dash for its row without affecting the others.

How it works

@tom2012/dsh-monitor is a dual-face bundle plugin:

  • Host half (index.js, Node.js) — samples local os.cpus(), os.totalmem()/freemem(), and statfs('/'), and, for each configured server, runs a short SSH command that reports CPU / memory / disk. It serves everything as JSON through the Harness connection layer:

    ctx.connection.fetch.register({
      path: '/api/dsh-monitor/metrics',
      methods: ['GET'],
      requestBody: 'buffered',
      fetch: async () => Response.json({ local, servers }),
    });
    
  • Client half (client.js, browser) — polls /api/dsh-monitor/metrics with a same-origin fetch every 2 seconds and renders the selected host's reading into conversation.composer.dock, with a popover to switch hosts. It also registers a settings.section entry (id dsh-monitor, order 16) that renders the server editor as its own tab in the Settings window, reading and writing the dsh-monitor namespace through the configForms service (form.getSnapshot / form.subscribe / form.mutate).

No persistent data is collected; all metrics are read on demand.

Project layout

.
├── index.js            # Host half: local + SSH sampling, /api fetch route
├── client.js           # Client half: composer.dock UI + server settings page
├── cordis.patch.yml    # Loader insert for the bundle
├── package.json        # Bundle manifest (dsh.bundle.patch + dsh.client)
├── locale/
│   ├── en.json         # English meta
│   └── zh.json         # Chinese meta
└── icon.svg            # Plugin icon

Requirements

  • DeepSeek Harness (DSH) with the @deepseek-ai/dsh-client-connection bundle (ships with the standard Desktop / Web profile).
  • An ssh client on PATH for remote-server monitoring.

License

MIT