21hbguo/dsh-sysmon
> 为 DeepSeek Harness(DSH)Web GUI 提供右下角小悬浮窗,实时展示本机 CPU / 内存 / 磁盘 / 网络 / 负载 / 运行时长 / GPU。占用极小:host 采集零第三方依赖(/proc + node:os),client 零框架(原生 DOM,无 react),页面不可见时轮询自动暂停。
catalog description:DSH Web GUI 系统性能看板:小悬浮窗实时展示 CPU/内存/磁盘/网络/负载/GPU,host 零依赖采集,占用极小
Install
dsh-sysmon/
|-- src/
| |-- index.ts # host 半区:插件入口(cordis apply,注册设置命名空间 + 路由)
| |-- metrics.ts # SysmonCollector:/proc + node:os + statfs 采集(零依赖,带缓存)
| |-- routes.ts # GET /api/sysmon/snapshot JSON 路由
| |-- types.ts # 共享 wire 类型(host + client 共用,纯类型)
| |-- invariant.ts # 空 invariant 伴侣(无运行时断言)
| `-- client/ # 浏览器半区
| |-- index.ts # 小悬浮窗(原生 DOM + fetch 轮询,无框架)
| `-- PluginSettingsCard.tsx / settings-form.ts # 设置卡片(settings.plugin.item 槽位)
|-- scripts/build.sh # 用 DSH 检出的 tsc 编译 host + tsdown 打包 client
|-- cordis.patch.yml # bundle patch:插入 sysmon 插件行
`-- tsdown.config.ts # client 打包配置(react / dsh 客户端表面为外部依赖)
Add 21hbguo/dsh-sysmon to your DSH config (web profile) to enable.
README
Expand full README Collapse
README is empty.
tt-a1i/archify
zhu1090093659/dsh-web-ui
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
ccch1mneyyy/dsh-TUI
agentrq/agentrq
GanyuanRan/Aegis