前言¶
DSH 的理念是「一切皆插件」。如果你希望主 agent 只做规划与派发,把具体任务交给 specialist subagents,同时还能切换不同的模型组合,dsh-plugin-omoslim 是一个可以直接安装的 DSH bundle。
它安装一个 orchestrator agent preset,把模型选择、persona 组合和插件更新分开处理。主 agent 负责 plan 和 dispatch,model-pinned specialist subagents 负责具体工作。
这是什么¶
dsh-plugin-omoslim 是一个 MIT 许可的 DSH bundle,仓库地址为:
https://github.com/tevenfeng/dsh-plugin-omoslim
它会安装一个名为 orchestrator 的 agent preset,并提供 11 个 subagent tools。已核实的描述中,这些 specialist subagents 包括 explorer、oracle、librarian、designer、fixer、council 等角色。
DSH 插件生态是社区插件/目录生态,不是 DeepSeek 或幻方的官方应用商店。
核心能力¶
安装一个 Orchestrator preset¶
安装后,你可以使用 orchestrator preset。主 agent 负责规划和派发,subagent tools 承担具体任务。
这个 preset 的价值在于把“谁来规划”和“谁来执行”分开,而不是让一个 agent 同时承担所有步骤。
模型定义和 persona 组合分开¶
插件把模型/provider 放在独立的 profile 中,目录为:
~/.dsh/.agent-presets/orchestrator/models.d/
这样做的目标是:更新插件时,不应直接覆盖用户已经调整过的模型选择。
如果某个 subagent 的 provider 为 null,表示它继承主 agent 的 provider。
管理多个模型 profile¶
你可以在同一个 preset 下维护多个命名 profile,并通过 omoslim CLI 查询和切换。
已核实的命令包括:
omoslim list
omoslim current
omoslim switch economy
其中 omoslim switch economy 表示切换到名为 economy 的 profile。
在 Web UI 查看当前 subagent 模型¶
插件提供 web UI subagent model inspector,用于查看 active profile 下每个 subagent 的 provider/model。
该 inspector 面向 active orchestrator session。它的只读接口为:
GET /dsh-plugin-omoslim/subagent-models
安装与启用¶
下面是已核实的安装方式。安装命令假设使用 web profile 目录,web 是默认 profile。
dsh plugin --profile web add dsh-plugin-omoslim
安装后,重启 web 服务或 dsh web 进程:
systemctl --user restart dsh-web
如果你的 dsh web 是通过其他方式启动的,也可以直接重启该进程。
本地开发场景下,可以先用本地目录安装:
pnpm add file:/home/<you>/Coding/dsh-plugin-omoslim
然后把包名 dsh-plugin-omoslim 加入 dsh.profile.bundles 数组。
典型用法¶
1、安装插件:
dsh plugin --profile web add dsh-plugin-omoslim
2、重启:
systemctl --user restart dsh-web
3、打开 web UI,开始一个 new session,并在 Settings → General 中选择 orchestrator preset。
4、查看当前 profile:
omoslim current
5、列出可用 profile:
omoslim list
6、切换 profile:
omoslim switch economy
7、如需修改某个 slot 的模型或 provider,编辑对应 profile 文件:
~/.dsh/.agent-presets/orchestrator/models.d/<name>.json
修改后切换到该 profile,再重启 dsh 或 dsh-web,并创建新 session。
卸载与回滚¶
卸载 bundle:
dsh plugin --profile web remove dsh-plugin-omoslim
preset 文件仍可能保留在:
~/.dsh/.agent-presets/orchestrator/
如果确认不再使用这个 preset,可以删除该目录。如果只是想移除插件但继续使用已安装的 preset,也可以保留这个目录。
注意事项¶
- 一个 profile 必须命名模板引用的每个 slot。缺少 slot 时,插件会 fail closed,而不是渲染一个半填充的 composition。
- 如果你手工编辑
agent.cordis.yml,插件检测到 hash 差异后会保留你的文件。此时这个文件由你负责;如果希望接受插件更新,需要删除 preset 目录。 - 切换 active profile 后,需要重启
dsh或dsh-web,并创建新 session,新模型才会加载。 - 更新插件后,需要重启 web app,新的 route 和按钮才会生效。
- 文档中的模型和 provider 名称可能来自示例环境,实际使用时必须存在于你选择的 provider catalog。
- 插件会以当前
dsh进程权限运行。安装前建议检查源码与 MIT 许可证。
相关链接¶
GitHub:
https://github.com/tevenfeng/dsh-plugin-omoslim
目录页:已核实资料中未提供具体 URL。如果你使用 DSH 社区目录,可按插件名 dsh-plugin-omoslim 查找。