DSH HUB
HomePlugin StoreRankingsPublish Guide
Plugin source
Back to catalog

tuogusa /

dsh-plugin-toggle

Verified

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

★ 1 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: master@1d081801

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

—/ 5

No ratings yet

Verified DSH bundle

Commit 1d081801b532

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

APIPublish GuideAbout