返回目录
模型与 MCP 插件

dsh-install-guard

618527/dsh-install-guard

DSH 插件安装前兼容性预检守卫:检查 Node/engines、@deepseek-ai peer 版本与 dsh 清单,可选隔离试启动。

Stars
0
Forks
0
Issues
0
更新
2 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:618527/dsh-install-guard

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-install-guard · Plugin Install Guard

Pre-install compatibility guard for DeepSeek Harness plugins. Before you download/install a marketplace plugin, it checks whether the plugin is compatible with your running DeepSeek Harness — and prevents the "version mismatch → service crash / won't boot" failure.

Once installed, it registers a model tool plugin_install_guard so the Agent can run the check before installing.

Checks

Check Description
engines.node plugin's Node requirement vs current Node
@deepseek-ai/* peers peer/dependency ranges vs resolved versions
dsh manifest whether dsh.bundle.patch / dsh.client is declared
isolated trial boot (opt-in trial=true) install into a throwaway profile + --dump-config, actually runs apply to catch runtime/load-time crashes

Install

dsh plugin --profile web add dsh-install-guard

Restart dsh web.

Usage (two-phase, via chat)

1) check:
   plugin_install_guard { spec: "plugin-name", action: "check" }   # add trial: true to run apply
2) install after confirming:
   plugin_install_guard { spec: "plugin-name", action: "install", resolution: { spec: "plugin-name@compatible" } }

Relation to other plugins

  • dsh-doctor = environment health; this plugin = version compatibility.
  • dsh-poison-guard / DSH-Plugin-Market = security/audit; this plugin = compatibility.

Use them together: security audit + compatibility preflight = the full pre-install gate.

Limitations

  • Actively-triggered tool, not an automatic hook on the marketplace install button.
  • Static checks + trial boot reduce but cannot eliminate all third-party-code risk.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。