sync
diapason.succes.sync
¶
Secure, local-first replication for the native Succès workspace.
The transport is deliberately separate from the data model: the Mac keeps working offline, every mutation remains in the immutable operation log, and a paired client exchanges batches using cursors. Pairing and peer credentials are stored only as SHA-256 hashes.
SuccesSyncStore
¶
Bases: SuccesPhotosStore
Continuity store extended with authenticated operation replication.
apply_inbound_operations(operations)
¶
Apply a trusted exchange bundle locally (guest side, no peer row).
join_remote(pairing_token, *, relay_url=None, device_name='')
¶
Redeem a host invitation through the configured (or provided) relay.
run_exchange()
¶
Push local ops and pull host ops through the configured relay (guest).