WintryGrass/dsh-multi-candidate
Multi-candidate mode plugin for DeepSeek Harness (test-time scaling): floating whale panel config, model auto-runs parallel candidates + verifier selection. 多候选模式插件
项目介绍Project Overview
多候选模式插件,为DeepSeek Harness提供测试时扩展能力:并行生成多个候选方案,由验证者选优。通过可拖动的悬浮球面板配置,纯配置零操作,仅当前会话生效。适用于需提升任务成功率的场景。需rc.8及以上版本,且依赖宿主提供workflow工具。
A test-time scaling plugin for DeepSeek Harness. It generates multiple independent candidate solutions in parallel for a task, then uses a verifier to select the best one. Configured via a draggable floating panel; enable per-session with zero extra input. Use when higher success rates justify more compute. Requires DSH rc.8+, web profile, and host-provided workflow tool.
请帮我了解并安装插件:【dsh-multi-candidate】【https://github.com/WintryGrass/dsh-multi-candidate】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add dsh-multi-candidate
把 WintryGrass/dsh-multi-candidate 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-multi-candidate 🐋
多候选模式插件(test-time scaling):让 DeepSeek Harness 对同一任务并行生成多个独立候选方案,再用验证者选优——用更多推理算力换取成功率("跑 N 遍交最好的一份")。
功能
- 🐋 悬浮球面板:可自由拖动(位置记忆),点击开/关面板
- 纯配置、零操作:勾选启用后,直接在输入框正常说任务即可,模型自动按多候选流水线执行——无需特殊指令前缀、无需复制粘贴
- 配置项:启用开关、候选数(2-5)、第二意见复核(多声音合议)、验证标准(选填)
- 仅当前会话生效:开启时绑定当前会话,新会话默认关闭,不跨会话泄漏
- 硬接线工具
multi_candidate_run:模型显式触发入口,参数化调用
要求
- DeepSeek Harness rc.8 及以上(依赖新版
defineToolAPI:execute/output/裸属性表) - web profile(客户端面板运行于 Web GUI)
- 宿主已提供 peer 依赖:
@deepseek-ai/dsh-tools、dsh-settings、dsh-system-prompt、schemastery、cordis(均 optional,宿主自带)
安装
# 从 npm(如已发布)
dsh plugin --profile web add dsh-multi-candidate
# 从本地 tarball
dsh plugin --profile web add file:/path/to/dsh-multi-candidate-1.1.0.tgz
# 从本地目录(开发)
dsh plugin --profile web add file:/path/to/dsh-multi-candidate
安装后重启 DSH,Web GUI 右下角出现 🐋 按钮。
使用
- 点右下角 🐋 打开面板
- 勾选「启用多候选模式(仅当前会话)」,可选候选数(默认 3)、第二意见、验证标准
- 在主输入框正常输入任务(如"帮我写一个 Python 猜数字游戏")
- 模型自动执行:并行 N 候选 → 验证者选优 →(可选第二意见)→ 汇报
执行时自动尊重当前会话模式(router / J-space / Anchored 等)。
工作原理
🐋 面板(客户端)→ settingsScope.set() → 服务端 settings 持久化
↓
systemPrompt.section 动态注入(仅对绑定会话)→ 模型上下文自动带配置
↓
任务正常输入 → 模型按配置调用 workflow 工具执行「并行候选→验证选优」
给开发者的注意
file:安装是复制模式:修改源码后需remove + add重装,或手动同步到 profile 的node_modules(pnpm 缓存不自动刷新)- 服务端改动必须重启 DSH;仅客户端改动刷新页面即可
- 多候选的最终执行依赖 agent 层的
workflow工具(服务端工具无法直接编排子代理,这是架构边界)
License
MIT
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS