mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Merge main into pr-6-review with safe message trace resolution
This commit is contained in:
9
index.js
9
index.js
@@ -126,6 +126,7 @@ import {
|
||||
createDefaultTaskProfiles,
|
||||
migrateLegacyTaskProfiles,
|
||||
} from "./prompt-profiles.js";
|
||||
import { inspectTaskRegexReuse } from "./task-regex.js";
|
||||
import {
|
||||
applyRecallInjectionController,
|
||||
buildRecallRecentMessagesController,
|
||||
@@ -350,6 +351,9 @@ function readRuntimeDebugSnapshot() {
|
||||
taskPromptBuilds: {},
|
||||
taskLlmRequests: {},
|
||||
injections: {},
|
||||
messageTrace: {
|
||||
lastSentUserMessage: null,
|
||||
},
|
||||
maintenance: {
|
||||
lastAction: null,
|
||||
lastUndoResult: null,
|
||||
@@ -1206,6 +1210,9 @@ function clearRecallInputTracking() {
|
||||
pendingRecallSendIntent = createRecallInputRecord();
|
||||
lastRecallSentUserMessage = createRecallInputRecord();
|
||||
pendingHostGenerationInputSnapshot = createRecallInputRecord();
|
||||
recordMessageTraceSnapshot({
|
||||
lastSentUserMessage: null,
|
||||
});
|
||||
clearPlannerRecallHandoffsForChat("", { clearAll: true });
|
||||
}
|
||||
|
||||
@@ -9521,6 +9528,8 @@ async function onReembedDirect() {
|
||||
testMemoryLLM: onTestMemoryLLM,
|
||||
fetchMemoryLLMModels: onFetchMemoryLLMModels,
|
||||
fetchEmbeddingModels: onFetchEmbeddingModels,
|
||||
inspectTaskRegexReuse: (taskType) =>
|
||||
inspectTaskRegexReuse(getSettings(), taskType),
|
||||
applyCurrentHide: () => applyMessageHideNow("panel-manual-apply"),
|
||||
clearCurrentHide: () => clearAllHiddenMessages("panel-manual-clear"),
|
||||
rebuildVectorIndex: () => onRebuildVectorIndex(),
|
||||
|
||||
Reference in New Issue
Block a user