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 渠道的预构建包则不需要额外配置。首次安装后需要重启测试配置文件才能正常使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 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 dsh1024 once, then dsh1024 plugin --profile web add dsh-test-drive (counts toward the deepseek1024.com install ranking). Gitee dshfind OpenSSF Scorecard

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.

License DSH plugin dsh-doctor DSH Market Node CI Version npm version npm downloads

English · 简体中文 · Español · Português · हिन्दी


⭐ 如果它帮到了你

这个插件是 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 →

← 上一个 Prev awesome-dsh-plugins 下一个 Next dsh-plugin-skills →