mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
refactor: move manual rebuild flow into ui actions controller
This commit is contained in:
@@ -4,6 +4,7 @@ import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import vm from "node:vm";
|
||||
import { onManualExtractController } from "../extraction-controller.js";
|
||||
import { onRebuildController } from "../ui-actions-controller.js";
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const indexPath = path.resolve(__dirname, "../index.js");
|
||||
@@ -240,6 +241,7 @@ async function testManualRebuildSetsTerminalRuntimeStatus() {
|
||||
},
|
||||
saveGraphToChat() {},
|
||||
restoreRuntimeUiState() {},
|
||||
onRebuildController,
|
||||
result: null,
|
||||
};
|
||||
vm.createContext(context);
|
||||
|
||||
Reference in New Issue
Block a user