{ // KV namespace id is filled in plan 03 task 1 after `npx wrangler kv namespace create chat_sessions` "name": "araharah-bot", "main": "src/webhook.ts", "compatibility_date": "2026-10-22", // workers_dev: serve on the ..workers.dev URL — the WEBHOOK_URL // target for this phase (Phase 3's custom route/domain may supersede) "workers_dev": true, // Workers static assets binding (D-13, D-14): serves ../web/dist. The // Worker fetch still owns /api/* and /telegram/* first via // run_worker_first (a GLOB ARRAY, not a boolean). "assets": { "directory": "../web/dist", "binding": "ASSETS", "not_found_handling": "none" }, "run_worker_first": ["/api/*", "/telegram/*"], "kv_namespaces": [{ "binding": "chat_sessions", "id": "59f58a54bc44483e89872b20a005a5eb" }] }