feat: deepen luker host integration

This commit is contained in:
Youzini-afk
2026-04-15 21:19:36 +08:00
parent 1251938fc6
commit 359a2a07b7
12 changed files with 1637 additions and 59 deletions

View File

@@ -52,10 +52,12 @@ export function createGraphPersistenceState() {
lastAcceptedRevision: 0,
acceptedStorageTier: "none",
hostProfile: "generic-st",
chatStateTarget: null,
primaryStorageTier: "indexeddb",
cacheStorageTier: "none",
cacheMirrorState: "idle",
cacheLag: 0,
lightweightHostMode: false,
persistDiagnosticTier: "none",
acceptedBy: "none",
lastRecoverableStorageTier: "none",
@@ -66,6 +68,24 @@ export function createGraphPersistenceState() {
lukerJournalDepth: 0,
lukerJournalBytes: 0,
lukerCheckpointRevision: 0,
projectionState: {
runtime: {
status: "idle",
updatedAt: 0,
reason: "",
},
persistent: {
status: "idle",
updatedAt: 0,
reason: "",
},
},
lastHookPhase: "",
lastRequestRescanReason: "",
lastIgnoredMutationEvent: "",
lastIgnoredMutationReason: "",
lastChatStateConflict: null,
lastBranchInheritResult: null,
restoreLock: {
active: false,
depth: 0,