dsh-brain/lib
newbie 55a0e09df8 feat(skill-sync): port 0.9.9/0.9.10 auto-resolve and batch resolve onto the bundle seams
Re-implements the upstream features lost during the six-bundle rebase,
on top of the refactored SkillRepository/SkillSync seams:

- SkillRepositoryFile carries mtimeMs; walkSkillFiles collects it.
- DOWN pass: local drift and name collisions auto-resolve by content
  and modification time (identical bytes adopt the cloud identity; a
  clearly newer side wins, the losing local copy is backed up under
  C:\Users\qyh15\.dsh/.dsh-brain-backups/sync/); equal or missing timestamps
  stay human conflicts.
- UP pass: identical cloud bytes re-pin or adopt the revision without
  an upload; revision drift picks the newer side; a conflict flagged
  in the DOWN pass is not double-reported.
- resolveConflicts(action) resolves every current conflict with one
  keep_local/take_cloud action, collecting per-item failures.
- POST /dsh-brain/sync/resolve-all serves the batch over the routes
  bundle; verify-sync-resolve.mjs wires the second scenario through
  the repository seam like the first (SkillSync now requires it).
2026-11-23 20:48:42 +08:00
..
memory refactor(memory): extract the memory bundle behind MemoryRemoteFactory 2026-11-23 20:21:44 +08:00
mnemon refactor(memory): extract the memory bundle behind MemoryRemoteFactory 2026-11-23 20:21:44 +08:00
settings-ui refactor(settings-ui): extract the settings-ui bundle behind its own routes and page 2026-11-23 20:26:44 +08:00
skills feat(skill-sync): port 0.9.9/0.9.10 auto-resolve and batch resolve onto the bundle seams 2026-11-23 20:48:42 +08:00
api.js 更新 lib/api.js 2026-11-12 00:01:04 +08:00
brain-migration.js 更新 lib/brain-migration.js 2026-11-12 00:01:07 +08:00
clients.js refactor(skills): split the skill/cloud-sync seam behind SkillRepository and SkillSyncGate 2026-11-23 20:25:54 +08:00
cloudsync-routes.js feat(skill-sync): port 0.9.9/0.9.10 auto-resolve and batch resolve onto the bundle seams 2026-11-23 20:48:42 +08:00
cloudsync.js refactor(memory): extract the memory bundle behind MemoryRemoteFactory 2026-11-23 20:21:44 +08:00
config.js feat(config): split the master switch into activity/memory gates with legacy inheritance 2026-11-23 20:26:44 +08:00
context-types.js feat: dsh-cloud-memory 0.1.0 2026-10-31 17:53:17 +08:00
http.js refactor(routes): extract bundle route modules behind the root aggregator 2026-11-23 20:26:43 +08:00
index.js feat(config): split the master switch into activity/memory gates with legacy inheritance 2026-11-23 20:26:44 +08:00
market.js refactor(skills): split the skill/cloud-sync seam behind SkillRepository and SkillSyncGate 2026-11-23 20:25:54 +08:00
mcp.js refactor(mcp): extract the MCP bundle boundary (host seam + client banner) 2026-11-23 20:21:44 +08:00
reporter.js 更新 lib/reporter.js 2026-11-11 23:14:21 +08:00
routes.js refactor(settings-ui): extract the settings-ui bundle behind its own routes and page 2026-11-23 20:26:44 +08:00
skill-admin.js refactor(skills): split the skill/cloud-sync seam behind SkillRepository and SkillSyncGate 2026-11-23 20:25:54 +08:00
skill-groups.js 更新 lib/skill-groups.js 2026-11-12 09:23:34 +08:00
skill-page.js 更新 lib/skill-page.js 2026-11-12 00:01:47 +08:00
skill-sync.js feat(skill-sync): port 0.9.9/0.9.10 auto-resolve and batch resolve onto the bundle seams 2026-11-23 20:48:42 +08:00
skill-update.js refactor(skills): split the skill/cloud-sync seam behind SkillRepository and SkillSyncGate 2026-11-23 20:25:54 +08:00
store.js refactor(settings-ui): extract the settings-ui bundle behind its own routes and page 2026-11-23 20:26:44 +08:00
tools.js refactor(memory): extract the memory bundle behind MemoryRemoteFactory 2026-11-23 20:21:44 +08:00