vercel 58.0.0 → 58.3.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 (108) hide show
  1. package/dist/chunks/{add-E4KH6P4A.js → add-3RKTVRL7.js} +10 -8
  2. package/dist/chunks/{add-7PPD4ZUJ.js → add-X634O3US.js} +14 -9
  3. package/dist/chunks/add-YTFWON7N.js +187 -0
  4. package/dist/chunks/build-DJIDUWYB.js +243 -0
  5. package/dist/chunks/{chunk-DWMH5M4Q.js → chunk-2SFMOCWR.js} +1 -1
  6. package/dist/chunks/{chunk-3PKFXNJZ.js → chunk-3KNPVXJ3.js} +7 -5
  7. package/dist/chunks/chunk-3ZE5CFVM.js +346 -0
  8. package/dist/chunks/{chunk-FHEMFAHB.js → chunk-4LDQIDRM.js} +15 -9
  9. package/dist/chunks/{chunk-R5FOIIHT.js → chunk-4N7XLXM2.js} +2 -2
  10. package/dist/chunks/{chunk-KCF6S3XF.js → chunk-4UYKSYKQ.js} +10 -6
  11. package/dist/chunks/{chunk-AZTV7WPZ.js → chunk-5YXUTGSY.js} +1 -1
  12. package/dist/chunks/{chunk-MDQJLTGN.js → chunk-752Z4JQP.js} +1 -1
  13. package/dist/chunks/{chunk-OGG6UBXK.js → chunk-7QVJTI5H.js} +1 -1
  14. package/dist/chunks/{chunk-FYQPTH5C.js → chunk-A5KP5HAI.js} +7 -5
  15. package/dist/chunks/{chunk-3VS4DTAU.js → chunk-AW5YINX6.js} +106 -12
  16. package/dist/chunks/{chunk-BYQQLGCT.js → chunk-AZNCOIGT.js} +2 -2
  17. package/dist/chunks/{chunk-GIL3VAUR.js → chunk-B3JTF4CF.js} +5 -3
  18. package/dist/chunks/{chunk-4QVAYRYH.js → chunk-BEQV3X2L.js} +16 -1
  19. package/dist/chunks/{chunk-TPX7RZBM.js → chunk-BM5FP7VW.js} +9 -5
  20. package/dist/chunks/{chunk-WDE2EDYX.js → chunk-C33L5ZKY.js} +4 -4
  21. package/dist/chunks/{chunk-VUESC3YO.js → chunk-C6BDHNNF.js} +207 -4
  22. package/dist/chunks/{chunk-4G6QZSBL.js → chunk-CSJBZKC5.js} +6 -4
  23. package/dist/chunks/{chunk-TEWJ7TIW.js → chunk-D3EEVTWR.js} +2 -2
  24. package/dist/chunks/{chunk-3PGXYIKC.js → chunk-EBLH23AQ.js} +2 -2
  25. package/dist/chunks/{chunk-YA3WQFLY.js → chunk-GFG6QDIE.js} +1 -1
  26. package/dist/chunks/{chunk-FB4UFWEC.js → chunk-IH5JOYGQ.js} +4 -4
  27. package/dist/chunks/chunk-J6LK45HT.js +163 -0
  28. package/dist/chunks/{chunk-FYR7WEUJ.js → chunk-JID5CRQL.js} +3 -3
  29. package/dist/chunks/{chunk-ZVLPUREX.js → chunk-JLWQWYKO.js} +2 -2
  30. package/dist/chunks/{chunk-SZXT3PDQ.js → chunk-KBEX5MYS.js} +1 -136
  31. package/dist/chunks/{chunk-NZRWTCRM.js → chunk-KT4XXKJK.js} +1 -1
  32. package/dist/chunks/{chunk-VZSZBD4V.js → chunk-M22O6CYY.js} +1 -1
  33. package/dist/chunks/{chunk-2MJROFVC.js → chunk-MAHXF73X.js} +8 -5
  34. package/dist/chunks/{chunk-YZMZCQP3.js → chunk-MTW6MVY7.js} +10 -8
  35. package/dist/chunks/{chunk-ZMVFTCQF.js → chunk-NVSQ6KXI.js} +1 -1
  36. package/dist/chunks/{chunk-LHFNIZ2P.js → chunk-O5GNPPTU.js} +4 -2
  37. package/dist/chunks/{chunk-KGVT2RSG.js → chunk-OTQD3MHJ.js} +5 -11
  38. package/dist/chunks/{chunk-RSCSALZH.js → chunk-PNXQB4IO.js} +6 -5
  39. package/dist/chunks/{chunk-L4WYMJB3.js → chunk-QZV24TDR.js} +28 -12
  40. package/dist/chunks/chunk-RBIFXFZX.js +52 -0
  41. package/dist/chunks/{chunk-OF2GNB42.js → chunk-RQ7H43CJ.js} +1 -1
  42. package/dist/chunks/{chunk-EA22NMFU.js → chunk-RUOBMMEA.js} +2 -2
  43. package/dist/chunks/{chunk-KSSNLCL4.js → chunk-SOFC4MLS.js} +2 -2
  44. package/dist/chunks/{chunk-R54DAHCL.js → chunk-UDDCOV62.js} +2 -2
  45. package/dist/chunks/{chunk-OQGN4TEC.js → chunk-UJNNTGJY.js} +3 -3
  46. package/dist/chunks/{chunk-DGFASMSE.js → chunk-UQJMDWCY.js} +7 -5
  47. package/dist/chunks/{chunk-B2MTCHPO.js → chunk-WXJ6E3MY.js} +6 -4
  48. package/dist/chunks/{chunk-QZD5DKUR.js → chunk-XIG4GH62.js} +2 -2
  49. package/dist/chunks/chunk-XLKFJPMT.js +150 -0
  50. package/dist/chunks/{chunk-UDWRZXIT.js → chunk-Z5ZQJ5VJ.js} +15 -14
  51. package/dist/chunks/{chunk-WANVKOVB.js → chunk-ZPH66MB6.js} +808 -538
  52. package/dist/chunks/{chunk-DMSLNAVH.js → chunk-ZX2FSPWV.js} +2 -2
  53. package/dist/chunks/clear-J3OCB2DQ.js +132 -0
  54. package/dist/chunks/{compile-vercel-config-G2IVBXEI.js → compile-vercel-config-G2WILJR4.js} +5 -4
  55. package/dist/chunks/{delete-2EIVGM6P.js → delete-3NQLU7PQ.js} +7 -6
  56. package/dist/chunks/{delete-E6ZQNE5X.js → delete-HKUZTZE7.js} +7 -6
  57. package/dist/chunks/{disable-M3Q6BBB7.js → disable-7AIA4JV3.js} +7 -6
  58. package/dist/chunks/{discard-3R6ETBPS.js → discard-MIGUGPGO.js} +7 -6
  59. package/dist/chunks/{edit-7JUDPVXD.js → edit-3AU746TG.js} +8 -7
  60. package/dist/chunks/{edit-ICVMGRRU.js → edit-MDQW3S4R.js} +7 -6
  61. package/dist/chunks/{enable-HLTA35QL.js → enable-EGNWRQEI.js} +7 -6
  62. package/dist/chunks/{export-E6XZUFW3.js → export-EMBHNUMU.js} +7 -6
  63. package/dist/chunks/{image-SIRPPQZT.js → image-XXZ5DRIW.js} +5 -5
  64. package/dist/chunks/{inspect-6TQWDIBG.js → inspect-7V5ZHBBB.js} +13 -11
  65. package/dist/chunks/{inspect-65YX7L3O.js → inspect-MYUNZMLJ.js} +14 -12
  66. package/dist/chunks/{inspect-NFOURIGN.js → inspect-O7SVDBHM.js} +16 -13
  67. package/dist/chunks/{inspect-OEWWGAHZ.js → inspect-S5WJ47OH.js} +8 -7
  68. package/dist/chunks/{inspect-4FYBOOM5.js → inspect-TXVTHRAZ.js} +14 -12
  69. package/dist/chunks/{list-APFMKZJO.js → list-BQLJJACX.js} +13 -11
  70. package/dist/chunks/{list-27DCGMBI.js → list-LC2ON7OM.js} +8 -6
  71. package/dist/chunks/{list-XQCZVLES.js → list-NZ4ZOO6B.js} +8 -7
  72. package/dist/chunks/{login-FMU4CQOV.js → login-4B7KPSUW.js} +22 -51
  73. package/dist/chunks/ls-4J2WGR7U.js +178 -0
  74. package/dist/chunks/{ls-BFACWH6C.js → ls-7XMM4KCU.js} +17 -14
  75. package/dist/chunks/{ls-24BRCAZR.js → ls-FRSKR6K2.js} +15 -13
  76. package/dist/chunks/{ls-3L6EN4YU.js → ls-TWNQ7KZN.js} +13 -11
  77. package/dist/chunks/{ls-T5RGDBCV.js → ls-WCTLFAPI.js} +15 -13
  78. package/dist/chunks/{open-AG3VYJZM.js → open-J4SAVWUP.js} +7 -6
  79. package/dist/chunks/permissions-67T43WNH.js +95 -0
  80. package/dist/chunks/{publish-5OVCPS4J.js → publish-CSXOTJLD.js} +7 -6
  81. package/dist/chunks/push-7KOVRV5N.js +183 -0
  82. package/dist/chunks/{query-QS4VKBXJ.js → query-CTRPYYXR.js} +12 -10
  83. package/dist/chunks/{reorder-B5V2P7YM.js → reorder-E4PPJNEX.js} +7 -6
  84. package/dist/chunks/{reply-JBLWE6RS.js → reply-Z742BMF3.js} +7 -6
  85. package/dist/chunks/{resolve-2I6XH2G3.js → resolve-KPZJZ6IQ.js} +7 -6
  86. package/dist/chunks/{restore-O63FZXCL.js → restore-ZTH2FY4I.js} +7 -6
  87. package/dist/chunks/{rm-P3NJSCMY.js → rm-C4ODJDWP.js} +12 -8
  88. package/dist/chunks/{rm-N7W3QYWZ.js → rm-DE37CFKU.js} +15 -10
  89. package/dist/chunks/{rm-HUED5R3Q.js → rm-FVGLSIHP.js} +10 -8
  90. package/dist/chunks/rm-VOFJM4XW.js +186 -0
  91. package/dist/chunks/{rule-inspect-M3QUSPU2.js → rule-inspect-6RLS3ZNB.js} +13 -11
  92. package/dist/chunks/{rules-NSSWPJ2B.js → rules-VSXJT2QE.js} +8 -8
  93. package/dist/chunks/{schema-G2PAXPVA.js → schema-3E24G2AG.js} +11 -9
  94. package/dist/chunks/{tags-JFMO63D4.js → tags-AIZLNITP.js} +4 -4
  95. package/dist/chunks/{types-QKLIFDDP.js → types-QTOA2BTQ.js} +7 -5
  96. package/dist/chunks/{update-VJCKD6YG.js → update-QHWT7YG4.js} +10 -8
  97. package/dist/commands/build/index.js +15 -19
  98. package/dist/commands/deploy/index.js +33 -25
  99. package/dist/commands/dev/index.js +85 -17
  100. package/dist/commands/env/index.js +32 -24
  101. package/dist/commands/link/index.js +25 -22
  102. package/dist/commands/list/index.js +16 -9
  103. package/dist/commands-bulk.js +4171 -2411
  104. package/dist/help.js +1 -1
  105. package/dist/index.js +38 -34
  106. package/dist/version.mjs +1 -1
  107. package/package.json +43 -94
  108. package/dist/chunks/chunk-6OMC3HOW.js +0 -73
@@ -6,35 +6,35 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  vcrCommand
9
- } from "./chunk-3VS4DTAU.js";
9
+ } from "./chunk-AW5YINX6.js";
10
10
  import {
11
11
  metricsCommand
12
- } from "./chunk-4G6QZSBL.js";
12
+ } from "./chunk-CSJBZKC5.js";
13
13
  import {
14
14
  routesCommand
15
- } from "./chunk-VZSZBD4V.js";
15
+ } from "./chunk-M22O6CYY.js";
16
16
  import {
17
17
  commentsCommand
18
- } from "./chunk-FHEMFAHB.js";
18
+ } from "./chunk-4LDQIDRM.js";
19
19
  import {
20
20
  activityCommand
21
- } from "./chunk-3PKFXNJZ.js";
21
+ } from "./chunk-3KNPVXJ3.js";
22
22
  import {
23
23
  alertsCommand
24
- } from "./chunk-2MJROFVC.js";
24
+ } from "./chunk-MAHXF73X.js";
25
25
  import {
26
26
  devCommand
27
- } from "./chunk-OGG6UBXK.js";
27
+ } from "./chunk-7QVJTI5H.js";
28
28
  import {
29
29
  listCommand
30
- } from "./chunk-LHFNIZ2P.js";
30
+ } from "./chunk-O5GNPPTU.js";
31
31
  import {
32
32
  buildCommand,
33
33
  pullCommand
34
- } from "./chunk-EA22NMFU.js";
34
+ } from "./chunk-RUOBMMEA.js";
35
35
  import {
36
36
  envCommand
37
- } from "./chunk-TPX7RZBM.js";
37
+ } from "./chunk-BM5FP7VW.js";
38
38
  import {
39
39
  confirmOption,
40
40
  deploymentOption,
@@ -47,7 +47,7 @@ import {
47
47
  projectOption,
48
48
  protectionBypassOption,
49
49
  yesOption
50
- } from "./chunk-KSSNLCL4.js";
50
+ } from "./chunk-SOFC4MLS.js";
51
51
  import {
52
52
  output_manager_default
53
53
  } from "./chunk-OX7KI3LF.js";
@@ -364,7 +364,7 @@ var deployCommand = {
364
364
  },
365
365
  {
366
366
  name: "Get every deployment file as JSON",
367
- value: "vercel deploy --dry --format=json"
367
+ value: "vercel deploy --dry --json"
368
368
  },
369
369
  {
370
370
  name: "Write Deployment URL to a file",
@@ -731,6 +731,22 @@ var createSubcommand = {
731
731
  type: Boolean,
732
732
  deprecated: false,
733
733
  description: "Include BYOK usage in quota (default: false)"
734
+ },
735
+ {
736
+ name: "alert-thresholds",
737
+ shorthand: null,
738
+ type: String,
739
+ argument: "LIST",
740
+ deprecated: false,
741
+ description: "Comma-separated spend percentages to alert at, a subset of 50,75,100 (e.g. 75,100)"
742
+ },
743
+ {
744
+ name: "expiration",
745
+ shorthand: null,
746
+ type: String,
747
+ argument: "PERIOD",
748
+ deprecated: false,
749
+ description: "Expiry for the key: 7d, 30d, 60d, 90d, 1y, or none (default: none)"
734
750
  }
735
751
  ],
736
752
  examples: [
@@ -741,6 +757,49 @@ var createSubcommand = {
741
757
  {
742
758
  name: "Create an API key with a budget",
743
759
  value: `${packageName} ai-gateway api-keys create --name my-key --budget 500 --refresh-period monthly`
760
+ },
761
+ {
762
+ name: "Create a key that expires and alerts on spend",
763
+ value: `${packageName} ai-gateway api-keys create --budget 500 --alert-thresholds 75,100 --expiration 90d`
764
+ }
765
+ ]
766
+ };
767
+ var listSubcommand2 = {
768
+ name: "list",
769
+ aliases: ["ls"],
770
+ description: "List AI Gateway API keys",
771
+ arguments: [],
772
+ options: [formatOption],
773
+ examples: [
774
+ {
775
+ name: "List API keys",
776
+ value: `${packageName} ai-gateway api-keys ls`
777
+ }
778
+ ]
779
+ };
780
+ var inspectSubcommand2 = {
781
+ name: "inspect",
782
+ aliases: [],
783
+ description: "Show details about an AI Gateway API key",
784
+ arguments: [{ name: "id", required: true }],
785
+ options: [formatOption],
786
+ examples: [
787
+ {
788
+ name: "Inspect an API key",
789
+ value: `${packageName} ai-gateway api-keys inspect key_123`
790
+ }
791
+ ]
792
+ };
793
+ var removeSubcommand = {
794
+ name: "remove",
795
+ aliases: ["rm", "delete"],
796
+ description: "Remove an AI Gateway API key",
797
+ arguments: [{ name: "id", required: true }],
798
+ options: [yesOption, formatOption],
799
+ examples: [
800
+ {
801
+ name: "Remove an API key",
802
+ value: `${packageName} ai-gateway api-keys rm key_123`
744
803
  }
745
804
  ]
746
805
  };
@@ -749,7 +808,12 @@ var apiKeysSubcommand = {
749
808
  aliases: [],
750
809
  description: "Manage AI Gateway API keys",
751
810
  arguments: [],
752
- subcommands: [createSubcommand],
811
+ subcommands: [
812
+ createSubcommand,
813
+ listSubcommand2,
814
+ inspectSubcommand2,
815
+ removeSubcommand
816
+ ],
753
817
  options: [],
754
818
  examples: []
755
819
  };
@@ -799,7 +863,8 @@ var rulesAddSubcommand = {
799
863
  deprecated: false,
800
864
  description: "Human-readable description of the rule"
801
865
  },
802
- formatOption
866
+ formatOption,
867
+ jsonOption
803
868
  ],
804
869
  examples: [
805
870
  {
@@ -825,7 +890,8 @@ var rulesListSubcommand = {
825
890
  deprecated: false,
826
891
  description: "Include disabled rules"
827
892
  },
828
- formatOption
893
+ formatOption,
894
+ jsonOption
829
895
  ],
830
896
  examples: [
831
897
  {
@@ -878,7 +944,8 @@ var rulesEditSubcommand = {
878
944
  deprecated: false,
879
945
  description: "Human-readable description of the rule"
880
946
  },
881
- formatOption
947
+ formatOption,
948
+ jsonOption
882
949
  ],
883
950
  examples: [
884
951
  {
@@ -892,7 +959,7 @@ var rulesRemoveSubcommand = {
892
959
  aliases: ["rm", "delete"],
893
960
  description: "Remove an AI Gateway routing rule",
894
961
  arguments: [{ name: "ruleId", required: true }],
895
- options: [yesOption, formatOption],
962
+ options: [yesOption, formatOption, jsonOption],
896
963
  examples: [
897
964
  {
898
965
  name: "Remove a rule",
@@ -1034,6 +1101,14 @@ var setupSubcommand = {
1034
1101
  deprecated: false,
1035
1102
  description: "How to apply non-interactively: edit (write files, default) or prompt (emit an agent prompt on stdout; requires the macOS Keychain)"
1036
1103
  },
1104
+ {
1105
+ name: "base-url",
1106
+ shorthand: null,
1107
+ type: String,
1108
+ argument: "URL",
1109
+ deprecated: false,
1110
+ description: "Override the AI Gateway base URL written into agent configs (advanced; e.g. a preview deployment). Written verbatim."
1111
+ },
1037
1112
  yesOption
1038
1113
  ],
1039
1114
  examples: [
@@ -1056,6 +1131,10 @@ var setupSubcommand = {
1056
1131
  {
1057
1132
  name: "Reuse an existing key and preview changes only",
1058
1133
  value: `${packageName} ai-gateway coding-agents setup --key <key> --dry-run`
1134
+ },
1135
+ {
1136
+ name: "Point an agent at a different gateway base URL",
1137
+ value: `${packageName} ai-gateway coding-agents setup --agent codex --base-url https://preview.ai-gateway.vercel.sh/v1`
1059
1138
  }
1060
1139
  ]
1061
1140
  };
@@ -1073,7 +1152,7 @@ var modelsListSubcommand = {
1073
1152
  aliases: ["ls"],
1074
1153
  description: "List AI Gateway models",
1075
1154
  arguments: [],
1076
- options: [formatOption],
1155
+ options: [formatOption, jsonOption],
1077
1156
  examples: [
1078
1157
  {
1079
1158
  name: "List available models",
@@ -1086,7 +1165,7 @@ var modelsEndpointsSubcommand = {
1086
1165
  aliases: [],
1087
1166
  description: "List provider endpoints for an AI Gateway model",
1088
1167
  arguments: [{ name: "model", required: true }],
1089
- options: [formatOption],
1168
+ options: [formatOption, jsonOption],
1090
1169
  examples: [
1091
1170
  {
1092
1171
  name: "List provider endpoints for a model",
@@ -1135,7 +1214,8 @@ var budgetsSetSubcommand = {
1135
1214
  deprecated: false,
1136
1215
  description: "Include BYOK usage in the budget (default: false)"
1137
1216
  },
1138
- formatOption
1217
+ formatOption,
1218
+ jsonOption
1139
1219
  ],
1140
1220
  examples: [
1141
1221
  {
@@ -1153,7 +1233,7 @@ var budgetsListSubcommand = {
1153
1233
  aliases: ["ls"],
1154
1234
  description: "List AI Gateway budgets",
1155
1235
  arguments: [],
1156
- options: [formatOption],
1236
+ options: [formatOption, jsonOption],
1157
1237
  examples: [
1158
1238
  {
1159
1239
  name: "List budgets",
@@ -1169,7 +1249,7 @@ var budgetsRemoveSubcommand = {
1169
1249
  { name: "scope", required: true },
1170
1250
  { name: "name", required: false }
1171
1251
  ],
1172
- options: [yesOption, formatOption],
1252
+ options: [yesOption, formatOption, jsonOption],
1173
1253
  examples: [
1174
1254
  {
1175
1255
  name: "Remove the team budget",
@@ -1181,6 +1261,69 @@ var budgetsRemoveSubcommand = {
1181
1261
  }
1182
1262
  ]
1183
1263
  };
1264
+ var leaderboardFormatOption = {
1265
+ name: "format",
1266
+ shorthand: "F",
1267
+ type: String,
1268
+ argument: "FORMAT",
1269
+ deprecated: false,
1270
+ description: "Output format: table, json, or csv (default: table in a terminal, json otherwise)"
1271
+ };
1272
+ var leaderboardOutOption = {
1273
+ name: "out",
1274
+ shorthand: "o",
1275
+ type: String,
1276
+ argument: "FILE",
1277
+ deprecated: false,
1278
+ description: "Write the payload to a file instead of stdout (defaults to json; use --format csv for CSV)"
1279
+ };
1280
+ var leaderboardModalityOption = {
1281
+ name: "modality",
1282
+ shorthand: null,
1283
+ type: String,
1284
+ argument: "MODALITY",
1285
+ deprecated: false,
1286
+ description: "Filter by modality: all, text, image, or video (default: all)"
1287
+ };
1288
+ var leaderboardMetricOption = {
1289
+ name: "metric",
1290
+ shorthand: null,
1291
+ type: String,
1292
+ argument: "METRIC",
1293
+ deprecated: false,
1294
+ description: "Metric for the table view: requests, tokens, spend, imageCount, or videoCount (default: requests)"
1295
+ };
1296
+ var leaderboardDateOption = {
1297
+ name: "date",
1298
+ shorthand: null,
1299
+ type: String,
1300
+ argument: "YYYY-MM-DD",
1301
+ deprecated: false,
1302
+ description: "Day to show in the table view (default: most recent)"
1303
+ };
1304
+ var leaderboardModelsSubcommand = {
1305
+ name: "models",
1306
+ aliases: [],
1307
+ description: "Show the most-used models on AI Gateway",
1308
+ arguments: [],
1309
+ options: [
1310
+ leaderboardModalityOption,
1311
+ leaderboardMetricOption,
1312
+ leaderboardDateOption,
1313
+ leaderboardFormatOption,
1314
+ leaderboardOutOption
1315
+ ],
1316
+ examples: [
1317
+ {
1318
+ name: "Show the top text models",
1319
+ value: `${packageName} ai-gateway leaderboard models --modality text`
1320
+ },
1321
+ {
1322
+ name: "Export the full model data as CSV",
1323
+ value: `${packageName} ai-gateway leaderboard models --format csv --out models.csv`
1324
+ }
1325
+ ]
1326
+ };
1184
1327
  var budgetsSubcommand = {
1185
1328
  name: "budgets",
1186
1329
  aliases: [],
@@ -1194,6 +1337,65 @@ var budgetsSubcommand = {
1194
1337
  options: [],
1195
1338
  examples: []
1196
1339
  };
1340
+ var leaderboardLabsSubcommand = {
1341
+ name: "labs",
1342
+ aliases: [],
1343
+ description: "Show the most-used model creators (labs) on AI Gateway",
1344
+ arguments: [],
1345
+ options: [
1346
+ leaderboardModalityOption,
1347
+ leaderboardMetricOption,
1348
+ leaderboardDateOption,
1349
+ leaderboardFormatOption,
1350
+ leaderboardOutOption
1351
+ ],
1352
+ examples: [
1353
+ {
1354
+ name: "Show the top labs by spend",
1355
+ value: `${packageName} ai-gateway leaderboard labs --metric spend`
1356
+ }
1357
+ ]
1358
+ };
1359
+ var leaderboardAppsSubcommand = {
1360
+ name: "apps",
1361
+ aliases: [],
1362
+ description: "Show the top apps built on AI Gateway",
1363
+ arguments: [],
1364
+ options: [leaderboardFormatOption, leaderboardOutOption],
1365
+ examples: [
1366
+ {
1367
+ name: "Show the top apps",
1368
+ value: `${packageName} ai-gateway leaderboard apps`
1369
+ }
1370
+ ]
1371
+ };
1372
+ var leaderboardProvidersSubcommand = {
1373
+ name: "providers",
1374
+ aliases: [],
1375
+ description: "Show the top inference providers on AI Gateway",
1376
+ arguments: [],
1377
+ options: [leaderboardFormatOption, leaderboardOutOption],
1378
+ examples: [
1379
+ {
1380
+ name: "Show the top providers as JSON",
1381
+ value: `${packageName} ai-gateway leaderboard providers --format json`
1382
+ }
1383
+ ]
1384
+ };
1385
+ var leaderboardSubcommand = {
1386
+ name: "leaderboard",
1387
+ aliases: ["leaderboards"],
1388
+ description: "Explore AI Gateway usage leaderboards (open, anonymized data under CC BY 4.0)",
1389
+ arguments: [],
1390
+ subcommands: [
1391
+ leaderboardModelsSubcommand,
1392
+ leaderboardLabsSubcommand,
1393
+ leaderboardAppsSubcommand,
1394
+ leaderboardProvidersSubcommand
1395
+ ],
1396
+ options: [],
1397
+ examples: []
1398
+ };
1197
1399
  var aiGatewayCommand = {
1198
1400
  name: "ai-gateway",
1199
1401
  aliases: [],
@@ -1204,7 +1406,8 @@ var aiGatewayCommand = {
1204
1406
  budgetsSubcommand,
1205
1407
  rulesSubcommand,
1206
1408
  codingAgentsSubcommand,
1207
- modelsSubcommand
1409
+ modelsSubcommand,
1410
+ leaderboardSubcommand
1208
1411
  ],
1209
1412
  options: [],
1210
1413
  examples: []
@@ -1229,15 +1432,15 @@ var setSubcommand = {
1229
1432
  options: [],
1230
1433
  examples: []
1231
1434
  };
1232
- var listSubcommand2 = {
1435
+ var listSubcommand3 = {
1233
1436
  name: "list",
1234
1437
  aliases: ["ls"],
1235
1438
  description: "Show all aliases",
1236
1439
  arguments: [],
1237
- options: [limitOption, nextOption, formatOption],
1440
+ options: [limitOption, nextOption, formatOption, jsonOption],
1238
1441
  examples: []
1239
1442
  };
1240
- var removeSubcommand = {
1443
+ var removeSubcommand2 = {
1241
1444
  name: "remove",
1242
1445
  aliases: ["rm"],
1243
1446
  description: "Remove an alias using its hostname",
@@ -1260,7 +1463,7 @@ var aliasCommand = {
1260
1463
  aliases: ["aliases", "ln"],
1261
1464
  description: "Interact with deployment aliases",
1262
1465
  arguments: [],
1263
- subcommands: [listSubcommand2, removeSubcommand, setSubcommand],
1466
+ subcommands: [listSubcommand3, removeSubcommand2, setSubcommand],
1264
1467
  options: [],
1265
1468
  examples: [
1266
1469
  {
@@ -1287,13 +1490,14 @@ var specUrlOption = {
1287
1490
  deprecated: false,
1288
1491
  description: "Fetch endpoints from a custom OpenAPI spec URL instead of the public Vercel spec"
1289
1492
  };
1290
- var listSubcommand3 = {
1493
+ var listSubcommand4 = {
1291
1494
  name: "list",
1292
1495
  aliases: ["ls"],
1293
1496
  description: "List all available API endpoints",
1294
1497
  arguments: [],
1295
1498
  options: [
1296
1499
  formatOption,
1500
+ jsonOption,
1297
1501
  specUrlOption,
1298
1502
  {
1299
1503
  name: "refresh",
@@ -1310,7 +1514,7 @@ var listSubcommand3 = {
1310
1514
  },
1311
1515
  {
1312
1516
  name: "List all endpoints as JSON",
1313
- value: `${packageName} api ls --format json`
1517
+ value: `${packageName} api ls --json`
1314
1518
  },
1315
1519
  {
1316
1520
  name: "List endpoints from a custom OpenAPI spec",
@@ -1328,7 +1532,7 @@ var apiCommand = {
1328
1532
  required: false
1329
1533
  }
1330
1534
  ],
1331
- subcommands: [listSubcommand3],
1535
+ subcommands: [listSubcommand4],
1332
1536
  options: [
1333
1537
  {
1334
1538
  name: "method",
@@ -1533,7 +1737,27 @@ var bisectCommand = {
1533
1737
  ]
1534
1738
  };
1535
1739
 
1740
+ // src/util/buy/custom-environment-addon.ts
1741
+ var CUSTOM_ENVIRONMENTS_PER_PACK = 5;
1742
+ var CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT = 2;
1743
+ var CUSTOM_ENVIRONMENT_ADDON_ALIASES = /* @__PURE__ */ new Set([
1744
+ "customenvironment",
1745
+ "custom-environment",
1746
+ "custom-environments",
1747
+ "custom_environment",
1748
+ "custom_environments"
1749
+ ]);
1750
+ function isCustomEnvironmentAddonAlias(name) {
1751
+ return CUSTOM_ENVIRONMENT_ADDON_ALIASES.has(name.toLowerCase());
1752
+ }
1753
+ function customEnvironmentPackEnvironments(packs) {
1754
+ return packs * CUSTOM_ENVIRONMENTS_PER_PACK;
1755
+ }
1756
+
1536
1757
  // src/commands/buy/command.ts
1758
+ var EXAMPLE_CUSTOM_ENVIRONMENT_COUNT = customEnvironmentPackEnvironments(
1759
+ CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT
1760
+ );
1537
1761
  var SUPPORTED_CREDIT_TYPES = ["v0", "gateway", "agent"];
1538
1762
  var CREDIT_TYPE_LABELS = {
1539
1763
  v0: "v0",
@@ -1580,12 +1804,12 @@ var creditsSubcommand = {
1580
1804
  var SUPPORTED_ADDON_ALIASES = ["siem", "customEnvironment"];
1581
1805
  var ADDON_LABELS = {
1582
1806
  siem: "SIEM",
1583
- customEnvironment: "Custom Environments"
1807
+ customEnvironment: "Custom Environment"
1584
1808
  };
1585
1809
  var addonSubcommand = {
1586
1810
  name: "addon",
1587
- aliases: ["addons"],
1588
- description: "Purchase a Vercel addon for your team",
1811
+ aliases: ["addons", "add-on"],
1812
+ description: `Purchase a Vercel addon for your team. Supported addons: ${SUPPORTED_ADDON_ALIASES.join(", ")}. Custom environment purchases are per project and use packs (each pack adds ${CUSTOM_ENVIRONMENTS_PER_PACK} environments).`,
1589
1813
  arguments: [
1590
1814
  {
1591
1815
  name: "addon-name",
@@ -1601,17 +1825,21 @@ var addonSubcommand = {
1601
1825
  ...yesOption,
1602
1826
  description: "Skip the confirmation prompt"
1603
1827
  },
1604
- formatOption,
1605
- jsonOption
1828
+ jsonOption,
1829
+ projectOption
1606
1830
  ],
1607
1831
  examples: [
1608
1832
  {
1609
- name: "Purchase 1 unit of the SIEM addon",
1833
+ name: "Purchase 1 SIEM addon",
1610
1834
  value: `${packageName} buy addon siem 1`
1611
1835
  },
1612
1836
  {
1613
- name: "Purchase 1 unit of the Custom Environments addon",
1614
- value: `${packageName} buy addon customEnvironment 1`
1837
+ name: `Purchase ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} custom environment packs (${EXAMPLE_CUSTOM_ENVIRONMENT_COUNT} environments) for a project`,
1838
+ value: `${packageName} buy addon customEnvironment ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} --project my-app`
1839
+ },
1840
+ {
1841
+ name: "Remove purchased custom environment capacity",
1842
+ value: `${packageName} buy addon customEnvironment 0 --project my-app --yes`
1615
1843
  }
1616
1844
  ]
1617
1845
  };
@@ -1678,10 +1906,6 @@ var buyCommand = {
1678
1906
  name: "Purchase the SIEM addon",
1679
1907
  value: `${packageName} buy addon siem 1`
1680
1908
  },
1681
- {
1682
- name: "Purchase the Custom Environments addon",
1683
- value: `${packageName} buy addon customEnvironment 1`
1684
- },
1685
1909
  {
1686
1910
  name: "Upgrade to Pro",
1687
1911
  value: `${packageName} buy pro`
@@ -1833,7 +2057,7 @@ var cacheCommand = {
1833
2057
  };
1834
2058
 
1835
2059
  // src/commands/certs/command.ts
1836
- var removeSubcommand2 = {
2060
+ var removeSubcommand3 = {
1837
2061
  name: "remove",
1838
2062
  aliases: ["rm"],
1839
2063
  description: "Remove a certificate by id",
@@ -1902,7 +2126,7 @@ var issueSubcommand = {
1902
2126
  }
1903
2127
  ]
1904
2128
  };
1905
- var listSubcommand4 = {
2129
+ var listSubcommand5 = {
1906
2130
  name: "list",
1907
2131
  aliases: ["ls"],
1908
2132
  description: "Show all available certificates",
@@ -1963,14 +2187,14 @@ var certsCommand = {
1963
2187
  subcommands: [
1964
2188
  addSubcommand2,
1965
2189
  issueSubcommand,
1966
- listSubcommand4,
1967
- removeSubcommand2
2190
+ listSubcommand5,
2191
+ removeSubcommand3
1968
2192
  ],
1969
2193
  options: [],
1970
2194
  examples: [
1971
2195
  ...issueSubcommand.examples,
1972
- ...removeSubcommand2.examples,
1973
- ...listSubcommand4.examples
2196
+ ...removeSubcommand3.examples,
2197
+ ...listSubcommand5.examples
1974
2198
  ]
1975
2199
  };
1976
2200
 
@@ -2041,7 +2265,8 @@ var createSubcommand2 = {
2041
2265
  deprecated: false,
2042
2266
  description: "Accent color for the connector icon (e.g. #1A2B3C)"
2043
2267
  },
2044
- formatOption
2268
+ formatOption,
2269
+ jsonOption
2045
2270
  ],
2046
2271
  examples: [
2047
2272
  {
@@ -2074,7 +2299,7 @@ var createSubcommand2 = {
2074
2299
  },
2075
2300
  {
2076
2301
  name: "Output as JSON",
2077
- value: `${packageName} connect create slack --format=json`
2302
+ value: `${packageName} connect create slack --json`
2078
2303
  }
2079
2304
  ]
2080
2305
  };
@@ -2113,7 +2338,8 @@ var updateSubcommand = {
2113
2338
  deprecated: false,
2114
2339
  description: "Accent color for the connector icon (e.g. #1A2B3C)"
2115
2340
  },
2116
- formatOption
2341
+ formatOption,
2342
+ jsonOption
2117
2343
  ],
2118
2344
  examples: [
2119
2345
  {
@@ -2126,11 +2352,11 @@ var updateSubcommand = {
2126
2352
  },
2127
2353
  {
2128
2354
  name: "Output as JSON",
2129
- value: `${packageName} connect update scl_abc123 --icon ./logo.png --format=json`
2355
+ value: `${packageName} connect update scl_abc123 --icon ./logo.png --json`
2130
2356
  }
2131
2357
  ]
2132
2358
  };
2133
- var listSubcommand5 = {
2359
+ var listSubcommand6 = {
2134
2360
  name: "list",
2135
2361
  aliases: ["ls"],
2136
2362
  description: "List connectors linked to the current project (falls back to every connector in the team when no project is linked or when --all-projects is set)",
@@ -2183,7 +2409,8 @@ var listSubcommand5 = {
2183
2409
  deprecated: false,
2184
2410
  description: "Filter by connector type (slack, github, oauth, custom). Repeatable."
2185
2411
  },
2186
- formatOption
2412
+ formatOption,
2413
+ jsonOption
2187
2414
  ],
2188
2415
  examples: [
2189
2416
  {
@@ -2224,11 +2451,11 @@ var listSubcommand5 = {
2224
2451
  },
2225
2452
  {
2226
2453
  name: "Output as JSON",
2227
- value: `${packageName} connect list --format=json`
2454
+ value: `${packageName} connect list --json`
2228
2455
  }
2229
2456
  ]
2230
2457
  };
2231
- var removeSubcommand3 = {
2458
+ var removeSubcommand4 = {
2232
2459
  name: "remove",
2233
2460
  aliases: ["rm"],
2234
2461
  description: "Delete a connector",
@@ -2250,7 +2477,8 @@ var removeSubcommand3 = {
2250
2477
  ...yesOption,
2251
2478
  description: "Skip the confirmation prompt when deleting a connector"
2252
2479
  },
2253
- formatOption
2480
+ formatOption,
2481
+ jsonOption
2254
2482
  ],
2255
2483
  examples: [
2256
2484
  {
@@ -2274,7 +2502,7 @@ var removeSubcommand3 = {
2274
2502
  },
2275
2503
  {
2276
2504
  name: "Output as JSON",
2277
- value: `${packageName} connect remove scl_abc123 --format=json --yes`
2505
+ value: `${packageName} connect remove scl_abc123 --json --yes`
2278
2506
  }
2279
2507
  ]
2280
2508
  };
@@ -2314,7 +2542,8 @@ var tokenSubcommand = {
2314
2542
  description: "Scopes (comma- or space-separated)"
2315
2543
  },
2316
2544
  yesOption,
2317
- formatOption
2545
+ formatOption,
2546
+ jsonOption
2318
2547
  ],
2319
2548
  examples: [
2320
2549
  {
@@ -2339,7 +2568,7 @@ var tokenSubcommand = {
2339
2568
  },
2340
2569
  {
2341
2570
  name: "Output as JSON (includes expiresAt, installationId, etc.)",
2342
- value: `${packageName} connect token scl_abc123 --format=json`
2571
+ value: `${packageName} connect token scl_abc123 --json`
2343
2572
  }
2344
2573
  ]
2345
2574
  };
@@ -2372,7 +2601,8 @@ var revokeTokensSubcommand = {
2372
2601
  ...yesOption,
2373
2602
  description: "Skip the confirmation prompt"
2374
2603
  },
2375
- formatOption
2604
+ formatOption,
2605
+ jsonOption
2376
2606
  ],
2377
2607
  examples: [
2378
2608
  {
@@ -2393,7 +2623,7 @@ var revokeTokensSubcommand = {
2393
2623
  },
2394
2624
  {
2395
2625
  name: "Output as JSON",
2396
- value: `${packageName} connect revoke-tokens scl_abc123 --my-tokens --yes --format=json`
2626
+ value: `${packageName} connect revoke-tokens scl_abc123 --my-tokens --yes --json`
2397
2627
  }
2398
2628
  ]
2399
2629
  };
@@ -2407,7 +2637,7 @@ var openSubcommand = {
2407
2637
  required: true
2408
2638
  }
2409
2639
  ],
2410
- options: [formatOption],
2640
+ options: [formatOption, jsonOption],
2411
2641
  examples: [
2412
2642
  {
2413
2643
  name: "Open a connector by ID",
@@ -2419,7 +2649,7 @@ var openSubcommand = {
2419
2649
  },
2420
2650
  {
2421
2651
  name: "Print the dashboard URL as JSON",
2422
- value: `${packageName} connect open scl_abc123 --format=json`
2652
+ value: `${packageName} connect open scl_abc123 --json`
2423
2653
  }
2424
2654
  ]
2425
2655
  };
@@ -2482,7 +2712,8 @@ var attachSubcommand = {
2482
2712
  ...yesOption,
2483
2713
  description: "Skip the confirmation prompt"
2484
2714
  },
2485
- formatOption
2715
+ formatOption,
2716
+ jsonOption
2486
2717
  ],
2487
2718
  examples: [
2488
2719
  {
@@ -2519,7 +2750,7 @@ var attachSubcommand = {
2519
2750
  },
2520
2751
  {
2521
2752
  name: "Non-interactive output as JSON",
2522
- value: `${packageName} connect attach scl_abc123 --yes --format=json`
2753
+ value: `${packageName} connect attach scl_abc123 --yes --json`
2523
2754
  }
2524
2755
  ]
2525
2756
  };
@@ -2543,7 +2774,8 @@ var detachSubcommand = {
2543
2774
  ...yesOption,
2544
2775
  description: "Skip the confirmation prompt"
2545
2776
  },
2546
- formatOption
2777
+ formatOption,
2778
+ jsonOption
2547
2779
  ],
2548
2780
  examples: [
2549
2781
  {
@@ -2556,7 +2788,7 @@ var detachSubcommand = {
2556
2788
  },
2557
2789
  {
2558
2790
  name: "Non-interactive output as JSON",
2559
- value: `${packageName} connect detach scl_abc123 --yes --format=json`
2791
+ value: `${packageName} connect detach scl_abc123 --yes --json`
2560
2792
  }
2561
2793
  ]
2562
2794
  };
@@ -2569,11 +2801,11 @@ var connexCommand = {
2569
2801
  subcommands: [
2570
2802
  createSubcommand2,
2571
2803
  updateSubcommand,
2572
- listSubcommand5,
2804
+ listSubcommand6,
2573
2805
  tokenSubcommand,
2574
2806
  attachSubcommand,
2575
2807
  detachSubcommand,
2576
- removeSubcommand3,
2808
+ removeSubcommand4,
2577
2809
  revokeTokensSubcommand,
2578
2810
  openSubcommand
2579
2811
  ],
@@ -2615,7 +2847,7 @@ var contractCommand = {
2615
2847
  },
2616
2848
  {
2617
2849
  name: "Show contract information for all billing periods as JSON",
2618
- value: `${packageName} contract --format json`
2850
+ value: `${packageName} contract --json`
2619
2851
  }
2620
2852
  ]
2621
2853
  };
@@ -2655,13 +2887,13 @@ var addSubcommand3 = {
2655
2887
  }
2656
2888
  ]
2657
2889
  };
2658
- var listSubcommand6 = {
2890
+ var listSubcommand7 = {
2659
2891
  name: "list",
2660
2892
  aliases: ["ls"],
2661
2893
  description: "List all cron jobs for a project",
2662
2894
  default: true,
2663
2895
  arguments: [],
2664
- options: [formatOption, projectOption],
2896
+ options: [formatOption, jsonOption, projectOption],
2665
2897
  examples: [
2666
2898
  {
2667
2899
  name: "List all cron jobs",
@@ -2669,7 +2901,7 @@ var listSubcommand6 = {
2669
2901
  },
2670
2902
  {
2671
2903
  name: "List all cron jobs as JSON",
2672
- value: `${packageName} crons ls --format json`
2904
+ value: `${packageName} crons ls --json`
2673
2905
  }
2674
2906
  ]
2675
2907
  };
@@ -2696,7 +2928,7 @@ var cronsCommand = {
2696
2928
  aliases: ["cron"],
2697
2929
  description: "Manage cron jobs for a project",
2698
2930
  arguments: [],
2699
- subcommands: [addSubcommand3, listSubcommand6, runSubcommand],
2931
+ subcommands: [addSubcommand3, listSubcommand7, runSubcommand],
2700
2932
  options: [],
2701
2933
  examples: []
2702
2934
  };
@@ -2705,7 +2937,7 @@ var cronsCommand = {
2705
2937
  var curlCommand = {
2706
2938
  name: "curl",
2707
2939
  aliases: [],
2708
- description: "Execute curl with automatic deployment URL and protection bypass.",
2940
+ description: "Make curl requests to Vercel deployments with automatic protection bypass.",
2709
2941
  arguments: [
2710
2942
  {
2711
2943
  name: "path",
@@ -2735,6 +2967,10 @@ var curlCommand = {
2735
2967
  }
2736
2968
  ],
2737
2969
  examples: [
2970
+ {
2971
+ name: "Access a protected deployment URL",
2972
+ value: `${packageName} curl https://your-project-abc123.vercel.app/api/hello`
2973
+ },
2738
2974
  {
2739
2975
  name: "Make a GET request to an API endpoint",
2740
2976
  value: `${packageName} curl /api/hello`
@@ -2771,16 +3007,16 @@ var projectOption3 = {
2771
3007
  ...projectOption,
2772
3008
  shorthand: "p"
2773
3009
  };
2774
- var listSubcommand7 = {
3010
+ var listSubcommand8 = {
2775
3011
  name: "list",
2776
3012
  aliases: ["ls"],
2777
3013
  description: "List deploy hooks for a project",
2778
3014
  arguments: [],
2779
- options: [formatOption, projectOption3],
3015
+ options: [formatOption, jsonOption, projectOption3],
2780
3016
  examples: [
2781
3017
  {
2782
3018
  name: "List deploy hooks as JSON",
2783
- value: `${packageName} deploy-hooks ls --format json`
3019
+ value: `${packageName} deploy-hooks ls --json`
2784
3020
  }
2785
3021
  ]
2786
3022
  };
@@ -2812,7 +3048,7 @@ var createSubcommand3 = {
2812
3048
  }
2813
3049
  ]
2814
3050
  };
2815
- var removeSubcommand4 = {
3051
+ var removeSubcommand5 = {
2816
3052
  name: "remove",
2817
3053
  aliases: ["rm", "delete"],
2818
3054
  description: "Remove a deploy hook by id",
@@ -2836,7 +3072,7 @@ var deployHooksCommand = {
2836
3072
  aliases: ["deploy-hook"],
2837
3073
  description: "Manage deploy hooks for Git-triggered builds",
2838
3074
  arguments: [],
2839
- subcommands: [listSubcommand7, createSubcommand3, removeSubcommand4],
3075
+ subcommands: [listSubcommand8, createSubcommand3, removeSubcommand5],
2840
3076
  options: [],
2841
3077
  examples: []
2842
3078
  };
@@ -2859,7 +3095,7 @@ var importSubcommand = {
2859
3095
  options: [],
2860
3096
  examples: []
2861
3097
  };
2862
- var listSubcommand8 = {
3098
+ var listSubcommand9 = {
2863
3099
  name: "list",
2864
3100
  aliases: ["ls"],
2865
3101
  description: "List DNS entries. Pass a domain to list its records, or omit the argument to list records across every domain on the scope",
@@ -2890,7 +3126,7 @@ var addSubcommand4 = {
2890
3126
  options: [],
2891
3127
  examples: []
2892
3128
  };
2893
- var removeSubcommand5 = {
3129
+ var removeSubcommand6 = {
2894
3130
  name: "remove",
2895
3131
  aliases: ["rm"],
2896
3132
  description: "Remove a DNS entry using its ID",
@@ -2916,8 +3152,8 @@ var dnsCommand = {
2916
3152
  subcommands: [
2917
3153
  addSubcommand4,
2918
3154
  importSubcommand,
2919
- listSubcommand8,
2920
- removeSubcommand5
3155
+ listSubcommand9,
3156
+ removeSubcommand6
2921
3157
  ],
2922
3158
  options: [],
2923
3159
  examples: [
@@ -2967,13 +3203,13 @@ var dnsCommand = {
2967
3203
  };
2968
3204
 
2969
3205
  // src/commands/domains/command.ts
2970
- var listSubcommand9 = {
3206
+ var listSubcommand10 = {
2971
3207
  name: "list",
2972
3208
  aliases: ["ls"],
2973
3209
  description: "Show all domains in a list",
2974
3210
  default: true,
2975
3211
  arguments: [],
2976
- options: [limitOption, nextOption, formatOption],
3212
+ options: [limitOption, nextOption, formatOption, jsonOption],
2977
3213
  examples: [
2978
3214
  {
2979
3215
  name: "Paginate results, where `1584722256178` is the time in milliseconds since the UNIX epoch",
@@ -2981,7 +3217,7 @@ var listSubcommand9 = {
2981
3217
  }
2982
3218
  ]
2983
3219
  };
2984
- var inspectSubcommand2 = {
3220
+ var inspectSubcommand3 = {
2985
3221
  name: "inspect",
2986
3222
  aliases: [],
2987
3223
  description: "Displays information related to a domain",
@@ -3026,7 +3262,7 @@ var addSubcommand5 = {
3026
3262
  }
3027
3263
  ]
3028
3264
  };
3029
- var removeSubcommand6 = {
3265
+ var removeSubcommand7 = {
3030
3266
  name: "remove",
3031
3267
  aliases: ["rm"],
3032
3268
  description: "Remove ownership of a domain name from a Vercel Team",
@@ -3055,7 +3291,7 @@ var priceSubcommand = {
3055
3291
  multiple: true
3056
3292
  }
3057
3293
  ],
3058
- options: [formatOption],
3294
+ options: [formatOption, jsonOption],
3059
3295
  examples: [
3060
3296
  {
3061
3297
  name: "Price quote for a domain",
@@ -3067,7 +3303,7 @@ var priceSubcommand = {
3067
3303
  },
3068
3304
  {
3069
3305
  name: "JSON output",
3070
- value: `${packageName} domains price example.com --format json`
3306
+ value: `${packageName} domains price example.com --json`
3071
3307
  }
3072
3308
  ]
3073
3309
  };
@@ -3121,7 +3357,8 @@ var searchSubcommand = {
3121
3357
  description: "Show the next page of candidates",
3122
3358
  deprecated: false
3123
3359
  },
3124
- formatOption
3360
+ formatOption,
3361
+ jsonOption
3125
3362
  ],
3126
3363
  examples: [
3127
3364
  {
@@ -3142,7 +3379,7 @@ var searchSubcommand = {
3142
3379
  },
3143
3380
  {
3144
3381
  name: "JSON output",
3145
- value: `${packageName} domains search acme --format=json`
3382
+ value: `${packageName} domains search acme --json`
3146
3383
  }
3147
3384
  ]
3148
3385
  };
@@ -3170,7 +3407,7 @@ var checkSubcommand = {
3170
3407
  multiple: true
3171
3408
  }
3172
3409
  ],
3173
- options: [formatOption],
3410
+ options: [formatOption, jsonOption],
3174
3411
  examples: [
3175
3412
  {
3176
3413
  name: "Check if a domain is available",
@@ -3182,7 +3419,7 @@ var checkSubcommand = {
3182
3419
  },
3183
3420
  {
3184
3421
  name: "JSON output",
3185
- value: `${packageName} domains check example.com --format json`
3422
+ value: `${packageName} domains check example.com --json`
3186
3423
  }
3187
3424
  ]
3188
3425
  };
@@ -3242,296 +3479,54 @@ var verifySubcommand = {
3242
3479
  options: [
3243
3480
  projectOption,
3244
3481
  {
3245
- name: "strict",
3246
- shorthand: null,
3247
- type: Boolean,
3248
- deprecated: false,
3249
- description: "Check DNS for the exact domain only, without falling back to the parent zone configuration"
3250
- },
3251
- formatOption
3252
- ],
3253
- examples: [
3254
- {
3255
- name: "Check why a domain is not working",
3256
- value: `${packageName} domains verify example.com`
3257
- },
3258
- {
3259
- name: "Check a domain against a specific project",
3260
- value: `${packageName} domains verify example.com --project my-site`
3261
- },
3262
- {
3263
- name: "JSON output (the exit code is non-zero when the domain is misconfigured or unverified)",
3264
- value: `${packageName} domains verify example.com --format json`
3265
- },
3266
- {
3267
- name: "Agent-friendly output with status, reason, and suggested next commands",
3268
- value: `${packageName} domains verify example.com --non-interactive`
3269
- }
3270
- ]
3271
- };
3272
- var domainsCommand = {
3273
- name: "domains",
3274
- aliases: ["domain"],
3275
- description: "Manage domains",
3276
- arguments: [],
3277
- subcommands: [
3278
- listSubcommand9,
3279
- inspectSubcommand2,
3280
- addSubcommand5,
3281
- buySubcommand,
3282
- checkSubcommand,
3283
- moveSubcommand,
3284
- priceSubcommand,
3285
- searchSubcommand,
3286
- transferInSubcommand,
3287
- removeSubcommand6,
3288
- verifySubcommand
3289
- ],
3290
- options: [],
3291
- examples: []
3292
- };
3293
-
3294
- // src/commands/edge-config/command.ts
3295
- var listSubcommand10 = {
3296
- name: "list",
3297
- aliases: ["ls"],
3298
- description: "List Edge Config stores for the current team",
3299
- default: true,
3300
- arguments: [],
3301
- options: [formatOption],
3302
- examples: [
3303
- {
3304
- name: "List Edge Configs as JSON",
3305
- value: `${packageName} edge-config list --format json`
3306
- }
3307
- ]
3308
- };
3309
- var addSubcommand6 = {
3310
- name: "add",
3311
- aliases: ["create"],
3312
- description: "Create an Edge Config store",
3313
- arguments: [
3314
- {
3315
- name: "slug",
3316
- required: true
3317
- }
3318
- ],
3319
- options: [
3320
- formatOption,
3321
- {
3322
- name: "items",
3323
- shorthand: null,
3324
- type: String,
3325
- argument: "JSON",
3326
- deprecated: false,
3327
- description: 'Optional JSON object of initial items `{ "key": <value>, ... }`'
3328
- }
3329
- ],
3330
- examples: [
3331
- {
3332
- name: "Create a store with slug `flags`",
3333
- value: `${packageName} edge-config add flags`
3334
- }
3335
- ]
3336
- };
3337
- var getSubcommand = {
3338
- name: "get",
3339
- aliases: ["inspect"],
3340
- description: "Show metadata for an Edge Config (id `ecfg_\u2026` or slug)",
3341
- arguments: [
3342
- {
3343
- name: "id-or-slug",
3344
- required: true
3345
- }
3346
- ],
3347
- options: [formatOption],
3348
- examples: []
3349
- };
3350
- var updateSubcommand2 = {
3351
- name: "update",
3352
- aliases: [],
3353
- description: "Rename an Edge Config (`--slug`) and/or patch items (`--patch` JSON)",
3354
- arguments: [
3355
- {
3356
- name: "id-or-slug",
3357
- required: true
3358
- }
3359
- ],
3360
- options: [
3361
- formatOption,
3362
- {
3363
- name: "slug",
3364
- shorthand: null,
3365
- type: String,
3366
- argument: "SLUG",
3367
- deprecated: false,
3368
- description: "New slug for the Edge Config"
3369
- },
3370
- {
3371
- name: "patch",
3372
- shorthand: null,
3373
- type: String,
3374
- argument: "JSON",
3375
- deprecated: false,
3376
- description: 'JSON for `PATCH /v1/edge-config/:id/items`: `{"items":[...]}` or a bare array. Each item needs `operation` (create | update | upsert | delete), `key`, and usually `value` (see REST API: update-edge-config-items-in-batch)'
3377
- }
3378
- ],
3379
- examples: []
3380
- };
3381
- var removeSubcommand7 = {
3382
- name: "remove",
3383
- aliases: ["rm", "delete"],
3384
- description: "Delete an Edge Config store",
3385
- arguments: [
3386
- {
3387
- name: "id-or-slug",
3388
- required: true
3389
- }
3390
- ],
3391
- options: [yesOption, formatOption],
3392
- examples: []
3393
- };
3394
- var itemsSubcommand = {
3395
- name: "items",
3396
- aliases: [],
3397
- description: "List items in an Edge Config, or fetch one item with `--key`",
3398
- arguments: [
3399
- {
3400
- name: "id-or-slug",
3401
- required: true
3402
- }
3403
- ],
3404
- options: [
3405
- formatOption,
3406
- {
3407
- name: "key",
3408
- shorthand: "k",
3409
- type: String,
3410
- argument: "KEY",
3411
- deprecated: false,
3412
- description: "When set, fetch a single item by key"
3413
- }
3414
- ],
3415
- examples: []
3416
- };
3417
- var tokensSubcommand = {
3418
- name: "tokens",
3419
- aliases: [],
3420
- description: "List, create (`--add`), or revoke (`--remove`) read tokens for an Edge Config",
3421
- arguments: [
3422
- {
3423
- name: "id-or-slug",
3424
- required: true
3425
- }
3426
- ],
3427
- options: [
3428
- formatOption,
3429
- yesOption,
3430
- {
3431
- name: "add",
3432
- shorthand: null,
3433
- type: String,
3434
- argument: "LABEL",
3435
- deprecated: false,
3436
- description: "Create a token with this label (1\u201352 characters)"
3437
- },
3438
- {
3439
- name: "remove",
3440
- shorthand: null,
3441
- type: [String],
3442
- argument: "ID_OR_TOKEN",
3443
- deprecated: false,
3444
- description: "Revoke one or more tokens by id or plaintext token (repeatable). Requires `--yes` in non-interactive mode"
3445
- }
3446
- ],
3447
- examples: []
3448
- };
3449
- var backupsSubcommand = {
3450
- name: "backups",
3451
- aliases: [],
3452
- description: "List, inspect, or restore Edge Config backups",
3453
- arguments: [
3454
- {
3455
- name: "id-or-slug",
3456
- required: true
3457
- }
3458
- ],
3459
- options: [
3460
- formatOption,
3461
- {
3462
- ...yesOption,
3463
- description: "Skip the confirmation prompt when restoring"
3464
- },
3465
- {
3466
- name: "backup-version",
3467
- shorthand: null,
3468
- type: String,
3469
- argument: "VERSION_ID",
3470
- deprecated: false,
3471
- description: "Fetch a single backup by version id"
3472
- },
3473
- {
3474
- name: "restore",
3475
- shorthand: null,
3476
- type: String,
3477
- argument: "VERSION_ID",
3478
- deprecated: false,
3479
- description: "Restore items from the backup version id. Requires confirmation because it updates live Edge Config items"
3480
- },
3481
- {
3482
- name: "limit",
3483
- shorthand: null,
3484
- type: Number,
3485
- argument: "NUMBER",
3486
- deprecated: false,
3487
- description: "Maximum number of backups to list (0-50)"
3488
- },
3489
- {
3490
- name: "next",
3482
+ name: "strict",
3491
3483
  shorthand: null,
3492
- type: String,
3493
- argument: "CURSOR",
3484
+ type: Boolean,
3494
3485
  deprecated: false,
3495
- description: "Pagination cursor from a previous backup list response"
3496
- }
3486
+ description: "Check DNS for the exact domain only, without falling back to the parent zone configuration"
3487
+ },
3488
+ formatOption,
3489
+ jsonOption
3497
3490
  ],
3498
3491
  examples: [
3499
3492
  {
3500
- name: "List backups for an Edge Config",
3501
- value: `${packageName} edge-config backups my-store`
3493
+ name: "Check why a domain is not working",
3494
+ value: `${packageName} domains verify example.com`
3502
3495
  },
3503
3496
  {
3504
- name: "Inspect a backup as JSON",
3505
- value: `${packageName} edge-config backups my-store --backup-version <version-id> --format json`
3497
+ name: "Check a domain against a specific project",
3498
+ value: `${packageName} domains verify example.com --project my-site`
3506
3499
  },
3507
3500
  {
3508
- name: "Restore a backup",
3509
- value: `${packageName} edge-config backups my-store --restore <version-id> --yes`
3501
+ name: "JSON output (the exit code is non-zero when the domain is misconfigured or unverified)",
3502
+ value: `${packageName} domains verify example.com --json`
3503
+ },
3504
+ {
3505
+ name: "Agent-friendly output with status, reason, and suggested next commands",
3506
+ value: `${packageName} domains verify example.com --non-interactive`
3510
3507
  }
3511
3508
  ]
3512
3509
  };
3513
- var edgeConfigCommand = {
3514
- name: "edge-config",
3515
- aliases: [],
3516
- description: "Manage Edge Config stores (dashboard API parity)",
3510
+ var domainsCommand = {
3511
+ name: "domains",
3512
+ aliases: ["domain"],
3513
+ description: "Manage domains",
3517
3514
  arguments: [],
3518
3515
  subcommands: [
3519
3516
  listSubcommand10,
3520
- addSubcommand6,
3521
- getSubcommand,
3522
- updateSubcommand2,
3517
+ inspectSubcommand3,
3518
+ addSubcommand5,
3519
+ buySubcommand,
3520
+ checkSubcommand,
3521
+ moveSubcommand,
3522
+ priceSubcommand,
3523
+ searchSubcommand,
3524
+ transferInSubcommand,
3523
3525
  removeSubcommand7,
3524
- itemsSubcommand,
3525
- tokensSubcommand,
3526
- backupsSubcommand
3526
+ verifySubcommand
3527
3527
  ],
3528
3528
  options: [],
3529
- examples: [
3530
- {
3531
- name: "List stores",
3532
- value: `${packageName} edge-config list`
3533
- }
3534
- ]
3529
+ examples: []
3535
3530
  };
3536
3531
 
3537
3532
  // src/commands/firewall/command.ts
@@ -4603,7 +4598,7 @@ var listSubcommand11 = {
4603
4598
  }
4604
4599
  ]
4605
4600
  };
4606
- var inspectSubcommand3 = {
4601
+ var inspectSubcommand4 = {
4607
4602
  name: "inspect",
4608
4603
  aliases: [],
4609
4604
  description: "Display information about a feature flag",
@@ -4879,7 +4874,7 @@ var openSubcommand2 = {
4879
4874
  }
4880
4875
  ]
4881
4876
  };
4882
- var updateSubcommand3 = {
4877
+ var updateSubcommand2 = {
4883
4878
  name: "update",
4884
4879
  aliases: [],
4885
4880
  description: "Update an existing feature flag",
@@ -6029,12 +6024,12 @@ var flagsCommand = {
6029
6024
  arguments: [],
6030
6025
  subcommands: [
6031
6026
  listSubcommand11,
6032
- inspectSubcommand3,
6027
+ inspectSubcommand4,
6033
6028
  versionsSubcommand,
6034
6029
  evaluationsSubcommand,
6035
6030
  createSubcommand4,
6036
6031
  openSubcommand2,
6037
- updateSubcommand3,
6032
+ updateSubcommand2,
6038
6033
  setSubcommand2,
6039
6034
  splitSubcommand,
6040
6035
  rolloutSubcommand,
@@ -6059,44 +6054,292 @@ var connectSubcommand = {
6059
6054
  description: "Connect your Vercel Project to your Git repository or provide the remote URL to your Git repository",
6060
6055
  arguments: [
6061
6056
  {
6062
- name: "git-url",
6063
- required: false
6057
+ name: "git-url",
6058
+ required: false
6059
+ }
6060
+ ],
6061
+ options: [projectOption, yesOption, confirmOption],
6062
+ examples: [
6063
+ {
6064
+ name: "Connect your Vercel Project to your Git repository defined in your local `.git` config",
6065
+ value: `${packageName} git connect`
6066
+ },
6067
+ {
6068
+ name: "Connect your Vercel Project to a Git repository using the remote URL",
6069
+ value: `${packageName} git connect https://github.com/user/repo.git`
6070
+ }
6071
+ ]
6072
+ };
6073
+ var disconnectSubcommand = {
6074
+ name: "disconnect",
6075
+ aliases: [],
6076
+ description: "Disconnect the Git repository from your Vercel Project",
6077
+ arguments: [],
6078
+ options: [projectOption, yesOption, confirmOption],
6079
+ examples: [
6080
+ {
6081
+ name: "Disconnect the Git repository",
6082
+ value: `${packageName} git disconnect`
6083
+ }
6084
+ ]
6085
+ };
6086
+ var gitCommand = {
6087
+ name: "git",
6088
+ aliases: [],
6089
+ description: "Manage your Git repository connection to the current Project",
6090
+ arguments: [],
6091
+ subcommands: [connectSubcommand, disconnectSubcommand],
6092
+ options: [],
6093
+ examples: []
6094
+ };
6095
+
6096
+ // src/commands/global-config/command.ts
6097
+ var listSubcommand12 = {
6098
+ name: "list",
6099
+ aliases: ["ls"],
6100
+ description: "List Global Config stores for the current team",
6101
+ default: true,
6102
+ arguments: [],
6103
+ options: [formatOption, jsonOption],
6104
+ examples: [
6105
+ {
6106
+ name: "List Global Configs as JSON",
6107
+ value: `${packageName} global-config list --json`
6108
+ }
6109
+ ]
6110
+ };
6111
+ var addSubcommand6 = {
6112
+ name: "add",
6113
+ aliases: ["create"],
6114
+ description: "Create a Global Config store",
6115
+ arguments: [
6116
+ {
6117
+ name: "slug",
6118
+ required: true
6119
+ }
6120
+ ],
6121
+ options: [
6122
+ formatOption,
6123
+ jsonOption,
6124
+ {
6125
+ name: "items",
6126
+ shorthand: null,
6127
+ type: String,
6128
+ argument: "JSON",
6129
+ deprecated: false,
6130
+ description: 'Optional JSON object of initial items `{ "key": <value>, ... }`'
6131
+ }
6132
+ ],
6133
+ examples: [
6134
+ {
6135
+ name: "Create a store with slug `flags`",
6136
+ value: `${packageName} global-config add flags`
6137
+ }
6138
+ ]
6139
+ };
6140
+ var getSubcommand = {
6141
+ name: "get",
6142
+ aliases: ["inspect"],
6143
+ description: "Show metadata for a Global Config (id `ecfg_\u2026` or slug)",
6144
+ arguments: [
6145
+ {
6146
+ name: "id-or-slug",
6147
+ required: true
6148
+ }
6149
+ ],
6150
+ options: [formatOption, jsonOption],
6151
+ examples: []
6152
+ };
6153
+ var updateSubcommand3 = {
6154
+ name: "update",
6155
+ aliases: [],
6156
+ description: "Rename a Global Config (`--slug`) and/or patch items (`--patch` JSON)",
6157
+ arguments: [
6158
+ {
6159
+ name: "id-or-slug",
6160
+ required: true
6161
+ }
6162
+ ],
6163
+ options: [
6164
+ formatOption,
6165
+ jsonOption,
6166
+ {
6167
+ name: "slug",
6168
+ shorthand: null,
6169
+ type: String,
6170
+ argument: "SLUG",
6171
+ deprecated: false,
6172
+ description: "New slug for the Global Config"
6173
+ },
6174
+ {
6175
+ name: "patch",
6176
+ shorthand: null,
6177
+ type: String,
6178
+ argument: "JSON",
6179
+ deprecated: false,
6180
+ description: 'JSON for `PATCH /v1/global-config/:id/items`: `{"items":[...]}` or a bare array. Each item needs `operation` (create | update | upsert | delete), `key`, and usually `value` (see REST API: update-edge-config-items-in-batch)'
6181
+ }
6182
+ ],
6183
+ examples: []
6184
+ };
6185
+ var removeSubcommand9 = {
6186
+ name: "remove",
6187
+ aliases: ["rm", "delete"],
6188
+ description: "Delete a Global Config store",
6189
+ arguments: [
6190
+ {
6191
+ name: "id-or-slug",
6192
+ required: true
6193
+ }
6194
+ ],
6195
+ options: [yesOption, formatOption, jsonOption],
6196
+ examples: []
6197
+ };
6198
+ var itemsSubcommand = {
6199
+ name: "items",
6200
+ aliases: [],
6201
+ description: "List items in a Global Config, or fetch one item with `--key`",
6202
+ arguments: [
6203
+ {
6204
+ name: "id-or-slug",
6205
+ required: true
6206
+ }
6207
+ ],
6208
+ options: [
6209
+ formatOption,
6210
+ jsonOption,
6211
+ {
6212
+ name: "key",
6213
+ shorthand: "k",
6214
+ type: String,
6215
+ argument: "KEY",
6216
+ deprecated: false,
6217
+ description: "When set, fetch a single item by key"
6218
+ }
6219
+ ],
6220
+ examples: []
6221
+ };
6222
+ var tokensSubcommand = {
6223
+ name: "tokens",
6224
+ aliases: [],
6225
+ description: "List, create (`--add`), or revoke (`--remove`) read tokens for a Global Config",
6226
+ arguments: [
6227
+ {
6228
+ name: "id-or-slug",
6229
+ required: true
6230
+ }
6231
+ ],
6232
+ options: [
6233
+ formatOption,
6234
+ jsonOption,
6235
+ yesOption,
6236
+ {
6237
+ name: "add",
6238
+ shorthand: null,
6239
+ type: String,
6240
+ argument: "LABEL",
6241
+ deprecated: false,
6242
+ description: "Create a token with this label (1\u201352 characters)"
6243
+ },
6244
+ {
6245
+ name: "remove",
6246
+ shorthand: null,
6247
+ type: [String],
6248
+ argument: "ID_OR_TOKEN",
6249
+ deprecated: false,
6250
+ description: "Revoke one or more tokens by id or plaintext token (repeatable). Requires `--yes` in non-interactive mode"
6251
+ }
6252
+ ],
6253
+ examples: []
6254
+ };
6255
+ var backupsSubcommand = {
6256
+ name: "backups",
6257
+ aliases: [],
6258
+ description: "List, inspect, or restore Global Config backups",
6259
+ arguments: [
6260
+ {
6261
+ name: "id-or-slug",
6262
+ required: true
6263
+ }
6264
+ ],
6265
+ options: [
6266
+ formatOption,
6267
+ jsonOption,
6268
+ {
6269
+ ...yesOption,
6270
+ description: "Skip the confirmation prompt when restoring"
6271
+ },
6272
+ {
6273
+ name: "backup-version",
6274
+ shorthand: null,
6275
+ type: String,
6276
+ argument: "VERSION_ID",
6277
+ deprecated: false,
6278
+ description: "Fetch a single backup by version id"
6279
+ },
6280
+ {
6281
+ name: "restore",
6282
+ shorthand: null,
6283
+ type: String,
6284
+ argument: "VERSION_ID",
6285
+ deprecated: false,
6286
+ description: "Restore items from the backup version id. Requires confirmation because it updates live Global Config items"
6287
+ },
6288
+ {
6289
+ name: "limit",
6290
+ shorthand: null,
6291
+ type: Number,
6292
+ argument: "NUMBER",
6293
+ deprecated: false,
6294
+ description: "Maximum number of backups to list (0-50)"
6295
+ },
6296
+ {
6297
+ name: "next",
6298
+ shorthand: null,
6299
+ type: String,
6300
+ argument: "CURSOR",
6301
+ deprecated: false,
6302
+ description: "Pagination cursor from a previous backup list response"
6064
6303
  }
6065
6304
  ],
6066
- options: [projectOption, yesOption, confirmOption],
6067
6305
  examples: [
6068
6306
  {
6069
- name: "Connect your Vercel Project to your Git repository defined in your local `.git` config",
6070
- value: `${packageName} git connect`
6307
+ name: "List backups for a Global Config",
6308
+ value: `${packageName} global-config backups my-store`
6071
6309
  },
6072
6310
  {
6073
- name: "Connect your Vercel Project to a Git repository using the remote URL",
6074
- value: `${packageName} git connect https://github.com/user/repo.git`
6311
+ name: "Inspect a backup as JSON",
6312
+ value: `${packageName} global-config backups my-store --backup-version <version-id> --json`
6313
+ },
6314
+ {
6315
+ name: "Restore a backup",
6316
+ value: `${packageName} global-config backups my-store --restore <version-id> --yes`
6075
6317
  }
6076
6318
  ]
6077
6319
  };
6078
- var disconnectSubcommand = {
6079
- name: "disconnect",
6080
- aliases: [],
6081
- description: "Disconnect the Git repository from your Vercel Project",
6320
+ var globalConfigCommand = {
6321
+ name: "global-config",
6322
+ aliases: ["edge-config"],
6323
+ description: "Manage Global Config stores (dashboard API parity)",
6082
6324
  arguments: [],
6083
- options: [projectOption, yesOption, confirmOption],
6325
+ subcommands: [
6326
+ listSubcommand12,
6327
+ addSubcommand6,
6328
+ getSubcommand,
6329
+ updateSubcommand3,
6330
+ removeSubcommand9,
6331
+ itemsSubcommand,
6332
+ tokensSubcommand,
6333
+ backupsSubcommand
6334
+ ],
6335
+ options: [],
6084
6336
  examples: [
6085
6337
  {
6086
- name: "Disconnect the Git repository",
6087
- value: `${packageName} git disconnect`
6338
+ name: "List stores",
6339
+ value: `${packageName} global-config list`
6088
6340
  }
6089
6341
  ]
6090
6342
  };
6091
- var gitCommand = {
6092
- name: "git",
6093
- aliases: [],
6094
- description: "Manage your Git repository connection to the current Project",
6095
- arguments: [],
6096
- subcommands: [connectSubcommand, disconnectSubcommand],
6097
- options: [],
6098
- examples: []
6099
- };
6100
6343
 
6101
6344
  // src/commands/guidance/command.ts
6102
6345
  var statusSubcommand = {
@@ -6292,13 +6535,13 @@ var inspectCommand = {
6292
6535
  },
6293
6536
  {
6294
6537
  name: "Get deployment information as JSON",
6295
- value: `${packageName} inspect my-deployment.vercel.app --format=json`
6538
+ value: `${packageName} inspect my-deployment.vercel.app --json`
6296
6539
  }
6297
6540
  ]
6298
6541
  };
6299
6542
 
6300
6543
  // src/commands/integration-resource/command.ts
6301
- var removeSubcommand9 = {
6544
+ var removeSubcommand10 = {
6302
6545
  name: "remove",
6303
6546
  aliases: ["rm"],
6304
6547
  description: "Delete an integration resource",
@@ -6320,7 +6563,8 @@ var removeSubcommand9 = {
6320
6563
  ...yesOption,
6321
6564
  description: "Skip the confirmation prompt when deleting a resource"
6322
6565
  },
6323
- formatOption
6566
+ formatOption,
6567
+ jsonOption
6324
6568
  ],
6325
6569
  examples: [
6326
6570
  {
@@ -6340,7 +6584,7 @@ var removeSubcommand9 = {
6340
6584
  },
6341
6585
  {
6342
6586
  name: "Output as JSON",
6343
- value: `${packageName} integration-resource remove my-acme-resource --format=json --yes`
6587
+ value: `${packageName} integration-resource remove my-acme-resource --json --yes`
6344
6588
  }
6345
6589
  ]
6346
6590
  };
@@ -6370,7 +6614,8 @@ var disconnectSubcommand2 = {
6370
6614
  ...yesOption,
6371
6615
  description: "Skip the confirmation prompt when disconnecting a resource"
6372
6616
  },
6373
- formatOption
6617
+ formatOption,
6618
+ jsonOption
6374
6619
  ],
6375
6620
  examples: [
6376
6621
  {
@@ -6397,7 +6642,7 @@ var disconnectSubcommand2 = {
6397
6642
  },
6398
6643
  {
6399
6644
  name: "Output as JSON",
6400
- value: `${packageName} integration-resource disconnect my-acme-resource --format=json --yes`
6645
+ value: `${packageName} integration-resource disconnect my-acme-resource --json --yes`
6401
6646
  }
6402
6647
  ]
6403
6648
  };
@@ -6436,7 +6681,8 @@ var connectSubcommand2 = {
6436
6681
  ...yesOption,
6437
6682
  description: "Skip the confirmation prompt when connecting a resource"
6438
6683
  },
6439
- formatOption
6684
+ formatOption,
6685
+ jsonOption
6440
6686
  ],
6441
6687
  examples: [
6442
6688
  {
@@ -6466,7 +6712,7 @@ var connectSubcommand2 = {
6466
6712
  },
6467
6713
  {
6468
6714
  name: "Output as JSON",
6469
- value: `${packageName} integration resource connect my-acme-resource --format=json --yes`
6715
+ value: `${packageName} integration resource connect my-acme-resource --json --yes`
6470
6716
  }
6471
6717
  ]
6472
6718
  };
@@ -6531,7 +6777,8 @@ var claimSubcommand = {
6531
6777
  type: Boolean,
6532
6778
  deprecated: false
6533
6779
  },
6534
- formatOption
6780
+ formatOption,
6781
+ jsonOption
6535
6782
  ],
6536
6783
  examples: [
6537
6784
  {
@@ -6547,11 +6794,11 @@ var claimSubcommand = {
6547
6794
  },
6548
6795
  {
6549
6796
  name: "Print the claim URL as JSON without waiting",
6550
- value: `${packageName} integration-resource claim my-stripe --format=json --no-wait`
6797
+ value: `${packageName} integration-resource claim my-stripe --json --no-wait`
6551
6798
  }
6552
6799
  ]
6553
6800
  };
6554
- var inspectSubcommand4 = {
6801
+ var inspectSubcommand5 = {
6555
6802
  name: "inspect",
6556
6803
  aliases: ["status"],
6557
6804
  description: "Show live details and status for a marketplace integration resource, fetched fresh from the provider",
@@ -6561,7 +6808,7 @@ var inspectSubcommand4 = {
6561
6808
  required: true
6562
6809
  }
6563
6810
  ],
6564
- options: [formatOption],
6811
+ options: [formatOption, jsonOption],
6565
6812
  examples: [
6566
6813
  {
6567
6814
  name: "Show live details and status for a resource",
@@ -6576,7 +6823,7 @@ var inspectSubcommand4 = {
6576
6823
  },
6577
6824
  {
6578
6825
  name: "Output as JSON",
6579
- value: `${packageName} integration resource inspect my-acme-resource --format=json`
6826
+ value: `${packageName} integration resource inspect my-acme-resource --json`
6580
6827
  }
6581
6828
  ]
6582
6829
  };
@@ -6590,9 +6837,9 @@ var integrationResourceCommand = {
6590
6837
  connectSubcommand2,
6591
6838
  createThresholdSubcommand,
6592
6839
  disconnectSubcommand2,
6593
- removeSubcommand9,
6840
+ removeSubcommand10,
6594
6841
  claimSubcommand,
6595
- inspectSubcommand4
6842
+ inspectSubcommand5
6596
6843
  ],
6597
6844
  examples: []
6598
6845
  };
@@ -6685,7 +6932,8 @@ var addSubcommand7 = {
6685
6932
  deprecated: false,
6686
6933
  description: "If the new resource is a sandbox, skip the offer to claim it (only print a hint)"
6687
6934
  },
6688
- formatOption
6935
+ formatOption,
6936
+ jsonOption
6689
6937
  ],
6690
6938
  examples: [
6691
6939
  {
@@ -6753,7 +7001,7 @@ var addSubcommand7 = {
6753
7001
  },
6754
7002
  {
6755
7003
  name: "Output as JSON",
6756
- value: `${packageName} integration add acme --format=json`
7004
+ value: `${packageName} integration add acme --json`
6757
7005
  },
6758
7006
  {
6759
7007
  name: "Show available products for an integration",
@@ -6775,7 +7023,7 @@ var acceptTermsSubcommand = {
6775
7023
  required: true
6776
7024
  }
6777
7025
  ],
6778
- options: [formatOption],
7026
+ options: [formatOption, jsonOption],
6779
7027
  examples: [
6780
7028
  {
6781
7029
  name: "Accept terms interactively, then install on the team",
@@ -6786,7 +7034,7 @@ var acceptTermsSubcommand = {
6786
7034
  },
6787
7035
  {
6788
7036
  name: "Output result as JSON",
6789
- value: `${packageName} integration accept-terms neon --format=json`
7037
+ value: `${packageName} integration accept-terms neon --json`
6790
7038
  }
6791
7039
  ]
6792
7040
  };
@@ -6804,7 +7052,7 @@ var openSubcommand3 = {
6804
7052
  required: false
6805
7053
  }
6806
7054
  ],
6807
- options: [formatOption],
7055
+ options: [formatOption, jsonOption],
6808
7056
  examples: [
6809
7057
  {
6810
7058
  name: "Open a marketplace integration's dashboard",
@@ -6823,8 +7071,8 @@ var openSubcommand3 = {
6823
7071
  {
6824
7072
  name: "Get the SSO link as JSON",
6825
7073
  value: [
6826
- `${packageName} integration open acme --format=json`,
6827
- `${packageName} integration open acme my-acme-store --format=json`
7074
+ `${packageName} integration open acme --json`,
7075
+ `${packageName} integration open acme my-acme-store --json`
6828
7076
  ]
6829
7077
  }
6830
7078
  ]
@@ -6843,7 +7091,8 @@ var installationsSubcommand = {
6843
7091
  deprecated: false,
6844
7092
  argument: "SLUG_OR_ID"
6845
7093
  },
6846
- formatOption
7094
+ formatOption,
7095
+ jsonOption
6847
7096
  ],
6848
7097
  examples: [
6849
7098
  {
@@ -6856,11 +7105,11 @@ var installationsSubcommand = {
6856
7105
  },
6857
7106
  {
6858
7107
  name: "JSON output",
6859
- value: [`${packageName} integration installations --format json`]
7108
+ value: [`${packageName} integration installations --json`]
6860
7109
  }
6861
7110
  ]
6862
7111
  };
6863
- var listSubcommand12 = {
7112
+ var listSubcommand13 = {
6864
7113
  name: "list",
6865
7114
  aliases: ["ls"],
6866
7115
  description: "List resources from marketplace integrations for the current project",
@@ -6886,7 +7135,8 @@ var listSubcommand12 = {
6886
7135
  type: Boolean,
6887
7136
  deprecated: false
6888
7137
  },
6889
- formatOption
7138
+ formatOption,
7139
+ jsonOption
6890
7140
  ],
6891
7141
  examples: [
6892
7142
  {
@@ -6910,7 +7160,7 @@ var listSubcommand12 = {
6910
7160
  },
6911
7161
  {
6912
7162
  name: "List resources as JSON",
6913
- value: [`${packageName} integration list --format=json`]
7163
+ value: [`${packageName} integration list --json`]
6914
7164
  }
6915
7165
  ]
6916
7166
  };
@@ -6933,7 +7183,8 @@ var discoverSubcommand = {
6933
7183
  argument: "CATEGORY",
6934
7184
  description: "Filter integrations by category (can be repeated; e.g., -c storage -c authentication). Run `vercel integration categories` for valid slugs."
6935
7185
  },
6936
- formatOption
7186
+ formatOption,
7187
+ jsonOption
6937
7188
  ],
6938
7189
  examples: [
6939
7190
  {
@@ -6967,7 +7218,7 @@ var discoverSubcommand = {
6967
7218
  },
6968
7219
  {
6969
7220
  name: "Discover marketplace integrations as JSON",
6970
- value: [`${packageName} integration discover --format=json`]
7221
+ value: [`${packageName} integration discover --json`]
6971
7222
  }
6972
7223
  ]
6973
7224
  };
@@ -6976,7 +7227,7 @@ var categoriesSubcommand = {
6976
7227
  aliases: [],
6977
7228
  description: "List marketplace integration categories (slugs valid for `integration discover --category`)",
6978
7229
  arguments: [],
6979
- options: [formatOption],
7230
+ options: [formatOption, jsonOption],
6980
7231
  examples: [
6981
7232
  {
6982
7233
  name: "List marketplace categories",
@@ -6984,7 +7235,7 @@ var categoriesSubcommand = {
6984
7235
  },
6985
7236
  {
6986
7237
  name: "List categories as JSON",
6987
- value: [`${packageName} integration categories --format=json`]
7238
+ value: [`${packageName} integration categories --json`]
6988
7239
  },
6989
7240
  {
6990
7241
  name: "Use a category slug to filter discover results",
@@ -7002,7 +7253,7 @@ var balanceSubcommand = {
7002
7253
  required: true
7003
7254
  }
7004
7255
  ],
7005
- options: [formatOption],
7256
+ options: [formatOption, jsonOption],
7006
7257
  examples: [
7007
7258
  {
7008
7259
  name: "Show the balance(s) & threshold(s) of a marketplace integration",
@@ -7013,7 +7264,7 @@ var balanceSubcommand = {
7013
7264
  },
7014
7265
  {
7015
7266
  name: "Output as JSON",
7016
- value: `${packageName} integration balance acme --format=json`
7267
+ value: `${packageName} integration balance acme --json`
7017
7268
  }
7018
7269
  ]
7019
7270
  };
@@ -7060,7 +7311,8 @@ var updateSubcommand4 = {
7060
7311
  argument: "ID",
7061
7312
  description: "Configuration ID when multiple marketplace installations exist for this integration"
7062
7313
  },
7063
- formatOption
7314
+ formatOption,
7315
+ jsonOption
7064
7316
  ],
7065
7317
  examples: [
7066
7318
  {
@@ -7084,7 +7336,7 @@ var updateSubcommand4 = {
7084
7336
  },
7085
7337
  {
7086
7338
  name: "Output result as JSON",
7087
- value: `${packageName} integration update neon --projects all --format=json`
7339
+ value: `${packageName} integration update neon --projects all --json`
7088
7340
  },
7089
7341
  {
7090
7342
  name: "Non-interactive (JSON success and errors on stdout)",
@@ -7092,7 +7344,7 @@ var updateSubcommand4 = {
7092
7344
  }
7093
7345
  ]
7094
7346
  };
7095
- var removeSubcommand10 = {
7347
+ var removeSubcommand11 = {
7096
7348
  name: "remove",
7097
7349
  aliases: [],
7098
7350
  description: "Uninstalls a marketplace integration. Resources must be removed first using `integration-resource remove`.",
@@ -7107,7 +7359,8 @@ var removeSubcommand10 = {
7107
7359
  ...yesOption,
7108
7360
  description: "Skip the confirmation prompt when uninstalling an integration"
7109
7361
  },
7110
- formatOption
7362
+ formatOption,
7363
+ jsonOption
7111
7364
  ],
7112
7365
  examples: [
7113
7366
  {
@@ -7123,7 +7376,7 @@ var removeSubcommand10 = {
7123
7376
  },
7124
7377
  {
7125
7378
  name: "Output as JSON",
7126
- value: `${packageName} integration remove acme --format=json --yes`
7379
+ value: `${packageName} integration remove acme --json --yes`
7127
7380
  }
7128
7381
  ]
7129
7382
  };
@@ -7182,9 +7435,9 @@ var resourceSubcommand = {
7182
7435
  connectSubcommand2,
7183
7436
  createThresholdSubcommand,
7184
7437
  disconnectSubcommand2,
7185
- removeSubcommand9,
7438
+ removeSubcommand10,
7186
7439
  claimSubcommand,
7187
- inspectSubcommand4
7440
+ inspectSubcommand5
7188
7441
  ],
7189
7442
  examples: [
7190
7443
  {
@@ -7215,11 +7468,11 @@ var integrationCommand = {
7215
7468
  discoverSubcommand,
7216
7469
  guideSubcommand,
7217
7470
  installationsSubcommand,
7218
- listSubcommand12,
7471
+ listSubcommand13,
7219
7472
  openSubcommand3,
7220
7473
  resourceSubcommand,
7221
7474
  updateSubcommand4,
7222
- removeSubcommand10
7475
+ removeSubcommand11
7223
7476
  ],
7224
7477
  examples: [
7225
7478
  {
@@ -7744,7 +7997,8 @@ var inspectGroupSubcommand = {
7744
7997
  deprecated: false,
7745
7998
  description: "Custom microfrontends config file path/name relative to the default app root (must end with .json or .jsonc)"
7746
7999
  },
7747
- formatOption
8000
+ formatOption,
8001
+ jsonOption
7748
8002
  ],
7749
8003
  examples: [
7750
8004
  {
@@ -7753,7 +8007,7 @@ var inspectGroupSubcommand = {
7753
8007
  },
7754
8008
  {
7755
8009
  name: "Inspect a microfrontends group as JSON",
7756
- value: `${packageName} mf inspect-group --group="My Group" --format=json`
8010
+ value: `${packageName} mf inspect-group --group="My Group" --json`
7757
8011
  }
7758
8012
  ]
7759
8013
  };
@@ -7822,6 +8076,7 @@ var checksBlocksOption = {
7822
8076
  };
7823
8077
  var checksAddFlags = [
7824
8078
  formatOption,
8079
+ jsonOption,
7825
8080
  checksBlocksOption,
7826
8081
  {
7827
8082
  name: "file",
@@ -7866,7 +8121,7 @@ var checksAddFlags = [
7866
8121
  deprecated: false
7867
8122
  }
7868
8123
  ];
7869
- var checksRemoveFlags = [formatOption];
8124
+ var checksRemoveFlags = [formatOption, jsonOption];
7870
8125
  var checksSubcommand = {
7871
8126
  name: "checks",
7872
8127
  aliases: [],
@@ -7901,7 +8156,7 @@ var checksSubcommand = {
7901
8156
  }
7902
8157
  ]
7903
8158
  };
7904
- var inspectSubcommand5 = {
8159
+ var inspectSubcommand6 = {
7905
8160
  name: "inspect",
7906
8161
  aliases: [],
7907
8162
  description: "Displays information related to a project",
@@ -7923,7 +8178,7 @@ var inspectSubcommand5 = {
7923
8178
  }
7924
8179
  ]
7925
8180
  };
7926
- var listSubcommand13 = {
8181
+ var listSubcommand14 = {
7927
8182
  name: "list",
7928
8183
  aliases: ["ls"],
7929
8184
  description: "Show all projects in the selected scope",
@@ -7957,7 +8212,7 @@ var listSubcommand13 = {
7957
8212
  },
7958
8213
  {
7959
8214
  name: "List projects using a deprecated Node.js version in JSON format",
7960
- value: `${packageName} project ls --update-required --format=json`
8215
+ value: `${packageName} project ls --update-required --json`
7961
8216
  },
7962
8217
  {
7963
8218
  name: "Filter projects by name",
@@ -7965,7 +8220,7 @@ var listSubcommand13 = {
7965
8220
  }
7966
8221
  ]
7967
8222
  };
7968
- var removeSubcommand11 = {
8223
+ var removeSubcommand12 = {
7969
8224
  name: "remove",
7970
8225
  aliases: ["rm"],
7971
8226
  description: "Delete a project",
@@ -8059,7 +8314,8 @@ var updateSubcommand5 = {
8059
8314
  description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, or output-directory",
8060
8315
  deprecated: false
8061
8316
  },
8062
- formatOption
8317
+ formatOption,
8318
+ jsonOption
8063
8319
  ],
8064
8320
  examples: [
8065
8321
  {
@@ -8080,7 +8336,7 @@ var updateSubcommand5 = {
8080
8336
  },
8081
8337
  {
8082
8338
  name: "Clear the framework preset and return JSON",
8083
- value: `${packageName} project update my-project --framework other --format json`
8339
+ value: `${packageName} project update my-project --framework other --json`
8084
8340
  }
8085
8341
  ]
8086
8342
  };
@@ -8094,7 +8350,7 @@ var tokenSubcommand2 = {
8094
8350
  required: false
8095
8351
  }
8096
8352
  ],
8097
- options: [yesOption, formatOption],
8353
+ options: [yesOption, formatOption, jsonOption],
8098
8354
  examples: [
8099
8355
  {
8100
8356
  name: "Get a development OIDC token for the linked project",
@@ -8106,7 +8362,7 @@ var tokenSubcommand2 = {
8106
8362
  },
8107
8363
  {
8108
8364
  name: "Get a development OIDC token as JSON",
8109
- value: `${packageName} project token my-project --format=json`
8365
+ value: `${packageName} project token my-project --json`
8110
8366
  }
8111
8367
  ]
8112
8368
  };
@@ -8120,7 +8376,7 @@ var accessSummarySubcommand = {
8120
8376
  required: false
8121
8377
  }
8122
8378
  ],
8123
- options: [formatOption],
8379
+ options: [formatOption, jsonOption],
8124
8380
  examples: [
8125
8381
  {
8126
8382
  name: "Summary for the linked project",
@@ -8128,7 +8384,7 @@ var accessSummarySubcommand = {
8128
8384
  },
8129
8385
  {
8130
8386
  name: "Summary as JSON",
8131
- value: `${packageName} project access-summary my-app --format json`
8387
+ value: `${packageName} project access-summary my-app --json`
8132
8388
  }
8133
8389
  ]
8134
8390
  };
@@ -8144,6 +8400,7 @@ var membersSubcommand = {
8144
8400
  ],
8145
8401
  options: [
8146
8402
  formatOption,
8403
+ jsonOption,
8147
8404
  {
8148
8405
  name: "search",
8149
8406
  shorthand: null,
@@ -8166,7 +8423,7 @@ var membersSubcommand = {
8166
8423
  },
8167
8424
  {
8168
8425
  name: "List members for a named project as JSON",
8169
- value: `${packageName} project members my-project --format json`
8426
+ value: `${packageName} project members my-project --json`
8170
8427
  }
8171
8428
  ]
8172
8429
  };
@@ -8180,6 +8437,7 @@ var protectionSubcommand = {
8180
8437
  ],
8181
8438
  options: [
8182
8439
  formatOption,
8440
+ jsonOption,
8183
8441
  {
8184
8442
  name: "sso",
8185
8443
  shorthand: null,
@@ -8246,7 +8504,7 @@ var protectionSubcommand = {
8246
8504
  },
8247
8505
  {
8248
8506
  name: "Named project as JSON",
8249
- value: `${packageName} project protection my-app --format json`
8507
+ value: `${packageName} project protection my-app --json`
8250
8508
  },
8251
8509
  {
8252
8510
  name: "Disable password protection",
@@ -8314,6 +8572,7 @@ var accessGroupsSubcommand = {
8314
8572
  ],
8315
8573
  options: [
8316
8574
  formatOption,
8575
+ jsonOption,
8317
8576
  nextOption,
8318
8577
  {
8319
8578
  name: "search",
@@ -8337,7 +8596,7 @@ var accessGroupsSubcommand = {
8337
8596
  },
8338
8597
  {
8339
8598
  name: "List access groups for a named project as JSON",
8340
- value: `${packageName} project access-groups my-project --format json`
8599
+ value: `${packageName} project access-groups my-project --json`
8341
8600
  }
8342
8601
  ]
8343
8602
  };
@@ -8351,7 +8610,7 @@ var webAnalyticsSubcommand = {
8351
8610
  required: false
8352
8611
  }
8353
8612
  ],
8354
- options: [formatOption],
8613
+ options: [formatOption, jsonOption],
8355
8614
  examples: [
8356
8615
  {
8357
8616
  name: "Enable Web Analytics for the linked project",
@@ -8363,7 +8622,7 @@ var webAnalyticsSubcommand = {
8363
8622
  },
8364
8623
  {
8365
8624
  name: "Confirm enablement as JSON (non-interactive / agents)",
8366
- value: `${packageName} project web-analytics --format json`
8625
+ value: `${packageName} project web-analytics --json`
8367
8626
  }
8368
8627
  ]
8369
8628
  };
@@ -8377,7 +8636,7 @@ var speedInsightsSubcommand = {
8377
8636
  required: false
8378
8637
  }
8379
8638
  ],
8380
- options: [formatOption],
8639
+ options: [formatOption, jsonOption],
8381
8640
  examples: [
8382
8641
  {
8383
8642
  name: "Enable Speed Insights for the linked project",
@@ -8389,7 +8648,7 @@ var speedInsightsSubcommand = {
8389
8648
  },
8390
8649
  {
8391
8650
  name: "Confirm enablement as JSON (non-interactive / agents)",
8392
- value: `${packageName} project speed-insights --format json`
8651
+ value: `${packageName} project speed-insights --json`
8393
8652
  }
8394
8653
  ]
8395
8654
  };
@@ -8402,8 +8661,8 @@ var projectCommand = {
8402
8661
  addSubcommand8,
8403
8662
  accessSummarySubcommand,
8404
8663
  checksSubcommand,
8405
- inspectSubcommand5,
8406
- listSubcommand13,
8664
+ inspectSubcommand6,
8665
+ listSubcommand14,
8407
8666
  membersSubcommand,
8408
8667
  accessGroupsSubcommand,
8409
8668
  protectionSubcommand,
@@ -8411,7 +8670,7 @@ var projectCommand = {
8411
8670
  speedInsightsSubcommand,
8412
8671
  updateSubcommand5,
8413
8672
  renameSubcommand,
8414
- removeSubcommand11,
8673
+ removeSubcommand12,
8415
8674
  tokenSubcommand2
8416
8675
  ],
8417
8676
  options: [],
@@ -8526,7 +8785,7 @@ var redeployCommand = {
8526
8785
  };
8527
8786
 
8528
8787
  // src/commands/redirects/command.ts
8529
- var listSubcommand14 = {
8788
+ var listSubcommand15 = {
8530
8789
  name: "list",
8531
8790
  aliases: ["ls"],
8532
8791
  description: "List all redirects for the current project. These redirects apply to all deployments and environments. There may also be redirects defined in a deployment that are not listed here.",
@@ -8718,7 +8977,7 @@ var uploadSubcommand = {
8718
8977
  }
8719
8978
  ]
8720
8979
  };
8721
- var removeSubcommand12 = {
8980
+ var removeSubcommand13 = {
8722
8981
  name: "remove",
8723
8982
  aliases: ["rm"],
8724
8983
  description: "Remove a redirect",
@@ -8796,11 +9055,11 @@ var redirectsCommand = {
8796
9055
  description: "Manage redirects for a project. Redirects managed at the project level apply to all deployments and environments and take effect immediately after being created and promoted to production.",
8797
9056
  arguments: [],
8798
9057
  subcommands: [
8799
- listSubcommand14,
9058
+ listSubcommand15,
8800
9059
  listVersionsSubcommand,
8801
9060
  addSubcommand9,
8802
9061
  uploadSubcommand,
8803
- removeSubcommand12,
9062
+ removeSubcommand13,
8804
9063
  promoteSubcommand,
8805
9064
  restoreSubcommand
8806
9065
  ],
@@ -9168,8 +9427,7 @@ var skillsCommand = {
9168
9427
  shorthand: null,
9169
9428
  type: String,
9170
9429
  argument: "FORMAT",
9171
- deprecated: false,
9172
- description: "Specify output format (json)"
9430
+ deprecated: false
9173
9431
  },
9174
9432
  yesOption
9175
9433
  ],
@@ -9186,13 +9444,14 @@ var skillsCommand = {
9186
9444
  };
9187
9445
 
9188
9446
  // src/commands/target/command.ts
9189
- var listSubcommand15 = {
9447
+ var listSubcommand16 = {
9190
9448
  name: "list",
9191
9449
  aliases: ["ls"],
9192
9450
  description: "List targets defined for the current Project",
9193
9451
  arguments: [],
9194
9452
  options: [
9195
9453
  formatOption,
9454
+ jsonOption,
9196
9455
  projectOption,
9197
9456
  {
9198
9457
  ...yesOption,
@@ -9211,7 +9470,7 @@ var targetCommand = {
9211
9470
  aliases: ["targets"],
9212
9471
  description: `Manage your Vercel Project's "targets" (custom environments).`,
9213
9472
  arguments: [],
9214
- subcommands: [listSubcommand15],
9473
+ subcommands: [listSubcommand16],
9215
9474
  options: [],
9216
9475
  examples: []
9217
9476
  };
@@ -9227,7 +9486,7 @@ var requestSubcommand = {
9227
9486
  required: false
9228
9487
  }
9229
9488
  ],
9230
- options: [formatOption],
9489
+ options: [formatOption, jsonOption],
9231
9490
  examples: [
9232
9491
  {
9233
9492
  name: "Status for your pending request",
@@ -9271,7 +9530,7 @@ var addSubcommand10 = {
9271
9530
  }
9272
9531
  ]
9273
9532
  };
9274
- var listSubcommand16 = {
9533
+ var listSubcommand17 = {
9275
9534
  name: "list",
9276
9535
  aliases: ["ls"],
9277
9536
  description: "Show all teams that you're a member of",
@@ -9280,6 +9539,7 @@ var listSubcommand16 = {
9280
9539
  nextOption,
9281
9540
  limitOption,
9282
9541
  formatOption,
9542
+ jsonOption,
9283
9543
  { name: "since", shorthand: null, type: String, deprecated: true },
9284
9544
  { name: "until", shorthand: null, type: String, deprecated: true },
9285
9545
  { name: "count", shorthand: "C", type: Number, deprecated: true }
@@ -9338,7 +9598,7 @@ var ssoSubcommand = {
9338
9598
  aliases: [],
9339
9599
  description: "Show SAML / SSO configuration for the current team",
9340
9600
  arguments: [],
9341
- options: [formatOption],
9601
+ options: [formatOption, jsonOption],
9342
9602
  examples: [
9343
9603
  {
9344
9604
  name: "Human-readable SAML summary",
@@ -9346,7 +9606,7 @@ var ssoSubcommand = {
9346
9606
  },
9347
9607
  {
9348
9608
  name: "JSON",
9349
- value: `${packageName} teams sso --format json`
9609
+ value: `${packageName} teams sso --json`
9350
9610
  }
9351
9611
  ]
9352
9612
  };
@@ -9355,7 +9615,7 @@ var membersSubcommand2 = {
9355
9615
  aliases: ["member"],
9356
9616
  description: "List members for the currently scoped team",
9357
9617
  arguments: [],
9358
- options: [nextOption, limitOption, formatOption],
9618
+ options: [nextOption, limitOption, formatOption, jsonOption],
9359
9619
  examples: [
9360
9620
  {
9361
9621
  name: "List team members",
@@ -9363,7 +9623,7 @@ var membersSubcommand2 = {
9363
9623
  },
9364
9624
  {
9365
9625
  name: "List team members as JSON",
9366
- value: `${packageName} teams members --format json`
9626
+ value: `${packageName} teams members --json`
9367
9627
  },
9368
9628
  {
9369
9629
  name: "Paginate results, where `1584722256178` is the time in milliseconds since the UNIX epoch",
@@ -9379,7 +9639,7 @@ var teamsCommand = {
9379
9639
  subcommands: [
9380
9640
  addSubcommand10,
9381
9641
  inviteSubcommand,
9382
- listSubcommand16,
9642
+ listSubcommand17,
9383
9643
  requestSubcommand,
9384
9644
  switchSubcommand,
9385
9645
  ssoSubcommand,
@@ -9390,7 +9650,7 @@ var teamsCommand = {
9390
9650
  };
9391
9651
 
9392
9652
  // src/commands/tokens/command.ts
9393
- var listSubcommand17 = {
9653
+ var listSubcommand18 = {
9394
9654
  name: "list",
9395
9655
  aliases: ["ls"],
9396
9656
  description: "List your personal authentication tokens",
@@ -9398,6 +9658,7 @@ var listSubcommand17 = {
9398
9658
  arguments: [],
9399
9659
  options: [
9400
9660
  formatOption,
9661
+ jsonOption,
9401
9662
  {
9402
9663
  name: "limit",
9403
9664
  shorthand: null,
@@ -9409,7 +9670,7 @@ var listSubcommand17 = {
9409
9670
  examples: [
9410
9671
  {
9411
9672
  name: "List tokens as JSON",
9412
- value: `${packageName} tokens ls --format json`
9673
+ value: `${packageName} tokens ls --json`
9413
9674
  }
9414
9675
  ]
9415
9676
  };
@@ -9425,6 +9686,7 @@ var addSubcommand11 = {
9425
9686
  ],
9426
9687
  options: [
9427
9688
  formatOption,
9689
+ jsonOption,
9428
9690
  {
9429
9691
  ...projectOption,
9430
9692
  description: "Optional project ID to scope the token to"
@@ -9437,7 +9699,7 @@ var addSubcommand11 = {
9437
9699
  }
9438
9700
  ]
9439
9701
  };
9440
- var removeSubcommand13 = {
9702
+ var removeSubcommand14 = {
9441
9703
  name: "remove",
9442
9704
  aliases: ["rm", "delete"],
9443
9705
  description: "Delete a personal authentication token by ID",
@@ -9447,7 +9709,7 @@ var removeSubcommand13 = {
9447
9709
  required: true
9448
9710
  }
9449
9711
  ],
9450
- options: [formatOption],
9712
+ options: [formatOption, jsonOption],
9451
9713
  examples: [
9452
9714
  {
9453
9715
  name: "Remove a token",
@@ -9460,7 +9722,7 @@ var tokensCommand = {
9460
9722
  aliases: [],
9461
9723
  description: "Manage your personal Vercel authentication tokens",
9462
9724
  arguments: [],
9463
- subcommands: [addSubcommand11, listSubcommand17, removeSubcommand13],
9725
+ subcommands: [addSubcommand11, listSubcommand18, removeSubcommand14],
9464
9726
  options: [],
9465
9727
  examples: []
9466
9728
  };
@@ -9680,10 +9942,7 @@ var upgradeCommand = {
9680
9942
  type: Boolean,
9681
9943
  deprecated: false
9682
9944
  },
9683
- {
9684
- ...formatOption,
9685
- description: "Specify the output format (json) - implies --dry-run"
9686
- },
9945
+ formatOption,
9687
9946
  jsonOption
9688
9947
  ],
9689
9948
  examples: [
@@ -9701,7 +9960,7 @@ var upgradeCommand = {
9701
9960
  },
9702
9961
  {
9703
9962
  name: "Get upgrade information as JSON",
9704
- value: `${packageName} upgrade --format=json`
9963
+ value: `${packageName} upgrade --json`
9705
9964
  }
9706
9965
  ]
9707
9966
  };
@@ -9775,7 +10034,7 @@ var usageCommand = {
9775
10034
  },
9776
10035
  {
9777
10036
  name: "Output usage data as JSON",
9778
- value: `${packageName} usage --format json`
10037
+ value: `${packageName} usage --json`
9779
10038
  }
9780
10039
  ]
9781
10040
  };
@@ -9786,7 +10045,7 @@ var whoamiCommand = {
9786
10045
  aliases: [],
9787
10046
  description: "Shows the username of the currently logged in user.",
9788
10047
  arguments: [],
9789
- options: [formatOption],
10048
+ options: [formatOption, jsonOption],
9790
10049
  examples: [
9791
10050
  {
9792
10051
  name: "Shows the username of the currently logged in user",
@@ -9829,7 +10088,7 @@ var environmentOption2 = {
9829
10088
  argument: "ENV",
9830
10089
  description: "Environment to connect (can be repeated: production, preview, development). Defaults to all when --yes is used."
9831
10090
  };
9832
- var listSubcommand18 = {
10091
+ var listSubcommand19 = {
9833
10092
  name: "list",
9834
10093
  aliases: ["ls"],
9835
10094
  description: "List all files in the Blob store",
@@ -10329,7 +10588,7 @@ var blobCommand = {
10329
10588
  description: "Interact with Vercel Blob",
10330
10589
  arguments: [],
10331
10590
  subcommands: [
10332
- listSubcommand18,
10591
+ listSubcommand19,
10333
10592
  putSubcommand,
10334
10593
  getSubcommand3,
10335
10594
  delSubcommand,
@@ -10372,17 +10631,17 @@ var blobCommand = {
10372
10631
  };
10373
10632
 
10374
10633
  // src/commands/webhooks/command.ts
10375
- var listSubcommand19 = {
10634
+ var listSubcommand20 = {
10376
10635
  name: "list",
10377
10636
  aliases: ["ls"],
10378
10637
  description: "Show all webhooks",
10379
10638
  default: true,
10380
10639
  arguments: [],
10381
- options: [formatOption],
10640
+ options: [formatOption, jsonOption],
10382
10641
  examples: [
10383
10642
  {
10384
10643
  name: "List all webhooks as JSON",
10385
- value: `${packageName} webhooks ls --format json`
10644
+ value: `${packageName} webhooks ls --json`
10386
10645
  }
10387
10646
  ]
10388
10647
  };
@@ -10396,7 +10655,7 @@ var getSubcommand4 = {
10396
10655
  required: true
10397
10656
  }
10398
10657
  ],
10399
- options: [formatOption],
10658
+ options: [formatOption, jsonOption],
10400
10659
  examples: []
10401
10660
  };
10402
10661
  var createSubcommand6 = {
@@ -10434,7 +10693,7 @@ var createSubcommand6 = {
10434
10693
  }
10435
10694
  ]
10436
10695
  };
10437
- var removeSubcommand14 = {
10696
+ var removeSubcommand15 = {
10438
10697
  name: "remove",
10439
10698
  aliases: ["rm", "delete"],
10440
10699
  description: "Remove a webhook",
@@ -10458,10 +10717,10 @@ var webhooksCommand = {
10458
10717
  description: "Manage webhooks",
10459
10718
  arguments: [],
10460
10719
  subcommands: [
10461
- listSubcommand19,
10720
+ listSubcommand20,
10462
10721
  getSubcommand4,
10463
10722
  createSubcommand6,
10464
- removeSubcommand14
10723
+ removeSubcommand15
10465
10724
  ],
10466
10725
  options: [],
10467
10726
  examples: []
@@ -10491,11 +10750,11 @@ var commandsStructs = [
10491
10750
  devCommand,
10492
10751
  dnsCommand,
10493
10752
  domainsCommand,
10494
- edgeConfigCommand,
10495
10753
  envCommand,
10496
10754
  firewallCommand,
10497
10755
  flagsCommand,
10498
10756
  gitCommand,
10757
+ globalConfigCommand,
10499
10758
  httpstatCommand,
10500
10759
  initCommand,
10501
10760
  inspectCommand,
@@ -10566,6 +10825,9 @@ export {
10566
10825
  projectsSubcommand,
10567
10826
  agentRunsCommand,
10568
10827
  createSubcommand,
10828
+ listSubcommand2,
10829
+ inspectSubcommand2,
10830
+ removeSubcommand,
10569
10831
  apiKeysSubcommand,
10570
10832
  rulesAddSubcommand,
10571
10833
  rulesListSubcommand,
@@ -10580,15 +10842,23 @@ export {
10580
10842
  budgetsSetSubcommand,
10581
10843
  budgetsListSubcommand,
10582
10844
  budgetsRemoveSubcommand,
10845
+ leaderboardModelsSubcommand,
10583
10846
  budgetsSubcommand,
10847
+ leaderboardLabsSubcommand,
10848
+ leaderboardAppsSubcommand,
10849
+ leaderboardProvidersSubcommand,
10850
+ leaderboardSubcommand,
10584
10851
  aiGatewayCommand,
10585
10852
  setSubcommand,
10586
- listSubcommand2,
10587
- removeSubcommand,
10588
- aliasCommand,
10589
10853
  listSubcommand3,
10854
+ removeSubcommand2,
10855
+ aliasCommand,
10856
+ listSubcommand4,
10590
10857
  apiCommand,
10591
10858
  bisectCommand,
10859
+ CUSTOM_ENVIRONMENTS_PER_PACK,
10860
+ CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT,
10861
+ isCustomEnvironmentAddonAlias,
10592
10862
  SUPPORTED_CREDIT_TYPES,
10593
10863
  CREDIT_TYPE_LABELS,
10594
10864
  creditsSubcommand,
@@ -10602,15 +10872,15 @@ export {
10602
10872
  invalidateSubcommand,
10603
10873
  dangerouslyDeleteSubcommand,
10604
10874
  cacheCommand,
10605
- removeSubcommand2,
10875
+ removeSubcommand3,
10606
10876
  issueSubcommand,
10607
- listSubcommand4,
10877
+ listSubcommand5,
10608
10878
  addSubcommand2 as addSubcommand,
10609
10879
  certsCommand,
10610
10880
  createSubcommand2,
10611
10881
  updateSubcommand,
10612
- listSubcommand5,
10613
- removeSubcommand3,
10882
+ listSubcommand6,
10883
+ removeSubcommand4,
10614
10884
  tokenSubcommand,
10615
10885
  revokeTokensSubcommand,
10616
10886
  openSubcommand,
@@ -10619,7 +10889,7 @@ export {
10619
10889
  connexCommand,
10620
10890
  contractCommand,
10621
10891
  addSubcommand3 as addSubcommand2,
10622
- listSubcommand6,
10892
+ listSubcommand7,
10623
10893
  runSubcommand,
10624
10894
  cronsCommand,
10625
10895
  curlCommand,
@@ -10627,19 +10897,19 @@ export {
10627
10897
  initSubcommand,
10628
10898
  continueSubcommand,
10629
10899
  deployCommand,
10630
- listSubcommand7,
10900
+ listSubcommand8,
10631
10901
  createSubcommand3,
10632
- removeSubcommand4,
10902
+ removeSubcommand5,
10633
10903
  deployHooksCommand,
10634
10904
  importSubcommand,
10635
- listSubcommand8,
10905
+ listSubcommand9,
10636
10906
  addSubcommand4 as addSubcommand3,
10637
- removeSubcommand5,
10907
+ removeSubcommand6,
10638
10908
  dnsCommand,
10639
- listSubcommand9,
10640
- inspectSubcommand2,
10909
+ listSubcommand10,
10910
+ inspectSubcommand3,
10641
10911
  addSubcommand5 as addSubcommand4,
10642
- removeSubcommand6,
10912
+ removeSubcommand7,
10643
10913
  priceSubcommand,
10644
10914
  searchSubcommand,
10645
10915
  buySubcommand,
@@ -10648,15 +10918,6 @@ export {
10648
10918
  transferInSubcommand,
10649
10919
  verifySubcommand,
10650
10920
  domainsCommand,
10651
- listSubcommand10,
10652
- addSubcommand6 as addSubcommand5,
10653
- getSubcommand,
10654
- updateSubcommand2,
10655
- removeSubcommand7,
10656
- itemsSubcommand,
10657
- tokensSubcommand,
10658
- backupsSubcommand,
10659
- edgeConfigCommand,
10660
10921
  overviewSubcommand,
10661
10922
  diffSubcommand,
10662
10923
  publishSubcommand,
@@ -10692,14 +10953,14 @@ export {
10692
10953
  FLAG_EVALUATIONS_GRANULARITIES,
10693
10954
  isFlagEvaluationsGranularity,
10694
10955
  listSubcommand11,
10695
- inspectSubcommand3,
10956
+ inspectSubcommand4,
10696
10957
  versionsListSubcommand,
10697
10958
  versionsDiffSubcommand,
10698
10959
  versionsSubcommand,
10699
10960
  evaluationsSubcommand,
10700
10961
  createSubcommand4,
10701
10962
  openSubcommand2,
10702
- updateSubcommand3,
10963
+ updateSubcommand2,
10703
10964
  setSubcommand2,
10704
10965
  splitSubcommand,
10705
10966
  rolloutSubcommand,
@@ -10729,6 +10990,15 @@ export {
10729
10990
  connectSubcommand,
10730
10991
  disconnectSubcommand,
10731
10992
  gitCommand,
10993
+ listSubcommand12,
10994
+ addSubcommand6 as addSubcommand5,
10995
+ getSubcommand,
10996
+ updateSubcommand3,
10997
+ removeSubcommand9,
10998
+ itemsSubcommand,
10999
+ tokensSubcommand,
11000
+ backupsSubcommand,
11001
+ globalConfigCommand,
10732
11002
  statusSubcommand,
10733
11003
  enableSubcommand2,
10734
11004
  disableSubcommand2,
@@ -10736,23 +11006,23 @@ export {
10736
11006
  httpstatCommand,
10737
11007
  initCommand,
10738
11008
  inspectCommand,
10739
- removeSubcommand9,
11009
+ removeSubcommand10,
10740
11010
  disconnectSubcommand2,
10741
11011
  connectSubcommand2,
10742
11012
  createThresholdSubcommand,
10743
11013
  claimSubcommand,
10744
- inspectSubcommand4,
11014
+ inspectSubcommand5,
10745
11015
  integrationResourceCommand,
10746
11016
  addSubcommand7 as addSubcommand6,
10747
11017
  acceptTermsSubcommand,
10748
11018
  openSubcommand3,
10749
11019
  installationsSubcommand,
10750
- listSubcommand12,
11020
+ listSubcommand13,
10751
11021
  discoverSubcommand,
10752
11022
  categoriesSubcommand,
10753
11023
  balanceSubcommand,
10754
11024
  updateSubcommand4,
10755
- removeSubcommand10,
11025
+ removeSubcommand11,
10756
11026
  guideSubcommand,
10757
11027
  resourceSubcommand,
10758
11028
  integrationCommand,
@@ -10776,9 +11046,9 @@ export {
10776
11046
  checksAddFlags,
10777
11047
  checksRemoveFlags,
10778
11048
  checksSubcommand,
10779
- inspectSubcommand5,
10780
- listSubcommand13,
10781
- removeSubcommand11,
11049
+ inspectSubcommand6,
11050
+ listSubcommand14,
11051
+ removeSubcommand12,
10782
11052
  renameSubcommand,
10783
11053
  updateSubcommand5,
10784
11054
  tokenSubcommand2,
@@ -10792,11 +11062,11 @@ export {
10792
11062
  statusSubcommand2,
10793
11063
  promoteCommand,
10794
11064
  redeployCommand,
10795
- listSubcommand14,
11065
+ listSubcommand15,
10796
11066
  listVersionsSubcommand,
10797
11067
  addSubcommand9,
10798
11068
  uploadSubcommand,
10799
- removeSubcommand12,
11069
+ removeSubcommand13,
10800
11070
  promoteSubcommand,
10801
11071
  restoreSubcommand,
10802
11072
  redirectsCommand,
@@ -10811,19 +11081,19 @@ export {
10811
11081
  fetchSubcommand,
10812
11082
  rollingReleaseCommand,
10813
11083
  skillsCommand,
10814
- listSubcommand15,
11084
+ listSubcommand16,
10815
11085
  targetCommand,
10816
11086
  requestSubcommand,
10817
11087
  addSubcommand10,
10818
- listSubcommand16,
11088
+ listSubcommand17,
10819
11089
  switchSubcommand,
10820
11090
  inviteSubcommand,
10821
11091
  ssoSubcommand,
10822
11092
  membersSubcommand2,
10823
11093
  teamsCommand,
10824
- listSubcommand17,
11094
+ listSubcommand18,
10825
11095
  addSubcommand11,
10826
- removeSubcommand13,
11096
+ removeSubcommand14,
10827
11097
  tokensCommand,
10828
11098
  statusSubcommand4,
10829
11099
  enableSubcommand3,
@@ -10836,7 +11106,7 @@ export {
10836
11106
  upgradeCommand,
10837
11107
  usageCommand,
10838
11108
  whoamiCommand,
10839
- listSubcommand18,
11109
+ listSubcommand19,
10840
11110
  putSubcommand,
10841
11111
  delSubcommand,
10842
11112
  copySubcommand,
@@ -10849,10 +11119,10 @@ export {
10849
11119
  getStoreInfoSubcommand,
10850
11120
  listStoresSubcommand,
10851
11121
  blobCommand,
10852
- listSubcommand19,
11122
+ listSubcommand20,
10853
11123
  getSubcommand4,
10854
11124
  createSubcommand6,
10855
- removeSubcommand14,
11125
+ removeSubcommand15,
10856
11126
  webhooksCommand,
10857
11127
  getCommandAliases,
10858
11128
  commands,