@bytesbrains/cruise-worker 0.13.1 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -1
- package/package.json +24 -5
- package/worker/VERSION +1 -1
- package/worker/index.js +396 -307
- package/worker/index.js.map +5 -5
- package/wrangler.template.jsonc +14 -2
- package/worker/b23bfbc792e8710d3b74284a0a1b8ab044c18897-logo-dark.png +0 -0
package/wrangler.template.jsonc
CHANGED
|
@@ -36,8 +36,11 @@
|
|
|
36
36
|
"analytics_engine_datasets": [{ "binding": "METRICS", "dataset": "<dataset>" }],
|
|
37
37
|
"version_metadata": { "binding": "CF_VERSION_METADATA" },
|
|
38
38
|
"vars": {
|
|
39
|
-
//
|
|
39
|
+
// A label: Sentry's environment, `/health`, the CLI's --env. Call it what you like.
|
|
40
40
|
"ENVIRONMENT": "production",
|
|
41
|
+
// What it is: "live" issues cru_live_ keys, "test" cru_test_ (a staging), "demo"
|
|
42
|
+
// the credential-free demo. Unset, the name above decides, and `doctor` warns.
|
|
43
|
+
"DEPLOYMENT_ROLE": "live",
|
|
41
44
|
"CF_ACCOUNT_ID": "<account id>",
|
|
42
45
|
// The two AI Gateways: payload logging off, and on. Docs: docs/v0/04-design-facts.md.
|
|
43
46
|
"GATEWAY_SENSITIVE": "gw-sensitive",
|
|
@@ -45,6 +48,15 @@
|
|
|
45
48
|
"DASHBOARD_ORIGIN": "<https://your dashboard>",
|
|
46
49
|
"CACHE_MODE": "lane",
|
|
47
50
|
"COMPRESS_MODE": "on",
|
|
48
|
-
"BATCH_MODE": "on"
|
|
51
|
+
"BATCH_MODE": "on",
|
|
52
|
+
// Who this deployment is, on the pages it serves about itself: /integrate and
|
|
53
|
+
// its prompt, /docs, the OpenAPI document, llms.txt. All optional; unset, each
|
|
54
|
+
// page uses generic wording and names nobody. Never read from the request.
|
|
55
|
+
"PUBLIC_BASE_URL": "<https://your deployment>",
|
|
56
|
+
"OPERATOR_NAME": "<your organisation>",
|
|
57
|
+
"OPERATOR_URL": "<https://your site>"
|
|
58
|
+
// "DEMO_BASE_URL": "<https://your demo>",
|
|
59
|
+
// "STAGING_BASE_URL": "<https://your staging>",
|
|
60
|
+
// "GOOGLE_SITE_VERIFICATION": "<google0123456789abcdef>"
|
|
49
61
|
}
|
|
50
62
|
}
|
|
Binary file
|