跳到正文

dragonbaba/dsh-routing-suite

30最近提交 2026年8月15日

dsh-routing-suite DSH 插件

dsh-routing-suite 是一个轻量级 DSH 插件,在模式菜单中增加一个真正的智能路由模式。它保留官方 Standard 预设的角色、上下文和完整工具目录,但根据第一个用户任务选择稳定的工作风格(自动、检查优先、直接执行)。仅在选择 routing-suite 模式时生效。

如何安装 dsh-routing-suite DSH 插件

dsh plugin --profile web add dsh-routing-suite

复制不会执行命令。安装 dsh-routing-suite DSH 插件前请核对仓库和版本。

dsh-routing-suite DSH 插件数据来源

dsh-routing-suite DSH 插件快照日期:2026年8月16日

discovered

dsh-routing-suite DSH 插件能做什么

  • 在 DSH 模式菜单中添加智能路由模式选项,与 Standard、Code、Minimal、Cordis 并列。
  • 提供三种策略:自动判断(auto)、检查优先(inspect-first)、直接执行(direct)。
  • 完整保留官方 Standard 预设的角色、上下文和工具目录。
  • 本地化界面:简体中文(zh-CN/zh-Hans 区域),其他区域显示英文。
  • 不产生额外模型请求,不管理文件系统、进程、包或网络。

dsh-routing-suite DSH 插件适合哪些场景

  • 自动分类第一个用户任务并应用合适的路由策略(auto)。
  • 强制检查优先模式用于修复 Bug、代码审查、迁移或诊断任务。
  • 强制直接执行模式用于创建或实现任务,例如生成代码或编写文件。
  • 配合 DSH 的 Standard 模式使用,保留所有标准能力同时增加路由指导。
  • 通过更改配置动态切换路由策略,无需重启 DSH。

dsh-routing-suite DSH 插件适合谁

  • 希望控制助手对首个任务初始处理方式的 DSH 用户。
  • 需要针对特定任务类型保持一致工作风格的开发者和高级用户。

dsh-routing-suite DSH 插件的限制

  • 仅在选择 routing-suite 模式时生效;其他模式不受影响。
  • 纯 CLI 的 DSH 用户需手动复制预设目录,npm 生命周期脚本不会自动完成。
  • 配置仅限于三种策略(auto、inspect-first、direct),不支持自定义路由逻辑。
  • 插件本身不执行任何任务,仅提供路由指导给底层助手。
  • 简体中文界面仅在机器区域为 zh-CN 或 zh-Hans 时可用,否则显示英文。

dsh-routing-suite DSH 插件的仓库 README 摘录

以下文字摘自 dsh-routing-suite DSH 插件的上游仓库 dragonbaba/dsh-routing-suite 的 README,版权归原作者,仅作引用。

A lightweight, selectable smart-routing mode for DeepSeek Harness (DSH). 一个轻量、可在模式菜单中选择的 DeepSeek Harness 智能路由模式。 > Community project; not an official DeepSeek product and not endorsed by DeepSeek. > > 社区项目,并非 DeepSeek 官方产品,也不代表 DeepSeek 官方背书。 ## Features / 功能 - Adds a real **智能路由模式 / Smart routing mode** beside Standard, Code, Minimal, and Cordis modes when installed by a compatible desktop installer. - Keeps the official Standard preset's persona, contexts, and complete tool catalog. - Uses the first durable user task to select a stable working style: - **Automatic / 自动判断(推荐)** - **Inspect first / 检查优先** for fixes, diagnosis, reviews, and migrations - **Direct execution / 直接执行** for creation and implementation - Applies routing guidance only while the `routing-suite` mode is selected. - Simplified Chinese UI for a primary `zh-CN`/`zh-Hans` machine locale; English otherwise. - Makes no extra model request and performs no filesystem, process, package, or network management. ## Install / 安装 ### Recommended desktop installation Install `dsh-routing-suite@0.1.2` from the DeepSeek Harness Desktop plugin manager. It first uses the official fixed plugin command and then safe

阅读完整 README仓库许可: MIT

dsh-routing-suite DSH 插件常见问题

如何在 DSH 桌面版中安装 dsh-routing-suite?

打开 DSH 桌面版插件管理器,搜索 dsh-routing-suite 并安装 0.1.2 版本。安装过程会先使用官方固定插件命令,然后将包声明的 Agent 预设安全地放入 DSH 官方用户预设根目录。安装完成后重启 Harness,在模式菜单中选择“智能路由模式”即可。

我能在 DSH CLI 中使用 dsh-routing-suite 吗?

可以,运行 `dsh plugin --profile web add dsh-routing-suite` 安装配置文件包。但 DSH 的插件命令目前不会自动实例化包声明的用户预设。你需要手动将包中的 `preset/routing-suite` 目录复制到 `${DSH_HOME:-$HOME/.dsh}/.agent-presets/routing-suite`,然后重启 Harness。

“自动判断”策略做了什么?

“自动判断”策略会自动分类第一个用户任务并选择合适的执行风格。如果任务意图不明确,它会保持中性。分类逻辑内置在插件中,无需额外模型调用。

dsh-routing-suite 会修改 Standard 预设吗?

不会。插件完整保留官方 Standard 预设的角色、上下文和工具目录,仅在 Standard 基础上增加路由指导。预设组合基于 DSH 官方 Standard 预设(MIT 许可)。

dsh-routing-suite 使用安全吗?

安全。插件仅参与使用 routing-suite 预设的会话的系统提示组装,并暴露一个只读状态端点。它不会移除或限制工具、清除上下文、读写文件、执行命令、管理包、创建子代理或发起额外 LLM 调用。