crTnT/dsh-plugin-suite

DeepSeek Harness 社区插件套件:插件中心与自动更新器

Project Overview项目介绍

DSH Plugin Suite ships two community plugins for DeepSeek Harness: dsh-plugin-center browses and installs community plugins from the settings panel, while dsh-plugin-updater checks for updates, shows badge reminders, backs up the profile dependency list before updating, and supports rollback. Both share the dsh-plugin-manager-core local library. On Windows, run install.ps1 for one-click setup into the web profile, or add them manually as source links. Note: the suite is distributed from GitHub source, not as an npm package, so review the install script and plugin code before use.

DSH 插件套件为 DeepSeek Harness 提供两款社区插件:dsh-plugin-center 在设置面板中浏览、安装社区插件;dsh-plugin-updater 检查更新、红点提醒、更新前自动备份并支持回滚。两者依赖共用的 dsh-plugin-manager-core 本地库。Windows 平台可运行 install.ps1 一键安装至 web profile,也可手动以源码链接方式加入。注意:插件源为 GitHub 源码分发而非 npm 包,安装前建议审阅脚本与代码。

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

CLI Install命令行安装

dsh plugin --profile web add github:crTnT/dsh-plugin-suite

crTnT/dsh-plugin-suite 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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

上一个 Prev dsh-plugin-qr-connect 下一个 Next dsh-skills-viewer