-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
executable file
·83 lines (67 loc) · 1.81 KB
/
Copy pathwrangler.toml
File metadata and controls
executable file
·83 lines (67 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name = "chittyreception"
main = "src/index.ts"
compatibility_date = "2024-01-01"
compatibility_flags = ["nodejs_compat"]
account_id = "0bc21e3a5a9de1a4cc843be9c3e98121"
# Build handled by pnpm in monorepo
# [build]
# command = "pnpm install && pnpm run build"
# Workers AI binding for orchestration
[ai]
binding = "AI"
# KV namespace for caching and session state
[[kv_namespaces]]
binding = "RECEPTION_KV"
id = "6b7dea65eb98484385bf6e7ff67775c8"
# Durable Object for call/message state management
[[durable_objects.bindings]]
name = "CALL_STATE"
class_name = "CallState"
script_name = "chittyreception"
[[migrations]]
tag = "v1"
new_classes = ["CallState"]
# Environment-specific configuration
[env.staging]
name = "chittyreception-staging"
vars = { ENVIRONMENT = "staging" }
workers_dev = true
routes = [
{ pattern = "reception-staging.chitty.cc/*", zone_name = "chitty.cc" }
]
[env.staging.ai]
binding = "AI"
[[env.staging.kv_namespaces]]
binding = "RECEPTION_KV"
id = "6b7dea65eb98484385bf6e7ff67775c8"
[[env.staging.durable_objects.bindings]]
name = "CALL_STATE"
class_name = "CallState"
script_name = "chittyreception-staging"
[env.production]
name = "chittyreception-production"
vars = { ENVIRONMENT = "production" }
routes = [
{ pattern = "reception.chitty.cc/*", zone_name = "chitty.cc" }
]
[env.production.ai]
binding = "AI"
[[env.production.kv_namespaces]]
binding = "RECEPTION_KV"
id = "6b7dea65eb98484385bf6e7ff67775c8"
[[env.production.durable_objects.bindings]]
name = "CALL_STATE"
class_name = "CallState"
script_name = "chittyreception-production"
[observability]
enabled = true
[observability.logs]
enabled = true
head_sampling_rate = 1
invocation_logs = true
destinations = ["chittytrack-logs"]
[observability.traces]
enabled = true
head_sampling_rate = 1
destinations = ["chittytrack-traces"]
persist = false