diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-31 15:06:25 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-31 15:06:25 +0900 |
| commit | 2e21859626e69d992d4dff21338487d372097cb0 (patch) | |
| tree | 9f84a36729701d542f3e430694bb64b402fe3da1 /docs | |
| parent | d463fd3339c791bf999873ea37d320d56319d7d4 (diff) | |
| download | kioku-2e21859626e69d992d4dff21338487d372097cb0.tar.gz kioku-2e21859626e69d992d4dff21338487d372097cb0.tar.zst kioku-2e21859626e69d992d4dff21338487d372097cb0.zip | |
feat(crdt): add Automerge document lifecycle management
Implement document-manager.ts with core CRDT operations:
- Document creation, update, merge, save/load functions
- Conversion functions between local entities and CRDT documents
- Actor ID management for client identification
- Conflict detection utilities
Completes Phase 1 of CRDT implementation.
🤖 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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 7eb417b..41697a9 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -13,8 +13,8 @@ Replace the current Last-Write-Wins (LWW) conflict resolution with Automerge CRD - [x] Install dependencies: `@automerge/automerge`, `@automerge/automerge-repo`, `@automerge/automerge-repo-storage-indexeddb` - [x] Create `src/client/sync/crdt/types.ts` - Automerge document type definitions -- [ ] Create `src/client/sync/crdt/document-manager.ts` - Automerge document lifecycle management -- [ ] Create `src/client/sync/crdt/index.ts` - Module exports +- [x] Create `src/client/sync/crdt/document-manager.ts` - Automerge document lifecycle management +- [x] Create `src/client/sync/crdt/index.ts` - Module exports ### Phase 2: Create CRDT Repository Layer |
