aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/dev
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-31 15:52:48 +0900
committernsfisis <nsfisis@gmail.com>2025-12-31 15:52:48 +0900
commit2ded1df457fd769323d48af08b9dd68da4aeb820 (patch)
treee9f1809f9aedc79074fa0f3785150f0cd0cdfba0 /docs/dev
parent3810450c20326998aef17c0acfcd5893e7b3ca20 (diff)
downloadkioku-2ded1df457fd769323d48af08b9dd68da4aeb820.tar.gz
kioku-2ded1df457fd769323d48af08b9dd68da4aeb820.tar.zst
kioku-2ded1df457fd769323d48af08b9dd68da4aeb820.zip
feat(crdt): integrate CRDT sync flow into sync manager
- Store CRDT document binaries after successful push operations - Update CRDT sync metadata (lastSyncAt, syncVersionWatermark) after sync - Add getCrdtSyncStats(), clearCrdtState(), hasCrdtDocument() methods - Add crdt_documents_stored event and crdtDocumentsStored to SyncResult - Include all entity types in conflict resolution count 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/roadmap.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md
index d2a4d3b..51d65c8 100644
--- a/docs/dev/roadmap.md
+++ b/docs/dev/roadmap.md
@@ -26,7 +26,7 @@ Replace the current Last-Write-Wins (LWW) conflict resolution with Automerge CRD
- [x] Modify `src/client/sync/push.ts` - Add crdtChanges to push payload
- [x] Modify `src/client/sync/pull.ts` - Handle crdtChanges in pull response
- [x] Modify `src/client/sync/conflict.ts` - Replace LWW with Automerge merge
-- [ ] Modify `src/client/sync/manager.ts` - Integrate CRDT sync flow
+- [x] Modify `src/client/sync/manager.ts` - Integrate CRDT sync flow
### Phase 4: Server-Side CRDT Support