feat(sync): op-log sync protocol, client and axum server

Adds synapse-sync (protocol types, Remote transport and read API, SyncClient with
background loop, SSE realtime, resumable blobs) and synapse-server (multi-graph,
bearer auth, blob streaming, read API, authenticated update endpoint), with e2e
tests, docs/sync.md, docs/server.md, systemd unit and update script.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-21 04:25:00 +02:00
1 parent fbcfcf678f
commit 4aa3c01a7f
25 files changed
+4299 -10

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
//! Synapse sync: wire protocol (`protocol`), HTTP transport and thin-client read API
//! (`Remote`), and the replicating `SyncClient` with a background loop. See `docs/sync.md`.
mod client;
mod error;
pub mod protocol;
mod remote;
mod state;
pub use client::{BlobPolicy, SyncClient, SyncConfig, SyncHandle};
pub use error::{Error, Result};
pub use remote::{Remote, RemoteConfig};
pub use state::{Cursors, SyncState, SyncStatus};