feat(authority): migrate local graphs to server primary

This commit is contained in:
Youzini-afk
2026-04-28 03:02:43 +08:00
parent dc37d22dcf
commit 3f70d63a86
5 changed files with 715 additions and 42 deletions

View File

@@ -56,6 +56,7 @@ import {
createAuthorityBrowserState,
getAuthorityBrowserStateSnapshot,
normalizeAuthorityBrowserState,
recordAuthorityAcceptedRevision,
} from "../../sync/authority-browser-state.js";
const moduleDir = path.dirname(fileURLToPath(import.meta.url));
@@ -107,6 +108,7 @@ export function createGenerationRecallHarness(options = {}) {
createAuthorityBrowserState,
getAuthorityBrowserStateSnapshot,
normalizeAuthorityBrowserState,
recordAuthorityAcceptedRevision,
settings: {},
graphPersistenceState: createGraphPersistenceState(),
extension_settings: { [MODULE_NAME]: {} },