vercel 50.26.1 → 50.27.1

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 (55) hide show
  1. package/dist/chunks/{chunk-6PXAVV2L.js → chunk-3JC5TRIO.js} +1 -1
  2. package/dist/chunks/{chunk-JASYFCY2.js → chunk-3TJA3L7S.js} +1 -1
  3. package/dist/chunks/{chunk-SFB3SJLL.js → chunk-5M5LB7H3.js} +2 -2
  4. package/dist/chunks/{chunk-4ERN37SL.js → chunk-74FAEDOJ.js} +3 -3
  5. package/dist/chunks/{chunk-7BDYS3VU.js → chunk-7HO2G45R.js} +5 -5
  6. package/dist/chunks/{chunk-SBGUY2AD.js → chunk-BJGBBDSZ.js} +11 -11
  7. package/dist/chunks/{chunk-YRWIOAB2.js → chunk-BPNHA3JM.js} +1 -1
  8. package/dist/chunks/{chunk-OU55DWJO.js → chunk-C35CP6ME.js} +2 -2
  9. package/dist/chunks/{chunk-D6N5LX6O.js → chunk-CG333N7V.js} +2 -2
  10. package/dist/chunks/{chunk-AGV6UFOV.js → chunk-CYAVL42U.js} +7 -7
  11. package/dist/chunks/{chunk-5F2QN5D6.js → chunk-E62U7NDJ.js} +1 -1
  12. package/dist/chunks/{chunk-O3SGELRW.js → chunk-EGAVOTVF.js} +2 -2
  13. package/dist/chunks/{chunk-UQKYDNY6.js → chunk-EI4YJ4CI.js} +6 -6
  14. package/dist/chunks/{chunk-NL5XL5GP.js → chunk-GF4DUO5V.js} +1 -1
  15. package/dist/chunks/{chunk-HEDSELXI.js → chunk-I6EBQHTG.js} +5 -5
  16. package/dist/chunks/{chunk-NVFDDZOY.js → chunk-IPGYCRLR.js} +2 -2
  17. package/dist/chunks/{chunk-GT2DPHE7.js → chunk-J6O3QMTY.js} +1 -1
  18. package/dist/chunks/{chunk-MDYEK77Z.js → chunk-LKFCHXVW.js} +39 -8
  19. package/dist/chunks/{chunk-SX2UUXSH.js → chunk-LR5ZRFTN.js} +2 -2
  20. package/dist/chunks/{chunk-VY4HJ3GH.js → chunk-LVTJTA3V.js} +1 -1
  21. package/dist/chunks/{chunk-IMSUKP26.js → chunk-M2JP6QOR.js} +6 -6
  22. package/dist/chunks/{chunk-PCDFSIYF.js → chunk-MEO2W3VH.js} +1 -1
  23. package/dist/chunks/{chunk-VSHBHYX6.js → chunk-R7SIMTCI.js} +2 -2
  24. package/dist/chunks/{chunk-KMUNXQHB.js → chunk-TB6A2EBK.js} +2 -2
  25. package/dist/chunks/{chunk-FAEE2QHP.js → chunk-TYFJRAMD.js} +7 -7
  26. package/dist/chunks/{chunk-JCWOSBWL.js → chunk-UKQKPQ2O.js} +1 -1
  27. package/dist/chunks/{chunk-6Z22ZOUC.js → chunk-VAIKIQWX.js} +2 -2
  28. package/dist/chunks/{chunk-ZDA4Y7RR.js → chunk-WQFWX5AR.js} +1 -1
  29. package/dist/chunks/{chunk-H453R2DO.js → chunk-XUB7W2DJ.js} +4 -4
  30. package/dist/chunks/{chunk-HF7WQJKX.js → chunk-YVBFZQJC.js} +1 -1
  31. package/dist/chunks/{chunk-LZOFD677.js → chunk-ZSXNST6O.js} +2 -2
  32. package/dist/chunks/{compile-vercel-config-5WIYUMGH.js → compile-vercel-config-3EL3ZMH7.js} +3 -3
  33. package/dist/chunks/{delete-766UEYPW.js → delete-GFLDRTEM.js} +4 -4
  34. package/dist/chunks/{disable-CCY7KHVF.js → disable-5X6LTJOK.js} +4 -4
  35. package/dist/chunks/{discard-TXAARHDS.js → discard-TJTG7EYI.js} +4 -4
  36. package/dist/chunks/{edit-PW3JGQWG.js → edit-3MQOZU6Q.js} +5 -5
  37. package/dist/chunks/{enable-4TE5SGAE.js → enable-NVYUKJRC.js} +4 -4
  38. package/dist/chunks/{export-EKBBAETZ.js → export-J4EWOHEG.js} +4 -4
  39. package/dist/chunks/{list-TYCZBCTY.js → list-MIURHUPX.js} +4 -4
  40. package/dist/chunks/{publish-PBJO7EHB.js → publish-PUJHLKSI.js} +4 -4
  41. package/dist/chunks/{query-UPHVXX2Z.js → query-Q6O3GPOO.js} +5 -5
  42. package/dist/chunks/{reorder-QI5SFBIV.js → reorder-TDZBLHM4.js} +4 -4
  43. package/dist/chunks/{restore-BMT7NTZG.js → restore-I6JH56D3.js} +4 -4
  44. package/dist/chunks/{schema-ASGQV2JH.js → schema-OE4DVOSH.js} +4 -4
  45. package/dist/chunks/{types-ERNAF2TU.js → types-ZUE6VP4G.js} +3 -3
  46. package/dist/commands/build/index.js +15 -15
  47. package/dist/commands/deploy/index.js +23 -23
  48. package/dist/commands/dev/index.js +17 -17
  49. package/dist/commands/env/index.js +15 -15
  50. package/dist/commands/link/index.js +15 -15
  51. package/dist/commands/list/index.js +8 -8
  52. package/dist/commands-bulk.js +1164 -1009
  53. package/dist/index.js +37 -26
  54. package/dist/version.mjs +1 -1
  55. package/package.json +11 -11
@@ -9,7 +9,7 @@ import {
9
9
  limitOption,
10
10
  nextOption,
11
11
  packageName
12
- } from "./chunk-YRWIOAB2.js";
12
+ } from "./chunk-BPNHA3JM.js";
13
13
 
14
14
  // src/commands/activity/command.ts
15
15
  var typesSubcommand = {
@@ -13,7 +13,7 @@ import {
13
13
  InvalidDeploymentId,
14
14
  TooManyRequests,
15
15
  isAPIError
16
- } from "./chunk-YRWIOAB2.js";
16
+ } from "./chunk-BPNHA3JM.js";
17
17
 
18
18
  // src/util/to-host.ts
19
19
  function toHost(url) {
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getTeamById,
9
9
  getUser
10
- } from "./chunk-SBGUY2AD.js";
10
+ } from "./chunk-BJGBBDSZ.js";
11
11
  import {
12
12
  TeamDeleted
13
- } from "./chunk-YRWIOAB2.js";
13
+ } from "./chunk-BPNHA3JM.js";
14
14
 
15
15
  // src/util/get-scope.ts
16
16
  async function getScope(client, opts = {}) {
@@ -6,18 +6,18 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  setupAndLink
9
- } from "./chunk-7BDYS3VU.js";
9
+ } from "./chunk-7HO2G45R.js";
10
10
  import {
11
11
  buildCommandWithYes,
12
12
  getLinkedProject,
13
13
  outputActionRequired,
14
14
  param,
15
15
  resolveProjectCwd
16
- } from "./chunk-SBGUY2AD.js";
16
+ } from "./chunk-BJGBBDSZ.js";
17
17
  import {
18
18
  getCommandName,
19
19
  getCommandNamePlain
20
- } from "./chunk-YRWIOAB2.js";
20
+ } from "./chunk-BPNHA3JM.js";
21
21
  import {
22
22
  output_manager_default
23
23
  } from "./chunk-I2CIWYG5.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-NVFDDZOY.js";
9
+ } from "./chunk-IPGYCRLR.js";
10
10
  import {
11
11
  compileVercelConfig
12
- } from "./chunk-6Z22ZOUC.js";
12
+ } from "./chunk-VAIKIQWX.js";
13
13
  import {
14
14
  VERCEL_DIR_PROJECT,
15
15
  VERCEL_DIR_README,
@@ -31,16 +31,16 @@ import {
31
31
  selectAndParseRemoteUrl,
32
32
  selectOrg,
33
33
  tryDetectServices
34
- } from "./chunk-SBGUY2AD.js";
34
+ } from "./chunk-BJGBBDSZ.js";
35
35
  import {
36
36
  table
37
- } from "./chunk-HF7WQJKX.js";
37
+ } from "./chunk-YVBFZQJC.js";
38
38
  import {
39
39
  CantParseJSONFile,
40
40
  ProjectNotFound,
41
41
  isAPIError,
42
42
  printError
43
- } from "./chunk-YRWIOAB2.js";
43
+ } from "./chunk-BPNHA3JM.js";
44
44
  import {
45
45
  output_manager_default
46
46
  } from "./chunk-I2CIWYG5.js";
@@ -35,7 +35,7 @@ import {
35
35
  require_string_width,
36
36
  require_strip_ansi,
37
37
  yesOption
38
- } from "./chunk-YRWIOAB2.js";
38
+ } from "./chunk-BPNHA3JM.js";
39
39
  import {
40
40
  emoji,
41
41
  eraseLines,
@@ -8351,10 +8351,10 @@ var require_frameworks = __commonJS({
8351
8351
  const nowRoutes = JSON.parse(content);
8352
8352
  try {
8353
8353
  await unlink(nowRoutesPath);
8354
- } catch (err) {
8354
+ } catch (_err) {
8355
8355
  }
8356
8356
  return nowRoutes;
8357
- } catch (err) {
8357
+ } catch (_err) {
8358
8358
  return [
8359
8359
  {
8360
8360
  src: "^/static/(.*)$",
@@ -13953,7 +13953,7 @@ var require_superstatic = __commonJS({
13953
13953
  route.missing = r.missing;
13954
13954
  }
13955
13955
  return route;
13956
- } catch (e) {
13956
+ } catch (_e) {
13957
13957
  throw new Error(`Failed to parse redirect: ${JSON.stringify(r)}`);
13958
13958
  }
13959
13959
  });
@@ -13986,7 +13986,7 @@ var require_superstatic = __commonJS({
13986
13986
  route.status = r.statusCode;
13987
13987
  }
13988
13988
  return route;
13989
- } catch (e) {
13989
+ } catch (_e) {
13990
13990
  throw new Error(`Failed to parse rewrite: ${JSON.stringify(r)}`);
13991
13991
  }
13992
13992
  });
@@ -14197,7 +14197,7 @@ var require_superstatic = __commonJS({
14197
14197
  if (attemptDirectCompile) {
14198
14198
  try {
14199
14199
  return (0, import_path_to_regexp.compile)(value, { validate: false })(indexes);
14200
- } catch (e) {
14200
+ } catch (_e) {
14201
14201
  }
14202
14202
  }
14203
14203
  for (const key of Object.keys(indexes)) {
@@ -15393,7 +15393,7 @@ var require_dist5 = __commonJS({
15393
15393
  function checkRegexSyntax(type, index, src) {
15394
15394
  try {
15395
15395
  new RegExp(src);
15396
- } catch (err) {
15396
+ } catch (_err) {
15397
15397
  const prop = type === "Route" ? "src`/`source" : "source";
15398
15398
  return `${type} at index ${index} has invalid \`${prop}\` regular expression "${src}".`;
15399
15399
  }
@@ -15408,7 +15408,7 @@ var require_dist5 = __commonJS({
15408
15408
  const destinationSegments = /* @__PURE__ */ new Set();
15409
15409
  try {
15410
15410
  sourceSegments = new Set((0, import_superstatic.sourceToRegex)(source).segments);
15411
- } catch (err) {
15411
+ } catch (_err) {
15412
15412
  return {
15413
15413
  message: `${type} at index ${index} has invalid \`source\` pattern "${source}".`,
15414
15414
  link: "https://vercel.link/invalid-route-source-pattern"
@@ -15429,7 +15429,7 @@ var require_dist5 = __commonJS({
15429
15429
  (name) => destinationSegments.add(name)
15430
15430
  );
15431
15431
  }
15432
- } catch (err) {
15432
+ } catch (_err) {
15433
15433
  }
15434
15434
  const hasSegments = (0, import_superstatic.collectHasSegments)(has);
15435
15435
  for (const segment of destinationSegments) {
@@ -36969,7 +36969,7 @@ async function addToGitIgnore(path2, ignore = VERCEL_DIR) {
36969
36969
  await (0, import_fs_extra2.writeFile)(gitIgnorePath, gitIgnore);
36970
36970
  isGitIgnoreUpdated = true;
36971
36971
  }
36972
- } catch (error) {
36972
+ } catch (_error) {
36973
36973
  }
36974
36974
  return isGitIgnoreUpdated;
36975
36975
  }
@@ -37933,7 +37933,7 @@ async function linkFolderToProject(client, path2, projectLink, projectName, orgS
37933
37933
  "Failed to pull environment variables. You can run `vc env pull` manually."
37934
37934
  );
37935
37935
  }
37936
- } catch (error) {
37936
+ } catch (_error) {
37937
37937
  output_manager_default.error(
37938
37938
  "Failed to pull environment variables. You can run `vc env pull` manually."
37939
37939
  );
@@ -1363,7 +1363,7 @@ async function responseError(res, fallbackMessage = null, parsedBody = {}) {
1363
1363
  let body;
1364
1364
  try {
1365
1365
  body = await res.json();
1366
- } catch (err2) {
1366
+ } catch (_err) {
1367
1367
  body = parsedBody;
1368
1368
  }
1369
1369
  bodyError = body.error || body.err || {};
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_end_of_stream
9
- } from "./chunk-VY4HJ3GH.js";
9
+ } from "./chunk-LVTJTA3V.js";
10
10
  import {
11
11
  require_once
12
- } from "./chunk-SBGUY2AD.js";
12
+ } from "./chunk-BJGBBDSZ.js";
13
13
  import {
14
14
  require_signal_exit
15
15
  } from "./chunk-I2CIWYG5.js";
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getLinkedProject
9
- } from "./chunk-SBGUY2AD.js";
9
+ } from "./chunk-BJGBBDSZ.js";
10
10
  import {
11
11
  getCommandName,
12
12
  getFlagsSpecification,
13
13
  parseArguments,
14
14
  printError
15
- } from "./chunk-YRWIOAB2.js";
15
+ } from "./chunk-BPNHA3JM.js";
16
16
  import {
17
17
  output_manager_default
18
18
  } from "./chunk-I2CIWYG5.js";
@@ -10,30 +10,30 @@ import {
10
10
  require_dist as require_dist2,
11
11
  sleep,
12
12
  ua_default
13
- } from "./chunk-FAEE2QHP.js";
13
+ } from "./chunk-TYFJRAMD.js";
14
14
  import {
15
15
  suggestNextCommands
16
16
  } from "./chunk-5NK7EITB.js";
17
17
  import {
18
18
  getDeployment,
19
19
  mapCertError
20
- } from "./chunk-JASYFCY2.js";
20
+ } from "./chunk-3TJA3L7S.js";
21
21
  import {
22
22
  getScope
23
- } from "./chunk-SFB3SJLL.js";
23
+ } from "./chunk-5M5LB7H3.js";
24
24
  import {
25
25
  CommandTimeout
26
- } from "./chunk-MDYEK77Z.js";
26
+ } from "./chunk-LKFCHXVW.js";
27
27
  import {
28
28
  require_dist as require_dist3
29
- } from "./chunk-H453R2DO.js";
29
+ } from "./chunk-XUB7W2DJ.js";
30
30
  import {
31
31
  require_lib
32
32
  } from "./chunk-QXRJ52T4.js";
33
33
  import {
34
34
  getProjectByNameOrId,
35
35
  param
36
- } from "./chunk-SBGUY2AD.js";
36
+ } from "./chunk-BJGBBDSZ.js";
37
37
  import {
38
38
  require_ms,
39
39
  stamp_default
@@ -60,7 +60,7 @@ import {
60
60
  require_bytes,
61
61
  require_strip_ansi,
62
62
  responseError
63
- } from "./chunk-YRWIOAB2.js";
63
+ } from "./chunk-BPNHA3JM.js";
64
64
  import {
65
65
  emoji,
66
66
  eraseLines,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatOption,
9
9
  packageName
10
- } from "./chunk-YRWIOAB2.js";
10
+ } from "./chunk-BPNHA3JM.js";
11
11
 
12
12
  // src/commands/metrics/command.ts
13
13
  var schemaSubcommand = {
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-SBGUY2AD.js";
9
+ } from "./chunk-BJGBBDSZ.js";
10
10
  import {
11
11
  packageName,
12
12
  yesOption
13
- } from "./chunk-YRWIOAB2.js";
13
+ } from "./chunk-BPNHA3JM.js";
14
14
 
15
15
  // src/commands/build/command.ts
16
16
  var buildCommand = {
@@ -6,23 +6,23 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-NL5XL5GP.js";
9
+ } from "./chunk-GF4DUO5V.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-4ERN37SL.js";
12
+ } from "./chunk-74FAEDOJ.js";
13
13
  import {
14
14
  pullCommand
15
- } from "./chunk-O3SGELRW.js";
15
+ } from "./chunk-EGAVOTVF.js";
16
16
  import {
17
17
  help
18
- } from "./chunk-LZOFD677.js";
18
+ } from "./chunk-ZSXNST6O.js";
19
19
  import {
20
20
  VERCEL_DIR,
21
21
  VERCEL_DIR_PROJECT,
22
22
  envPullCommandLogic,
23
23
  humanizePath,
24
24
  parseTarget
25
- } from "./chunk-SBGUY2AD.js";
25
+ } from "./chunk-BJGBBDSZ.js";
26
26
  import {
27
27
  TelemetryClient
28
28
  } from "./chunk-OYLVZVKK.js";
@@ -33,7 +33,7 @@ import {
33
33
  getFlagsSpecification,
34
34
  parseArguments,
35
35
  printError
36
- } from "./chunk-YRWIOAB2.js";
36
+ } from "./chunk-BPNHA3JM.js";
37
37
  import {
38
38
  emoji,
39
39
  output_manager_default,
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-SBGUY2AD.js";
11
+ } from "./chunk-BJGBBDSZ.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-I2CIWYG5.js";
@@ -6,16 +6,16 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommand
9
- } from "./chunk-VSHBHYX6.js";
9
+ } from "./chunk-R7SIMTCI.js";
10
10
  import {
11
11
  login
12
- } from "./chunk-FAEE2QHP.js";
12
+ } from "./chunk-TYFJRAMD.js";
13
13
  import {
14
14
  loginCommand
15
- } from "./chunk-MDYEK77Z.js";
15
+ } from "./chunk-LKFCHXVW.js";
16
16
  import {
17
17
  help
18
- } from "./chunk-LZOFD677.js";
18
+ } from "./chunk-ZSXNST6O.js";
19
19
  import {
20
20
  TelemetryClient
21
21
  } from "./chunk-OYLVZVKK.js";
@@ -24,7 +24,7 @@ import {
24
24
  parseArguments,
25
25
  printError,
26
26
  require_strip_ansi
27
- } from "./chunk-YRWIOAB2.js";
27
+ } from "./chunk-BPNHA3JM.js";
28
28
  import {
29
29
  output_manager_default
30
30
  } from "./chunk-I2CIWYG5.js";
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR
9
- } from "./chunk-SBGUY2AD.js";
9
+ } from "./chunk-BJGBBDSZ.js";
10
10
  import {
11
11
  ConflictingConfigFiles,
12
12
  InvalidLocalConfig,
13
13
  getArgs
14
- } from "./chunk-YRWIOAB2.js";
14
+ } from "./chunk-BPNHA3JM.js";
15
15
 
16
16
  // src/util/config/local-path.ts
17
17
  import path from "path";
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  packageName,
9
9
  yesOption
10
- } from "./chunk-YRWIOAB2.js";
10
+ } from "./chunk-BPNHA3JM.js";
11
11
 
12
12
  // src/commands/routes/command.ts
13
13
  var listSubcommand = {
@@ -6,26 +6,26 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  routesCommand
9
- } from "./chunk-GT2DPHE7.js";
9
+ } from "./chunk-J6O3QMTY.js";
10
10
  import {
11
11
  devCommand
12
- } from "./chunk-ZDA4Y7RR.js";
12
+ } from "./chunk-WQFWX5AR.js";
13
13
  import {
14
14
  activityCommand
15
- } from "./chunk-6PXAVV2L.js";
15
+ } from "./chunk-3JC5TRIO.js";
16
16
  import {
17
17
  metricsCommand
18
- } from "./chunk-5F2QN5D6.js";
18
+ } from "./chunk-E62U7NDJ.js";
19
19
  import {
20
20
  listCommand
21
- } from "./chunk-PCDFSIYF.js";
21
+ } from "./chunk-MEO2W3VH.js";
22
22
  import {
23
23
  buildCommand,
24
24
  pullCommand
25
- } from "./chunk-O3SGELRW.js";
25
+ } from "./chunk-EGAVOTVF.js";
26
26
  import {
27
27
  envCommand
28
- } from "./chunk-SBGUY2AD.js";
28
+ } from "./chunk-BJGBBDSZ.js";
29
29
  import {
30
30
  confirmOption,
31
31
  forceOption,
@@ -35,7 +35,7 @@ import {
35
35
  nextOption,
36
36
  packageName,
37
37
  yesOption
38
- } from "./chunk-YRWIOAB2.js";
38
+ } from "./chunk-BPNHA3JM.js";
39
39
  import {
40
40
  output_manager_default
41
41
  } from "./chunk-I2CIWYG5.js";
@@ -423,6 +423,35 @@ var linkCommand = {
423
423
  ]
424
424
  };
425
425
 
426
+ // src/commands/agent/command.ts
427
+ var agentCommand = {
428
+ name: "agent",
429
+ aliases: [],
430
+ description: "Generate an AGENTS.md file with Vercel deployment best practices",
431
+ arguments: [
432
+ {
433
+ name: "init",
434
+ required: false
435
+ }
436
+ ],
437
+ options: [
438
+ {
439
+ ...yesOption,
440
+ description: "Skip confirmation prompt"
441
+ }
442
+ ],
443
+ examples: [
444
+ {
445
+ name: "Generate AGENTS.md with Vercel best practices",
446
+ value: `${packageName} agent init`
447
+ },
448
+ {
449
+ name: "Skip confirmation prompt (useful for CI)",
450
+ value: `${packageName} agent init --yes`
451
+ }
452
+ ]
453
+ };
454
+
426
455
  // src/commands/alias/command.ts
427
456
  var setSubcommand = {
428
457
  name: "set",
@@ -4619,6 +4648,7 @@ var webhooksCommand = {
4619
4648
 
4620
4649
  // src/commands/index.ts
4621
4650
  var commandsStructs = [
4651
+ agentCommand,
4622
4652
  aliasCommand,
4623
4653
  activityCommand,
4624
4654
  apiCommand,
@@ -4696,6 +4726,7 @@ output_manager_default.debug(
4696
4726
  var commandNames = Array.from(commands.keys());
4697
4727
 
4698
4728
  export {
4729
+ agentCommand,
4699
4730
  setSubcommand,
4700
4731
  listSubcommand,
4701
4732
  removeSubcommand,
@@ -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-HF7WQJKX.js";
9
+ } from "./chunk-YVBFZQJC.js";
10
10
  import {
11
11
  require_strip_ansi
12
- } from "./chunk-YRWIOAB2.js";
12
+ } from "./chunk-BPNHA3JM.js";
13
13
  import {
14
14
  require_source
15
15
  } 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_once
9
- } from "./chunk-SBGUY2AD.js";
9
+ } from "./chunk-BJGBBDSZ.js";
10
10
  import {
11
11
  __commonJS
12
12
  } from "./chunk-TZ2YI2VH.js";
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-IB5L4LKZ.js";
10
10
  import {
11
11
  require_dist as require_dist2
12
- } from "./chunk-H453R2DO.js";
12
+ } from "./chunk-XUB7W2DJ.js";
13
13
  import {
14
14
  require_execa
15
- } from "./chunk-OU55DWJO.js";
15
+ } from "./chunk-C35CP6ME.js";
16
16
  import {
17
17
  VERCEL_DIR,
18
18
  readJSONFile,
@@ -21,7 +21,7 @@ import {
21
21
  require_dist2 as require_dist4,
22
22
  require_lib,
23
23
  require_minimatch2 as require_minimatch
24
- } from "./chunk-SBGUY2AD.js";
24
+ } from "./chunk-BJGBBDSZ.js";
25
25
  import {
26
26
  require_pluralize
27
27
  } from "./chunk-7EHTK7LP.js";
@@ -29,7 +29,7 @@ import {
29
29
  CantParseJSONFile,
30
30
  cmd,
31
31
  code
32
- } from "./chunk-YRWIOAB2.js";
32
+ } from "./chunk-BPNHA3JM.js";
33
33
  import {
34
34
  output_manager_default,
35
35
  require_dist
@@ -10868,11 +10868,11 @@ async function explode(paths, { accepts }) {
10868
10868
  }
10869
10869
  try {
10870
10870
  s = await import_fs_extra.default.stat(path2);
10871
- } catch (e) {
10871
+ } catch (_e) {
10872
10872
  path2 = `${file}.js`;
10873
10873
  try {
10874
10874
  s = await import_fs_extra.default.stat(path2);
10875
- } catch (e2) {
10875
+ } catch (_e2) {
10876
10876
  debug(`Ignoring invalid file ${file}`);
10877
10877
  return null;
10878
10878
  }
@@ -11,7 +11,7 @@ import {
11
11
  nextOption,
12
12
  packageName,
13
13
  yesOption
14
- } from "./chunk-YRWIOAB2.js";
14
+ } from "./chunk-BPNHA3JM.js";
15
15
 
16
16
  // src/commands/list/command.ts
17
17
  var listCommand = {
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-SBGUY2AD.js";
9
+ } from "./chunk-BJGBBDSZ.js";
10
10
  import {
11
11
  packageName
12
- } from "./chunk-YRWIOAB2.js";
12
+ } from "./chunk-BPNHA3JM.js";
13
13
  import {
14
14
  __toESM
15
15
  } from "./chunk-TZ2YI2VH.js";
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-SBGUY2AD.js";
9
+ } from "./chunk-BJGBBDSZ.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
13
- } from "./chunk-YRWIOAB2.js";
13
+ } from "./chunk-BPNHA3JM.js";
14
14
  import {
15
15
  output_manager_default
16
16
  } from "./chunk-I2CIWYG5.js";
@@ -9,17 +9,17 @@ import {
9
9
  } from "./chunk-V5P25P7F.js";
10
10
  import {
11
11
  require_dist as require_dist2
12
- } from "./chunk-H453R2DO.js";
12
+ } from "./chunk-XUB7W2DJ.js";
13
13
  import {
14
14
  require_lib as require_lib2
15
15
  } from "./chunk-QXRJ52T4.js";
16
16
  import {
17
17
  getLocalPathConfig
18
- } from "./chunk-NVFDDZOY.js";
18
+ } from "./chunk-IPGYCRLR.js";
19
19
  import {
20
20
  DEFAULT_VERCEL_CONFIG_FILENAME,
21
21
  VERCEL_CONFIG_EXTENSIONS
22
- } from "./chunk-6Z22ZOUC.js";
22
+ } from "./chunk-VAIKIQWX.js";
23
23
  import {
24
24
  VERCEL_DIR,
25
25
  createPrompt,
@@ -41,14 +41,14 @@ import {
41
41
  useKeypress,
42
42
  usePrefix,
43
43
  useState
44
- } from "./chunk-SBGUY2AD.js";
44
+ } from "./chunk-BJGBBDSZ.js";
45
45
  import {
46
46
  APIError,
47
47
  NowError,
48
48
  getCommandName,
49
49
  printError,
50
50
  require_strip_ansi
51
- } from "./chunk-YRWIOAB2.js";
51
+ } from "./chunk-BPNHA3JM.js";
52
52
  import {
53
53
  init_pkg,
54
54
  pkg_default
@@ -3334,7 +3334,7 @@ async function responseError(res, fallbackMessage = null, parsedBody = {}) {
3334
3334
  let body;
3335
3335
  try {
3336
3336
  body = await res.json();
3337
- } catch (err) {
3337
+ } catch (_err) {
3338
3338
  body = parsedBody;
3339
3339
  }
3340
3340
  bodyError = body.error || body.err || body;
@@ -3385,7 +3385,7 @@ async function updateCurrentTeamAfterLogin(client, ssoTeamId) {
3385
3385
  let user = null;
3386
3386
  try {
3387
3387
  user = await getUser(client);
3388
- } catch (err) {
3388
+ } catch (_err) {
3389
3389
  output_manager_default.error("Failed to fetch the logged in user. Please try again.");
3390
3390
  return 1;
3391
3391
  }
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-D6N5LX6O.js";
10
+ } from "./chunk-CG333N7V.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-I2CIWYG5.js";