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 Analysis

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

Package
@dsh/provider-dispatcher
Version
0.1.0
License
MIT
Last updated
Sep 4, 2026

Install

$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.