From 6291eb5d1531d90dca0b5177c40afba2c08147a0 Mon Sep 17 00:00:00 2001 From: uncle6me-web Date: Mon, 13 Jul 2026 07:48:19 +0800 Subject: [PATCH] =?UTF-8?q?console=20rebrand=20Mira=E2=86=92Arcrun?= =?UTF-8?q?=EF=BC=88#21=EF=BC=89=EF=BC=9AUI=20=E5=93=81=E7=89=8C=E5=AD=97?= =?UTF-8?q?=E6=A8=A3=E6=94=B9=E4=B8=AD=E6=80=A7=E5=BC=95=E6=93=8E=E5=93=81?= =?UTF-8?q?=E7=89=8C=EF=BC=8CCONSOLE=5FBRAND=20=E5=8F=AF=E8=A6=86=E8=93=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - console.ts:/登入頁 brand/首次設定 brand/側欄 logo/駕駛艙頁頭 5 處 Mira → ${brand} - console-dashboard.ts:<title>/頁頭 2 處 Mira → ${brand} - types.ts:新增可選 CONSOLE_BRAND binding(預設 Arcrun;實例可設如 "Arcrun RAG") - 只動用戶可見字樣;變數名/路由/KV key/註解/探測 query(q=mira)不動 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --- cypher-executor/src/routes/console-dashboard.ts | 9 +++++---- cypher-executor/src/routes/console.ts | 15 ++++++++------- cypher-executor/src/types.ts | 4 ++++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/cypher-executor/src/routes/console-dashboard.ts b/cypher-executor/src/routes/console-dashboard.ts index 4a5034a..ef22ec6 100644 --- a/cypher-executor/src/routes/console-dashboard.ts +++ b/cypher-executor/src/routes/console-dashboard.ts @@ -522,13 +522,13 @@ consoleDashboardRouter.post('/console/triage-check', async (c) => { return c.json({ success: true, entry_id: entryId, action, status: action === 'restore' ? 'new' : 'done' }); }); -function renderDashboardHtml(): string { +function renderDashboardHtml(brand: string): string { return `<!doctype html> <html lang="zh-Hant"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"> -<title>Mira 駕駛艙 +${brand} 駕駛艙