-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwrangler.toml
More file actions
80 lines (65 loc) · 2.44 KB
/
wrangler.toml
File metadata and controls
80 lines (65 loc) · 2.44 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
name = "packrift-mcp"
main = "src/index.ts"
compatibility_date = "2025-09-23"
[vars]
SHOPIFY_STORE_DOMAIN = "packrift.myshopify.com"
SHOPIFY_API_VERSION = "2025-04"
STOREFRONT_DOMAIN = "packrift.com"
INDEXNOW_ROOT_KEY = "5050e763abb8dafdc736a5971e107171"
AI_SALES_SKU_PAGE_TELEMETRY = "enabled"
# KV for catalog list cache (5-min TTL).
# Before first deploy: `wrangler kv namespace create CATALOG_CACHE` and paste the
# returned id below. For local `wrangler dev`, an in-memory KV is auto-created
# from the binding name regardless of id.
[[kv_namespaces]]
binding = "CATALOG_CACHE"
id = "c5aa45b19ebe4520b81ad219ba054443"
preview_id = "c5aa45b19ebe4520b81ad219ba054443"
# Custom domain route — live as of 2026-04-29
# Cert ID: e00b37b1-f812-410f-b127-98272edeb61c
# Configured via API: PUT /accounts/.../workers/domains
[[routes]]
pattern = "mcp.packrift.com"
custom_domain = true
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
# Root storefront raw-agent routes. The path-scoped routes are the preferred
# low-risk hooks. The broad route is a guarded fallback: src/index.ts serves
# only known agent files and passes normal packrift.com requests through to
# Shopify. These only execute after packrift.com traffic reaches Farhan's
# Cloudflare zone through a proxied/O2O DNS record.
[[routes]]
pattern = "packrift.com/llms.txt*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/llms-full.txt*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/agent.json*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/.well-known/agent.json*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/.well-known/mcp/server-card.json*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/.well-known/capability-card.json*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/agents.md*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/5050e763abb8dafdc736a5971e107171.txt*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/products/*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/pages/reorder-packaging-by-sku*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/pages/*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"
[[routes]]
pattern = "packrift.com/*"
zone_id = "5d812b06aa1f24d2e71c6647a05c8b6b"