vercel 58.9.0 → 58.9.2

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 (83) hide show
  1. package/dist/chunks/{add-ZVQJE6BF.js → add-DDUZR2RD.js} +7 -7
  2. package/dist/chunks/{add-HFK7NUGY.js → add-LVQP3SR2.js} +2 -2
  3. package/dist/chunks/{add-EN4KBTT6.js → add-XZ2HRB22.js} +2 -2
  4. package/dist/chunks/{build-IDCBAC3R.js → build-L3WNBFT6.js} +2 -2
  5. package/dist/chunks/{chunk-FBG4AMAX.js → chunk-2Z66EK7E.js} +1 -1
  6. package/dist/chunks/{chunk-N22RS64U.js → chunk-3T3AIIEO.js} +2 -2
  7. package/dist/chunks/{chunk-Q6OJHDZK.js → chunk-446IAD7O.js} +1 -1
  8. package/dist/chunks/{chunk-CKIZU3CI.js → chunk-5LPWBMQG.js} +1 -1
  9. package/dist/chunks/{chunk-DQXBNALU.js → chunk-6YFPNNA5.js} +1 -1
  10. package/dist/chunks/{chunk-YTIUSEWE.js → chunk-74ZES62J.js} +1 -1
  11. package/dist/chunks/{chunk-WWPV6Z24.js → chunk-77FZZ73F.js} +4 -4
  12. package/dist/chunks/{chunk-7N26744Z.js → chunk-BW7BH66H.js} +1 -1
  13. package/dist/chunks/{chunk-TIBP3CPZ.js → chunk-CMS7PTFB.js} +1 -1
  14. package/dist/chunks/{chunk-2PPATWD6.js → chunk-DBMBKXZO.js} +1 -1
  15. package/dist/chunks/{chunk-YUISINFV.js → chunk-DGVJNQI3.js} +49 -62
  16. package/dist/chunks/{chunk-F45WFNLZ.js → chunk-DSJHGENE.js} +1 -1
  17. package/dist/chunks/{chunk-U6CTW37A.js → chunk-DZAP2FIC.js} +1 -1
  18. package/dist/chunks/{chunk-G2S2QKKF.js → chunk-EPAVMBXG.js} +2 -2
  19. package/dist/chunks/{chunk-BX4IGDGM.js → chunk-J23MTK5H.js} +212 -95
  20. package/dist/chunks/{chunk-V5P25P7F.js → chunk-JKQWQA2T.js} +17 -0
  21. package/dist/chunks/{chunk-E3DRV4WI.js → chunk-KIGRD7TV.js} +1 -1
  22. package/dist/chunks/{chunk-DDUZ2VME.js → chunk-QCDSQERI.js} +8 -6
  23. package/dist/chunks/{chunk-NFZHW6HH.js → chunk-QXXH6L46.js} +2 -2
  24. package/dist/chunks/{chunk-PNSWZSLC.js → chunk-R7FRJJSO.js} +2 -2
  25. package/dist/chunks/{chunk-766B6IIX.js → chunk-S6CMPUF4.js} +1 -1
  26. package/dist/chunks/{chunk-KES53W3V.js → chunk-YXFLKPDC.js} +7 -5
  27. package/dist/chunks/{chunk-QRRCK6VX.js → chunk-Z7LH63PK.js} +1 -1
  28. package/dist/chunks/{chunk-7AB6QOKM.js → chunk-Z7RSIWNT.js} +1 -1
  29. package/dist/chunks/{clear-W4AEVUND.js → clear-QD7QNE2X.js} +2 -2
  30. package/dist/chunks/{compile-vercel-config-Q45PSZDQ.js → compile-vercel-config-G46NO752.js} +1 -1
  31. package/dist/chunks/{config-MZ3KLGOK.js → config-MRWCWMFM.js} +2 -2
  32. package/dist/chunks/{delete-NAZTL2IK.js → delete-IJDA6IJT.js} +2 -2
  33. package/dist/chunks/{delete-7NADCRED.js → delete-THAK6PDA.js} +2 -2
  34. package/dist/chunks/{disable-SB224IIS.js → disable-XJLSQWDP.js} +2 -2
  35. package/dist/chunks/{discard-MME6PI7B.js → discard-MDTDXLPM.js} +2 -2
  36. package/dist/chunks/{edit-HKQEFIOY.js → edit-TBUQIBCG.js} +2 -2
  37. package/dist/chunks/{edit-NW4YBUR6.js → edit-XWMGSV5O.js} +3 -3
  38. package/dist/chunks/{enable-QEL5CXVD.js → enable-D4ZEFA7B.js} +2 -2
  39. package/dist/chunks/{export-XDOZTLG3.js → export-35THNYMQ.js} +2 -2
  40. package/dist/chunks/{image-AJMRAAOW.js → image-ONVF2WQF.js} +3 -3
  41. package/dist/chunks/{import-builders-7UG32FQA.js → import-builders-4PL2UTKQ.js} +2 -2
  42. package/dist/chunks/{inspect-JPZFHGAF.js → inspect-22HFUKUL.js} +2 -2
  43. package/dist/chunks/{inspect-T6HYEMLA.js → inspect-JPKI7TUF.js} +2 -2
  44. package/dist/chunks/{inspect-TW5DENBM.js → inspect-K5URFDTI.js} +2 -2
  45. package/dist/chunks/{inspect-DGBKWCS4.js → inspect-P2MVWGGX.js} +2 -2
  46. package/dist/chunks/{inspect-4YTOMOOP.js → inspect-UKWD7EKB.js} +3 -3
  47. package/dist/chunks/{list-ESW6P765.js → list-2GKTKNSP.js} +2 -2
  48. package/dist/chunks/{list-T7LXP6VX.js → list-QOKS7OXY.js} +16 -5
  49. package/dist/chunks/{list-YQ4LADLW.js → list-RTALDLVZ.js} +1 -1
  50. package/dist/chunks/{login-VJESL6WK.js → login-VTT2OSLJ.js} +2 -2
  51. package/dist/chunks/{ls-2DYO6E4E.js → ls-3XZ54CAA.js} +3 -3
  52. package/dist/chunks/{ls-4A6CGBPD.js → ls-4VTPS4H3.js} +2 -2
  53. package/dist/chunks/{ls-Y46O3BCS.js → ls-5FYZ5VEP.js} +2 -2
  54. package/dist/chunks/{ls-5I2W7LZQ.js → ls-6M25LDJ3.js} +2 -2
  55. package/dist/chunks/{ls-5AQBMBOG.js → ls-DPQN66HC.js} +2 -2
  56. package/dist/chunks/{open-SZDSII6L.js → open-LSQVBKRQ.js} +2 -2
  57. package/dist/chunks/{permissions-HRR47E2L.js → permissions-KHCRKKCJ.js} +4 -4
  58. package/dist/chunks/{publish-D2QWFUP4.js → publish-OQZQOC3A.js} +2 -2
  59. package/dist/chunks/{push-75R5ZZIW.js → push-O22DZTSK.js} +2 -2
  60. package/dist/chunks/{query-LL2GMJWQ.js → query-X2SX26DL.js} +1 -1
  61. package/dist/chunks/{reorder-GNCRV6CV.js → reorder-E53PSWXQ.js} +2 -2
  62. package/dist/chunks/{reply-S3UUI6C6.js → reply-NQD2F6SH.js} +2 -2
  63. package/dist/chunks/{resolve-PCBDK47N.js → resolve-6ZPARPEF.js} +2 -2
  64. package/dist/chunks/{restore-SXI5SHGJ.js → restore-UJYDYOZO.js} +2 -2
  65. package/dist/chunks/{rm-ZFWVI6JE.js → rm-5T3LQY2T.js} +3 -3
  66. package/dist/chunks/{rm-BEIAUTSF.js → rm-A6S57TZX.js} +2 -2
  67. package/dist/chunks/{rm-574XTDSM.js → rm-BYF6J53M.js} +2 -2
  68. package/dist/chunks/{rm-YK2EGEPB.js → rm-TCPTNK5O.js} +2 -2
  69. package/dist/chunks/{rule-inspect-QDQUU3EO.js → rule-inspect-Q7G2H534.js} +3 -3
  70. package/dist/chunks/{rules-FNA3NXZZ.js → rules-5EI4AZ2N.js} +6 -6
  71. package/dist/chunks/{schema-5CASPRP6.js → schema-CFEL4DGE.js} +1 -1
  72. package/dist/chunks/{tags-SRHDQUF6.js → tags-GWQZQY3Q.js} +2 -2
  73. package/dist/chunks/{update-FSTNM3OX.js → update-SHTZVWMD.js} +7 -7
  74. package/dist/commands/build/index.js +9 -9
  75. package/dist/commands/deploy/index.js +10 -10
  76. package/dist/commands/dev/index.js +57 -34
  77. package/dist/commands/env/index.js +4 -4
  78. package/dist/commands/link/index.js +6 -6
  79. package/dist/commands/list/index.js +2 -2
  80. package/dist/commands-bulk.js +88 -69
  81. package/dist/index.js +66 -59
  82. package/dist/version.mjs +1 -1
  83. package/package.json +47 -47
@@ -8,22 +8,22 @@ import {
8
8
  parseCustomAlertQueryBody,
9
9
  resolveCustomAlertProjectName,
10
10
  setMissingCustomAlertProjectScope
11
- } from "./chunk-G2S2QKKF.js";
11
+ } from "./chunk-EPAVMBXG.js";
12
12
  import {
13
13
  emitRulesArgParseError,
14
14
  handleRulesApiError,
15
15
  parseRulesFlagsAndScope,
16
16
  rulesCollectionPath
17
- } from "./chunk-QRRCK6VX.js";
17
+ } from "./chunk-Z7LH63PK.js";
18
18
  import {
19
19
  isCustomAlertRule
20
20
  } from "./chunk-TEQKKTJQ.js";
21
- import "./chunk-DQXBNALU.js";
21
+ import "./chunk-6YFPNNA5.js";
22
22
  import "./chunk-A3NYPUKZ.js";
23
23
  import "./chunk-P65EEFTR.js";
24
24
  import "./chunk-FGDKMNEN.js";
25
- import "./chunk-YUISINFV.js";
26
- import "./chunk-V5P25P7F.js";
25
+ import "./chunk-DGVJNQI3.js";
26
+ import "./chunk-JKQWQA2T.js";
27
27
  import "./chunk-RQ7H43CJ.js";
28
28
  import {
29
29
  validateJsonOutput
@@ -31,9 +31,9 @@ import {
31
31
  import {
32
32
  rulesAddSubcommand
33
33
  } from "./chunk-UMA66MKW.js";
34
- import "./chunk-7AB6QOKM.js";
34
+ import "./chunk-Z7RSIWNT.js";
35
35
  import "./chunk-KT4XXKJK.js";
36
- import "./chunk-BX4IGDGM.js";
36
+ import "./chunk-J23MTK5H.js";
37
37
  import "./chunk-ECCWJHC6.js";
38
38
  import {
39
39
  AGENT_REASON,
@@ -17,7 +17,7 @@ import {
17
17
  emitVcrArgParseError,
18
18
  resolveVcrScope,
19
19
  validateVcrJsonOutput
20
- } from "./chunk-TIBP3CPZ.js";
20
+ } from "./chunk-CMS7PTFB.js";
21
21
  import "./chunk-G75NFPIT.js";
22
22
  import {
23
23
  outputError
@@ -27,7 +27,7 @@ import {
27
27
  permissionsAddSubcommand
28
28
  } from "./chunk-J6LK45HT.js";
29
29
  import "./chunk-R6IGDGX3.js";
30
- import "./chunk-BX4IGDGM.js";
30
+ import "./chunk-J23MTK5H.js";
31
31
  import "./chunk-ECCWJHC6.js";
32
32
  import {
33
33
  AGENT_REASON,
@@ -9,7 +9,7 @@ import {
9
9
  handleVcrApiError,
10
10
  resolveVcrScope,
11
11
  validateVcrJsonOutput
12
- } from "./chunk-TIBP3CPZ.js";
12
+ } from "./chunk-CMS7PTFB.js";
13
13
  import "./chunk-G75NFPIT.js";
14
14
  import {
15
15
  outputError
@@ -22,7 +22,7 @@ import "./chunk-B3JTF4CF.js";
22
22
  import "./chunk-A5KP5HAI.js";
23
23
  import "./chunk-J6LK45HT.js";
24
24
  import "./chunk-R6IGDGX3.js";
25
- import "./chunk-BX4IGDGM.js";
25
+ import "./chunk-J23MTK5H.js";
26
26
  import "./chunk-ECCWJHC6.js";
27
27
  import {
28
28
  AGENT_REASON,
@@ -23,7 +23,7 @@ import {
23
23
  runEngine,
24
24
  splitPassthrough,
25
25
  validateVcrChoice
26
- } from "./chunk-TIBP3CPZ.js";
26
+ } from "./chunk-CMS7PTFB.js";
27
27
  import "./chunk-G75NFPIT.js";
28
28
  import {
29
29
  outputError
@@ -36,7 +36,7 @@ import "./chunk-B3JTF4CF.js";
36
36
  import "./chunk-A5KP5HAI.js";
37
37
  import "./chunk-J6LK45HT.js";
38
38
  import "./chunk-R6IGDGX3.js";
39
- import "./chunk-BX4IGDGM.js";
39
+ import "./chunk-J23MTK5H.js";
40
40
  import "./chunk-ECCWJHC6.js";
41
41
  import {
42
42
  AGENT_REASON,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-BX4IGDGM.js";
9
+ } from "./chunk-J23MTK5H.js";
10
10
  import {
11
11
  packageName,
12
12
  projectOption,
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  setupAndLink
9
- } from "./chunk-PNSWZSLC.js";
9
+ } from "./chunk-R7FRJJSO.js";
10
10
  import {
11
11
  detectExplicitScope,
12
12
  getLinkedProject,
13
13
  param,
14
14
  printProjectNotFoundError,
15
15
  resolveProjectCwd
16
- } from "./chunk-BX4IGDGM.js";
16
+ } from "./chunk-J23MTK5H.js";
17
17
  import {
18
18
  buildCommandWithYes,
19
19
  outputActionRequired
@@ -11,7 +11,7 @@ import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-BX4IGDGM.js";
14
+ } from "./chunk-J23MTK5H.js";
15
15
  import {
16
16
  printError
17
17
  } from "./chunk-KBEX5MYS.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-BX4IGDGM.js";
9
+ } from "./chunk-J23MTK5H.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -11,7 +11,7 @@ import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-BX4IGDGM.js";
14
+ } from "./chunk-J23MTK5H.js";
15
15
  import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveProjectContext
9
- } from "./chunk-BX4IGDGM.js";
9
+ } from "./chunk-J23MTK5H.js";
10
10
  import {
11
11
  AGENT_REASON,
12
12
  AGENT_STATUS,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-766B6IIX.js";
9
+ } from "./chunk-S6CMPUF4.js";
10
10
  import {
11
11
  autoInstallVercelPlugin
12
12
  } from "./chunk-HT2XWSAJ.js";
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-64IF634X.js";
16
16
  import {
17
17
  ensureLink
18
- } from "./chunk-N22RS64U.js";
18
+ } from "./chunk-3T3AIIEO.js";
19
19
  import {
20
20
  pullCommand
21
- } from "./chunk-FBG4AMAX.js";
21
+ } from "./chunk-2Z66EK7E.js";
22
22
  import {
23
23
  help
24
24
  } from "./chunk-ZX2FSPWV.js";
@@ -28,7 +28,7 @@ import {
28
28
  envPullCommandLogic,
29
29
  humanizePath,
30
30
  parseTarget
31
- } from "./chunk-BX4IGDGM.js";
31
+ } from "./chunk-J23MTK5H.js";
32
32
  import {
33
33
  TelemetryClient
34
34
  } from "./chunk-ECCWJHC6.js";
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-BX4IGDGM.js";
21
+ } from "./chunk-J23MTK5H.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -20,7 +20,7 @@ import {
20
20
  getLinkedProject,
21
21
  getProjectByNameOrId,
22
22
  getScope
23
- } from "./chunk-BX4IGDGM.js";
23
+ } from "./chunk-J23MTK5H.js";
24
24
  import {
25
25
  AGENT_REASON,
26
26
  buildCommandWithGlobalFlags,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  ALIGNED_LABEL_WIDTH
9
- } from "./chunk-BX4IGDGM.js";
9
+ } from "./chunk-J23MTK5H.js";
10
10
  import {
11
11
  require_ms
12
12
  } from "./chunk-GGP5R3FU.js";
@@ -5,13 +5,14 @@ const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
+ getGlobalPathConfig,
8
9
  highlight
9
- } from "./chunk-V5P25P7F.js";
10
+ } from "./chunk-JKQWQA2T.js";
10
11
  import {
11
12
  PromptBackError,
12
13
  PromptCanceledError,
13
14
  getLocalPathConfig
14
- } from "./chunk-7AB6QOKM.js";
15
+ } from "./chunk-Z7RSIWNT.js";
15
16
  import {
16
17
  DEFAULT_VERCEL_CONFIG_FILENAME,
17
18
  VERCEL_CONFIG_EXTENSIONS,
@@ -38,7 +39,7 @@ import {
38
39
  useKeypress,
39
40
  usePrefix,
40
41
  useState
41
- } from "./chunk-BX4IGDGM.js";
42
+ } from "./chunk-J23MTK5H.js";
42
43
  import {
43
44
  require_load_json_file
44
45
  } from "./chunk-ECCWJHC6.js";
@@ -399,39 +400,26 @@ var require_dist3 = __commonJS({
399
400
  }
400
401
  });
401
402
 
402
- // src/util/config/global-path.ts
403
- import path from "path";
404
- import * as config from "@vercel/cli-config";
405
- function getGlobalPathConfig2(argvSlice = process.argv.slice(2), cwd = process.cwd()) {
406
- const args = parseArguments(argvSlice, {}, { permissive: true });
407
- const confFlag = args.flags["--global-config"];
408
- if (confFlag) {
409
- return path.resolve(cwd, confFlag);
410
- } else {
411
- return config.getGlobalPathConfig();
412
- }
413
- }
414
-
415
403
  // src/util/config/files.ts
416
404
  var import_load_json_file = __toESM(require_load_json_file(), 1);
417
405
  var import_error_utils = __toESM(require_dist(), 1);
418
406
  var import_client = __toESM(require_dist2(), 1);
419
407
  import { join, basename, dirname } from "path";
420
408
  import { accessSync, constants } from "fs";
421
- import * as config2 from "@vercel/cli-config";
409
+ import * as config from "@vercel/cli-config";
422
410
  import {
423
411
  persistCliAuthConfig,
424
412
  readCliAuthConfig
425
413
  } from "@vercel/cli-auth/credentials-store.js";
426
- var VERCEL_DIR2 = getGlobalPathConfig2();
427
- var CONFIG_FILE_PATH = config2.getConfigFilePath(VERCEL_DIR2);
428
- var AUTH_CONFIG_FILE_PATH = config2.getAuthConfigFilePath(VERCEL_DIR2);
414
+ var VERCEL_DIR2 = getGlobalPathConfig();
415
+ var CONFIG_FILE_PATH = config.getConfigFilePath(VERCEL_DIR2);
416
+ var AUTH_CONFIG_FILE_PATH = config.getAuthConfigFilePath(VERCEL_DIR2);
429
417
  var readConfigFile = () => {
430
- return config2.readGlobalConfigFile(CONFIG_FILE_PATH);
418
+ return config.readGlobalConfigFile(CONFIG_FILE_PATH);
431
419
  };
432
420
  var writeToConfigFile = (stuff) => {
433
421
  try {
434
- config2.writeGlobalConfigFile(CONFIG_FILE_PATH, stuff);
422
+ config.writeGlobalConfigFile(CONFIG_FILE_PATH, stuff);
435
423
  } catch (err) {
436
424
  if ((0, import_error_utils.isErrnoException)(err)) {
437
425
  if ((0, import_error_utils.isErrnoException)(err) && err.code === "EPERM") {
@@ -455,7 +443,7 @@ var writeToConfigFile = (stuff) => {
455
443
  };
456
444
  var readAuthConfigFile = (_globalConfig) => {
457
445
  return {
458
- ...config2.getDefaultAuthConfig(),
446
+ ...config.getDefaultAuthConfig(),
459
447
  ...readCliAuthConfig(VERCEL_DIR2)
460
448
  };
461
449
  };
@@ -479,7 +467,7 @@ function getAuthConfigFilePath2() {
479
467
  return AUTH_CONFIG_FILE_PATH;
480
468
  }
481
469
  function readLocalConfig(prefix = process.cwd()) {
482
- let config3 = void 0;
470
+ let config2 = void 0;
483
471
  let target = "";
484
472
  try {
485
473
  target = getLocalPathConfig(prefix);
@@ -496,7 +484,7 @@ function readLocalConfig(prefix = process.cwd()) {
496
484
  }
497
485
  try {
498
486
  accessSync(target, constants.F_OK);
499
- config3 = import_load_json_file.default.sync(target);
487
+ config2 = import_load_json_file.default.sync(target);
500
488
  } catch (err) {
501
489
  if ((0, import_error_utils.isErrnoException)(err) && err.code === "ENOENT") {
502
490
  } else if ((0, import_error_utils.isError)(err) && err.name === "JSONError") {
@@ -511,7 +499,7 @@ function readLocalConfig(prefix = process.cwd()) {
511
499
  process.exit(1);
512
500
  }
513
501
  }
514
- if (!config3) {
502
+ if (!config2) {
515
503
  return;
516
504
  }
517
505
  const isCompiledConfig = basename(target) === "vercel.json" && basename(dirname(target)) === VERCEL_DIR;
@@ -535,26 +523,26 @@ function readLocalConfig(prefix = process.cwd()) {
535
523
  } catch {
536
524
  }
537
525
  }
538
- config3[import_client.fileNameSymbol] = sourceFile || DEFAULT_VERCEL_CONFIG_FILENAME;
526
+ config2[import_client.fileNameSymbol] = sourceFile || DEFAULT_VERCEL_CONFIG_FILENAME;
539
527
  } else {
540
- config3[import_client.fileNameSymbol] = basename(target);
528
+ config2[import_client.fileNameSymbol] = basename(target);
541
529
  }
542
- return config3;
530
+ return config2;
543
531
  }
544
532
 
545
533
  // src/util/client.ts
546
534
  var import_chalk4 = __toESM(require_source(), 1);
547
535
 
548
536
  // ../../node_modules/.pnpm/@inquirer+confirm@3.1.2/node_modules/@inquirer/confirm/dist/esm/index.mjs
549
- var esm_default4 = createPrompt((config3, done) => {
550
- const { transformer = (answer) => answer ? "yes" : "no" } = config3;
537
+ var esm_default4 = createPrompt((config2, done) => {
538
+ const { transformer = (answer) => answer ? "yes" : "no" } = config2;
551
539
  const [status, setStatus] = useState("pending");
552
540
  const [value, setValue] = useState("");
553
- const theme = makeTheme(config3.theme);
541
+ const theme = makeTheme(config2.theme);
554
542
  const prefix = usePrefix({ theme });
555
543
  useKeypress((key, rl) => {
556
544
  if (isEnterKey(key)) {
557
- let answer = config3.default !== false;
545
+ let answer = config2.default !== false;
558
546
  if (/^(y|yes)/i.test(value))
559
547
  answer = true;
560
548
  else if (/^(n|no)/i.test(value))
@@ -571,9 +559,9 @@ var esm_default4 = createPrompt((config3, done) => {
571
559
  if (status === "done") {
572
560
  formattedValue = theme.style.answer(value);
573
561
  } else {
574
- defaultValue = ` ${theme.style.defaultAnswer(config3.default === false ? "y/N" : "Y/n")}`;
562
+ defaultValue = ` ${theme.style.defaultAnswer(config2.default === false ? "y/N" : "Y/n")}`;
575
563
  }
576
- const message = theme.style.message(config3.message);
564
+ const message = theme.style.message(config2.message);
577
565
  return `${prefix} ${message}${defaultValue} ${formattedValue}`;
578
566
  });
579
567
 
@@ -594,13 +582,13 @@ function getChoiceKey(choice, key) {
594
582
  return choice.value;
595
583
  return choice.name;
596
584
  }
597
- var esm_default5 = createPrompt((config3, done) => {
598
- const { choices, default: defaultKey = "h", expanded: defaultExpandState = false } = config3;
585
+ var esm_default5 = createPrompt((config2, done) => {
586
+ const { choices, default: defaultKey = "h", expanded: defaultExpandState = false } = config2;
599
587
  const [status, setStatus] = useState("pending");
600
588
  const [value, setValue] = useState("");
601
589
  const [expanded, setExpanded] = useState(defaultExpandState);
602
590
  const [errorMsg, setError] = useState(void 0);
603
- const theme = makeTheme(config3.theme);
591
+ const theme = makeTheme(config2.theme);
604
592
  const prefix = usePrefix({ theme });
605
593
  useKeypress((event, rl) => {
606
594
  if (isEnterKey(event)) {
@@ -625,7 +613,7 @@ var esm_default5 = createPrompt((config3, done) => {
625
613
  setError(void 0);
626
614
  }
627
615
  });
628
- const message = theme.style.message(config3.message);
616
+ const message = theme.style.message(config2.message);
629
617
  if (status === "done") {
630
618
  return `${prefix} ${message} ${theme.style.answer(value)}`;
631
619
  }
@@ -664,11 +652,11 @@ var esm_default5 = createPrompt((config3, done) => {
664
652
  });
665
653
 
666
654
  // ../../node_modules/.pnpm/@inquirer+input@2.1.2/node_modules/@inquirer/input/dist/esm/index.mjs
667
- var esm_default6 = createPrompt((config3, done) => {
668
- const { validate = () => true } = config3;
669
- const theme = makeTheme(config3.theme);
655
+ var esm_default6 = createPrompt((config2, done) => {
656
+ const { validate = () => true } = config2;
657
+ const theme = makeTheme(config2.theme);
670
658
  const [status, setStatus] = useState("pending");
671
- const [defaultValue = "", setDefaultValue] = useState(config3.default);
659
+ const [defaultValue = "", setDefaultValue] = useState(config2.default);
672
660
  const [errorMsg, setError] = useState(void 0);
673
661
  const [value, setValue] = useState("");
674
662
  const isLoading = status === "loading";
@@ -702,10 +690,10 @@ var esm_default6 = createPrompt((config3, done) => {
702
690
  setError(void 0);
703
691
  }
704
692
  });
705
- const message = theme.style.message(config3.message);
693
+ const message = theme.style.message(config2.message);
706
694
  let formattedValue = value;
707
- if (typeof config3.transformer === "function") {
708
- formattedValue = config3.transformer(value, { isFinal: status === "done" });
695
+ if (typeof config2.transformer === "function") {
696
+ formattedValue = config2.transformer(value, { isFinal: status === "done" });
709
697
  } else if (status === "done") {
710
698
  formattedValue = theme.style.answer(value);
711
699
  }
@@ -725,9 +713,9 @@ var esm_default6 = createPrompt((config3, done) => {
725
713
 
726
714
  // ../../node_modules/.pnpm/@inquirer+password@2.1.2/node_modules/@inquirer/password/dist/esm/index.mjs
727
715
  var import_ansi_escapes = __toESM(require_ansi_escapes(), 1);
728
- var esm_default7 = createPrompt((config3, done) => {
729
- const { validate = () => true } = config3;
730
- const theme = makeTheme(config3.theme);
716
+ var esm_default7 = createPrompt((config2, done) => {
717
+ const { validate = () => true } = config2;
718
+ const theme = makeTheme(config2.theme);
731
719
  const [status, setStatus] = useState("pending");
732
720
  const [errorMsg, setError] = useState(void 0);
733
721
  const [value, setValue] = useState("");
@@ -755,11 +743,11 @@ var esm_default7 = createPrompt((config3, done) => {
755
743
  setError(void 0);
756
744
  }
757
745
  });
758
- const message = theme.style.message(config3.message);
746
+ const message = theme.style.message(config2.message);
759
747
  let formattedValue = "";
760
748
  let helpTip;
761
- if (config3.mask) {
762
- const maskChar = typeof config3.mask === "string" ? config3.mask : "*";
749
+ if (config2.mask) {
750
+ const maskChar = typeof config2.mask === "string" ? config2.mask : "*";
763
751
  formattedValue = maskChar.repeat(value.length);
764
752
  } else if (status !== "done") {
765
753
  helpTip = `${theme.style.help("[input is masked]")}${import_ansi_escapes.default.cursorHide}`;
@@ -1256,7 +1244,7 @@ var PromisePolyfill = class extends Promise {
1256
1244
 
1257
1245
  // ../../node_modules/.pnpm/@inquirer+core@9.2.1/node_modules/@inquirer/core/dist/esm/lib/create-prompt.mjs
1258
1246
  function createPrompt2(view) {
1259
- const prompt = (config3, context = {}) => {
1247
+ const prompt = (config2, context = {}) => {
1260
1248
  const { input = process.stdin, signal } = context;
1261
1249
  const cleanups = /* @__PURE__ */ new Set();
1262
1250
  const output = new import_mute_stream.default();
@@ -1290,7 +1278,7 @@ function createPrompt2(view) {
1290
1278
  cleanups.add(() => rl.removeListener("close", hooksCleanup));
1291
1279
  cycle(() => {
1292
1280
  try {
1293
- const nextView = view(config3, (value) => {
1281
+ const nextView = view(config2, (value) => {
1294
1282
  setImmediate(() => resolve2(value));
1295
1283
  });
1296
1284
  const [content, bottomContent] = typeof nextView === "string" ? [nextView] : nextView;
@@ -1367,9 +1355,9 @@ function normalizeChoices(choices) {
1367
1355
  };
1368
1356
  });
1369
1357
  }
1370
- var esm_default8 = createPrompt2((config3, done) => {
1371
- const { pageSize = 7, validate = () => true } = config3;
1372
- const theme = makeTheme2(searchTheme, config3.theme);
1358
+ var esm_default8 = createPrompt2((config2, done) => {
1359
+ const { pageSize = 7, validate = () => true } = config2;
1360
+ const theme = makeTheme2(searchTheme, config2.theme);
1373
1361
  const firstRender = useRef(true);
1374
1362
  const [status, setStatus] = useState2("loading");
1375
1363
  const [searchTerm, setSearchTerm] = useState2("");
@@ -1388,7 +1376,7 @@ var esm_default8 = createPrompt2((config3, done) => {
1388
1376
  setSearchError(void 0);
1389
1377
  const fetchResults = async () => {
1390
1378
  try {
1391
- const results = await config3.source(searchTerm || void 0, {
1379
+ const results = await config2.source(searchTerm || void 0, {
1392
1380
  signal: controller.signal
1393
1381
  });
1394
1382
  if (!controller.signal.aborted) {
@@ -1445,7 +1433,7 @@ var esm_default8 = createPrompt2((config3, done) => {
1445
1433
  setSearchTerm(rl.line);
1446
1434
  }
1447
1435
  });
1448
- const message = theme.style.message(config3.message, status);
1436
+ const message = theme.style.message(config2.message, status);
1449
1437
  if (active > 0) {
1450
1438
  firstRender.current = false;
1451
1439
  }
@@ -1878,8 +1866,8 @@ ${error.stack}`);
1878
1866
  const filePath = join2(this.getGlobalPathConfig(), fileName);
1879
1867
  writeSharedConfigFile(filePath, schema, value);
1880
1868
  }
1881
- updateConfig(config3) {
1882
- this.config = { ...this.config, ...config3 };
1869
+ updateConfig(config2) {
1870
+ this.config = { ...this.config, ...config2 };
1883
1871
  }
1884
1872
  writeToConfigFile() {
1885
1873
  writeToConfigFile(this.config);
@@ -2084,7 +2072,6 @@ Are you sure you want to proceed?`;
2084
2072
  };
2085
2073
 
2086
2074
  export {
2087
- getGlobalPathConfig2 as getGlobalPathConfig,
2088
2075
  require_dist3 as require_dist,
2089
2076
  printIndications,
2090
2077
  readConfigFile,
@@ -8,7 +8,7 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-YTIUSEWE.js";
11
+ } from "./chunk-74ZES62J.js";
12
12
  import {
13
13
  output_manager_default
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-BX4IGDGM.js";
9
+ } from "./chunk-J23MTK5H.js";
10
10
  import {
11
11
  isNativeBinaryInstall
12
12
  } from "./chunk-ECCWJHC6.js";
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  isJSONObject
9
- } from "./chunk-YUISINFV.js";
9
+ } from "./chunk-DGVJNQI3.js";
10
10
  import {
11
11
  getProjectByNameOrId
12
- } from "./chunk-BX4IGDGM.js";
12
+ } from "./chunk-J23MTK5H.js";
13
13
  import {
14
14
  AGENT_REASON,
15
15
  outputAgentError