wangmuy/dsh-provider-dispatcher0

@dsh/provider-dispatcher

A generic provider-dispatcher proxy for DeepSeek Harness. Mounts child plugins under a private isolate realm, records every register* call, and fans one operation out to all recorded children with a configurable strategy (parallel merge / race / bail).

AI 分析

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

パッケージ
@dsh/provider-dispatcher
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/04

インストール

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

ドキュメント

README 全文を読む ↗

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.