chnjames/dsh-plugin-market5

dsh-plugin-market

DSH 插件市场:在 Web UI 内发现并一键安装社区插件

AI 分析

核心用途是简化 DSH 插件的搜索与安装流程。适合希望在图形界面中直接浏览、一键安装或卸载社区插件的普通 DSH 用户,配套公开目录站。

套件
dsh-plugin-market
版本
0.3.0
最近更新
2026年9月12日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chnjames/dsh-plugin-market

使用

设置内卡片:

  1. 标题行:名称 · 星标 · 展开
  2. 简介(最多两行)
  3. 底栏:已安装 / 作者 / 提示 · 查看仓库 · 安装(安装前确认)

卸载本市场插件:

dsh plugin --profile web remove dsh-plugin-market

配置

常用项(写入 cordis.patch.yml 中本插件的 config):

说明
install.dshCommandnpx 用户设为 "npx @deepseek-ai/dsh"
catalog.urls自定义 registry.json 地址(自建域名时)
catalog.fallbackToSearch目录全失败时是否回退本机 GitHub / npm 搜索
ui.showRiskLevel是否显示外观类 / 高权限等启发式提示

完整默认块见 cordis.yml

完整配置示例

- insert:
    - id: plugin-market
      name: dsh-plugin-market
      config:
        catalog:
          fallbackToSearch: true
          # urls: ["https://your-domain/registry.json"]
        sources:
          github:
            enabled: true
            topic: "dsh-plugin"
          npm:
            enabled: true
            keyword: "dsh-plugin"
        cache:
          ttl: 21600
          autoRefresh: true
          refreshInterval: 21600
        ui:
          showRiskLevel: true
        install:
          defaultProfile: "web"
          confirmBeforeInstall: true
          # dshCommand: "npx @deepseek-ai/dsh"