← 返回列表
D

dsh-plugin-code-reviewer

v0.1.0 · 2 天前发布

3 local deterministic tools for DeepSeek Harness: code_review (14 static rules incl. OPC UA/Modbus/MQTT/serial/timeout), mqtt_probe (MQTT packet decoder), opcua_validate (NodeId validator). SCADA/MES/LIMS source scanner. 本地静态代码审查与工业协议解析工具插件。

deepseekdeepseek-harnessdshdsh-pluginplugincordiscode-reviewstatic-analysisscadames

README

dsh-plugin-code-reviewer banner

# dsh-plugin-code-reviewer > DeepSeek Harness **工具插件**(由 [`create-dsh-plugin`](https://www.npmjs.com/package/create-dsh-plugin) 生成并定制)。 > A DSH **tool plugin** — local deterministic code review for SCADA/MES/LIMS source. > npm: `dsh-plugin-code-reviewer` · GitHub topic: `dsh-plugin` 三个工具,全部**纯本地执行、不调用模型、无需 API key**: | 工具 | 作用 | |---|---| | **`code_review`** | 对源码文件/目录做静态代码审查:14 条规则(通用 + 工业协议专属) | | **`mqtt_probe`** | 解析 MQTT 报文(十六进制输入):固定头/PUBLISH/CONNECT 深解 | | **`opcua_validate`** | 批量校验 OPC UA 节点地址(NodeId)语法,输出逐条 valid/reason | ## 📦 安装 ```sh npm i dsh-plugin-code-reviewer dsh plugin --profile my-profile add dsh-plugin-code-reviewer dsh --profile my-profile # 看到: [dsh-plugin-code-r

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-plugin-code-reviewer
Repo
Engines
{"node":"^22.19.0 || >=24.0.0"}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}