vercel 53.3.2 → 54.0.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 (68) hide show
  1. package/dist/chunks/{add-3SVEYCYO.js → add-FEHGU5ZE.js} +8 -8
  2. package/dist/chunks/{chunk-X7KU44KR.js → chunk-23SNIB7J.js} +1 -1
  3. package/dist/chunks/{chunk-NIOGCTVR.js → chunk-2GC2GW2H.js} +2 -2
  4. package/dist/chunks/{chunk-WOWCXMTU.js → chunk-3CBPQ6CA.js} +1 -1
  5. package/dist/chunks/{chunk-FVDSS6AL.js → chunk-4243WWHE.js} +4 -4
  6. package/dist/chunks/{chunk-OY4HIPQO.js → chunk-4I5SPKXV.js} +99 -41
  7. package/dist/chunks/{chunk-E4OPPX7M.js → chunk-4UJDQ2WM.js} +2 -2
  8. package/dist/chunks/{chunk-HFCK3QBJ.js → chunk-4WPY4WO3.js} +6 -6
  9. package/dist/chunks/{chunk-EBEBY45K.js → chunk-4XB5UFP4.js} +2 -2
  10. package/dist/chunks/{chunk-KSIISCB2.js → chunk-5GZAC4CI.js} +1 -1
  11. package/dist/chunks/{chunk-K5WXYAUP.js → chunk-AH6RCY4L.js} +1 -1
  12. package/dist/chunks/{chunk-LQOXSEJW.js → chunk-DIOSHJ4H.js} +5 -5
  13. package/dist/chunks/{chunk-NF7HK5MP.js → chunk-DVV42VA6.js} +2 -2
  14. package/dist/chunks/{chunk-E6EUZBB3.js → chunk-DXZ5RVOC.js} +6 -6
  15. package/dist/chunks/{chunk-X32G5X53.js → chunk-F6MUOB5B.js} +1 -1
  16. package/dist/chunks/{chunk-QGLS47RE.js → chunk-GRPLZLEB.js} +1 -1
  17. package/dist/chunks/{chunk-3JREBTWA.js → chunk-GWM32SE3.js} +16 -3
  18. package/dist/chunks/{chunk-U7NBRDCA.js → chunk-JWN6JMVY.js} +2 -2
  19. package/dist/chunks/{chunk-Z2O2S6ZA.js → chunk-KAC4IO5S.js} +483 -62
  20. package/dist/chunks/{chunk-ADLCFLGH.js → chunk-LANWQ2NA.js} +9 -9
  21. package/dist/chunks/{chunk-5V2IIK5P.js → chunk-MEAUBEGT.js} +3 -3
  22. package/dist/chunks/{chunk-3NSIZGHP.js → chunk-MWQHQ7FW.js} +3 -3
  23. package/dist/chunks/{chunk-H2IRGYM2.js → chunk-MXSNLYVL.js} +6 -6
  24. package/dist/chunks/{chunk-HAJ2XRTQ.js → chunk-NQQWZYTY.js} +2 -2
  25. package/dist/chunks/{chunk-JZLADLMF.js → chunk-NVV6BWQP.js} +2 -2
  26. package/dist/chunks/{chunk-P6Z4AGTA.js → chunk-OGWD7VBC.js} +2 -2
  27. package/dist/chunks/{chunk-6ESUYMQ6.js → chunk-OLJ6HISC.js} +3 -3
  28. package/dist/chunks/{chunk-GQLARSTH.js → chunk-P5NASM3L.js} +1 -1
  29. package/dist/chunks/{chunk-GCKUEAUE.js → chunk-Q5MHVELE.js} +2 -2
  30. package/dist/chunks/{chunk-IS56OO2J.js → chunk-S62XC5XL.js} +2 -2
  31. package/dist/chunks/{chunk-ONYQGA2O.js → chunk-S6EMI466.js} +2 -2
  32. package/dist/chunks/{chunk-SIRIGCP6.js → chunk-TEDMSWBX.js} +2 -2
  33. package/dist/chunks/{chunk-435PAKFA.js → chunk-TTEDSKHO.js} +4 -4
  34. package/dist/chunks/{chunk-4LDQIDKG.js → chunk-U5GMPX5T.js} +2 -2
  35. package/dist/chunks/{chunk-AXQNAI65.js → chunk-V6BFG564.js} +1 -1
  36. package/dist/chunks/{chunk-HENJXUSM.js → chunk-VOXVKDJQ.js} +4 -4
  37. package/dist/chunks/{chunk-KSF2MOCF.js → chunk-Y6X3VMO3.js} +1 -1
  38. package/dist/chunks/{compile-vercel-config-LDMZFRM6.js → compile-vercel-config-SGZPQDRN.js} +4 -4
  39. package/dist/chunks/{delete-Y2K2SKOJ.js → delete-WMHTTHG3.js} +6 -6
  40. package/dist/chunks/{disable-P72GFXPO.js → disable-QBDO6UIV.js} +6 -6
  41. package/dist/chunks/{discard-PJICIKZS.js → discard-GZZ553AR.js} +6 -6
  42. package/dist/chunks/{edit-UBF4GZ74.js → edit-H2BF2MZY.js} +7 -7
  43. package/dist/chunks/{enable-WKNZCBBP.js → enable-YYWIMKHP.js} +6 -6
  44. package/dist/chunks/{export-47S3H44M.js → export-D3XBBQZD.js} +6 -6
  45. package/dist/chunks/{inspect-VN5RPWZ4.js → inspect-LUCGK7HU.js} +8 -8
  46. package/dist/chunks/{list-2MOCSIVK.js → list-EGJ7X43H.js} +6 -6
  47. package/dist/chunks/{list-E2776667.js → list-WV3JSWCB.js} +9 -9
  48. package/dist/chunks/{ls-K6VVPESL.js → ls-DXRXKG6Q.js} +8 -8
  49. package/dist/chunks/{publish-YTJF333F.js → publish-LW57QZ56.js} +6 -6
  50. package/dist/chunks/{query-573BCOCL.js → query-AQSXA32P.js} +11 -11
  51. package/dist/chunks/{reorder-WGMITOMK.js → reorder-YJGPY7SA.js} +6 -6
  52. package/dist/chunks/{restore-R5SP6QDT.js → restore-VANQDIFO.js} +6 -6
  53. package/dist/chunks/{rm-3CARKENK.js → rm-GNY6PA2Z.js} +8 -8
  54. package/dist/chunks/{rule-inspect-N6HDKT6I.js → rule-inspect-EECXOMPN.js} +8 -8
  55. package/dist/chunks/{rules-D32GEN6D.js → rules-G2VMMW7U.js} +8 -8
  56. package/dist/chunks/{schema-7I3UHM6W.js → schema-4TUQAXX6.js} +9 -9
  57. package/dist/chunks/{types-7VDI75PV.js → types-54VLSVRV.js} +4 -4
  58. package/dist/chunks/{update-RQ7YZS6M.js → update-GSE7WNBV.js} +8 -8
  59. package/dist/commands/build/index.js +86 -53
  60. package/dist/commands/deploy/index.js +24 -24
  61. package/dist/commands/dev/index.js +254 -52
  62. package/dist/commands/env/index.js +18 -18
  63. package/dist/commands/link/index.js +19 -19
  64. package/dist/commands/list/index.js +10 -10
  65. package/dist/commands-bulk.js +1845 -1356
  66. package/dist/index.js +22 -22
  67. package/dist/version.mjs +1 -1
  68. package/package.json +20 -20
@@ -9,35 +9,35 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-E4OPPX7M.js";
13
- import "./chunk-FVDSS6AL.js";
12
+ } from "./chunk-4UJDQ2WM.js";
13
+ import "./chunk-4243WWHE.js";
14
14
  import "./chunk-HTOH3MSD.js";
15
15
  import {
16
16
  validateJsonOutput
17
17
  } from "./chunk-XPKWKPWA.js";
18
18
  import {
19
19
  rulesAddSubcommand
20
- } from "./chunk-JZLADLMF.js";
21
- import "./chunk-SIRIGCP6.js";
20
+ } from "./chunk-NVV6BWQP.js";
21
+ import "./chunk-TEDMSWBX.js";
22
22
  import {
23
23
  AGENT_REASON
24
24
  } from "./chunk-E3NE4SKN.js";
25
- import "./chunk-Z2O2S6ZA.js";
25
+ import "./chunk-KAC4IO5S.js";
26
26
  import "./chunk-4OEA5ILS.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
29
29
  outputAgentError
30
- } from "./chunk-AXQNAI65.js";
30
+ } from "./chunk-V6BFG564.js";
31
31
  import "./chunk-CO5D46AG.js";
32
32
  import {
33
33
  getFlagsSpecification,
34
34
  parseArguments,
35
35
  printError
36
- } from "./chunk-GQLARSTH.js";
36
+ } from "./chunk-P5NASM3L.js";
37
37
  import {
38
38
  isAPIError,
39
39
  packageName
40
- } from "./chunk-EBEBY45K.js";
40
+ } from "./chunk-4XB5UFP4.js";
41
41
  import {
42
42
  output_manager_default
43
43
  } from "./chunk-ZQKJVHXY.js";
@@ -13,7 +13,7 @@ import {
13
13
  InvalidDeploymentId,
14
14
  TooManyRequests,
15
15
  isAPIError
16
- } from "./chunk-EBEBY45K.js";
16
+ } from "./chunk-4XB5UFP4.js";
17
17
 
18
18
  // src/util/to-host.ts
19
19
  function toHost(url) {
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatOption
9
- } from "./chunk-GQLARSTH.js";
9
+ } from "./chunk-P5NASM3L.js";
10
10
  import {
11
11
  packageName
12
- } from "./chunk-EBEBY45K.js";
12
+ } from "./chunk-4XB5UFP4.js";
13
13
 
14
14
  // src/commands/metrics/command.ts
15
15
  var schemaSubcommand = {
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  init_pkg,
9
9
  pkg_default
10
- } from "./chunk-EBEBY45K.js";
10
+ } from "./chunk-4XB5UFP4.js";
11
11
 
12
12
  // src/util/ua.ts
13
13
  init_pkg();
@@ -9,22 +9,22 @@ import {
9
9
  } from "./chunk-HTOH3MSD.js";
10
10
  import {
11
11
  getScope
12
- } from "./chunk-SIRIGCP6.js";
12
+ } from "./chunk-TEDMSWBX.js";
13
13
  import {
14
14
  AGENT_REASON
15
15
  } from "./chunk-E3NE4SKN.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-Z2O2S6ZA.js";
19
+ } from "./chunk-KAC4IO5S.js";
20
20
  import {
21
21
  buildCommandWithGlobalFlags,
22
22
  outputAgentError
23
- } from "./chunk-AXQNAI65.js";
23
+ } from "./chunk-V6BFG564.js";
24
24
  import {
25
25
  ProjectNotFound,
26
26
  isAPIError
27
- } from "./chunk-EBEBY45K.js";
27
+ } from "./chunk-4XB5UFP4.js";
28
28
 
29
29
  // src/commands/alerts/resolve-alerts-scope.ts
30
30
  function emitAlertsScopeError(client, jsonOutput, code, message, agent) {
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  routesCommand
9
- } from "./chunk-4LDQIDKG.js";
9
+ } from "./chunk-U5GMPX5T.js";
10
10
  import {
11
11
  metricsCommand
12
- } from "./chunk-NIOGCTVR.js";
12
+ } from "./chunk-2GC2GW2H.js";
13
13
  import {
14
14
  devCommand
15
- } from "./chunk-HAJ2XRTQ.js";
15
+ } from "./chunk-NQQWZYTY.js";
16
16
  import {
17
17
  activityCommand
18
- } from "./chunk-GCKUEAUE.js";
18
+ } from "./chunk-Q5MHVELE.js";
19
19
  import {
20
20
  alertsCommand
21
- } from "./chunk-3NSIZGHP.js";
21
+ } from "./chunk-MWQHQ7FW.js";
22
22
  import {
23
23
  listCommand
24
- } from "./chunk-ONYQGA2O.js";
24
+ } from "./chunk-S6EMI466.js";
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-6ESUYMQ6.js";
28
+ } from "./chunk-OLJ6HISC.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-Z2O2S6ZA.js";
31
+ } from "./chunk-KAC4IO5S.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-GQLARSTH.js";
40
+ } from "./chunk-P5NASM3L.js";
41
41
  import {
42
42
  packageName
43
- } from "./chunk-EBEBY45K.js";
43
+ } from "./chunk-4XB5UFP4.js";
44
44
  import {
45
45
  output_manager_default
46
46
  } from "./chunk-ZQKJVHXY.js";
@@ -580,7 +580,7 @@ var setSubcommand = {
580
580
  default: true,
581
581
  arguments: [
582
582
  {
583
- name: "deployment",
583
+ name: "id-or-url",
584
584
  required: true
585
585
  },
586
586
  {
@@ -1328,7 +1328,7 @@ var certsCommand = {
1328
1328
  var createSubcommand2 = {
1329
1329
  name: "create",
1330
1330
  aliases: [],
1331
- description: "Create a new Connex client",
1331
+ description: "Create a new Connex connector",
1332
1332
  arguments: [
1333
1333
  {
1334
1334
  name: "type",
@@ -1342,14 +1342,14 @@ var createSubcommand2 = {
1342
1342
  type: String,
1343
1343
  argument: "NAME",
1344
1344
  deprecated: false,
1345
- description: "Name of the Connex client"
1345
+ description: "Name of the Connex connector"
1346
1346
  },
1347
1347
  {
1348
1348
  name: "triggers",
1349
1349
  shorthand: null,
1350
1350
  type: Boolean,
1351
1351
  deprecated: false,
1352
- description: "Enable webhook triggers for this client"
1352
+ description: "Enable webhook triggers for this connector"
1353
1353
  },
1354
1354
  formatOption
1355
1355
  ],
@@ -1375,7 +1375,7 @@ var createSubcommand2 = {
1375
1375
  var listSubcommand4 = {
1376
1376
  name: "list",
1377
1377
  aliases: ["ls"],
1378
- description: "List Connex clients linked to the current project (falls back to every client in the team when no project is linked or when --all-projects is set)",
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)",
1379
1379
  arguments: [],
1380
1380
  options: [
1381
1381
  {
@@ -1383,7 +1383,7 @@ var listSubcommand4 = {
1383
1383
  shorthand: null,
1384
1384
  type: Boolean,
1385
1385
  deprecated: false,
1386
- description: "List every Connex client in the team, regardless of project link"
1386
+ description: "List every Connex connector in the team, regardless of project link"
1387
1387
  },
1388
1388
  {
1389
1389
  name: "limit",
@@ -1391,7 +1391,7 @@ var listSubcommand4 = {
1391
1391
  type: Number,
1392
1392
  argument: "COUNT",
1393
1393
  deprecated: false,
1394
- description: "Number of clients to return per page"
1394
+ description: "Number of connectors to return per page"
1395
1395
  },
1396
1396
  {
1397
1397
  name: "next",
@@ -1405,11 +1405,11 @@ var listSubcommand4 = {
1405
1405
  ],
1406
1406
  examples: [
1407
1407
  {
1408
- name: "List Connex clients linked to the current project",
1408
+ name: "List Connex connectors linked to the current project",
1409
1409
  value: `${packageName} connex list`
1410
1410
  },
1411
1411
  {
1412
- name: "List every Connex client in the team",
1412
+ name: "List every Connex connector in the team",
1413
1413
  value: `${packageName} connex list --all-projects`
1414
1414
  },
1415
1415
  {
@@ -1429,7 +1429,7 @@ var listSubcommand4 = {
1429
1429
  var removeSubcommand3 = {
1430
1430
  name: "remove",
1431
1431
  aliases: ["rm"],
1432
- description: "Delete a Connex client",
1432
+ description: "Delete a Connex connector",
1433
1433
  arguments: [
1434
1434
  {
1435
1435
  name: "client",
@@ -1439,28 +1439,28 @@ var removeSubcommand3 = {
1439
1439
  options: [
1440
1440
  {
1441
1441
  name: "disconnect-all",
1442
- description: "Disconnects all projects from the client before deletion",
1442
+ description: "Disconnects all projects from the connector before deletion",
1443
1443
  shorthand: "a",
1444
1444
  type: Boolean,
1445
1445
  deprecated: false
1446
1446
  },
1447
1447
  {
1448
1448
  ...yesOption,
1449
- description: "Skip the confirmation prompt when deleting a client"
1449
+ description: "Skip the confirmation prompt when deleting a connector"
1450
1450
  },
1451
1451
  formatOption
1452
1452
  ],
1453
1453
  examples: [
1454
1454
  {
1455
- name: "Delete a Connex client by ID",
1455
+ name: "Delete a Connex connector by ID",
1456
1456
  value: `${packageName} connex remove scl_abc123`
1457
1457
  },
1458
1458
  {
1459
- name: "Delete a Connex client by UID",
1459
+ name: "Delete a Connex connector by UID",
1460
1460
  value: `${packageName} connex remove slack/my-bot`
1461
1461
  },
1462
1462
  {
1463
- name: "Disconnect all projects from a client, then delete it",
1463
+ name: "Disconnect all projects from a connector, then delete it",
1464
1464
  value: [
1465
1465
  `${packageName} connex remove scl_abc123 --disconnect-all`,
1466
1466
  `${packageName} connex remove slack/my-bot -a`
@@ -1479,7 +1479,7 @@ var removeSubcommand3 = {
1479
1479
  var tokenSubcommand = {
1480
1480
  name: "token",
1481
1481
  aliases: [],
1482
- description: "Get a token for a Connex client (accepts a client ID like scl_abc or a UID like slack/my-bot)",
1482
+ description: "Get a token for a Connex connector (accepts a connector ID like scl_abc or a UID like slack/my-bot)",
1483
1483
  arguments: [
1484
1484
  {
1485
1485
  name: "id",
@@ -1493,7 +1493,7 @@ var tokenSubcommand = {
1493
1493
  type: String,
1494
1494
  argument: "TYPE",
1495
1495
  deprecated: false,
1496
- description: `Subject type: "user" (default, acts on behalf of you) or "app" (uses the client's default installation)`
1496
+ description: `Subject type: "user" (default, acts on behalf of you) or "app" (uses the connector's default installation)`
1497
1497
  },
1498
1498
  {
1499
1499
  name: "installation-id",
@@ -1501,7 +1501,7 @@ var tokenSubcommand = {
1501
1501
  type: String,
1502
1502
  argument: "ID",
1503
1503
  deprecated: false,
1504
- description: "Target a specific installation (only useful with --subject app; defaults to the client's default installation)"
1504
+ description: "Target a specific installation (only useful with --subject app; defaults to the connector's default installation)"
1505
1505
  },
1506
1506
  {
1507
1507
  name: "scopes",
@@ -1516,11 +1516,11 @@ var tokenSubcommand = {
1516
1516
  ],
1517
1517
  examples: [
1518
1518
  {
1519
- name: "Get a user token by client ID",
1519
+ name: "Get a user token by connector ID",
1520
1520
  value: `${packageName} connex token scl_abc123`
1521
1521
  },
1522
1522
  {
1523
- name: "Get a token by client UID",
1523
+ name: "Get a token by connector UID",
1524
1524
  value: `${packageName} connex token slack/my-bot`
1525
1525
  },
1526
1526
  {
@@ -1544,7 +1544,7 @@ var tokenSubcommand = {
1544
1544
  var openSubcommand = {
1545
1545
  name: "open",
1546
1546
  aliases: [],
1547
- description: "Open a Connex client in the Vercel dashboard",
1547
+ description: "Open a Connex connector in the Vercel dashboard",
1548
1548
  arguments: [
1549
1549
  {
1550
1550
  name: "id",
@@ -1554,11 +1554,11 @@ var openSubcommand = {
1554
1554
  options: [formatOption],
1555
1555
  examples: [
1556
1556
  {
1557
- name: "Open a client by ID",
1557
+ name: "Open a connector by ID",
1558
1558
  value: `${packageName} connex open scl_abc123`
1559
1559
  },
1560
1560
  {
1561
- name: "Open a client by UID",
1561
+ name: "Open a connector by UID",
1562
1562
  value: `${packageName} connex open slack/my-bot`
1563
1563
  },
1564
1564
  {
@@ -1567,16 +1567,69 @@ var openSubcommand = {
1567
1567
  }
1568
1568
  ]
1569
1569
  };
1570
+ var attachSubcommand = {
1571
+ name: "attach",
1572
+ aliases: [],
1573
+ description: "Attach a Vercel project to a Connex connector for one or more environments",
1574
+ arguments: [
1575
+ {
1576
+ name: "client",
1577
+ required: true
1578
+ }
1579
+ ],
1580
+ options: [
1581
+ {
1582
+ name: "environment",
1583
+ shorthand: "e",
1584
+ type: [String],
1585
+ argument: "ENV",
1586
+ deprecated: false,
1587
+ description: "Environments to enable. Repeatable and comma-separated (e.g. -e production -e preview, or -e production,preview). Defaults to all environments."
1588
+ },
1589
+ {
1590
+ name: "project",
1591
+ shorthand: "p",
1592
+ type: String,
1593
+ argument: "NAME_OR_ID",
1594
+ deprecated: false,
1595
+ description: "Project name or ID (default: current linked project)"
1596
+ },
1597
+ {
1598
+ ...yesOption,
1599
+ description: "Skip the confirmation prompt"
1600
+ },
1601
+ formatOption
1602
+ ],
1603
+ examples: [
1604
+ {
1605
+ name: "Attach the current project to a connector for all environments",
1606
+ value: `${packageName} connex attach scl_abc123`
1607
+ },
1608
+ {
1609
+ name: "Restrict to specific environments",
1610
+ value: `${packageName} connex attach scl_abc123 -e production -e preview`
1611
+ },
1612
+ {
1613
+ name: "Attach a different project by name",
1614
+ value: `${packageName} connex attach slack/my-bot --project my-app`
1615
+ },
1616
+ {
1617
+ name: "Non-interactive output as JSON",
1618
+ value: `${packageName} connex attach scl_abc123 --yes --format=json`
1619
+ }
1620
+ ]
1621
+ };
1570
1622
  var connexCommand = {
1571
1623
  name: "connex",
1572
1624
  aliases: [],
1573
- description: "Manage Vercel Connect clients",
1625
+ description: "Manage Vercel Connect connectors",
1574
1626
  arguments: [],
1575
1627
  options: [],
1576
1628
  subcommands: [
1577
1629
  createSubcommand2,
1578
1630
  listSubcommand4,
1579
1631
  tokenSubcommand,
1632
+ attachSubcommand,
1580
1633
  removeSubcommand3,
1581
1634
  openSubcommand
1582
1635
  ],
@@ -1586,7 +1639,7 @@ var connexCommand = {
1586
1639
  value: `${packageName} connex create slack`
1587
1640
  },
1588
1641
  {
1589
- name: "List Connex clients on the current team",
1642
+ name: "List Connex connectors on the current team",
1590
1643
  value: `${packageName} connex list`
1591
1644
  },
1592
1645
  {
@@ -1594,7 +1647,11 @@ var connexCommand = {
1594
1647
  value: `${packageName} connex token scl_abc123`
1595
1648
  },
1596
1649
  {
1597
- name: "Open a client in the dashboard",
1650
+ name: "Attach the current project to a connector",
1651
+ value: `${packageName} connex attach scl_abc123`
1652
+ },
1653
+ {
1654
+ name: "Open a connector in the dashboard",
1598
1655
  value: `${packageName} connex open scl_abc123`
1599
1656
  }
1600
1657
  ]
@@ -4989,14 +5046,14 @@ var logsCommand = {
4989
5046
  shorthand: "f",
4990
5047
  type: Boolean,
4991
5048
  deprecated: false,
4992
- description: "Stream live runtime logs (implicit when deployment URL/ID is specified)"
5049
+ description: "Stream live runtime logs for a deployment"
4993
5050
  },
4994
5051
  {
4995
5052
  name: "no-follow",
4996
5053
  shorthand: null,
4997
5054
  type: Boolean,
4998
5055
  deprecated: false,
4999
- description: "Disable implicit --follow for deployment arguments"
5056
+ description: "No-op; deployment arguments only stream logs when --follow is set"
5000
5057
  },
5001
5058
  {
5002
5059
  name: "query",
@@ -5044,11 +5101,11 @@ var logsCommand = {
5044
5101
  examples: [
5045
5102
  {
5046
5103
  name: "Stream live logs for a deployment URL",
5047
- value: `${packageName} logs https://my-app-xxxxx.vercel.app`
5104
+ value: `${packageName} logs https://my-app-xxxxx.vercel.app --follow`
5048
5105
  },
5049
5106
  {
5050
5107
  name: "Stream live logs for a deployment ID",
5051
- value: `${packageName} logs dpl_xxxxx`
5108
+ value: `${packageName} logs dpl_xxxxx --follow`
5052
5109
  },
5053
5110
  {
5054
5111
  name: "Display recent logs for the linked project",
@@ -5060,7 +5117,7 @@ var logsCommand = {
5060
5117
  },
5061
5118
  {
5062
5119
  name: "Display logs for a specific deployment (historical)",
5063
- value: `${packageName} logs dpl_xxxxx --no-follow`
5120
+ value: `${packageName} logs dpl_xxxxx`
5064
5121
  },
5065
5122
  {
5066
5123
  name: "Filter logs by status code and output as JSON",
@@ -7929,6 +7986,7 @@ export {
7929
7986
  removeSubcommand3,
7930
7987
  tokenSubcommand,
7931
7988
  openSubcommand,
7989
+ attachSubcommand,
7932
7990
  connexCommand,
7933
7991
  contractCommand,
7934
7992
  addSubcommand3 as addSubcommand2,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-FVDSS6AL.js";
9
+ } from "./chunk-4243WWHE.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  buildCommandWithGlobalFlags,
20
20
  outputAgentError
21
- } from "./chunk-AXQNAI65.js";
21
+ } from "./chunk-V6BFG564.js";
22
22
 
23
23
  // src/commands/alerts/rules/parse-scope.ts
24
24
  async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
@@ -9,13 +9,13 @@ import {
9
9
  } from "./chunk-V5P25P7F.js";
10
10
  import {
11
11
  ua_default
12
- } from "./chunk-WOWCXMTU.js";
12
+ } from "./chunk-3CBPQ6CA.js";
13
13
  import {
14
14
  getLocalPathConfig
15
- } from "./chunk-5V2IIK5P.js";
15
+ } from "./chunk-MEAUBEGT.js";
16
16
  import {
17
17
  autoInstallVercelPlugin
18
- } from "./chunk-6ESUYMQ6.js";
18
+ } from "./chunk-OLJ6HISC.js";
19
19
  import {
20
20
  DEFAULT_VERCEL_CONFIG_FILENAME,
21
21
  VERCEL_CONFIG_EXTENSIONS,
@@ -40,7 +40,7 @@ import {
40
40
  useKeypress,
41
41
  usePrefix,
42
42
  useState
43
- } from "./chunk-Z2O2S6ZA.js";
43
+ } from "./chunk-KAC4IO5S.js";
44
44
  import {
45
45
  require_load_json_file
46
46
  } from "./chunk-4OEA5ILS.js";
@@ -48,12 +48,12 @@ import {
48
48
  parseArguments,
49
49
  printError,
50
50
  require_strip_ansi
51
- } from "./chunk-GQLARSTH.js";
51
+ } from "./chunk-P5NASM3L.js";
52
52
  import {
53
53
  APIError,
54
54
  NowError,
55
55
  getCommandName
56
- } from "./chunk-EBEBY45K.js";
56
+ } from "./chunk-4XB5UFP4.js";
57
57
  import {
58
58
  emoji,
59
59
  link_default,
@@ -573,11 +573,11 @@ var NotDomainOwner = class extends NowError {
573
573
  }
574
574
  };
575
575
  var InvalidDeploymentId = class extends NowError {
576
- constructor(id) {
576
+ constructor(id, message) {
577
577
  super({
578
578
  code: "INVALID_DEPLOYMENT_ID",
579
579
  meta: { id },
580
- message: `The deployment id "${id}" is not valid.`
580
+ message: message || `The deployment id "${id}" is not valid.`
581
581
  });
582
582
  }
583
583
  };
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_string_width
9
- } from "./chunk-GQLARSTH.js";
9
+ } from "./chunk-P5NASM3L.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-HENJXUSM.js";
10
+ } from "./chunk-VOXVKDJQ.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-ZQKJVHXY.js";
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getLocalPathConfig
9
- } from "./chunk-5V2IIK5P.js";
9
+ } from "./chunk-MEAUBEGT.js";
10
10
  import {
11
11
  table
12
- } from "./chunk-KSIISCB2.js";
12
+ } from "./chunk-5GZAC4CI.js";
13
13
  import {
14
14
  VERCEL_DIR_PROJECT,
15
15
  VERCEL_DIR_README,
@@ -42,15 +42,15 @@ import {
42
42
  selectAndParseRemoteUrl,
43
43
  selectOrg,
44
44
  writeServicesConfig
45
- } from "./chunk-Z2O2S6ZA.js";
45
+ } from "./chunk-KAC4IO5S.js";
46
46
  import {
47
47
  printError
48
- } from "./chunk-GQLARSTH.js";
48
+ } from "./chunk-P5NASM3L.js";
49
49
  import {
50
50
  CantParseJSONFile,
51
51
  ProjectNotFound,
52
52
  isAPIError
53
- } from "./chunk-EBEBY45K.js";
53
+ } from "./chunk-4XB5UFP4.js";
54
54
  import {
55
55
  output_manager_default
56
56
  } from "./chunk-ZQKJVHXY.js";
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  table
9
- } from "./chunk-KSIISCB2.js";
9
+ } from "./chunk-5GZAC4CI.js";
10
10
  import {
11
11
  require_strip_ansi
12
- } from "./chunk-GQLARSTH.js";
12
+ } from "./chunk-P5NASM3L.js";
13
13
  import {
14
14
  require_source
15
15
  } from "./chunk-S7KYDPEM.js";
@@ -6,24 +6,24 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-KSF2MOCF.js";
9
+ } from "./chunk-Y6X3VMO3.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-435PAKFA.js";
12
+ } from "./chunk-TTEDSKHO.js";
13
13
  import {
14
14
  autoInstallVercelPlugin,
15
15
  pullCommand
16
- } from "./chunk-6ESUYMQ6.js";
16
+ } from "./chunk-OLJ6HISC.js";
17
17
  import {
18
18
  help
19
- } from "./chunk-IS56OO2J.js";
19
+ } from "./chunk-S62XC5XL.js";
20
20
  import {
21
21
  VERCEL_DIR,
22
22
  VERCEL_DIR_PROJECT,
23
23
  envPullCommandLogic,
24
24
  humanizePath,
25
25
  parseTarget
26
- } from "./chunk-Z2O2S6ZA.js";
26
+ } from "./chunk-KAC4IO5S.js";
27
27
  import {
28
28
  TelemetryClient
29
29
  } from "./chunk-4OEA5ILS.js";
@@ -34,7 +34,7 @@ import {
34
34
  getFlagsSpecification,
35
35
  parseArguments,
36
36
  printError
37
- } from "./chunk-GQLARSTH.js";
37
+ } from "./chunk-P5NASM3L.js";
38
38
  import {
39
39
  emoji,
40
40
  output_manager_default,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_end_of_stream,
9
9
  require_once
10
- } from "./chunk-Z2O2S6ZA.js";
10
+ } from "./chunk-KAC4IO5S.js";
11
11
  import {
12
12
  require_signal_exit
13
13
  } from "./chunk-ZQKJVHXY.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  isAPIError
9
- } from "./chunk-EBEBY45K.js";
9
+ } from "./chunk-4XB5UFP4.js";
10
10
  import {
11
11
  output_manager_default
12
12
  } from "./chunk-ZQKJVHXY.js";