vercel 54.1.0 → 54.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 (67) hide show
  1. package/dist/chunks/{add-XFFRWMRQ.js → add-6BI52GC7.js} +8 -8
  2. package/dist/chunks/{chunk-ZKKIBUCU.js → chunk-3NTROBCB.js} +7 -4
  3. package/dist/chunks/{chunk-XVAEOG4L.js → chunk-3TDGMELF.js} +3 -5
  4. package/dist/chunks/{chunk-4OEA5ILS.js → chunk-4CIXZOP4.js} +29 -0
  5. package/dist/chunks/{chunk-V6RCNEUA.js → chunk-4KGRBMBC.js} +8 -8
  6. package/dist/chunks/{chunk-JFVGRFME.js → chunk-5EKBCYHA.js} +1 -1
  7. package/dist/chunks/{chunk-FUBTAFL2.js → chunk-5TTQBT67.js} +1 -1
  8. package/dist/chunks/{chunk-FXOKKAK2.js → chunk-63MSANDD.js} +14 -10
  9. package/dist/chunks/{chunk-PPIAHRII.js → chunk-7UDM3VHD.js} +1 -1
  10. package/dist/chunks/{chunk-LVUE7LLE.js → chunk-AKWLMA5B.js} +1 -1
  11. package/dist/chunks/{chunk-C5YP6KFI.js → chunk-AOJHEPS4.js} +6 -0
  12. package/dist/chunks/{chunk-4VPRHRPA.js → chunk-B3RJGSB2.js} +2 -2
  13. package/dist/chunks/{chunk-ZAAKSLHC.js → chunk-C2V6DCWN.js} +4 -2
  14. package/dist/chunks/{chunk-4PSOOFYO.js → chunk-DJA3IN2X.js} +1 -1
  15. package/dist/chunks/{chunk-FXSXQHVF.js → chunk-EU5K7JFJ.js} +5 -5
  16. package/dist/chunks/{chunk-CVDYWVCD.js → chunk-GJI2IQHA.js} +2 -2
  17. package/dist/chunks/{chunk-4GQQJY5Y.js → chunk-H33IJ7OP.js} +9 -0
  18. package/dist/chunks/{chunk-UVFXUXOZ.js → chunk-HFVP2JUO.js} +311 -72
  19. package/dist/chunks/{chunk-E3NE4SKN.js → chunk-L6Q2EQPI.js} +1 -0
  20. package/dist/chunks/{chunk-DKD6GTQT.js → chunk-OM5Z2KO5.js} +1 -1
  21. package/dist/chunks/{chunk-PNA7EZB2.js → chunk-PU4PEBGY.js} +1 -1
  22. package/dist/chunks/{chunk-F2UPASLT.js → chunk-PXR6WCEU.js} +5 -5
  23. package/dist/chunks/{chunk-N4WFAZKO.js → chunk-R6QYB2GK.js} +13 -3
  24. package/dist/chunks/{chunk-X775BOSL.js → chunk-RNIZUKES.js} +5018 -4454
  25. package/dist/chunks/{chunk-UTXSTM52.js → chunk-SJAFZ3UZ.js} +65 -5
  26. package/dist/chunks/{chunk-J3BCJYPE.js → chunk-SRLTKHXQ.js} +486 -8
  27. package/dist/chunks/{chunk-2DFWEDF7.js → chunk-SRVNEJVN.js} +2 -2
  28. package/dist/chunks/{chunk-XNUHSM7I.js → chunk-SXYVZF6H.js} +3 -3
  29. package/dist/chunks/{chunk-TZMIHH5D.js → chunk-TM2USC5N.js} +6 -11
  30. package/dist/chunks/{chunk-MMF4BVAP.js → chunk-TTOZFGDX.js} +3 -3
  31. package/dist/chunks/{chunk-KWDV5FZH.js → chunk-W64ECC2K.js} +1 -1
  32. package/dist/chunks/{chunk-IFATV36R.js → chunk-YAOSNCGO.js} +5 -8
  33. package/dist/chunks/{chunk-CQANJIEC.js → chunk-YP423QYK.js} +4 -6
  34. package/dist/chunks/{chunk-MUBKPS2Z.js → chunk-ZCMQ43RC.js} +1 -1
  35. package/dist/chunks/{chunk-IIZO5JJ2.js → chunk-ZUK6C2UA.js} +1 -1
  36. package/dist/chunks/{compile-vercel-config-42PRUTEP.js → compile-vercel-config-UTUECEB5.js} +3 -3
  37. package/dist/chunks/{delete-MXCXLO5L.js → delete-FML7PGMQ.js} +6 -6
  38. package/dist/chunks/{disable-LXQSUVY3.js → disable-LJFGBJQD.js} +6 -6
  39. package/dist/chunks/{discard-CKMEANJI.js → discard-JKLUB56V.js} +6 -6
  40. package/dist/chunks/{edit-PKYWQTN6.js → edit-24LNAGLI.js} +8 -8
  41. package/dist/chunks/{enable-IONDBJSL.js → enable-XV6WCSRR.js} +6 -6
  42. package/dist/chunks/{export-YV3QFTMT.js → export-IZAJQNHO.js} +6 -6
  43. package/dist/chunks/{inspect-SF355FJC.js → inspect-4OYBTMEZ.js} +10 -10
  44. package/dist/chunks/{list-ZGR3WI5L.js → list-FOLL3X7L.js} +9 -9
  45. package/dist/chunks/{list-GEI7DMTS.js → list-PEXOOVJA.js} +5 -5
  46. package/dist/chunks/{ls-GYN5LXZK.js → ls-3D5FA5CD.js} +8 -8
  47. package/dist/chunks/{publish-3WCELCTS.js → publish-FV5R2JPI.js} +6 -6
  48. package/dist/chunks/{query-TP56OPX6.js → query-JM422UQL.js} +6 -6
  49. package/dist/chunks/{reorder-QRNHPN5V.js → reorder-H5VPRRYP.js} +6 -6
  50. package/dist/chunks/{restore-IGN4HUFX.js → restore-JPFHV2E2.js} +6 -6
  51. package/dist/chunks/{rm-55RGOT4O.js → rm-AQFIGZB7.js} +8 -8
  52. package/dist/chunks/{routes-2YVMQEPC.js → routes-IBID4NSZ.js} +2 -2
  53. package/dist/chunks/{rule-inspect-QVOVMKDK.js → rule-inspect-XV56NBAE.js} +8 -8
  54. package/dist/chunks/{rules-KRCW5RQK.js → rules-SUXFDKPS.js} +7 -7
  55. package/dist/chunks/{schema-3J3IBIFA.js → schema-3I4KYWU3.js} +7 -7
  56. package/dist/chunks/{types-QAT6PCGL.js → types-V6KTYGWP.js} +3 -3
  57. package/dist/chunks/{update-E5UAD2DD.js → update-3W7ETGXO.js} +8 -8
  58. package/dist/commands/build/index.js +94 -31
  59. package/dist/commands/deploy/index.js +32 -26
  60. package/dist/commands/dev/index.js +86 -36
  61. package/dist/commands/env/index.js +18 -22
  62. package/dist/commands/link/index.js +22 -29
  63. package/dist/commands/list/index.js +10 -10
  64. package/dist/commands-bulk.js +3662 -1847
  65. package/dist/index.js +117 -463
  66. package/dist/version.mjs +1 -1
  67. package/package.json +25 -24
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  metricsCommand
9
- } from "./chunk-IFATV36R.js";
9
+ } from "./chunk-YAOSNCGO.js";
10
10
  import {
11
11
  routesCommand
12
- } from "./chunk-JFVGRFME.js";
12
+ } from "./chunk-5EKBCYHA.js";
13
13
  import {
14
14
  alertsCommand
15
- } from "./chunk-TZMIHH5D.js";
15
+ } from "./chunk-TM2USC5N.js";
16
16
  import {
17
17
  devCommand
18
- } from "./chunk-ZAAKSLHC.js";
18
+ } from "./chunk-C2V6DCWN.js";
19
19
  import {
20
20
  activityCommand
21
- } from "./chunk-CQANJIEC.js";
21
+ } from "./chunk-YP423QYK.js";
22
22
  import {
23
23
  listCommand
24
- } from "./chunk-4PSOOFYO.js";
24
+ } from "./chunk-DJA3IN2X.js";
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-ZKKIBUCU.js";
28
+ } from "./chunk-3NTROBCB.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-X775BOSL.js";
31
+ } from "./chunk-RNIZUKES.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -36,8 +36,9 @@ import {
36
36
  jsonOption,
37
37
  limitOption,
38
38
  nextOption,
39
+ projectOption,
39
40
  yesOption
40
- } from "./chunk-4GQQJY5Y.js";
41
+ } from "./chunk-H33IJ7OP.js";
41
42
  import {
42
43
  packageName
43
44
  } from "./chunk-UGXBNJMO.js";
@@ -141,6 +142,7 @@ var initSubcommand = {
141
142
  formatOption,
142
143
  jsonOption,
143
144
  confirmOption,
145
+ projectOption,
144
146
  {
145
147
  name: "functions-beta",
146
148
  shorthand: null,
@@ -352,6 +354,7 @@ var deployCommand = {
352
354
  formatOption,
353
355
  jsonOption,
354
356
  confirmOption,
357
+ projectOption,
355
358
  {
356
359
  name: "functions-beta",
357
360
  shorthand: null,
@@ -425,12 +428,9 @@ var linkCommand = {
425
428
  deprecated: false
426
429
  },
427
430
  {
428
- name: "project",
429
- description: "Project name or ID to link to (required for non-interactive)",
431
+ ...projectOption,
430
432
  shorthand: "p",
431
- argument: "NAME_OR_ID",
432
- type: String,
433
- deprecated: false
433
+ description: "Project name or ID to link to (required for non-interactive)"
434
434
  },
435
435
  {
436
436
  name: "team",
@@ -1351,6 +1351,30 @@ var createSubcommand2 = {
1351
1351
  deprecated: false,
1352
1352
  description: "Enable webhook triggers for this connector"
1353
1353
  },
1354
+ {
1355
+ name: "icon",
1356
+ shorthand: null,
1357
+ type: String,
1358
+ argument: "PATH",
1359
+ deprecated: false,
1360
+ description: "Path to a PNG or JPEG image to use as the connector icon (uploaded to Vercel)"
1361
+ },
1362
+ {
1363
+ name: "background-color",
1364
+ shorthand: null,
1365
+ type: String,
1366
+ argument: "HEX",
1367
+ deprecated: false,
1368
+ description: "Background color for the connector icon (e.g. #1A2B3C)"
1369
+ },
1370
+ {
1371
+ name: "accent-color",
1372
+ shorthand: null,
1373
+ type: String,
1374
+ argument: "HEX",
1375
+ deprecated: false,
1376
+ description: "Accent color for the connector icon (e.g. #1A2B3C)"
1377
+ },
1354
1378
  formatOption
1355
1379
  ],
1356
1380
  examples: [
@@ -1366,12 +1390,68 @@ var createSubcommand2 = {
1366
1390
  name: "Create with webhook triggers enabled",
1367
1391
  value: `${packageName} connect create slack --name my-bot --triggers`
1368
1392
  },
1393
+ {
1394
+ name: "Create with branding (icon and colors)",
1395
+ value: `${packageName} connect create slack --name my-bot --icon ./logo.png --background-color '#1A2B3C' --accent-color '#FF0066'`
1396
+ },
1369
1397
  {
1370
1398
  name: "Output as JSON",
1371
1399
  value: `${packageName} connect create slack --format=json`
1372
1400
  }
1373
1401
  ]
1374
1402
  };
1403
+ var updateSubcommand = {
1404
+ name: "update",
1405
+ aliases: [],
1406
+ description: "Update connector branding (icon and colors)",
1407
+ arguments: [
1408
+ {
1409
+ name: "id",
1410
+ required: true
1411
+ }
1412
+ ],
1413
+ options: [
1414
+ {
1415
+ name: "icon",
1416
+ shorthand: null,
1417
+ type: String,
1418
+ argument: "PATH",
1419
+ deprecated: false,
1420
+ description: "Path to a PNG or JPEG image to use as the connector icon (uploaded to Vercel)"
1421
+ },
1422
+ {
1423
+ name: "background-color",
1424
+ shorthand: null,
1425
+ type: String,
1426
+ argument: "HEX",
1427
+ deprecated: false,
1428
+ description: "Background color for the connector icon (e.g. #1A2B3C)"
1429
+ },
1430
+ {
1431
+ name: "accent-color",
1432
+ shorthand: null,
1433
+ type: String,
1434
+ argument: "HEX",
1435
+ deprecated: false,
1436
+ description: "Accent color for the connector icon (e.g. #1A2B3C)"
1437
+ },
1438
+ formatOption
1439
+ ],
1440
+ examples: [
1441
+ {
1442
+ name: "Update the connector icon",
1443
+ value: `${packageName} connect update scl_abc123 --icon ./logo.png`
1444
+ },
1445
+ {
1446
+ name: "Update the connector colors",
1447
+ value: `${packageName} connect update scl_abc123 --background-color '#1A2B3C' --accent-color '#FF0066'`
1448
+ },
1449
+ {
1450
+ name: "Output as JSON",
1451
+ value: `${packageName} connect update scl_abc123 --icon ./logo.png --format=json`
1452
+ }
1453
+ ]
1454
+ };
1375
1455
  var listSubcommand4 = {
1376
1456
  name: "list",
1377
1457
  aliases: ["ls"],
@@ -1587,11 +1667,8 @@ var attachSubcommand = {
1587
1667
  description: "Environments to enable. Repeatable and comma-separated (e.g. -e production -e preview, or -e production,preview). Defaults to all environments."
1588
1668
  },
1589
1669
  {
1590
- name: "project",
1670
+ ...projectOption,
1591
1671
  shorthand: "p",
1592
- type: String,
1593
- argument: "NAME_OR_ID",
1594
- deprecated: false,
1595
1672
  description: "Project name or ID (default: current linked project)"
1596
1673
  },
1597
1674
  {
@@ -1662,11 +1739,8 @@ var detachSubcommand = {
1662
1739
  ],
1663
1740
  options: [
1664
1741
  {
1665
- name: "project",
1742
+ ...projectOption,
1666
1743
  shorthand: "p",
1667
- type: String,
1668
- argument: "NAME_OR_ID",
1669
- deprecated: false,
1670
1744
  description: "Project name or ID (default: current linked project)"
1671
1745
  },
1672
1746
  {
@@ -1698,6 +1772,7 @@ var connexCommand = {
1698
1772
  options: [],
1699
1773
  subcommands: [
1700
1774
  createSubcommand2,
1775
+ updateSubcommand,
1701
1776
  listSubcommand4,
1702
1777
  tokenSubcommand,
1703
1778
  attachSubcommand,
@@ -1860,6 +1935,20 @@ var curlCommand = {
1860
1935
  deprecated: false,
1861
1936
  description: "Protection bypass secret for accessing protected deployments",
1862
1937
  argument: "SECRET"
1938
+ },
1939
+ {
1940
+ name: "trace",
1941
+ shorthand: null,
1942
+ type: Boolean,
1943
+ deprecated: false,
1944
+ description: "Capture a session trace for the request and print the trace request id"
1945
+ },
1946
+ {
1947
+ name: "json",
1948
+ shorthand: null,
1949
+ type: Boolean,
1950
+ deprecated: false,
1951
+ description: "With --trace, emit { response, requestId } as JSON on stdout"
1863
1952
  }
1864
1953
  ],
1865
1954
  examples: [
@@ -1886,25 +1975,25 @@ var curlCommand = {
1886
1975
  {
1887
1976
  name: "Use with protection bypass secret",
1888
1977
  value: `${packageName} curl /api/protected --protection-bypass <secret> -- --request GET`
1978
+ },
1979
+ {
1980
+ name: "Capture a session trace for the request",
1981
+ value: `${packageName} curl --trace /api/hello`
1889
1982
  }
1890
1983
  ]
1891
1984
  };
1892
1985
 
1893
1986
  // src/commands/deploy-hooks/command.ts
1894
- var projectOption = {
1895
- name: "project",
1896
- shorthand: "p",
1897
- type: String,
1898
- argument: "PROJECT",
1899
- description: "Project name or ID (defaults to the linked project)",
1900
- deprecated: false
1987
+ var projectOption2 = {
1988
+ ...projectOption,
1989
+ shorthand: "p"
1901
1990
  };
1902
1991
  var listSubcommand6 = {
1903
1992
  name: "list",
1904
1993
  aliases: ["ls"],
1905
1994
  description: "List deploy hooks for a project",
1906
1995
  arguments: [],
1907
- options: [formatOption, projectOption],
1996
+ options: [formatOption, projectOption2],
1908
1997
  examples: [
1909
1998
  {
1910
1999
  name: "List deploy hooks as JSON",
@@ -1931,7 +2020,7 @@ var createSubcommand3 = {
1931
2020
  deprecated: false,
1932
2021
  description: "Git branch ref to deploy when the hook URL is triggered"
1933
2022
  },
1934
- projectOption
2023
+ projectOption2
1935
2024
  ],
1936
2025
  examples: [
1937
2026
  {
@@ -1951,7 +2040,7 @@ var removeSubcommand4 = {
1951
2040
  }
1952
2041
  ],
1953
2042
  options: [
1954
- projectOption,
2043
+ projectOption2,
1955
2044
  {
1956
2045
  ...yesOption,
1957
2046
  description: "Skip the confirmation prompt when removing a deploy hook"
@@ -2325,7 +2414,7 @@ var getSubcommand = {
2325
2414
  options: [formatOption],
2326
2415
  examples: []
2327
2416
  };
2328
- var updateSubcommand = {
2417
+ var updateSubcommand2 = {
2329
2418
  name: "update",
2330
2419
  aliases: [],
2331
2420
  description: "Rename an Edge Config (`--slug`) and/or patch items (`--patch` JSON)",
@@ -2433,7 +2522,7 @@ var edgeConfigCommand = {
2433
2522
  listSubcommand9,
2434
2523
  addSubcommand6,
2435
2524
  getSubcommand,
2436
- updateSubcommand,
2525
+ updateSubcommand2,
2437
2526
  removeSubcommand7,
2438
2527
  itemsSubcommand,
2439
2528
  tokensSubcommand
@@ -3464,7 +3553,7 @@ var openSubcommand2 = {
3464
3553
  }
3465
3554
  ]
3466
3555
  };
3467
- var updateSubcommand2 = {
3556
+ var updateSubcommand3 = {
3468
3557
  name: "update",
3469
3558
  aliases: [],
3470
3559
  description: "Update an existing feature flag",
@@ -3574,6 +3663,73 @@ var setSubcommand2 = {
3574
3663
  }
3575
3664
  ]
3576
3665
  };
3666
+ var splitSubcommand = {
3667
+ name: "split",
3668
+ aliases: [],
3669
+ description: "Configure a weighted split for a feature flag in an environment",
3670
+ arguments: [
3671
+ {
3672
+ name: "flag",
3673
+ required: true
3674
+ }
3675
+ ],
3676
+ options: [
3677
+ {
3678
+ name: "environment",
3679
+ shorthand: "e",
3680
+ type: String,
3681
+ deprecated: false,
3682
+ description: "The environment to configure (production, preview, or development)",
3683
+ argument: "ENV"
3684
+ },
3685
+ {
3686
+ name: "by",
3687
+ shorthand: null,
3688
+ type: String,
3689
+ deprecated: false,
3690
+ description: "Entity attribute used for bucketing, in the form entity.attribute",
3691
+ argument: "ENTITY.ATTRIBUTE"
3692
+ },
3693
+ {
3694
+ name: "weight",
3695
+ shorthand: "w",
3696
+ type: [String],
3697
+ deprecated: false,
3698
+ description: "Variant weight ratio as VARIANT=WEIGHT. Repeat for each variant; values are normalized and 0 receives no traffic.",
3699
+ argument: "VARIANT=WEIGHT"
3700
+ },
3701
+ {
3702
+ name: "default-variant",
3703
+ shorthand: null,
3704
+ type: String,
3705
+ deprecated: false,
3706
+ description: "The fallback variant to serve when the split attribute is unavailable",
3707
+ argument: "VARIANT"
3708
+ },
3709
+ {
3710
+ name: "message",
3711
+ shorthand: null,
3712
+ type: String,
3713
+ deprecated: false,
3714
+ description: "Optional revision message for the update",
3715
+ argument: "TEXT"
3716
+ }
3717
+ ],
3718
+ examples: [
3719
+ {
3720
+ name: "Split a boolean flag in production",
3721
+ value: `${packageName} flags split redesigned-checkout --environment production --by user.userId --weight off=95 --weight on=5`
3722
+ },
3723
+ {
3724
+ name: "Split a string flag with a fallback variant",
3725
+ value: `${packageName} flags split welcome-message -e production --by user.userId --default-variant control --weight control=90 --weight treatment=10`
3726
+ },
3727
+ {
3728
+ name: "Exclude a variant from the split",
3729
+ value: `${packageName} flags split checkout-copy -e preview --by user.userId --default-variant control --weight control=50 --weight treatment=50 --weight legacy=0`
3730
+ }
3731
+ ]
3732
+ };
3577
3733
  var rolloutSubcommand = {
3578
3734
  name: "rollout",
3579
3735
  aliases: [],
@@ -3981,8 +4137,9 @@ var flagsCommand = {
3981
4137
  inspectSubcommand2,
3982
4138
  createSubcommand4,
3983
4139
  openSubcommand2,
3984
- updateSubcommand2,
4140
+ updateSubcommand3,
3985
4141
  setSubcommand2,
4142
+ splitSubcommand,
3986
4143
  rolloutSubcommand,
3987
4144
  removeSubcommand8,
3988
4145
  archiveSubcommand,
@@ -4398,20 +4555,14 @@ var addSubcommand7 = {
4398
4555
  var acceptTermsSubcommand = {
4399
4556
  name: "accept-terms",
4400
4557
  aliases: [],
4401
- description: "Accept marketplace legal terms for an integration and install it on the current team (installation only; no product resource). Does not replace integrations that require a browser or device attestation.",
4558
+ description: "Accept marketplace legal terms for an integration and install it on the current team (installation only; no product resource). Requires an interactive terminal and human confirmation. Does not replace integrations that require a browser or device attestation.",
4402
4559
  arguments: [
4403
4560
  {
4404
4561
  name: "integration",
4405
4562
  required: true
4406
4563
  }
4407
4564
  ],
4408
- options: [
4409
- {
4410
- ...yesOption,
4411
- description: "Non-interactive only: confirm acceptance of the Vercel Marketplace End User Addendum and this integration's privacy policy / EULA when applicable"
4412
- },
4413
- formatOption
4414
- ],
4565
+ options: [formatOption],
4415
4566
  examples: [
4416
4567
  {
4417
4568
  name: "Accept terms interactively, then install on the team",
@@ -4420,13 +4571,9 @@ var acceptTermsSubcommand = {
4420
4571
  `${packageName} integration accept-terms neon`
4421
4572
  ]
4422
4573
  },
4423
- {
4424
- name: "Accept terms in CI (you must have read the linked policies)",
4425
- value: `${packageName} integration accept-terms neon --yes --non-interactive`
4426
- },
4427
4574
  {
4428
4575
  name: "Output result as JSON",
4429
- value: `${packageName} integration accept-terms neon --yes --format=json`
4576
+ value: `${packageName} integration accept-terms neon --format=json`
4430
4577
  }
4431
4578
  ]
4432
4579
  };
@@ -4608,7 +4755,7 @@ var balanceSubcommand = {
4608
4755
  }
4609
4756
  ]
4610
4757
  };
4611
- var updateSubcommand3 = {
4758
+ var updateSubcommand4 = {
4612
4759
  name: "update",
4613
4760
  aliases: [],
4614
4761
  description: "Update a marketplace integration installation (billing plan or which projects can access it). Install, remove, and connect flows are separate (integration add, integration remove, integration-resource, env pull, etc.) \u2014 not part of update. UI-only flows (OAuth in a browser, consent screens, marketplace purchase) may not map one-to-one to a single CLI flag; pass --plan and --authorization-id when the product requires them for billing changes. Any extra fields on the configuration resource that the API exposes but this command PATCH body does not send are not covered until the API and CLI support them.",
@@ -4778,7 +4925,7 @@ var integrationCommand = {
4778
4925
  installationsSubcommand,
4779
4926
  listSubcommand11,
4780
4927
  openSubcommand3,
4781
- updateSubcommand3,
4928
+ updateSubcommand4,
4782
4929
  removeSubcommand9
4783
4930
  ],
4784
4931
  examples: [
@@ -5043,13 +5190,7 @@ var logsCommand = {
5043
5190
  }
5044
5191
  ],
5045
5192
  options: [
5046
- {
5047
- name: "project",
5048
- shorthand: "p",
5049
- type: String,
5050
- deprecated: false,
5051
- description: "Project ID or name (defaults to linked project)"
5052
- },
5193
+ { ...projectOption, shorthand: "p" },
5053
5194
  {
5054
5195
  name: "deployment",
5055
5196
  shorthand: "d",
@@ -7194,11 +7335,8 @@ var addSubcommand11 = {
7194
7335
  options: [
7195
7336
  formatOption,
7196
7337
  {
7197
- name: "project",
7198
- shorthand: null,
7199
- type: String,
7200
- description: "Optional project ID to scope the token to",
7201
- deprecated: false
7338
+ ...projectOption,
7339
+ description: "Optional project ID to scope the token to"
7202
7340
  }
7203
7341
  ],
7204
7342
  examples: [
@@ -7285,6 +7423,68 @@ var telemetryCommand = {
7285
7423
  examples: []
7286
7424
  };
7287
7425
 
7426
+ // src/commands/traces/command.ts
7427
+ var getSubcommand2 = {
7428
+ name: "get",
7429
+ aliases: [],
7430
+ default: true,
7431
+ description: "Fetch a captured trace by request id.",
7432
+ arguments: [{ name: "requestId", required: false }],
7433
+ options: [
7434
+ {
7435
+ name: "json",
7436
+ shorthand: null,
7437
+ type: Boolean,
7438
+ deprecated: false,
7439
+ description: "Print the raw trace JSON to stdout instead of the markdown summary."
7440
+ },
7441
+ {
7442
+ name: "project",
7443
+ shorthand: null,
7444
+ type: String,
7445
+ argument: "NAME|ID",
7446
+ deprecated: false,
7447
+ description: "Project name or id to fetch the trace from (overrides the linked project)."
7448
+ }
7449
+ ],
7450
+ examples: [
7451
+ {
7452
+ name: "Fetch a trace by request id",
7453
+ value: `${packageName} traces get req_1234567890`
7454
+ },
7455
+ {
7456
+ name: "Print the raw trace JSON",
7457
+ value: `${packageName} traces get req_1234567890 --json`
7458
+ },
7459
+ {
7460
+ name: "`get` is the default \u2014 this is equivalent to the above",
7461
+ value: `${packageName} traces req_1234567890`
7462
+ },
7463
+ {
7464
+ name: "Fetch a trace from a specific team and project",
7465
+ value: `${packageName} traces get req_1234567890 --scope my-team --project my-app`
7466
+ }
7467
+ ]
7468
+ };
7469
+ var tracesCommand = {
7470
+ name: "traces",
7471
+ aliases: [],
7472
+ description: "Fetch traces captured for a Vercel project.",
7473
+ arguments: [{ name: "requestId", required: false }],
7474
+ subcommands: [getSubcommand2],
7475
+ options: [],
7476
+ examples: [
7477
+ {
7478
+ name: "Fetch a trace by request id",
7479
+ value: `${packageName} traces get req_1234567890`
7480
+ },
7481
+ {
7482
+ name: "Print the raw trace JSON",
7483
+ value: `${packageName} traces get req_1234567890 --json`
7484
+ }
7485
+ ]
7486
+ };
7487
+
7288
7488
  // src/commands/upgrade/command.ts
7289
7489
  var upgradeCommand = {
7290
7490
  name: "upgrade",
@@ -7299,6 +7499,20 @@ var upgradeCommand = {
7299
7499
  deprecated: false,
7300
7500
  description: "Show the upgrade command without executing it"
7301
7501
  },
7502
+ {
7503
+ name: "enable-auto",
7504
+ shorthand: null,
7505
+ type: Boolean,
7506
+ deprecated: false,
7507
+ description: "Enable automatic CLI updates for future releases"
7508
+ },
7509
+ {
7510
+ name: "disable-auto",
7511
+ shorthand: null,
7512
+ type: Boolean,
7513
+ deprecated: false,
7514
+ description: "Disable automatic CLI updates"
7515
+ },
7302
7516
  {
7303
7517
  ...formatOption,
7304
7518
  description: "Specify the output format (json) - implies --dry-run"
@@ -7314,6 +7528,10 @@ var upgradeCommand = {
7314
7528
  name: "Show the upgrade command without running it",
7315
7529
  value: `${packageName} upgrade --dry-run`
7316
7530
  },
7531
+ {
7532
+ name: "Enable automatic CLI updates",
7533
+ value: `${packageName} upgrade --enable-auto`
7534
+ },
7317
7535
  {
7318
7536
  name: "Get upgrade information as JSON",
7319
7537
  value: `${packageName} upgrade --format=json`
@@ -7607,7 +7825,7 @@ var copySubcommand = {
7607
7825
  ],
7608
7826
  examples: []
7609
7827
  };
7610
- var getSubcommand2 = {
7828
+ var getSubcommand3 = {
7611
7829
  name: "get",
7612
7830
  aliases: [],
7613
7831
  description: "Download a blob by URL or pathname",
@@ -7814,7 +8032,7 @@ var blobCommand = {
7814
8032
  subcommands: [
7815
8033
  listSubcommand17,
7816
8034
  putSubcommand,
7817
- getSubcommand2,
8035
+ getSubcommand3,
7818
8036
  delSubcommand,
7819
8037
  copySubcommand,
7820
8038
  createStoreSubcommand,
@@ -7831,6 +8049,22 @@ var blobCommand = {
7831
8049
  deprecated: false,
7832
8050
  description: "Read_Write_Token for the Blob store",
7833
8051
  argument: "String"
8052
+ },
8053
+ {
8054
+ name: "oidc-token",
8055
+ shorthand: null,
8056
+ type: String,
8057
+ deprecated: false,
8058
+ description: "OIDC token for the Blob store (must be passed together with --store-id)",
8059
+ argument: "String"
8060
+ },
8061
+ {
8062
+ name: "store-id",
8063
+ shorthand: null,
8064
+ type: String,
8065
+ deprecated: false,
8066
+ description: 'Blob store id, with or without the "store_" prefix (must be passed together with --oidc-token)',
8067
+ argument: "String"
7834
8068
  }
7835
8069
  ],
7836
8070
  examples: []
@@ -7851,7 +8085,7 @@ var listSubcommand18 = {
7851
8085
  }
7852
8086
  ]
7853
8087
  };
7854
- var getSubcommand3 = {
8088
+ var getSubcommand4 = {
7855
8089
  name: "get",
7856
8090
  aliases: ["inspect"],
7857
8091
  description: "Displays information related to a webhook",
@@ -7924,7 +8158,7 @@ var webhooksCommand = {
7924
8158
  arguments: [],
7925
8159
  subcommands: [
7926
8160
  listSubcommand18,
7927
- getSubcommand3,
8161
+ getSubcommand4,
7928
8162
  createSubcommand5,
7929
8163
  removeSubcommand15
7930
8164
  ],
@@ -7989,6 +8223,7 @@ var commandsStructs = [
7989
8223
  teamsCommand,
7990
8224
  tokensCommand,
7991
8225
  telemetryCommand,
8226
+ tracesCommand,
7992
8227
  upgradeCommand,
7993
8228
  webhooksCommand,
7994
8229
  usageCommand,
@@ -8052,6 +8287,7 @@ export {
8052
8287
  addSubcommand2 as addSubcommand,
8053
8288
  certsCommand,
8054
8289
  createSubcommand2,
8290
+ updateSubcommand,
8055
8291
  listSubcommand4,
8056
8292
  removeSubcommand3,
8057
8293
  tokenSubcommand,
@@ -8090,7 +8326,7 @@ export {
8090
8326
  listSubcommand9,
8091
8327
  addSubcommand6 as addSubcommand5,
8092
8328
  getSubcommand,
8093
- updateSubcommand,
8329
+ updateSubcommand2,
8094
8330
  removeSubcommand7,
8095
8331
  itemsSubcommand,
8096
8332
  tokensSubcommand,
@@ -8127,8 +8363,9 @@ export {
8127
8363
  inspectSubcommand2,
8128
8364
  createSubcommand4,
8129
8365
  openSubcommand2,
8130
- updateSubcommand2,
8366
+ updateSubcommand3,
8131
8367
  setSubcommand2,
8368
+ splitSubcommand,
8132
8369
  rolloutSubcommand,
8133
8370
  removeSubcommand8,
8134
8371
  archiveSubcommand,
@@ -8158,7 +8395,7 @@ export {
8158
8395
  listSubcommand11,
8159
8396
  discoverSubcommand,
8160
8397
  balanceSubcommand,
8161
- updateSubcommand3,
8398
+ updateSubcommand4,
8162
8399
  removeSubcommand9,
8163
8400
  guideSubcommand,
8164
8401
  integrationCommand,
@@ -8245,6 +8482,8 @@ export {
8245
8482
  flushSubcommand,
8246
8483
  disableSubcommand3,
8247
8484
  telemetryCommand,
8485
+ getSubcommand2,
8486
+ tracesCommand,
8248
8487
  upgradeCommand,
8249
8488
  usageCommand,
8250
8489
  whoamiCommand,
@@ -8252,7 +8491,7 @@ export {
8252
8491
  putSubcommand,
8253
8492
  delSubcommand,
8254
8493
  copySubcommand,
8255
- getSubcommand2,
8494
+ getSubcommand3,
8256
8495
  addStoreSubcommand,
8257
8496
  removeStoreSubcommand,
8258
8497
  getStoreSubcommand,
@@ -8263,7 +8502,7 @@ export {
8263
8502
  listStoresSubcommand,
8264
8503
  blobCommand,
8265
8504
  listSubcommand18,
8266
- getSubcommand3,
8505
+ getSubcommand4,
8267
8506
  createSubcommand5,
8268
8507
  removeSubcommand15,
8269
8508
  webhooksCommand,
@@ -20,6 +20,7 @@ var AGENT_REASON = {
20
20
  PROJECT_SETTINGS_REQUIRED: "project_settings_required",
21
21
  NOT_LINKED: "not_linked",
22
22
  NOT_FOUND: "not_found",
23
+ PROJECT_NOT_FOUND: "project_not_found",
23
24
  MISSING_SCOPE: "missing_scope",
24
25
  API_ERROR: "api_error",
25
26
  // Env