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

dsh-subagent-model-guard

强制执行子智能体模型选择白名单 适合需要严格限制子智能体及团队创建时可用模型的安全管控任务。

套件
dsh-subagent-model-guard
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年9月27日

安裝

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

配置

cordis.patch.yml 的行配置:

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

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