chore: 安裝契約 — scripts/install.sh + .dev.vars 整合測試慣例

KBDB_BASE_URL 由安裝時的 AI 自動填(查 CF subdomain 拼基本盤 URL),不寫死 toml、不叫人填。
- scripts/install.sh:whoami → 查 subdomain → wrangler secret put → wrangler deploy
- .dev.vars.example:整合測試本地基本盤慣例(.dev.vars 已 gitignore)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-14 21:19:44 +08:00
parent efe8e165cf
commit 3fa5cda796
4 changed files with 133 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
# 整合測試用 — 複製成 .dev.vars(已 gitignore,不進版控)。
# 先在另一個終端起本地基本盤:cd ../arcrun/kbdb && wrangler dev
# 單元測試(tests/*.test.ts 走 mock-client)不需要這個。
KBDB_BASE_URL=http://localhost:8787