DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-advisor-flow

Advisor Flow

DeepSeek Harness 插件移植 pi-advisor-flow:按需执行器/顾问工作流,包含咨询工具、审核门槛、使用记录、隐私等级和机密信息脱敏。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:ccll/dsh-advisor-flow#95dc6663c9ca0a3457e146d08e55d6d948e78c76
README兼容性版本
A DSH session in an isolated demo environment: the executor calls ask_advisor for a second opinion on a retry-strategy draft, the advisor consultation appears as a labeled sub-session entry, and the advice comes back to the executor with an adviceId

兼容性与来源证明

Advisor Flow 以 dsh-advisor-flow 发布,当前版本为 0.2.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.2.1stable
2026/10/10
0.2.0stable
2026/10/10
0.1.0stable
2026/10/1

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Ab Ocrdsh-ab-ocr--- description: "外部 ocr 工具:逐页识别扫描的 PDF 或图像,仅在处理完最后一页后按顺序合并页面,并使用模型确定的标题级别保存为一个 Markdown 文档。" kind: "package-reference" ---Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

dsh-advisor-flow

English | 简体中文

A DeepSeek Harness (DSH) plugin that ports the pi-advisor-flow executor/advisor workflow to DSH. Everyday work runs on the everyday model; at key decisions, after repeated failures and before a turn closes, a stronger advisor model provides a second opinion. The advisor only advises — it never takes over the work (no tools, no file edits), and the session owner keeps full configurability and visibility over cost, privacy and blocking behavior.

Observable behavior is aligned with pi-advisor-flow 0.8.2 (divergences are listed item by item in RATIONALE.md).

A DSH session in an isolated demo environment: the executor calls ask_advisor for a second opinion on a retry-strategy draft, the advisor consultation appears as a labeled sub-session entry, and the advice comes back to the executor with an adviceId

The same clean isolated environment: the web settings card (also in dark, with the guideline gates & privacy tiers in dark) and the /advisor status readout with per-call usage, gate decision stats and remaining budget.

How it works

  • On-demand consultation: the executor calls the ask_advisor tool whenever it wants a second opinion — with no arguments for a general review, or with a question, a draft, a repo-context tier (it can only narrow the owner's allowed tier) and a hand-picked file list. Every answer carries an adviceId for later reference.
  • Manual consultation: the session owner can trigger a consultation at any time with /advisor-manual [focus], and cancel one in flight with /advisor cancel.
  • Hard loop gate: when the same tool call with an equivalent signature repeats up to the threshold (default 3), the host intercepts the call before it executes and asks the advisor to review; the advisor answers with a three-value decision — proceed | revise | blocked — and blocked is handled according to the configured blocking mode (warn-and-continue | block-tool | block-session).
  • Executor guidelines: before-plan / after-failure / before-completion guidelines are injected into the system prompt as soft constraints (on by default; the text matches the pi 0.8.2 English original verbatim).
  • Hard completion review (default mode): in the default hard intervention mode, every executor turn is reviewed by the advisor before it closes; a revise or blocked verdict sends the full advice back to the executor to keep working. In soft mode the plugin behaves exactly like pi-advisor-flow: guidelines only.
  • Outcome recording: the record_advisor_outcome tool lets the executor voluntarily record whether an advice was followed and validated (one-shot JSONL entries, advice text stored as an HMAC hash; off by default).
  • Usage ledger and status: per-call and cumulative input/output/cache tokens with cost details, categorized by trigger (on-demand / manual / gate); /advisor status shows the model routing, gate state and gate decision statistics.
  • Privacy tiers: repo context off | summary | full, file contents never leave the machine without an independent opt-in (ownership-checked), and secret-shaped values are replaced with placeholders before anything is sent — redaction runs before truncation.
  • Non-blocking guarantee: any advisor or gate failure never stalls the main agent loop.

Install

dsh plugin --profile web add dsh-advisor-flow

The npm package ships prebuilt, so no local build step is needed. If the settings card does not appear after installing, restart dsh web once. A listing on dsh-market (dsh plugin --profile web add dshmarket), the plugin market inside DSH, is in progress via the curated awesome-dsh-plugin index.

npm publication is in progress — until it lands, install straight from this repository:

dsh plugin --profile web add github:ccll/dsh-advisor-flow

No host source patches and no postinstall scripts — plugin integration is declared entirely through the standard dsh.bundle manifest (cordis.patch.yml declares the plugin's own insertion, not a modification of DSH). Version assumptions about DSH's plugin seams are declared in package.json under dsh.compat.

Requirements

  • DSH web, tested against @deepseek-ai/dsh@0.1.5-rc.1 (see dsh.compat in package.json).
  • An advisor model reachable through DSH's own model routing — pick any provider/model already configured in DSH; the plugin reuses the host LLM service and never talks to providers directly.

Configuration

Configuration lives in the advisor-flow namespace of settings.yaml and can also be edited in the web settings card. Changes apply live, no restart needed. Highlights:

  • Enable prerequisites: advisor-flow.enabled: true plus advisor.provider / advisor.model; with an incomplete configuration the whole feature stays disabled and the reason is queryable via /advisor status.
  • mode — intervention strength: hard (default; forces a completion review before every turn closes) or soft (guidelines only, pi behavior).
  • advisor.callTimeoutMs — overall timeout for one consultation, default 600000 ms (10 minutes).
  • advisor.maxTokens — output cap for one consultation; by default it follows the host's configured cap for the selected model.
  • Loop-gate threshold defaults to 3 (minimum 2); the three guidelines and the loop gate are on by default; secret redaction is off by default (enable it in the settings card — recommended, secret-shaped values are then sent as placeholders).
  • privacy.repoContext (off | summary | full, default summary), privacy.fileContent / privacy.untrackedContent / privacy.trackedFileContent (default false), per-tool disclosure policies via toolPolicies.
  • For the full key list, lib/config.js is the source of truth for the namespace contract, and SOLUTION.md#产品契约 documents every key with its default.
advisor-flow:
  enabled: true
  advisor:
    provider: deepseek-official
    model: deepseek-reasoner
  mode: hard
  gates:
    plan: { enabled: true }
    failure: { enabled: true }
    loop: { enabled: true, threshold: 3 }
    completion: { enabled: true }
  failureMode: block-tool
  privacy:
    repoContext: summary
    redactSecrets: true

Commands

  • /advisor-manual [focus] — start a manual consultation immediately; cancel one in flight with /advisor cancel.
  • /advisor [on|off|toggle|status|gates|cancel] — session-level switch and status queries; bare /advisor toggles.

Development

npm test                # unit tests (node --test)
npm run build:client    # rebuild the web settings-card client bundle
node scripts/screenshot.mjs shots   # regenerate README screenshots in an isolated demo environment

Commit and verification gates (AgentMap living docs + .githooks/) are described in CONVENTIONS.md.

Acknowledgments & Disclaimers

  • This project ports the executor/advisor workflow of the MIT-licensed pi-advisor-flow (version 0.8.2) to DeepSeek Harness; the guideline and protocol texts are kept verbatim where the host allows it. Thanks to the original author for the design.
  • Advisor reviews are model output, not ground truth: treat them as a second opinion, not as a verification oracle.
  • 99.99% of this project's code and documentation was written and reviewed by AI, so bugs and doc/code drift are quite likely. If you run into any problems, please open an issue.

License

MIT — see LICENSE for the full text.