Plugin directory / Developer / dsh-plugin-fusion
dsh-plugin-fusion
Verified · install-tested on dsh alexpadholol
What it does
llm自采样插件
Works — verified, early-stage project
llm自采样插件 It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-plugin-fusion
Fusion mode generation tool for the DeepSeek Harness (dsh).
Registers one dynamic tool, fusion_generate, that:
- calls the model several times (default 5) with different sampling temperatures (0.2 → 1.8) for diverse candidate answers;
- makes one judge call that reviews every candidate and picks the most suitable one;
- returns all candidate answers plus the chosen answer and its reasoning.
Install
dsh plugin --profile web add dsh-plugin-fusion
The package declares a dsh.bundle, so dsh plugin add automatically activates it as a profile layer — restart dsh web (or your profile) and the fusion_generate tool is available to every session.
Usage
Ask your agent to use fusion_generate, or call it directly with:
| Parameter | Type | Description |
|---|---|---|
prompt |
string (required) | The request to send to the model. |
system |
string | Optional system prompt for every call. |
count |
number | Number of independent calls (default 5, clamped 1–10). |
provider |
string | Provider route override; defaults to the current default model. |
model |
string | Model id override; defaults to the current default model. |
Example result
{
"provider": "deepseek-official",
"model": "deepseek-v4-flash",
"count": 5,
"answers": ["...", "...", "...", "...", "..."],
"chosenIndex": 2,
"chosenAnswer": "...",
"reason": "表述最完整准确,兼顾输入特征、融合过程与生成目标,且保持了简洁性。"
}
Development
The plugin is zero-dependency: the tool definition is constructed by hand in the raw JSON Schema shape accepted by ctx.tools.register(), so the package needs no runtime imports (which would break through pnpm junction links).
# local development: link the checkout into a profile
dsh plugin --profile web add D:/path/to/dsh-plugin-fusion
License
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-plugin-fusion for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:alexpadholol/dsh-plugin-fusion Headless (CLI) profile:
dsh plugin --profile headless add github:alexpadholol/dsh-plugin-fusion Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.