dsh-subagent-routes: Route sub-agents by workspace directory to provider, model, and thinking level.
The original sub-agent model routing in DSH was limited to three levels and could not differentiate based on workspace directories. This article introduces the plugin `dsh-subagent-routes`, which intercepts task dispatching at `ctx.subagents.startActivation`. It performs longest prefix matching based on the parent session's workspace, injects `provider`, `model`, and `reasoningEffort` into `agentOptions`, and provides a visual settings page along with session-level temporary switching. The article details the official installation command, a three-step quick start guide, YAML routing tables and field rules, priority determination, four configuration items, applicable scenarios, known limitations, and safety tips. Maintained by zdt3476 and categorized as "Model Reasoning" in the community directory, the plugin currently has 1 star.
Read More