JustGenius-s/DSH-Plugs--plugins-dsh-plugin-marketplace6

@just-genius/dsh-plugin-marketplace

在设置中添加“插件市场”标签页:整合 DSH-Plugs 仓库与 awesome-dsh-plugin 精选注册表。

AI 分析

核心用途是为 DSH 提供一个可视化的插件商店。适合想要发现、浏览和一键复制安装社区优秀插件的用户。它能自动识别已安装的插件,并提供便捷的安装命令。

包名
@just-genius/dsh-plugin-marketplace
版本
0.1.0
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JustGenius-s/DSH-Plugs#dd69eb2a6a9cf561110190d2d4885454339039fc&path:plugins/dsh-plugin-marketplace

@just-genius/dsh-plugin-marketplace

Adds a Marketplace tab to DSH Settings → Plugins. It merges two sources: this DSH-Plugs monorepo, and the curated awesome-dsh-plugin registry. It marks plugins already present in the web profile (package.json) and the live Loader inventory, and can copy or run the catalog install command.

The official Plugin configuration and Plugin list tabs are left in place.

What it does

  • Registers settings.plugins.tab with id: marketplace (order 5).
  • Host GET /dsh-plugin-marketplace/catalog merges this repo's plugins (local plugins/* when linked, otherwise github:Rory-X/DSH-Plugs#path:…) in front of https://awesome-dsh-plugin.com/plugins.json.
  • Client falls back to the same merge if the Host proxy is down.
  • Shows source chips, categories, search, and bilingual descriptions.
  • Tags Installed from the web profile (dependencies / dsh.profile.bundles) and the live Loader inventory (pluginInventory.list()). Matches npm name, GitHub spec (github:owner/repo), and local link: paths.
  • Copy install command writes the catalog command to the clipboard.
  • Install POSTs { spec } to /dsh-plugin-marketplace/install. The Host only accepts specs that appear in the merged catalog (github:owner/repo, #path: monorepo specs, or an absolute local folder), then runs dsh plugin --profile web add . Plugins that replace official UI (e.g. dsh-model-custom-ex) also write the matching cordis.patch.yml disable.
  • After a successful install the UI shows Restart required. New bundles are composed at process start — refresh is not enough.

Install

cd /path/to/DSH-Plugs
pnpm install
pnpm --filter @just-genius/dsh-plugin-marketplace build
dsh plugin --profile web add ./plugins/dsh-plugin-marketplace

Restart the DSH web profile, then open Settings → Plugins → Marketplace.

Uninstall

dsh plugin --profile web remove @just-genius/dsh-plugin-marketplace

Then restart DSH.

Notes

  • This is a discovery UI over a curated list, not a signed store. Review the GitHub repo before installing third-party code.
  • Install writes ~/.dsh/profiles/web. Git-hosted plugins may need an allowBuilds entry in that profile's pnpm-workspace.yaml.