How to use dsh-plugin-check
Plugin health checks: manifest protocol / patch format / build traps, zero-dependency and read-only.
This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.
This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.
Quick start
Plugin health checks: manifest protocol / patch format / build traps, zero-dependency and read-only.
— source: plugins.ai_summary
Install & verify
dsh plugin --profile web add github:omdsh-dev/dsh-plugin-check
Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.
— source: plugins.install
Key points
- 只读:仅
readdir/stat/readFile,绝不修改或构建被检查仓库 - 零业务依赖:仅 node 内置模块(fs/path/child_process)
- hub 检查离线优先:先读本地 hub catalog(
DSH_HUB_SOURCE或 cwd/hub/ 下),再通过gh读取公开omdsh-dev/dsh-hub-workshop/catalog.json;兼容dsh-hub-index/v0.4与旧repos[].name;全部失败静默降级skipped(报告如实标注,不算警告) - 不执行 tsc:构建陷阱全部静态文本扫描(快、无副作用)
core-row-id:patch 条目使用官方核心 row(tools/session/llm/web/permission);
— source: plugin_wiki.readme_en (fallback readme_raw)
Compatibility
- DSH: 0.1.1-rc.1+(peerDependencies 锁定 dsh-tools / dsh-invariants 在 0.0.1-rc.1–0.2.0;cordis ^4.0.1)
- Node: ^22.19.0 || >=24.0.0
— source: plugin_wiki.compatibility_json
Pitfalls
Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.
— source: general rule