Commit Graph

25 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
newbie 9f5daaf266 feat(config): split the master switch into activity/memory gates with legacy inheritance 2026-11-23 20:26:44 +08:00
newbie 19eb15b231 refactor(skills): split the skill/cloud-sync seam behind SkillRepository and SkillSyncGate
The skill bundle now owns the directory format helpers (skills/shared.ts), the local skill file store (skills/repository.ts) and publishes the SkillRepository/SkillSyncGate contracts; the sync engine keeps the cloud protocol, sidecar state and conflict policy, touching the disk only through the repository. Format helpers stay re-exported from skill-sync.ts so existing import sites keep working.
2026-11-23 20:25:54 +08:00
newbie e1035358ab refactor(memory): extract the memory bundle behind MemoryRemoteFactory 2026-11-23 20:21:44 +08:00
newbie d2bd955aa9 feat(skills): batch resolve all sync conflicts (0.9.10)
Adds POST /dsh-brain/sync/resolve-all {action: keep_local|take_cloud} and 全部保留本地 / 全部采用云端 buttons with an inline confirmation step. Partial failures are reported per item (resolved / failed lists) instead of aborting the batch; per-item resolution stays available.
2026-11-14 16:05:09 +08:00
newbie dbf39339c2 feat(skills): auto-resolve sync conflicts by content and newer timestamp (0.9.9)
Same-name skills no longer always stop for a human: identical bytes adopt the delivery marker in place, differing bytes compare local file mtime with the center updated_at and the newer side wins (cloud overwrite backs the local folder up first). Equal or missing timestamps, unsupported upload layouts and script-review flags still surface as per-item conflicts, so there is no batch action.
2026-11-14 14:24:36 +08:00
newbie 881f822c69 refactor(mcp): skeleton connection rows with details toggle, collapse the two heavy sections (0.9.8) 2026-11-13 11:50:17 +08:00
newbie d9339a9094 feat(skills,mcp): searchable import panel with batch import; compact MCP toolbar with contextual batch actions (0.9.7) 2026-11-13 11:33:27 +08:00
newbie f64d96f5e4 feat(mcp): drop the embedded MCP marketplace panel (host catalog answers 405) (0.9.6) 2026-11-13 11:17:38 +08:00
newbie 4579dad251 feat(mcp): searchable connection list with filters, select-all and batch actions (0.9.5) 2026-11-13 11:11:20 +08:00
newbie ac1e415208 feat(skills): category picker with live search, select-all-matched, select-all and clear (0.9.4) 2026-11-13 10:36:38 +08:00
newbie 3d23769899 feat(skills): add search filter and select-all in category + assignment picker (0.9.3) 2026-11-13 10:02:54 +08:00
newbie 03e78d95d8 fix(skills): render category + assign picker inline & collapse import section into button (0.9.2) 2026-11-13 09:45:08 +08:00
QQ 1e333a12a9 更新 lib/index.js 2026-11-12 09:23:16 +08:00
QQ 1fab2196a1 更新 lib/index.js 2026-11-12 00:55:01 +08:00
QQ e0aa005e58 更新 lib/index.js 2026-11-12 00:01:17 +08:00
QQ 0438ac1a62 更新 lib/index.js 2026-11-11 23:28:57 +08:00
QQ f48cb70ea1 更新 lib/index.js 2026-11-11 23:13:56 +08:00
QQ 8160877400 更新 lib/index.js 2026-11-11 11:33:30 +08:00
QQ 78db0a696d 更新 lib/index.js 2026-11-11 11:07:13 +08:00
QQ 00ddf1b966 更新 lib/index.js 2026-11-11 10:51:15 +08:00
QQ 2eda13473c 更新 lib/index.js 2026-11-11 09:56:18 +08:00
newbieQQ 029de8acc3 feat: 0.1.1 — stage turn summaries as pending proposals
- client: POST /activity/summary plus probeSummary token check
- reporter: opt-in summary submission after completed turns (1k-16k char cap)
- settings page: summary toggle, char limit and summary:write token field
- store/config/routes plumbing for summary state and token
- add verify-reporter.mjs helper
2026-11-08 23:54:40 +08:00
邱奕涵 c9fa9efb47 feat: dsh-cloud-memory 0.1.0 2026-10-31 17:53:17 +08:00