-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.jsonc
More file actions
57 lines (57 loc) · 1.3 KB
/
Copy pathwrangler.jsonc
File metadata and controls
57 lines (57 loc) · 1.3 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
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "triage-agent",
"main": "src/index.ts",
"compatibility_date": "2026-04-23",
"compatibility_flags": [
"nodejs_compat"
],
"d1_databases": [
{
"binding": "DB",
"database_name": "triage-agent-db",
"database_id": "639b0de2-188a-4265-9501-933c44a1d7fc",
"migrations_dir": "migrations"
}
],
"ai": {
"binding": "AI"
},
"r2_buckets": [
{
"binding": "ARCHIVE",
"bucket_name": "triage-agent-archive"
},
{
"binding": "KNOWLEDGE_CACHE",
"bucket_name": "triage-knowledge-cache"
}
],
"triggers": {
"crons": [
"*/5 * * * *", // Process timers every 5 minutes (responsive auto-drafts)
"0 */4 * * *", // Stale chat alerts every 4 hours (matches 4h threshold)
"0 16 * * *", // 8 AM PST (16:00 UTC) - Morning summary
"0 0 * * *", // 4 PM PST (00:00 UTC next day) - Evening summary + daily rollup
"0 3 * * 7" // Weekly counter reconciliation (Sunday 3 AM UTC)
]
},
"observability": {
"enabled": true,
"head_sampling_rate": 1,
"logs": {
"enabled": true,
"head_sampling_rate": 1,
"persist": true,
"invocation_logs": true
},
"traces": {
"enabled": true,
"persist": true,
"head_sampling_rate": 1
},
"source_maps": {
"enabled": true
}
}
}