dragonbaba/dsh-routing-suite 预览 preview

dragonbaba/dsh-routing-suite

DeepSeek Harness 的轻量级本地任务路由

Project Overview项目介绍

dsh-routing-suite is a lightweight native plugin built exclusively for DeepSeek Harness (DSH) that adds a new selectable smart routing mode to the DSH mode menu. When installed via a supported method, it appears alongside DSH’s built-in Standard, Code, Minimal, and Cordis modes, and retains all of the official Standard preset’s persona, context definitions, and full tool catalog. It adds targeted routing guidance that only activates when the smart routing mode is actively selected by the user, and does not modify or restrict any core DSH functionality when disabled.

The plugin offers three configurable routing strategies tailored to different use cases: auto classification, inspect-first, and direct execution. Auto strategy automatically classifies the user’s initial task to apply matching task guidance, while inspect-first encourages thorough fact checking and root cause analysis before making any code changes, making it ideal for debugging, diagnosis, and code review. Direct execution prioritizes straight implementation followed by verification, which works well for building new features and writing new code from scratch.

Installation can be completed through either the DSH desktop plugin manager or the official DSH CLI. For desktop users, the plugin manager handles all setup automatically, and users only need to restart DSH after installation and select the new mode from the mode menu to start using it. CLI users need to manually copy the preset directory to the DSH agent presets folder after running the install command, then restart Harness to activate the new mode. The plugin is open source under the permissive MIT license, with clear safety boundaries and no unauthorized system actions.

dsh-routing-suite 是专为 DeepSeek Harness (DSH) 开发的原生插件,可为 DSH 添加一个可在模式菜单中选择的智能路由工作模式。安装完成后,它会在官方的标准模式、代码模式、极简模式和 Cordis 模式之外新增智能路由模式选项,同时保留官方标准预设的人格、上下文和完整工具目录。它会根据用户初始任务和选择的策略提供适配的路由引导。

它内置三种可选路由策略,分别是自动判断、检查优先和直接执行。自动策略会对用户初始任务进行分类,应用匹配的工作引导;检查优先模式适合修复问题、诊断故障、代码审查和项目迁移类任务;直接执行则更适配新功能创建和代码落地实现类工作。插件界面会自动适配系统区域设置,简体中文环境显示中文,其他环境显示英文。

用户可通过 DSH 桌面端插件管理器或 DSH CLI 完成安装,安装后需要重启 DSH,再从模式菜单中选择新增的智能路由模式即可使用。该插件遵循 MIT 许可开源,不会额外发起模型请求,也不会读写文件、执行命令或管理网络进程,安全边界清晰。开发阶段可通过 npm 安装依赖并验证打包,符合 DSH 插件开发规范。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 19 stars - an early-stage project星标 19,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

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

把 dragonbaba/dsh-routing-suite 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-routing-suite

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 safely materializes the package-declared Agent preset in DSH's official user preset root.

Restart Harness after installation, then select 智能路由模式 from the mode menu.

DSH CLI

The official command installs the profile bundle:

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

DSH's plugin command does not currently materialize package-declared user presets. CLI-only users must additionally copy this package's preset/routing-suite directory to ${DSH_HOME:-$HOME/.dsh}/.agent-presets/routing-suite, then restart Harness. No npm lifecycle script performs this copy.

Configuration / 配置

The bundle configuration accepts:

enabled: true
strategy: auto # auto | inspect-first | direct
  • auto: classify the first user task; ambiguous tasks remain neutral.
  • inspect-first: always encourage fact and root-cause inspection before changes.
  • direct: always encourage direct implementation followed by verification.

The localized settings page is a read-only React view showing runtime availability, scope, and the active strategy. Configuration remains under DSH's normal bundle/profile management.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-reminder 下一个 Next dsh-media-skills →