Implement background maintenance vector sync

This commit is contained in:
Youzini-afk
2026-04-29 14:51:51 +08:00
parent 2c4a82d11d
commit 69dc452120
6 changed files with 711 additions and 62 deletions

View File

@@ -206,6 +206,17 @@ export function createGraphPersistenceState() {
authorityDiagnosticsLastPruneError: "",
localStoreFormatVersion: 1,
localStoreMigrationState: "idle",
backgroundMaintenance: {
state: "idle",
queued: 0,
activeId: "",
activeName: "",
completed: 0,
failed: 0,
dropped: 0,
lastTask: null,
updatedAt: 0,
},
opfsWriteLockState: {
active: false,
queueDepth: 0,