插件目录 / Developer / dsh-plugin-fusion
dsh-plugin-fusion
已验证 · 实测可装 alexpadholol
功能简介
llm自采样插件
可用 — 实测通过,早期项目
llm自采样插件 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
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
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-plugin-fusion」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
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 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。