XMoon/dsh-subagent-router

XMoon★ 2TypeScript最后同步: 2026-08-21

在 GitHub 打开

Dynamic model routing for DSH subagents, with continuable spawn sessions and one-shot fork support.

README 摘要

@xmoon76/dsh-subagent-router English 中文 A model-facing DSH plugin that starts a subagent on a model-selected LLM provider and model . The model picks the route ( provider / model ); the deployment owns the subagent backend ( subagentProvider , default spawn ), the default scheduling policy ( backgroundMode ), and the route allowlist ( allowedProviders ). Per-call scheduling is overridable with the optional run in background parameter, exactly like the official @deepseek-ai/dsh-tool-subagent tools. Later turns of a continuable child reuse the official send message / list agents / interrupt agent tools from @deepseek-ai/dsh-tool-subagent-control ; background one-shot jobs are collected with the official job output / job kill tools from @deepseek-ai/dsh-tool-jobs . Installation (as a DSH profile bundle) This package ships as a DSH profile bundle : its cordis.patch.yml ( dsh.bundle.patch ) inserts TWO router rows into the profile composition automatically — tool-subagent-router (spawn + continuable, subagent route ) and tool-subagent-router-fork (fork + one-shot, subagent fork route ). Requires a profile whose bundles include @deepseek-ai/dsh-base (every shipped web / headless template…

在 GitHub 查看完整 README →
Agent/智能体deepseek-harnessdshdsh-plugindsh-pluginsagent

分类