omdsh-dev/dsh-advisor 预览 preview

omdsh-dev/dsh-advisor

搭配一个会在每轮对话被动注入见解和审查的副模型。

Project Overview项目介绍

dsh-advisor is a native plugin built exclusively for DeepSeek Harness (DSH), porting the advisor subsystem from omp to add per-session independent AI review functionality to DSH sessions. When installed and enabled, it uses a user-specified model provider and model ID to observe every turn of the primary agent’s transcript, then generates severity-ranked advice that is injected back into the running session. It does not recursively review its own output or pollute the primary session flow, and it works with both DSH’s web front end and the dsh-tui terminal front end. Installation is done via the DSH plugin command, with a different profile flag for each front end type.

To install the plugin for the web profile, run dsh plugin --profile web add dsh-advisor, and for the dsh-tui profile run dsh plugin --profile dsh-tui add dsh-advisor. After installation, the plugin is disabled by default, so you must explicitly enable it and fill in the required provider and model fields in your global DSH settings file or the web settings card to start using it. You can also configure optional parameters like cooldown turns after a review and the maximum size of the context window. This plugin is targeted at developers who want an extra layer of review on their primary agent’s actions during development workflows.

dsh-advisor is released under the open source MIT license, and the current version is an MVP with several known functional limitations. Each session can only run one advisor instance, the review model cannot call tools to verify its own claims, there is no in-session advisor panel or persistent review history, and long sessions will have old context truncated. Pre-V3 DSH session logs cannot be migrated to work with this version of the plugin, and the fix for this issue is still in upstream development and not yet available. All required runtime dependencies are provided by the base DSH installation, so no extra installation steps are needed by users.

dsh-advisor 是专为 DeepSeek Harness(DSH)开发的原生插件,移植了 omp 的 advisor 审查子系统,为每个 DSH 会话提供独立的 AI 审查功能。插件运行时,会使用用户指定的大模型提供商和模型,观察主会话的每一轮交互,生成按严重程度(提示/关注/阻塞)分级的建议注入回会话,不会递归审查自身输出,也不会污染主会话流程,同时支持 DSH 的网页端和 dsh-tui 终端端两种前端。

安装方式根据前端 profile 区分,网页端 profile 执行 dsh plugin --profile web add dsh-advisor 安装,终端端执行 dsh plugin --profile dsh-tui add dsh-advisor 安装。启用后需要用户在全局配置文件或网页端设置面板中指定必填的模型提供商和模型名称,默认处于关闭状态,用户可按自身需求配置冷却回合、上下文窗口大小等参数。适合需要对主代理的每一步操作获得额外审查建议的开发者使用。

本插件采用 MIT 许可证开源,当前版本为 MVP,存在若干已知功能限制:每个会话仅支持一个审查实例,审查模型无法调用工具验证结论,不提供会话内审查面板和持久化历史,长会话会截断上下文。预 V3 版本的旧会话日志无法迁移,相关修复工作正在上游开发中,尚未可用。插件依赖 DSH 自带的依赖,无需用户额外安装。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 24 stars - an early-stage project星标 24,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-advisor

把 omdsh-dev/dsh-advisor 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-advisor

English | 中文

npm license node dsh dsh tui dshfind

A standalone dsh (DeepSeek Harness) plugin bundle porting the omp "advisor" subsystem: a per-session independent reviewer model that observes the primary transcript, reviews each stepped turn with an explicitly configured model (provider + model are required), and injects severity-ranked advice (nit / concern / blocker) back into the session — without polluting or recursively reviewing itself.

Advisory only. The advisor never approves or rejects the primary agent's actions, and never issues commands as if it were the primary agent. Every delivered message is self-described advisory content, and a misbehaving reviewer is bounded end to end (emission guard, immuneTurns cooldown, failure policy) so it can never stall or pollute the primary loop.

Works in both dsh front ends: the web profile (sidebar → Plugins → dsh-advisor → Advisor card) and the dsh-tui terminal profile (/advisor + /advisor config).

Quick start

Install

dsh plugin --profile web add dsh-advisor      # web profile (Settings → Advisor card)
dsh plugin --profile dsh-tui add dsh-advisor  # dsh-tui terminal profile

Same plugin, either front end — the only difference is the --profile flag. Pin a version with @<version> (e.g. dsh-advisor@0.1.0). A registry install fetches the published tarball, which ships the built artifacts (lib/ + cordis.patch.yml) — nothing builds on the target machine, and runtime dependencies (@deepseek-ai/cordis, @deepseek-ai/schemastery, @deepseek-ai/dsh-* peers) resolve through the dsh installation's flat profile module fallback — no extra install step. Registry / git / tarball / local-directory variants (local-dir from a built checkout: dsh plugin --profile web add . or dsh plugin --profile dsh-tui add .), web Settings exposure, uninstall, and --dump-config verification → docs/install.md.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-file-upload 下一个 Next DeepSeekHarnessRemoteGateway →