dsh-plugin
DayuanJiang/next-ai-draw-iodsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
组合历史供应商报价与工时,生成现场抢修/返厂大修/绿色再制造/整机更换等维修方案,并按综合持有成本给出决策建议。
Electric-motor cost & duration estimate (suite stage P5): combines historical supplier quotes and service rates into onsite-repair, factory-overhaul, green-remanufacture and replacement options, then recommends one by total cost of ownership.
先检索系统内长期供应商历史报价(supplier_quotes)组合配件与服务,生成 现场抢修/返厂大修/绿色再制造/整机更换 多套方案;再合并系统外优质报价做比对表,按 TCO(总价+停产损失) 给出决策建议。
engine/quote.js(本插件是共享 Node 引擎的 DSH 入口包装;引擎与库随仓库 motor-hospital-plugins 一并发布)data/motor_hospital.db —— SQLite,node:sqlite 原生读写,零第三方依赖supplier_quotes、服务费率 service_rates、配件目录 parts_catalog 等cd motor-hospital-plugins
node engine/cli.js estimate --work-order WO20260910001 --loss 50000
motor-cost-quote(或 motor-)即可一键安装;dsh-market 会自动解析到本仓库 plugins/motor-cost-quote/ 子包。docs/04-上架与安装指南.md。cd motor-hospital-plugins
node plugins/motor-cost-quote/test.js # 期望输出 [PASS]