tuogusa/dsh-plugin-toggle ↗★ 0

dsh-plugin-toggle

插件开关/删除管理器:设置→插件列表,运行时启停 loader 条目并持久化到 cordis.patch.yml(host + client 一体包) 核心用途是提供可视化的插件管理界面,支持免重启即时启用、停用或删除插件。适合安装了较多插件、需要频繁管理和调试插件的 Web 端用户。

Package
dsh-plugin-toggle
Compatibility
Unverified
Version
0.2.0
License
MIT
Last updated
Aug 14, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

dsh-plugin-toggle

DeepSeek Harness (DSH) 插件开关/删除管理器(host + client 一体包)。

功能

  • 设置 → 插件 → 插件列表:列出当前 profile 已加载的全部插件
  • 一键启用/停用(运行时即时生效,并持久化到 cordis.patch.yml)
  • 删除已停用的用户插件(从 profile 依赖与配置中移除)
  • 支持 bundle 整组开关/删除(识别 dsh.bundle.patch 声明的整组插件)

安装

dsh plugin --profile web add github:tuogusa/dsh-plugin-toggle

兼容 Profile:web(DSH Web GUI)。

然后按 dsh 引导添加 pnpm-workspace.yaml 的 allowBuilds 条目(git 依赖的 prepare 脚本需要放行),重启 DSH 并 Ctrl+Shift+R 刷新浏览器。

结构

  • lib/index.js — 主机侧:/api/plugin-toggle、/api/plugin-delete、/api/plugin-bundles
  • lib/client.js — 浏览器侧:设置 → 插件 → 插件列表标签页(settings.plugins.tab 分区)

安全

  • 端点仅接受 loopback 或受信 Host 的请求
  • 核心组件(PROTECTED 名单)拒绝开关/删除
  • 仅「已停用」的插件可删除;内置(@deepseek-ai/*)插件只能停用

License

MIT