
qichuang321/dsh-plugin-browser
40最近提交 2026年8月14日
dsh-plugin-browser DSH 插件
提供两个 agent 工具(list_plugins、browse_plugin_market)和一个 GUI 页签「插件浏览器」,位于设置→插件→插件浏览器。GUI 包含市场页签(展示 awesome-dsh-plugin 目录,252+ 插件,显示安装状态)和已装插件页签。安装操作通过 dshmarket 端点完成。
如何安装 dsh-plugin-browser DSH 插件
dsh plugin --profile web add github:CriscolTheCoder/dsh-plugin-browser复制不会执行命令。安装 dsh-plugin-browser DSH 插件前请核对仓库和版本。
dsh-plugin-browser DSH 插件数据来源
dsh-plugin-browser DSH 插件快照日期:2026年8月16日
discovered
dsh-plugin-browser DSH 插件能做什么
- 提供 list_plugins 工具,查询当前加载的插件列表及状态
- 提供 browse_plugin_market 工具,搜索 awesome 目录中的插件
- GUI 页签包含市场和已装插件两个视图
- 通过 dshmarket 实现一键安装、更新、卸载(需安装 dshmarket)
- 目录数据支持在线获取、内置快照和 dshmarket 快照三级回退
dsh-plugin-browser DSH 插件适合哪些场景
- 快速查看当前已加载的插件及其状态
- 从 awesome 目录中搜索特定插件并一键安装
- 在一个界面查看插件的版本、来源和加载状态
- 通过 GUI 管理多个插件的安装、更新和卸载
- 在对话中通过 agent 工具查询插件市场信息
dsh-plugin-browser DSH 插件适合谁
- DSH 用户,希望高效管理和发现插件
- DSH 插件开发者,需要快速了解市场动态和插件详情
dsh-plugin-browser DSH 插件的限制
- 仅支持 DSH 环境,需要 DSH 运行
- 一键安装/更新/卸载依赖 dshmarket 插件,未安装时按钮禁用并提示
- 目录数据有 10 分钟进程内缓存,手动刷新可通过 POST /dsh-plugin-browser/refresh
- 插件浏览器 GUI 需要通过 DSH 设置页进入,不支持独立访问
dsh-plugin-browser DSH 插件的仓库 README 摘录
以下文字摘自 dsh-plugin-browser DSH 插件的上游仓库 qichuang321/dsh-plugin-browser 的 README,版权归原作者,仅作引用。
DSH 插件**市场入口 + 运维面板**:浏览 awesome-dsh-plugin 目录(252+ 插件), 直接看到每个插件在本 profile 的**已装 / 加载状态**,并经由 dshmarket 一键 **安装 / 更新 / 卸载**。同时提供 `list_plugins` 与 `browse_plugin_market` 两个 agent 工具。 - **Agent 工具 `list_plugins`**:问「当前装了什么插件 / 哪些挂了」,返回完整清单: 模块名、版本、启用状态、Cordis 加载阶段、entry id、bundle 层栈。 - **Agent 工具 `browse_plugin_market`**:问「帮我找 xx 插件」,返回 awesome 目录 匹配项 + 各自在本 profile 的已装/加载状态与安装命令。 - **GUI 页签「插件浏览器」**:位于 **设置 → 插件 → 插件浏览器**,内含两个页签: - **市场**:awesome 目录卡片(分类过滤 / 搜索 / 星标排序),每张卡片标注 已装版本与加载状态,操作按钮:安装 / 更新 / 卸载 / 打开仓库。动作通过 dshmarket 的 `/dsh-market/*` 端点执行(未装 dshmarket 时按钮禁用并提示)。 - **已装插件**:当前 profile 的 loader 快照(版本 / 来源 / 加载状态 / 主页)。 ## 安装 ```bash # 从 GitHub 安装到目标 profile(例如 web) dsh plugin --profile web add github:CriscolTheCoder/dsh-plugin-browser # 本地开发也可以用 file: 指向源码目录(注意路径中不要有空格) dsh plugin --profile web add file:C:/Users/xxx/dsh-plugin-browser # 推荐同时安装 dshmarket,市场页签的操作按钮才能用 dsh plugin --profile web add dshmarket # 重启 dsh 生效后: # - 会话里问 agent:`列出当前加载的所有插件` 或 `帮我找一下 TUI 相关的插件` # - 或到 设置 → 插件 → 插件浏览器 浏览市场并一键安装 ``` ## 工作原理 - `lib/index.js`:注册 `list_plugins` / `browse_plugin_market` 两个工具,并挂载 HTTP 路由。 - `lib/registry.js`:加载 awesome-dsh-plugin 目录(在线 → 内置快照 `data
阅读完整 README仓库许可: MIT
dsh-plugin-browser DSH 插件常见问题
如何安装 DSH 插件浏览器?
在终端中运行 `dsh plugin --profile <profile> add github:CriscolTheCoder/dsh-plugin-browser`,将 `<profile>` 替换为目标 profile(例如 web)。然后重启 DSH。为了让安装/更新/卸载按钮可用,建议同时安装 dshmarket:`dsh plugin --profile <profile> add dshmarket`。
为什么插件浏览器中的安装/更新/卸载按钮是灰色的?
这些按钮需要同一 profile 中安装了 dshmarket 插件才能使用。如果没有安装,请运行 `dsh plugin --profile <profile> add dshmarket` 并重启 DSH,之后按钮就会激活,可以一键操作。
可以不使用 GUI 直接使用插件浏览器吗?
可以。插件提供了两个 agent 工具:`list_plugins` 和 `browse_plugin_market`。你可以直接向 DSH agent 提问,例如「列出当前加载的所有插件」或「帮我找一下 TUI 相关的插件」,就能在对话中获取相同信息。
插件目录多久更新一次?
插件目录数据从在线 awesome-dsh-plugin 目录获取,并缓存 10 分钟。你可以通过发送 POST 请求到 `/dsh-plugin-browser/refresh`(同源)手动刷新缓存。如果在线获取失败,插件会依次回退到内置快照或 dshmarket 快照。
如何卸载插件浏览器?
在终端中运行 `dsh plugin --profile <profile> remove dsh-plugin-browser`,替换 `<profile>` 为安装时的 profile。然后重启 DSH 即可完成卸载。