9c4333defb
injectWranglerConfig 的 self-hosted 分支原本只注 database_id / MULTI_TENANT, 漏了 KBDB_BASE_URL → cypher /kbdb/* 一律指向官方 arcrun-kbdb.uncle6-me, self-hosted 用戶資料默默寫進官方庫(隔離破損)。 比照既有注入模式,用 ctx.workerSubdomain 把 KBDB_BASE_URL 就地改寫成 arcrun-kbdb.<subdomain>.workers.dev。init 與 update 共用此注入點,一處修兩條路。 驗證:tsc --noEmit 通過;真實 cypher toml 注入 subdomain=leo21c → KBDB_BASE_URL = "https://arcrun-kbdb.leo21c.workers.dev"。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>