mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
fix: normal 模式正确解析最新 user 楼层以持久化 Recall Card;关闭渲染后 MutationObserver 风暴
Made-with: Cursor
This commit is contained in:
5
index.js
5
index.js
@@ -2848,8 +2848,9 @@ function schedulePersistedRecallMessageUiRefresh(delayMs = 0) {
|
||||
summary.status === "missing_message_anchor") &&
|
||||
attemptIndex < retryDelays.length - 1;
|
||||
|
||||
const shouldWatchForRepaint =
|
||||
summary.status === "rendered" && summary.renderedCount > 0;
|
||||
// 勿在「已成功渲染」时长期挂 MutationObserver:#chat 上 class/流式更新会疯狂触发
|
||||
// runAttempt,造成满屏刷新与日志;显式事件(USER_MESSAGE_RENDERED 等)仍会 schedule 刷新。
|
||||
const shouldWatchForRepaint = false;
|
||||
|
||||
if (!shouldRetryForPending && !shouldWatchForRepaint) {
|
||||
clearPersistedRecallMessageUiObserver();
|
||||
|
||||
Reference in New Issue
Block a user