输入中已有 <plot> 标签时跳过自动规划。
+仅支持英文标签(如 plot, note, memory)。留空表示不按标签过滤(仅去除 think)。无效标签会自动忽略。
+From 57e5e17c5aa5a565ed1503f1fd3326576347c5d9 Mon Sep 17 00:00:00 2001 From: Hao19911125 <99091644+Hao19911125@users.noreply.github.com> Date: Wed, 18 Feb 2026 22:09:33 +0800 Subject: [PATCH 01/33] Update story-summary.js --- modules/story-summary/story-summary.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/story-summary/story-summary.js b/modules/story-summary/story-summary.js index 4f95d0b..d5e3ec4 100644 --- a/modules/story-summary/story-summary.js +++ b/modules/story-summary/story-summary.js @@ -116,6 +116,7 @@ let events = null; let activeChatId = null; let vectorCancelled = false; let vectorAbortController = null; +let _lastBuiltPromptText = ""; // ═══════════════════════════════════════════════════════════════════════════ // TaskGuard — 互斥任务管理(summary / vector / anchor) @@ -1667,7 +1668,7 @@ async function handleGenerationStarted(type, _params, isDryRun) { const cfg = getSummaryPanelConfig(); const roleKey = cfg.trigger?.role || 'system'; const role = ROLE_MAP[roleKey] || extension_prompt_roles.SYSTEM; - + _lastBuiltPromptText = text; // 写入 extension_prompts extension_prompts[EXT_PROMPT_KEY] = { value: text, @@ -1781,3 +1782,6 @@ jQuery(() => { maybePreloadTokenizer(); }); +export function getStorySummaryForEna() { + return _lastBuiltPromptText; +} From e81abdac69aeeb6e5f53447b75b9414c5ea0811b Mon Sep 17 00:00:00 2001 From: Hao19911125 <99091644+Hao19911125@users.noreply.github.com> Date: Wed, 18 Feb 2026 22:13:10 +0800 Subject: [PATCH 02/33] Update settings.html --- settings.html | 513 +++++++++++++++++++++++++------------------------- 1 file changed, 260 insertions(+), 253 deletions(-) diff --git a/settings.html b/settings.html index 2e471de..d0096cc 100644 --- a/settings.html +++ b/settings.html @@ -1,237 +1,243 @@ -
${escapeHtml(reqDisplay)}
+ ${escapeHtml(String(log.rawReply ?? ''))}
+ ${escapeHtml(String(log.filteredReply ?? ''))}
+ ${escapeHtml(reqDisplay)}
+ ${escapeHtml(String(log.rawReply ?? ''))}
+ ${escapeHtml(String(log.filteredReply ?? ''))}
+ 输入中已有 <plot> 标签时跳过自动规划。
+仅支持英文标签(如 plot, note, memory)。留空表示不按标签过滤(仅去除 think)。无效标签会自动忽略。
+${escapeHtml(reqDisplay)}
- ${escapeHtml(String(log.rawReply ?? ''))}
- ${escapeHtml(String(log.filteredReply ?? ''))}
-