{
  "_readme": [
    "部署目標定義檔（leo 2026-07-22 立）。一個目標＝一組『帳號＋profile＋apiBase＋專案名』。",
    "",
    "為什麼要這個檔：5a16484 把 UI 搬 CF Pages 後，這些值從 worker 環境變數變成 build 期參數。",
    "誰部署誰要記得帶 → 帶漏了就退回預設，而預設值對兩邊都不對。今天實際踩到的：",
    "  · demo 站漏 CONSOLE_PROFILE=rag  → 顯示個人版 7 頁駕駛艙（leo 看到『Mira 介面』的真因）",
    "  · 兩站都漏 ARCRUN_API_BASE       → apiBase 空字串 → 前端打自己回 405 → 登不進去",
    "  · 兩個帳號有同名 arcrun-console-ui 專案，wrangler 又登入在 uncle6",
    "    → 不指定帳號直接 deploy 會部到 demo 站上（差點蓋掉）",
    "",
    "版本差異（leo 2026-07-22 定調）：頁面都存在，由 profile 決定顯示哪些。",
    "  personal(full)   個人版：7 頁全開，落地駕駛艙",
    "  enterprise(rag)  企業版：只留 搜尋/工作流/設定/card，落地搜尋頁",
    "  未來擴充：個人版新用戶上限 1、知識庫權限不可用 → 加在對應目標的欄位裡，別再散進部署指令。",
    "",
    "用法：npm run deploy:personal / npm run deploy:enterprise"
  ],

  "personal": {
    "description": "leo 私人實例（原 Mira）。入口 mira.uncle6.me → leo21c worker。",
    "accountId": "51a01bfa2665bd7bc3fd080dc40cf3e1",
    "projectName": "arcrun-console-ui",
    "profile": "full",
    "brand": "Arcrun",
    "apiBase": "https://arcrun-cypher-executor.leo21c.workers.dev",
    "limits": {
      "maxUsers": 1,
      "libraryPermissions": false
    }
  },

  "enterprise": {
    "description": "企業版 demo 站。rag-demo.arcrun.dev → uncle6 帳號 cypher。",
    "accountId": "58309bb90fd93ad6d0fe0aae99170e9d",
    "projectName": "arcrun-console-ui",
    "profile": "rag",
    "brand": "Arcrun",
    "apiBase": "https://cypher.arcrun.dev",
    "limits": {
      "maxUsers": null,
      "libraryPermissions": true
    }
  }
}
