mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
feat: promote opfs v2 as default local store
This commit is contained in:
@@ -332,6 +332,12 @@ function buildCommittedBatchPersistSnapshot(
|
||||
}
|
||||
|
||||
return {
|
||||
persistDelta:
|
||||
typeof runtime.buildPersistDelta === "function"
|
||||
? runtime.buildPersistDelta(beforeSnapshot, committedGraphSnapshot, {
|
||||
useNativeDelta: false,
|
||||
})
|
||||
: null,
|
||||
persistGraphSnapshot: committedGraphSnapshot,
|
||||
committedBatchJournalEntry,
|
||||
afterSnapshot,
|
||||
@@ -633,6 +639,7 @@ export async function executeExtractionBatchController(
|
||||
reason: "extraction-batch-complete",
|
||||
lastProcessedAssistantFloor: endIdx,
|
||||
graphSnapshot: committedPersistState.persistGraphSnapshot,
|
||||
persistDelta: committedPersistState.persistDelta,
|
||||
});
|
||||
const persistence = normalizePersistenceStateRecord(persistResult);
|
||||
batchStatusRef.persistence = persistence;
|
||||
|
||||
Reference in New Issue
Block a user