name = "arcrun-registry"
main = "src/index.ts"
compatibility_date = "2025-02-19"
compatibility_flags = ["nodejs_compat"]

# 2026-05-07：移除 WASM_BUCKET binding。R2 是 dead storage（cypher-executor 不從 R2 讀），
# 砍掉避免新 contributor 誤以為零件部署需要 wasm bytes。bucket arcrun-wasm 30 天後砍。
# SDD: matrix/arcrun/.agents/specs/component-registry-canon/design.md Phase 1.5

[[kv_namespaces]]
binding = "SUBMISSIONS_KV"
id = "d26ba96eb2e548b6af5e30bbb89a061b"

[[kv_namespaces]]
binding = "ANALYTICS_KV"
id = "a43b7997c8e54a34886c2995a853c720"

[ai]
binding = "AI"

[vars]
ENVIRONMENT = "production"

[[routes]]
pattern = "registry.arcrun.dev/*"
zone_name = "arcrun.dev"
