From ae5a0bb97fbf013417a6962f7e077f0408b2a951 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 7 Dec 2025 19:42:47 +0900 Subject: feat(client): add SyncManager for auto-sync on reconnect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implements SyncManager class that orchestrates the sync process: - Monitors online/offline network status - Triggers debounced sync when coming back online - Coordinates push, pull, and conflict resolution - Provides event subscription for sync status updates 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/client/sync/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/client/sync/index.ts') diff --git a/src/client/sync/index.ts b/src/client/sync/index.ts index 2472871..a602753 100644 --- a/src/client/sync/index.ts +++ b/src/client/sync/index.ts @@ -39,3 +39,12 @@ export { type ConflictResolutionResult, type ConflictResolverOptions, } from "./conflict"; + +export { + createSyncManager, + SyncManager, + type SyncManagerEvent, + type SyncManagerListener, + type SyncManagerOptions, + type SyncResult, +} from "./manager"; -- cgit v1.2.3-70-g09d2