wangmuy/dsh-provider-dispatcher0

@dsh/provider-dispatcher

DeepSeek Harness 的通用服务商分发代理:在私有隔离域中挂载子插件,记录注册调用,并按配置策略将操作分发给所有子插件。

AI 分析

核心用途是作为代理分发器管理和调度子插件。适合需要自定义分发策略(并行合并/竞争/中断)并统一管理多个子插件的开发者。

包名
@dsh/provider-dispatcher
版本
0.1.0
许可证
MIT
最近更新
2026年9月4日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangmuy/dsh-provider-dispatcher

Configuration

The plugin accepts these top-level fields:

KeyRequiredMeaning
injectyesServices to inject before the setup runs (e.g. ['web']).
setupyesModule specifier of a default-exported setup(ctx, config, helpers) function.
childrennoArray of { name, config } — child plugins to mount. name is a module specifier resolved by import() (absolute path, relative path, or bare package name).
paramsnoPassed verbatim to the setup script. The setup script's contract defines the shape.

If inject or setup is missing the plugin fails at load with a schema error.