跳到正文

cyber-moshen/dsh-plugin-market

31最近提交 2026年8月15日

dsh-plugin-market DSH 插件

插件工坊在 DSH 设置中添加了一个专用页面,以卡片网格形式展示社区插件,包含实时 GitHub 统计、搜索过滤和按维护状态筛选。支持一键安装/更新/卸载(通过 `dsh plugin` CLI),内置安全网防止安装坏插件导致配置文件无法启动,并提供设置 GitHub Token 和自动更新的选项。

如何安装 dsh-plugin-market DSH 插件

dsh plugin --profile web add @cyber-moshen/dsh-plugin-market

复制不会执行命令。安装 dsh-plugin-market DSH 插件前请核对仓库和版本。

dsh-plugin-market DSH 插件数据来源

dsh-plugin-market DSH 插件快照日期:2026年8月16日

discovered

dsh-plugin-market DSH 插件能做什么

  • 按名称、作者、标签、安装状态、星标数、提交日期和维护状态搜索和筛选插件。
  • 一键安装、更新和卸载插件,直接在网页界面操作。
  • 安全网:安装前依赖审计、安装后引导组合检查并自动回滚。
  • GitHub 集成:显示实时星标数、最后提交时间和维护颜色指示。
  • 设置面板:配置 GitHub Token 提高 API 速率限制,开启启动时自动更新。
  • 纯 JS 插件热重载:安装/更新后无需重启(原生模块会提示重启)。

dsh-plugin-market DSH 插件适合哪些场景

  • 发现 DSH 网页界面的新插件并一键安装。
  • 通过自动更新检查和手动更新按钮保持插件最新。
  • 管理已安装的插件:卸载、查看版本状态和 GitHub 统计。
  • 通过向 data/plugins.json 发起 Pull Request 提交自己的插件到社区目录。
  • 使用插件附带的离线修复脚本修复损坏的 DSH 配置文件。

dsh-plugin-market DSH 插件适合谁

  • 希望扩展 DSH 网页界面功能的用户。
  • 希望发布和分发自己插件的开发者。

dsh-plugin-market DSH 插件的限制

  • 需要运行 DSH 网页界面(profile web),不能在纯 CLI 模式下使用。
  • 依赖 GitHub API 获取实时数据;没有 Token 时速率限制为 60 次/小时,可能影响体验。
  • 安装和更新依赖 npm 包注册表,离线或断网环境可能无法工作。
  • 安全网仅覆盖通过插件工坊安装的插件,直接通过 CLI 安装的插件可能绕过检查。
  • 启动时自动更新仅对网页服务器有效,不适用于所有 DSH 配置文件。

dsh-plugin-market DSH 插件的仓库 README 摘录

以下文字摘自 dsh-plugin-market DSH 插件的上游仓库 cyber-moshen/dsh-plugin-market 的 README,版权归原作者,仅作引用。

**Plugin Workshop** for the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) web GUI — a curated plugin catalog that lives in this very repo. [中文](README.zh.md) · [日本語](README.ja.md) ## What it is A **Settings → Plugin Workshop (插件工坊)** page with: - a **card grid** of community plugins — each card shows **tags** (click a tag to search it), **GitHub stars**, **last-commit freshness** with a colored maintenance signal, and the **installed version / update state**; - **search across names, authors and tags**, plus an always-visible filter bar (installed state, sort by stars/commit, maintenance state); - **one-click install / update** (runs the real `dsh plugin` CLI in the background); - a **GitHub icon button** on every card jumping straight to the repo; - a **settings modal** with a **GitHub Token** field (lifts API rate limits) and a **startup auto-update** toggle; - the **whole workshop follows the app's own language** (Settings → General → Language: 中文 / English); - a frame-wide toast after a boot-time auto-update — pure-JS plugins hot-reload in place, plugins with native modules ask for a restart. - **hot reload** — installing/updating/uninstalling a pure-J

阅读完整 README仓库许可: MIT

dsh-plugin-market DSH 插件常见问题

如何安装插件市场这个插件本身?

在命令行运行 `dsh plugin --profile web add @cyber-moshen/dsh-plugin-market`,然后重启网页服务器。之后你会在设置页面看到“插件工坊”页面。安装后,该插件本身也可以通过工坊更新。

如何将自己的插件添加到市场?

在 dsh-plugin-market 仓库的 `data/plugins.json` 文件中发起 Pull Request。添加一个条目,包含你的插件 GitHub 地址、npm 包名和可选的标签。验证工作流会自动检查 JSON 格式。卡片名称、作者和统计信息会自动从 URL 中提取。

安装插件时看到“扇出(fan-out)”警告是什么意思?

安全网检测到该插件的依赖树中包含多个声明了 `dsh.bundle` 的包,这可能导致加载器条目重复。常见于“大而全”的聚合插件。警告要求你确认了解风险后才能继续安装。安装后的引导组合检查会验证最终的 bundle 栈,如果失败则自动回滚。

如何在插件工坊中使用 GitHub Token?

打开工坊中的设置面板(搜索框旁边)。在 GitHub Token 字段中粘贴一个具有 `repo` 权限的经典个人访问令牌,然后点击保存。Token 会保存在配置文件中。你也可以通过环境变量 `GITHUB_TOKEN` 或 `GH_TOKEN` 设置,它们优先级更高。使用 Token 后 API 速率限制从 60 次/小时提升到 5000 次/小时。

安装的插件导致网页界面崩溃怎么办?

插件工坊的安全网会阻止这种情况。安装前会审计依赖包扇出,安装后会在一个临时子进程中运行引导组合检查。如果检查失败,插件会自动卸载,配置文件 `package.json` 会从快照恢复。如果配置文件已经损坏(例如通过 CLI 直接安装),可以使用离线修复脚本:`node <插件目录>/scripts/repair.mjs --profile web`。