aorucshiea/dsh-plugin-toggle 预览 preview

aorucshiea/dsh-plugin-toggle

Hot-plug enable/disable switches for installed DSH plugins

项目介绍Project Overview

这是一个 DSH 插件,为已安装的 DeepSeek Harness 插件提供热插拔启用/禁用开关,无需重启 DSH;可在 Web UI 插件列表中查看插件说明并实时切换,核心插件受保护不可禁用,还会自动隐藏被禁用预设插件的下拉项。适用于想临时开关插件、调试插件组合时使用。注意:它启动时会补丁官方客户端/宿主文件,虽幂等且可恢复异常状态,但仍属于对官方文件的运行时修改。

This is a DSH plugin that adds hot-plug enable/disable switches for installed DeepSeek Harness plugins without restarting DSH. It lists plugins with descriptions in the Web UI, toggles them live, protects core plugins from being disabled, and auto-hides the preset dropdown when the preset plugin is off. Use it when you need to temporarily switch plugins or test plugin combinations. Caveat: it patches official client/host files at startup; the patches are idempotent and can recover broken targets, but they still modify official files at runtime.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

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

aorucshiea/dsh-plugin-toggle 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-plugin-toggle

Hot-plug enable/disable switches for installed DeepSeek Harness plugins, without restarting DSH.

Plugin list with descriptions and hot-plug switches

Features

  • List installed plugins with descriptions.
  • Enable / disable plugins live.
  • Protect core plugins (CORE_DENYLIST) from being disabled.
  • Auto-applies patches to official plugin inventory UI on startup.
  • The session-header preset dropdown now auto-hides when dsh-preset-switch is disabled (polling every 5s + on window focus, no manual refresh needed).
  • Works in the DSH Web UI Plugin list.

Install

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

Usage

  • Open DSH Web UI → Settings → Plugins.
  • Use the Disable / Enable buttons.
  • Core plugins are marked Protected.

Notes

  • This plugin patches official client/host files at startup. It is idempotent and restores safe behavior when the target official files are in a broken state.
  • No API keys or credentials are stored in this repository.

License

MIT

上一个 Prev dsh-musage 下一个 Next dsh-llm-retry-settings