Combines historical supplier quotes and service rates into onsite-repair, factory-overhaul, green-remanufacture and replacement options for a motor, then recommends one by total cost of ownership.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:helllo-shijie/motor-hospital-plugins#path:/plugins/motor-cost-quote
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
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 | 作者: 电机医院(河南盛科机联科技)
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 35804
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
superdesigndev/treg★ 6453
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 4698
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
sixtysevenlf/dsh-blender-plugin★ 1426
Lets a DSH agent drive a local Blender over a direct TCP channel with 15 tools: viewport frames, custom-angle renders, Python execution, headless and job offload, transaction rollback, and a planning layer of 228 ops across 34 families.
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1152
Tencent CloudBase backend for DeepSeek Harness — scaffold and deploy full-stack apps from chat, render query results as table cards with paging, sorting and CSV export, preview a deployment on its domain, and call the CloudBase MCP toolset (`mcp__cloudbase__*`) with device-code login.
anysearch-team/anysearch-dsh★ 669
AnySearch-powered real-time web and vertical search provider for DeepSeek Harness.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.