mimajiushi/dsh-plugins--plugins-dsh-subagent-model-guard ↗★ 0

dsh-subagent-model-guard

DSH host plugin: enforces the subagent-model-selection whitelist for subagent, agent teams, and every other child-Agent creation. 适合需要严格限制子智能体及团队创建时可用模型的安全管控任务。

パッケージ
dsh-subagent-model-guard
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/27

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mimajiushi/dsh-plugins#1aa8b9d851070af475ca10703d84c000562ef8d7&path:plugins/dsh-subagent-model-guard

ドキュメント

README 全文を読む ↗

配置

cordis.patch.yml 的行配置:

字段默认说明
enabledtruefalse 时插件完全不安装(不包裹 runtime、不注册 tool guard)
enforce"strict"目前唯一支持的模式;写成别的值会启动即报错,而不是静默降级

白名单本身不在这里配置——它是唯一真源,由 subagent-model-selection 设置段(属于 @deepseek-ai/dsh-tool-subagent)拥有,Web UI 和 settings.yaml 都能改。