Commit Graph

3 Commits

Author SHA1 Message Date
newbie d68840202e refactor(ui)!: rename settings-ui bundle to dsh-brain-ui with export alias 2026-11-25 12:37:37 +08:00
newbie 3ef7ffef6f feat(subplugins): split the plugin into five toggleable sub-plugin entries sharing one kernel
- cordis.patch.yml now inserts five rows (dsh-brain-cloudsync / -memory /
  -skills / -mcp / -settings-ui), each resolving to a package subpath
  export; the host Settings -> Plugins page toggles them per row id.
- src/kernel.ts: process-level singleton holding every service object;
  entries only register their own routes/tools/timers through ctx.effect,
  so disabling one row tears down exactly its slice. Settings persist in
  C:\Users\qyh15\.dsh/dsh-brain.json, so any row may seed the kernel.
- routes.ts: mcp flag gates the capability fragment; status payload and
  core routes (status/capabilities/config/migrate) are exported for the
  settings-ui entry; legacyAliases() lets each entry alias its own slice.
- src/entries/{cloudsync,memory,skills,mcp,settings-ui}.ts: per-bundle
  appliers. src/index.ts becomes the compat root that applies all five
  for older single-row profiles; /status reports which siblings are on.
- package.json: exports + ./cloudsync ./memory ./skills ./mcp
  ./settings-ui (lib/entries/*), version 0.9.11.
- verify-plugin-entry.mjs: per-entry route/tool slice checks plus
  active-bundle gating and the compat root.
2026-11-23 21:08:51 +08:00
QQ 8d79bbf499 更新 verify-plugin-entry.mjs 2026-11-12 00:03:32 +08:00