crTnT/dsh-plugin-suite
DeepSeek Harness 社区插件套件:插件中心与自动更新器
已收录
3
Market
Bundle 已验证
预览
功能介绍
crTnT/dsh-plugin-suite#dsh-plugin-center: 插件中心:在设置页发现、安装与管理 DSH 插件。 crTnT/dsh-plugin-suite#dsh-plugin-updater: 已装插件更新管理:检查更新、备份与回滚。
适合
- 希望从设置页或侧边栏发现、安装和查看社区插件的 DSH Web 用户。
- 需要为已安装插件管理更新,并在更新前备份、必要时回滚的管理员。
- 适合接受以本地源码链接方式安装,并在变更后重启 Harness 的 Windows 用户。
不适合
- 只使用一个固定插件、不管理插件清单的用户,很难从插件中心和更新器中获得明显价值。
- 要求当前已有 npm 发布包的环境;文档所述分发方式是 GitHub 源码和本地链接安装。
- 使用低于 Node.js 20 进行开发或检查的系统;相关操作明确要求 Node.js 20 或更高版本。
README
DeepSeek Harness 插件套件
这是一个面向 DeepSeek Harness(DSH)的社区插件套件,当前包含:
-
dsh-plugin-center:在 DSH 设置/侧边栏中浏览社区插件、查看安装状态并安装插件。 -
dsh-plugin-updater:检查已安装插件更新、显示红点提醒、更新前备份并支持回滚。 -
dsh-plugin-manager-core:两个管理插件共用的本地核心库。
Windows 一键安装
请先确认已经安装 DeepSeek Harness,并且已经运行过一次 dsh web,让 web profile 初始化。
建议先下载并审阅脚本,再执行:
Invoke-WebRequest https://raw.githubusercontent.com/crTnT/dsh-plugin-suite/main/scripts/install.ps1 -OutFile "$env:TEMP\dsh-plugin-install.ps1"
Get-Content "$env:TEMP\dsh-plugin-install.ps1"
& "$env:TEMP\dsh-plugin-install.ps1"
脚本会把仓库克隆到:
%USERPROFILE%\.dsh\plugin-sources\dsh-plugin-suite
然后把两个插件以本地源码链接方式安装到 web profile。插件代码、共享核心和安装路径保持在同一个仓库目录中,因此不会依赖开发者电脑的绝对路径。
手动安装
git clone https://github.com/crTnT/dsh-plugin-suite.git "$env:USERPROFILE\.dsh\plugin-sources\dsh-plugin-suite"
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\win32-x64\node.exe" `
"$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\harness\lib\bin.js" `
plugin --profile web add "link:$env:USERPROFILE\.dsh\plugin-sources\dsh-plugin-suite\dsh-plugin-center"
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\win32-x64\node.exe" `
"$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\harness\lib\bin.js" `
plugin --profile web add "link:$env:USERPROFILE\.dsh\plugin-sources\dsh-plugin-suite\dsh-plugin-updater"
安装后重启 DeepSeek Harness。后续更新源码版插件:
git -C "$env:USERPROFILE\.dsh\plugin-sources\dsh-plugin-suite" pull --ff-only
然后重启 Harness。源码链接插件会在更新中心中标记为“本地开发版”,不会被误操作覆盖。
开发与检查
仓库需要 Node.js 20 或更高版本。运行:
npm test
npm run check
当前仓库是 GitHub 源码分发版;后续可以在不改变现有安装方式的前提下,将两个独立插件发布到 npm,供用户使用 dsh plugin add 插件名 一键安装。
安全说明
- 仓库不包含 DeepSeek API Key、登录凭据、聊天记录、profile 配置或本地缓存。
- 插件安装接口只接受 npm 包名或 GitHub 仓库来源,并要求用户确认安装。
- 更新前会备份 profile 的依赖清单,更新失败时可以从更新中心回滚。
- 安装第三方 DSH 插件前,请先审阅源码并确认来源可信。
License
MIT
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:crTnT/dsh-plugin-suite#path:/dsh-plugin-center。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。