mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 14:20:35 +08:00
feat(authority): add server-primary capability probe
This commit is contained in:
@@ -96,6 +96,51 @@ export function createGraphPersistenceState() {
|
||||
storagePrimary: "indexeddb",
|
||||
storageMode: "indexeddb",
|
||||
resolvedLocalStore: "indexeddb:indexeddb",
|
||||
authority: {
|
||||
enabledMode: "auto",
|
||||
baseUrl: "/api/plugins/authority",
|
||||
installed: false,
|
||||
healthy: false,
|
||||
sessionReady: false,
|
||||
permissionReady: false,
|
||||
minimumFeatureSetReady: false,
|
||||
serverPrimaryReady: false,
|
||||
storagePrimaryReady: false,
|
||||
triviumPrimaryReady: false,
|
||||
jobsReady: false,
|
||||
blobReady: false,
|
||||
features: [],
|
||||
missingFeatures: [],
|
||||
reason: "not-probed",
|
||||
lastError: "",
|
||||
endpoint: "",
|
||||
status: 0,
|
||||
latencyMs: 0,
|
||||
lastProbeAt: 0,
|
||||
updatedAt: "",
|
||||
},
|
||||
authorityBrowserState: {
|
||||
mode: "minimal",
|
||||
serverRevision: 0,
|
||||
serverIntegrity: "",
|
||||
lastProbeAt: 0,
|
||||
lastCommitAt: 0,
|
||||
lastError: "",
|
||||
offlineQueueBytes: 0,
|
||||
offlineQueueItems: 0,
|
||||
offlineQueueOverflow: false,
|
||||
offlineQueueOverflowReason: "",
|
||||
updatedAt: "",
|
||||
},
|
||||
authorityInstalled: false,
|
||||
authorityHealthy: false,
|
||||
authorityServerPrimaryReady: false,
|
||||
authorityStoragePrimaryReady: false,
|
||||
authorityTriviumPrimaryReady: false,
|
||||
authorityBrowserCacheMode: "minimal",
|
||||
authorityOfflineQueueBytes: 0,
|
||||
authorityOfflineQueueItems: 0,
|
||||
authorityDegradedReason: "",
|
||||
localStoreFormatVersion: 1,
|
||||
localStoreMigrationState: "idle",
|
||||
opfsWriteLockState: {
|
||||
|
||||
Reference in New Issue
Block a user