前言¶
在 DSH 的插件思路下,找插件、看 README、记安装命令往往会来回切换 GitHub 和终端。dsh-plugin-marketplace 把这部分流程放进 DeepSeek Harness Web UI 的设置页:直接浏览 github.com/topics/dsh-plugin,支持搜索、按 Star 排序、查看安装方式。
这是什么¶
dsh-plugin-marketplace 是 Scorp1o117 维护的一个 DSH Web UI 插件,用于在设置页内置插件市场,减少在终端查找插件的步骤。它使用公共 GitHub search API,MIT 许可。
核心功能¶
- 在 DeepSeek Harness Web UI 设置页内置插件市场,无需终端。
- 支持按关键词搜索
github.com/topics/dsh-plugin,并按 stars 或 last update 排序。 - 插件卡片展示 description、stars、language、update date。
- 详情面板展示 GitHub README summary、install command、repo/npm links。
- AI explain:一键询问配置的默认模型该插件大致作用,并在 UI 中回答。
- 使用公共 GitHub search API,CORS-enabled,无需 key。
- 零客户端依赖,仅 React;无构建步骤,使用手写 ModuleLoader bundle。
安装与启用¶
推荐安装¶
推荐作为 profile bundle 安装:
dsh plugin --profile web add dsh-plugin-marketplace
这条命令会把插件加到 web profile 的 bundle 层。
其他安装方式¶
也可以通过包 dsh.bundle.patch 层安装:在
$DSH_HOME/profiles/web/package.json
的 dsh.profile.bundles 中加入 dsh-plugin-marketplace。
也可以手动挂载:在
$DSH_HOME/profiles/web/cordis.patch.yml
插入:
- insert:
- id: plugin-marketplace
name: 'dsh-plugin-marketplace'
升级注意¶
从 ≤ 0.2.2 升级时,如果你之前是手动挂载的,切换 bundle 安装前先移除 cordis.patch.yml 中的手动挂载行,避免:
duplicate loader entry id: plugin-marketplace
bundle 安装和手动挂载是替代关系,不要同时保留两条同 id 配置。
启用插件¶
安装后重启:
dsh web
然后打开:
Settings → Plugin Marketplace
版本兼容¶
DSH 0.1.0-rc.7 及以上无需 patch 官方文件。
DSH 0.1.0-rc.6 用户需要 pin:
dsh-plugin-marketplace@0.2.6
环境依赖¶
需要满足:
node >=20.18
peerDependencies:
react ^18.2.0
@deepseek-ai/dsh-settings ^0.1.0-rc.7 || ^0.1.1-rc.1
@deepseek-ai/dsh-llm ^0.1.0-rc.7 || ^0.1.1-rc.1
dependencies:
@deepseek-ai/schemastery ^3.18.1
典型用法¶
1、安装后重启 dsh web,打开 Settings → Plugin Marketplace。
2、输入关键词搜索 github.com/topics/dsh-plugin,或按 stars / last update 排序。
3、打开插件卡片和详情面板,查看 README summary、install command、repo/npm links。
4、需要判断用途时,使用 AI explain,让配置的默认模型在 UI 中说明该插件大致作用。
5、出现 rate-limited 时,等待一小时,或通过代理加 GitHub token。
适用场景与注意¶
适合在 DSH Web UI 中查找、浏览和安装社区 dsh 插件的场景。
注意:
- 未认证 GitHub search API 速率限制为 60 req/h。
- GitHub search API 最多返回 1000 条结果;当前 topic 280+ repos,分页可覆盖。
- README 按插件按需获取,并截断至约 1200 字符。
- bundle 安装与手动挂载为替代关系,重复 id 会中止启动。
- 插件启用后会以当前 dsh 进程权限运行其声明的能力,包括调用配置的默认模型和访问 GitHub search API。安装前应检查源码与 MIT 许可证。
- 它是社区插件,不是 DeepSeek / 幻方官方应用商店;社区目录与 DeepSeek / 幻方无官方从属关系。
结尾¶
dsh-plugin-marketplace 的价值在于把 GitHub topic 浏览、插件说明查看和安装命令获取放到 DSH Web UI 设置页里,减少在终端和浏览器之间切换的步骤。
相关链接:
https://github.com/topics/dsh-plugin
https://github.com/Scorp1o117/dsh-plugin-marketplace