console rebrand Mira→Arcrun + CONSOLE_BRAND 可覆蓋(#21) #47
Reference in New Issue
Block a user
Delete Branch "rebrand-console-arcrun"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Arcrun#21 console rebrand:Mira → Arcrun
closes 由總管裁定,本 PR 不自 close #21。
改了什麼(全部只動用戶可見品牌字樣)
src/routes/console.ts<title>Mira Console→${brand} Console.brandMira→${brand}.brandMira→${brand}.logoMira→${brand}Mira 控制台→${brand} 控制台src/routes/console-dashboard.ts<title>Mira 駕駛艙→${brand} 駕駛艙.titleMira 駕駛艙→${brand} 駕駛艙src/types.tsCONSOLE_BRAND?: stringbrand = c.env.CONSOLE_BRAND || 'Arcrun'——console 是引擎共用件,預設中性品牌 Arcrun,不寫死產品名。實例可一行覆蓋:arcrun-rag demo 未來可在 install.sh 的 cypherwrangler dev加--var CONSOLE_BRAND:"Arcrun RAG"(部署版走 wrangler.toml [vars])。grep 殘餘(
grep -rn -i mira cypher-executor/src/)與不改原因console.ts:2/4/5/9/1471、console-dashboard.ts:119/458/539、credentials.ts:281、kbdb-proxy.ts:143/192、graph-executor.ts:256、component-loader.ts:163、console-dashboard-model.ts:204、auth-recipe-seeds.ts:570、console-triage-model.ts:19/27—— 全是程式註解(歷史脈絡),範圍紀律:註解不動。console-triage-model.ts:32mira80: 'ai'—— 契約識別字(issue 原文舊詞的同義映射 key),動了會破壞分流台資料相容。console.ts:1389fetch('/kbdb/search?q=mira...')—— vectorize 能力探測 query 字串,非 UI 字樣,動了無益且屬行為面。console-dashboard.ts:539CSS 註解會隨 HTML 出到 view-source,但非渲染 UI 字樣,照紀律不動。本機驗證(arcrun-rag demo,wrangler dev 8788 原參數重啟)
tsc --noEmitexit 0curl /console:<title>Arcrun Console、.brand/.logo皆 Arcrun;HTML 中mira僅剩探測 query 1 筆curl /console/dashboard:<title>Arcrun 駕駛艙、頁頭 Arcrun;Mira僅剩 CSS 註解 1 行/console/auth-status仍{"configured":false};/console、/console/dashboard200;kbdb/health{"ok":true}🤖 Generated with Claude Code
- console.ts:<title>/登入頁 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>