
Toukaiteio/dsh-plugin-installer
60最近提交 2026年8月15日
dsh-plugin-installer DSH 插件
DSH Plugin Installer 在 DeepSeek Harness 官方 Web UI 的设置 → 插件中添加了插件市场选项卡。它从 GitHub 的 dsh-plugin 和 dsh 主题中发现仓库,验证包结构,并以固定提交进行安装。它还包含 Profile 管理功能,如打开、创建和重启 Profile,以及对已安装插件的更新检查。
如何安装 dsh-plugin-installer DSH 插件
dsh plugin --profile web add ./dsh-plugin-installer-<version>.tgz来源命令需要人工核对。复制不会执行命令。
dsh-plugin-installer DSH 插件数据来源
dsh-plugin-installer DSH 插件快照日期:2026年8月16日
discovered
dsh-plugin-installer DSH 插件能做什么
- 通过搜索 GitHub 上 dsh-plugin 和 dsh 主题来发现 DSH 插件。
- 在安装前验证根 package.json 中是否包含 dsh.bundle.patch 声明。
- 从 GitHub Releases 安装插件,并在可用时进行 SHA-256 校验,若 JavaScript 入口存在则回退到源码安装。
- 提供应用内的更新检查和一键更新/移除已安装插件。
- 包含市场插件自身的自动更新机制,带重启操作。
- 管理 Web Profile:列出 Profile、在新端口上打开、创建预装本市场的新 Profile、安装后重启活动 Profile。
- 支持通过 UI 或环境变量 GITHUB_TOKEN 配置 GitHub API 令牌以获取更高频率限制。
- 实现 12 分钟每查询缓存和无限滚动以减少 GitHub API 调用。
dsh-plugin-installer DSH 插件适合哪些场景
- 在不离开 Web UI 的情况下发现并安装社区 DSH 插件。
- 通过自动更新检查和一键更新保持已安装插件最新。
- 管理多个 Web Profile:快速切换、创建新 Profile 以及在更改后重启。
- 非技术用户可以通过市场轻松扩展 DSH。
- 配置 GitHub API 令牌以避免浏览市场时的匿名限制。
dsh-plugin-installer DSH 插件适合谁
- 希望从 Web UI 内轻松安装和管理插件的 DSH 用户。
- 创建 DSH 插件并需要分发市场的开发者。
- 运行多个 DSH Web Profile 并需要方便切换或管理的用户。
dsh-plugin-installer DSH 插件的限制
- 需要 Node.js >=22.19.0 和 pnpm >=10。
- 需要 DeepSeek Harness 0.1.0-rc.6 或兼容版本。
- 在 Windows 上,本地 MITM 代理(如 FastGitHub)可能导致 TLS 证书错误;解决方法为使用 Node.js --use-system-ca。
- 当前 DSH 预览版存在上游打包问题,若 @deepseek-ai/dsh-frontend 在 npm 上不可用,则可能阻止创建新 Web Profile。
- GitHub 主题并非安全审查;用户安装前需自行审查仓库。
dsh-plugin-installer DSH 插件的仓库 README 摘录
以下文字摘自 dsh-plugin-installer DSH 插件的上游仓库 Toukaiteio/dsh-plugin-installer 的 README,版权归原作者,仅作引用。
English | [简体中文](README.zh-CN.md) An in-app marketplace and Profile switcher for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). DSH Plugin Installer adds a **Plugin marketplace** tab to the official Web UI under **Settings → Plugins**. It discovers repositories from the GitHub `dsh-plugin` and `dsh` topics, verifies that a repository is a real DSH bundle, installs it at a pinned commit, and helps users open another Web Profile without leaving the UI. The project intentionally keeps the interface compact and newcomer-friendly. It uses the official Web UI slot and design-token system, with no separate administration page, emoji, or gradient backgrounds. ## Features - Online discovery from GitHub `dsh-plugin` and `dsh` topics. - Excludes the DeepSeek Harness host repository from plugin-marketplace results. - Root `package.json` validation for `dsh.bundle.patch` before installation. - Verified GitHub Release installs using the published `.tgz` build artifact whenever available; source installs are allowed only when the checked-in JavaScript entry exists. - Optional Release version selection from the marketplace list; stable releases are preferred by default.
阅读完整 README仓库许可: MIT
dsh-plugin-installer DSH 插件常见问题
如何安装 DSH Plugin Installer?
在 Windows 上,运行 PowerShell 安装脚本:`irm https://raw.githubusercontent.com/Toukaiteio/dsh-plugin-installer/main/scripts/Install-DshPluginInstaller.ps1 | iex`。在 macOS/Linux 上,使用 Bash 安装脚本:`curl --fail --location --remote-name https://raw.githubusercontent.com/Toukaiteio/dsh-plugin-installer/main/scripts/install-dsh-plugin-installer.sh && bash ./install-dsh-plugin-installer.sh`。你也可以从 GitHub Releases 手动下载 .tgz 文件,然后使用 `dsh plugin --profile web add ./dsh-plugin-installer-<version>.tgz` 添加。
如何配置 GitHub API 令牌以避免频率限制?
在 Web UI 中打开插件市场(设置 → 插件 → 插件市场 → GitHub 请求设置),粘贴你的令牌。令牌会保存到 `$DSH_HOME/config/dsh-plugin-installer.json` 中,且不会回传给浏览器。或者,在启动 DSH 前设置 `GITHUB_TOKEN` 环境变量。
如何通过市场更新已安装的插件?
在插件市场选项卡的「已安装插件」部分,如果发现新版本,插件会显示「有更新」。点击更新按钮即可下载并安装最新 Release。如果更新影响当前活动 Profile,请使用「立即重启 DSH」按钮来应用更改。
在 Windows 上遇到 TLS 证书错误怎么办?
如果你使用了本地 HTTPS 加速器(如 FastGitHub),可能会出现此问题。完全退出 DSH,然后设置 Node.js 使用 Windows 系统 CA:`set "NODE_OPTIONS=%NODE_OPTIONS% --use-system-ca"`,再启动 DSH(`dsh web`)。这需要 Node.js 22 或更新版本。不要使用 `NODE_TLS_REJECT_UNAUTHORIZED=0`。
能否创建一个预装市场的新 Web Profile?
可以。在插件市场选项卡的 Profile 控制下,使用「创建并打开」。这会初始化一个新 Profile,包含官方 Web 包和 DSH Plugin Installer,然后打开它。注意:由于上游打包问题,如果 `@deepseek-ai/dsh-frontend` 在 npm 上不可用,此操作可能失败。