From bf3c2a1851468a7e42d6b88c3ee355be9fb247d1 Mon Sep 17 00:00:00 2001 From: Youzini-afk <13153778771cx@gmail.com> Date: Thu, 26 Mar 2026 14:26:59 +0800 Subject: [PATCH] =?UTF-8?q?ui:=20=E5=A4=96=E9=83=A8=E6=9D=A5=E6=BA=90built?= =?UTF-8?q?in=E5=9D=97=E6=98=BE=E7=A4=BA=E5=8F=AA=E8=AF=BB=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=80=8C=E9=9D=9E=E7=BC=96=E8=BE=91=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- panel.js | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/panel.js b/panel.js index fd7682c..dba3682 100644 --- a/panel.js +++ b/panel.js @@ -2197,22 +2197,36 @@ function _renderTaskBlockEditor(state) { ${ block.type === "builtin" - ? ` + ? (() => { + const externalSourceMap = { + charDescription: "角色卡描述", + userPersona: "用户 Persona 设定", + worldInfoBefore: "World Info (↑ Char)", + worldInfoAfter: "World Info (↓ Char)", + }; + const externalLabel = externalSourceMap[block.sourceKey]; + return `