This release adds 3 notable features for engineering teams evaluating rollout.
Published 15d
LLM Frameworks
✓ No known CVEs patched
✓ No known CVEs patched in this version
Topics
ai
ai-memory
bun
encryption
local-first
mcp
+5 more
memory
open-protocol
privacy
sdk
typescript
Summary
AI summaryDeterministic CRDT merge added for Mneme state synchronization across any transport.
Full changelog
Highlights
The load-bearing wall of the differentiation per ARCHITECTURE.md §4. Two Mneme instances now converge to identical state via any transport implementing the SyncPeer interface.
import { Mneme } from '@mneme/sdk'
const alice = new Mneme({ path: '/path/to/alice.sqlite', ownerId: 'pedro' })
const bob = new Mneme({ path: '/path/to/bob.sqlite', ownerId: 'pedro' })
await alice.remember({ kind: 'fact', body: 'london resident' })
await bob.remember({ kind: 'preference', body: 'prefers concise reviews' })
const result = await alice.sync(bob.asPeer())
// → { pushed: 1, pulled: 1, merged: 0 }
- Deterministic CRDT merge on the tiny lifecycle envelope:
supersededBy→ latest targetcreatedAtwins (both replacements kept);expiresAt/forgetAt→ earliest wins (strictest constraint honoured). - Commutative, associative, idempotent. Re-running sync is a no-op.
- Transport-agnostic.
SyncPeeris three methods (catalog,fetch,push). v0.0.6 shipsInProcessSyncPeer; WebSocket / HTTP / hosted Cloud implement the same three methods in later versions and the engine doesn't change. - ADR 0008 captures the eight design choices — written before the code per CLAUDE.md operating procedure.
What's in the repo today
packages/protocolv0.0.1 — open spec typespackages/sdkv0.0.6 — encryption + recovery + signing + sync enginepackages/embedder-localv0.0.1 — on-device embeddingsapps/mcp-serverv0.0.1 — Claude Code-installable MCP servertests/conformancev0.0.1 — cross-implementation suitedocs/protocol/v0.1.md— public wire specdecisions/— 8 ADRs
What's deliberately deferred
- Multi-device pairing ceremony — v0.0.7 (ADR 0009)
- WebSocket transport for cross-machine sync — v0.0.7
- Hosted Mneme Cloud sync target (
apps/api) — v0.1.0 - Incremental sync (catalog cursor for > 10K records) — v0.0.7
- Signature verification at the sync boundary — v0.0.8+ when cross-key sync exists
Try it
git clone https://github.com/ppserapiao/mneme
cd mneme
bun install
bun test # 94 pass, 2 skip
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Mneme
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]