DeepSeek Harness plugin

dsh-plugin-ctl

Web Settings plugin control: start/stop Cordis Loader plugins from a new 启停控制 tab under Settings → Plugins.

Jump to install

Source facts

Repository
LinscStef/dsh-plugin-ctl
Latest update
Aug 15, 2026
Category
Tools & Capabilities
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/LinscStef/dsh-plugin-ctl
Plugin: dsh-plugin-ctl
Author: LinscStef

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-ctl — DSH 插件启停控制

在 DeepSeek Harness Web 的「设置 → 插件」中新增一个 启停控制 标签页,让你可以直接点击启动 / 停止任意 Cordis Loader 插件(原生的「插件列表」标签页是只读的,只能查看)。

功能

  • 新增「启停控制」标签页(排在只读「插件列表」之后),列出所有非 group 的 Loader 条目
  • 每行显示:模块名、条目 ID、配置状态(已启用 / 已停用)、Cordis 状态(未挂载 / 等待依赖 / 加载中 / 已挂载 / 挂载失败 / 卸载中)
  • 「启动」一键启用并挂载;「停止」需二次点击确认,防止误停核心插件
  • 启停结果持久化到 Loader 配置,重启 DSH 后依然保持
  • 支持搜索、中英文界面跟随系统语言、操作错误内联提示

在其他 DSH 安装

前提:目标机器已安装 DSH(dsh 命令可用)与 pnpm

dsh plugin --profile web add git+https://github.com/LinscStef/dsh-plugin-ctl.git
  • --profile web 换成你的实际 profile 名(dsh plugin --profile <name> add ...
  • dsh plugin 会自动把带 dsh.bundle 声明的包并入 profile 的 bundles 层
  • 安装完成后重启 DSH,打开 设置 → 插件,即可看到「启停控制」标签页

> 如果 pnpm 提示 git 依赖需要允许 build scripts(allowBuilds):本包没有 prepare/build 脚本,忽略即可。

卸载

dsh plugin --profile web remove dsh-plugin-ctl

架构

文件作用
lib/index.jsHost 半侧:注册 POST /plugin-ctl/api,直接读写 ctx.loader(枚举 + tree.update(id, { disabled }) 启停并持久化)
lib/client.js浏览器半侧:在 settings.plugins.tab 注册 control 标签页,通过 fetch 调用 Host 路由
cordis.patch.ymlbundle patch 层:声明 plugin-ctl 条目(inject: [loader, webServer]

安全提示

列表包含核心系统插件(如 dsh-web-appdsh-base)。停用它们会当场卸载对应功能,因此「停止」统一有二次确认;/plugin-ctl/api 与其他本地插件一样使用未鉴权路由,仅面向本机 Web 界面。

License

MIT