DeepSeek Harness plugin

dsh-plugin-manager-yolotd

自定义插件管理:查看、开关、删除插件(含二次确认,支持热插拔)

Jump to install

Source facts

Repository
Yolotd/dsh-plugin-manager
Latest update
Aug 18, 2026
Category
Plugin Markets & Managers
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Yolotd/dsh-plugin-manager
Plugin: dsh-plugin-manager-yolotd
Author: Yolotd

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-plugin-manager 自定义插件管理

DSH Web 设置页内的「自定义插件」管理页:查看、启用/禁用、删除已安装插件(删除带二次确认),支持热插拔 —— 开关插件即时生效,无需重启服务

!topic !DSH

功能

  • 📋 插件列表:名称、来源徽标(自建/第三方)、中文简介
  • 🔘 一键启用/禁用:热插拔即时生效,服务不重启、不崩溃
  • 🗑️ 删除插件(二次确认):pnpm remove + 清理 manifest + 从运行中的 loader 树移除
  • 🎛️ 操作后自动轮询刷新列表;关闭管理器自身需二次确认

安装

方式一:DSH Web 插件市场(推荐)

在 DSH Web 的插件市场(如 dsh-plugin-hub / DSH-Plugins-Marketplace,按 GitHub dsh-plugin topic 收录)中搜索 dsh-plugin-manager自定义插件管理,一键安装,重启 DSH 后生效。

方式二:命令行

# 在你的 web profile 中安装
dsh plugin --profile web add git+https://github.com/Yolotd/dsh-plugin-manager.git
# 重启 DSH

方式三:手动

1. 克隆或下载本仓库; 2. 把整个 dsh-plugin-manager 文件夹复制到 ~/.dsh/profiles/web/node_modules/dsh-plugin-manager/; 3. 编辑 ~/.dsh/profiles/web/package.json,在 dependencies"dsh-plugin-manager": "file:./node_modules/dsh-plugin-manager"; 4. 重启 dsh web

安装后:打开 设置 → 自定义插件 即可管理插件。

使用

操作说明
启用/禁用点击开关;热插拔即时生效,无需重启(自身除外,需二次确认)
删除点击删除 → 确认删除?→ 移除依赖声明与运行条目
刷新手动重新拉取列表

工作原理

  • Host 半lib/index.js):提供 /manager/* HTTP 路由;启用/禁用/删除通过 cordis loader 热插拔ctx.loader.create / update(disabled) / remove)即时生效,manifest(dsh.profile.bundles / dependencies)负责跨重启持久化。
  • Client 半lib/client.js):注册官方 settings.section 槽位(与 dsh-at-file 等第三方插件一致),导航/选中高亮/内容切换由官方设置面板管理。

> 注:早期版本曾在操作后 process.exit(42) 软重启,会直接杀死单进程部署的 DSH 服务;现改为 loader 热插拔,进程永不退出。

接口

| 接口 | 说明 | | --- | --- | | GET /manager/plugins | 插件列表(名称/来源/启用态/中文描述) | | POST /manager/plugins/<name>/toggle {"enable":true\|false} | 启用/禁用 | | POST /manager/plugins/<name>/remove | 删除插件 |

开发

git clone https://github.com/Yolotd/dsh-plugin-manager.git
# 修改后复制 lib/ 到 ~/.dsh/profiles/web/node_modules/dsh-plugin-manager/lib/ 并重启 DSH

许可证

MIT