v0.11.0 — Merge-based cloud sync
Merge-based cloud sync with conflict detection
Multiple agents can now sync to the same Turso cloud database without overwriting each other's memories.
How it works
- Auto-merge: memories with unique filenames are merged automatically from both sides
- Conflict detection: same filename with different content → local version kept, remote version saved to
~/.memfs/conflicts/for reconciliation - No false conflicts: a
last_pushtimestamp prevents your own pushes from echoing back as conflicts on subsequent syncs - Deduplication: duplicate filenames (from repeated writes) are resolved by keeping the most recently updated version
Workflow
- Agent A writes memories, runs
memfs sync - Agent B writes memories (including one with the same filename), runs
memfs sync - Agent B sees the conflict, reviews
~/.memfs/conflicts/, reconciles - Agent B runs
memfs syncagain — no conflict this time - Agent A runs
memfs sync— gets Agent B's unique memories auto-merged, sees conflict on the shared file
Full Changelog: v0.10.8...v0.11.0