dsh-plugin
DayuanJiang/next-ai-draw-iodsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
Electric-motor repair case knowledge base (suite stage P1): searches past repair cases by fault description, motor rating and brand, and saves new diagnoses back for future retrieval.
读取维修案例数据库(repair_cases/work_orders),按故障描述/功率/品牌检索相似历史案例,支持案例学习沉淀与工单回写,为后续诊断与报价提供依据。
engine/caseKb.js(本插件是共享 Node 引擎的 DSH 入口包装;引擎与库随仓库 motor-hospital-plugins 一并发布)data/motor_hospital.db —— SQLite,node:sqlite 原生读写,零第三方依赖cd motor-hospital-plugins
node engine/cli.js case-search --text "轴承异响 温度高" --power 250 # 检索相似历史案例
node engine/cli.js learn --json '<案例JSON>' # 案例学习沉淀回写
motor-case-kb(或 motor-)即可一键安装;dsh-market 会自动解析到本仓库 plugins/motor-case-kb/ 子包。docs/04-上架与安装指南.md。cd motor-hospital-plugins
node plugins/motor-case-kb/test.js # 期望输出 [PASS]