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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案