-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml.example
More file actions
32 lines (26 loc) · 1.11 KB
/
Copy pathwrangler.toml.example
File metadata and controls
32 lines (26 loc) · 1.11 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
# Copy this file to wrangler.toml and fill in your own values.
# wrangler.toml (the real one) is gitignored — never commit account IDs, KV
# namespace IDs, or routes tied to your deployment.
name = "context-kernel"
main = "src/worker.ts"
compatibility_date = "2024-11-01"
compatibility_flags = ["nodejs_compat"] # required: the `agents`/MCP SDK deps need Node builtins
# account_id = "your-cloudflare-account-id"
# Optional: route this Worker under your own domain instead of *.workers.dev.
# [[routes]]
# pattern = "context.example.com/*"
# zone_name = "example.com"
[[kv_namespaces]]
binding = "CONTEXT_KV"
id = "REPLACE_WITH_YOUR_KV_NAMESPACE_ID"
preview_id = "REPLACE_WITH_YOUR_KV_PREVIEW_NAMESPACE_ID"
[[kv_namespaces]]
binding = "OAUTH_KV"
id = "REPLACE_WITH_YOUR_OAUTH_KV_NAMESPACE_ID"
preview_id = "REPLACE_WITH_YOUR_OAUTH_KV_PREVIEW_NAMESPACE_ID"
# Secrets (READ_TOKEN, WRITE_TOKEN) are NOT set here.
# Set them with: wrangler secret put READ_TOKEN
# wrangler secret put WRITE_TOKEN
# For local dev, put them in a gitignored .dev.vars file instead:
# READ_TOKEN=dev-read
# WRITE_TOKEN=dev-write