vercel 58.1.0 → 58.4.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 (106) hide show
  1. package/dist/chunks/{add-QKP6ZCHQ.js → add-IOYS5JE4.js} +10 -8
  2. package/dist/chunks/{add-WKV7KU4Y.js → add-JTIGJQ75.js} +12 -9
  3. package/dist/chunks/add-QKKUAXFL.js +187 -0
  4. package/dist/chunks/{build-ZXEK6YEA.js → build-ZHZDIIS5.js} +12 -9
  5. package/dist/chunks/{chunk-3YARBN7P.js → chunk-27FZN5LR.js} +4 -4
  6. package/dist/chunks/{chunk-4LSERVQQ.js → chunk-2ILCTO6A.js} +7 -5
  7. package/dist/chunks/{chunk-E4LXCO7U.js → chunk-2SFMOCWR.js} +1 -1
  8. package/dist/chunks/{chunk-NYURBHZJ.js → chunk-3KNPVXJ3.js} +1 -1
  9. package/dist/chunks/chunk-3ZE5CFVM.js +346 -0
  10. package/dist/chunks/{chunk-AX3N4MO2.js → chunk-4LDQIDRM.js} +1 -1
  11. package/dist/chunks/{chunk-LXA2GZ7U.js → chunk-4N7XLXM2.js} +1 -1
  12. package/dist/chunks/{chunk-75MDJ6TK.js → chunk-4UYKSYKQ.js} +1 -1
  13. package/dist/chunks/{chunk-JA3QX2H6.js → chunk-56QCZ4RL.js} +2 -2
  14. package/dist/chunks/{chunk-VSMCQSGH.js → chunk-7QVJTI5H.js} +1 -1
  15. package/dist/chunks/{chunk-TCBOCSWF.js → chunk-A5KP5HAI.js} +1 -1
  16. package/dist/chunks/{chunk-V6WHZAPP.js → chunk-AW5YINX6.js} +8 -4
  17. package/dist/chunks/{chunk-JNP3FQR3.js → chunk-AZS5CLCN.js} +1 -1
  18. package/dist/chunks/{chunk-NGYOR3MN.js → chunk-B3JTF4CF.js} +1 -1
  19. package/dist/chunks/{chunk-4QVAYRYH.js → chunk-BEQV3X2L.js} +16 -1
  20. package/dist/chunks/{chunk-552YY6QY.js → chunk-CAWBO7SQ.js} +10 -8
  21. package/dist/chunks/{chunk-TPB4F5XN.js → chunk-CSJBZKC5.js} +1 -1
  22. package/dist/chunks/{chunk-2D22CMQ7.js → chunk-DI54DSTV.js} +6 -4
  23. package/dist/chunks/{chunk-CXICXWXJ.js → chunk-DXS2X7KK.js} +3 -3
  24. package/dist/chunks/{chunk-XAWGGWSG.js → chunk-EBLH23AQ.js} +2 -2
  25. package/dist/chunks/{chunk-OVW5WUCR.js → chunk-G47QOVJ7.js} +1 -1
  26. package/dist/chunks/{chunk-32IPC6RB.js → chunk-GFG6QDIE.js} +1 -1
  27. package/dist/chunks/{chunk-C267R2FA.js → chunk-GJ5DKYDQ.js} +5 -5
  28. package/dist/chunks/{chunk-OG7DIS52.js → chunk-IBSUQT6H.js} +1 -1
  29. package/dist/chunks/chunk-J6LK45HT.js +163 -0
  30. package/dist/chunks/{chunk-5AG7MR7W.js → chunk-JHIWAM64.js} +3 -3
  31. package/dist/chunks/{chunk-FBPCJV72.js → chunk-JLWQWYKO.js} +2 -2
  32. package/dist/chunks/{chunk-RL7X7JGK.js → chunk-KBEX5MYS.js} +1 -136
  33. package/dist/chunks/{chunk-LA3BQQQK.js → chunk-KT4XXKJK.js} +1 -1
  34. package/dist/chunks/{chunk-YITWM37U.js → chunk-KWOWGI7Z.js} +2 -2
  35. package/dist/chunks/{chunk-FR352QKR.js → chunk-M22O6CYY.js} +1 -1
  36. package/dist/chunks/{chunk-XTLNPNWY.js → chunk-MAHXF73X.js} +2 -2
  37. package/dist/chunks/{chunk-KY3ZOYJW.js → chunk-O5GNPPTU.js} +1 -1
  38. package/dist/chunks/{chunk-CSI7GEDD.js → chunk-OWY3MF3E.js} +2 -2
  39. package/dist/chunks/{chunk-DKS4XDVC.js → chunk-PVWXPWLQ.js} +7 -5
  40. package/dist/chunks/{chunk-XTQADJ6S.js → chunk-QTXQOWOJ.js} +3 -3
  41. package/dist/chunks/{chunk-TF627KEI.js → chunk-RQ7H43CJ.js} +1 -1
  42. package/dist/chunks/{chunk-U6PPDPR5.js → chunk-SOFC4MLS.js} +1 -0
  43. package/dist/chunks/{chunk-QCB22TQG.js → chunk-SWHPI3G7.js} +2 -2
  44. package/dist/chunks/{chunk-BAUVB2VF.js → chunk-U5E5J56I.js} +4 -4
  45. package/dist/chunks/{chunk-HXTQVMJZ.js → chunk-U7Y5DZXS.js} +2 -2
  46. package/dist/chunks/{chunk-6QUKJKFX.js → chunk-WUMURQKS.js} +393 -291
  47. package/dist/chunks/{chunk-4I7DTZAJ.js → chunk-XIG4GH62.js} +2 -2
  48. package/dist/chunks/chunk-XLKFJPMT.js +150 -0
  49. package/dist/chunks/{chunk-S7LXRKLD.js → chunk-Z5ZQJ5VJ.js} +14 -14
  50. package/dist/chunks/{chunk-KLNWR2JI.js → chunk-ZQR5RIAX.js} +10 -8
  51. package/dist/chunks/{chunk-P7IO46BQ.js → chunk-ZX2FSPWV.js} +2 -2
  52. package/dist/chunks/clear-R3DI3AA6.js +132 -0
  53. package/dist/chunks/{compile-vercel-config-AFGCQEYG.js → compile-vercel-config-NEC63GCN.js} +5 -4
  54. package/dist/chunks/{delete-UGSJQBE7.js → delete-BYB66ET3.js} +7 -6
  55. package/dist/chunks/{delete-Y5LNEZXI.js → delete-DIZK7FRU.js} +7 -6
  56. package/dist/chunks/{disable-IF3AHKJD.js → disable-HW6CHEVD.js} +7 -6
  57. package/dist/chunks/{discard-Y6GZBIHJ.js → discard-3UG4K6G2.js} +7 -6
  58. package/dist/chunks/{edit-HNMKZ3YT.js → edit-EY7LRITZ.js} +7 -6
  59. package/dist/chunks/{edit-6TGJKUI5.js → edit-LD5G6GL3.js} +8 -7
  60. package/dist/chunks/{enable-SE4QM4X3.js → enable-MDNLCSAW.js} +7 -6
  61. package/dist/chunks/{export-5AYL7HCJ.js → export-25X6M77L.js} +7 -6
  62. package/dist/chunks/{image-6BYNQVGW.js → image-YQWZLM6Z.js} +5 -5
  63. package/dist/chunks/{inspect-FGYXO4K5.js → inspect-73FISCNZ.js} +13 -11
  64. package/dist/chunks/{inspect-DPTRYDFH.js → inspect-H7GEYNIF.js} +8 -7
  65. package/dist/chunks/{inspect-LTHZUXA2.js → inspect-KYAB4F3P.js} +10 -8
  66. package/dist/chunks/{inspect-3KCFHDWA.js → inspect-QVI6UVBJ.js} +13 -10
  67. package/dist/chunks/{inspect-MA36GG73.js → inspect-R6ADYTPB.js} +10 -8
  68. package/dist/chunks/{list-OCW34SRV.js → list-FTNOS4FT.js} +8 -7
  69. package/dist/chunks/{list-VTQZSIIT.js → list-SDNYJJ4M.js} +8 -6
  70. package/dist/chunks/{list-BTOXZBQK.js → list-SRKON4E4.js} +13 -11
  71. package/dist/chunks/{login-VSXLK5ZU.js → login-7NR7N4ZF.js} +12 -9
  72. package/dist/chunks/{ls-DRI2AOFB.js → ls-BDLEGFY3.js} +14 -11
  73. package/dist/chunks/ls-NIEZW5O3.js +178 -0
  74. package/dist/chunks/{ls-3UA57DZZ.js → ls-PZHHHKZ7.js} +13 -11
  75. package/dist/chunks/{ls-ZBLTJ5RE.js → ls-T276Z2QR.js} +11 -9
  76. package/dist/chunks/{ls-76YTWNKD.js → ls-TWHG22W7.js} +11 -9
  77. package/dist/chunks/{open-DVKAE5HP.js → open-TNEPXGZK.js} +7 -6
  78. package/dist/chunks/permissions-KI2JGJSN.js +95 -0
  79. package/dist/chunks/{publish-F5C4ZA7M.js → publish-NBGFOHLV.js} +7 -6
  80. package/dist/chunks/{push-PKJFQTLO.js → push-SPPWXOAJ.js} +12 -9
  81. package/dist/chunks/{query-GT5LCT45.js → query-LS4PEYHG.js} +12 -10
  82. package/dist/chunks/{reorder-AQW4XFDS.js → reorder-UTQ632H5.js} +7 -6
  83. package/dist/chunks/{reply-FI7SADGU.js → reply-QFGX5YBV.js} +7 -6
  84. package/dist/chunks/{resolve-C5G7JJZJ.js → resolve-ZDO5BCI7.js} +7 -6
  85. package/dist/chunks/{restore-5TLSHQOS.js → restore-T77AKNZ2.js} +7 -6
  86. package/dist/chunks/{rm-L7OQPCIE.js → rm-3RTVWGWR.js} +13 -10
  87. package/dist/chunks/{rm-C37BHGQI.js → rm-D24FHFMF.js} +10 -8
  88. package/dist/chunks/{rm-2EN66OYO.js → rm-IQPLVKJR.js} +10 -8
  89. package/dist/chunks/rm-JTOFOKOZ.js +186 -0
  90. package/dist/chunks/{rule-inspect-V5DRHOTZ.js → rule-inspect-VVHTVTRD.js} +13 -11
  91. package/dist/chunks/{rules-5XEMLN5G.js → rules-EEWMLKRI.js} +8 -8
  92. package/dist/chunks/{schema-UEOZVBY5.js → schema-XLJLZ4OE.js} +11 -9
  93. package/dist/chunks/{tags-ZGANV4YD.js → tags-5DZYPJDP.js} +4 -4
  94. package/dist/chunks/{types-IKWGLSDF.js → types-QTOA2BTQ.js} +7 -5
  95. package/dist/chunks/{update-DHWSMSMS.js → update-YFXZDNIV.js} +10 -8
  96. package/dist/commands/build/index.js +15 -15
  97. package/dist/commands/deploy/index.js +28 -25
  98. package/dist/commands/dev/index.js +85 -17
  99. package/dist/commands/env/index.js +27 -24
  100. package/dist/commands/link/index.js +25 -22
  101. package/dist/commands/list/index.js +11 -9
  102. package/dist/commands-bulk.js +2980 -2156
  103. package/dist/help.js +1 -1
  104. package/dist/index.js +37 -34
  105. package/dist/version.mjs +1 -1
  106. package/package.json +41 -34
@@ -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-V6WHZAPP.js";
9
+ } from "./chunk-AW5YINX6.js";
10
10
  import {
11
11
  metricsCommand
12
- } from "./chunk-TPB4F5XN.js";
12
+ } from "./chunk-CSJBZKC5.js";
13
13
  import {
14
14
  routesCommand
15
- } from "./chunk-FR352QKR.js";
15
+ } from "./chunk-M22O6CYY.js";
16
16
  import {
17
17
  commentsCommand
18
- } from "./chunk-AX3N4MO2.js";
18
+ } from "./chunk-4LDQIDRM.js";
19
19
  import {
20
20
  activityCommand
21
- } from "./chunk-NYURBHZJ.js";
21
+ } from "./chunk-3KNPVXJ3.js";
22
22
  import {
23
23
  alertsCommand
24
- } from "./chunk-XTLNPNWY.js";
24
+ } from "./chunk-MAHXF73X.js";
25
25
  import {
26
26
  devCommand
27
- } from "./chunk-VSMCQSGH.js";
27
+ } from "./chunk-7QVJTI5H.js";
28
28
  import {
29
29
  listCommand
30
- } from "./chunk-KY3ZOYJW.js";
30
+ } from "./chunk-O5GNPPTU.js";
31
31
  import {
32
32
  buildCommand,
33
33
  pullCommand
34
- } from "./chunk-JA3QX2H6.js";
34
+ } from "./chunk-56QCZ4RL.js";
35
35
  import {
36
36
  envCommand
37
- } from "./chunk-DKS4XDVC.js";
37
+ } from "./chunk-PVWXPWLQ.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-U6PPDPR5.js";
50
+ } from "./chunk-SOFC4MLS.js";
51
51
  import {
52
52
  output_manager_default
53
53
  } from "./chunk-OX7KI3LF.js";
@@ -1324,6 +1324,80 @@ var leaderboardModelsSubcommand = {
1324
1324
  }
1325
1325
  ]
1326
1326
  };
1327
+ var budgetsDefaultsListSubcommand = {
1328
+ name: "list",
1329
+ aliases: ["ls"],
1330
+ description: "List the team's AI Gateway budget defaults",
1331
+ arguments: [],
1332
+ options: [formatOption],
1333
+ examples: [
1334
+ {
1335
+ name: "List budget defaults",
1336
+ value: `${packageName} ai-gateway budgets defaults ls`
1337
+ }
1338
+ ]
1339
+ };
1340
+ var budgetsDefaultsSetSubcommand = {
1341
+ name: "set",
1342
+ aliases: [],
1343
+ description: "Create or update the AI Gateway budget default for a scope (project or api-key), applied to resources of that scope without an explicit budget",
1344
+ arguments: [{ name: "scope", required: true }],
1345
+ options: [
1346
+ {
1347
+ name: "limit",
1348
+ shorthand: null,
1349
+ type: Number,
1350
+ argument: "AMOUNT",
1351
+ deprecated: false,
1352
+ description: "Default budget limit in dollars (minimum 1)"
1353
+ },
1354
+ {
1355
+ name: "refresh-period",
1356
+ shorthand: null,
1357
+ type: String,
1358
+ argument: "PERIOD",
1359
+ deprecated: false,
1360
+ description: "Budget refresh cadence: daily, weekly, monthly, or none (default: monthly)"
1361
+ },
1362
+ formatOption
1363
+ ],
1364
+ examples: [
1365
+ {
1366
+ name: "Set the per-project default",
1367
+ value: `${packageName} ai-gateway budgets defaults set project --limit 200 --refresh-period monthly`
1368
+ },
1369
+ {
1370
+ name: "Set the per-api-key default",
1371
+ value: `${packageName} ai-gateway budgets defaults set api-key --limit 50`
1372
+ }
1373
+ ]
1374
+ };
1375
+ var budgetsDefaultsRemoveSubcommand = {
1376
+ name: "remove",
1377
+ aliases: ["rm", "delete"],
1378
+ description: "Remove the AI Gateway budget default for a scope (project or api-key)",
1379
+ arguments: [{ name: "scope", required: true }],
1380
+ options: [yesOption, formatOption],
1381
+ examples: [
1382
+ {
1383
+ name: "Remove the per-project default",
1384
+ value: `${packageName} ai-gateway budgets defaults rm project`
1385
+ }
1386
+ ]
1387
+ };
1388
+ var budgetsDefaultsSubcommand = {
1389
+ name: "defaults",
1390
+ aliases: [],
1391
+ description: "Manage AI Gateway budget defaults (per-project and per-api-key spend limits applied by default)",
1392
+ arguments: [],
1393
+ subcommands: [
1394
+ budgetsDefaultsListSubcommand,
1395
+ budgetsDefaultsSetSubcommand,
1396
+ budgetsDefaultsRemoveSubcommand
1397
+ ],
1398
+ options: [],
1399
+ examples: []
1400
+ };
1327
1401
  var budgetsSubcommand = {
1328
1402
  name: "budgets",
1329
1403
  aliases: [],
@@ -1332,7 +1406,8 @@ var budgetsSubcommand = {
1332
1406
  subcommands: [
1333
1407
  budgetsSetSubcommand,
1334
1408
  budgetsListSubcommand,
1335
- budgetsRemoveSubcommand
1409
+ budgetsRemoveSubcommand,
1410
+ budgetsDefaultsSubcommand
1336
1411
  ],
1337
1412
  options: [],
1338
1413
  examples: []
@@ -1737,7 +1812,27 @@ var bisectCommand = {
1737
1812
  ]
1738
1813
  };
1739
1814
 
1815
+ // src/util/buy/custom-environment-addon.ts
1816
+ var CUSTOM_ENVIRONMENTS_PER_PACK = 5;
1817
+ var CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT = 2;
1818
+ var CUSTOM_ENVIRONMENT_ADDON_ALIASES = /* @__PURE__ */ new Set([
1819
+ "customenvironment",
1820
+ "custom-environment",
1821
+ "custom-environments",
1822
+ "custom_environment",
1823
+ "custom_environments"
1824
+ ]);
1825
+ function isCustomEnvironmentAddonAlias(name) {
1826
+ return CUSTOM_ENVIRONMENT_ADDON_ALIASES.has(name.toLowerCase());
1827
+ }
1828
+ function customEnvironmentPackEnvironments(packs) {
1829
+ return packs * CUSTOM_ENVIRONMENTS_PER_PACK;
1830
+ }
1831
+
1740
1832
  // src/commands/buy/command.ts
1833
+ var EXAMPLE_CUSTOM_ENVIRONMENT_COUNT = customEnvironmentPackEnvironments(
1834
+ CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT
1835
+ );
1741
1836
  var SUPPORTED_CREDIT_TYPES = ["v0", "gateway", "agent"];
1742
1837
  var CREDIT_TYPE_LABELS = {
1743
1838
  v0: "v0",
@@ -1784,12 +1879,12 @@ var creditsSubcommand = {
1784
1879
  var SUPPORTED_ADDON_ALIASES = ["siem", "customEnvironment"];
1785
1880
  var ADDON_LABELS = {
1786
1881
  siem: "SIEM",
1787
- customEnvironment: "Custom Environments"
1882
+ customEnvironment: "Custom Environment"
1788
1883
  };
1789
1884
  var addonSubcommand = {
1790
1885
  name: "addon",
1791
- aliases: ["addons"],
1792
- description: "Purchase a Vercel addon for your team",
1886
+ aliases: ["addons", "add-on"],
1887
+ 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).`,
1793
1888
  arguments: [
1794
1889
  {
1795
1890
  name: "addon-name",
@@ -1805,17 +1900,21 @@ var addonSubcommand = {
1805
1900
  ...yesOption,
1806
1901
  description: "Skip the confirmation prompt"
1807
1902
  },
1808
- formatOption,
1809
- jsonOption
1903
+ jsonOption,
1904
+ projectOption
1810
1905
  ],
1811
1906
  examples: [
1812
1907
  {
1813
- name: "Purchase 1 unit of the SIEM addon",
1908
+ name: "Purchase 1 SIEM addon",
1814
1909
  value: `${packageName} buy addon siem 1`
1815
1910
  },
1816
1911
  {
1817
- name: "Purchase 1 unit of the Custom Environments addon",
1818
- value: `${packageName} buy addon customEnvironment 1`
1912
+ name: `Purchase ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} custom environment packs (${EXAMPLE_CUSTOM_ENVIRONMENT_COUNT} environments) for a project`,
1913
+ value: `${packageName} buy addon customEnvironment ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} --project my-app`
1914
+ },
1915
+ {
1916
+ name: "Remove purchased custom environment capacity",
1917
+ value: `${packageName} buy addon customEnvironment 0 --project my-app --yes`
1819
1918
  }
1820
1919
  ]
1821
1920
  };
@@ -1882,10 +1981,6 @@ var buyCommand = {
1882
1981
  name: "Purchase the SIEM addon",
1883
1982
  value: `${packageName} buy addon siem 1`
1884
1983
  },
1885
- {
1886
- name: "Purchase the Custom Environments addon",
1887
- value: `${packageName} buy addon customEnvironment 1`
1888
- },
1889
1984
  {
1890
1985
  name: "Upgrade to Pro",
1891
1986
  value: `${packageName} buy pro`
@@ -3509,254 +3604,6 @@ var domainsCommand = {
3509
3604
  examples: []
3510
3605
  };
3511
3606
 
3512
- // src/commands/edge-config/command.ts
3513
- var listSubcommand11 = {
3514
- name: "list",
3515
- aliases: ["ls"],
3516
- description: "List Edge Config stores for the current team",
3517
- default: true,
3518
- arguments: [],
3519
- options: [formatOption, jsonOption],
3520
- examples: [
3521
- {
3522
- name: "List Edge Configs as JSON",
3523
- value: `${packageName} edge-config list --json`
3524
- }
3525
- ]
3526
- };
3527
- var addSubcommand6 = {
3528
- name: "add",
3529
- aliases: ["create"],
3530
- description: "Create an Edge Config store",
3531
- arguments: [
3532
- {
3533
- name: "slug",
3534
- required: true
3535
- }
3536
- ],
3537
- options: [
3538
- formatOption,
3539
- jsonOption,
3540
- {
3541
- name: "items",
3542
- shorthand: null,
3543
- type: String,
3544
- argument: "JSON",
3545
- deprecated: false,
3546
- description: 'Optional JSON object of initial items `{ "key": <value>, ... }`'
3547
- }
3548
- ],
3549
- examples: [
3550
- {
3551
- name: "Create a store with slug `flags`",
3552
- value: `${packageName} edge-config add flags`
3553
- }
3554
- ]
3555
- };
3556
- var getSubcommand = {
3557
- name: "get",
3558
- aliases: ["inspect"],
3559
- description: "Show metadata for an Edge Config (id `ecfg_\u2026` or slug)",
3560
- arguments: [
3561
- {
3562
- name: "id-or-slug",
3563
- required: true
3564
- }
3565
- ],
3566
- options: [formatOption, jsonOption],
3567
- examples: []
3568
- };
3569
- var updateSubcommand2 = {
3570
- name: "update",
3571
- aliases: [],
3572
- description: "Rename an Edge Config (`--slug`) and/or patch items (`--patch` JSON)",
3573
- arguments: [
3574
- {
3575
- name: "id-or-slug",
3576
- required: true
3577
- }
3578
- ],
3579
- options: [
3580
- formatOption,
3581
- jsonOption,
3582
- {
3583
- name: "slug",
3584
- shorthand: null,
3585
- type: String,
3586
- argument: "SLUG",
3587
- deprecated: false,
3588
- description: "New slug for the Edge Config"
3589
- },
3590
- {
3591
- name: "patch",
3592
- shorthand: null,
3593
- type: String,
3594
- argument: "JSON",
3595
- deprecated: false,
3596
- 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)'
3597
- }
3598
- ],
3599
- examples: []
3600
- };
3601
- var removeSubcommand8 = {
3602
- name: "remove",
3603
- aliases: ["rm", "delete"],
3604
- description: "Delete an Edge Config store",
3605
- arguments: [
3606
- {
3607
- name: "id-or-slug",
3608
- required: true
3609
- }
3610
- ],
3611
- options: [yesOption, formatOption, jsonOption],
3612
- examples: []
3613
- };
3614
- var itemsSubcommand = {
3615
- name: "items",
3616
- aliases: [],
3617
- description: "List items in an Edge Config, or fetch one item with `--key`",
3618
- arguments: [
3619
- {
3620
- name: "id-or-slug",
3621
- required: true
3622
- }
3623
- ],
3624
- options: [
3625
- formatOption,
3626
- jsonOption,
3627
- {
3628
- name: "key",
3629
- shorthand: "k",
3630
- type: String,
3631
- argument: "KEY",
3632
- deprecated: false,
3633
- description: "When set, fetch a single item by key"
3634
- }
3635
- ],
3636
- examples: []
3637
- };
3638
- var tokensSubcommand = {
3639
- name: "tokens",
3640
- aliases: [],
3641
- description: "List, create (`--add`), or revoke (`--remove`) read tokens for an Edge Config",
3642
- arguments: [
3643
- {
3644
- name: "id-or-slug",
3645
- required: true
3646
- }
3647
- ],
3648
- options: [
3649
- formatOption,
3650
- jsonOption,
3651
- yesOption,
3652
- {
3653
- name: "add",
3654
- shorthand: null,
3655
- type: String,
3656
- argument: "LABEL",
3657
- deprecated: false,
3658
- description: "Create a token with this label (1\u201352 characters)"
3659
- },
3660
- {
3661
- name: "remove",
3662
- shorthand: null,
3663
- type: [String],
3664
- argument: "ID_OR_TOKEN",
3665
- deprecated: false,
3666
- description: "Revoke one or more tokens by id or plaintext token (repeatable). Requires `--yes` in non-interactive mode"
3667
- }
3668
- ],
3669
- examples: []
3670
- };
3671
- var backupsSubcommand = {
3672
- name: "backups",
3673
- aliases: [],
3674
- description: "List, inspect, or restore Edge Config backups",
3675
- arguments: [
3676
- {
3677
- name: "id-or-slug",
3678
- required: true
3679
- }
3680
- ],
3681
- options: [
3682
- formatOption,
3683
- jsonOption,
3684
- {
3685
- ...yesOption,
3686
- description: "Skip the confirmation prompt when restoring"
3687
- },
3688
- {
3689
- name: "backup-version",
3690
- shorthand: null,
3691
- type: String,
3692
- argument: "VERSION_ID",
3693
- deprecated: false,
3694
- description: "Fetch a single backup by version id"
3695
- },
3696
- {
3697
- name: "restore",
3698
- shorthand: null,
3699
- type: String,
3700
- argument: "VERSION_ID",
3701
- deprecated: false,
3702
- description: "Restore items from the backup version id. Requires confirmation because it updates live Edge Config items"
3703
- },
3704
- {
3705
- name: "limit",
3706
- shorthand: null,
3707
- type: Number,
3708
- argument: "NUMBER",
3709
- deprecated: false,
3710
- description: "Maximum number of backups to list (0-50)"
3711
- },
3712
- {
3713
- name: "next",
3714
- shorthand: null,
3715
- type: String,
3716
- argument: "CURSOR",
3717
- deprecated: false,
3718
- description: "Pagination cursor from a previous backup list response"
3719
- }
3720
- ],
3721
- examples: [
3722
- {
3723
- name: "List backups for an Edge Config",
3724
- value: `${packageName} edge-config backups my-store`
3725
- },
3726
- {
3727
- name: "Inspect a backup as JSON",
3728
- value: `${packageName} edge-config backups my-store --backup-version <version-id> --json`
3729
- },
3730
- {
3731
- name: "Restore a backup",
3732
- value: `${packageName} edge-config backups my-store --restore <version-id> --yes`
3733
- }
3734
- ]
3735
- };
3736
- var edgeConfigCommand = {
3737
- name: "edge-config",
3738
- aliases: [],
3739
- description: "Manage Edge Config stores (dashboard API parity)",
3740
- arguments: [],
3741
- subcommands: [
3742
- listSubcommand11,
3743
- addSubcommand6,
3744
- getSubcommand,
3745
- updateSubcommand2,
3746
- removeSubcommand8,
3747
- itemsSubcommand,
3748
- tokensSubcommand,
3749
- backupsSubcommand
3750
- ],
3751
- options: [],
3752
- examples: [
3753
- {
3754
- name: "List stores",
3755
- value: `${packageName} edge-config list`
3756
- }
3757
- ]
3758
- };
3759
-
3760
3607
  // src/commands/firewall/command.ts
3761
3608
  var overviewSubcommand = {
3762
3609
  name: "overview",
@@ -4735,7 +4582,7 @@ function isFlagEvaluationsGranularity(value) {
4735
4582
 
4736
4583
  // src/commands/flags/command.ts
4737
4584
  var segmentRuleOperatorDescription = `Valid operators: ${formatFlagConditionComparatorList()}`;
4738
- var listSubcommand12 = {
4585
+ var listSubcommand11 = {
4739
4586
  name: "list",
4740
4587
  aliases: ["ls"],
4741
4588
  description: "List all feature flags for the current project",
@@ -5102,7 +4949,7 @@ var openSubcommand2 = {
5102
4949
  }
5103
4950
  ]
5104
4951
  };
5105
- var updateSubcommand3 = {
4952
+ var updateSubcommand2 = {
5106
4953
  name: "update",
5107
4954
  aliases: [],
5108
4955
  description: "Update an existing feature flag",
@@ -5677,7 +5524,7 @@ var rulesSubcommand3 = {
5677
5524
  options: [],
5678
5525
  examples: []
5679
5526
  };
5680
- var removeSubcommand9 = {
5527
+ var removeSubcommand8 = {
5681
5528
  name: "remove",
5682
5529
  aliases: ["rm"],
5683
5530
  description: "Delete a feature flag",
@@ -6251,17 +6098,17 @@ var flagsCommand = {
6251
6098
  description: "Manage feature flags for a Vercel project",
6252
6099
  arguments: [],
6253
6100
  subcommands: [
6254
- listSubcommand12,
6101
+ listSubcommand11,
6255
6102
  inspectSubcommand4,
6256
6103
  versionsSubcommand,
6257
6104
  evaluationsSubcommand,
6258
6105
  createSubcommand4,
6259
6106
  openSubcommand2,
6260
- updateSubcommand3,
6107
+ updateSubcommand2,
6261
6108
  setSubcommand2,
6262
6109
  splitSubcommand,
6263
6110
  rolloutSubcommand,
6264
- removeSubcommand9,
6111
+ removeSubcommand8,
6265
6112
  archiveSubcommand,
6266
6113
  disableSubcommand,
6267
6114
  enableSubcommand,
@@ -6321,6 +6168,254 @@ var gitCommand = {
6321
6168
  examples: []
6322
6169
  };
6323
6170
 
6171
+ // src/commands/global-config/command.ts
6172
+ var listSubcommand12 = {
6173
+ name: "list",
6174
+ aliases: ["ls"],
6175
+ description: "List Global Config stores for the current team",
6176
+ default: true,
6177
+ arguments: [],
6178
+ options: [formatOption, jsonOption],
6179
+ examples: [
6180
+ {
6181
+ name: "List Global Configs as JSON",
6182
+ value: `${packageName} global-config list --json`
6183
+ }
6184
+ ]
6185
+ };
6186
+ var addSubcommand6 = {
6187
+ name: "add",
6188
+ aliases: ["create"],
6189
+ description: "Create a Global Config store",
6190
+ arguments: [
6191
+ {
6192
+ name: "slug",
6193
+ required: true
6194
+ }
6195
+ ],
6196
+ options: [
6197
+ formatOption,
6198
+ jsonOption,
6199
+ {
6200
+ name: "items",
6201
+ shorthand: null,
6202
+ type: String,
6203
+ argument: "JSON",
6204
+ deprecated: false,
6205
+ description: 'Optional JSON object of initial items `{ "key": <value>, ... }`'
6206
+ }
6207
+ ],
6208
+ examples: [
6209
+ {
6210
+ name: "Create a store with slug `flags`",
6211
+ value: `${packageName} global-config add flags`
6212
+ }
6213
+ ]
6214
+ };
6215
+ var getSubcommand = {
6216
+ name: "get",
6217
+ aliases: ["inspect"],
6218
+ description: "Show metadata for a Global Config (id `ecfg_\u2026` or slug)",
6219
+ arguments: [
6220
+ {
6221
+ name: "id-or-slug",
6222
+ required: true
6223
+ }
6224
+ ],
6225
+ options: [formatOption, jsonOption],
6226
+ examples: []
6227
+ };
6228
+ var updateSubcommand3 = {
6229
+ name: "update",
6230
+ aliases: [],
6231
+ description: "Rename a Global Config (`--slug`) and/or patch items (`--patch` JSON)",
6232
+ arguments: [
6233
+ {
6234
+ name: "id-or-slug",
6235
+ required: true
6236
+ }
6237
+ ],
6238
+ options: [
6239
+ formatOption,
6240
+ jsonOption,
6241
+ {
6242
+ name: "slug",
6243
+ shorthand: null,
6244
+ type: String,
6245
+ argument: "SLUG",
6246
+ deprecated: false,
6247
+ description: "New slug for the Global Config"
6248
+ },
6249
+ {
6250
+ name: "patch",
6251
+ shorthand: null,
6252
+ type: String,
6253
+ argument: "JSON",
6254
+ deprecated: false,
6255
+ 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)'
6256
+ }
6257
+ ],
6258
+ examples: []
6259
+ };
6260
+ var removeSubcommand9 = {
6261
+ name: "remove",
6262
+ aliases: ["rm", "delete"],
6263
+ description: "Delete a Global Config store",
6264
+ arguments: [
6265
+ {
6266
+ name: "id-or-slug",
6267
+ required: true
6268
+ }
6269
+ ],
6270
+ options: [yesOption, formatOption, jsonOption],
6271
+ examples: []
6272
+ };
6273
+ var itemsSubcommand = {
6274
+ name: "items",
6275
+ aliases: [],
6276
+ description: "List items in a Global Config, or fetch one item with `--key`",
6277
+ arguments: [
6278
+ {
6279
+ name: "id-or-slug",
6280
+ required: true
6281
+ }
6282
+ ],
6283
+ options: [
6284
+ formatOption,
6285
+ jsonOption,
6286
+ {
6287
+ name: "key",
6288
+ shorthand: "k",
6289
+ type: String,
6290
+ argument: "KEY",
6291
+ deprecated: false,
6292
+ description: "When set, fetch a single item by key"
6293
+ }
6294
+ ],
6295
+ examples: []
6296
+ };
6297
+ var tokensSubcommand = {
6298
+ name: "tokens",
6299
+ aliases: [],
6300
+ description: "List, create (`--add`), or revoke (`--remove`) read tokens for a Global Config",
6301
+ arguments: [
6302
+ {
6303
+ name: "id-or-slug",
6304
+ required: true
6305
+ }
6306
+ ],
6307
+ options: [
6308
+ formatOption,
6309
+ jsonOption,
6310
+ yesOption,
6311
+ {
6312
+ name: "add",
6313
+ shorthand: null,
6314
+ type: String,
6315
+ argument: "LABEL",
6316
+ deprecated: false,
6317
+ description: "Create a token with this label (1\u201352 characters)"
6318
+ },
6319
+ {
6320
+ name: "remove",
6321
+ shorthand: null,
6322
+ type: [String],
6323
+ argument: "ID_OR_TOKEN",
6324
+ deprecated: false,
6325
+ description: "Revoke one or more tokens by id or plaintext token (repeatable). Requires `--yes` in non-interactive mode"
6326
+ }
6327
+ ],
6328
+ examples: []
6329
+ };
6330
+ var backupsSubcommand = {
6331
+ name: "backups",
6332
+ aliases: [],
6333
+ description: "List, inspect, or restore Global Config backups",
6334
+ arguments: [
6335
+ {
6336
+ name: "id-or-slug",
6337
+ required: true
6338
+ }
6339
+ ],
6340
+ options: [
6341
+ formatOption,
6342
+ jsonOption,
6343
+ {
6344
+ ...yesOption,
6345
+ description: "Skip the confirmation prompt when restoring"
6346
+ },
6347
+ {
6348
+ name: "backup-version",
6349
+ shorthand: null,
6350
+ type: String,
6351
+ argument: "VERSION_ID",
6352
+ deprecated: false,
6353
+ description: "Fetch a single backup by version id"
6354
+ },
6355
+ {
6356
+ name: "restore",
6357
+ shorthand: null,
6358
+ type: String,
6359
+ argument: "VERSION_ID",
6360
+ deprecated: false,
6361
+ description: "Restore items from the backup version id. Requires confirmation because it updates live Global Config items"
6362
+ },
6363
+ {
6364
+ name: "limit",
6365
+ shorthand: null,
6366
+ type: Number,
6367
+ argument: "NUMBER",
6368
+ deprecated: false,
6369
+ description: "Maximum number of backups to list (0-50)"
6370
+ },
6371
+ {
6372
+ name: "next",
6373
+ shorthand: null,
6374
+ type: String,
6375
+ argument: "CURSOR",
6376
+ deprecated: false,
6377
+ description: "Pagination cursor from a previous backup list response"
6378
+ }
6379
+ ],
6380
+ examples: [
6381
+ {
6382
+ name: "List backups for a Global Config",
6383
+ value: `${packageName} global-config backups my-store`
6384
+ },
6385
+ {
6386
+ name: "Inspect a backup as JSON",
6387
+ value: `${packageName} global-config backups my-store --backup-version <version-id> --json`
6388
+ },
6389
+ {
6390
+ name: "Restore a backup",
6391
+ value: `${packageName} global-config backups my-store --restore <version-id> --yes`
6392
+ }
6393
+ ]
6394
+ };
6395
+ var globalConfigCommand = {
6396
+ name: "global-config",
6397
+ aliases: ["edge-config"],
6398
+ description: "Manage Global Config stores (dashboard API parity)",
6399
+ arguments: [],
6400
+ subcommands: [
6401
+ listSubcommand12,
6402
+ addSubcommand6,
6403
+ getSubcommand,
6404
+ updateSubcommand3,
6405
+ removeSubcommand9,
6406
+ itemsSubcommand,
6407
+ tokensSubcommand,
6408
+ backupsSubcommand
6409
+ ],
6410
+ options: [],
6411
+ examples: [
6412
+ {
6413
+ name: "List stores",
6414
+ value: `${packageName} global-config list`
6415
+ }
6416
+ ]
6417
+ };
6418
+
6324
6419
  // src/commands/guidance/command.ts
6325
6420
  var statusSubcommand = {
6326
6421
  name: "status",
@@ -10730,11 +10825,11 @@ var commandsStructs = [
10730
10825
  devCommand,
10731
10826
  dnsCommand,
10732
10827
  domainsCommand,
10733
- edgeConfigCommand,
10734
10828
  envCommand,
10735
10829
  firewallCommand,
10736
10830
  flagsCommand,
10737
10831
  gitCommand,
10832
+ globalConfigCommand,
10738
10833
  httpstatCommand,
10739
10834
  initCommand,
10740
10835
  inspectCommand,
@@ -10823,6 +10918,10 @@ export {
10823
10918
  budgetsListSubcommand,
10824
10919
  budgetsRemoveSubcommand,
10825
10920
  leaderboardModelsSubcommand,
10921
+ budgetsDefaultsListSubcommand,
10922
+ budgetsDefaultsSetSubcommand,
10923
+ budgetsDefaultsRemoveSubcommand,
10924
+ budgetsDefaultsSubcommand,
10826
10925
  budgetsSubcommand,
10827
10926
  leaderboardLabsSubcommand,
10828
10927
  leaderboardAppsSubcommand,
@@ -10836,6 +10935,9 @@ export {
10836
10935
  listSubcommand4,
10837
10936
  apiCommand,
10838
10937
  bisectCommand,
10938
+ CUSTOM_ENVIRONMENTS_PER_PACK,
10939
+ CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT,
10940
+ isCustomEnvironmentAddonAlias,
10839
10941
  SUPPORTED_CREDIT_TYPES,
10840
10942
  CREDIT_TYPE_LABELS,
10841
10943
  creditsSubcommand,
@@ -10895,15 +10997,6 @@ export {
10895
10997
  transferInSubcommand,
10896
10998
  verifySubcommand,
10897
10999
  domainsCommand,
10898
- listSubcommand11,
10899
- addSubcommand6 as addSubcommand5,
10900
- getSubcommand,
10901
- updateSubcommand2,
10902
- removeSubcommand8,
10903
- itemsSubcommand,
10904
- tokensSubcommand,
10905
- backupsSubcommand,
10906
- edgeConfigCommand,
10907
11000
  overviewSubcommand,
10908
11001
  diffSubcommand,
10909
11002
  publishSubcommand,
@@ -10938,7 +11031,7 @@ export {
10938
11031
  formatFlagConditionComparator,
10939
11032
  FLAG_EVALUATIONS_GRANULARITIES,
10940
11033
  isFlagEvaluationsGranularity,
10941
- listSubcommand12,
11034
+ listSubcommand11,
10942
11035
  inspectSubcommand4,
10943
11036
  versionsListSubcommand,
10944
11037
  versionsDiffSubcommand,
@@ -10946,7 +11039,7 @@ export {
10946
11039
  evaluationsSubcommand,
10947
11040
  createSubcommand4,
10948
11041
  openSubcommand2,
10949
- updateSubcommand3,
11042
+ updateSubcommand2,
10950
11043
  setSubcommand2,
10951
11044
  splitSubcommand,
10952
11045
  rolloutSubcommand,
@@ -10956,7 +11049,7 @@ export {
10956
11049
  rulesRemoveSubcommand3,
10957
11050
  rulesMoveSubcommand,
10958
11051
  rulesSubcommand3,
10959
- removeSubcommand9,
11052
+ removeSubcommand8,
10960
11053
  archiveSubcommand,
10961
11054
  disableSubcommand,
10962
11055
  enableSubcommand,
@@ -10976,6 +11069,15 @@ export {
10976
11069
  connectSubcommand,
10977
11070
  disconnectSubcommand,
10978
11071
  gitCommand,
11072
+ listSubcommand12,
11073
+ addSubcommand6 as addSubcommand5,
11074
+ getSubcommand,
11075
+ updateSubcommand3,
11076
+ removeSubcommand9,
11077
+ itemsSubcommand,
11078
+ tokensSubcommand,
11079
+ backupsSubcommand,
11080
+ globalConfigCommand,
10979
11081
  statusSubcommand,
10980
11082
  enableSubcommand2,
10981
11083
  disableSubcommand2,