dshbase

插件目录 / Developer / dsh-plugin-auditor

dsh-plugin-auditor

已验证 · 实测可装 HYY-King

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
JavaScript语言
2026-08-15最近推送
跨平台平台

功能简介

DSH插件审核器:预检配置文件插件组合兼容性,防止启动崩溃

✅
我们的评价
可用 — 实测通过,早期项目

DSH插件审核器:预检配置文件插件组合兼容性,防止启动崩溃 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-plugin-auditor

Audit your DSH plugin combination before adding a new one 锟斤拷 predict whether it will crash the harness on boot.

DeepSeek Harness loads every bundle in the profile at startup. Third-party plugins that are unconfigured or conflicting (duplicate tool registrations, entry-id collisions, peer version mismatches, missing tokens/app ids) can fail the whole plugin tree. This plugin turns those lessons into a read-only pre-flight check.

Install

# from git
dsh plugin --profile web add github:HYY-King/dsh-plugin-auditor

# or from a local directory (development)
dsh plugin --profile web add D:\path\dsh-plugin-auditor

# restart dsh web to activate

Usage

After restart, ask the agent to call the audit_plugins tool:

  • Full audit: call with no arguments to scan every bundle in the current profile.
  • New-plugin preview: pass newPlugins: ["package-name"] for a name-level conflict preview.

Checks

Check What it catches
Duplicate tool registration Two plugins registering the same tool name (e.g. two memory plugins both registering memory_forget)
Entry-id collision Multiple bundles mounting the same id in cordis.patch.yml
Peer version mismatch A plugin requiring a @deepseek-ai/* version that differs from the installed one
Memory-plugin uniqueness More than one memory plugin enabled at once 锟斤拷 keep exactly one
Channel-plugin credentials telegram/lark/im-style plugins enabled without token/app id 锟斤拷 disable or configure

How it works

  • Read-only: inspects the profile's package.json, cordis.patch.yml, and each installed package under node_modules; never executes audited plugin code.
  • Zero-dependency: a mini YAML parser tailored to the simple cordis.patch.yml shape.

Disclaimer

The audit is a static heuristic signal, not a compatibility guarantee. Always review a third-party plugin's source, permissions, and license before installing.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-plugin-auditor」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:HYY-King/dsh-plugin-auditor

Headless(CLI)profile:

dsh plugin --profile headless add github:HYY-King/dsh-plugin-auditor

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →