vercel 58.10.0 → 59.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 (85) hide show
  1. package/dist/chunks/{add-5KFK4EFH.js → add-3LO3UMYC.js} +6 -6
  2. package/dist/chunks/{add-W4XR5GYX.js → add-QZUQNL2C.js} +2 -2
  3. package/dist/chunks/{add-NMYLVDBN.js → add-SQ6ERCFZ.js} +2 -2
  4. package/dist/chunks/{build-BCMSG7TU.js → build-WMUKZEFH.js} +2 -2
  5. package/dist/chunks/{chunk-IBIZT5M4.js → chunk-3R5JGMHV.js} +62 -20
  6. package/dist/chunks/{chunk-CLUCO4RD.js → chunk-5KI3SUJI.js} +81 -18
  7. package/dist/chunks/{chunk-MGCBTAA7.js → chunk-BGILSKZ5.js} +1 -1
  8. package/dist/chunks/{chunk-BZGIBXY6.js → chunk-CMR5KQVR.js} +1 -1
  9. package/dist/chunks/{chunk-AZCZV4XI.js → chunk-DMLU5KQE.js} +1 -1
  10. package/dist/chunks/chunk-DQDJVHA5.js +559 -0
  11. package/dist/chunks/{chunk-UDHYVIJL.js → chunk-L6NIIAB7.js} +4 -4
  12. package/dist/chunks/{chunk-2J7BL7IF.js → chunk-LT5UQNTC.js} +2 -2
  13. package/dist/chunks/{chunk-MAZ2BUBX.js → chunk-MZ3L3SGZ.js} +2 -2
  14. package/dist/chunks/{chunk-5MERQE7H.js → chunk-N5DK7EMY.js} +1 -1
  15. package/dist/chunks/{chunk-KUZCVMVA.js → chunk-PBECT5BN.js} +4 -3
  16. package/dist/chunks/{chunk-N5YCPDWG.js → chunk-PSZQNYEV.js} +1 -1
  17. package/dist/chunks/{chunk-6SXIT6Q3.js → chunk-PVCJIMVY.js} +2 -2
  18. package/dist/chunks/{chunk-H25BISPQ.js → chunk-QGQX7BYN.js} +10 -518
  19. package/dist/chunks/{chunk-PTZ6X4P4.js → chunk-RWRSUGXY.js} +1 -1
  20. package/dist/chunks/{chunk-TNKTZDOL.js → chunk-S3H7ITUR.js} +1 -1
  21. package/dist/chunks/{chunk-U4LWFSR4.js → chunk-SD2QZHZA.js} +1 -1
  22. package/dist/chunks/{chunk-2SEBBSKD.js → chunk-SHR6DYA5.js} +1 -1
  23. package/dist/chunks/{chunk-DQDAQYQI.js → chunk-SQAQED4U.js} +1 -1
  24. package/dist/chunks/{chunk-NDOZRKTB.js → chunk-UQVOFOP2.js} +1 -1
  25. package/dist/chunks/{chunk-L6BFCLXF.js → chunk-V42UVZDX.js} +80 -38
  26. package/dist/chunks/chunk-W34XLJ44.js +61 -0
  27. package/dist/chunks/{chunk-6WWATEWK.js → chunk-WE3TFESA.js} +1 -1
  28. package/dist/chunks/{chunk-ELJ56NBY.js → chunk-ZFTRB6AB.js} +173 -173
  29. package/dist/chunks/{chunk-7RUZPHW7.js → chunk-ZRWSSPW5.js} +1 -1
  30. package/dist/chunks/{clear-54WX3NA2.js → clear-W2B4CHTP.js} +2 -2
  31. package/dist/chunks/{compile-vercel-config-LSW4TWGX.js → compile-vercel-config-HTWOS7DZ.js} +1 -1
  32. package/dist/chunks/{config-WXQTPQW7.js → config-EGJY4UUE.js} +2 -2
  33. package/dist/chunks/{delete-OGP3RVWM.js → delete-6I7V5AGV.js} +2 -2
  34. package/dist/chunks/{delete-HQMI44SG.js → delete-BVMID4W2.js} +2 -2
  35. package/dist/chunks/{disable-HC266OB7.js → disable-I54JNXJE.js} +2 -2
  36. package/dist/chunks/{discard-3RFIPLXY.js → discard-6TSJJCUQ.js} +2 -2
  37. package/dist/chunks/{edit-TZOCRGG6.js → edit-KCWYQ2YT.js} +2 -2
  38. package/dist/chunks/{edit-NXPQFWM6.js → edit-YS2SWHFJ.js} +3 -3
  39. package/dist/chunks/{enable-OGFRN4CG.js → enable-RYXRIGQN.js} +2 -2
  40. package/dist/chunks/{export-AEESZFZX.js → export-G3NYOADE.js} +2 -2
  41. package/dist/chunks/{image-EIAO7LVN.js → image-RJBLSUES.js} +3 -3
  42. package/dist/chunks/{import-builders-KCQLA2YR.js → import-builders-M6F3F4DH.js} +2 -2
  43. package/dist/chunks/{inspect-RUGPLO7A.js → inspect-7XUEVBDM.js} +2 -2
  44. package/dist/chunks/{inspect-MGIECVLH.js → inspect-AE4YIJYS.js} +2 -2
  45. package/dist/chunks/{inspect-TTHC6L7Q.js → inspect-E7TBGK7D.js} +2 -2
  46. package/dist/chunks/{inspect-HHSDXTII.js → inspect-YTCVTZHY.js} +2 -2
  47. package/dist/chunks/{inspect-EM34BOTE.js → inspect-Z74NZZ2A.js} +3 -3
  48. package/dist/chunks/{list-A74MGEOB.js → list-KJNC3NOE.js} +2 -2
  49. package/dist/chunks/{list-GQDUIRBU.js → list-SGPLL4KJ.js} +3 -3
  50. package/dist/chunks/{list-EOG3TYBE.js → list-WXS2AFQD.js} +1 -1
  51. package/dist/chunks/{login-L4EWZOGH.js → login-XD3CFPBF.js} +2 -2
  52. package/dist/chunks/{ls-F6WCPVB7.js → ls-5A4327XJ.js} +2 -2
  53. package/dist/chunks/{ls-OWHNAGNT.js → ls-5DSOTTYX.js} +2 -2
  54. package/dist/chunks/{ls-OJGSWVWO.js → ls-KE5I7BZO.js} +2 -2
  55. package/dist/chunks/{ls-D5ESYWG5.js → ls-NBKSDTWX.js} +2 -2
  56. package/dist/chunks/{ls-VBFBWSWD.js → ls-SVSO3677.js} +3 -3
  57. package/dist/chunks/{open-FHER5QV2.js → open-M2MOAE2K.js} +2 -2
  58. package/dist/chunks/{permissions-JSXC7BRD.js → permissions-ADPY554K.js} +4 -4
  59. package/dist/chunks/{publish-CM6ZGWIE.js → publish-OBIOOL7T.js} +2 -2
  60. package/dist/chunks/{push-5NYG7HIR.js → push-5237XBTO.js} +2 -2
  61. package/dist/chunks/{query-5GQLF2BR.js → query-ILL74HIA.js} +1 -1
  62. package/dist/chunks/{reorder-5GCNY75W.js → reorder-GAUAO4LW.js} +2 -2
  63. package/dist/chunks/{reply-B2XCK5XR.js → reply-IZJHEULD.js} +2 -2
  64. package/dist/chunks/{resolve-YQP5C2QY.js → resolve-HTIT7CGL.js} +2 -2
  65. package/dist/chunks/{restore-VHX4JV5J.js → restore-IKL74HSE.js} +2 -2
  66. package/dist/chunks/{rm-VDFSX3LH.js → rm-5Y6BL47T.js} +2 -2
  67. package/dist/chunks/{rm-AUUT2YIT.js → rm-C37ZORQV.js} +2 -2
  68. package/dist/chunks/{rm-QVVQDCDX.js → rm-QAVNP5KX.js} +3 -3
  69. package/dist/chunks/{rm-OILUGCTW.js → rm-XJU5SBGH.js} +2 -2
  70. package/dist/chunks/{rule-inspect-LKTUPW4B.js → rule-inspect-DYHWWROS.js} +3 -3
  71. package/dist/chunks/{rules-J5JM5VFQ.js → rules-M6EJ2Y6S.js} +6 -6
  72. package/dist/chunks/{schema-OIKSCLDU.js → schema-LLBDZNIC.js} +1 -1
  73. package/dist/chunks/{tags-AMTMNRLQ.js → tags-HR5RVQFA.js} +2 -2
  74. package/dist/chunks/{update-AFL3GHKB.js → update-6A5V6HBH.js} +6 -6
  75. package/dist/commands/build/index.js +15 -11
  76. package/dist/commands/deploy/index.js +347 -49
  77. package/dist/commands/dev/index.js +8 -8
  78. package/dist/commands/env/index.js +4 -4
  79. package/dist/commands/link/index.js +6 -6
  80. package/dist/commands/list/index.js +2 -2
  81. package/dist/commands-bulk.js +2111 -1619
  82. package/dist/index.js +32 -42
  83. package/dist/version.mjs +1 -1
  84. package/package.json +35 -35
  85. package/dist/chunks/chunk-I2XE3GMB.js +0 -21
@@ -8,21 +8,21 @@ import {
8
8
  parseCustomAlertQueryBody,
9
9
  resolveCustomAlertProjectName,
10
10
  setMissingCustomAlertProjectScope
11
- } from "./chunk-2J7BL7IF.js";
11
+ } from "./chunk-LT5UQNTC.js";
12
12
  import {
13
13
  emitRulesArgParseError,
14
14
  handleRulesApiError,
15
15
  parseRulesFlagsAndScope,
16
16
  rulesCollectionPath
17
- } from "./chunk-7RUZPHW7.js";
17
+ } from "./chunk-ZRWSSPW5.js";
18
18
  import {
19
19
  isCustomAlertRule
20
20
  } from "./chunk-TEQKKTJQ.js";
21
- import "./chunk-DQDAQYQI.js";
21
+ import "./chunk-SQAQED4U.js";
22
22
  import "./chunk-A3NYPUKZ.js";
23
23
  import "./chunk-P65EEFTR.js";
24
24
  import "./chunk-FGDKMNEN.js";
25
- import "./chunk-MAZ2BUBX.js";
25
+ import "./chunk-MZ3L3SGZ.js";
26
26
  import "./chunk-JKQWQA2T.js";
27
27
  import "./chunk-RQ7H43CJ.js";
28
28
  import {
@@ -31,9 +31,9 @@ import {
31
31
  import {
32
32
  rulesAddSubcommand
33
33
  } from "./chunk-UMA66MKW.js";
34
- import "./chunk-MGCBTAA7.js";
34
+ import "./chunk-BGILSKZ5.js";
35
35
  import "./chunk-KT4XXKJK.js";
36
- import "./chunk-IBIZT5M4.js";
36
+ import "./chunk-3R5JGMHV.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-6WWATEWK.js";
20
+ } from "./chunk-WE3TFESA.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-IBIZT5M4.js";
30
+ import "./chunk-3R5JGMHV.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-6WWATEWK.js";
12
+ } from "./chunk-WE3TFESA.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-IBIZT5M4.js";
25
+ import "./chunk-3R5JGMHV.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-6WWATEWK.js";
26
+ } from "./chunk-WE3TFESA.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-IBIZT5M4.js";
39
+ import "./chunk-3R5JGMHV.js";
40
40
  import "./chunk-ECCWJHC6.js";
41
41
  import {
42
42
  AGENT_REASON,
@@ -20496,7 +20496,7 @@ var require_dist3 = __commonJS({
20496
20496
  exports.tokensToFunction = tokensToFunction;
20497
20497
  function match(str, options) {
20498
20498
  var keys = [];
20499
- var re = pathToRegexp(str, keys, options);
20499
+ var re = pathToRegexp2(str, keys, options);
20500
20500
  return regexpToFunction(re, keys, options);
20501
20501
  }
20502
20502
  exports.match = match;
@@ -20557,7 +20557,7 @@ var require_dist3 = __commonJS({
20557
20557
  }
20558
20558
  function arrayToRegexp(paths, keys, options) {
20559
20559
  var parts = paths.map(function(path) {
20560
- return pathToRegexp(path, keys, options).source;
20560
+ return pathToRegexp2(path, keys, options).source;
20561
20561
  });
20562
20562
  return new RegExp("(?:" + parts.join("|") + ")", flags(options));
20563
20563
  }
@@ -20619,14 +20619,14 @@ var require_dist3 = __commonJS({
20619
20619
  return new RegExp(route, flags(options));
20620
20620
  }
20621
20621
  exports.tokensToRegexp = tokensToRegexp;
20622
- function pathToRegexp(path, keys, options) {
20622
+ function pathToRegexp2(path, keys, options) {
20623
20623
  if (path instanceof RegExp)
20624
20624
  return regexpToRegexp(path, keys);
20625
20625
  if (Array.isArray(path))
20626
20626
  return arrayToRegexp(path, keys, options);
20627
20627
  return stringToRegexp(path, keys, options);
20628
20628
  }
20629
- exports.pathToRegexp = pathToRegexp;
20629
+ exports.pathToRegexp = pathToRegexp2;
20630
20630
  }
20631
20631
  });
20632
20632
 
@@ -20884,7 +20884,7 @@ var require_dist4 = __commonJS({
20884
20884
  exports.tokensToFunction = tokensToFunction;
20885
20885
  function match(str, options) {
20886
20886
  var keys = [];
20887
- var re = pathToRegexp(str, keys, options);
20887
+ var re = pathToRegexp2(str, keys, options);
20888
20888
  return regexpToFunction(re, keys, options);
20889
20889
  }
20890
20890
  exports.match = match;
@@ -20947,7 +20947,7 @@ var require_dist4 = __commonJS({
20947
20947
  }
20948
20948
  function arrayToRegexp(paths, keys, options) {
20949
20949
  var parts = paths.map(function(path) {
20950
- return pathToRegexp(path, keys, options).source;
20950
+ return pathToRegexp2(path, keys, options).source;
20951
20951
  });
20952
20952
  return new RegExp("(?:".concat(parts.join("|"), ")"), flags(options));
20953
20953
  }
@@ -21009,14 +21009,14 @@ var require_dist4 = __commonJS({
21009
21009
  return new RegExp(route, flags(options));
21010
21010
  }
21011
21011
  exports.tokensToRegexp = tokensToRegexp;
21012
- function pathToRegexp(path, keys, options) {
21012
+ function pathToRegexp2(path, keys, options) {
21013
21013
  if (path instanceof RegExp)
21014
21014
  return regexpToRegexp(path, keys);
21015
21015
  if (Array.isArray(path))
21016
21016
  return arrayToRegexp(path, keys, options);
21017
21017
  return stringToRegexp(path, keys, options);
21018
21018
  }
21019
- exports.pathToRegexp = pathToRegexp;
21019
+ exports.pathToRegexp = pathToRegexp2;
21020
21020
  }
21021
21021
  });
21022
21022
 
@@ -21051,7 +21051,7 @@ var require_superstatic = __commonJS({
21051
21051
  convertRewrites: () => convertRewrites2,
21052
21052
  convertTrailingSlash: () => convertTrailingSlash,
21053
21053
  getCleanUrls: () => getCleanUrls2,
21054
- pathToRegexp: () => pathToRegexp,
21054
+ pathToRegexp: () => pathToRegexp2,
21055
21055
  sourceToRegex: () => sourceToRegex2
21056
21056
  });
21057
21057
  module.exports = __toCommonJS2(superstatic_exports);
@@ -21069,7 +21069,7 @@ var require_superstatic = __commonJS({
21069
21069
  const rightSerialized = typeof right === "undefined" ? "undefined" : right.toString();
21070
21070
  return leftSerialized === rightSerialized;
21071
21071
  }
21072
- function pathToRegexp(callerId, path, keys, options) {
21072
+ function pathToRegexp2(callerId, path, keys, options) {
21073
21073
  const newKeys = cloneKeys(keys);
21074
21074
  const currentRegExp = (0, import_path_to_regexp.pathToRegexp)(path, keys, options);
21075
21075
  try {
@@ -21289,7 +21289,7 @@ var require_superstatic = __commonJS({
21289
21289
  }
21290
21290
  function sourceToRegex2(source) {
21291
21291
  const keys = [];
21292
- const r = pathToRegexp("632", source, keys, {
21292
+ const r = pathToRegexp2("632", source, keys, {
21293
21293
  strict: true,
21294
21294
  sensitive: true,
21295
21295
  delimiter: "/"
@@ -21449,9 +21449,9 @@ var require_superstatic = __commonJS({
21449
21449
  const hashKeys = [];
21450
21450
  const hostnameKeys = [];
21451
21451
  try {
21452
- pathToRegexp("528", pathname, pathnameKeys);
21453
- pathToRegexp("834", hash || "", hashKeys);
21454
- pathToRegexp("712", hostname2 || "", hostnameKeys);
21452
+ pathToRegexp2("528", pathname, pathnameKeys);
21453
+ pathToRegexp2("834", hash || "", hashKeys);
21454
+ pathToRegexp2("712", hostname2 || "", hostnameKeys);
21455
21455
  } catch (_) {
21456
21456
  }
21457
21457
  destParams = new Set(
@@ -22630,6 +22630,7 @@ var require_dist5 = __commonJS({
22630
22630
  mergeRoutes: () => import_merge.mergeRoutes,
22631
22631
  normalizeRoutePrefix: () => import_service_route_ownership.normalizeRoutePrefix,
22632
22632
  normalizeRoutes: () => normalizeRoutes,
22633
+ pathToRegexp: () => import_superstatic2.pathToRegexp,
22633
22634
  scopeRouteSourceToOwnership: () => import_service_route_ownership.scopeRouteSourceToOwnership,
22634
22635
  sourceToRegex: () => import_superstatic2.sourceToRegex
22635
22636
  });
@@ -38158,7 +38159,7 @@ var require_package = __commonJS({
38158
38159
  "../client/package.json"(exports, module) {
38159
38160
  module.exports = {
38160
38161
  name: "@vercel/client",
38161
- version: "18.2.9",
38162
+ version: "18.2.11",
38162
38163
  main: "dist/index.js",
38163
38164
  typings: "dist/index.d.ts",
38164
38165
  homepage: "https://vercel.com",
@@ -46303,9 +46304,9 @@ var require_utils9 = __commonJS({
46303
46304
  const parts = relOutputDir.split(import_path13.sep);
46304
46305
  parts.forEach((_, i) => {
46305
46306
  const level = parts.slice(0, i + 1).join("/");
46306
- ignores.push(`!${level}`);
46307
+ ignores.push(`!/${level}`);
46307
46308
  });
46308
- ignores.push(`!${parts.join("/")}/**`);
46309
+ ignores.push(`!/${parts.join("/")}/**`);
46309
46310
  ig.add(ignores.join("\n"));
46310
46311
  } else {
46311
46312
  ignores = [
@@ -56710,7 +56711,7 @@ ${import_chalk10.default.yellow("\u26A0")} ${import_chalk10.default.bold("Browse
56710
56711
  }
56711
56712
  return result;
56712
56713
  }
56713
- async function login(client, telemetry) {
56714
+ async function login(client, telemetry, standalone = true) {
56714
56715
  const tokens = await performDeviceCodeFlow(client);
56715
56716
  if (!tokens) {
56716
56717
  telemetry.trackState("error");
@@ -56744,7 +56745,8 @@ async function login(client, telemetry) {
56744
56745
  client.persistAuthConfig();
56745
56746
  client.writeToConfigFile();
56746
56747
  output_manager_default.debug(`Saved credentials in "${humanizePath(client.getGlobalPathConfig())}"`);
56747
- output_manager_default.print(`
56748
+ if (standalone) {
56749
+ output_manager_default.print(`
56748
56750
  ${import_chalk10.default.cyan("Congratulations!")} You are now signed in.
56749
56751
 
56750
56752
  To deploy something, run ${getCommandName()}.
@@ -56752,6 +56754,9 @@ async function login(client, telemetry) {
56752
56754
  ${emoji("tip")} To deploy every commit automatically,
56753
56755
  connect a Git Repository (${import_chalk10.default.bold(output_manager_default.link("vercel.link/git", "https://vercel.link/git", { color: false }))}).
56754
56756
  `);
56757
+ } else {
56758
+ output_manager_default.success("Logged in.");
56759
+ }
56755
56760
  telemetry.trackState("success");
56756
56761
  return 0;
56757
56762
  }
@@ -58946,7 +58951,7 @@ function createDetectEntrypoint(projectRoot) {
58946
58951
  };
58947
58952
  }
58948
58953
  async function loadBuilderDetectEntrypoint(name, projectRoot) {
58949
- const { importBuilders } = await import("./import-builders-KCQLA2YR.js");
58954
+ const { importBuilders } = await import("./import-builders-M6F3F4DH.js");
58950
58955
  const builders = await importBuilders(/* @__PURE__ */ new Set([name]), projectRoot);
58951
58956
  const loaded = builders.get(name);
58952
58957
  if (!loaded) {
@@ -59170,6 +59175,9 @@ var VERCEL_DIR_REPO = "repo.json";
59170
59175
  function isOwnerLookupUnavailableLink(link) {
59171
59176
  return "ownerLookupUnavailable" in link && link.ownerLookupUnavailable === true;
59172
59177
  }
59178
+ function isRemoteLookupSkippedLink(link) {
59179
+ return "remoteLookupSkipped" in link && link.remoteLookupSkipped === true;
59180
+ }
59173
59181
  function isOwnerLookupUnavailableError(error) {
59174
59182
  return isAPIError(error) && error.status === 403 && error.code === "team_unauthorized";
59175
59183
  }
@@ -59277,6 +59285,7 @@ async function getProjectLinkFromRepoLink(client, path, projectName, projectName
59277
59285
  repoRoot: repoLink.rootPath,
59278
59286
  orgId,
59279
59287
  projectId: project.id,
59288
+ projectName: project.name,
59280
59289
  projectRootDirectory: project.directory
59281
59290
  };
59282
59291
  }
@@ -59408,6 +59417,36 @@ async function getLinkedProject(client, options = {}) {
59408
59417
  if (!link) {
59409
59418
  return { status: "not_linked", org: null, project: null, orgId };
59410
59419
  }
59420
+ if (options.skipRemoteLookup && link.projectName) {
59421
+ const settings = link.settings;
59422
+ const localRootDirectory = link.projectRootDirectory ?? settings?.rootDirectory ?? null;
59423
+ const rootDirectory = localRootDirectory === "." ? null : localRootDirectory;
59424
+ const project2 = {
59425
+ ...settings,
59426
+ id: link.projectId,
59427
+ accountId: link.orgId,
59428
+ name: link.projectName,
59429
+ createdAt: settings?.createdAt ?? 0,
59430
+ updatedAt: settings?.updatedAt ?? settings?.createdAt ?? 0,
59431
+ rootDirectory
59432
+ };
59433
+ const localProjectLink = {
59434
+ status: "linked",
59435
+ org: {
59436
+ type: link.orgId.startsWith("team_") ? "team" : "user",
59437
+ id: link.orgId,
59438
+ slug: ""
59439
+ },
59440
+ project: project2,
59441
+ repoRoot: link.repoRoot,
59442
+ remoteLookupSkipped: true
59443
+ };
59444
+ return {
59445
+ ...localProjectLink,
59446
+ projectRootDirectory: link.projectRootDirectory,
59447
+ orgId: link.orgId
59448
+ };
59449
+ }
59411
59450
  output_manager_default.spinner("Retrieving project\u2026", 1e3);
59412
59451
  let org = null;
59413
59452
  let project = null;
@@ -59976,6 +60015,7 @@ export {
59976
60015
  ALIGNED_LABEL_WIDTH,
59977
60016
  printAlignedLabel,
59978
60017
  selectOrg,
60018
+ addToGitIgnore,
59979
60019
  createProject,
59980
60020
  require_frameworks,
59981
60021
  require_brace_expansion,
@@ -59989,6 +60029,7 @@ export {
59989
60029
  printRemoteUrls,
59990
60030
  selectAndParseRemoteUrl,
59991
60031
  checkExistsAndConnect,
60032
+ getRepoLink,
59992
60033
  resolveGitRemote,
59993
60034
  fetchProjectsForRepoUrl,
59994
60035
  linkRepoProject,
@@ -60032,6 +60073,7 @@ export {
60032
60073
  VERCEL_DIR_README,
60033
60074
  VERCEL_DIR_PROJECT,
60034
60075
  isOwnerLookupUnavailableLink,
60076
+ isRemoteLookupSkippedLink,
60035
60077
  getVercelDirectory,
60036
60078
  getProjectLink,
60037
60079
  getLinkFromDir,
@@ -31,10 +31,10 @@ import {
31
31
  import {
32
32
  buildCommand,
33
33
  pullCommand
34
- } from "./chunk-2SEBBSKD.js";
34
+ } from "./chunk-SHR6DYA5.js";
35
35
  import {
36
36
  envCommand
37
- } from "./chunk-IBIZT5M4.js";
37
+ } from "./chunk-3R5JGMHV.js";
38
38
  import {
39
39
  confirmOption,
40
40
  deploymentOption,
@@ -196,7 +196,7 @@ var continueSubcommand = {
196
196
  var deployCommand = {
197
197
  name: "deploy",
198
198
  aliases: [],
199
- description: "Deploy your project to Vercel. The `deploy` command is the default command for the Vercel CLI, and can be omitted (`vc deploy my-app` equals `vc my-app`). Use `--dry` to inspect the detected framework preset and source files without deploying.",
199
+ description: "Deploy your project to Vercel. You can create a temporary deployment without logging in. The `deploy` command is the default command for the Vercel CLI, and can be omitted (`vc deploy my-app` equals `vc my-app`). Use `--dry` to inspect the detected framework preset and source files without deploying.",
200
200
  arguments: [
201
201
  {
202
202
  name: "project-path",
@@ -1894,15 +1894,14 @@ var creditsSubcommand = {
1894
1894
  }
1895
1895
  ]
1896
1896
  };
1897
- var SUPPORTED_ADDON_ALIASES = ["siem", "customEnvironment"];
1898
- var ADDON_LABELS = {
1899
- siem: "SIEM",
1900
- customEnvironment: "Custom Environment"
1901
- };
1897
+ var SUPPORTED_ADDON_NAMES = [
1898
+ "custom-environment",
1899
+ "observability-plus"
1900
+ ];
1902
1901
  var addonSubcommand = {
1903
1902
  name: "addon",
1904
1903
  aliases: ["addons", "add-on"],
1905
- description: `Purchase a Vercel addon for your team. Supported addons: ${SUPPORTED_ADDON_ALIASES.join(", ")}. Custom environment purchases are per project and use packs (each pack adds ${CUSTOM_ENVIRONMENTS_PER_PACK} environments).`,
1904
+ description: `Purchase a Vercel addon for your team. Supported addons: ${SUPPORTED_ADDON_NAMES.join(", ")}. Observability Plus does not accept a quantity. Custom environment purchases are per project and use packs (each pack adds ${CUSTOM_ENVIRONMENTS_PER_PACK} environments).`,
1906
1905
  arguments: [
1907
1906
  {
1908
1907
  name: "addon-name",
@@ -1910,7 +1909,7 @@ var addonSubcommand = {
1910
1909
  },
1911
1910
  {
1912
1911
  name: "quantity",
1913
- required: true
1912
+ required: false
1914
1913
  }
1915
1914
  ],
1916
1915
  options: [
@@ -1923,16 +1922,16 @@ var addonSubcommand = {
1923
1922
  ],
1924
1923
  examples: [
1925
1924
  {
1926
- name: "Purchase 1 SIEM addon",
1927
- value: `${packageName} buy addon siem 1`
1925
+ name: "Purchase Observability Plus",
1926
+ value: `${packageName} buy addon observability-plus`
1928
1927
  },
1929
1928
  {
1930
1929
  name: `Purchase ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} custom environment packs (${EXAMPLE_CUSTOM_ENVIRONMENT_COUNT} environments) for a project`,
1931
- value: `${packageName} buy addon customEnvironment ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} --project my-app`
1930
+ value: `${packageName} buy addon custom-environment ${CUSTOM_ENVIRONMENT_EXAMPLE_PACK_COUNT} --project my-app`
1932
1931
  },
1933
1932
  {
1934
1933
  name: "Remove purchased custom environment capacity",
1935
- value: `${packageName} buy addon customEnvironment 0 --project my-app --yes`
1934
+ value: `${packageName} buy addon custom-environment 0 --project my-app --yes`
1936
1935
  }
1937
1936
  ]
1938
1937
  };
@@ -1996,8 +1995,8 @@ var buyCommand = {
1996
1995
  value: `${packageName} buy credits v0 100`
1997
1996
  },
1998
1997
  {
1999
- name: "Purchase the SIEM addon",
2000
- value: `${packageName} buy addon siem 1`
1998
+ name: "Purchase Observability Plus",
1999
+ value: `${packageName} buy addon observability-plus`
2001
2000
  },
2002
2001
  {
2003
2002
  name: "Upgrade to Pro",
@@ -9694,6 +9693,68 @@ var sandboxCommand = {
9694
9693
  ]
9695
9694
  };
9696
9695
 
9696
+ // src/commands/security/command.ts
9697
+ var checkSubcommand2 = {
9698
+ name: "check",
9699
+ aliases: [],
9700
+ description: "Run the security checks for the current team and show each check with its risk level, status, violation count, and muted findings. Pass check slugs to compute only those checks and list their findings",
9701
+ default: true,
9702
+ arguments: [
9703
+ {
9704
+ name: "check",
9705
+ required: false,
9706
+ multiple: true
9707
+ }
9708
+ ],
9709
+ options: [
9710
+ {
9711
+ name: "findings",
9712
+ shorthand: null,
9713
+ type: Boolean,
9714
+ deprecated: false,
9715
+ description: "List individual findings under each check, including muted ones. Implied when a check slug is passed"
9716
+ },
9717
+ {
9718
+ name: "limit",
9719
+ shorthand: null,
9720
+ type: Number,
9721
+ argument: "N",
9722
+ deprecated: false,
9723
+ description: "Max findings returned per check (currently capped at 200 by the API). Violation counts are always exact even when findings are capped"
9724
+ },
9725
+ {
9726
+ ...projectOption,
9727
+ shorthand: "p",
9728
+ description: "Scope the report to one project"
9729
+ },
9730
+ formatOption,
9731
+ jsonOption
9732
+ ],
9733
+ examples: [
9734
+ {
9735
+ name: "Run all security checks",
9736
+ value: `${packageName} security check`
9737
+ },
9738
+ {
9739
+ name: "Deep-dive one check and its findings",
9740
+ value: `${packageName} security check pats-no-expiration`
9741
+ },
9742
+ {
9743
+ name: "Output the raw report as JSON",
9744
+ value: `${packageName} security check --json`
9745
+ }
9746
+ ]
9747
+ };
9748
+ var securityCommand = {
9749
+ name: "security",
9750
+ aliases: [],
9751
+ description: "Inspect the security posture of the current team",
9752
+ arguments: [],
9753
+ subcommands: [checkSubcommand2],
9754
+ options: [],
9755
+ examples: []
9756
+ };
9757
+
9697
9758
  // src/commands/skills/command.ts
9698
9759
  var skillsCommand = {
9699
9760
  name: "skills",
@@ -11252,6 +11313,7 @@ var commandsStructs = [
11252
11313
  rollbackCommand,
11253
11314
  rollingReleaseCommand,
11254
11315
  sandboxCommand,
11316
+ securityCommand,
11255
11317
  skillsCommand,
11256
11318
  targetCommand,
11257
11319
  teamsCommand,
@@ -11340,8 +11402,7 @@ export {
11340
11402
  SUPPORTED_CREDIT_TYPES,
11341
11403
  CREDIT_TYPE_LABELS,
11342
11404
  creditsSubcommand,
11343
- SUPPORTED_ADDON_ALIASES,
11344
- ADDON_LABELS,
11405
+ SUPPORTED_ADDON_NAMES,
11345
11406
  addonSubcommand,
11346
11407
  proSubcommand,
11347
11408
  domainSubcommand,
@@ -11559,6 +11620,8 @@ export {
11559
11620
  completeSubcommand,
11560
11621
  fetchSubcommand,
11561
11622
  rollingReleaseCommand,
11623
+ checkSubcommand2,
11624
+ securityCommand,
11562
11625
  skillsCommand,
11563
11626
  listSubcommand16,
11564
11627
  targetCommand,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR
9
- } from "./chunk-IBIZT5M4.js";
9
+ } from "./chunk-3R5JGMHV.js";
10
10
  import {
11
11
  parseArguments
12
12
  } from "./chunk-XLKFJPMT.js";
@@ -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-IBIZT5M4.js";
9
+ } from "./chunk-3R5JGMHV.js";
10
10
  import {
11
11
  AGENT_REASON,
12
12
  AGENT_STATUS,
@@ -8,7 +8,7 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-BZGIBXY6.js";
11
+ } from "./chunk-CMR5KQVR.js";
12
12
  import {
13
13
  output_manager_default
14
14
  } from "./chunk-OX7KI3LF.js";