Searches a database of past motor-repair cases by fault description, motor rating and brand, and lets new diagnoses be saved back for future retrieval.
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-case-kb
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 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原生读写,零第三方依赖 - 运行环境: Node.js ≥ 22.5(Windows / macOS / Linux)
命令示例(引擎直用,无需 DSH)
cd motor-hospital-plugins
node engine/cli.js case-search --text "轴承异响 温度高" --power 250 # 检索相似历史案例
node engine/cli.js learn --json '<案例JSON>' # 案例学习沉淀回写
安装到 DSH
- 插件市场:仓库收录进 awesome-dsh-plugin 目录后,在 DSH 设置→插件市场 搜索
motor-case-kb(或motor-)即可一键安装;dsh-market 会自动解析到本仓库plugins/motor-case-kb/子包。 - 安装即热挂载;若提示有 agent 正在运行,请在空闲会话安装或重启一次 DSH。详细说明见仓库
docs/04-上架与安装指南.md。
自测
cd motor-hospital-plugins
node plugins/motor-case-kb/test.js # 期望输出 [PASS]
版本: 1.0.0 | 授权: MIT | 作者: 电机医院(河南盛科机联科技)
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 35688
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★ 6403
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★ 4593
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
sixtysevenlf/dsh-blender-plugin★ 1388
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★ 665
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.