wrangler 3.51.2 → 3.52.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.
@@ -50,7 +50,7 @@
50
50
  "properties": {
51
51
  "dir": {
52
52
  "deprecated": true,
53
- "description": "The directory you wish to upload your worker from, relative to the wrangler.toml file.\n\nDefaults to the directory containing the wrangler.toml file.",
53
+ "description": "The directory you wish to upload your Worker from, relative to the wrangler.toml file.\n\nDefaults to the directory containing the wrangler.toml file.",
54
54
  "type": "string"
55
55
  },
56
56
  "format": {
@@ -82,7 +82,7 @@
82
82
  "type": "string"
83
83
  },
84
84
  "parameters": {
85
- "description": "(Optional) List of parameter names, for sending context from your dispatch worker to the outbound handler",
85
+ "description": "(Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler",
86
86
  "items": {
87
87
  "type": "string"
88
88
  },
@@ -115,7 +115,7 @@
115
115
  "type": "string"
116
116
  },
117
117
  "script_name": {
118
- "description": "The script where the Durable Object is defined (if it's external to this worker)",
118
+ "description": "The script where the Durable Object is defined (if it's external to this Worker)",
119
119
  "type": "string"
120
120
  }
121
121
  },
@@ -137,7 +137,8 @@
137
137
  },
138
138
  "ai": {
139
139
  "additionalProperties": false,
140
- "description": "Binding to the AI project.",
140
+ "default": "`{}`",
141
+ "description": "Binding to the AI project.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
141
142
  "properties": {
142
143
  "binding": {
143
144
  "type": "string"
@@ -155,7 +156,7 @@
155
156
  "additionalProperties": false,
156
157
  "properties": {
157
158
  "binding": {
158
- "description": "The binding name used to refer to the dataset in the worker.",
159
+ "description": "The binding name used to refer to the dataset in the Worker.",
159
160
  "type": "string"
160
161
  },
161
162
  "dataset": {
@@ -171,12 +172,13 @@
171
172
  "type": "array"
172
173
  },
173
174
  "base_dir": {
174
- "description": "The directory in which module rules should be evaluated when including additional files into a worker deployment. This defaults to the directory containing the `main` entry point of the worker if not specified.",
175
+ "description": "The directory in which module rules should be evaluated when including additional files into a Worker deployment. This defaults to the directory containing the `main` entry point of the Worker if not specified.",
175
176
  "type": "string"
176
177
  },
177
178
  "browser": {
178
179
  "additionalProperties": false,
179
- "description": "A browser that will be usable from the worker.",
180
+ "default": "`{}`",
181
+ "description": "A browser that will be usable from the Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
180
182
  "properties": {
181
183
  "binding": {
182
184
  "type": "string"
@@ -189,7 +191,9 @@
189
191
  },
190
192
  "build": {
191
193
  "additionalProperties": false,
192
- "default": {},
194
+ "default": {
195
+ "watch_dir": "./src"
196
+ },
193
197
  "description": "Configures a custom build step to be run by Wrangler when building your Worker.\n\nRefer to the [custom builds documentation](https://developers.cloudflare.com/workers/cli-wrangler/configuration#build) for more details.",
194
198
  "properties": {
195
199
  "command": {
@@ -232,6 +236,7 @@
232
236
  "type": "string"
233
237
  },
234
238
  "compatibility_flags": {
239
+ "default": "`[]`",
235
240
  "description": "A list of flags that enable features from upcoming features of the Workers runtime, usually used together with compatibility_flags.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-dates",
236
241
  "items": {
237
242
  "type": "string"
@@ -245,7 +250,7 @@
245
250
  "additionalProperties": false,
246
251
  "properties": {
247
252
  "binding": {
248
- "description": "The binding name used to refer to the project in the worker.",
253
+ "description": "The binding name used to refer to the project in the Worker.",
249
254
  "type": "string"
250
255
  },
251
256
  "project_id": {
@@ -268,7 +273,7 @@
268
273
  "additionalProperties": false,
269
274
  "properties": {
270
275
  "binding": {
271
- "description": "The binding name used to refer to the D1 database in the worker.",
276
+ "description": "The binding name used to refer to the D1 database in the Worker.",
272
277
  "type": "string"
273
278
  },
274
279
  "database_id": {
@@ -310,7 +315,7 @@
310
315
  "type": "string"
311
316
  },
312
317
  "default": "`{}`",
313
- "description": "A map of values to substitute when deploying your worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
318
+ "description": "A map of values to substitute when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
314
319
  "type": "object"
315
320
  },
316
321
  "dispatch_namespaces": {
@@ -329,7 +334,7 @@
329
334
  },
330
335
  "outbound": {
331
336
  "$ref": "#/definitions/DispatchNamespaceOutbound",
332
- "description": "Details about the outbound worker which will handle outbound requests from your namespace"
337
+ "description": "Details about the outbound Worker which will handle outbound requests from your namespace"
333
338
  }
334
339
  },
335
340
  "required": [
@@ -343,7 +348,7 @@
343
348
  "durable_objects": {
344
349
  "additionalProperties": false,
345
350
  "default": "`{bindings:[]}`",
346
- "description": "A list of durable objects that your worker should be bound to.\n\nFor more information about Durable Objects, see the documentation at https://developers.cloudflare.com/workers/learning/using-durable-objects\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
351
+ "description": "A list of durable objects that your Worker should be bound to.\n\nFor more information about Durable Objects, see the documentation at https://developers.cloudflare.com/workers/learning/using-durable-objects\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
347
352
  "properties": {
348
353
  "bindings": {
349
354
  "$ref": "#/definitions/DurableObjectBindings"
@@ -355,11 +360,11 @@
355
360
  "type": "object"
356
361
  },
357
362
  "find_additional_modules": {
358
- "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed worker. Defaults to true if `no_bundle` is true, otherwise false.",
363
+ "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed Worker. Defaults to true if `no_bundle` is true, otherwise false.",
359
364
  "type": "boolean"
360
365
  },
361
366
  "first_party_worker": {
362
- "description": "Designates this worker as an internal-only \"first-party\" worker.",
367
+ "description": "Designates this Worker as an internal-only \"first-party\" Worker.",
363
368
  "type": "boolean"
364
369
  },
365
370
  "hyperdrive": {
@@ -369,7 +374,7 @@
369
374
  "additionalProperties": false,
370
375
  "properties": {
371
376
  "binding": {
372
- "description": "The binding name used to refer to the project in the worker.",
377
+ "description": "The binding name used to refer to the project in the Worker.",
373
378
  "type": "string"
374
379
  },
375
380
  "id": {
@@ -463,7 +468,7 @@
463
468
  "type": "object"
464
469
  },
465
470
  "logpush": {
466
- "description": "Send Trace Events from this worker to Workers Logpush.\n\nThis will not configure a corresponding Logpush job automatically.\n\nFor more information about Workers Logpush, see: https://blog.cloudflare.com/logpush-for-workers/",
471
+ "description": "Send Trace Events from this Worker to Workers Logpush.\n\nThis will not configure a corresponding Logpush job automatically.\n\nFor more information about Workers Logpush, see: https://blog.cloudflare.com/logpush-for-workers/",
467
472
  "type": "boolean"
468
473
  },
469
474
  "main": {
@@ -475,11 +480,13 @@
475
480
  "type": "boolean"
476
481
  },
477
482
  "mtls_certificates": {
483
+ "default": "`[]`",
484
+ "description": "Specifies a list of mTLS certificates that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
478
485
  "items": {
479
486
  "additionalProperties": false,
480
487
  "properties": {
481
488
  "binding": {
482
- "description": "The binding name used to refer to the certificate in the worker",
489
+ "description": "The binding name used to refer to the certificate in the Worker",
483
490
  "type": "string"
484
491
  },
485
492
  "certificate_id": {
@@ -496,7 +503,7 @@
496
503
  "type": "array"
497
504
  },
498
505
  "name": {
499
- "description": "The name of your worker. Alphanumeric + dashes only.",
506
+ "description": "The name of your Worker. Alphanumeric + dashes only.",
500
507
  "type": "string"
501
508
  },
502
509
  "no_bundle": {
@@ -509,7 +516,7 @@
509
516
  },
510
517
  "placement": {
511
518
  "additionalProperties": false,
512
- "description": "Specify how the worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
519
+ "description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
513
520
  "properties": {
514
521
  "mode": {
515
522
  "enum": [
@@ -530,7 +537,7 @@
530
537
  },
531
538
  "queues": {
532
539
  "additionalProperties": false,
533
- "default": "`{}`",
540
+ "default": "`{consumers:[],producers:[]}`",
534
541
  "description": "Specifies Queues that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
535
542
  "properties": {
536
543
  "consumers": {
@@ -591,7 +598,7 @@
591
598
  "additionalProperties": false,
592
599
  "properties": {
593
600
  "binding": {
594
- "description": "The binding name used to refer to the Queue in the worker.",
601
+ "description": "The binding name used to refer to the Queue in the Worker.",
595
602
  "type": "string"
596
603
  },
597
604
  "delivery_delay": {
@@ -621,7 +628,7 @@
621
628
  "additionalProperties": false,
622
629
  "properties": {
623
630
  "binding": {
624
- "description": "The binding name used to refer to the R2 bucket in the worker.",
631
+ "description": "The binding name used to refer to the R2 bucket in the Worker.",
625
632
  "type": "string"
626
633
  },
627
634
  "bucket_name": {
@@ -647,10 +654,10 @@
647
654
  },
648
655
  "route": {
649
656
  "$ref": "#/definitions/Route",
650
- "description": "A route that your worker should be published to. Literally the same as routes, but only one. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled worker"
657
+ "description": "A route that your Worker should be published to. Literally the same as routes, but only one. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker"
651
658
  },
652
659
  "routes": {
653
- "description": "A list of routes that your worker should be published to. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled worker (see `triggers`)",
660
+ "description": "A list of routes that your Worker should be published to. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker (see `triggers`)",
654
661
  "items": {
655
662
  "$ref": "#/definitions/Route"
656
663
  },
@@ -694,7 +701,7 @@
694
701
  },
695
702
  "services": {
696
703
  "default": "`[]`",
697
- "description": "Specifies service bindings (worker-to-worker) that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
704
+ "description": "Specifies service bindings (Worker-to-Worker) that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
698
705
  "items": {
699
706
  "additionalProperties": false,
700
707
  "properties": {
@@ -724,6 +731,8 @@
724
731
  "type": "array"
725
732
  },
726
733
  "tail_consumers": {
734
+ "default": "`[]`",
735
+ "description": "Specifies a list of Tail Workers that are bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
727
736
  "items": {
728
737
  "$ref": "#/definitions/TailConsumer"
729
738
  },
@@ -732,7 +741,7 @@
732
741
  "triggers": {
733
742
  "additionalProperties": false,
734
743
  "default": "`{crons:[]}`",
735
- "description": "\"Cron\" definitions to trigger a worker's \"scheduled\" function.\n\nLets you call workers periodically, much like a cron job.\n\nMore details here https://developers.cloudflare.com/workers/platform/cron-triggers",
744
+ "description": "\"Cron\" definitions to trigger a Worker's \"scheduled\" function.\n\nLets you call Workers periodically, much like a cron job.\n\nMore details here https://developers.cloudflare.com/workers/platform/cron-triggers",
736
745
  "properties": {
737
746
  "crons": {
738
747
  "items": {
@@ -752,6 +761,7 @@
752
761
  },
753
762
  "unsafe": {
754
763
  "additionalProperties": false,
764
+ "default": "`{}`",
755
765
  "description": "\"Unsafe\" tables for features that aren't directly supported by wrangler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
756
766
  "properties": {
757
767
  "bindings": {
@@ -842,7 +852,7 @@
842
852
  ]
843
853
  },
844
854
  "default": "`{}`",
845
- "description": "A map of environment variables to set when deploying your worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
855
+ "description": "A map of environment variables to set when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
846
856
  "type": "object"
847
857
  },
848
858
  "vectorize": {
@@ -852,7 +862,7 @@
852
862
  "additionalProperties": false,
853
863
  "properties": {
854
864
  "binding": {
855
- "description": "The binding name used to refer to the Vectorize index in the worker.",
865
+ "description": "The binding name used to refer to the Vectorize index in the Worker.",
856
866
  "type": "string"
857
867
  },
858
868
  "index_name": {
@@ -883,7 +893,7 @@
883
893
  },
884
894
  "workers_dev": {
885
895
  "default": "`true` (This is a breaking change from Wrangler v1)",
886
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your worker.",
896
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined",
887
897
  "type": "boolean"
888
898
  },
889
899
  "zone_id": {
@@ -952,7 +962,8 @@
952
962
  },
953
963
  "ai": {
954
964
  "additionalProperties": false,
955
- "description": "Binding to the AI project.",
965
+ "default": "`{}`",
966
+ "description": "Binding to the AI project.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
956
967
  "properties": {
957
968
  "binding": {
958
969
  "type": "string"
@@ -970,7 +981,7 @@
970
981
  "additionalProperties": false,
971
982
  "properties": {
972
983
  "binding": {
973
- "description": "The binding name used to refer to the dataset in the worker.",
984
+ "description": "The binding name used to refer to the dataset in the Worker.",
974
985
  "type": "string"
975
986
  },
976
987
  "dataset": {
@@ -1020,12 +1031,13 @@
1020
1031
  "type": "object"
1021
1032
  },
1022
1033
  "base_dir": {
1023
- "description": "The directory in which module rules should be evaluated when including additional files into a worker deployment. This defaults to the directory containing the `main` entry point of the worker if not specified.",
1034
+ "description": "The directory in which module rules should be evaluated when including additional files into a Worker deployment. This defaults to the directory containing the `main` entry point of the Worker if not specified.",
1024
1035
  "type": "string"
1025
1036
  },
1026
1037
  "browser": {
1027
1038
  "additionalProperties": false,
1028
- "description": "A browser that will be usable from the worker.",
1039
+ "default": "`{}`",
1040
+ "description": "A browser that will be usable from the Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1029
1041
  "properties": {
1030
1042
  "binding": {
1031
1043
  "type": "string"
@@ -1038,7 +1050,9 @@
1038
1050
  },
1039
1051
  "build": {
1040
1052
  "additionalProperties": false,
1041
- "default": {},
1053
+ "default": {
1054
+ "watch_dir": "./src"
1055
+ },
1042
1056
  "description": "Configures a custom build step to be run by Wrangler when building your Worker.\n\nRefer to the [custom builds documentation](https://developers.cloudflare.com/workers/cli-wrangler/configuration#build) for more details.",
1043
1057
  "properties": {
1044
1058
  "command": {
@@ -1081,6 +1095,7 @@
1081
1095
  "type": "string"
1082
1096
  },
1083
1097
  "compatibility_flags": {
1098
+ "default": "`[]`",
1084
1099
  "description": "A list of flags that enable features from upcoming features of the Workers runtime, usually used together with compatibility_flags.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-dates",
1085
1100
  "items": {
1086
1101
  "type": "string"
@@ -1097,7 +1112,7 @@
1097
1112
  "additionalProperties": false,
1098
1113
  "properties": {
1099
1114
  "binding": {
1100
- "description": "The binding name used to refer to the project in the worker.",
1115
+ "description": "The binding name used to refer to the project in the Worker.",
1101
1116
  "type": "string"
1102
1117
  },
1103
1118
  "project_id": {
@@ -1120,7 +1135,7 @@
1120
1135
  "additionalProperties": false,
1121
1136
  "properties": {
1122
1137
  "binding": {
1123
- "description": "The binding name used to refer to the D1 database in the worker.",
1138
+ "description": "The binding name used to refer to the D1 database in the Worker.",
1124
1139
  "type": "string"
1125
1140
  },
1126
1141
  "database_id": {
@@ -1169,7 +1184,7 @@
1169
1184
  "type": "string"
1170
1185
  },
1171
1186
  "default": "`{}`",
1172
- "description": "A map of values to substitute when deploying your worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1187
+ "description": "A map of values to substitute when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1173
1188
  "type": "object"
1174
1189
  },
1175
1190
  "dev": {
@@ -1192,7 +1207,7 @@
1192
1207
  },
1193
1208
  "outbound": {
1194
1209
  "$ref": "#/definitions/DispatchNamespaceOutbound",
1195
- "description": "Details about the outbound worker which will handle outbound requests from your namespace"
1210
+ "description": "Details about the outbound Worker which will handle outbound requests from your namespace"
1196
1211
  }
1197
1212
  },
1198
1213
  "required": [
@@ -1206,7 +1221,7 @@
1206
1221
  "durable_objects": {
1207
1222
  "additionalProperties": false,
1208
1223
  "default": "`{bindings:[]}`",
1209
- "description": "A list of durable objects that your worker should be bound to.\n\nFor more information about Durable Objects, see the documentation at https://developers.cloudflare.com/workers/learning/using-durable-objects\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1224
+ "description": "A list of durable objects that your Worker should be bound to.\n\nFor more information about Durable Objects, see the documentation at https://developers.cloudflare.com/workers/learning/using-durable-objects\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1210
1225
  "properties": {
1211
1226
  "bindings": {
1212
1227
  "$ref": "#/definitions/DurableObjectBindings"
@@ -1228,7 +1243,7 @@
1228
1243
  "experimental_services": {
1229
1244
  "default": "`[]`",
1230
1245
  "deprecated": "DO NOT USE. We'd added this to test the new service binding system, but the proper way to test experimental features is to use `unsafe.bindings` configuration.",
1231
- "description": "A list of services that your worker should be bound to.",
1246
+ "description": "A list of services that your Worker should be bound to.",
1232
1247
  "items": {
1233
1248
  "additionalProperties": false,
1234
1249
  "properties": {
@@ -1255,11 +1270,11 @@
1255
1270
  "type": "array"
1256
1271
  },
1257
1272
  "find_additional_modules": {
1258
- "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed worker. Defaults to true if `no_bundle` is true, otherwise false.",
1273
+ "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed Worker. Defaults to true if `no_bundle` is true, otherwise false.",
1259
1274
  "type": "boolean"
1260
1275
  },
1261
1276
  "first_party_worker": {
1262
- "description": "Designates this worker as an internal-only \"first-party\" worker.",
1277
+ "description": "Designates this Worker as an internal-only \"first-party\" Worker.",
1263
1278
  "type": "boolean"
1264
1279
  },
1265
1280
  "hyperdrive": {
@@ -1269,7 +1284,7 @@
1269
1284
  "additionalProperties": false,
1270
1285
  "properties": {
1271
1286
  "binding": {
1272
- "description": "The binding name used to refer to the project in the worker.",
1287
+ "description": "The binding name used to refer to the project in the Worker.",
1273
1288
  "type": "string"
1274
1289
  },
1275
1290
  "id": {
@@ -1377,7 +1392,7 @@
1377
1392
  "type": "object"
1378
1393
  },
1379
1394
  "logpush": {
1380
- "description": "Send Trace Events from this worker to Workers Logpush.\n\nThis will not configure a corresponding Logpush job automatically.\n\nFor more information about Workers Logpush, see: https://blog.cloudflare.com/logpush-for-workers/",
1395
+ "description": "Send Trace Events from this Worker to Workers Logpush.\n\nThis will not configure a corresponding Logpush job automatically.\n\nFor more information about Workers Logpush, see: https://blog.cloudflare.com/logpush-for-workers/",
1381
1396
  "type": "boolean"
1382
1397
  },
1383
1398
  "main": {
@@ -1445,11 +1460,13 @@
1445
1460
  "type": "boolean"
1446
1461
  },
1447
1462
  "mtls_certificates": {
1463
+ "default": "`[]`",
1464
+ "description": "Specifies a list of mTLS certificates that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1448
1465
  "items": {
1449
1466
  "additionalProperties": false,
1450
1467
  "properties": {
1451
1468
  "binding": {
1452
- "description": "The binding name used to refer to the certificate in the worker",
1469
+ "description": "The binding name used to refer to the certificate in the Worker",
1453
1470
  "type": "string"
1454
1471
  },
1455
1472
  "certificate_id": {
@@ -1466,7 +1483,7 @@
1466
1483
  "type": "array"
1467
1484
  },
1468
1485
  "name": {
1469
- "description": "The name of your worker. Alphanumeric + dashes only.",
1486
+ "description": "The name of your Worker. Alphanumeric + dashes only.",
1470
1487
  "type": "string"
1471
1488
  },
1472
1489
  "no_bundle": {
@@ -1483,7 +1500,7 @@
1483
1500
  },
1484
1501
  "placement": {
1485
1502
  "additionalProperties": false,
1486
- "description": "Specify how the worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
1503
+ "description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
1487
1504
  "properties": {
1488
1505
  "mode": {
1489
1506
  "enum": [
@@ -1504,7 +1521,7 @@
1504
1521
  },
1505
1522
  "queues": {
1506
1523
  "additionalProperties": false,
1507
- "default": "`{}`",
1524
+ "default": "`{consumers:[],producers:[]}`",
1508
1525
  "description": "Specifies Queues that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1509
1526
  "properties": {
1510
1527
  "consumers": {
@@ -1565,7 +1582,7 @@
1565
1582
  "additionalProperties": false,
1566
1583
  "properties": {
1567
1584
  "binding": {
1568
- "description": "The binding name used to refer to the Queue in the worker.",
1585
+ "description": "The binding name used to refer to the Queue in the Worker.",
1569
1586
  "type": "string"
1570
1587
  },
1571
1588
  "delivery_delay": {
@@ -1595,7 +1612,7 @@
1595
1612
  "additionalProperties": false,
1596
1613
  "properties": {
1597
1614
  "binding": {
1598
- "description": "The binding name used to refer to the R2 bucket in the worker.",
1615
+ "description": "The binding name used to refer to the R2 bucket in the Worker.",
1599
1616
  "type": "string"
1600
1617
  },
1601
1618
  "bucket_name": {
@@ -1621,10 +1638,10 @@
1621
1638
  },
1622
1639
  "route": {
1623
1640
  "$ref": "#/definitions/Route",
1624
- "description": "A route that your worker should be published to. Literally the same as routes, but only one. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled worker"
1641
+ "description": "A route that your Worker should be published to. Literally the same as routes, but only one. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker"
1625
1642
  },
1626
1643
  "routes": {
1627
- "description": "A list of routes that your worker should be published to. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled worker (see `triggers`)",
1644
+ "description": "A list of routes that your Worker should be published to. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker (see `triggers`)",
1628
1645
  "items": {
1629
1646
  "$ref": "#/definitions/Route"
1630
1647
  },
@@ -1672,7 +1689,7 @@
1672
1689
  },
1673
1690
  "services": {
1674
1691
  "default": "`[]`",
1675
- "description": "Specifies service bindings (worker-to-worker) that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1692
+ "description": "Specifies service bindings (Worker-to-Worker) that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1676
1693
  "items": {
1677
1694
  "additionalProperties": false,
1678
1695
  "properties": {
@@ -1737,6 +1754,8 @@
1737
1754
  "type": "object"
1738
1755
  },
1739
1756
  "tail_consumers": {
1757
+ "default": "`[]`",
1758
+ "description": "Specifies a list of Tail Workers that are bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1740
1759
  "items": {
1741
1760
  "$ref": "#/definitions/TailConsumer"
1742
1761
  },
@@ -1752,7 +1771,7 @@
1752
1771
  "triggers": {
1753
1772
  "additionalProperties": false,
1754
1773
  "default": "`{crons:[]}`",
1755
- "description": "\"Cron\" definitions to trigger a worker's \"scheduled\" function.\n\nLets you call workers periodically, much like a cron job.\n\nMore details here https://developers.cloudflare.com/workers/platform/cron-triggers",
1774
+ "description": "\"Cron\" definitions to trigger a Worker's \"scheduled\" function.\n\nLets you call Workers periodically, much like a cron job.\n\nMore details here https://developers.cloudflare.com/workers/platform/cron-triggers",
1756
1775
  "properties": {
1757
1776
  "crons": {
1758
1777
  "items": {
@@ -1782,6 +1801,7 @@
1782
1801
  },
1783
1802
  "unsafe": {
1784
1803
  "additionalProperties": false,
1804
+ "default": "`{}`",
1785
1805
  "description": "\"Unsafe\" tables for features that aren't directly supported by wrangler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1786
1806
  "properties": {
1787
1807
  "bindings": {
@@ -1872,7 +1892,7 @@
1872
1892
  ]
1873
1893
  },
1874
1894
  "default": "`{}`",
1875
- "description": "A map of environment variables to set when deploying your worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1895
+ "description": "A map of environment variables to set when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1876
1896
  "type": "object"
1877
1897
  },
1878
1898
  "vectorize": {
@@ -1882,7 +1902,7 @@
1882
1902
  "additionalProperties": false,
1883
1903
  "properties": {
1884
1904
  "binding": {
1885
- "description": "The binding name used to refer to the Vectorize index in the worker.",
1905
+ "description": "The binding name used to refer to the Vectorize index in the Worker.",
1886
1906
  "type": "string"
1887
1907
  },
1888
1908
  "index_name": {
@@ -1925,7 +1945,7 @@
1925
1945
  },
1926
1946
  "workers_dev": {
1927
1947
  "default": "`true` (This is a breaking change from Wrangler v1)",
1928
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your worker.",
1948
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined",
1929
1949
  "type": "boolean"
1930
1950
  },
1931
1951
  "zone_id": {
@@ -1988,7 +2008,8 @@
1988
2008
  },
1989
2009
  "ai": {
1990
2010
  "additionalProperties": false,
1991
- "description": "Binding to the AI project.",
2011
+ "default": "`{}`",
2012
+ "description": "Binding to the AI project.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
1992
2013
  "properties": {
1993
2014
  "binding": {
1994
2015
  "type": "string"
@@ -2006,7 +2027,7 @@
2006
2027
  "additionalProperties": false,
2007
2028
  "properties": {
2008
2029
  "binding": {
2009
- "description": "The binding name used to refer to the dataset in the worker.",
2030
+ "description": "The binding name used to refer to the dataset in the Worker.",
2010
2031
  "type": "string"
2011
2032
  },
2012
2033
  "dataset": {
@@ -2022,12 +2043,13 @@
2022
2043
  "type": "array"
2023
2044
  },
2024
2045
  "base_dir": {
2025
- "description": "The directory in which module rules should be evaluated when including additional files into a worker deployment. This defaults to the directory containing the `main` entry point of the worker if not specified.",
2046
+ "description": "The directory in which module rules should be evaluated when including additional files into a Worker deployment. This defaults to the directory containing the `main` entry point of the Worker if not specified.",
2026
2047
  "type": "string"
2027
2048
  },
2028
2049
  "browser": {
2029
2050
  "additionalProperties": false,
2030
- "description": "A browser that will be usable from the worker.",
2051
+ "default": "`{}`",
2052
+ "description": "A browser that will be usable from the Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2031
2053
  "properties": {
2032
2054
  "binding": {
2033
2055
  "type": "string"
@@ -2040,7 +2062,9 @@
2040
2062
  },
2041
2063
  "build": {
2042
2064
  "additionalProperties": false,
2043
- "default": {},
2065
+ "default": {
2066
+ "watch_dir": "./src"
2067
+ },
2044
2068
  "description": "Configures a custom build step to be run by Wrangler when building your Worker.\n\nRefer to the [custom builds documentation](https://developers.cloudflare.com/workers/cli-wrangler/configuration#build) for more details.",
2045
2069
  "properties": {
2046
2070
  "command": {
@@ -2083,6 +2107,7 @@
2083
2107
  "type": "string"
2084
2108
  },
2085
2109
  "compatibility_flags": {
2110
+ "default": "`[]`",
2086
2111
  "description": "A list of flags that enable features from upcoming features of the Workers runtime, usually used together with compatibility_flags.\n\nMore details at https://developers.cloudflare.com/workers/platform/compatibility-dates",
2087
2112
  "items": {
2088
2113
  "type": "string"
@@ -2096,7 +2121,7 @@
2096
2121
  "additionalProperties": false,
2097
2122
  "properties": {
2098
2123
  "binding": {
2099
- "description": "The binding name used to refer to the project in the worker.",
2124
+ "description": "The binding name used to refer to the project in the Worker.",
2100
2125
  "type": "string"
2101
2126
  },
2102
2127
  "project_id": {
@@ -2119,7 +2144,7 @@
2119
2144
  "additionalProperties": false,
2120
2145
  "properties": {
2121
2146
  "binding": {
2122
- "description": "The binding name used to refer to the D1 database in the worker.",
2147
+ "description": "The binding name used to refer to the D1 database in the Worker.",
2123
2148
  "type": "string"
2124
2149
  },
2125
2150
  "database_id": {
@@ -2161,7 +2186,7 @@
2161
2186
  "type": "string"
2162
2187
  },
2163
2188
  "default": "`{}`",
2164
- "description": "A map of values to substitute when deploying your worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2189
+ "description": "A map of values to substitute when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2165
2190
  "type": "object"
2166
2191
  },
2167
2192
  "dispatch_namespaces": {
@@ -2180,7 +2205,7 @@
2180
2205
  },
2181
2206
  "outbound": {
2182
2207
  "$ref": "#/definitions/DispatchNamespaceOutbound",
2183
- "description": "Details about the outbound worker which will handle outbound requests from your namespace"
2208
+ "description": "Details about the outbound Worker which will handle outbound requests from your namespace"
2184
2209
  }
2185
2210
  },
2186
2211
  "required": [
@@ -2194,7 +2219,7 @@
2194
2219
  "durable_objects": {
2195
2220
  "additionalProperties": false,
2196
2221
  "default": "`{bindings:[]}`",
2197
- "description": "A list of durable objects that your worker should be bound to.\n\nFor more information about Durable Objects, see the documentation at https://developers.cloudflare.com/workers/learning/using-durable-objects\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2222
+ "description": "A list of durable objects that your Worker should be bound to.\n\nFor more information about Durable Objects, see the documentation at https://developers.cloudflare.com/workers/learning/using-durable-objects\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2198
2223
  "properties": {
2199
2224
  "bindings": {
2200
2225
  "$ref": "#/definitions/DurableObjectBindings"
@@ -2208,7 +2233,7 @@
2208
2233
  "experimental_services": {
2209
2234
  "default": "`[]`",
2210
2235
  "deprecated": "DO NOT USE. We'd added this to test the new service binding system, but the proper way to test experimental features is to use `unsafe.bindings` configuration.",
2211
- "description": "A list of services that your worker should be bound to.",
2236
+ "description": "A list of services that your Worker should be bound to.",
2212
2237
  "items": {
2213
2238
  "additionalProperties": false,
2214
2239
  "properties": {
@@ -2235,11 +2260,11 @@
2235
2260
  "type": "array"
2236
2261
  },
2237
2262
  "find_additional_modules": {
2238
- "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed worker. Defaults to true if `no_bundle` is true, otherwise false.",
2263
+ "description": "If true then Wrangler will traverse the file tree below `base_dir`; Any files that match `rules` will be included in the deployed Worker. Defaults to true if `no_bundle` is true, otherwise false.",
2239
2264
  "type": "boolean"
2240
2265
  },
2241
2266
  "first_party_worker": {
2242
- "description": "Designates this worker as an internal-only \"first-party\" worker.",
2267
+ "description": "Designates this Worker as an internal-only \"first-party\" Worker.",
2243
2268
  "type": "boolean"
2244
2269
  },
2245
2270
  "hyperdrive": {
@@ -2249,7 +2274,7 @@
2249
2274
  "additionalProperties": false,
2250
2275
  "properties": {
2251
2276
  "binding": {
2252
- "description": "The binding name used to refer to the project in the worker.",
2277
+ "description": "The binding name used to refer to the project in the Worker.",
2253
2278
  "type": "string"
2254
2279
  },
2255
2280
  "id": {
@@ -2348,7 +2373,7 @@
2348
2373
  "type": "object"
2349
2374
  },
2350
2375
  "logpush": {
2351
- "description": "Send Trace Events from this worker to Workers Logpush.\n\nThis will not configure a corresponding Logpush job automatically.\n\nFor more information about Workers Logpush, see: https://blog.cloudflare.com/logpush-for-workers/",
2376
+ "description": "Send Trace Events from this Worker to Workers Logpush.\n\nThis will not configure a corresponding Logpush job automatically.\n\nFor more information about Workers Logpush, see: https://blog.cloudflare.com/logpush-for-workers/",
2352
2377
  "type": "boolean"
2353
2378
  },
2354
2379
  "main": {
@@ -2360,11 +2385,13 @@
2360
2385
  "type": "boolean"
2361
2386
  },
2362
2387
  "mtls_certificates": {
2388
+ "default": "`[]`",
2389
+ "description": "Specifies a list of mTLS certificates that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2363
2390
  "items": {
2364
2391
  "additionalProperties": false,
2365
2392
  "properties": {
2366
2393
  "binding": {
2367
- "description": "The binding name used to refer to the certificate in the worker",
2394
+ "description": "The binding name used to refer to the certificate in the Worker",
2368
2395
  "type": "string"
2369
2396
  },
2370
2397
  "certificate_id": {
@@ -2381,7 +2408,7 @@
2381
2408
  "type": "array"
2382
2409
  },
2383
2410
  "name": {
2384
- "description": "The name of your worker. Alphanumeric + dashes only.",
2411
+ "description": "The name of your Worker. Alphanumeric + dashes only.",
2385
2412
  "type": "string"
2386
2413
  },
2387
2414
  "no_bundle": {
@@ -2394,7 +2421,7 @@
2394
2421
  },
2395
2422
  "placement": {
2396
2423
  "additionalProperties": false,
2397
- "description": "Specify how the worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
2424
+ "description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/",
2398
2425
  "properties": {
2399
2426
  "mode": {
2400
2427
  "enum": [
@@ -2415,7 +2442,7 @@
2415
2442
  },
2416
2443
  "queues": {
2417
2444
  "additionalProperties": false,
2418
- "default": "`{}`",
2445
+ "default": "`{consumers:[],producers:[]}`",
2419
2446
  "description": "Specifies Queues that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2420
2447
  "properties": {
2421
2448
  "consumers": {
@@ -2476,7 +2503,7 @@
2476
2503
  "additionalProperties": false,
2477
2504
  "properties": {
2478
2505
  "binding": {
2479
- "description": "The binding name used to refer to the Queue in the worker.",
2506
+ "description": "The binding name used to refer to the Queue in the Worker.",
2480
2507
  "type": "string"
2481
2508
  },
2482
2509
  "delivery_delay": {
@@ -2506,7 +2533,7 @@
2506
2533
  "additionalProperties": false,
2507
2534
  "properties": {
2508
2535
  "binding": {
2509
- "description": "The binding name used to refer to the R2 bucket in the worker.",
2536
+ "description": "The binding name used to refer to the R2 bucket in the Worker.",
2510
2537
  "type": "string"
2511
2538
  },
2512
2539
  "bucket_name": {
@@ -2532,10 +2559,10 @@
2532
2559
  },
2533
2560
  "route": {
2534
2561
  "$ref": "#/definitions/Route",
2535
- "description": "A route that your worker should be published to. Literally the same as routes, but only one. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled worker"
2562
+ "description": "A route that your Worker should be published to. Literally the same as routes, but only one. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker"
2536
2563
  },
2537
2564
  "routes": {
2538
- "description": "A list of routes that your worker should be published to. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled worker (see `triggers`)",
2565
+ "description": "A list of routes that your Worker should be published to. Only one of `routes` or `route` is required.\n\nOnly required when workers_dev is false, and there's no scheduled Worker (see `triggers`)",
2539
2566
  "items": {
2540
2567
  "$ref": "#/definitions/Route"
2541
2568
  },
@@ -2579,7 +2606,7 @@
2579
2606
  },
2580
2607
  "services": {
2581
2608
  "default": "`[]`",
2582
- "description": "Specifies service bindings (worker-to-worker) that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2609
+ "description": "Specifies service bindings (Worker-to-Worker) that are bound to this Worker environment.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2583
2610
  "items": {
2584
2611
  "additionalProperties": false,
2585
2612
  "properties": {
@@ -2609,6 +2636,8 @@
2609
2636
  "type": "array"
2610
2637
  },
2611
2638
  "tail_consumers": {
2639
+ "default": "`[]`",
2640
+ "description": "Specifies a list of Tail Workers that are bound to this Worker environment\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2612
2641
  "items": {
2613
2642
  "$ref": "#/definitions/TailConsumer"
2614
2643
  },
@@ -2617,7 +2646,7 @@
2617
2646
  "triggers": {
2618
2647
  "additionalProperties": false,
2619
2648
  "default": "`{crons:[]}`",
2620
- "description": "\"Cron\" definitions to trigger a worker's \"scheduled\" function.\n\nLets you call workers periodically, much like a cron job.\n\nMore details here https://developers.cloudflare.com/workers/platform/cron-triggers",
2649
+ "description": "\"Cron\" definitions to trigger a Worker's \"scheduled\" function.\n\nLets you call Workers periodically, much like a cron job.\n\nMore details here https://developers.cloudflare.com/workers/platform/cron-triggers",
2621
2650
  "properties": {
2622
2651
  "crons": {
2623
2652
  "items": {
@@ -2637,6 +2666,7 @@
2637
2666
  },
2638
2667
  "unsafe": {
2639
2668
  "additionalProperties": false,
2669
+ "default": "`{}`",
2640
2670
  "description": "\"Unsafe\" tables for features that aren't directly supported by wrangler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2641
2671
  "properties": {
2642
2672
  "bindings": {
@@ -2727,7 +2757,7 @@
2727
2757
  ]
2728
2758
  },
2729
2759
  "default": "`{}`",
2730
- "description": "A map of environment variables to set when deploying your worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2760
+ "description": "A map of environment variables to set when deploying your Worker.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
2731
2761
  "type": "object"
2732
2762
  },
2733
2763
  "vectorize": {
@@ -2737,7 +2767,7 @@
2737
2767
  "additionalProperties": false,
2738
2768
  "properties": {
2739
2769
  "binding": {
2740
- "description": "The binding name used to refer to the Vectorize index in the worker.",
2770
+ "description": "The binding name used to refer to the Vectorize index in the Worker.",
2741
2771
  "type": "string"
2742
2772
  },
2743
2773
  "index_name": {
@@ -2768,7 +2798,7 @@
2768
2798
  },
2769
2799
  "workers_dev": {
2770
2800
  "default": "`true` (This is a breaking change from Wrangler v1)",
2771
- "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your worker.",
2801
+ "description": "Whether we use <name>.<subdomain>.workers.dev to test and deploy your Worker.\n\n// Carmen according to our tests the default is undefined",
2772
2802
  "type": "boolean"
2773
2803
  },
2774
2804
  "zone_id": {
@@ -2849,7 +2879,7 @@
2849
2879
  "additionalProperties": false,
2850
2880
  "properties": {
2851
2881
  "cpu_ms": {
2852
- "description": "Maximum allowed CPU time for a worker's invocation in milliseconds",
2882
+ "description": "Maximum allowed CPU time for a Worker's invocation in milliseconds",
2853
2883
  "type": "number"
2854
2884
  }
2855
2885
  },