wrangler 4.138.0 → 4.139.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 +267 -72
- package/package.json +19 -19
- package/wrangler-dist/cli.d.ts +33 -11
- package/wrangler-dist/cli.js +1411 -1607
- package/wrangler-dist/experimental-config.d.mts +64 -11
- package/wrangler-dist/experimental-config.d.mts.map +1 -1
- package/wrangler-dist/experimental-config.mjs +10 -2
- package/wrangler-dist/experimental-config.mjs.map +1 -1
package/config-schema.json
CHANGED
|
@@ -662,30 +662,66 @@
|
|
|
662
662
|
"connect": {
|
|
663
663
|
"type": "array",
|
|
664
664
|
"items": {
|
|
665
|
-
"
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
"
|
|
669
|
-
"
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
665
|
+
"anyOf": [
|
|
666
|
+
{
|
|
667
|
+
"type": "object",
|
|
668
|
+
"additionalProperties": false,
|
|
669
|
+
"properties": {
|
|
670
|
+
"protocol": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"const": "tcp"
|
|
673
|
+
},
|
|
674
|
+
"port": {
|
|
675
|
+
"type": "number",
|
|
676
|
+
"description": "The port to listen on.",
|
|
677
|
+
"markdownDescription": "The port to listen on."
|
|
678
|
+
},
|
|
679
|
+
"address": {
|
|
680
|
+
"type": "string",
|
|
681
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
682
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"required": [
|
|
686
|
+
"port",
|
|
687
|
+
"protocol"
|
|
688
|
+
]
|
|
677
689
|
},
|
|
678
|
-
|
|
679
|
-
"type": "
|
|
680
|
-
"
|
|
681
|
-
"
|
|
690
|
+
{
|
|
691
|
+
"type": "object",
|
|
692
|
+
"additionalProperties": false,
|
|
693
|
+
"properties": {
|
|
694
|
+
"protocol": {
|
|
695
|
+
"type": "string",
|
|
696
|
+
"const": "udp"
|
|
697
|
+
},
|
|
698
|
+
"idle_timeout_ms": {
|
|
699
|
+
"type": "number",
|
|
700
|
+
"description": "The idle timeout in milliseconds after which a peer flow is closed.",
|
|
701
|
+
"markdownDescription": "The idle timeout in milliseconds after which a peer flow is closed."
|
|
702
|
+
},
|
|
703
|
+
"max_pending_bytes": {
|
|
704
|
+
"type": "number",
|
|
705
|
+
"description": "The maximum number of pending datagram bytes per peer flow.",
|
|
706
|
+
"markdownDescription": "The maximum number of pending datagram bytes per peer flow."
|
|
707
|
+
},
|
|
708
|
+
"port": {
|
|
709
|
+
"type": "number",
|
|
710
|
+
"description": "The port to listen on.",
|
|
711
|
+
"markdownDescription": "The port to listen on."
|
|
712
|
+
},
|
|
713
|
+
"address": {
|
|
714
|
+
"type": "string",
|
|
715
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
716
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"required": [
|
|
720
|
+
"port",
|
|
721
|
+
"protocol"
|
|
722
|
+
]
|
|
682
723
|
}
|
|
683
|
-
|
|
684
|
-
"required": [
|
|
685
|
-
"protocol",
|
|
686
|
-
"port"
|
|
687
|
-
],
|
|
688
|
-
"additionalProperties": false
|
|
724
|
+
]
|
|
689
725
|
},
|
|
690
726
|
"description": "Specifies raw sockets that this Worker should listen on. Each entry opens a listening socket on the given port that delivers incoming connections directly to the Worker's `connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
691
727
|
"markdownDescription": "Specifies raw sockets that this Worker should listen on.\nEach entry opens a listening socket on the\ngiven port that delivers incoming connections directly to the Worker's\n`connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
|
|
@@ -2438,30 +2474,66 @@
|
|
|
2438
2474
|
"connect": {
|
|
2439
2475
|
"type": "array",
|
|
2440
2476
|
"items": {
|
|
2441
|
-
"
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
"
|
|
2445
|
-
"
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2477
|
+
"anyOf": [
|
|
2478
|
+
{
|
|
2479
|
+
"type": "object",
|
|
2480
|
+
"additionalProperties": false,
|
|
2481
|
+
"properties": {
|
|
2482
|
+
"protocol": {
|
|
2483
|
+
"type": "string",
|
|
2484
|
+
"const": "tcp"
|
|
2485
|
+
},
|
|
2486
|
+
"port": {
|
|
2487
|
+
"type": "number",
|
|
2488
|
+
"description": "The port to listen on.",
|
|
2489
|
+
"markdownDescription": "The port to listen on."
|
|
2490
|
+
},
|
|
2491
|
+
"address": {
|
|
2492
|
+
"type": "string",
|
|
2493
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
2494
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
2495
|
+
}
|
|
2496
|
+
},
|
|
2497
|
+
"required": [
|
|
2498
|
+
"port",
|
|
2499
|
+
"protocol"
|
|
2500
|
+
]
|
|
2453
2501
|
},
|
|
2454
|
-
|
|
2455
|
-
"type": "
|
|
2456
|
-
"
|
|
2457
|
-
"
|
|
2502
|
+
{
|
|
2503
|
+
"type": "object",
|
|
2504
|
+
"additionalProperties": false,
|
|
2505
|
+
"properties": {
|
|
2506
|
+
"protocol": {
|
|
2507
|
+
"type": "string",
|
|
2508
|
+
"const": "udp"
|
|
2509
|
+
},
|
|
2510
|
+
"idle_timeout_ms": {
|
|
2511
|
+
"type": "number",
|
|
2512
|
+
"description": "The idle timeout in milliseconds after which a peer flow is closed.",
|
|
2513
|
+
"markdownDescription": "The idle timeout in milliseconds after which a peer flow is closed."
|
|
2514
|
+
},
|
|
2515
|
+
"max_pending_bytes": {
|
|
2516
|
+
"type": "number",
|
|
2517
|
+
"description": "The maximum number of pending datagram bytes per peer flow.",
|
|
2518
|
+
"markdownDescription": "The maximum number of pending datagram bytes per peer flow."
|
|
2519
|
+
},
|
|
2520
|
+
"port": {
|
|
2521
|
+
"type": "number",
|
|
2522
|
+
"description": "The port to listen on.",
|
|
2523
|
+
"markdownDescription": "The port to listen on."
|
|
2524
|
+
},
|
|
2525
|
+
"address": {
|
|
2526
|
+
"type": "string",
|
|
2527
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
2528
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2531
|
+
"required": [
|
|
2532
|
+
"port",
|
|
2533
|
+
"protocol"
|
|
2534
|
+
]
|
|
2458
2535
|
}
|
|
2459
|
-
|
|
2460
|
-
"required": [
|
|
2461
|
-
"protocol",
|
|
2462
|
-
"port"
|
|
2463
|
-
],
|
|
2464
|
-
"additionalProperties": false
|
|
2536
|
+
]
|
|
2465
2537
|
},
|
|
2466
2538
|
"description": "Specifies raw sockets that this Worker should listen on. Each entry opens a listening socket on the given port that delivers incoming connections directly to the Worker's `connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
2467
2539
|
"markdownDescription": "Specifies raw sockets that this Worker should listen on.\nEach entry opens a listening socket on the\ngiven port that delivers incoming connections directly to the Worker's\n`connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
|
|
@@ -3621,6 +3693,9 @@
|
|
|
3621
3693
|
},
|
|
3622
3694
|
{
|
|
3623
3695
|
"$ref": "#/definitions/WorkerEntrypointExport"
|
|
3696
|
+
},
|
|
3697
|
+
{
|
|
3698
|
+
"$ref": "#/definitions/WorkflowExport"
|
|
3624
3699
|
}
|
|
3625
3700
|
]
|
|
3626
3701
|
},
|
|
@@ -3785,6 +3860,90 @@
|
|
|
3785
3860
|
],
|
|
3786
3861
|
"additionalProperties": false
|
|
3787
3862
|
},
|
|
3863
|
+
"WorkflowExport": {
|
|
3864
|
+
"type": "object",
|
|
3865
|
+
"properties": {
|
|
3866
|
+
"limits": {
|
|
3867
|
+
"type": "object",
|
|
3868
|
+
"properties": {
|
|
3869
|
+
"steps": {
|
|
3870
|
+
"type": "number",
|
|
3871
|
+
"description": "Maximum number of steps a Workflow instance can execute",
|
|
3872
|
+
"markdownDescription": "Maximum number of steps a Workflow instance can execute"
|
|
3873
|
+
}
|
|
3874
|
+
},
|
|
3875
|
+
"additionalProperties": false,
|
|
3876
|
+
"description": "Optional limits for the Workflow",
|
|
3877
|
+
"markdownDescription": "Optional limits for the Workflow"
|
|
3878
|
+
},
|
|
3879
|
+
"concurrency": {
|
|
3880
|
+
"type": "object",
|
|
3881
|
+
"properties": {
|
|
3882
|
+
"limit": {
|
|
3883
|
+
"type": "number",
|
|
3884
|
+
"description": "Maximum number of Workflow instances that can run concurrently",
|
|
3885
|
+
"markdownDescription": "Maximum number of Workflow instances that can run concurrently"
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
"additionalProperties": false,
|
|
3889
|
+
"description": "Optional concurrency configuration for the Workflow",
|
|
3890
|
+
"markdownDescription": "Optional concurrency configuration for the Workflow"
|
|
3891
|
+
},
|
|
3892
|
+
"schedules": {
|
|
3893
|
+
"anyOf": [
|
|
3894
|
+
{
|
|
3895
|
+
"type": "string"
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"type": "array",
|
|
3899
|
+
"items": {
|
|
3900
|
+
"type": "string"
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
],
|
|
3904
|
+
"description": "Optional cron schedule(s) for automatically triggering workflow instances",
|
|
3905
|
+
"markdownDescription": "Optional cron schedule(s) for automatically triggering workflow instances"
|
|
3906
|
+
},
|
|
3907
|
+
"default_retention": {
|
|
3908
|
+
"type": "object",
|
|
3909
|
+
"properties": {
|
|
3910
|
+
"success_retention": {
|
|
3911
|
+
"type": [
|
|
3912
|
+
"number",
|
|
3913
|
+
"string"
|
|
3914
|
+
],
|
|
3915
|
+
"description": "How long to retain instances that completed successfully or were terminated",
|
|
3916
|
+
"markdownDescription": "How long to retain instances that completed successfully or were terminated"
|
|
3917
|
+
},
|
|
3918
|
+
"error_retention": {
|
|
3919
|
+
"type": [
|
|
3920
|
+
"number",
|
|
3921
|
+
"string"
|
|
3922
|
+
],
|
|
3923
|
+
"description": "How long to retain errored instances",
|
|
3924
|
+
"markdownDescription": "How long to retain errored instances"
|
|
3925
|
+
}
|
|
3926
|
+
},
|
|
3927
|
+
"additionalProperties": false,
|
|
3928
|
+
"description": "Optional default retention for instances of this Workflow, applied when an instance does not set its own retention. Accepts milliseconds or a duration string such as `\"3 days\"`, and is validated by the Workflows API at deploy time.",
|
|
3929
|
+
"markdownDescription": "Optional default retention for instances of this Workflow, applied when an instance does not\nset its own retention. Accepts milliseconds or a duration string such as `\"3 days\"`, and is\nvalidated by the Workflows API at deploy time."
|
|
3930
|
+
},
|
|
3931
|
+
"type": {
|
|
3932
|
+
"type": "string",
|
|
3933
|
+
"const": "workflow"
|
|
3934
|
+
},
|
|
3935
|
+
"name": {
|
|
3936
|
+
"type": "string"
|
|
3937
|
+
}
|
|
3938
|
+
},
|
|
3939
|
+
"required": [
|
|
3940
|
+
"type",
|
|
3941
|
+
"name"
|
|
3942
|
+
],
|
|
3943
|
+
"additionalProperties": false,
|
|
3944
|
+
"description": "A single declarative Workflow export entry in the `exports` config map. The map key is the exported class name (the class extending `WorkflowEntrypoint`); `name` is the workflow's stable identity, used for instance and storage namespacing, and is required. The remaining settings match the ones accepted by `workflows` bindings.",
|
|
3945
|
+
"markdownDescription": "A single declarative Workflow export entry in the `exports` config map. The\nmap key is the exported class name (the class extending `WorkflowEntrypoint`);\n`name` is the workflow's stable identity, used for instance and storage\nnamespacing, and is required. The remaining settings match the ones accepted\nby `workflows` bindings."
|
|
3946
|
+
},
|
|
3788
3947
|
"ArtifactsEventTrigger": {
|
|
3789
3948
|
"type": "object",
|
|
3790
3949
|
"properties": {
|
|
@@ -4100,19 +4259,19 @@
|
|
|
4100
4259
|
"additionalProperties": false,
|
|
4101
4260
|
"properties": {
|
|
4102
4261
|
"logpush": {
|
|
4103
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4262
|
+
"$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-597452004818536"
|
|
4104
4263
|
},
|
|
4105
4264
|
"observability": {
|
|
4106
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4265
|
+
"$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-597452004818536"
|
|
4107
4266
|
},
|
|
4108
4267
|
"limits": {
|
|
4109
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4268
|
+
"$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-597452004818536"
|
|
4110
4269
|
},
|
|
4111
4270
|
"placement": {
|
|
4112
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4271
|
+
"$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-597452004818536"
|
|
4113
4272
|
},
|
|
4114
4273
|
"cache": {
|
|
4115
|
-
"$ref": "#/definitions/interface-769040647-
|
|
4274
|
+
"$ref": "#/definitions/interface-769040647-14860-25222-769040647-0-597452004818536"
|
|
4116
4275
|
},
|
|
4117
4276
|
"define": {
|
|
4118
4277
|
"type": "object",
|
|
@@ -4389,30 +4548,66 @@
|
|
|
4389
4548
|
"connect": {
|
|
4390
4549
|
"type": "array",
|
|
4391
4550
|
"items": {
|
|
4392
|
-
"
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
"
|
|
4396
|
-
"
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4551
|
+
"anyOf": [
|
|
4552
|
+
{
|
|
4553
|
+
"type": "object",
|
|
4554
|
+
"additionalProperties": false,
|
|
4555
|
+
"properties": {
|
|
4556
|
+
"protocol": {
|
|
4557
|
+
"type": "string",
|
|
4558
|
+
"const": "tcp"
|
|
4559
|
+
},
|
|
4560
|
+
"port": {
|
|
4561
|
+
"type": "number",
|
|
4562
|
+
"description": "The port to listen on.",
|
|
4563
|
+
"markdownDescription": "The port to listen on."
|
|
4564
|
+
},
|
|
4565
|
+
"address": {
|
|
4566
|
+
"type": "string",
|
|
4567
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
4568
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
4569
|
+
}
|
|
4570
|
+
},
|
|
4571
|
+
"required": [
|
|
4572
|
+
"port",
|
|
4573
|
+
"protocol"
|
|
4574
|
+
]
|
|
4404
4575
|
},
|
|
4405
|
-
|
|
4406
|
-
"type": "
|
|
4407
|
-
"
|
|
4408
|
-
"
|
|
4576
|
+
{
|
|
4577
|
+
"type": "object",
|
|
4578
|
+
"additionalProperties": false,
|
|
4579
|
+
"properties": {
|
|
4580
|
+
"protocol": {
|
|
4581
|
+
"type": "string",
|
|
4582
|
+
"const": "udp"
|
|
4583
|
+
},
|
|
4584
|
+
"idle_timeout_ms": {
|
|
4585
|
+
"type": "number",
|
|
4586
|
+
"description": "The idle timeout in milliseconds after which a peer flow is closed.",
|
|
4587
|
+
"markdownDescription": "The idle timeout in milliseconds after which a peer flow is closed."
|
|
4588
|
+
},
|
|
4589
|
+
"max_pending_bytes": {
|
|
4590
|
+
"type": "number",
|
|
4591
|
+
"description": "The maximum number of pending datagram bytes per peer flow.",
|
|
4592
|
+
"markdownDescription": "The maximum number of pending datagram bytes per peer flow."
|
|
4593
|
+
},
|
|
4594
|
+
"port": {
|
|
4595
|
+
"type": "number",
|
|
4596
|
+
"description": "The port to listen on.",
|
|
4597
|
+
"markdownDescription": "The port to listen on."
|
|
4598
|
+
},
|
|
4599
|
+
"address": {
|
|
4600
|
+
"type": "string",
|
|
4601
|
+
"description": "The address to bind to. Defaults to `127.0.0.1`.",
|
|
4602
|
+
"markdownDescription": "The address to bind to. Defaults to `127.0.0.1`."
|
|
4603
|
+
}
|
|
4604
|
+
},
|
|
4605
|
+
"required": [
|
|
4606
|
+
"port",
|
|
4607
|
+
"protocol"
|
|
4608
|
+
]
|
|
4409
4609
|
}
|
|
4410
|
-
|
|
4411
|
-
"required": [
|
|
4412
|
-
"protocol",
|
|
4413
|
-
"port"
|
|
4414
|
-
],
|
|
4415
|
-
"additionalProperties": false
|
|
4610
|
+
]
|
|
4416
4611
|
},
|
|
4417
4612
|
"description": "Specifies raw sockets that this Worker should listen on. Each entry opens a listening socket on the given port that delivers incoming connections directly to the Worker's `connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment, and so must be specified in every named environment.",
|
|
4418
4613
|
"markdownDescription": "Specifies raw sockets that this Worker should listen on.\nEach entry opens a listening socket on the\ngiven port that delivers incoming connections directly to the Worker's\n`connect(socket, env, ctx)` handler.\n\nNOTE: This field is not automatically inherited from the top level environment,\nand so must be specified in every named environment.",
|
|
@@ -5394,7 +5589,7 @@
|
|
|
5394
5589
|
"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`, `placement`, `cache`",
|
|
5395
5590
|
"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`, `placement`, `cache`"
|
|
5396
5591
|
},
|
|
5397
|
-
"interface-769040647-
|
|
5592
|
+
"interface-769040647-14860-25222-769040647-0-597452004818536": {
|
|
5398
5593
|
"type": "object",
|
|
5399
5594
|
"properties": {
|
|
5400
5595
|
"name": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.139.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assembly",
|
|
@@ -71,17 +71,17 @@
|
|
|
71
71
|
"esbuild": "0.28.1",
|
|
72
72
|
"path-to-regexp": "6.3.0",
|
|
73
73
|
"unenv": "2.0.0-rc.24",
|
|
74
|
-
"workerd": "1.
|
|
75
|
-
"@cloudflare/kv-asset-handler": "0.5.0",
|
|
74
|
+
"workerd": "1.20260923.1",
|
|
76
75
|
"@cloudflare/unenv-preset": "2.16.2",
|
|
77
|
-
"
|
|
76
|
+
"@cloudflare/kv-asset-handler": "0.5.0",
|
|
77
|
+
"miniflare": "5.20260923.0-alpha"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
81
81
|
"@aws-sdk/s3-request-presigner": "^3.721.0",
|
|
82
82
|
"@bomb.sh/tab": "^0.0.12",
|
|
83
83
|
"@cloudflare/types": "6.18.4",
|
|
84
|
-
"@cloudflare/workers-types": "^5.
|
|
84
|
+
"@cloudflare/workers-types": "^5.20260923.1",
|
|
85
85
|
"@cspotcode/source-map-support": "0.8.1",
|
|
86
86
|
"@netlify/build-info": "10.5.1",
|
|
87
87
|
"@sentry/node": "^7.86.0",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"semiver": "^1.1.0",
|
|
144
144
|
"shell-quote": "^1.9.0",
|
|
145
145
|
"signal-exit": "4.1.0",
|
|
146
|
-
"smol-toml": "1.
|
|
146
|
+
"smol-toml": "1.9.0",
|
|
147
147
|
"supports-color": "^9.2.2",
|
|
148
148
|
"timeago.js": "4.0.2",
|
|
149
149
|
"tinyexec": "^1.2.4",
|
|
@@ -161,25 +161,25 @@
|
|
|
161
161
|
"yaml": "^2.8.1",
|
|
162
162
|
"yargs": "^17.7.2",
|
|
163
163
|
"zod": "4.4.3",
|
|
164
|
-
"@cloudflare/autoconfig": "0.6.
|
|
165
|
-
"@cloudflare/build-output-utils": "0.
|
|
166
|
-
"@cloudflare/cli-shared-helpers": "0.1.
|
|
167
|
-
"@cloudflare/config": "0.
|
|
168
|
-
"@cloudflare/containers-shared": "0.
|
|
169
|
-
"@cloudflare/
|
|
170
|
-
"@cloudflare/
|
|
164
|
+
"@cloudflare/autoconfig": "0.6.4",
|
|
165
|
+
"@cloudflare/build-output-utils": "0.8.0",
|
|
166
|
+
"@cloudflare/cli-shared-helpers": "0.1.38",
|
|
167
|
+
"@cloudflare/config": "0.18.0",
|
|
168
|
+
"@cloudflare/containers-shared": "0.20.0",
|
|
169
|
+
"@cloudflare/pages-functions": "0.1.0",
|
|
170
|
+
"@cloudflare/deploy-helpers": "0.16.0",
|
|
171
|
+
"@cloudflare/pages-shared": "^0.13.188",
|
|
172
|
+
"@cloudflare/remote-bindings": "0.0.34",
|
|
173
|
+
"@cloudflare/runtime-types": "0.1.2",
|
|
171
174
|
"@cloudflare/shared-ast-primitives": "1.1.0",
|
|
172
|
-
"@cloudflare/remote-bindings": "0.0.33",
|
|
173
|
-
"@cloudflare/runtime-types": "0.1.1",
|
|
174
|
-
"@cloudflare/workers-auth": "0.9.1",
|
|
175
175
|
"@cloudflare/workers-shared": "0.20.0",
|
|
176
|
-
"@cloudflare/
|
|
176
|
+
"@cloudflare/workers-auth": "0.9.2",
|
|
177
|
+
"@cloudflare/workers-utils": "0.42.0",
|
|
177
178
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
178
|
-
"@cloudflare/workers-utils": "0.41.2",
|
|
179
179
|
"@cloudflare/workflows-shared": "0.14.0"
|
|
180
180
|
},
|
|
181
181
|
"peerDependencies": {
|
|
182
|
-
"@cloudflare/workers-types": "^5.
|
|
182
|
+
"@cloudflare/workers-types": "^5.20260923.1"
|
|
183
183
|
},
|
|
184
184
|
"peerDependenciesMeta": {
|
|
185
185
|
"@cloudflare/workers-types": {
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1378,8 +1378,9 @@ type ContainerApp = {
|
|
|
1378
1378
|
* The scheduling policy of the application
|
|
1379
1379
|
* @optional
|
|
1380
1380
|
* `"durable_object"` makes each Durable Object instance own its Container.
|
|
1381
|
-
* In that mode, `name`, `class_name`, `scheduling_policy`, `images`,
|
|
1382
|
-
* application-wide log `observability`
|
|
1381
|
+
* In that mode, `name`, `class_name`, `scheduling_policy`, `images`,
|
|
1382
|
+
* application-wide log `observability`, `ssh`, and `authorized_keys` are
|
|
1383
|
+
* supported on this entry.
|
|
1383
1384
|
*
|
|
1384
1385
|
* @default "default"
|
|
1385
1386
|
*/
|
|
@@ -1643,7 +1644,18 @@ interface WorkerEntrypointExport {
|
|
|
1643
1644
|
enabled: boolean;
|
|
1644
1645
|
};
|
|
1645
1646
|
}
|
|
1646
|
-
|
|
1647
|
+
/**
|
|
1648
|
+
* A single declarative Workflow export entry in the `exports` config map. The
|
|
1649
|
+
* map key is the exported class name (the class extending `WorkflowEntrypoint`);
|
|
1650
|
+
* `name` is the workflow's stable identity, used for instance and storage
|
|
1651
|
+
* namespacing, and is required. The remaining settings match the ones accepted
|
|
1652
|
+
* by `workflows` bindings.
|
|
1653
|
+
*/
|
|
1654
|
+
interface WorkflowExport extends Pick<WorkflowBinding, "limits" | "concurrency" | "schedules" | "default_retention"> {
|
|
1655
|
+
type: "workflow";
|
|
1656
|
+
name: string;
|
|
1657
|
+
}
|
|
1658
|
+
type ConfiguredExport = DurableObjectExport | WorkerEntrypointExport | WorkflowExport;
|
|
1647
1659
|
/**
|
|
1648
1660
|
* The declarative `exports` map keyed by export name. Durable Object exports
|
|
1649
1661
|
* are mutually exclusive with `migrations` at the wrangler config layer.
|
|
@@ -2052,6 +2064,23 @@ type WorkflowBinding = {
|
|
|
2052
2064
|
error_retention?: number | string;
|
|
2053
2065
|
};
|
|
2054
2066
|
};
|
|
2067
|
+
type ConnectHandlerConfigBase = {
|
|
2068
|
+
/** The port to listen on. */
|
|
2069
|
+
port: number;
|
|
2070
|
+
/** The address to bind to. Defaults to `127.0.0.1`. */
|
|
2071
|
+
address?: string;
|
|
2072
|
+
};
|
|
2073
|
+
type TcpConnectHandlerConfig = ConnectHandlerConfigBase & {
|
|
2074
|
+
protocol: "tcp";
|
|
2075
|
+
};
|
|
2076
|
+
type UdpConnectHandlerConfig = ConnectHandlerConfigBase & {
|
|
2077
|
+
protocol: "udp";
|
|
2078
|
+
/** The idle timeout in milliseconds after which a peer flow is closed. */
|
|
2079
|
+
idle_timeout_ms?: number;
|
|
2080
|
+
/** The maximum number of pending datagram bytes per peer flow. */
|
|
2081
|
+
max_pending_bytes?: number;
|
|
2082
|
+
};
|
|
2083
|
+
type ConnectHandlerConfig = TcpConnectHandlerConfig | UdpConnectHandlerConfig;
|
|
2055
2084
|
/**
|
|
2056
2085
|
* The `EnvironmentNonInheritable` interface declares all the configuration fields for an environment
|
|
2057
2086
|
* that cannot be inherited from the top-level environment, and must be defined specifically.
|
|
@@ -2253,14 +2282,7 @@ interface EnvironmentNonInheritable {
|
|
|
2253
2282
|
* @default []
|
|
2254
2283
|
* @nonInheritable
|
|
2255
2284
|
*/
|
|
2256
|
-
connect:
|
|
2257
|
-
/** The transport protocol to listen for. */
|
|
2258
|
-
protocol: "tcp";
|
|
2259
|
-
/** The port to listen on. */
|
|
2260
|
-
port: number;
|
|
2261
|
-
/** The address to bind to. Defaults to `127.0.0.1`. */
|
|
2262
|
-
address?: string;
|
|
2263
|
-
}[];
|
|
2285
|
+
connect: ConnectHandlerConfig[];
|
|
2264
2286
|
/**
|
|
2265
2287
|
* Specifies R2 buckets that are bound to this Worker environment.
|
|
2266
2288
|
*
|