diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-31 15:25:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-31 15:25:36 +0900 |
| commit | a1383a9304ff457d6671e12ded4265b135256004 (patch) | |
| tree | 49eead4bfea09d0877daff611844d4b50bba4c1d /docs | |
| parent | db60c5cc3e6dd2e51fce7dd946e477b3e125ba69 (diff) | |
| download | kioku-a1383a9304ff457d6671e12ded4265b135256004.tar.gz kioku-a1383a9304ff457d6671e12ded4265b135256004.tar.zst kioku-a1383a9304ff457d6671e12ded4265b135256004.zip | |
feat(crdt): add crdtChanges to sync push payload
Add CRDT document generation to the sync push flow. Each pending entity
is now converted to an Automerge CRDT document and included as base64-
encoded binary in the push payload alongside the existing entity data.
🤖 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.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 656b10d..d17ba41 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -23,7 +23,7 @@ Replace the current Last-Write-Wins (LWW) conflict resolution with Automerge CRD ### Phase 3: Modify Sync Protocol -- [ ] Modify `src/client/sync/push.ts` - Add crdtChanges to push payload +- [x] Modify `src/client/sync/push.ts` - Add crdtChanges to push payload - [ ] Modify `src/client/sync/pull.ts` - Handle crdtChanges in pull response - [ ] Modify `src/client/sync/conflict.ts` - Replace LWW with Automerge merge - [ ] Modify `src/client/sync/manager.ts` - Integrate CRDT sync flow |
