精选
为什么选中它
待人工精选——以下事实来自源码仓库。
它能做什么
DSH plugin switchboard: Settings tab with descriptions, fuzzy search, and runtime start/stop
适合谁
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
风险提示
- 未发现明显风险信号;安装前仍建议查看源码。
DSH plugin switchboard: Settings tab with descriptions, fuzzy search, and runtime start/stop
待人工精选——以下事实来自源码仓库。
DSH plugin switchboard: Settings tab with descriptions, fuzzy search, and runtime start/stop
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
dsh plugin --profile web add github:DamonKoy/dsh-plugin-toggle 作者没有声明支持的平台。
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 sh 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: json { "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 | Feature | Notes | |---|---| | Plugin cards | Title, entry id, description, enabled tag, phase | | Categories | Grouped sections (core / UI / theme / tools / fun / other), collapsible | | Sorting | Within a group: togglable plugins first, then by status (running first), then name | | Fuzzy search | Tokens match as substring or subsequence across fields incl. category | | Start / Stop | entry.update({ disabled }) — runtime only, no tree.write() | | Core guard | Surface/runtime entries cannot be stopped (id- and module-name-based); others need a two-step confirm | | Usage history | Every toggle is persisted to ~/.dsh/dsh-plugin-toggle.jsonl (last 1000), shown in a collapsible “使用记录” section | | Persistence | Installed as a composition plugin — survives dsh web restarts | ## HTTP API (same origin) | Method | Path | Role | |---|---|---| | 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不看 Star,人工一条条挑的。
把 DSH 的 settings.yaml 做成可视化看板:所有已注册的 settings namespace——包括官方界面从未覆盖的第三方插件配置——都渲染成可编辑表单。项目还早,但方向很对:告别手改 YAML。
给 DSH 的 DIY 轨迹可视化:把 agent 的计划与执行画成图,不用翻原始日志也能看清它在干嘛。项目还早,但补上了「一眼看懂 agent 在做什么」这个真实缺口。
从 Claude Code / Codex 把活派给 DSH:在宿主内拉起带分级预设的 DSH agent 会话,看原生子代理进度,还能借它的多模态桥给纯文本的 DSH 补上视觉和生图。编排型插件,把 DSH 变成其他编码 agent 的后端。