summaryrefslogtreecommitdiff
path: root/makima/cloudflare-agent/wrangler.toml
diff options
context:
space:
mode:
Diffstat (limited to 'makima/cloudflare-agent/wrangler.toml')
-rw-r--r--makima/cloudflare-agent/wrangler.toml20
1 files changed, 20 insertions, 0 deletions
diff --git a/makima/cloudflare-agent/wrangler.toml b/makima/cloudflare-agent/wrangler.toml
new file mode 100644
index 0000000..11f5c66
--- /dev/null
+++ b/makima/cloudflare-agent/wrangler.toml
@@ -0,0 +1,20 @@
+name = "makima-agent"
+main = "src/index.ts"
+compatibility_date = "2024-12-01"
+compatibility_flags = ["nodejs_compat"]
+
+[observability]
+enabled = true
+
+[vars]
+# Non-secret configuration — override via .dev.vars for local dev
+# MAKIMA_SERVER_URL = "wss://api.makima.jp"
+
+[durable_objects]
+bindings = [
+ { name = "MAKIMA_AGENT", class_name = "MakimaAgent" }
+]
+
+[[migrations]]
+tag = "v1"
+new_sqlite_classes = ["MakimaAgent"]