PerryLink/dsh-test-drive
DeepSeek Harness 插件的隔离安装与冒烟测试驱动器:将仓库或 npm 包安装到一次性的 DSH_HOME 配置文件中,验证捆绑补丁层和启动日志,记录结构化通过/失败结果矩阵(JSON/Markdown)以供评分流水线使用,并隔离其拥有的所有临时目录。
Project Overview项目介绍
dsh-test-drive is a native testing plugin built exclusively for DeepSeek Harness (DSH) that enables isolated install and smoke testing for DSH plugins. All testing work runs inside a throwaway temporary profile, so your main local ~/.dsh directory is never modified or touched during the process. You can install the plugin via either npm or Git, following the standard DSH plugin add command pattern, targeting a dedicated web test profile. It is also listed in the PerryLink community catalog for DSH Desktop Market, so you can also install it through DSH's built-in market interface after adding the catalog source.
This plugin is built primarily for DSH plugin developers and quality testers who need to validate plugins before public release. It exposes three main entry points: the test_drive tool for single plugin testing, the /testdrive slash command for batch testing multiple plugins at once, and drive_report to fetch stored historical test results. Batch testing produces a structured compatibility matrix that can be directly consumed by downstream DSH plugin scoring tools. All test results are output in a standardized machine-readable format with clear pass/fail status fields for each individual test stage.
dsh-test-drive requires Node.js version ^22.19.0 or >=24.0.0, and depends on DSH CLI and pnpm package manager being available on your system PATH. It supports all major desktop platforms including Windows, macOS, and Linux. If you install from Git, you will need to add a build allowance entry for dsh-test-drive to your pnpm-workspace.yaml configuration, but prebuilt packages from npm do not need this extra step. It is released under the permissive open-source Apache-2.0 license, and you need to restart your test profile after first installation before you can start using it.
dsh-test-drive 是一款专为 DeepSeek Harness 设计的原生测试插件,核心功能是为 DSH 插件提供隔离的安装冒烟测试流程。它会在一个临时创建的独立配置文件中完成目标插件的安装、启动检查、能力断言等全套流程,最后自动清理测试环境,全程不会修改用户本地真实的 ~/.dsh 主目录,保证主环境不受测试影响。它支持通过 npm 或者 Git 两种渠道安装到 DSH 的 web 测试配置文件中。
它面向 DSH 插件开发者和插件质量测试人员,帮助开发者在发布插件前快速验证插件的可安装性和核心功能是否符合要求。开发者可以调用 test_drive 工具测试单个目标插件,也可以使用 /testdrive 命令批量测试一批插件,测试完成后会生成结构化的结果报告,还能通过 drive_report 工具调取任意历史测试结果。批量测试会生成兼容下游评分工具的兼容性矩阵,方便批量统计和分析插件质量。
该插件要求 Node.js 版本为 22.19.0 以上或者 24.0.0 以上,需要系统 PATH 中已经存在 DSH CLI 和 pnpm 包管理器,支持 Windows、macOS、Linux 三大桌面平台。采用 Apache-2.0 开源许可证,从 Git 安装时需要额外在 pnpm 配置中添加构建允许规则,npm 渠道的预构建包则不需要额外配置。首次安装后需要重启测试配置文件才能正常使用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-test-drive(PerryLink/dsh-test-drive)
仓库:https://github.com/PerryLink/dsh-test-drive
本站详情页:https://www.yhbd.top/plugins/perrylink-dsh-test-drive/
本站登记:类型 bundle · 归类 原生 DSH 插件 · 许可证 Apache-2.0 · ⭐ 12 · 最近提交 2026-09-25 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 12 stars - an early-stage project星标 12,属于早期项目
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-test-drive
把 PerryLink/dsh-test-drive 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
🧪 dsh-test-drive
- 1024 store channel:
npm i -g dsh1024once, thendsh1024 plugin --profile web add dsh-test-drive(counts toward the deepseek1024.com install ranking).
Isolated install-and-smoke test drives for DeepSeek Harness plugins.
Install, smoke, verify, and clean up in a throwaway profile — your real ~/.dsh stays untouched.
⭐ 如果它帮到了你
这个插件是 DSH 插件家族的一员(40+ 个,全部 Apache-2.0)。如果你在用,给个 star —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
cirelir/dsh-change-review
nightosong/gord-dsh-worktree
superdesigndev/treg
bruc3van/awesome-dsh-plugin
leenkcool/Blue-Whale-Harness
bradeGithub/DSH-Plugins-Marketplace
awesome-dsh-plugin/dsh-find-plugin