前言¶
在 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