dsh-role-router

按 default、planner 和 subagent 角色将代理请求路由到可配置模型,在计划模式下自动使用 planner,并提供逐角色推理强度与 Web UI 配置。

模型与费用BSD-3-Clause☆ 5

插件介绍

按 default、planner 和 subagent 角色将代理请求路由到可配置模型,在计划模式下自动使用 planner,并提供逐角色推理强度与 Web UI 配置。

安装方式

通过 npm 安装

dsh plugin --profile web add @snowamberx/dsh-role-router

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:SnowAmberX/dsh-role-router

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

第三方安装实测

安装测试结果
测试版本不兼容
实测 Harness 版本
0.2.2-rc.1
实测插件版本
未记录
测试日期

版本回退

回退测试结果
未找到回退版本
查看依赖版本范围
@deepseek-ai/dsh-llm
^0.1.6-alpha.2
@deepseek-ai/dsh-agent
^0.1.6-alpha.2
@deepseek-ai/dsh-session
^0.1.6-alpha.2
@deepseek-ai/dsh-settings
^0.1.6-alpha.2
@deepseek-ai/dsh-plan-mode
^0.1.6-alpha.2
@deepseek-ai/dsh-api-remotes
^0.1.6-alpha.2
@deepseek-ai/dsh-client-store
^0.1.6-alpha.2
@deepseek-ai/dsh-client-locale
^0.1.6-alpha.2
@deepseek-ai/dsh-system-prompt
^0.1.6-alpha.2
@deepseek-ai/dsh-client-ui-slots
^0.1.6-alpha.2
@deepseek-ai/dsh-client-connection
^0.1.6-alpha.2
@deepseek-ai/dsh-client-ui-renderer
^0.1.6-alpha.2
@deepseek-ai/dsh-client-ui-settings
^0.1.6-alpha.2
@deepseek-ai/dsh-session-projection
^0.1.6-alpha.2
@deepseek-ai/dsh-api-session-controller
^0.1.6-alpha.2
@deepseek-ai/dsh-client-ui-conversation
^0.1.6-alpha.2
@deepseek-ai/dsh-client-ui-plugin-manager
^0.1.6-alpha.2
@deepseek-ai/dsh-client-ui-model-selection
^0.1.6-alpha.2

安装提示

  • 可能调用终端命令