DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Second Opinion — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-second-opinion

Second Opinion

针对 DeepSeek Harness 助手决策的独立第二模型评审

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:scwlkq/dsh-second-opinion#ebe33b8b8954f89d94ac7dec26f80f28bf202365
README兼容性版本

兼容性与来源证明

Second Opinion 以 dsh-second-opinion 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/7

版本

0.1.0stable
2026/9/7

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/7
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编码计划配额,并提供实时令牌使用记录,同时在侧边栏条目中显示当前会话提供商今日的使用量Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。

README

DSH Second Opinion

简体中文

dsh-second-opinion adds an asynchronous second-model review to DeepSeek Harness. The primary model's answer is committed immediately; a reviewer model then checks the completed assistant message, records quote-anchored concerns, and optionally asks the primary model to reconsider.

Quote-anchored second opinion

Features

  • Reviews each committed assistant message without delaying or failing the primary turn.
  • Runs reviews serially within one Session and concurrently across Sessions.
  • Supports advisory review and bounded automatic reconsideration.
  • Anchors comments to exact quoted text and keeps general comments when no quote applies.
  • Persists pending, completed, and failed reviews in a Storage Domain sidecar.
  • Exposes retry, per-comment reconsideration, and whole-review reconsideration in the Web UI.
  • Gives the reviewer no primary-agent tools, so a review cannot perform tool side effects.

Requirements

  • DeepSeek Harness 0.1.2-rc.1 (the tested release target)
  • Node.js ^22.19.0 || >=24.0.0
  • pnpm available to the dsh plugin command

Installation

Install the published npm package into the Web profile:

dsh plugin --profile web add dsh-second-opinion

Or install the current GitHub source:

dsh plugin --profile web add github:scwlkq/dsh-second-opinion

Restart the DSH Web process after installation. The bundle activates both the Host plugin and its browser contribution.

Usage

The default advisory mode needs no extra configuration. Start DSH, send a prompt, and open the speech-bubble action under a completed assistant message. The dialog first shows Review pending, then the reviewer verdict and comments. You can send one comment or the complete review back to the primary agent for reconsideration.

dsh --profile web

The reviewer route defaults to the provider and model that produced the target message. Set both reviewer route variables to use a dedicated B model:

export DSH_REVIEW_PROVIDER='<provider-id>'
export DSH_REVIEW_MODEL='<model-id>'
dsh --profile web

Modes

ModeBehavior
advisoryStores and displays the review. A person chooses whether to reconsider one comment or the complete review. This is the default.
autoWhen the verdict is concern or disagree, automatically steers the primary agent to reconsider. The original answer remains in the transcript.

Enable automatic reconsideration for the bundle layer:

export DSH_REVIEW_MODE=auto
dsh --profile web

Automatic reconsideration is limited by autoRevisionsPerTurn and does not review the plugin's own advice chain, preventing an unbounded review loop. If the Session advances before a slow review completes, the result remains available as advice but is not injected into the newer task.

Configuration

The bundle reads these environment variables at profile startup:

Environment variableDefaultMeaning
DSH_REVIEW_MODEadvisorySelects advisory or auto.
DSH_REVIEW_PROVIDERunsetReviewer provider ID. Must be set together with DSH_REVIEW_MODEL.
DSH_REVIEW_MODELunsetReviewer model ID. Must be set together with DSH_REVIEW_PROVIDER.

For every option, add an ID-targeted override to the profile's cordis.patch.yml:

- id: second-opinion
  config:
    mode: advisory
    provider: '<provider-id>'
    model: '<model-id>'
    reasoningEffort: high
    maxTokens: 900
    maxContextMessages: 20
    autoRevisionsPerTurn: 1
    reviewToolCalls: true
OptionDefaultMeaning
modeadvisoryReview-only or automatic reconsideration behavior.
providertarget message routeDedicated reviewer provider ID. Configure with model.
modeltarget message routeDedicated reviewer model ID. Configure with provider.
reasoningEffortunsetOptional reasoning effort forwarded to the reviewer route.
maxTokens900Maximum reviewer output tokens.
maxContextMessages20Maximum recent transcript messages sent with the target answer.
autoRevisionsPerTurn1Maximum automatic reconsiderations for one primary turn.
reviewToolCallstrueWhether to review assistant messages that contain no non-empty text, including tool-call-only messages.

provider and model must both be present or both be omitted. Invalid self-contained configuration fails when the plugin loads.

Privacy, Cost, and Failure Behavior

  • The reviewer provider receives the target answer and up to maxContextMessages recent visible transcript messages. This content can include prompts, tool-call arguments, tool-result markers, and image markers; hidden reasoning is not included.
  • Each reviewed assistant message adds one model request. In auto mode, a non-agreeing review can add another primary-model request.
  • A reviewer failure never blocks, delays, or replaces the primary answer. Invalid reviewer output becomes a failed review that the user can retry.
  • The reviewer receives only the structured submit_review response tool, not the primary agent's executable tools.

Current Limitations

  • Exact quote anchors are displayed inside the review dialog; version 0.1.0 does not decorate or select the original transcript DOM.
  • Reviews start after an assistant message is committed, not while tokens are streaming.
  • Automatic reconsideration appends a new decision instead of rewriting the original answer.
  • The first release targets the DSH Web profile for interactive review actions.

Uninstallation

dsh plugin --profile web remove dsh-second-opinion

Restart the DSH Web process after removal.

Development

pnpm install
pnpm test
pnpm run typecheck
pnpm run lint
pnpm run build

To verify a packed artifact against a local DeepSeek Harness checkout:

DSH_SOURCE_ROOT=/path/to/deepseek-harness pnpm run smoke:install

The detailed Chinese walkthrough is in docs/使用指南.md.

License

MIT