跳到正文
dsh-market 浏览插件 GitHub EN

helllo-shijie/motor-hospital-plugins#motor-cost-quote

组合历史供应商报价与工时,生成现场抢修/返厂大修/绿色再制造/整机更换等维修方案,并按综合持有成本给出决策建议。

Star 数 ★ 1 分类 工具与能力 收录于 2026-09-08

安装

在 DeepSeek Harness 里通过 dsh-market 安装

dsh plugin --profile web add dshmarket

或使用命令行

dsh plugin --profile web add github:helllo-shijie/motor-hospital-plugins#path:/plugins/motor-cost-quote

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络。请先审阅源码,并尽量锁定 commit(github:owner/repo#sha)。

README

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 等
  • 运行环境: Node.js ≥ 22.5(Windows / macOS / Linux)

命令示例(引擎直用,无需 DSH)

cd motor-hospital-plugins
node engine/cli.js estimate --work-order WO20260910001 --loss 50000

安装到 DSH

  • 插件市场:仓库收录进 awesome-dsh-plugin 目录后,在 DSH 设置→插件市场 搜索 motor-cost-quote(或 motor-)即可一键安装;dsh-market 会自动解析到本仓库 plugins/motor-cost-quote/ 子包。
  • 安装即热挂载;若提示有 agent 正在运行,请在空闲会话安装或重启一次 DSH。详细说明见仓库 docs/04-上架与安装指南.md。

自测

cd motor-hospital-plugins
node plugins/motor-cost-quote/test.js     # 期望输出 [PASS]

版本: 1.0.0 | 授权: MIT | 作者: 电机医院(河南盛科机联科技)

内容来自项目 README(GitHub)↗

评论

评论存放在 GitHub Discussions。用 GitHub 账号登录后可发表评论或点表情。