wrangler 4.93.0 → 4.94.0
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/config-schema.json +20 -5
- package/package.json +14 -12
- package/templates/pages-template-plugin.ts +1 -1
- package/templates/pages-template-worker.ts +1 -1
- package/templates/startDevWorker/InspectorProxyWorker.ts +1 -1
- package/wrangler-dist/cli.d.ts +8 -0
- package/wrangler-dist/cli.js +3695 -1998
- package/wrangler-dist/metafile-cjs.json +1 -1
package/config-schema.json
CHANGED
|
@@ -3559,16 +3559,16 @@
|
|
|
3559
3559
|
"additionalProperties": false,
|
|
3560
3560
|
"properties": {
|
|
3561
3561
|
"logpush": {
|
|
3562
|
-
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-
|
|
3562
|
+
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-477932004818536"
|
|
3563
3563
|
},
|
|
3564
3564
|
"observability": {
|
|
3565
|
-
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-
|
|
3565
|
+
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-477932004818536"
|
|
3566
3566
|
},
|
|
3567
3567
|
"limits": {
|
|
3568
|
-
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-
|
|
3568
|
+
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-477932004818536"
|
|
3569
3569
|
},
|
|
3570
3570
|
"cache": {
|
|
3571
|
-
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-
|
|
3571
|
+
"$ref": "#/definitions/interface-769040647-8080-17950-769040647-0-477932004818536"
|
|
3572
3572
|
},
|
|
3573
3573
|
"define": {
|
|
3574
3574
|
"type": "object",
|
|
@@ -4767,7 +4767,7 @@
|
|
|
4767
4767
|
"description": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments. Previews are branches of your Worker's main instance used to test features during feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `cache`",
|
|
4768
4768
|
"markdownDescription": "Configuration for Worker Previews.\n\nThis defines the settings used when creating Preview deployments.\nPreviews are branches of your Worker's main instance used to test features\nduring feature development outside of production.\n\nThe `previews` block contains any intentionally divergent configuration intended solely for Previews, including:\n- All non-inheritable properties (environment variables and bindings like KV, D1, R2, etc.)\n- Select inheritable properties: `logpush`, `observability`, `limits`, `cache`"
|
|
4769
4769
|
},
|
|
4770
|
-
"interface-769040647-8080-17950-769040647-0-
|
|
4770
|
+
"interface-769040647-8080-17950-769040647-0-477932004818536": {
|
|
4771
4771
|
"type": "object",
|
|
4772
4772
|
"properties": {
|
|
4773
4773
|
"name": {
|
|
@@ -5240,6 +5240,21 @@
|
|
|
5240
5240
|
"additionalProperties": false,
|
|
5241
5241
|
"description": "Optional limits for the Workflow",
|
|
5242
5242
|
"markdownDescription": "Optional limits for the Workflow"
|
|
5243
|
+
},
|
|
5244
|
+
"schedule": {
|
|
5245
|
+
"anyOf": [
|
|
5246
|
+
{
|
|
5247
|
+
"type": "string"
|
|
5248
|
+
},
|
|
5249
|
+
{
|
|
5250
|
+
"type": "array",
|
|
5251
|
+
"items": {
|
|
5252
|
+
"type": "string"
|
|
5253
|
+
}
|
|
5254
|
+
}
|
|
5255
|
+
],
|
|
5256
|
+
"description": "Optional cron schedule(s) for automatically triggering workflow instances",
|
|
5257
|
+
"markdownDescription": "Optional cron schedule(s) for automatically triggering workflow instances"
|
|
5243
5258
|
}
|
|
5244
5259
|
},
|
|
5245
5260
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.94.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assembly",
|
|
@@ -53,17 +53,18 @@
|
|
|
53
53
|
"blake3-wasm": "2.1.5",
|
|
54
54
|
"esbuild": "0.27.3",
|
|
55
55
|
"path-to-regexp": "6.3.0",
|
|
56
|
+
"rosie-skills": "^0.6.3",
|
|
56
57
|
"unenv": "2.0.0-rc.24",
|
|
57
|
-
"workerd": "1.
|
|
58
|
+
"workerd": "1.20260521.1",
|
|
58
59
|
"@cloudflare/kv-asset-handler": "0.5.0",
|
|
59
60
|
"@cloudflare/unenv-preset": "2.16.1",
|
|
60
|
-
"miniflare": "4.
|
|
61
|
+
"miniflare": "4.20260521.0"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
64
65
|
"@bomb.sh/tab": "^0.0.12",
|
|
65
66
|
"@cloudflare/types": "6.18.4",
|
|
66
|
-
"@cloudflare/workers-types": "^4.
|
|
67
|
+
"@cloudflare/workers-types": "^4.20260521.1",
|
|
67
68
|
"@cspotcode/source-map-support": "0.8.1",
|
|
68
69
|
"@netlify/build-info": "^10.5.1",
|
|
69
70
|
"@sentry/node": "^7.86.0",
|
|
@@ -122,6 +123,7 @@
|
|
|
122
123
|
"patch-console": "^1.0.0",
|
|
123
124
|
"pretty-bytes": "^6.0.0",
|
|
124
125
|
"prompts": "^2.4.2",
|
|
126
|
+
"qr": "^0.6.0",
|
|
125
127
|
"recast": "0.23.11",
|
|
126
128
|
"resolve": "^1.22.8",
|
|
127
129
|
"semiver": "^1.1.0",
|
|
@@ -130,7 +132,7 @@
|
|
|
130
132
|
"smol-toml": "^1.5.2",
|
|
131
133
|
"source-map": "^0.6.1",
|
|
132
134
|
"supports-color": "^9.2.2",
|
|
133
|
-
"timeago.js": "
|
|
135
|
+
"timeago.js": "4.0.2",
|
|
134
136
|
"tree-kill": "^1.2.2",
|
|
135
137
|
"ts-dedent": "^2.2.0",
|
|
136
138
|
"ts-json-schema-generator": "^1.5.0",
|
|
@@ -140,21 +142,21 @@
|
|
|
140
142
|
"update-check": "^1.5.4",
|
|
141
143
|
"vitest": "4.1.0",
|
|
142
144
|
"vitest-websocket-mock": "^0.4.0",
|
|
143
|
-
"ws": "8.
|
|
145
|
+
"ws": "8.20.1",
|
|
144
146
|
"xxhash-wasm": "^1.0.1",
|
|
145
147
|
"yaml": "^2.8.1",
|
|
146
148
|
"yargs": "^17.7.2",
|
|
147
|
-
"@cloudflare/cli-shared-helpers": "0.1.
|
|
149
|
+
"@cloudflare/cli-shared-helpers": "0.1.4",
|
|
148
150
|
"@cloudflare/codemod": "1.1.0",
|
|
149
|
-
"@cloudflare/containers-shared": "0.15.
|
|
150
|
-
"@cloudflare/pages-shared": "^0.13.
|
|
151
|
+
"@cloudflare/containers-shared": "0.15.1",
|
|
152
|
+
"@cloudflare/pages-shared": "^0.13.139",
|
|
151
153
|
"@cloudflare/workers-shared": "0.19.6",
|
|
152
154
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
153
|
-
"@cloudflare/
|
|
154
|
-
"@cloudflare/
|
|
155
|
+
"@cloudflare/workflows-shared": "0.11.0",
|
|
156
|
+
"@cloudflare/workers-utils": "0.21.1"
|
|
155
157
|
},
|
|
156
158
|
"peerDependencies": {
|
|
157
|
-
"@cloudflare/workers-types": "^4.
|
|
159
|
+
"@cloudflare/workers-types": "^4.20260521.1"
|
|
158
160
|
},
|
|
159
161
|
"peerDependenciesMeta": {
|
|
160
162
|
"@cloudflare/workers-types": {
|
|
@@ -157,7 +157,7 @@ export default function (pluginArgs: unknown) {
|
|
|
157
157
|
if (typeof value !== "object" || value === null) {
|
|
158
158
|
throw new Error("context.data must be an object");
|
|
159
159
|
}
|
|
160
|
-
// user has
|
|
160
|
+
// user has overridden context.data, so we need to merge it with the existing data
|
|
161
161
|
data = value;
|
|
162
162
|
},
|
|
163
163
|
pluginArgs,
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
148
148
|
if (typeof value !== "object" || value === null) {
|
|
149
149
|
throw new Error("context.data must be an object");
|
|
150
150
|
}
|
|
151
|
-
// user has
|
|
151
|
+
// user has overridden context.data, so we need to merge it with the existing data
|
|
152
152
|
data = value;
|
|
153
153
|
},
|
|
154
154
|
env,
|
|
@@ -434,7 +434,7 @@ export class InspectorProxyWorker implements DurableObject {
|
|
|
434
434
|
// by default, sendRuntimeMessage waits for the runtime websocket to connect
|
|
435
435
|
// but we only want to send this message now or never
|
|
436
436
|
// if we schedule it to send later (like waiting for the websocket, by default)
|
|
437
|
-
// then we risk clearing logs that have
|
|
437
|
+
// then we risk clearing logs that have occurred since we scheduled it too
|
|
438
438
|
// which is worse than leaving logs from the previous version on screen
|
|
439
439
|
if (this.websockets.runtime) {
|
|
440
440
|
this.sendRuntimeMessage(
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1531,6 +1531,8 @@ type WorkflowBinding = {
|
|
|
1531
1531
|
/** Maximum number of steps a Workflow instance can execute */
|
|
1532
1532
|
steps?: number;
|
|
1533
1533
|
};
|
|
1534
|
+
/** Optional cron schedule(s) for automatically triggering workflow instances */
|
|
1535
|
+
schedule?: string | string[];
|
|
1534
1536
|
};
|
|
1535
1537
|
/**
|
|
1536
1538
|
* The `EnvironmentNonInheritable` interface declares all the configuration fields for an environment
|
|
@@ -3078,6 +3080,7 @@ interface CommonYargsOptions {
|
|
|
3078
3080
|
"env-file": string[] | undefined;
|
|
3079
3081
|
"experimental-provision": boolean | undefined;
|
|
3080
3082
|
"experimental-auto-create": boolean;
|
|
3083
|
+
"install-skills": boolean;
|
|
3081
3084
|
}
|
|
3082
3085
|
type CommonYargsArgv = Argv<CommonYargsOptions>;
|
|
3083
3086
|
type RemoveIndex<T> = {
|
|
@@ -3404,6 +3407,11 @@ declare function createCLIParser(argv: string[]): {
|
|
|
3404
3407
|
readonly hidden: true;
|
|
3405
3408
|
readonly alias: "x-auto-create";
|
|
3406
3409
|
};
|
|
3410
|
+
readonly "install-skills": {
|
|
3411
|
+
readonly describe: "Install Cloudflare agents skills, if not already present, without asking the user for confirmation";
|
|
3412
|
+
readonly type: "boolean";
|
|
3413
|
+
readonly default: false;
|
|
3414
|
+
};
|
|
3407
3415
|
};
|
|
3408
3416
|
showHelpWithCategories: () => Promise<void>;
|
|
3409
3417
|
};
|