dsh-plugin-tempguard
tools装不上npmMIT
为本地 tempguard 温度守护提供两个 DSH 工具:读取温度与 alertd 健康状态,以及通过 alertd 发送告警。需另行在本机运行 tempguard Python 看门狗及其 alertd 服务,并在 profile patch 里配置 projectDir 与 alertdToken;暂无 npm 包,需克隆仓库后从子目录本地安装。
下载量 / Downloads
823
测试时间 / Tested
2026-11-07
DSH 版本 / Version
0.2.2-rc.1
安装
dsh plugin --profile web add dsh-plugin-tempguard
沙箱测试结果
| 阶段 | 结果 |
|---|---|
| 1 安装 | ✗ |
| 2 列装 | — |
| 3 挂载 | — |
| 4 启动 | — |
第一条错误
dsh: initialized profile web at /home/node/.dsh/profiles/web四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。
README
dsh-plugin-tempguard

DeepSeek Harness plugin exposing two tools backed by the local tempguard watchdog:
tempguard_status— readalertdhealth and the latest temperature CSV row;tempguard_alert— send an INFO/WARN/TRIP alert throughalertdto the configured adapters.
It does not start or stop the watchdog; the Python services remain independent.
Install
Published package:
npm install dsh-plugin-tempguard # or, for a local checkout: dsh plugin --profile web add C:\path\to\tempguard\dsh-plugin-tempguard
Then add a loader entry to the profile patch (cordis.patch.yml):
- id: tempguard
name: "dsh-plugin-tempguard"
config:
projectDir: "C:\\path\\to\\tempguard"
alertdUrl: "http://127.0.0.1:8765/alert"
alertdToken: "same token as alertd"
Restart dsh web (or enable HMR) and the tools appear.
Security
alertdToken is a local secret; keep it in the profile patch, not in this README or Git.
以上内容来自 npm 上的 README,我们只做格式化,不改内容。
版本
npm 上共发布:5,最后更新 2026-10-28