From 0a59219a89273eff8195da3fdde650dfde986293 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 07:10:36 +0000 Subject: [PATCH 1/4] chore: bump manifest version [skip ci] --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index ae51ba8..649037b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,6 +6,6 @@ "js": "index.js", "css": "style.css", "author": "Youzini", - "version": "4.1.1", + "version": "4.1.2", "homePage": "https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology" } From 1a6bfd6c2efe0463e251e76719144934265ae0c6 Mon Sep 17 00:00:00 2001 From: Youzini-afk <13153778771cx@gmail.com> Date: Thu, 9 Apr 2026 15:17:01 +0800 Subject: [PATCH 2/4] Fix stable CI regressions --- retrieval/retriever.js | 5 ++++- tests/scoped-memory.mjs | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/retrieval/retriever.js b/retrieval/retriever.js index 5af1a98..023e2ea 100644 --- a/retrieval/retriever.js +++ b/retrieval/retriever.js @@ -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( diff --git a/tests/scoped-memory.mjs b/tests/scoped-memory.mjs index ab3108f..519dd50 100644 --- a/tests/scoped-memory.mjs +++ b/tests/scoped-memory.mjs @@ -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, ""); From 03a6dfaa96c306771d78cb5593e44fbcbf682a17 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 07:17:35 +0000 Subject: [PATCH 3/4] chore: bump manifest version [skip ci] --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 649037b..71a09d2 100644 --- a/manifest.json +++ b/manifest.json @@ -6,6 +6,6 @@ "js": "index.js", "css": "style.css", "author": "Youzini", - "version": "4.1.2", + "version": "4.1.3", "homePage": "https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology" } From fd9304f17cdad4c80a0da75fcc6cd76d3d3f6574 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 07:57:12 +0000 Subject: [PATCH 4/4] chore: bump manifest version [skip ci] --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 71a09d2..d41537a 100644 --- a/manifest.json +++ b/manifest.json @@ -6,6 +6,6 @@ "js": "index.js", "css": "style.css", "author": "Youzini", - "version": "4.1.3", + "version": "4.1.4", "homePage": "https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology" }