44b915554b
壓測 §7.2:seed 通了但 creds push/push/runtime 全卡「缺少 api_key」——
self-hosted init 從不發 api_key,但三條路徑都建在多租戶 {api_key}:cred 模型上。
richblack 拍板:self-hosted 不需祕密 api_key,只需 namespace(分區標籤):
- config:ENV_MAP 加 NAMESPACE/ENCRYPTION_KEY + .env 自動載入(無 dotenv 依賴)
- namespace 明碼用戶自填(.env NAMESPACE=leo),沿用 api_key 路徑 → 零分叉
- encryption_key 用戶 .env 自填(工具不生成不 hash),須與 worker secret 一致
- creds/push/init:缺值改引導設 .env,不再叫去 register
- runtime:cypher 加 POST /webhooks/named/:ns/:name/trigger(namespace 走 path,
公開表單免 header);與 header 路徑共用 triggerNamed,不分叉
- push:self-hosted 顯示 path-based 公開 webhook URL
誠實限制:namespace 明碼非密碼;防外部呼叫靠 webhook 保護(mindset §6)。
CLI 1.3.0 → 1.3.1。SDD: self-hosted-init.md §7.7。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
30 lines
1.6 KiB
Markdown
30 lines
1.6 KiB
Markdown
# arcrun CLI Changelog
|
||
|
||
> 由 `scripts/local-deploy.sh` 在 deploy 時自動維護(version bump + 此檔記錄)。
|
||
> 也可手動編輯補充細節。最新在最上。
|
||
|
||
## 1.3.1 — 2026-06-06
|
||
- self-hosted 身份改明碼 namespace(.env 的 NAMESPACE,工具不發 api_key)+ .env 自動載入
|
||
- creds push / push 缺值時引導設 .env NAMESPACE / ENCRYPTION_KEY(不再叫去 register)
|
||
- push 對 self-hosted 顯示 path-based 公開 webhook URL(免 header,公開表單可打)
|
||
- cypher 加 POST /webhooks/named/:ns/:name/trigger(namespace 走 path)
|
||
- 修壓測 §7.2:self-hosted init 不發 api_key 導致 creds push/push/runtime 全卡
|
||
|
||
## 1.3.0 — 2026-06-06
|
||
- MCP 搬進 arcrun/mcp/ + acr mcp-setup(依 config mcp_url 寫專案 .mcp.json,接案切資料夾自動切 MCP)
|
||
- config 加 mcp_url 三層解析(env ARCRUN_MCP_URL > 專案 > 全域)+ getMcpUrl()
|
||
- acr --version 改從 package.json 動態讀(不再 hardcode,避免漂移)
|
||
- seed 下沉成 API 行為(POST /init/seed);CLI init/update 改薄殼一次呼叫
|
||
- registry SUBMISSIONS_KV 補進 REQUIRED_KV_NAMESPACES(修 20/21)
|
||
|
||
## 1.2.0 — 2026-06-05
|
||
- self-hosted fork 阻斷四項修正:strip arcrun.dev routes / R2 / AI binding;移除 R2(不綁卡)
|
||
- init 非互動(--account-id/--api-token + CLOUDFLARE_* env)
|
||
- 多帳號/專案 scope:三層 config(env > 專案 .arcrun.yaml > 全域)+ acr config --where
|
||
|
||
## 1.1.0 — earlier
|
||
- auth recipe 系統:20 個服務預建;acr auth-recipe 指令
|
||
|
||
## 1.0.x — earlier
|
||
- 初始發布 → recipe / creds / push / parts / webhooks / config 分離等(見 arcrun.md CLI 版本表)
|