vercel 59.5.0 → 59.7.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 (111) hide show
  1. package/dist/chunks/{add-Z5FM6TFI.js → add-7O4TM33A.js} +12 -12
  2. package/dist/chunks/{add-MH3WV6PV.js → add-UT6ZPA4F.js} +11 -11
  3. package/dist/chunks/{add-W3FFMTX4.js → add-UVMFKSSY.js} +11 -11
  4. package/dist/chunks/{build-VYYFBJL7.js → build-SKKT3DIB.js} +11 -11
  5. package/dist/chunks/{chunk-LLM3ZNXJ.js → chunk-2EH6SZRG.js} +2 -2
  6. package/dist/chunks/{chunk-UUVMIXT4.js → chunk-2T3IZZTJ.js} +4 -4
  7. package/dist/chunks/{chunk-RZ5NP6HN.js → chunk-2YRAWYGE.js} +1 -1
  8. package/dist/chunks/{chunk-TDXNNIZ6.js → chunk-3PA7LXYM.js} +2 -2
  9. package/dist/chunks/{chunk-KQRVZWJU.js → chunk-3T7WSWZH.js} +1 -1
  10. package/dist/chunks/{chunk-R6IGDGX3.js → chunk-5XECIWME.js} +1 -1
  11. package/dist/chunks/{chunk-PBHBX6UL.js → chunk-63OX2DER.js} +3 -3
  12. package/dist/chunks/{chunk-V4YLY44R.js → chunk-67IIZBBY.js} +2 -2
  13. package/dist/chunks/{chunk-AWSLWAOC.js → chunk-6JPVTPTU.js} +3 -3
  14. package/dist/chunks/{chunk-HT2XWSAJ.js → chunk-7AEEQOD4.js} +2 -29
  15. package/dist/chunks/{chunk-QG4PCM45.js → chunk-7HE63HCR.js} +102 -15
  16. package/dist/chunks/{chunk-FA3MO56Q.js → chunk-7IDPPWDN.js} +5 -5
  17. package/dist/chunks/{chunk-MRMNMFMD.js → chunk-7KSICC3A.js} +1 -1
  18. package/dist/chunks/{chunk-XBN2O34P.js → chunk-7ST552E3.js} +17 -4
  19. package/dist/chunks/{chunk-TAZ5ZAKG.js → chunk-AFKB6VMO.js} +2 -2
  20. package/dist/chunks/{chunk-CV4S27SS.js → chunk-ASBP32T6.js} +1 -1
  21. package/dist/chunks/{chunk-CQJRLNTX.js → chunk-AYLY3ZVL.js} +2 -2
  22. package/dist/chunks/{chunk-AWCID36T.js → chunk-BMKU5KEL.js} +1 -1
  23. package/dist/chunks/{chunk-E6LFKMI2.js → chunk-BQG777JE.js} +794 -124
  24. package/dist/chunks/{chunk-VWYNSJXI.js → chunk-CBHLLOGZ.js} +8 -8
  25. package/dist/chunks/{chunk-CSCSGSQG.js → chunk-CMRZ4KI4.js} +5 -5
  26. package/dist/chunks/{chunk-TIWAL2YU.js → chunk-DG6IMLCF.js} +6 -6
  27. package/dist/chunks/{chunk-YIHOS3ZF.js → chunk-FRAXI2WT.js} +1 -1
  28. package/dist/chunks/{chunk-7XX4ZEOV.js → chunk-FWKSJYDV.js} +1 -1
  29. package/dist/chunks/{chunk-OHER4DGX.js → chunk-FXD67VN5.js} +25 -9
  30. package/dist/chunks/{chunk-GUWPUX2Y.js → chunk-GK3RE3AC.js} +4 -4
  31. package/dist/chunks/{chunk-JNU3DTEV.js → chunk-IFNCPWH5.js} +9 -9
  32. package/dist/chunks/{chunk-PIMIKY4X.js → chunk-IJ4X426J.js} +1 -1
  33. package/dist/chunks/{chunk-NSU2BTRS.js → chunk-KD2N44NG.js} +4 -4
  34. package/dist/chunks/{chunk-TVXCXIRO.js → chunk-L3UXB2CW.js} +1 -1
  35. package/dist/chunks/{chunk-JJQP3PYM.js → chunk-MHCGKUI7.js} +5 -5
  36. package/dist/chunks/{chunk-47VQ6H2S.js → chunk-MUMITVZP.js} +2 -2
  37. package/dist/chunks/{chunk-L7CEMAJG.js → chunk-NGGLYKNU.js} +27 -5
  38. package/dist/chunks/{chunk-ZKUHCL6O.js → chunk-NJCM5JJN.js} +5 -5
  39. package/dist/chunks/{chunk-5LX2JDZP.js → chunk-O75LSD3C.js} +1 -1
  40. package/dist/chunks/{chunk-OX7KI3LF.js → chunk-QFAS4OVW.js} +18 -0
  41. package/dist/chunks/{chunk-4JTF6RD7.js → chunk-SSBYESJ5.js} +4 -4
  42. package/dist/chunks/{chunk-G75NFPIT.js → chunk-WNAKOXGK.js} +1 -1
  43. package/dist/chunks/{chunk-PPUWG2UB.js → chunk-WVPMR7XV.js} +58 -25
  44. package/dist/chunks/{chunk-CYNB6LL4.js → chunk-XNFHNTS2.js} +1 -1
  45. package/dist/chunks/{chunk-M3OSDZPY.js → chunk-XSYZDMUP.js} +16 -7
  46. package/dist/chunks/{chunk-VLPLCJZC.js → chunk-ZSFEACZU.js} +1 -1
  47. package/dist/chunks/{clear-TNGRDA7D.js → clear-X7M4WGBC.js} +11 -11
  48. package/dist/chunks/{compile-vercel-config-ERLXKKWW.js → compile-vercel-config-FBOZBWJC.js} +7 -7
  49. package/dist/chunks/{config-7EDKML5Q.js → config-KGW667XC.js} +9 -9
  50. package/dist/chunks/{config-H22EE765.js → config-RYPSCAR7.js} +11 -11
  51. package/dist/chunks/{delete-LORYIZHY.js → delete-OXYXXPHR.js} +8 -8
  52. package/dist/chunks/{delete-Q4S5F2AI.js → delete-VK6FTDBI.js} +9 -9
  53. package/dist/chunks/{disable-HKWCBDJC.js → disable-XRJTKNX4.js} +8 -8
  54. package/dist/chunks/{discard-UCCRF2JQ.js → discard-NAPSPR6Y.js} +8 -8
  55. package/dist/chunks/{edit-AWL35PYQ.js → edit-34GDLPQG.js} +10 -10
  56. package/dist/chunks/{edit-6IM6VRBR.js → edit-WLG4GLU3.js} +10 -10
  57. package/dist/chunks/{enable-GN3D3L3V.js → enable-IDKKVXKB.js} +8 -8
  58. package/dist/chunks/{exec-CNBOV577.js → exec-XH4K34JM.js} +3 -3
  59. package/dist/chunks/{export-HHRVFALV.js → export-MPMU3FYY.js} +8 -8
  60. package/dist/chunks/{image-4DCU4VPP.js → image-RZ2A4FWP.js} +6 -6
  61. package/dist/chunks/{import-builders-DVG3HOTF.js → import-builders-GZPE5N44.js} +9 -9
  62. package/dist/chunks/{inspect-B3OWUFLH.js → inspect-56S2DKPO.js} +11 -11
  63. package/dist/chunks/{inspect-VPME6UC7.js → inspect-EVDBNPP4.js} +11 -11
  64. package/dist/chunks/{inspect-TGOJDKIT.js → inspect-KGEMHV2T.js} +9 -9
  65. package/dist/chunks/{inspect-VLGKNHJW.js → inspect-OOV2ORKD.js} +11 -11
  66. package/dist/chunks/{inspect-TUW67CFZ.js → inspect-X2Y5FDKR.js} +10 -10
  67. package/dist/chunks/{list-K552ITMK.js → list-FWLSZYMO.js} +9 -9
  68. package/dist/chunks/{list-2DPKDHRV.js → list-H357CF7M.js} +10 -10
  69. package/dist/chunks/{list-TK2JO7BK.js → list-TWSOAQRB.js} +8 -8
  70. package/dist/chunks/{login-HRWEKW5P.js → login-54OPNB5E.js} +21 -12
  71. package/dist/chunks/{ls-JSV2WZVF.js → ls-6JHFSJBJ.js} +11 -11
  72. package/dist/chunks/{ls-O2WYF5UL.js → ls-DU3S2GBJ.js} +11 -11
  73. package/dist/chunks/{ls-IOXGXEY4.js → ls-VDFNIR5H.js} +10 -10
  74. package/dist/chunks/{ls-M5TYGFP5.js → ls-WFMTVJOO.js} +11 -11
  75. package/dist/chunks/{ls-YIF3KLF3.js → ls-WGIRTAVM.js} +11 -11
  76. package/dist/chunks/{ls-TM6NTZEB.js → ls-ZMR5RMU4.js} +9 -9
  77. package/dist/chunks/{open-FWAVEWGU.js → open-RCSCNKHF.js} +9 -9
  78. package/dist/chunks/{permissions-DPFYL47Z.js → permissions-XNN37R4N.js} +7 -7
  79. package/dist/chunks/{publish-63CGFKQR.js → publish-PLXEACYY.js} +8 -8
  80. package/dist/chunks/{push-T5ZTBW3P.js → push-EFYSB52Q.js} +11 -11
  81. package/dist/chunks/{query-B6O3EMEV.js → query-EKTXDOL7.js} +11 -11
  82. package/dist/chunks/{reorder-ANV4NMKH.js → reorder-OSA7D2RG.js} +8 -8
  83. package/dist/chunks/{reply-C73KGOCG.js → reply-6M2IYKLK.js} +10 -10
  84. package/dist/chunks/{resolve-IHSIVPEE.js → resolve-MCX5STKN.js} +9 -9
  85. package/dist/chunks/{restore-GSUNXP2O.js → restore-52OEP3NL.js} +8 -8
  86. package/dist/chunks/{rm-M7IJC2WZ.js → rm-2VAJFK25.js} +11 -11
  87. package/dist/chunks/{rm-RV5SQFQA.js → rm-4BJN2LJX.js} +11 -13
  88. package/dist/chunks/{rm-4O74PS4Q.js → rm-IYEDZOMN.js} +11 -11
  89. package/dist/chunks/{rm-PRINF4OU.js → rm-QW35WHSK.js} +11 -11
  90. package/dist/chunks/{rm-YDTK5ESZ.js → rm-TXV4GB4L.js} +10 -10
  91. package/dist/chunks/{routes-SZI2G4SE.js → routes-2OLIBRYX.js} +3 -3
  92. package/dist/chunks/{rule-inspect-ZZC53FLP.js → rule-inspect-WOBAN3Y2.js} +10 -10
  93. package/dist/chunks/{rules-SAOSSGFI.js → rules-CUJRAZYO.js} +10 -10
  94. package/dist/chunks/{schema-23ZFAKDU.js → schema-45SJNY5L.js} +4 -4
  95. package/dist/chunks/{schema-2Q3QRMRO.js → schema-VCGEJAOG.js} +9 -9
  96. package/dist/chunks/{set-L47ZCZBJ.js → set-2QSXMDVF.js} +9 -9
  97. package/dist/chunks/{tags-2TWLM77N.js → tags-NHX2VQ7E.js} +5 -5
  98. package/dist/chunks/{types-G3PEUIJH.js → types-JGANJ5EQ.js} +3 -3
  99. package/dist/chunks/{update-SZH2VBD6.js → update-EOHXTT4N.js} +12 -12
  100. package/dist/commands/build/builder-worker.cjs +281 -0
  101. package/dist/commands/build/index.js +798 -236
  102. package/dist/commands/deploy/index.js +103 -31
  103. package/dist/commands/dev/index.js +983 -176
  104. package/dist/commands/env/index.js +1167 -542
  105. package/dist/commands/link/index.js +10 -10
  106. package/dist/commands/list/index.js +10 -10
  107. package/dist/commands-bulk.js +2002 -962
  108. package/dist/index.js +16 -16
  109. package/dist/version.mjs +1 -1
  110. package/package.json +48 -48
  111. package/dist/chunks/chunk-HGRWPPYB.js +0 -18
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-TDXNNIZ6.js";
9
+ } from "./chunk-3PA7LXYM.js";
10
10
  import {
11
11
  autoInstallVercelPlugin
12
- } from "./chunk-HT2XWSAJ.js";
12
+ } from "./chunk-7AEEQOD4.js";
13
13
  import {
14
14
  stamp_default
15
15
  } from "./chunk-64IF634X.js";
16
16
  import {
17
17
  pullCommand
18
- } from "./chunk-7XX4ZEOV.js";
18
+ } from "./chunk-FWKSJYDV.js";
19
19
  import {
20
20
  help
21
- } from "./chunk-RZ5NP6HN.js";
21
+ } from "./chunk-2YRAWYGE.js";
22
22
  import {
23
23
  VERCEL_DIR,
24
24
  VERCEL_DIR_PROJECT,
@@ -26,13 +26,13 @@ import {
26
26
  envPullCommandLogic,
27
27
  humanizePath,
28
28
  parseTarget
29
- } from "./chunk-E6LFKMI2.js";
29
+ } from "./chunk-BQG777JE.js";
30
30
  import {
31
31
  TelemetryClient
32
- } from "./chunk-CYNB6LL4.js";
32
+ } from "./chunk-XNFHNTS2.js";
33
33
  import {
34
34
  printError
35
- } from "./chunk-CQJRLNTX.js";
35
+ } from "./chunk-AYLY3ZVL.js";
36
36
  import {
37
37
  parseArguments
38
38
  } from "./chunk-57RHXXXG.js";
@@ -43,7 +43,7 @@ import {
43
43
  emoji,
44
44
  output_manager_default,
45
45
  prependEmoji
46
- } from "./chunk-OX7KI3LF.js";
46
+ } from "./chunk-QFAS4OVW.js";
47
47
  import {
48
48
  require_source
49
49
  } from "./chunk-S7KYDPEM.js";
@@ -6,21 +6,21 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  isJSONObject
9
- } from "./chunk-4JTF6RD7.js";
9
+ } from "./chunk-SSBYESJ5.js";
10
10
  import {
11
11
  getProjectByNameOrId
12
- } from "./chunk-E6LFKMI2.js";
12
+ } from "./chunk-BQG777JE.js";
13
13
  import {
14
14
  AGENT_REASON,
15
15
  outputAgentError
16
- } from "./chunk-L7CEMAJG.js";
16
+ } from "./chunk-NGGLYKNU.js";
17
17
  import {
18
18
  ProjectNotFound,
19
19
  isAPIError
20
- } from "./chunk-AWCID36T.js";
20
+ } from "./chunk-BMKU5KEL.js";
21
21
  import {
22
22
  output_manager_default
23
- } from "./chunk-OX7KI3LF.js";
23
+ } from "./chunk-QFAS4OVW.js";
24
24
 
25
25
  // src/commands/alerts/rules/custom-alert-query.ts
26
26
  async function resolveCustomAlertProjectName(client, scope, projectId) {
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  loginCommand
9
- } from "./chunk-QG4PCM45.js";
9
+ } from "./chunk-7HE63HCR.js";
10
10
  import {
11
11
  help
12
- } from "./chunk-RZ5NP6HN.js";
12
+ } from "./chunk-2YRAWYGE.js";
13
13
  import {
14
14
  login
15
- } from "./chunk-E6LFKMI2.js";
15
+ } from "./chunk-BQG777JE.js";
16
16
  import {
17
17
  TelemetryClient
18
- } from "./chunk-CYNB6LL4.js";
18
+ } from "./chunk-XNFHNTS2.js";
19
19
  import {
20
20
  printError
21
- } from "./chunk-CQJRLNTX.js";
21
+ } from "./chunk-AYLY3ZVL.js";
22
22
  import {
23
23
  parseArguments
24
24
  } from "./chunk-57RHXXXG.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-Q2DGFCO7.js";
28
28
  import {
29
29
  output_manager_default
30
- } from "./chunk-OX7KI3LF.js";
30
+ } from "./chunk-QFAS4OVW.js";
31
31
  import {
32
32
  require_source
33
33
  } from "./chunk-S7KYDPEM.js";
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getResolvedOrderMetadata,
9
9
  getRollupColumnName
10
- } from "./chunk-CV4S27SS.js";
10
+ } from "./chunk-ASBP32T6.js";
11
11
  import {
12
12
  formatGranularity
13
13
  } from "./chunk-5AJPMLDV.js";
@@ -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-OHER4DGX.js";
9
+ } from "./chunk-FXD67VN5.js";
10
10
  import {
11
11
  packageName,
12
12
  projectOption,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_dist
9
- } from "./chunk-CYNB6LL4.js";
9
+ } from "./chunk-XNFHNTS2.js";
10
10
  import {
11
11
  forceOption,
12
12
  formatOption,
@@ -97,25 +97,33 @@ var addSubcommand = {
97
97
  },
98
98
  {
99
99
  name: "sensitive",
100
- description: "Store the value as sensitive for Production or Preview",
100
+ description: "Store the value as a Secret",
101
101
  shorthand: null,
102
102
  type: Boolean,
103
103
  deprecated: false
104
104
  },
105
105
  {
106
106
  name: "no-sensitive",
107
- description: "Store the value as non-sensitive when policy allows",
107
+ description: "Store the value as Config",
108
108
  shorthand: null,
109
109
  type: Boolean,
110
110
  deprecated: false
111
111
  },
112
+ {
113
+ name: "type",
114
+ description: "Set the Environment Variable type (`config` or `secret`)",
115
+ shorthand: null,
116
+ type: String,
117
+ argument: "TYPE",
118
+ deprecated: false
119
+ },
112
120
  {
113
121
  name: "visibility",
114
- description: "Set config/secret visibility (`config` or `secret`). Inferred from type when omitted",
122
+ description: "Deprecated alias for `--type`",
115
123
  shorthand: null,
116
124
  type: String,
117
125
  argument: "VISIBILITY",
118
- deprecated: false
126
+ deprecated: true
119
127
  },
120
128
  {
121
129
  ...forceOption,
@@ -169,7 +177,7 @@ var addSubcommand = {
169
177
  value: `${packageName} env add API_TOKEN --force`
170
178
  },
171
179
  {
172
- name: "Add a regular (non-sensitive) Environment Variable that remains readable later",
180
+ name: "Add a Config Environment Variable that remains readable later",
173
181
  value: `${packageName} env add API_TOKEN --no-sensitive`
174
182
  },
175
183
  {
@@ -352,18 +360,26 @@ var updateSubcommand = {
352
360
  projectOption,
353
361
  {
354
362
  name: "sensitive",
355
- description: "Update to a sensitive Environment Variable",
363
+ description: "Store the updated value as a Secret",
356
364
  shorthand: null,
357
365
  type: Boolean,
358
366
  deprecated: false
359
367
  },
368
+ {
369
+ name: "type",
370
+ description: "Set the Environment Variable type (`config` or `secret`)",
371
+ shorthand: null,
372
+ type: String,
373
+ argument: "TYPE",
374
+ deprecated: false
375
+ },
360
376
  {
361
377
  name: "visibility",
362
- description: "Set config/secret visibility (`config` or `secret`). Inferred from type when omitted",
378
+ description: "Deprecated alias for `--type`",
363
379
  shorthand: null,
364
380
  type: String,
365
381
  argument: "VISIBILITY",
366
- deprecated: false
382
+ deprecated: true
367
383
  },
368
384
  {
369
385
  ...yesOption,
@@ -7,23 +7,23 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  login,
9
9
  require_ci_info
10
- } from "./chunk-TIWAL2YU.js";
10
+ } from "./chunk-DG6IMLCF.js";
11
11
  import {
12
12
  getGlobalPathConfig
13
13
  } from "./chunk-AINIBIP4.js";
14
14
  import {
15
15
  humanizePath,
16
16
  param
17
- } from "./chunk-E6LFKMI2.js";
17
+ } from "./chunk-BQG777JE.js";
18
18
  import {
19
19
  printError
20
- } from "./chunk-CQJRLNTX.js";
20
+ } from "./chunk-AYLY3ZVL.js";
21
21
  import {
22
22
  getCommandName
23
23
  } from "./chunk-Q2DGFCO7.js";
24
24
  import {
25
25
  output_manager_default
26
- } from "./chunk-OX7KI3LF.js";
26
+ } from "./chunk-QFAS4OVW.js";
27
27
  import {
28
28
  __toESM
29
29
  } from "./chunk-TZ2YI2VH.js";
@@ -7,14 +7,14 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommandInfo,
9
9
  isGlobal
10
- } from "./chunk-LLM3ZNXJ.js";
10
+ } from "./chunk-2EH6SZRG.js";
11
11
  import {
12
12
  progress,
13
13
  require_ci_info
14
- } from "./chunk-TIWAL2YU.js";
14
+ } from "./chunk-DG6IMLCF.js";
15
15
  import {
16
16
  writeToConfigFile
17
- } from "./chunk-4JTF6RD7.js";
17
+ } from "./chunk-SSBYESJ5.js";
18
18
  import {
19
19
  getGlobalPathConfig
20
20
  } from "./chunk-AINIBIP4.js";
@@ -24,30 +24,30 @@ import {
24
24
  import {
25
25
  apiCommand,
26
26
  listSubcommand4 as listSubcommand
27
- } from "./chunk-QG4PCM45.js";
27
+ } from "./chunk-7HE63HCR.js";
28
28
  import {
29
29
  require_semver
30
30
  } from "./chunk-IB5L4LKZ.js";
31
31
  import {
32
32
  help
33
- } from "./chunk-RZ5NP6HN.js";
33
+ } from "./chunk-2YRAWYGE.js";
34
34
  import {
35
35
  require_chownr,
36
36
  require_mkdirp,
37
37
  require_pump,
38
38
  require_tar_stream
39
- } from "./chunk-E6LFKMI2.js";
39
+ } from "./chunk-BQG777JE.js";
40
40
  import {
41
41
  TelemetryClient,
42
42
  getInstallRoot,
43
43
  isNativeBinaryInstall
44
- } from "./chunk-CYNB6LL4.js";
44
+ } from "./chunk-XNFHNTS2.js";
45
45
  import {
46
46
  require_ms
47
47
  } from "./chunk-GGP5R3FU.js";
48
48
  import {
49
49
  printError
50
- } from "./chunk-CQJRLNTX.js";
50
+ } from "./chunk-AYLY3ZVL.js";
51
51
  import {
52
52
  parseArguments
53
53
  } from "./chunk-57RHXXXG.js";
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-52QYYTM5.js";
68
68
  import {
69
69
  output_manager_default
70
- } from "./chunk-OX7KI3LF.js";
70
+ } from "./chunk-QFAS4OVW.js";
71
71
  import {
72
72
  require_source
73
73
  } from "./chunk-S7KYDPEM.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-2473DUBR.js";
10
10
  import {
11
11
  outputError
12
- } from "./chunk-KQRVZWJU.js";
12
+ } from "./chunk-3T7WSWZH.js";
13
13
 
14
14
  // src/commands/comments/content.ts
15
15
  import { readFileSync } from "fs";
@@ -6,21 +6,21 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  outputError
9
- } from "./chunk-KQRVZWJU.js";
9
+ } from "./chunk-3T7WSWZH.js";
10
10
  import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-E6LFKMI2.js";
14
+ } from "./chunk-BQG777JE.js";
15
15
  import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
18
18
  outputAgentError
19
- } from "./chunk-L7CEMAJG.js";
19
+ } from "./chunk-NGGLYKNU.js";
20
20
  import {
21
21
  ProjectNotFound,
22
22
  isAPIError
23
- } from "./chunk-AWCID36T.js";
23
+ } from "./chunk-BMKU5KEL.js";
24
24
 
25
25
  // src/commands/alerts/resolve-alerts-scope.ts
26
26
  function emitAlertsScopeError(client, jsonOutput, code, message, agent) {
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  TelemetryClient
9
- } from "./chunk-CYNB6LL4.js";
9
+ } from "./chunk-XNFHNTS2.js";
10
10
 
11
11
  // src/util/telemetry/commands/routes/index.ts
12
12
  var RoutesTelemetryClient = class extends TelemetryClient {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IB5L4LKZ.js";
10
10
  import {
11
11
  require_execa
12
- } from "./chunk-R6IGDGX3.js";
12
+ } from "./chunk-5XECIWME.js";
13
13
  import {
14
14
  VERCEL_CONFIG_EXTENSIONS,
15
15
  VERCEL_DIR,
@@ -18,14 +18,14 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-E6LFKMI2.js";
21
+ } from "./chunk-BQG777JE.js";
22
22
  import {
23
23
  isNativeBinaryInstall
24
- } from "./chunk-CYNB6LL4.js";
24
+ } from "./chunk-XNFHNTS2.js";
25
25
  import {
26
26
  CantParseJSONFile,
27
27
  code
28
- } from "./chunk-AWCID36T.js";
28
+ } from "./chunk-BMKU5KEL.js";
29
29
  import {
30
30
  cmd
31
31
  } from "./chunk-Q2DGFCO7.js";
@@ -35,7 +35,7 @@ import {
35
35
  import {
36
36
  output_manager_default,
37
37
  require_dist
38
- } from "./chunk-OX7KI3LF.js";
38
+ } from "./chunk-QFAS4OVW.js";
39
39
  import {
40
40
  __commonJS,
41
41
  __export,
@@ -8,10 +8,10 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-UUVMIXT4.js";
11
+ } from "./chunk-2T3IZZTJ.js";
12
12
  import {
13
13
  output_manager_default
14
- } from "./chunk-OX7KI3LF.js";
14
+ } from "./chunk-QFAS4OVW.js";
15
15
  import {
16
16
  require_source
17
17
  } from "./chunk-S7KYDPEM.js";
@@ -8,7 +8,7 @@ import {
8
8
  LinkRequiredError,
9
9
  ProjectNotFound,
10
10
  isAPIError
11
- } from "./chunk-AWCID36T.js";
11
+ } from "./chunk-BMKU5KEL.js";
12
12
  import {
13
13
  getGlobalFlagsFromArgs,
14
14
  packageName,
@@ -17,11 +17,19 @@ import {
17
17
  } from "./chunk-Q2DGFCO7.js";
18
18
  import {
19
19
  require_dist
20
- } from "./chunk-OX7KI3LF.js";
20
+ } from "./chunk-QFAS4OVW.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-TZ2YI2VH.js";
24
24
 
25
+ // src/util/flags/quote-arg.ts
26
+ function quoteArg(value) {
27
+ if (/^[A-Za-z0-9_./@:-]+$/.test(value)) {
28
+ return value;
29
+ }
30
+ return `'${value.replace(/'/g, `'\\''`)}'`;
31
+ }
32
+
25
33
  // src/util/agent-output.ts
26
34
  var import_error_utils = __toESM(require_dist(), 1);
27
35
  function buildCommandWithYes(argv, pkgName = packageName) {
@@ -30,6 +38,18 @@ function buildCommandWithYes(argv, pkgName = packageName) {
30
38
  const out = hasYes ? args : [...args, "--yes"];
31
39
  return `${pkgName} ${out.join(" ")}`.trim();
32
40
  }
41
+ function redactEnvValueArgs(argv) {
42
+ const redacted = [...argv];
43
+ for (let i = 0; i < redacted.length; i++) {
44
+ if (redacted[i] === "--value" && i + 1 < redacted.length) {
45
+ redacted[i + 1] = '"<value>"';
46
+ i++;
47
+ } else if (redacted[i].startsWith("--value=")) {
48
+ redacted[i] = '--value="<value>"';
49
+ }
50
+ }
51
+ return redacted;
52
+ }
33
53
  var GLOBAL_FLAG_NAMES = /* @__PURE__ */ new Set([
34
54
  "--cwd",
35
55
  "--config",
@@ -212,7 +232,7 @@ function buildEnvAddCommandWithPreservedArgs(argv, commandTemplate, pkgName = pa
212
232
  const base = `${pkgName} ${commandTemplate}`;
213
233
  if (preserved.length === 0)
214
234
  return base;
215
- return `${base} ${preserved.join(" ")}`;
235
+ return `${base} ${preserved.map(quoteArg).join(" ")}`;
216
236
  }
217
237
  function getPreservedArgsForEnvPull(argv) {
218
238
  return getPreservedArgsAfterEnvSubcommand(argv, ["pull"], 1);
@@ -228,7 +248,7 @@ function buildEnvRmCommandWithPreservedArgs(argv, commandTemplate, pkgName = pac
228
248
  const base = `${pkgName} ${commandTemplate}`;
229
249
  if (preserved.length === 0)
230
250
  return base;
231
- return `${base} ${preserved.join(" ")}`;
251
+ return `${base} ${preserved.map(quoteArg).join(" ")}`;
232
252
  }
233
253
  function getPreservedArgsForEnvUpdate(argv) {
234
254
  return getPreservedArgsAfterEnvSubcommand(argv, ["update"], 3);
@@ -241,7 +261,7 @@ function buildEnvUpdateCommandWithPreservedArgs(argv, commandTemplate, pkgName =
241
261
  const base = `${pkgName} ${commandTemplate}`;
242
262
  if (preserved.length === 0)
243
263
  return base;
244
- return `${base} ${preserved.join(" ")}`;
264
+ return `${base} ${preserved.map(quoteArg).join(" ")}`;
245
265
  }
246
266
  function buildCommandWithScope(argv, scopeSlug, pkgName = packageName) {
247
267
  const args = stripSensitiveAuthArgs(argv.slice(2));
@@ -663,7 +683,9 @@ var AGENT_ACTION = {
663
683
  };
664
684
 
665
685
  export {
686
+ quoteArg,
666
687
  buildCommandWithYes,
688
+ redactEnvValueArgs,
667
689
  omitGlobalFlagsFromArgs,
668
690
  buildIntegrationCommandTailFromArgv,
669
691
  buildCommandWithGlobalFlags,
@@ -13,21 +13,21 @@ import {
13
13
  import {
14
14
  detectExplicitScope,
15
15
  resolveProjectContext
16
- } from "./chunk-E6LFKMI2.js";
16
+ } from "./chunk-BQG777JE.js";
17
17
  import {
18
18
  AGENT_REASON,
19
19
  AGENT_STATUS,
20
20
  outputAgentError
21
- } from "./chunk-L7CEMAJG.js";
21
+ } from "./chunk-NGGLYKNU.js";
22
22
  import {
23
23
  printError
24
- } from "./chunk-CQJRLNTX.js";
24
+ } from "./chunk-AYLY3ZVL.js";
25
25
  import {
26
26
  isAPIError
27
- } from "./chunk-AWCID36T.js";
27
+ } from "./chunk-BMKU5KEL.js";
28
28
  import {
29
29
  output_manager_default
30
- } from "./chunk-OX7KI3LF.js";
30
+ } from "./chunk-QFAS4OVW.js";
31
31
 
32
32
  // src/commands/traces/config/errors.ts
33
33
  function messageFor(err) {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-Q2DGFCO7.js";
10
10
  import {
11
11
  output_manager_default
12
- } from "./chunk-OX7KI3LF.js";
12
+ } from "./chunk-QFAS4OVW.js";
13
13
  import {
14
14
  require_source
15
15
  } from "./chunk-S7KYDPEM.js";
@@ -4488,6 +4488,16 @@ function wait(opts, delay = 300) {
4488
4488
  // src/util/output/create-output.ts
4489
4489
  var import_error_utils = __toESM(require_dist(), 1);
4490
4490
  import { inspect } from "util";
4491
+
4492
+ // src/util/output/chars.ts
4493
+ var chars = {
4494
+ tick: process.platform === "win32" ? "\u221A" : "\u2714",
4495
+ cross: process.platform === "win32" ? "\u2613" : "\u2718",
4496
+ fatal: process.platform === "win32" ? "x" : "\u2717"
4497
+ };
4498
+ var chars_default = chars;
4499
+
4500
+ // src/util/output/create-output.ts
4491
4501
  var IS_TEST = process.env.NODE_ENV === "test";
4492
4502
  var defaultChalkColorLevel = 0;
4493
4503
  var Output = class {
@@ -4532,6 +4542,13 @@ ${action}: ${link_default(details)}` : "")
4532
4542
  `);
4533
4543
  }
4534
4544
  };
4545
+ /**
4546
+ * Prints a fatal error. This does not exit; the caller owns the exit code.
4547
+ */
4548
+ this.fatal = (str) => {
4549
+ this.print(`${import_chalk3.default.red(chars_default.fatal)} ${str.replace(/\n/g, "\n ")}
4550
+ `);
4551
+ };
4535
4552
  this.prettyError = (err) => {
4536
4553
  return this.error(
4537
4554
  (0, import_error_utils.errorToString)(err),
@@ -4685,5 +4702,6 @@ export {
4685
4702
  eraseLines,
4686
4703
  emoji,
4687
4704
  prependEmoji,
4705
+ chars_default,
4688
4706
  output_manager_default
4689
4707
  };
@@ -37,10 +37,10 @@ import {
37
37
  useKeypress,
38
38
  usePrefix,
39
39
  useState
40
- } from "./chunk-E6LFKMI2.js";
40
+ } from "./chunk-BQG777JE.js";
41
41
  import {
42
42
  require_load_json_file
43
- } from "./chunk-CYNB6LL4.js";
43
+ } from "./chunk-XNFHNTS2.js";
44
44
  import {
45
45
  parseArguments
46
46
  } from "./chunk-57RHXXXG.js";
@@ -50,7 +50,7 @@ import {
50
50
  import {
51
51
  APIError,
52
52
  NowError
53
- } from "./chunk-AWCID36T.js";
53
+ } from "./chunk-BMKU5KEL.js";
54
54
  import {
55
55
  pkg_default
56
56
  } from "./chunk-P4QNYOFB.js";
@@ -65,7 +65,7 @@ import {
65
65
  prependEmoji,
66
66
  require_ansi_escapes,
67
67
  require_dist
68
- } from "./chunk-OX7KI3LF.js";
68
+ } from "./chunk-QFAS4OVW.js";
69
69
  import {
70
70
  require_source
71
71
  } from "./chunk-S7KYDPEM.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_isexe
9
- } from "./chunk-R6IGDGX3.js";
9
+ } from "./chunk-5XECIWME.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require