← Back to list

dsh-role-router

DeepSeek Harness Models & Providers Low risk

Routes agent requests to configurable default, planner, and subagent models, automatically using the planner role in plan mode, with per-role reasoning effort and Web UI configuration.

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

How to install

DeepSeek Harness dsh plugin add @snowamberx/dsh-role-router

About

中文 | English 多角色模型路由插件(dsh-role-router) 还在为计划与执行阶段手动切换模型而烦恼?dsh-role-router 替你自动完成:输入 /plan 进入计划模式,请求即自动路由到配置的 planner 模型;退出计划模式自动切回默认模型——全程无需手动干预。 **角色路由**:default / planner / subagent 三种角色独立配置——**配置了强制使用该模型,未配置则跟随官方模型选择器**;planner 由计划模式(/plan 等)自动触发。 **Web UI**:设置页「多角色模型路由」卡片提供三个模型下拉框(并可单独指定推理强度),选项与 /model 同源(host 实时模型目录,provider 分组,自动刷新);composer 旁附模型摘要胶囊,当前选择一目了然。 **两级配置**:支持 cordis.yml(composition 层)与 role-router settings 命名空间(用户层,后者优先);保存即生效,无需重启。 预览 路由语义 每次模型请求按角色路由,监听器注册在根上下文(同时覆盖主代理与所有进程内子代理): | 角色 | 请求范围 | 模型来源 | |---|---|---| | default | 默认模式下的主代理请求 | 已配置 → **强制使用**配置的模型;未配置 → **请求…

Recommendation signals

54 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
54 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
BSD-3-Clause
Language
TypeScript
GitHub stars
4
mo. downloads
Last push
2026-08-20
Created
2026-08-14

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
dsh, dsh-plugin

Related plugins

Claude Code New
Score74

claude-code-router

musistudio/claude-code-router

One local control plane for every AI agent: route across models, fuse new capabilities, orchestrate tools, and stay fully in control.

☆ 36.8K ↓ – Models & Providers
MCP Server New
Score72

apisix

apache/apisix

The Cloud-Native API Gateway and AI Gateway

☆ 17.0K ↓ – Models & Providers
MCP Server New
Score70

higress

alibaba/higress

🤖 AI Gateway | AI Native API Gateway

☆ 9.2K ↓ – Models & Providers
Claude Code New
Score69

codecompanion.nvim

olimorris/codecompanion.nvim

✨ AI Coding, Vim Style

☆ 6.8K ↓ – Models & Providers