-
Notifications
You must be signed in to change notification settings - Fork 314
Expand file tree
/
Copy pathwrangler.toml
More file actions
30 lines (25 loc) · 1.08 KB
/
Copy pathwrangler.toml
File metadata and controls
30 lines (25 loc) · 1.08 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
# Development wrangler config — production deployment is via Terraform.
# Use this for local development with `wrangler dev`.
name = "open-inspect-linear-bot"
main = "dist/index.js"
compatibility_date = "2024-12-30"
compatibility_flags = ["nodejs_compat"]
# KV namespace for OAuth tokens, issue-to-session mapping, and config
[[kv_namespaces]]
binding = "LINEAR_KV"
id = "" # Fill in after creating: wrangler kv namespace create LINEAR_KV
# Service binding to control plane (for local dev, use fetch URL instead)
# [[services]]
# binding = "CONTROL_PLANE"
# service = "open-inspect-control-plane"
[vars]
DEPLOYMENT_NAME = "dev"
CONTROL_PLANE_URL = "https://open-inspect-control-plane.YOUR-SUBDOMAIN.workers.dev"
WEB_APP_URL = "https://open-inspect-dev.vercel.app"
DEFAULT_MODEL = "claude-sonnet-4-20250514"
LINEAR_CLIENT_ID = "" # From Linear OAuth Application
WORKER_URL = "" # Your worker's public URL (e.g. https://open-inspect-linear-bot.YOUR-SUBDOMAIN.workers.dev)
# Secrets (set via `wrangler secret put`):
# - LINEAR_CLIENT_SECRET
# - LINEAR_WEBHOOK_SECRET
# - INTERNAL_CALLBACK_SECRET