All plugins

DSH / BUNDLE / BUNDLES

dsh-plugin-team-model-routing

v1.0.0Lingrui98 / dsh-plugin-team-model-routing1a1801e551

InstallableBundlesBundles & other modulesCommunity · Topic auto-analysis

Overview

dsh-plugin-team-model-routing

Let an Agent Teams Lead choose the provider, model, and reasoning effort of each teammate it spawns.

README / EN

Package documentation

Registry summary

Let an Agent Teams Lead choose the provider, model, and reasoning effort of each teammate it spawns.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **路由只存在于进程内存。** 它在子代理于本进程创建时生效。Harness **重启**后被冷 resume 的 teammate 会退回其 `subagent/descriptor` 里记录的 `agentOptions`。要让它 跨重启存活需要一份持久记录,这是自然的后续工作。 - **`agent.options` 是运行时对象**,不在公开的 `Agent` 接口里。正因为要改写它,这件事 才只能做成插件而不是一行改动;上游的正解是让 provider 通过 `ContinuableCreateSpec` 贡献 `agentOptions`(或让 Team 的 spawn 请求直接接受它)。上游仓库不接受外部 PR, 所以路径是发布 `dsh-plugin` 并在 Discussions 提出这个 API 缺口。 - 一条从未被 claim 的路由(例如子代理存在之前就失败的 spawn)会在 `routeTtlMs` 后过期, 无副作用。