Commit Graph

4 Commits

Author SHA1 Message Date
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 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 89af1f4c7c fix: keep skill source state mutually exclusive 2026-11-12 19:04:40 +08:00
QQ 6ea210898e 更新 verify-sync-resolve.mjs 2026-11-12 00:03:46 +08:00