DeepSHPlugins
dsh-plugin-toggle 项目预览
GITHUB / COMMUNITY PROJECT

dsh-plugin-toggle

生态与开发JavaScriptMIT

设置插件开关面板:每个已加载插件的卡片显示简述与运行阶段,支持模糊搜索与运行时启动/关闭(不改写配置文件)。

5 StarsDamonKoy 更新时间 2026-08-15
访问 GitHub 仓库
dsh-plugin-toggle 项目预览

项目介绍

中文

设置插件开关面板:每个已加载插件的卡片显示简述与运行阶段,支持模糊搜索与运行时启动/关闭(不改写配置文件)。

English

Settings -> Plugins switchboard: every loaded plugin card shows its package description and runtime phase, with fuzzy search and start/stop toggles that never rewrite config files.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
DamonKoy
仓库
DamonKoy/dsh-plugin-toggle
GitHub Stars
5
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-15
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

67/ 100
维护活跃
81
文档与实用信息
85
生态关注度
22
安装便捷信号
100
项目声明信号
100

README 含完整安装与使用说明;关注度尚低(5);标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

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

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-plugin-toggle

English | 中文

A DeepSeek Harness (DSH) plugin switchboard for the web GUI.

Open Settings → Plugins → Plugin Switch. Every loaded plugin is a card with:

  • a short description (from that package's package.json description)
  • enabled / disabled + fiber phase (running / pending / failed / …)
  • Start / Stop (runtime only — does not rewrite cordis.yml)
  • fuzzy search (name / module / id / description; subsequence match)

Core / surface plugins (webserver, connection, session, agent, …) are marked Core and cannot be stopped from this UI, so the page cannot take itself down.

Install

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

Restart dsh web, then open Settings → Plugins → Plugin Switch.

Or add the repo as a profile dependency and include the bundle:

{
  "dependencies": {
    "dsh-plugin-toggle": "github:DamonKoy/dsh-plugin-toggle"
  },
  "dsh": {
    "profile": {
      "bundles": ["dsh-plugin-toggle"]
    }
  }
}

Then pnpm install in the profile directory and restart dsh web.

What you get

FeatureNotes
Plugin cardsTitle, entry id, description, enabled tag, phase
CategoriesGrouped sections (core / UI / theme / tools / fun / other), collapsible
SortingWithin a group: togglable plugins first, then by status (running first), then name
Fuzzy searchTokens match as substring or subsequence across fields incl. category
Start / Stopentry.update({ disabled }) — runtime only, no tree.write()
Core guardSurface/runtime entries cannot be stopped (id- and module-name-based); others need a two-step confirm
Usage historyEvery toggle is persisted to ~/.dsh/dsh-plugin-toggle.jsonl (last 1000), shown in a collapsible “使用记录” section
PersistenceInstalled as a composition plugin — survives dsh web restarts

HTTP API (same origin)

MethodPathRole
GET/plugin-toggle/list{ entries: [...] }
GET/plugin-toggle/logs{ records: [...] } (recent usage history, newest first)
POST/plugin-toggle/set{ entryId, enabled } → `{ ok, entry? \message? }`

POST is same-origin only.

Layout

dsh-plugin-toggle/
  lib/index.js          Host: list + set routes over the Cordis Loader
  client/client.js      Client: Settings tab (ModuleLoader factory)
  cordis.patch.yml      Bundle insert (`id: plugin-toggle`)

The client exports.inject is the service name slots (not a package name). Using package names here parks the client fiber forever.

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目