mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 14:20:35 +08:00
Fix stable CI regressions
This commit is contained in:
@@ -2552,7 +2552,10 @@ function buildResult(graph, selectedNodeIds, schema, meta = {}) {
|
||||
const selectedSet = new Set(uniqueNodeIds(selectedNodeIds));
|
||||
const scopeContext = meta.scopeContext || {};
|
||||
const compareForResult = compareNodeRecallOrderWithContext(graph, scopeContext);
|
||||
const summaryEntries = getActiveSummaryEntries(graph);
|
||||
const summaryEntries =
|
||||
typeof getActiveSummaryEntries === "function"
|
||||
? getActiveSummaryEntries(graph)
|
||||
: [];
|
||||
|
||||
// 常驻注入节点(alwaysInject=true 的类型)
|
||||
const alwaysInjectTypes = new Set(
|
||||
|
||||
@@ -79,10 +79,11 @@ const legacyGraph = deserializeGraph({
|
||||
edges: [],
|
||||
});
|
||||
assert.equal(legacyGraph.nodes[0]?.scope?.layer, "objective");
|
||||
assert.equal(legacyGraph.version, 8);
|
||||
assert.equal(legacyGraph.version, 9);
|
||||
assert.equal(legacyGraph.knowledgeState?.version, 1);
|
||||
assert.equal(legacyGraph.regionState?.version, 1);
|
||||
assert.equal(legacyGraph.timelineState?.version, 1);
|
||||
assert.equal(legacyGraph.summaryState?.version, 1);
|
||||
assert.equal(legacyGraph.historyState?.activeRegionSource, "");
|
||||
assert.equal(legacyGraph.historyState?.activeStorySegmentId, "");
|
||||
assert.equal(legacyGraph.historyState?.activeStoryTimeLabel, "");
|
||||
|
||||
Reference in New Issue
Block a user