helllo-shijie/motor-hospital-plugins--plugins-motor-decision-report ↗★ 0
motor-decision-report
维修决策报告生成 · 将案例依据、诊断结论、流程SOP、配件清单与多方案对比汇总为带数据溯源的Markdown维修建议书(可转Word/PDF)。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:helllo-shijie/motor-hospital-plugins#6b13e4bb39d30f795b9af8402034f0c0a88f7ab9&path:plugins/motor-decision-report说明文档
阅读完整 README ↗motor-decision-report · 维修决策报告生成
Electric-motor repair decision report (suite stage P6): summarises case evidence, diagnosis, repair procedure, parts list and cost-option comparison into a Markdown repair recommendation report with data provenance.
插件定位
将案例依据、诊断结论、流程SOP、配件清单与多方案对比汇总为带数据溯源的 Markdown 维修建议书(可转 Word/PDF),供决策者与客户使用。
能力来源
- 引擎模块:
engine/report.js(本插件是共享 Node 引擎的 DSH 入口包装;引擎与库随仓库motor-hospital-plugins一并发布) - 数据库:
data/motor_hospital.db—— SQLite,node:sqlite原生读写,零第三方依赖 - 运行环境: Node.js ≥ 22.5(Windows / macOS / Linux)
命令示例(引擎直用,无需 DSH)
cd motor-hospital-plugins
node engine/cli.js report --work-order WO20260910001 # 生成 out/report-WO20260910001.md
安装到 DSH
- 插件市场:仓库收录进 awesome-dsh-plugin 目录后,在 DSH 设置→插件市场 搜索
motor-decision-report(或motor-)即可一键安装;dsh-market 会自动解析到本仓库plugins/motor-decision-report/子包。 - 安装即热挂载;若提示有 agent 正在运行,请在空闲会话安装或重启一次 DSH。详细说明见仓库
docs/04-上架与安装指南.md。
自测
cd motor-hospital-plugins
node plugins/motor-decision-report/test.js # 期望输出 [PASS]