vercel 54.0.0 → 54.2.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 (79) hide show
  1. package/dist/chunks/{add-FEHGU5ZE.js → add-FAIIANHS.js} +11 -9
  2. package/dist/chunks/{chunk-4I5SPKXV.js → chunk-23UWSHRQ.js} +313 -73
  3. package/dist/chunks/{chunk-DVV42VA6.js → chunk-2DFWEDF7.js} +2 -2
  4. package/dist/chunks/{chunk-OLJ6HISC.js → chunk-2OASKDFC.js} +3 -3
  5. package/dist/chunks/{chunk-P5NASM3L.js → chunk-4GQQJY5Y.js} +1 -1
  6. package/dist/chunks/{chunk-S6EMI466.js → chunk-4PSOOFYO.js} +2 -2
  7. package/dist/chunks/{chunk-3CBPQ6CA.js → chunk-76ZNZKIN.js} +1 -3
  8. package/dist/chunks/{chunk-Q5MHVELE.js → chunk-CQANJIEC.js} +2 -2
  9. package/dist/chunks/{chunk-MUBKPS2Z.js → chunk-DIWRR5Y4.js} +1 -1
  10. package/dist/chunks/{chunk-5GZAC4CI.js → chunk-DKD6GTQT.js} +1 -1
  11. package/dist/chunks/{chunk-VOXVKDJQ.js → chunk-DP5346AR.js} +4 -4
  12. package/dist/chunks/{chunk-DIOSHJ4H.js → chunk-E32QX22S.js} +98 -64
  13. package/dist/chunks/{chunk-KAC4IO5S.js → chunk-FKUVFVT2.js} +10847 -13491
  14. package/dist/chunks/{chunk-S62XC5XL.js → chunk-H7ZZXKJ2.js} +5 -5
  15. package/dist/chunks/{chunk-2GC2GW2H.js → chunk-IFATV36R.js} +2 -2
  16. package/dist/chunks/{chunk-OGWD7VBC.js → chunk-ISJJTUJZ.js} +2 -2
  17. package/dist/chunks/{chunk-DXZ5RVOC.js → chunk-IYP3534A.js} +7 -7
  18. package/dist/chunks/{chunk-TEDMSWBX.js → chunk-J7RPHYNB.js} +2 -2
  19. package/dist/chunks/{chunk-U5GMPX5T.js → chunk-JFVGRFME.js} +2 -2
  20. package/dist/chunks/{chunk-3XU5UGVN.js → chunk-JFWE5ORG.js} +2 -2
  21. package/dist/chunks/{chunk-JWN6JMVY.js → chunk-JQ7RG6JF.js} +2 -2
  22. package/dist/chunks/{chunk-4OEA5ILS.js → chunk-KSMF2UFR.js} +14 -0
  23. package/dist/chunks/chunk-N2T234LO.js +3144 -0
  24. package/dist/chunks/{chunk-F6MUOB5B.js → chunk-N733ZD4W.js} +1 -1
  25. package/dist/chunks/{chunk-23SNIB7J.js → chunk-NYJXGEIR.js} +1 -1
  26. package/dist/chunks/{chunk-LANWQ2NA.js → chunk-O2NXGZCW.js} +424 -2730
  27. package/dist/chunks/chunk-P4QNYOFB.js +96 -0
  28. package/dist/chunks/{chunk-MEAUBEGT.js → chunk-QAA3JVFJ.js} +3 -3
  29. package/dist/chunks/{chunk-TTEDSKHO.js → chunk-QEYYWOB4.js} +4 -4
  30. package/dist/chunks/{chunk-Y6X3VMO3.js → chunk-QH5Q2B4F.js} +1 -1
  31. package/dist/chunks/{chunk-GWM32SE3.js → chunk-TWVG3QHM.js} +3 -3
  32. package/dist/chunks/{chunk-MWQHQ7FW.js → chunk-TZMIHH5D.js} +3 -3
  33. package/dist/chunks/{chunk-4XB5UFP4.js → chunk-UGXBNJMO.js} +3 -98
  34. package/dist/chunks/{chunk-V6BFG564.js → chunk-ULXHXZCZ.js} +1 -1
  35. package/dist/chunks/{chunk-4WPY4WO3.js → chunk-VKQT3HCH.js} +10 -8
  36. package/dist/chunks/{chunk-NVV6BWQP.js → chunk-XVAEOG4L.js} +2 -2
  37. package/dist/chunks/{chunk-MXSNLYVL.js → chunk-YE6OHHJA.js} +487 -9
  38. package/dist/chunks/{chunk-4243WWHE.js → chunk-YNHUUJTK.js} +4 -4
  39. package/dist/chunks/{chunk-4UJDQ2WM.js → chunk-ZA4ZUW7G.js} +2 -2
  40. package/dist/chunks/{chunk-NQQWZYTY.js → chunk-ZAAKSLHC.js} +2 -2
  41. package/dist/chunks/{chunk-AH6RCY4L.js → chunk-ZFEECTPC.js} +1 -1
  42. package/dist/chunks/{chunk-GRPLZLEB.js → chunk-ZINNI4TC.js} +1 -1
  43. package/dist/chunks/cjs-DV4RM7XU.js +20743 -0
  44. package/dist/chunks/{compile-vercel-config-SGZPQDRN.js → compile-vercel-config-7TPMRTKM.js} +7 -5
  45. package/dist/chunks/constants-3FSSR6E7.js +13 -0
  46. package/dist/chunks/{delete-WMHTTHG3.js → delete-MVQKJDRS.js} +9 -7
  47. package/dist/chunks/{disable-QBDO6UIV.js → disable-YRONTYDS.js} +9 -7
  48. package/dist/chunks/{discard-GZZ553AR.js → discard-UM7Y2PMF.js} +9 -7
  49. package/dist/chunks/{edit-H2BF2MZY.js → edit-PHXJMLL2.js} +11 -9
  50. package/dist/chunks/{enable-YYWIMKHP.js → enable-D26FR2VL.js} +9 -7
  51. package/dist/chunks/exec-5MN7VTSE.js +1368 -0
  52. package/dist/chunks/{export-D3XBBQZD.js → export-YLMQTP7Y.js} +9 -7
  53. package/dist/chunks/{inspect-LUCGK7HU.js → inspect-SJTJNJVL.js} +11 -9
  54. package/dist/chunks/{list-EGJ7X43H.js → list-6OV7HAO4.js} +9 -7
  55. package/dist/chunks/{list-WV3JSWCB.js → list-XGSNQW5B.js} +14 -12
  56. package/dist/chunks/{ls-DXRXKG6Q.js → ls-THDT5E4M.js} +11 -9
  57. package/dist/chunks/pkg-56KRLZ5K.js +13 -0
  58. package/dist/chunks/{publish-LW57QZ56.js → publish-NPM5RPLV.js} +9 -7
  59. package/dist/chunks/{query-AQSXA32P.js → query-QP5JLBXI.js} +13 -11
  60. package/dist/chunks/{reorder-YJGPY7SA.js → reorder-573FHW5Z.js} +9 -7
  61. package/dist/chunks/{restore-VANQDIFO.js → restore-H65BVJFL.js} +9 -7
  62. package/dist/chunks/{rm-GNY6PA2Z.js → rm-MOVL4G2Y.js} +11 -9
  63. package/dist/chunks/{routes-2YVMQEPC.js → routes-I74KWX7Q.js} +2 -2
  64. package/dist/chunks/{rule-inspect-EECXOMPN.js → rule-inspect-33M2FHDU.js} +11 -9
  65. package/dist/chunks/{rules-G2VMMW7U.js → rules-KVSJYT5T.js} +9 -8
  66. package/dist/chunks/{schema-4TUQAXX6.js → schema-MXM7Z52O.js} +12 -10
  67. package/dist/chunks/{types-54VLSVRV.js → types-QAT6PCGL.js} +5 -4
  68. package/dist/chunks/{update-GSE7WNBV.js → update-CSKHHR3E.js} +11 -9
  69. package/dist/commands/build/index.js +58 -33
  70. package/dist/commands/deploy/index.js +67 -54
  71. package/dist/commands/dev/index.js +80 -40
  72. package/dist/commands/env/index.js +21 -19
  73. package/dist/commands/link/index.js +22 -20
  74. package/dist/commands/list/index.js +15 -13
  75. package/dist/commands-bulk.js +2835 -1569
  76. package/dist/help.js +1 -1
  77. package/dist/index.js +325 -22779
  78. package/dist/version.mjs +1 -1
  79. package/package.json +32 -27
@@ -4,31 +4,31 @@ import { dirname as __dirname_ } from 'node:path';
4
4
  const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
+ import {
8
+ metricsCommand
9
+ } from "./chunk-IFATV36R.js";
7
10
  import {
8
11
  routesCommand
9
- } from "./chunk-U5GMPX5T.js";
12
+ } from "./chunk-JFVGRFME.js";
10
13
  import {
11
- metricsCommand
12
- } from "./chunk-2GC2GW2H.js";
14
+ alertsCommand
15
+ } from "./chunk-TZMIHH5D.js";
13
16
  import {
14
17
  devCommand
15
- } from "./chunk-NQQWZYTY.js";
18
+ } from "./chunk-ZAAKSLHC.js";
16
19
  import {
17
20
  activityCommand
18
- } from "./chunk-Q5MHVELE.js";
19
- import {
20
- alertsCommand
21
- } from "./chunk-MWQHQ7FW.js";
21
+ } from "./chunk-CQANJIEC.js";
22
22
  import {
23
23
  listCommand
24
- } from "./chunk-S6EMI466.js";
24
+ } from "./chunk-4PSOOFYO.js";
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-OLJ6HISC.js";
28
+ } from "./chunk-2OASKDFC.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-KAC4IO5S.js";
31
+ } from "./chunk-FKUVFVT2.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -37,10 +37,10 @@ import {
37
37
  limitOption,
38
38
  nextOption,
39
39
  yesOption
40
- } from "./chunk-P5NASM3L.js";
40
+ } from "./chunk-4GQQJY5Y.js";
41
41
  import {
42
42
  packageName
43
- } from "./chunk-4XB5UFP4.js";
43
+ } from "./chunk-UGXBNJMO.js";
44
44
  import {
45
45
  output_manager_default
46
46
  } from "./chunk-ZQKJVHXY.js";
@@ -1328,7 +1328,7 @@ var certsCommand = {
1328
1328
  var createSubcommand2 = {
1329
1329
  name: "create",
1330
1330
  aliases: [],
1331
- description: "Create a new Connex connector",
1331
+ description: "Create a new connector",
1332
1332
  arguments: [
1333
1333
  {
1334
1334
  name: "type",
@@ -1342,7 +1342,7 @@ var createSubcommand2 = {
1342
1342
  type: String,
1343
1343
  argument: "NAME",
1344
1344
  deprecated: false,
1345
- description: "Name of the Connex connector"
1345
+ description: "Name of the connector"
1346
1346
  },
1347
1347
  {
1348
1348
  name: "triggers",
@@ -1351,31 +1351,111 @@ 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: [
1357
1381
  {
1358
1382
  name: "Create a Slack app",
1359
- value: `${packageName} connex create slack`
1383
+ value: `${packageName} connect create slack`
1360
1384
  },
1361
1385
  {
1362
1386
  name: "Create with a custom name",
1363
- value: `${packageName} connex create slack --name my-bot`
1387
+ value: `${packageName} connect create slack --name my-bot`
1364
1388
  },
1365
1389
  {
1366
1390
  name: "Create with webhook triggers enabled",
1367
- value: `${packageName} connex create slack --name my-bot --triggers`
1391
+ value: `${packageName} connect create slack --name my-bot --triggers`
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
+ },
1397
+ {
1398
+ name: "Output as JSON",
1399
+ value: `${packageName} connect create slack --format=json`
1400
+ }
1401
+ ]
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'`
1368
1448
  },
1369
1449
  {
1370
1450
  name: "Output as JSON",
1371
- value: `${packageName} connex create slack --format=json`
1451
+ value: `${packageName} connect update scl_abc123 --icon ./logo.png --format=json`
1372
1452
  }
1373
1453
  ]
1374
1454
  };
1375
1455
  var listSubcommand4 = {
1376
1456
  name: "list",
1377
1457
  aliases: ["ls"],
1378
- description: "List Connex 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)",
1458
+ 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)",
1379
1459
  arguments: [],
1380
1460
  options: [
1381
1461
  {
@@ -1383,7 +1463,7 @@ var listSubcommand4 = {
1383
1463
  shorthand: null,
1384
1464
  type: Boolean,
1385
1465
  deprecated: false,
1386
- description: "List every Connex connector in the team, regardless of project link"
1466
+ description: "List every connector in the team, regardless of project link"
1387
1467
  },
1388
1468
  {
1389
1469
  name: "limit",
@@ -1405,31 +1485,31 @@ var listSubcommand4 = {
1405
1485
  ],
1406
1486
  examples: [
1407
1487
  {
1408
- name: "List Connex connectors linked to the current project",
1409
- value: `${packageName} connex list`
1488
+ name: "List connectors linked to the current project",
1489
+ value: `${packageName} connect list`
1410
1490
  },
1411
1491
  {
1412
- name: "List every Connex connector in the team",
1413
- value: `${packageName} connex list --all-projects`
1492
+ name: "List every connector in the team",
1493
+ value: `${packageName} connect list --all-projects`
1414
1494
  },
1415
1495
  {
1416
1496
  name: "Limit the number of results",
1417
- value: `${packageName} connex list --limit 10`
1497
+ value: `${packageName} connect list --limit 10`
1418
1498
  },
1419
1499
  {
1420
1500
  name: "Fetch the next page of results",
1421
- value: `${packageName} connex list --next <cursor>`
1501
+ value: `${packageName} connect list --next <cursor>`
1422
1502
  },
1423
1503
  {
1424
1504
  name: "Output as JSON",
1425
- value: `${packageName} connex list --format=json`
1505
+ value: `${packageName} connect list --format=json`
1426
1506
  }
1427
1507
  ]
1428
1508
  };
1429
1509
  var removeSubcommand3 = {
1430
1510
  name: "remove",
1431
1511
  aliases: ["rm"],
1432
- description: "Delete a Connex connector",
1512
+ description: "Delete a connector",
1433
1513
  arguments: [
1434
1514
  {
1435
1515
  name: "client",
@@ -1452,34 +1532,34 @@ var removeSubcommand3 = {
1452
1532
  ],
1453
1533
  examples: [
1454
1534
  {
1455
- name: "Delete a Connex connector by ID",
1456
- value: `${packageName} connex remove scl_abc123`
1535
+ name: "Delete a connector by ID",
1536
+ value: `${packageName} connect remove scl_abc123`
1457
1537
  },
1458
1538
  {
1459
- name: "Delete a Connex connector by UID",
1460
- value: `${packageName} connex remove slack/my-bot`
1539
+ name: "Delete a connector by UID",
1540
+ value: `${packageName} connect remove slack/my-bot`
1461
1541
  },
1462
1542
  {
1463
1543
  name: "Disconnect all projects from a connector, then delete it",
1464
1544
  value: [
1465
- `${packageName} connex remove scl_abc123 --disconnect-all`,
1466
- `${packageName} connex remove slack/my-bot -a`
1545
+ `${packageName} connect remove scl_abc123 --disconnect-all`,
1546
+ `${packageName} connect remove slack/my-bot -a`
1467
1547
  ]
1468
1548
  },
1469
1549
  {
1470
1550
  name: "Skip the confirmation prompt",
1471
- value: `${packageName} connex remove scl_abc123 --yes`
1551
+ value: `${packageName} connect remove scl_abc123 --yes`
1472
1552
  },
1473
1553
  {
1474
1554
  name: "Output as JSON",
1475
- value: `${packageName} connex remove scl_abc123 --format=json --yes`
1555
+ value: `${packageName} connect remove scl_abc123 --format=json --yes`
1476
1556
  }
1477
1557
  ]
1478
1558
  };
1479
1559
  var tokenSubcommand = {
1480
1560
  name: "token",
1481
1561
  aliases: [],
1482
- description: "Get a token for a Connex connector (accepts a connector ID like scl_abc or a UID like slack/my-bot)",
1562
+ description: "Get a token for a connector (accepts a connector ID like scl_abc or a UID like slack/my-bot)",
1483
1563
  arguments: [
1484
1564
  {
1485
1565
  name: "id",
@@ -1517,34 +1597,34 @@ var tokenSubcommand = {
1517
1597
  examples: [
1518
1598
  {
1519
1599
  name: "Get a user token by connector ID",
1520
- value: `${packageName} connex token scl_abc123`
1600
+ value: `${packageName} connect token scl_abc123`
1521
1601
  },
1522
1602
  {
1523
1603
  name: "Get a token by connector UID",
1524
- value: `${packageName} connex token slack/my-bot`
1604
+ value: `${packageName} connect token slack/my-bot`
1525
1605
  },
1526
1606
  {
1527
1607
  name: "Get an app token (default installation)",
1528
- value: `${packageName} connex token scl_abc123 --subject app`
1608
+ value: `${packageName} connect token scl_abc123 --subject app`
1529
1609
  },
1530
1610
  {
1531
1611
  name: "Get an app token for a specific installation",
1532
- value: `${packageName} connex token scl_abc123 --subject app --installation-id inst_1`
1612
+ value: `${packageName} connect token scl_abc123 --subject app --installation-id inst_1`
1533
1613
  },
1534
1614
  {
1535
1615
  name: "Open the browser automatically if authorization/installation is required",
1536
- value: `${packageName} connex token scl_abc123 --yes`
1616
+ value: `${packageName} connect token scl_abc123 --yes`
1537
1617
  },
1538
1618
  {
1539
1619
  name: "Output as JSON (includes expiresAt, installationId, etc.)",
1540
- value: `${packageName} connex token scl_abc123 --format=json`
1620
+ value: `${packageName} connect token scl_abc123 --format=json`
1541
1621
  }
1542
1622
  ]
1543
1623
  };
1544
1624
  var openSubcommand = {
1545
1625
  name: "open",
1546
1626
  aliases: [],
1547
- description: "Open a Connex connector in the Vercel dashboard",
1627
+ description: "Open a connector in the Vercel dashboard",
1548
1628
  arguments: [
1549
1629
  {
1550
1630
  name: "id",
@@ -1555,22 +1635,22 @@ var openSubcommand = {
1555
1635
  examples: [
1556
1636
  {
1557
1637
  name: "Open a connector by ID",
1558
- value: `${packageName} connex open scl_abc123`
1638
+ value: `${packageName} connect open scl_abc123`
1559
1639
  },
1560
1640
  {
1561
1641
  name: "Open a connector by UID",
1562
- value: `${packageName} connex open slack/my-bot`
1642
+ value: `${packageName} connect open slack/my-bot`
1563
1643
  },
1564
1644
  {
1565
1645
  name: "Print the dashboard URL as JSON",
1566
- value: `${packageName} connex open scl_abc123 --format=json`
1646
+ value: `${packageName} connect open scl_abc123 --format=json`
1567
1647
  }
1568
1648
  ]
1569
1649
  };
1570
1650
  var attachSubcommand = {
1571
1651
  name: "attach",
1572
1652
  aliases: [],
1573
- description: "Attach a Vercel project to a Connex connector for one or more environments",
1653
+ description: "Attach a Vercel project to a connector for one or more environments",
1574
1654
  arguments: [
1575
1655
  {
1576
1656
  name: "client",
@@ -1594,6 +1674,29 @@ var attachSubcommand = {
1594
1674
  deprecated: false,
1595
1675
  description: "Project name or ID (default: current linked project)"
1596
1676
  },
1677
+ {
1678
+ name: "triggers",
1679
+ shorthand: null,
1680
+ type: Boolean,
1681
+ deprecated: false,
1682
+ description: "Also register this project as a trigger destination so the connector forwards verified webhooks to it (max 3 destinations per connector)"
1683
+ },
1684
+ {
1685
+ name: "trigger-branch",
1686
+ shorthand: null,
1687
+ type: String,
1688
+ argument: "BRANCH",
1689
+ deprecated: false,
1690
+ description: "Target a specific git branch for the trigger destination (default: production). Only valid with --triggers."
1691
+ },
1692
+ {
1693
+ name: "trigger-path",
1694
+ shorthand: null,
1695
+ type: String,
1696
+ argument: "PATH",
1697
+ deprecated: false,
1698
+ description: "Path on the destination project that receives the forwarded webhook (default: /{service}). Only valid with --triggers."
1699
+ },
1597
1700
  {
1598
1701
  ...yesOption,
1599
1702
  description: "Skip the confirmation prompt"
@@ -1603,56 +1706,106 @@ var attachSubcommand = {
1603
1706
  examples: [
1604
1707
  {
1605
1708
  name: "Attach the current project to a connector for all environments",
1606
- value: `${packageName} connex attach scl_abc123`
1709
+ value: `${packageName} connect attach scl_abc123`
1607
1710
  },
1608
1711
  {
1609
1712
  name: "Restrict to specific environments",
1610
- value: `${packageName} connex attach scl_abc123 -e production -e preview`
1713
+ value: `${packageName} connect attach scl_abc123 -e production -e preview`
1611
1714
  },
1612
1715
  {
1613
1716
  name: "Attach a different project by name",
1614
- value: `${packageName} connex attach slack/my-bot --project my-app`
1717
+ value: `${packageName} connect attach slack/my-bot --project my-app`
1718
+ },
1719
+ {
1720
+ name: "Attach and register the project as a trigger destination",
1721
+ value: `${packageName} connect attach scl_abc123 --triggers`
1722
+ },
1723
+ {
1724
+ name: "Attach and register a preview-branch trigger destination",
1725
+ value: `${packageName} connect attach scl_abc123 --triggers --trigger-branch staging --trigger-path /slack`
1726
+ },
1727
+ {
1728
+ name: "Non-interactive output as JSON",
1729
+ value: `${packageName} connect attach scl_abc123 --yes --format=json`
1730
+ }
1731
+ ]
1732
+ };
1733
+ var detachSubcommand = {
1734
+ name: "detach",
1735
+ aliases: [],
1736
+ description: "Detach a Vercel project from a connector",
1737
+ arguments: [
1738
+ {
1739
+ name: "client",
1740
+ required: true
1741
+ }
1742
+ ],
1743
+ options: [
1744
+ {
1745
+ name: "project",
1746
+ shorthand: "p",
1747
+ type: String,
1748
+ argument: "NAME_OR_ID",
1749
+ deprecated: false,
1750
+ description: "Project name or ID (default: current linked project)"
1751
+ },
1752
+ {
1753
+ ...yesOption,
1754
+ description: "Skip the confirmation prompt"
1755
+ },
1756
+ formatOption
1757
+ ],
1758
+ examples: [
1759
+ {
1760
+ name: "Detach the current project from a connector",
1761
+ value: `${packageName} connect detach scl_abc123`
1762
+ },
1763
+ {
1764
+ name: "Detach a different project by name",
1765
+ value: `${packageName} connect detach slack/my-bot --project my-app`
1615
1766
  },
1616
1767
  {
1617
1768
  name: "Non-interactive output as JSON",
1618
- value: `${packageName} connex attach scl_abc123 --yes --format=json`
1769
+ value: `${packageName} connect detach scl_abc123 --yes --format=json`
1619
1770
  }
1620
1771
  ]
1621
1772
  };
1622
1773
  var connexCommand = {
1623
- name: "connex",
1774
+ name: "connect",
1624
1775
  aliases: [],
1625
- description: "Manage Vercel Connect connectors",
1776
+ description: "Manage connectors (Beta).\n\nVercel Connect is currently in beta. Behavior, commands, and output may change before general availability.",
1626
1777
  arguments: [],
1627
1778
  options: [],
1628
1779
  subcommands: [
1629
1780
  createSubcommand2,
1781
+ updateSubcommand,
1630
1782
  listSubcommand4,
1631
1783
  tokenSubcommand,
1632
1784
  attachSubcommand,
1785
+ detachSubcommand,
1633
1786
  removeSubcommand3,
1634
1787
  openSubcommand
1635
1788
  ],
1636
1789
  examples: [
1637
1790
  {
1638
1791
  name: "Create a Slack app",
1639
- value: `${packageName} connex create slack`
1792
+ value: `${packageName} connect create slack`
1640
1793
  },
1641
1794
  {
1642
- name: "List Connex connectors on the current team",
1643
- value: `${packageName} connex list`
1795
+ name: "List connectors on the current team",
1796
+ value: `${packageName} connect list`
1644
1797
  },
1645
1798
  {
1646
1799
  name: "Get a token",
1647
- value: `${packageName} connex token scl_abc123`
1800
+ value: `${packageName} connect token scl_abc123`
1648
1801
  },
1649
1802
  {
1650
1803
  name: "Attach the current project to a connector",
1651
- value: `${packageName} connex attach scl_abc123`
1804
+ value: `${packageName} connect attach scl_abc123`
1652
1805
  },
1653
1806
  {
1654
1807
  name: "Open a connector in the dashboard",
1655
- value: `${packageName} connex open scl_abc123`
1808
+ value: `${packageName} connect open scl_abc123`
1656
1809
  }
1657
1810
  ]
1658
1811
  };
@@ -2253,7 +2406,7 @@ var getSubcommand = {
2253
2406
  options: [formatOption],
2254
2407
  examples: []
2255
2408
  };
2256
- var updateSubcommand = {
2409
+ var updateSubcommand2 = {
2257
2410
  name: "update",
2258
2411
  aliases: [],
2259
2412
  description: "Rename an Edge Config (`--slug`) and/or patch items (`--patch` JSON)",
@@ -2361,7 +2514,7 @@ var edgeConfigCommand = {
2361
2514
  listSubcommand9,
2362
2515
  addSubcommand6,
2363
2516
  getSubcommand,
2364
- updateSubcommand,
2517
+ updateSubcommand2,
2365
2518
  removeSubcommand7,
2366
2519
  itemsSubcommand,
2367
2520
  tokensSubcommand
@@ -3392,7 +3545,7 @@ var openSubcommand2 = {
3392
3545
  }
3393
3546
  ]
3394
3547
  };
3395
- var updateSubcommand2 = {
3548
+ var updateSubcommand3 = {
3396
3549
  name: "update",
3397
3550
  aliases: [],
3398
3551
  description: "Update an existing feature flag",
@@ -3502,6 +3655,73 @@ var setSubcommand2 = {
3502
3655
  }
3503
3656
  ]
3504
3657
  };
3658
+ var splitSubcommand = {
3659
+ name: "split",
3660
+ aliases: [],
3661
+ description: "Configure a weighted split for a feature flag in an environment",
3662
+ arguments: [
3663
+ {
3664
+ name: "flag",
3665
+ required: true
3666
+ }
3667
+ ],
3668
+ options: [
3669
+ {
3670
+ name: "environment",
3671
+ shorthand: "e",
3672
+ type: String,
3673
+ deprecated: false,
3674
+ description: "The environment to configure (production, preview, or development)",
3675
+ argument: "ENV"
3676
+ },
3677
+ {
3678
+ name: "by",
3679
+ shorthand: null,
3680
+ type: String,
3681
+ deprecated: false,
3682
+ description: "Entity attribute used for bucketing, in the form entity.attribute",
3683
+ argument: "ENTITY.ATTRIBUTE"
3684
+ },
3685
+ {
3686
+ name: "weight",
3687
+ shorthand: "w",
3688
+ type: [String],
3689
+ deprecated: false,
3690
+ description: "Variant weight ratio as VARIANT=WEIGHT. Repeat for each variant; values are normalized and 0 receives no traffic.",
3691
+ argument: "VARIANT=WEIGHT"
3692
+ },
3693
+ {
3694
+ name: "default-variant",
3695
+ shorthand: null,
3696
+ type: String,
3697
+ deprecated: false,
3698
+ description: "The fallback variant to serve when the split attribute is unavailable",
3699
+ argument: "VARIANT"
3700
+ },
3701
+ {
3702
+ name: "message",
3703
+ shorthand: null,
3704
+ type: String,
3705
+ deprecated: false,
3706
+ description: "Optional revision message for the update",
3707
+ argument: "TEXT"
3708
+ }
3709
+ ],
3710
+ examples: [
3711
+ {
3712
+ name: "Split a boolean flag in production",
3713
+ value: `${packageName} flags split redesigned-checkout --environment production --by user.userId --weight off=95 --weight on=5`
3714
+ },
3715
+ {
3716
+ name: "Split a string flag with a fallback variant",
3717
+ value: `${packageName} flags split welcome-message -e production --by user.userId --default-variant control --weight control=90 --weight treatment=10`
3718
+ },
3719
+ {
3720
+ name: "Exclude a variant from the split",
3721
+ value: `${packageName} flags split checkout-copy -e preview --by user.userId --default-variant control --weight control=50 --weight treatment=50 --weight legacy=0`
3722
+ }
3723
+ ]
3724
+ };
3505
3725
  var rolloutSubcommand = {
3506
3726
  name: "rollout",
3507
3727
  aliases: [],
@@ -3909,8 +4129,9 @@ var flagsCommand = {
3909
4129
  inspectSubcommand2,
3910
4130
  createSubcommand4,
3911
4131
  openSubcommand2,
3912
- updateSubcommand2,
4132
+ updateSubcommand3,
3913
4133
  setSubcommand2,
4134
+ splitSubcommand,
3914
4135
  rolloutSubcommand,
3915
4136
  removeSubcommand8,
3916
4137
  archiveSubcommand,
@@ -4536,7 +4757,7 @@ var balanceSubcommand = {
4536
4757
  }
4537
4758
  ]
4538
4759
  };
4539
- var updateSubcommand3 = {
4760
+ var updateSubcommand4 = {
4540
4761
  name: "update",
4541
4762
  aliases: [],
4542
4763
  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.",
@@ -4706,7 +4927,7 @@ var integrationCommand = {
4706
4927
  installationsSubcommand,
4707
4928
  listSubcommand11,
4708
4929
  openSubcommand3,
4709
- updateSubcommand3,
4930
+ updateSubcommand4,
4710
4931
  removeSubcommand9
4711
4932
  ],
4712
4933
  examples: [
@@ -7227,6 +7448,20 @@ var upgradeCommand = {
7227
7448
  deprecated: false,
7228
7449
  description: "Show the upgrade command without executing it"
7229
7450
  },
7451
+ {
7452
+ name: "enable-auto",
7453
+ shorthand: null,
7454
+ type: Boolean,
7455
+ deprecated: false,
7456
+ description: "Enable automatic CLI updates for future releases"
7457
+ },
7458
+ {
7459
+ name: "disable-auto",
7460
+ shorthand: null,
7461
+ type: Boolean,
7462
+ deprecated: false,
7463
+ description: "Disable automatic CLI updates"
7464
+ },
7230
7465
  {
7231
7466
  ...formatOption,
7232
7467
  description: "Specify the output format (json) - implies --dry-run"
@@ -7242,6 +7477,10 @@ var upgradeCommand = {
7242
7477
  name: "Show the upgrade command without running it",
7243
7478
  value: `${packageName} upgrade --dry-run`
7244
7479
  },
7480
+ {
7481
+ name: "Enable automatic CLI updates",
7482
+ value: `${packageName} upgrade --enable-auto`
7483
+ },
7245
7484
  {
7246
7485
  name: "Get upgrade information as JSON",
7247
7486
  value: `${packageName} upgrade --format=json`
@@ -7928,9 +8167,7 @@ if (process.env.FF_GUIDANCE_MODE) {
7928
8167
  commandsStructs.push(guidanceCommand);
7929
8168
  }
7930
8169
  commandsStructs.push(metricsCommand);
7931
- if (process.env.FF_CONNEX_ENABLED) {
7932
- commandsStructs.push(connexCommand);
7933
- }
8170
+ commandsStructs.push(connexCommand);
7934
8171
  function getCommandAliases(command) {
7935
8172
  return [command.name].concat(command.aliases);
7936
8173
  }
@@ -7982,11 +8219,13 @@ export {
7982
8219
  addSubcommand2 as addSubcommand,
7983
8220
  certsCommand,
7984
8221
  createSubcommand2,
8222
+ updateSubcommand,
7985
8223
  listSubcommand4,
7986
8224
  removeSubcommand3,
7987
8225
  tokenSubcommand,
7988
8226
  openSubcommand,
7989
8227
  attachSubcommand,
8228
+ detachSubcommand,
7990
8229
  connexCommand,
7991
8230
  contractCommand,
7992
8231
  addSubcommand3 as addSubcommand2,
@@ -8019,7 +8258,7 @@ export {
8019
8258
  listSubcommand9,
8020
8259
  addSubcommand6 as addSubcommand5,
8021
8260
  getSubcommand,
8022
- updateSubcommand,
8261
+ updateSubcommand2,
8023
8262
  removeSubcommand7,
8024
8263
  itemsSubcommand,
8025
8264
  tokensSubcommand,
@@ -8056,8 +8295,9 @@ export {
8056
8295
  inspectSubcommand2,
8057
8296
  createSubcommand4,
8058
8297
  openSubcommand2,
8059
- updateSubcommand2,
8298
+ updateSubcommand3,
8060
8299
  setSubcommand2,
8300
+ splitSubcommand,
8061
8301
  rolloutSubcommand,
8062
8302
  removeSubcommand8,
8063
8303
  archiveSubcommand,
@@ -8087,7 +8327,7 @@ export {
8087
8327
  listSubcommand11,
8088
8328
  discoverSubcommand,
8089
8329
  balanceSubcommand,
8090
- updateSubcommand3,
8330
+ updateSubcommand4,
8091
8331
  removeSubcommand9,
8092
8332
  guideSubcommand,
8093
8333
  integrationCommand,