aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-31 16:20:40 +0900
committernsfisis <nsfisis@gmail.com>2025-12-31 16:20:40 +0900
commit26b6408c84bfcc46f3d470292688e4ffaf0265f2 (patch)
tree52160cdfab669ec0a20886e9f5bd9151f3eeebd3 /docs
parente4aeded6c105de6c8af6a931d5c24a659dcbd138 (diff)
downloadkioku-26b6408c84bfcc46f3d470292688e4ffaf0265f2.tar.gz
kioku-26b6408c84bfcc46f3d470292688e4ffaf0265f2.tar.zst
kioku-26b6408c84bfcc46f3d470292688e4ffaf0265f2.zip
feat(crdt): add server-side CRDT sync API handling
Add crdtChanges field to sync push/pull endpoints for CRDT document synchronization. The server now stores and retrieves CRDT binaries from the crdt_documents table, enabling conflict-free sync between clients. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/roadmap.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md
index 36e17e6..df4e695 100644
--- a/docs/dev/roadmap.md
+++ b/docs/dev/roadmap.md
@@ -33,8 +33,8 @@ Replace the current Last-Write-Wins (LWW) conflict resolution with Automerge CRD
- [x] Install server dependency: `@automerge/automerge`
- [x] Create `src/server/db/schema-crdt.ts` - CRDT document storage schema
- [x] Create database migration for crdt_documents table
-- [ ] Modify `src/server/routes/sync.ts` - Handle CRDT changes in API
-- [ ] Modify `src/server/repositories/sync.ts` - Store/merge CRDT documents
+- [x] Modify `src/server/routes/sync.ts` - Handle CRDT changes in API
+- [x] Modify `src/server/repositories/sync.ts` - Store/merge CRDT documents
### Phase 5: Migration