vercel 59.11.7 → 59.12.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.
Files changed (125) hide show
  1. package/dist/chunks/{add-KSJQYR5C.js → add-OO3JGLZW.js} +3 -3
  2. package/dist/chunks/{add-WU2QYHYL.js → add-RTXDASSS.js} +3 -3
  3. package/dist/chunks/add-XGO6LHMD.js +221 -0
  4. package/dist/chunks/{build-F3J6FLPD.js → build-JINV2UD4.js} +3 -3
  5. package/dist/chunks/chunk-2NIDTSQJ.js +305 -0
  6. package/dist/chunks/{chunk-SHFNEZVI.js → chunk-32XSMM3W.js} +1 -1
  7. package/dist/chunks/{chunk-N4QHMXOO.js → chunk-3BB2HOO2.js} +3 -2
  8. package/dist/chunks/{chunk-DSTNNQVV.js → chunk-3F25W3GA.js} +3 -3
  9. package/dist/chunks/{chunk-OIH6FP5Y.js → chunk-4TUMNBEE.js} +2 -2
  10. package/dist/chunks/{chunk-4IVSM24H.js → chunk-ABSZNJQO.js} +1 -1
  11. package/dist/chunks/{chunk-CNDPIHY5.js → chunk-AV747POV.js} +24 -19
  12. package/dist/chunks/{chunk-QHS645AZ.js → chunk-CZ5QQRXD.js} +3 -3
  13. package/dist/chunks/{chunk-FL4JLNT2.js → chunk-E47NARDE.js} +2 -2
  14. package/dist/chunks/{chunk-XM3LOQIX.js → chunk-EDMW7SBH.js} +76 -92
  15. package/dist/chunks/{chunk-PJXMXMCO.js → chunk-ELZ6WQQA.js} +2 -2
  16. package/dist/chunks/{chunk-FVNJTRCE.js → chunk-EOLGLGXJ.js} +2 -2
  17. package/dist/chunks/chunk-GDOUDU6O.js +74 -0
  18. package/dist/chunks/{chunk-GCVXKRR5.js → chunk-HD4DR3DA.js} +1 -0
  19. package/dist/chunks/{chunk-DWIC7MRV.js → chunk-HKHXKSXQ.js} +1 -1
  20. package/dist/chunks/{chunk-ZBEECGFD.js → chunk-HM24ZWQL.js} +1 -1
  21. package/dist/chunks/chunk-HR2MP4XF.js +324 -0
  22. package/dist/chunks/{chunk-EZQDYIVB.js → chunk-JOXNBQ7W.js} +1 -1
  23. package/dist/chunks/{chunk-DBYHS3CK.js → chunk-KAF4WFF3.js} +2 -2
  24. package/dist/chunks/{chunk-VYC45Q4Z.js → chunk-KNO327AW.js} +1 -1
  25. package/dist/chunks/{chunk-XD4DCYMX.js → chunk-L6B6BRHH.js} +2 -2
  26. package/dist/chunks/{chunk-X7DBBZQD.js → chunk-LDV2R4P4.js} +1 -1
  27. package/dist/chunks/{chunk-2TSBB22D.js → chunk-MADFAH3O.js} +2 -2
  28. package/dist/chunks/{chunk-TGNEG57M.js → chunk-MDGPZHSM.js} +110 -14
  29. package/dist/chunks/{chunk-XIFATBH5.js → chunk-NDY3JDOU.js} +4 -4
  30. package/dist/chunks/{chunk-NSOYO6JQ.js → chunk-OJHDGHOB.js} +6 -6
  31. package/dist/chunks/{chunk-KJBZ5ZST.js → chunk-PIMIVJYK.js} +1 -0
  32. package/dist/chunks/{chunk-C762AAVU.js → chunk-PP5GKSIX.js} +4 -4
  33. package/dist/chunks/{chunk-Z7JWYFOY.js → chunk-QB2UHSUB.js} +1 -1
  34. package/dist/chunks/chunk-QIUK4Z7Q.js +79 -0
  35. package/dist/chunks/{chunk-GHKJAK5V.js → chunk-RNK3LXLR.js} +4 -4
  36. package/dist/chunks/{chunk-CEDN47PH.js → chunk-SWO66HE2.js} +1 -1
  37. package/dist/chunks/{chunk-EPOLDWRA.js → chunk-TDGK45FB.js} +1 -1
  38. package/dist/chunks/{chunk-PFM75KY3.js → chunk-UA55I7M6.js} +3 -3
  39. package/dist/chunks/{chunk-VT3Z7HF6.js → chunk-UJPVHLL5.js} +4 -4
  40. package/dist/chunks/{chunk-UARGTFCT.js → chunk-VJSREJVM.js} +1 -1
  41. package/dist/chunks/{chunk-WL6QYSGD.js → chunk-WPBCUXMZ.js} +506 -22
  42. package/dist/chunks/{chunk-A5JZS6ZN.js → chunk-WSZ5E4WH.js} +1 -1
  43. package/dist/chunks/{chunk-GUU4Z2AQ.js → chunk-WT2Y7FRD.js} +6 -6
  44. package/dist/chunks/{chunk-G3PXSXIB.js → chunk-WT6C2ALC.js} +3 -3
  45. package/dist/chunks/{chunk-7KROIXQM.js → chunk-X6TGUHFD.js} +3 -3
  46. package/dist/chunks/{chunk-QOPTXV4G.js → chunk-YPMFZRTN.js} +1 -1
  47. package/dist/chunks/{chunk-FVT74RZ5.js → chunk-YRESLJCW.js} +11 -11
  48. package/dist/chunks/{clear-XUQO4ZTK.js → clear-GQTDYSKJ.js} +3 -3
  49. package/dist/chunks/{compile-vercel-config-D3ARNHTN.js → compile-vercel-config-URVMKDVW.js} +2 -2
  50. package/dist/chunks/{config-37OAE7QJ.js → config-MSVQR5T6.js} +7 -7
  51. package/dist/chunks/{config-MEDLXUVM.js → config-OAXY4J6P.js} +3 -3
  52. package/dist/chunks/config-validator.mjs +1 -1
  53. package/dist/chunks/{delete-VSWDZ2SW.js → delete-57QO64HD.js} +5 -5
  54. package/dist/chunks/{delete-3N3YZZOF.js → delete-XN6ESD7C.js} +5 -5
  55. package/dist/chunks/{detect-services-TESZCQWG.js → detect-services-UPY4LTBZ.js} +6 -6
  56. package/dist/chunks/{disable-A4FLFMC7.js → disable-BYI46V7B.js} +5 -5
  57. package/dist/chunks/{discard-CHGFULBZ.js → discard-IIQL44ZZ.js} +5 -5
  58. package/dist/chunks/{edit-MHSYAPDR.js → edit-BRNS3OR4.js} +6 -6
  59. package/dist/chunks/{edit-JZ63AJYQ.js → edit-JTW7XZH7.js} +5 -5
  60. package/dist/chunks/{enable-KD46SEC5.js → enable-CH5FSQMR.js} +5 -5
  61. package/dist/chunks/{export-42QZLBSN.js → export-6WHQOWKM.js} +5 -5
  62. package/dist/chunks/{image-GP4H73A2.js → image-ZSLYATWG.js} +3 -3
  63. package/dist/chunks/{import-builders-6TBLMPL2.js → import-builders-FNMYJZGG.js} +4 -4
  64. package/dist/chunks/{inspect-5FMWMY3C.js → inspect-4RDZSYWU.js} +10 -10
  65. package/dist/chunks/{inspect-MUVK6MMT.js → inspect-7WQXZWET.js} +3 -3
  66. package/dist/chunks/{inspect-Q3DWW7MC.js → inspect-CGXTNMMO.js} +9 -9
  67. package/dist/chunks/{inspect-RNTSYM6O.js → inspect-XJ7BYLZ5.js} +3 -3
  68. package/dist/chunks/{inspect-QFXAOUL4.js → inspect-Z2MBTTB7.js} +3 -3
  69. package/dist/chunks/{list-IHHIPXEC.js → list-65LW6OTM.js} +6 -6
  70. package/dist/chunks/{list-XHD5DLEX.js → list-7W3PHRB6.js} +7 -7
  71. package/dist/chunks/{list-JRNWLSO5.js → list-KS22Y57L.js} +2 -2
  72. package/dist/chunks/{login-PCT6KFWY.js → login-NXULVQZ2.js} +3 -3
  73. package/dist/chunks/{ls-TGHCCARZ.js → ls-35EOVEIQ.js} +4 -4
  74. package/dist/chunks/{ls-PQZ2RIDX.js → ls-5GKS5QRW.js} +4 -4
  75. package/dist/chunks/ls-ADYFYYIW.js +204 -0
  76. package/dist/chunks/{ls-SVOHC3XW.js → ls-DZYN3SNS.js} +4 -4
  77. package/dist/chunks/{ls-VRIH5WA3.js → ls-HVQOGBGV.js} +7 -7
  78. package/dist/chunks/{ls-GPEHEFCF.js → ls-I2PWG7YN.js} +4 -4
  79. package/dist/chunks/{open-E7DEKYDU.js → open-H34HXJHP.js} +5 -5
  80. package/dist/chunks/{permissions-JKOONWVL.js → permissions-ZPPEPKVE.js} +4 -4
  81. package/dist/chunks/{publish-EDDELDE5.js → publish-NRMKXHAU.js} +5 -5
  82. package/dist/chunks/{pull-646WEVDE.js → pull-WUT3XTZX.js} +7 -7
  83. package/dist/chunks/{push-LTNW5OVD.js → push-WFNCEA5J.js} +3 -3
  84. package/dist/chunks/{query-LU4N6KPO.js → query-2FQM3F7N.js} +7 -7
  85. package/dist/chunks/{reorder-22PKJMZP.js → reorder-GYCT7L3C.js} +5 -5
  86. package/dist/chunks/{reply-SF2EZMVZ.js → reply-RFEXNYZ7.js} +5 -5
  87. package/dist/chunks/{resolve-ZCZGXTOT.js → resolve-ZFGT7W6Z.js} +5 -5
  88. package/dist/chunks/{restore-VJAWZXB4.js → restore-JAXPMYL5.js} +5 -5
  89. package/dist/chunks/rm-CLKQN5E4.js +162 -0
  90. package/dist/chunks/{rm-WNPGTUBH.js → rm-JPV5V2SH.js} +3 -3
  91. package/dist/chunks/{rm-KN2QFCKO.js → rm-N7SGFQOA.js} +3 -3
  92. package/dist/chunks/{rm-KVEAJPRE.js → rm-UQJ4CZJH.js} +3 -3
  93. package/dist/chunks/{rm-OSZ5FZUM.js → rm-ZUQ4U454.js} +7 -7
  94. package/dist/chunks/rule-inspect-HI3YY7OY.js +123 -0
  95. package/dist/chunks/{rules-65LKAQ35.js → rules-DA3Q64M4.js} +7 -7
  96. package/dist/chunks/{schema-NXCW4M75.js → schema-R3C4CXJ6.js} +6 -6
  97. package/dist/chunks/schema-UYYFV3JB.js +381 -0
  98. package/dist/chunks/{set-FYJVKMPV.js → set-TOJPGW4J.js} +7 -7
  99. package/dist/chunks/{setup-and-link-KXPZE32P.js → setup-and-link-DRYXQOH4.js} +16 -16
  100. package/dist/chunks/{tags-ANIRP5E3.js → tags-TNLVFNVI.js} +2 -2
  101. package/dist/chunks/update-X6JB3NPI.js +224 -0
  102. package/dist/chunks/vlt-builder-importer-USCFHWPL.js +322 -0
  103. package/dist/commands/build/index.js +19 -19
  104. package/dist/commands/deploy/index.js +19 -19
  105. package/dist/commands/dev/index.js +25 -25
  106. package/dist/commands/env/index.js +12 -12
  107. package/dist/commands/link/index.js +12 -12
  108. package/dist/commands/list/index.js +5 -5
  109. package/dist/commands-bulk.js +8273 -3511
  110. package/dist/help.js +1 -1
  111. package/dist/index.js +28 -18
  112. package/dist/runtime-assets/node-preloads/next-dev-websocket.cjs +6 -0
  113. package/dist/version.mjs +1 -1
  114. package/package.json +52 -48
  115. package/dist/chunks/add-PERLOALD.js +0 -233
  116. package/dist/chunks/chunk-5GGUB4EO.js +0 -31
  117. package/dist/chunks/chunk-ARU7VBKR.js +0 -144
  118. package/dist/chunks/chunk-KEKR7OCB.js +0 -140
  119. package/dist/chunks/chunk-MXLA3VQS.js +0 -20
  120. package/dist/chunks/chunk-QKX7WKIN.js +0 -98
  121. package/dist/chunks/ls-PF7F4PP4.js +0 -197
  122. package/dist/chunks/rm-W722Q2AO.js +0 -173
  123. package/dist/chunks/rule-inspect-25Z6SNX3.js +0 -285
  124. package/dist/chunks/schema-7D6IGJEJ.js +0 -429
  125. package/dist/chunks/update-UT6CTKVG.js +0 -246
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-7Q45OKWR.js";
13
13
  import {
14
14
  metricsCommand
15
- } from "./chunk-OIH6FP5Y.js";
15
+ } from "./chunk-4TUMNBEE.js";
16
16
  import {
17
17
  routesCommand
18
18
  } from "./chunk-POOO7W47.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-SLPSPYVR.js";
22
22
  import {
23
23
  alertsCommand
24
- } from "./chunk-DWIC7MRV.js";
24
+ } from "./chunk-HKHXKSXQ.js";
25
25
  import {
26
26
  activityCommand
27
27
  } from "./chunk-4KD5BYHB.js";
@@ -39,6 +39,7 @@ import {
39
39
  envCommand
40
40
  } from "./chunk-XUAWTW4W.js";
41
41
  import {
42
+ allOption,
42
43
  confirmOption,
43
44
  deploymentOption,
44
45
  forceOption,
@@ -4124,7 +4125,7 @@ var teamLevelOption = {
4124
4125
  var overviewSubcommand = {
4125
4126
  name: "overview",
4126
4127
  aliases: [],
4127
- description: "Show a summary of your project's firewall configuration, including active rules, IP blocks, bypasses, and any unpublished draft changes",
4128
+ description: "Show your project's firewall configuration with the last day of activity: traffic by action, the busiest rules, and alerts raised in the same window",
4128
4129
  arguments: [],
4129
4130
  options: [
4130
4131
  projectOption,
@@ -4138,8 +4139,34 @@ var overviewSubcommand = {
4138
4139
  ],
4139
4140
  examples: [
4140
4141
  {
4141
- name: "Show firewall overview",
4142
+ name: "Show firewall configuration and recent activity",
4142
4143
  value: `${packageName} firewall overview`
4144
+ },
4145
+ {
4146
+ name: "Report the same data as JSON",
4147
+ value: `${packageName} firewall overview --json`
4148
+ }
4149
+ ]
4150
+ };
4151
+ var statusSubcommand = {
4152
+ name: "status",
4153
+ aliases: [],
4154
+ description: "Show firewall configuration in execution order, including managed rulesets and bypass paths",
4155
+ arguments: [],
4156
+ options: [
4157
+ projectOption,
4158
+ {
4159
+ name: "json",
4160
+ shorthand: null,
4161
+ type: Boolean,
4162
+ deprecated: false,
4163
+ description: "Output as JSON"
4164
+ }
4165
+ ],
4166
+ examples: [
4167
+ {
4168
+ name: "Show firewall status",
4169
+ value: `${packageName} firewall status`
4143
4170
  }
4144
4171
  ]
4145
4172
  };
@@ -5005,6 +5032,204 @@ var systemMitigationsSubcommand = {
5005
5032
  }
5006
5033
  ]
5007
5034
  };
5035
+ var jsonOutputOption = {
5036
+ name: "json",
5037
+ shorthand: null,
5038
+ type: Boolean,
5039
+ deprecated: false,
5040
+ description: "Output as JSON"
5041
+ };
5042
+ var alertsListSubcommand = {
5043
+ name: "list",
5044
+ aliases: ["ls"],
5045
+ description: "List active and resolved firewall alerts for the linked project",
5046
+ arguments: [],
5047
+ options: [
5048
+ projectOption,
5049
+ jsonOutputOption,
5050
+ {
5051
+ name: "since",
5052
+ shorthand: null,
5053
+ type: String,
5054
+ argument: "TIME",
5055
+ deprecated: false,
5056
+ description: "Start of the window: relative (24h, 7d) or ISO date (default: 24h ago)"
5057
+ },
5058
+ {
5059
+ name: "until",
5060
+ shorthand: null,
5061
+ type: String,
5062
+ argument: "TIME",
5063
+ deprecated: false,
5064
+ description: "End of the window (default: now)"
5065
+ }
5066
+ ],
5067
+ examples: [
5068
+ {
5069
+ name: "List alerts from the last day",
5070
+ value: `${packageName} firewall alerts list`
5071
+ },
5072
+ {
5073
+ name: "List alerts from the last week",
5074
+ value: `${packageName} firewall alerts list --since 7d`
5075
+ }
5076
+ ]
5077
+ };
5078
+ var alertsInspectSubcommand = {
5079
+ name: "inspect",
5080
+ aliases: [],
5081
+ description: "Show one firewall alert: window, request rate, denied IPs, and top hosts",
5082
+ arguments: [{ name: "alertid", required: true }],
5083
+ options: [projectOption, jsonOutputOption],
5084
+ examples: [
5085
+ {
5086
+ name: "Inspect an alert",
5087
+ value: `${packageName} firewall alerts inspect al_abc123`
5088
+ }
5089
+ ]
5090
+ };
5091
+ var alertsSubcommand = {
5092
+ name: "alerts",
5093
+ aliases: [],
5094
+ description: "List and inspect firewall alerts, including DDoS mitigation episodes",
5095
+ arguments: [],
5096
+ subcommands: [alertsListSubcommand, alertsInspectSubcommand],
5097
+ options: [],
5098
+ examples: [
5099
+ {
5100
+ name: "List alerts",
5101
+ value: `${packageName} firewall alerts list`
5102
+ },
5103
+ {
5104
+ name: "Inspect an alert",
5105
+ value: `${packageName} firewall alerts inspect al_abc123`
5106
+ }
5107
+ ]
5108
+ };
5109
+ var persistentActionsListSubcommand = {
5110
+ name: "list",
5111
+ aliases: ["ls"],
5112
+ description: "List persistent firewall actions for the linked project (default: last hour)",
5113
+ arguments: [],
5114
+ options: [
5115
+ projectOption,
5116
+ jsonOutputOption,
5117
+ {
5118
+ name: "since",
5119
+ shorthand: null,
5120
+ type: String,
5121
+ argument: "TIME",
5122
+ deprecated: false,
5123
+ description: "Start of the window: relative (1h, 6h) or ISO date (default: 1h ago)"
5124
+ },
5125
+ {
5126
+ name: "until",
5127
+ shorthand: null,
5128
+ type: String,
5129
+ argument: "TIME",
5130
+ deprecated: false,
5131
+ description: "End of the window (default: now)"
5132
+ },
5133
+ {
5134
+ name: "limit",
5135
+ shorthand: null,
5136
+ type: Number,
5137
+ argument: "NUMBER",
5138
+ deprecated: false,
5139
+ description: "Number of actions to show (default: 10)"
5140
+ }
5141
+ ],
5142
+ examples: [
5143
+ {
5144
+ name: "List persistent actions from the last hour",
5145
+ value: `${packageName} firewall persistent-actions list`
5146
+ },
5147
+ {
5148
+ name: "List persistent actions from the last six hours",
5149
+ value: `${packageName} firewall persistent-actions list --since 6h`
5150
+ }
5151
+ ]
5152
+ };
5153
+ var persistentActionsInspectSubcommand = {
5154
+ name: "inspect",
5155
+ aliases: [],
5156
+ description: "Show one persistent firewall action: window and requests by action",
5157
+ arguments: [{ name: "ip", required: true }],
5158
+ options: [
5159
+ projectOption,
5160
+ jsonOutputOption,
5161
+ {
5162
+ name: "host",
5163
+ shorthand: null,
5164
+ type: String,
5165
+ argument: "HOSTNAME",
5166
+ deprecated: false,
5167
+ description: "Narrow to a hostname"
5168
+ },
5169
+ {
5170
+ name: "action",
5171
+ shorthand: null,
5172
+ type: String,
5173
+ argument: "ACTION",
5174
+ deprecated: false,
5175
+ description: "Narrow to an action (challenge, deny, log, \u2026)"
5176
+ },
5177
+ {
5178
+ name: "since",
5179
+ shorthand: null,
5180
+ type: String,
5181
+ argument: "TIME",
5182
+ deprecated: false,
5183
+ description: "Start of the window: relative (1h, 6h) or ISO date (default: 1h ago)"
5184
+ },
5185
+ {
5186
+ name: "until",
5187
+ shorthand: null,
5188
+ type: String,
5189
+ argument: "TIME",
5190
+ deprecated: false,
5191
+ description: "End of the window (default: now)"
5192
+ },
5193
+ {
5194
+ name: "paths",
5195
+ shorthand: null,
5196
+ type: Boolean,
5197
+ deprecated: false,
5198
+ description: "Include the top request paths"
5199
+ }
5200
+ ],
5201
+ examples: [
5202
+ {
5203
+ name: "Inspect a persistent action by IP",
5204
+ value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --host vercel.com --action challenge`
5205
+ },
5206
+ {
5207
+ name: "Include the paths the client requested",
5208
+ value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --paths`
5209
+ }
5210
+ ]
5211
+ };
5212
+ var persistentActionsSubcommand = {
5213
+ name: "persistent-actions",
5214
+ aliases: [],
5215
+ description: "List and inspect persistent firewall actions taken against specific clients",
5216
+ arguments: [],
5217
+ subcommands: [
5218
+ persistentActionsListSubcommand,
5219
+ persistentActionsInspectSubcommand
5220
+ ],
5221
+ options: [],
5222
+ examples: [
5223
+ {
5224
+ name: "List persistent actions",
5225
+ value: `${packageName} firewall persistent-actions list`
5226
+ },
5227
+ {
5228
+ name: "Inspect a persistent action",
5229
+ value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --host vercel.com --action challenge`
5230
+ }
5231
+ ]
5232
+ };
5008
5233
  var firewallCommand = {
5009
5234
  name: "firewall",
5010
5235
  aliases: [],
@@ -5012,6 +5237,7 @@ var firewallCommand = {
5012
5237
  arguments: [],
5013
5238
  subcommands: [
5014
5239
  overviewSubcommand,
5240
+ statusSubcommand,
5015
5241
  diffSubcommand,
5016
5242
  publishSubcommand,
5017
5243
  discardSubcommand,
@@ -5019,10 +5245,20 @@ var firewallCommand = {
5019
5245
  rulesSubcommand2,
5020
5246
  systemBypassSubcommand,
5021
5247
  attackModeSubcommand,
5022
- systemMitigationsSubcommand
5248
+ systemMitigationsSubcommand,
5249
+ alertsSubcommand,
5250
+ persistentActionsSubcommand
5023
5251
  ],
5024
5252
  options: [],
5025
5253
  examples: [
5254
+ {
5255
+ name: "List firewall alerts",
5256
+ value: `${packageName} firewall alerts list`
5257
+ },
5258
+ {
5259
+ name: "List persistent firewall actions",
5260
+ value: `${packageName} firewall persistent-actions list`
5261
+ },
5026
5262
  {
5027
5263
  name: "Show firewall overview",
5028
5264
  value: `${packageName} firewall overview`
@@ -7159,7 +7395,7 @@ var globalConfigCommand = {
7159
7395
  };
7160
7396
 
7161
7397
  // src/commands/guidance/command.ts
7162
- var statusSubcommand = {
7398
+ var statusSubcommand2 = {
7163
7399
  name: "status",
7164
7400
  aliases: [],
7165
7401
  description: "Shows whether guidance messages are enabled or disabled",
@@ -7188,7 +7424,7 @@ var guidanceCommand = {
7188
7424
  aliases: [],
7189
7425
  description: "Allows you to enable or disable guidance messages",
7190
7426
  arguments: [],
7191
- subcommands: [enableSubcommand2, disableSubcommand2, statusSubcommand],
7427
+ subcommands: [enableSubcommand2, disableSubcommand2, statusSubcommand2],
7192
7428
  options: [],
7193
7429
  examples: []
7194
7430
  };
@@ -10214,7 +10450,7 @@ var timeoutOption = {
10214
10450
  type: String,
10215
10451
  deprecated: false
10216
10452
  };
10217
- var statusSubcommand2 = {
10453
+ var statusSubcommand3 = {
10218
10454
  name: "status",
10219
10455
  aliases: [],
10220
10456
  description: "Show the status of any current pending promotions",
@@ -10252,7 +10488,7 @@ var promoteCommand = {
10252
10488
  required: true
10253
10489
  }
10254
10490
  ],
10255
- subcommands: [statusSubcommand2],
10491
+ subcommands: [statusSubcommand3],
10256
10492
  options: [
10257
10493
  timeoutOption,
10258
10494
  {
@@ -10662,7 +10898,7 @@ var timeoutOption2 = {
10662
10898
  type: String,
10663
10899
  deprecated: false
10664
10900
  };
10665
- var statusSubcommand3 = {
10901
+ var statusSubcommand4 = {
10666
10902
  name: "status",
10667
10903
  aliases: [],
10668
10904
  description: "Show the status of any current pending rollbacks",
@@ -10694,7 +10930,7 @@ var rollbackCommand = {
10694
10930
  required: true
10695
10931
  }
10696
10932
  ],
10697
- subcommands: [statusSubcommand3],
10933
+ subcommands: [statusSubcommand4],
10698
10934
  options: [timeoutOption2, yesOption],
10699
10935
  examples: [
10700
10936
  {
@@ -11049,6 +11285,241 @@ var skillsCommand = {
11049
11285
  ]
11050
11286
  };
11051
11287
 
11288
+ // src/commands/storage/command.ts
11289
+ var environmentOption3 = {
11290
+ name: "environment",
11291
+ shorthand: "e",
11292
+ type: [String],
11293
+ argument: "ENV",
11294
+ deprecated: false,
11295
+ description: "Environment to target (repeatable: production, preview, development). Defaults to all three."
11296
+ };
11297
+ var authOption = {
11298
+ name: "auth",
11299
+ shorthand: null,
11300
+ type: String,
11301
+ argument: "MODE",
11302
+ deprecated: false,
11303
+ description: "Credential mode: `oidc` (default) or `token`. `token` writes long-lived credentials and requires --add-rw-token."
11304
+ };
11305
+ var updateEnvironmentOption = {
11306
+ ...environmentOption3,
11307
+ description: "Environment to target (repeatable: production, preview, development). Defaults to the environments the connection already covers."
11308
+ };
11309
+ var updateAuthOption = {
11310
+ ...authOption,
11311
+ description: "Credential mode: `oidc` or `token`. Defaults to the mode the connection already uses, so unrelated updates never rotate credentials. `token` requires --add-rw-token."
11312
+ };
11313
+ var addRwTokenOption = {
11314
+ name: "add-rw-token",
11315
+ shorthand: null,
11316
+ type: Boolean,
11317
+ deprecated: false,
11318
+ description: "Explicitly write the static read-write token env var. Required for --auth token, and additive on top of --auth oidc."
11319
+ };
11320
+ var prefixOption = {
11321
+ name: "prefix",
11322
+ shorthand: null,
11323
+ type: String,
11324
+ argument: "PREFIX",
11325
+ deprecated: false,
11326
+ description: "Prefix for the generated environment variable names (e.g. --prefix UPLOADS writes UPLOADS_STORE_ID)"
11327
+ };
11328
+ var dryRunOption = {
11329
+ name: "dry-run",
11330
+ shorthand: null,
11331
+ type: Boolean,
11332
+ deprecated: false,
11333
+ description: "Print the environment variable changes and exit without applying them"
11334
+ };
11335
+ var connectSubcommand3 = {
11336
+ name: "connect",
11337
+ aliases: [],
11338
+ description: "Connect a storage resource (Blob, Marketplace, or 1P) to a project",
11339
+ arguments: [
11340
+ {
11341
+ name: "store",
11342
+ required: true
11343
+ }
11344
+ ],
11345
+ options: [
11346
+ projectOption,
11347
+ environmentOption3,
11348
+ authOption,
11349
+ addRwTokenOption,
11350
+ prefixOption,
11351
+ dryRunOption,
11352
+ {
11353
+ ...yesOption,
11354
+ description: "Skip the confirmation prompt when connecting a resource"
11355
+ },
11356
+ formatOption,
11357
+ jsonOption
11358
+ ],
11359
+ examples: [
11360
+ {
11361
+ name: "Connect a store to the linked project in every environment",
11362
+ value: [
11363
+ `${packageName} storage connect <store>`,
11364
+ `${packageName} storage connect my-blob-store`
11365
+ ]
11366
+ },
11367
+ {
11368
+ name: "Connect to a specific project and environments",
11369
+ value: `${packageName} storage connect my-blob-store --project my-app --environment production --environment preview`
11370
+ },
11371
+ {
11372
+ name: "Preview the exact environment variable changes without applying them",
11373
+ value: [
11374
+ `${packageName} storage connect my-blob-store --dry-run`,
11375
+ `${packageName} storage connect my-blob-store --dry-run --json`
11376
+ ]
11377
+ },
11378
+ {
11379
+ name: "Opt in to the static read-write token alongside OIDC",
11380
+ value: `${packageName} storage connect my-blob-store --add-rw-token --yes`
11381
+ },
11382
+ {
11383
+ name: "Use only static credentials (requires the explicit opt-in)",
11384
+ value: `${packageName} storage connect my-blob-store --auth token --add-rw-token --yes`
11385
+ }
11386
+ ]
11387
+ };
11388
+ var statusSubcommand5 = {
11389
+ name: "status",
11390
+ aliases: [],
11391
+ description: "Show storage connections, their environments, credential mode, and environment variables",
11392
+ arguments: [
11393
+ {
11394
+ name: "store",
11395
+ required: false
11396
+ }
11397
+ ],
11398
+ options: [
11399
+ projectOption,
11400
+ {
11401
+ ...allOption,
11402
+ description: "Show every storage resource in the current scope"
11403
+ },
11404
+ formatOption,
11405
+ jsonOption
11406
+ ],
11407
+ examples: [
11408
+ {
11409
+ name: "Show the storage connections of the linked project",
11410
+ value: `${packageName} storage status`
11411
+ },
11412
+ {
11413
+ name: "Show every project connected to one store",
11414
+ value: `${packageName} storage status my-blob-store`
11415
+ },
11416
+ {
11417
+ name: "Show every storage resource in the current scope as JSON",
11418
+ value: `${packageName} storage status --all --json`
11419
+ }
11420
+ ]
11421
+ };
11422
+ var updateSubcommand8 = {
11423
+ name: "update",
11424
+ aliases: [],
11425
+ description: "Update an existing storage connection (environments, prefix, or credential mode)",
11426
+ arguments: [
11427
+ {
11428
+ name: "store",
11429
+ required: true
11430
+ }
11431
+ ],
11432
+ options: [
11433
+ projectOption,
11434
+ updateEnvironmentOption,
11435
+ updateAuthOption,
11436
+ addRwTokenOption,
11437
+ prefixOption,
11438
+ dryRunOption,
11439
+ {
11440
+ ...yesOption,
11441
+ description: "Skip the confirmation prompt when updating a connection"
11442
+ },
11443
+ formatOption,
11444
+ jsonOption
11445
+ ],
11446
+ examples: [
11447
+ {
11448
+ name: "Move an existing connection to OIDC credentials",
11449
+ value: `${packageName} storage update my-blob-store --auth oidc --yes`
11450
+ },
11451
+ {
11452
+ name: "Change the environments of a connection",
11453
+ value: `${packageName} storage update my-blob-store --environment production --yes`
11454
+ },
11455
+ {
11456
+ name: "Preview the environment variable changes without applying them",
11457
+ value: `${packageName} storage update my-blob-store --auth oidc --dry-run`
11458
+ }
11459
+ ]
11460
+ };
11461
+ var disconnectSubcommand3 = {
11462
+ name: "disconnect",
11463
+ aliases: [],
11464
+ description: "Disconnect a storage resource from a project. Removes its environment variables, so it always requires interactive confirmation.",
11465
+ arguments: [
11466
+ {
11467
+ name: "store",
11468
+ required: true
11469
+ }
11470
+ ],
11471
+ options: [
11472
+ projectOption,
11473
+ {
11474
+ ...allOption,
11475
+ description: "Disconnect every project from the specified resource"
11476
+ },
11477
+ dryRunOption,
11478
+ formatOption,
11479
+ jsonOption
11480
+ ],
11481
+ examples: [
11482
+ {
11483
+ name: "Disconnect a store from the linked project (always asks for confirmation)",
11484
+ value: `${packageName} storage disconnect my-blob-store`
11485
+ },
11486
+ {
11487
+ name: "Disconnect a store from every project",
11488
+ value: `${packageName} storage disconnect my-blob-store --all`
11489
+ },
11490
+ {
11491
+ name: "Preview the environment variables that would be removed",
11492
+ value: [
11493
+ `${packageName} storage disconnect my-blob-store --dry-run`,
11494
+ `${packageName} storage disconnect my-blob-store --dry-run --json`
11495
+ ]
11496
+ }
11497
+ ]
11498
+ };
11499
+ var storageCommand = {
11500
+ name: "storage",
11501
+ aliases: [],
11502
+ description: "Connect and manage storage resources (Blob, Marketplace, and 1P) for your Projects",
11503
+ options: [],
11504
+ arguments: [],
11505
+ subcommands: [
11506
+ connectSubcommand3,
11507
+ statusSubcommand5,
11508
+ updateSubcommand8,
11509
+ disconnectSubcommand3
11510
+ ],
11511
+ examples: [
11512
+ {
11513
+ name: "Connect a store to the linked project",
11514
+ value: `${packageName} storage connect my-blob-store --yes`
11515
+ },
11516
+ {
11517
+ name: "Inspect what is connected today",
11518
+ value: `${packageName} storage status`
11519
+ }
11520
+ ]
11521
+ };
11522
+
11052
11523
  // src/commands/target/command.ts
11053
11524
  var listSubcommand17 = {
11054
11525
  name: "list",
@@ -11342,7 +11813,7 @@ var tokensCommand = {
11342
11813
  };
11343
11814
 
11344
11815
  // src/commands/telemetry/command.ts
11345
- var statusSubcommand4 = {
11816
+ var statusSubcommand6 = {
11346
11817
  name: "status",
11347
11818
  aliases: [],
11348
11819
  description: "Shows whether telemetry collection is enabled or disabled",
@@ -11383,7 +11854,7 @@ var telemetryCommand = {
11383
11854
  subcommands: [
11384
11855
  enableSubcommand3,
11385
11856
  disableSubcommand3,
11386
- statusSubcommand4,
11857
+ statusSubcommand6,
11387
11858
  flushSubcommand
11388
11859
  ],
11389
11860
  options: [],
@@ -11568,7 +12039,7 @@ var useSubcommand = {
11568
12039
  }
11569
12040
  ]
11570
12041
  };
11571
- var updateSubcommand8 = {
12042
+ var updateSubcommand9 = {
11572
12043
  name: "update",
11573
12044
  aliases: ["upgrade"],
11574
12045
  description: "Updates the Vercel CLI to the latest version",
@@ -11607,7 +12078,7 @@ var versionCommand = {
11607
12078
  listSubcommand20,
11608
12079
  installedSubcommand,
11609
12080
  useSubcommand,
11610
- updateSubcommand8,
12081
+ updateSubcommand9,
11611
12082
  autoupdateSubcommand
11612
12083
  ],
11613
12084
  options: [],
@@ -11668,7 +12139,7 @@ var accessOption = {
11668
12139
  argument: "String",
11669
12140
  choices: ["public", "private"]
11670
12141
  };
11671
- var environmentOption3 = {
12142
+ var environmentOption4 = {
11672
12143
  name: "environment",
11673
12144
  shorthand: "e",
11674
12145
  type: [String],
@@ -12176,7 +12647,7 @@ var createStoreSubcommand = {
12176
12647
  argument: "STRING"
12177
12648
  },
12178
12649
  yesOption,
12179
- environmentOption3
12650
+ environmentOption4
12180
12651
  ],
12181
12652
  examples: [
12182
12653
  {
@@ -12468,6 +12939,7 @@ var commandsStructs = [
12468
12939
  sandboxCommand,
12469
12940
  securityCommand,
12470
12941
  skillsCommand,
12942
+ storageCommand,
12471
12943
  targetCommand,
12472
12944
  teamsCommand,
12473
12945
  tokensCommand,
@@ -12620,6 +13092,7 @@ export {
12620
13092
  verifySubcommand,
12621
13093
  domainsCommand,
12622
13094
  overviewSubcommand,
13095
+ statusSubcommand,
12623
13096
  diffSubcommand,
12624
13097
  publishSubcommand,
12625
13098
  discardSubcommand,
@@ -12646,6 +13119,12 @@ export {
12646
13119
  systemMitigationsPauseSubcommand,
12647
13120
  systemMitigationsResumeSubcommand,
12648
13121
  systemMitigationsSubcommand,
13122
+ alertsListSubcommand,
13123
+ alertsInspectSubcommand,
13124
+ alertsSubcommand,
13125
+ persistentActionsListSubcommand,
13126
+ persistentActionsInspectSubcommand,
13127
+ persistentActionsSubcommand,
12649
13128
  firewallCommand,
12650
13129
  isTimestampAttributeType,
12651
13130
  isBucketingAttribute,
@@ -12706,7 +13185,7 @@ export {
12706
13185
  tokensSubcommand,
12707
13186
  backupsSubcommand,
12708
13187
  globalConfigCommand,
12709
- statusSubcommand,
13188
+ statusSubcommand2,
12710
13189
  enableSubcommand2,
12711
13190
  disableSubcommand2,
12712
13191
  guidanceCommand,
@@ -12791,7 +13270,7 @@ export {
12791
13270
  speedInsightsSubcommand,
12792
13271
  observabilitySubcommand,
12793
13272
  projectCommand,
12794
- statusSubcommand2,
13273
+ statusSubcommand3,
12795
13274
  promoteCommand,
12796
13275
  redeployCommand,
12797
13276
  listSubcommand16,
@@ -12803,7 +13282,7 @@ export {
12803
13282
  restoreSubcommand,
12804
13283
  redirectsCommand,
12805
13284
  removeCommand,
12806
- statusSubcommand3,
13285
+ statusSubcommand4,
12807
13286
  rollbackCommand,
12808
13287
  configureSubcommand,
12809
13288
  startSubcommand,
@@ -12815,6 +13294,11 @@ export {
12815
13294
  checkSubcommand2,
12816
13295
  securityCommand,
12817
13296
  skillsCommand,
13297
+ connectSubcommand3,
13298
+ statusSubcommand5,
13299
+ updateSubcommand8,
13300
+ disconnectSubcommand3,
13301
+ storageCommand,
12818
13302
  listSubcommand17,
12819
13303
  targetCommand,
12820
13304
  requestSubcommand,
@@ -12829,7 +13313,7 @@ export {
12829
13313
  addSubcommand12,
12830
13314
  removeSubcommand15,
12831
13315
  tokensCommand,
12832
- statusSubcommand4,
13316
+ statusSubcommand6,
12833
13317
  enableSubcommand3,
12834
13318
  flushSubcommand,
12835
13319
  disableSubcommand3,
@@ -12839,7 +13323,7 @@ export {
12839
13323
  listSubcommand20,
12840
13324
  installedSubcommand,
12841
13325
  useSubcommand,
12842
- updateSubcommand8,
13326
+ updateSubcommand9,
12843
13327
  autoupdateSubcommand,
12844
13328
  versionCommand,
12845
13329
  whoamiCommand,