dsh-plugin-manager
by yishengdaxiaonengjihui
DeepSeek Harness (dsh) 插件管理:在设置页列出已安装的第三方插件,并支持按行 id 在 profile 的 `cordis.patch.yml` 补丁层持久禁用 / 启用。
安装
dsh plugin --profile web add github:yishengdaxiaonengjihui/dsh-plugin-managerGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
DeepSeek Harness (dsh) 插件管理:在设置页列出已安装的第三方插件,并支持按行 id 在 profile 的 cordis.patch.yml 补丁层持久禁用 / 启用。
只改补丁层,不修改
dependencies与dsh.profile.bundles——插件始终装着,只是最后应用的加载器条目层按 id 把该行关掉/打开。
特性
- 设置 → 插件管理:列出所有已安装的第三方插件(过滤
@deepseek-ai/*内置 bundle 与自身)。 - 每个插件显示:包名、描述、行 id、已启用 / 已禁用 状态徽章。
- 一键 禁用 / 启用:向
cordis.patch.yml追加 / 移除- id: <行id>\n disabled: true。 - 行 id 自动从插件自身的
cordis.patch.yml(insert的id)提取。 - 纯手写 JS(Host = Node ESM,Client =
__ModuleLoader__bundle),无构建、无运行时依赖。
安装
在 profile 所在目录执行:
# 方式一:GitHub 安装(建好仓库后)
dsh plugin --profile web add github:yishengdaxiaonengjihui/dsh-plugin-manager
# 方式二:本地链接(开发/自用)
dsh plugin --profile web add link:D:/path/to/dsh-plugin-manager
安装后重启 dsh 生效,设置里出现「插件管理」。
使用
- 打开 设置 → 插件管理。
- 每个已安装插件有「禁用 / 启用」按钮。
- 改动写入
cordis.patch.yml,需重启 dsh 生效。
原理
DSH 的 profile 是层层 patch 组合的:bundle 层 → profile cordis.patch.yml → home 层。对同一行 id,后写的层覆盖先写的层。因此在 cordis.patch.yml 追加:
- id: <行id>
disabled: true
即可禁用 bundle 层插入的该插件行,而不触碰依赖与 bundles。移除该块即恢复默认(启用)。
Host 提供两个 HTTP 路由(GET /dsh-plugin-manager/installed、POST /dsh-plugin-manager/set-enabled),Client 通过 fetch 调用,与官方 dshmarket 同构。
目录结构
dsh-plugin-manager/
├── package.json # dsh bundle 声明(dsh.bundle.patch + dsh.client)
├── cordis.patch.yml # 插件自身的 bundle patch(insert 行 id: plugin-manager)
├── lib/index.js # Host:HTTP 路由 + 补丁层读写
└── client/client.js # Client:设置页「插件管理」UI
已知限制
- 禁用/启用需重启 dsh 才生效(补丁层在启动时组合)。
- 只有声明了
dsh.bundle.patch且含可识别行 id 的插件才能被禁用;纯 client-only(无 bundle patch)插件无法通过补丁层禁用。 - 不能禁用「插件管理」自身(防止把自己关掉)。
License
MIT
原始 README: https://github.com/yishengdaxiaonengjihui/dsh-plugin-manager/blob/main/README.md ↗
同类插件
查看全部 →
awesome-dsh-plugins
前部索引仓库(Radar):自动扫描发现的所有 dsh 插件候选;经测试合格的将移入后序精选目录仓库

DSH-Plugins-Marketplace
DSH插件市场 / DSH Plugin Marketplace: 在 DeepSeek Harness Web GUI 中一键浏览、安装与更新 GitHub topic:dsh-plugin 的全部插件 | browse, install & update all GitHub dsh-plugin plugins in the DSH Web GUI

zat-dsh-engine
DeepSeek Harness视觉插件市场——浏览、搜索和安装社区插件

dsh-market
装在 DSH 里的插件市场:设置页内逛/搜全部社区插件,按分类筛选,确认后一键安装,已装插件一目了然。

dsh-plugin-marketplace
DeepSeek Harness认证插件市场及自主注册库

deepseek-plugin-store
DeepSeek Harness 独立社区插件商店:发现、安装并提交经过验证的插件、工具与扩展。 | Independent community plugin directory.