vercel 54.9.1 → 54.10.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 (57) hide show
  1. package/dist/chunks/{add-DLK472F2.js → add-GWMRXCPO.js} +5 -5
  2. package/dist/chunks/{chunk-CSYB45VZ.js → chunk-2QPZXMJE.js} +67 -9
  3. package/dist/chunks/{chunk-BR7Z2MXT.js → chunk-4J5CBI5E.js} +6 -6
  4. package/dist/chunks/{chunk-2WIR65ZA.js → chunk-4WWFHUVW.js} +127 -93
  5. package/dist/chunks/{chunk-OZLTZQ6G.js → chunk-5LI3PLS3.js} +10 -3
  6. package/dist/chunks/{chunk-TS7YAK5A.js → chunk-6UAZGWVF.js} +1 -1
  7. package/dist/chunks/{chunk-WA3URLW4.js → chunk-6ULI5CCZ.js} +1 -1
  8. package/dist/chunks/{chunk-NHT3AQHJ.js → chunk-6YOW32LL.js} +4 -4
  9. package/dist/chunks/{chunk-7BNN27HP.js → chunk-DMKETFQS.js} +1 -1
  10. package/dist/chunks/{chunk-LZQB35VT.js → chunk-FKD3R5S7.js} +1 -1
  11. package/dist/chunks/{chunk-SZB6YXTE.js → chunk-GVYAYUAT.js} +2 -2
  12. package/dist/chunks/{chunk-KXIQF76V.js → chunk-HD23APLQ.js} +1 -1
  13. package/dist/chunks/{chunk-DPXUXH7G.js → chunk-J5273CSE.js} +2 -2
  14. package/dist/chunks/{chunk-6TKGW3ER.js → chunk-KCQWKLFD.js} +1 -1
  15. package/dist/chunks/{chunk-J5JWEUV2.js → chunk-OPAWD6UK.js} +1 -1
  16. package/dist/chunks/{chunk-5MNBLHCW.js → chunk-PB37FIFM.js} +1 -1
  17. package/dist/chunks/{chunk-KV23GR7J.js → chunk-PV533MBH.js} +1 -1
  18. package/dist/chunks/{chunk-5DEFO6LE.js → chunk-Q3ZD22HR.js} +2 -2
  19. package/dist/chunks/{chunk-ZOEYFRYV.js → chunk-QUU263YC.js} +3 -3
  20. package/dist/chunks/{chunk-BTHBAHZ7.js → chunk-RIDTMO6P.js} +1 -1
  21. package/dist/chunks/{chunk-WBGELPB3.js → chunk-SASCGHJW.js} +6 -6
  22. package/dist/chunks/{chunk-H3M6DIPE.js → chunk-T77OYIET.js} +1946 -191
  23. package/dist/chunks/{chunk-5ZJHY4AC.js → chunk-VNUNCNPE.js} +1 -1
  24. package/dist/chunks/{chunk-TAHQ6VAS.js → chunk-WFRHKZFI.js} +2 -1
  25. package/dist/chunks/{chunk-BBJUIDZF.js → chunk-YI3JV6GM.js} +3 -3
  26. package/dist/chunks/{compile-vercel-config-6DRMFWMC.js → compile-vercel-config-Y7NCY4TH.js} +2 -2
  27. package/dist/chunks/{delete-IJ6VXN3J.js → delete-53LWNN3R.js} +4 -4
  28. package/dist/chunks/{disable-YD3NZSGK.js → disable-PB4E5RT2.js} +4 -4
  29. package/dist/chunks/{discard-VFWKNLCW.js → discard-XJPKRCEX.js} +4 -4
  30. package/dist/chunks/{edit-3UMHPT2N.js → edit-LWDFUOJX.js} +6 -6
  31. package/dist/chunks/{enable-OM55GDFZ.js → enable-DBP5ARSO.js} +4 -4
  32. package/dist/chunks/{exec-JSOL4CYJ.js → exec-HI4HF4GY.js} +1 -1
  33. package/dist/chunks/{export-LSEMLHHU.js → export-LNTUARTL.js} +4 -4
  34. package/dist/chunks/{inspect-ZMNYUC4I.js → inspect-MLAWEGMC.js} +4 -4
  35. package/dist/chunks/{list-ZBRTOAFQ.js → list-74DI6236.js} +4 -4
  36. package/dist/chunks/{list-GIAM3YSQ.js → list-FIZTMQ44.js} +3 -3
  37. package/dist/chunks/{ls-NDRKV5AX.js → ls-3WF6K6R5.js} +5 -5
  38. package/dist/chunks/{publish-T3LIYYM2.js → publish-BLJ4Z47H.js} +4 -4
  39. package/dist/chunks/{query-ZPH4RM2S.js → query-N6O4SKZE.js} +3 -3
  40. package/dist/chunks/{reorder-E53AAA3P.js → reorder-TGFBUZO6.js} +4 -4
  41. package/dist/chunks/{restore-4HJU6B2V.js → restore-RQB3RYLR.js} +4 -4
  42. package/dist/chunks/{rm-ZOVPEOPT.js → rm-RY7JBRD5.js} +5 -5
  43. package/dist/chunks/{routes-3OHKNMGT.js → routes-EAMQVFU2.js} +2 -2
  44. package/dist/chunks/{rule-inspect-UMFXT335.js → rule-inspect-ENVJZ4PJ.js} +5 -5
  45. package/dist/chunks/{rules-LUJB7CCT.js → rules-3SSZZT7O.js} +6 -6
  46. package/dist/chunks/{schema-VKBUX74S.js → schema-F2RCHWJK.js} +3 -3
  47. package/dist/chunks/{update-G6D7GNBJ.js → update-QRLM425M.js} +5 -5
  48. package/dist/commands/build/index.js +332 -111
  49. package/dist/commands/deploy/index.js +13 -13
  50. package/dist/commands/dev/index.js +31 -16
  51. package/dist/commands/env/index.js +8 -8
  52. package/dist/commands/link/index.js +10 -10
  53. package/dist/commands/list/index.js +5 -5
  54. package/dist/commands-bulk.js +697 -89
  55. package/dist/index.js +12 -12
  56. package/dist/version.mjs +1 -1
  57. package/package.json +21 -21
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-LZQB35VT.js";
13
- import "./chunk-5DEFO6LE.js";
12
+ } from "./chunk-FKD3R5S7.js";
13
+ import "./chunk-Q3ZD22HR.js";
14
14
  import "./chunk-5SYDEK2N.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -21,9 +21,9 @@ import {
21
21
  import {
22
22
  AGENT_REASON
23
23
  } from "./chunk-LJ5WXXG6.js";
24
- import "./chunk-WA3URLW4.js";
25
- import "./chunk-H3M6DIPE.js";
26
- import "./chunk-DPXUXH7G.js";
24
+ import "./chunk-6ULI5CCZ.js";
25
+ import "./chunk-T77OYIET.js";
26
+ import "./chunk-J5273CSE.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
29
29
  outputAgentError
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IB5L4LKZ.js";
10
10
  import {
11
11
  require_execa
12
- } from "./chunk-BBJUIDZF.js";
12
+ } from "./chunk-YI3JV6GM.js";
13
13
  import {
14
14
  VERCEL_DIR,
15
15
  readJSONFile,
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-H3M6DIPE.js";
21
+ } from "./chunk-T77OYIET.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -11227,6 +11227,7 @@ import {
11227
11227
  normalizePath,
11228
11228
  isBackendBuilder,
11229
11229
  isExperimentalBackendsEnabled,
11230
+ isExperimentalService,
11230
11231
  isExternalSymlink
11231
11232
  } from "@vercel/build-utils";
11232
11233
 
@@ -11355,6 +11356,12 @@ function getExtractedMode(entryMode, isDir) {
11355
11356
  var import_client2 = __toESM(require_dist2(), 1);
11356
11357
  var { normalize } = posix;
11357
11358
  var OUTPUT_DIR = join4(VERCEL_DIR, "output");
11359
+ var BUILD_OUTPUT_API_ENTRIES = [
11360
+ "config.json",
11361
+ "functions",
11362
+ "routes",
11363
+ "static"
11364
+ ];
11358
11365
  async function writeBuildResult(args) {
11359
11366
  const {
11360
11367
  repoRootPath,
@@ -11367,8 +11374,10 @@ async function writeBuildResult(args) {
11367
11374
  standalone,
11368
11375
  workPath,
11369
11376
  service,
11377
+ nestServiceOutput = false,
11370
11378
  stripServiceRoutePrefix = false
11371
11379
  } = args;
11380
+ const writeOutputDir = service && nestServiceOutput ? getServiceOutputDir(outputDir, service) : outputDir;
11372
11381
  let version2;
11373
11382
  let actualResult;
11374
11383
  if (builder.version === -1) {
@@ -11382,25 +11391,27 @@ async function writeBuildResult(args) {
11382
11391
  if (typeof version2 !== "number" || version2 === 2) {
11383
11392
  return writeBuildResultV2({
11384
11393
  repoRootPath,
11385
- outputDir,
11394
+ outputDir: writeOutputDir,
11386
11395
  buildResult: actualResult,
11387
11396
  build: build2,
11388
11397
  vercelConfig,
11389
11398
  standalone,
11390
11399
  workPath,
11391
11400
  service,
11401
+ rootOutputDir: outputDir,
11392
11402
  stripServiceRoutePrefix
11393
11403
  });
11394
11404
  } else if (version2 === 3) {
11395
11405
  return writeBuildResultV3({
11396
11406
  repoRootPath,
11397
- outputDir,
11407
+ outputDir: writeOutputDir,
11398
11408
  buildResult: actualResult,
11399
11409
  build: build2,
11400
11410
  vercelConfig,
11401
11411
  standalone,
11402
11412
  workPath,
11403
11413
  service,
11414
+ rootOutputDir: outputDir,
11404
11415
  stripServiceRoutePrefix
11405
11416
  });
11406
11417
  }
@@ -11441,6 +11452,17 @@ function injectServiceEnvVars(lambda, service, stripServiceRoutePrefix = false)
11441
11452
  function stripDuplicateSlashes(path2) {
11442
11453
  return normalize(path2).replace(/(^\/|\/$)/g, "");
11443
11454
  }
11455
+ function getServiceOutputDir(outputDir, service) {
11456
+ return join4(outputDir, "services", service.name);
11457
+ }
11458
+ async function relocateRootBuildOutputToService(args) {
11459
+ const { outputDir, service, workPath } = args;
11460
+ await relocateBuildOutputApiEntries(
11461
+ outputDir,
11462
+ getServiceOutputDir(outputDir, service),
11463
+ workPath
11464
+ );
11465
+ }
11444
11466
  async function writeBuildResultV2(args) {
11445
11467
  const {
11446
11468
  repoRootPath,
@@ -11451,10 +11473,11 @@ async function writeBuildResultV2(args) {
11451
11473
  standalone,
11452
11474
  workPath,
11453
11475
  service,
11476
+ rootOutputDir,
11454
11477
  stripServiceRoutePrefix
11455
11478
  } = args;
11456
11479
  if ("buildOutputPath" in buildResult) {
11457
- await mergeBuilderOutput(outputDir, buildResult, workPath);
11480
+ await mergeBuilderOutput(outputDir, buildResult, workPath, rootOutputDir);
11458
11481
  return;
11459
11482
  }
11460
11483
  if (!buildResult.output) {
@@ -11469,7 +11492,11 @@ async function writeBuildResultV2(args) {
11469
11492
  for (const [path2, output] of Object.entries(buildResult.output)) {
11470
11493
  const normalizedPath = stripDuplicateSlashes(path2);
11471
11494
  if (isLambda(output)) {
11472
- injectServiceEnvVars(output, service, stripServiceRoutePrefix);
11495
+ injectServiceEnvVars(
11496
+ output,
11497
+ service && isExperimentalService(service) ? service : void 0,
11498
+ stripServiceRoutePrefix
11499
+ );
11473
11500
  await writeLambda(
11474
11501
  repoRootPath,
11475
11502
  outputDir,
@@ -11565,6 +11592,7 @@ async function writeBuildResultV3(args) {
11565
11592
  standalone,
11566
11593
  workPath,
11567
11594
  service,
11595
+ rootOutputDir,
11568
11596
  stripServiceRoutePrefix
11569
11597
  } = args;
11570
11598
  const { output } = buildResult;
@@ -11595,6 +11623,7 @@ async function writeBuildResultV3(args) {
11595
11623
  standalone,
11596
11624
  workPath,
11597
11625
  service,
11626
+ rootOutputDir,
11598
11627
  stripServiceRoutePrefix
11599
11628
  });
11600
11629
  } catch (error) {
@@ -11611,6 +11640,7 @@ async function writeBuildResultV3(args) {
11611
11640
  standalone,
11612
11641
  workPath,
11613
11642
  service,
11643
+ rootOutputDir,
11614
11644
  stripServiceRoutePrefix
11615
11645
  });
11616
11646
  }
@@ -11628,7 +11658,11 @@ async function writeBuildResultV3(args) {
11628
11658
  build2.config?.zeroConfig ? src.substring(0, src.length - ext.length) : src
11629
11659
  );
11630
11660
  if (isLambda(output)) {
11631
- injectServiceEnvVars(output, service, stripServiceRoutePrefix);
11661
+ injectServiceEnvVars(
11662
+ output,
11663
+ service && isExperimentalService(service) ? service : void 0,
11664
+ stripServiceRoutePrefix
11665
+ );
11632
11666
  await writeLambda(
11633
11667
  repoRootPath,
11634
11668
  outputDir,
@@ -11812,8 +11846,9 @@ async function writeLambda(repoRootPath, outputDir, lambda, path2, functionConfi
11812
11846
  }
11813
11847
  }
11814
11848
  }
11815
- async function mergeBuilderOutput(outputDir, buildResult, workPath) {
11849
+ async function mergeBuilderOutput(outputDir, buildResult, workPath, rootOutputDir) {
11816
11850
  const absOutputDir = resolve2(outputDir);
11851
+ const absRootOutputDir = resolve2(rootOutputDir);
11817
11852
  const { ig } = await (0, import_client2.getVercelIgnore)(workPath);
11818
11853
  const filter = ig.createFilter();
11819
11854
  if (absOutputDir === buildResult.buildOutputPath) {
@@ -11826,6 +11861,10 @@ async function mergeBuilderOutput(outputDir, buildResult, workPath) {
11826
11861
  }
11827
11862
  return;
11828
11863
  }
11864
+ if (resolve2(buildResult.buildOutputPath) === absRootOutputDir) {
11865
+ await relocateBuildOutputApiEntries(rootOutputDir, outputDir, workPath);
11866
+ return;
11867
+ }
11829
11868
  const ignoreFilter = (path2) => {
11830
11869
  const normalizedPath = path2.replace(/\\/g, "/");
11831
11870
  if (normalizedPath.startsWith("static/")) {
@@ -11835,6 +11874,24 @@ async function mergeBuilderOutput(outputDir, buildResult, workPath) {
11835
11874
  };
11836
11875
  await merge(buildResult.buildOutputPath, outputDir, ignoreFilter);
11837
11876
  }
11877
+ async function relocateBuildOutputApiEntries(rootOutputDir, outputDir, workPath) {
11878
+ const { ig } = await (0, import_client2.getVercelIgnore)(workPath);
11879
+ const filter = ig.createFilter();
11880
+ await import_fs_extra5.default.mkdirp(outputDir);
11881
+ await Promise.all(
11882
+ BUILD_OUTPUT_API_ENTRIES.map(async (entry) => {
11883
+ const src = join4(rootOutputDir, entry);
11884
+ if (!await import_fs_extra5.default.pathExists(src))
11885
+ return;
11886
+ const dest = join4(outputDir, entry);
11887
+ if (entry === "static") {
11888
+ await merge(src, dest, (path2) => filter(path2));
11889
+ } else {
11890
+ await merge(src, dest);
11891
+ }
11892
+ })
11893
+ );
11894
+ }
11838
11895
  async function cleanIgnoredFiles(dir, staticRoot, filter) {
11839
11896
  const entries = await import_fs_extra5.default.readdir(dir);
11840
11897
  await Promise.all(
@@ -11943,7 +12000,8 @@ export {
11943
12000
  getStaticServiceSchedules,
11944
12001
  OUTPUT_DIR,
11945
12002
  writeBuildResult,
11946
- isLambda
12003
+ isLambda,
12004
+ relocateRootBuildOutputToService
11947
12005
  };
11948
12006
  /*! Bundled license information:
11949
12007
 
@@ -8,25 +8,25 @@ import {
8
8
  getUpdateCommand,
9
9
  isGlobal,
10
10
  isNativeBinaryInstall
11
- } from "./chunk-6TKGW3ER.js";
11
+ } from "./chunk-KCQWKLFD.js";
12
12
  import {
13
13
  getGlobalPathConfig,
14
14
  writeToConfigFile
15
- } from "./chunk-OZLTZQ6G.js";
15
+ } from "./chunk-5LI3PLS3.js";
16
16
  import {
17
17
  apiCommand,
18
18
  listSubcommand2 as listSubcommand,
19
19
  loginCommand
20
- } from "./chunk-2WIR65ZA.js";
20
+ } from "./chunk-4WWFHUVW.js";
21
21
  import {
22
22
  help
23
- } from "./chunk-5ZJHY4AC.js";
23
+ } from "./chunk-VNUNCNPE.js";
24
24
  import {
25
25
  login
26
- } from "./chunk-H3M6DIPE.js";
26
+ } from "./chunk-T77OYIET.js";
27
27
  import {
28
28
  TelemetryClient
29
- } from "./chunk-DPXUXH7G.js";
29
+ } from "./chunk-J5273CSE.js";
30
30
  import {
31
31
  require_ms
32
32
  } from "./chunk-CO5D46AG.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-DAASB6YQ.js";
10
10
  import {
11
11
  routesCommand
12
- } from "./chunk-TAHQ6VAS.js";
12
+ } from "./chunk-WFRHKZFI.js";
13
13
  import {
14
14
  alertsCommand
15
15
  } from "./chunk-IQQJHYW4.js";
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-7BNN27HP.js";
28
+ } from "./chunk-DMKETFQS.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-H3M6DIPE.js";
31
+ } from "./chunk-T77OYIET.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -1351,6 +1351,22 @@ var createSubcommand2 = {
1351
1351
  deprecated: false,
1352
1352
  description: "Enable webhook triggers for this connector"
1353
1353
  },
1354
+ {
1355
+ name: "data",
1356
+ shorthand: null,
1357
+ type: String,
1358
+ argument: "JSON",
1359
+ deprecated: false,
1360
+ description: "JSON object for non-managed connector creation. When set, posts directly to the connector create API."
1361
+ },
1362
+ {
1363
+ name: "connector-type",
1364
+ shorthand: null,
1365
+ type: String,
1366
+ argument: "TYPE",
1367
+ deprecated: false,
1368
+ description: "Connector type for non-managed creation. By default, the type is resolved from the service."
1369
+ },
1354
1370
  {
1355
1371
  name: "icon",
1356
1372
  shorthand: null,
@@ -1394,6 +1410,14 @@ var createSubcommand2 = {
1394
1410
  name: "Create with branding (icon and colors)",
1395
1411
  value: `${packageName} connect create slack --name my-bot --icon ./logo.png --background-color '#1A2B3C' --accent-color '#FF0066'`
1396
1412
  },
1413
+ {
1414
+ name: "Create a non-managed connector from explicit data",
1415
+ value: `${packageName} connect create mcp.linear.app --name linear --data '{"clientId":"abc123"}'`
1416
+ },
1417
+ {
1418
+ name: "Create a non-managed connector with an explicit connector type",
1419
+ value: `${packageName} connect create slack --name my-bot --connector-type slack --data '{"appId":"A123","appName":"my-bot","clientId":"abc","clientSecret":"secret"}'`
1420
+ },
1397
1421
  {
1398
1422
  name: "Output as JSON",
1399
1423
  value: `${packageName} connect create slack --format=json`
@@ -2178,12 +2202,12 @@ var importSubcommand = {
2178
2202
  var listSubcommand7 = {
2179
2203
  name: "list",
2180
2204
  aliases: ["ls"],
2181
- description: "List all DNS entries for a domain",
2205
+ description: "List DNS entries. Pass a domain to list its records, or omit the argument to list records across every domain on the scope",
2182
2206
  default: true,
2183
2207
  arguments: [
2184
2208
  {
2185
2209
  name: "domain",
2186
- required: true
2210
+ required: false
2187
2211
  }
2188
2212
  ],
2189
2213
  options: [limitOption, nextOption],
@@ -2387,6 +2411,81 @@ var priceSubcommand = {
2387
2411
  }
2388
2412
  ]
2389
2413
  };
2414
+ var searchSubcommand = {
2415
+ name: "search",
2416
+ aliases: [],
2417
+ description: "Discover domain-name candidates from a keyword or fragment",
2418
+ arguments: [
2419
+ {
2420
+ name: "query",
2421
+ required: true
2422
+ }
2423
+ ],
2424
+ options: [
2425
+ {
2426
+ name: "available",
2427
+ shorthand: null,
2428
+ type: Boolean,
2429
+ description: "Show only candidates available to register",
2430
+ deprecated: false
2431
+ },
2432
+ {
2433
+ name: "order",
2434
+ shorthand: null,
2435
+ type: String,
2436
+ argument: "ORDER",
2437
+ description: "Order candidates by relevance, alphabetical order, or length (default: relevance)",
2438
+ deprecated: false
2439
+ },
2440
+ {
2441
+ name: "limit",
2442
+ shorthand: null,
2443
+ type: Number,
2444
+ argument: "NUMBER",
2445
+ description: "Number of candidates to check per page (default: 20, max: 200)",
2446
+ deprecated: false
2447
+ },
2448
+ {
2449
+ name: "tld",
2450
+ shorthand: null,
2451
+ type: [String],
2452
+ argument: "TLD",
2453
+ description: "Filter candidates by exact TLD. Repeatable.",
2454
+ deprecated: false
2455
+ },
2456
+ {
2457
+ name: "next",
2458
+ shorthand: null,
2459
+ type: String,
2460
+ argument: "CURSOR",
2461
+ description: "Show the next page of candidates",
2462
+ deprecated: false
2463
+ },
2464
+ formatOption
2465
+ ],
2466
+ examples: [
2467
+ {
2468
+ name: "Discover domain-name candidates",
2469
+ value: `${packageName} domains search acme`
2470
+ },
2471
+ {
2472
+ name: "Narrow candidates with a TLD fragment",
2473
+ value: `${packageName} domains search acme.d`
2474
+ },
2475
+ {
2476
+ name: "Filter candidates by TLD",
2477
+ value: `${packageName} domains search acme --tld com --tld dev`
2478
+ },
2479
+ {
2480
+ name: "Show only available candidates",
2481
+ value: `${packageName} domains search acme --available`
2482
+ },
2483
+ {
2484
+ name: "JSON output",
2485
+ value: `${packageName} domains search acme --format=json`
2486
+ }
2487
+ ]
2488
+ };
2390
2489
  var buySubcommand = {
2391
2490
  name: "buy",
2392
2491
  aliases: [],
@@ -2483,6 +2582,7 @@ var domainsCommand = {
2483
2582
  checkSubcommand,
2484
2583
  moveSubcommand,
2485
2584
  priceSubcommand,
2585
+ searchSubcommand,
2486
2586
  transferInSubcommand,
2487
2587
  removeSubcommand6
2488
2588
  ],
@@ -4456,7 +4556,7 @@ var initCommand = {
4456
4556
  },
4457
4557
  {
4458
4558
  name: "Initialize example project into specified directory",
4459
- value: `${packageName} <example> <dir>`
4559
+ value: `${packageName} init <example> <dir>`
4460
4560
  },
4461
4561
  {
4462
4562
  name: "Initialize example project without checking",
@@ -6633,6 +6733,14 @@ var projectCommand = {
6633
6733
  };
6634
6734
 
6635
6735
  // src/commands/promote/command.ts
6736
+ var timeoutOption = {
6737
+ name: "timeout",
6738
+ description: "Time to wait for promotion completion [3m]",
6739
+ argument: "TIME",
6740
+ shorthand: null,
6741
+ type: String,
6742
+ deprecated: false
6743
+ };
6636
6744
  var statusSubcommand2 = {
6637
6745
  name: "status",
6638
6746
  aliases: [],
@@ -6644,6 +6752,7 @@ var statusSubcommand2 = {
6644
6752
  }
6645
6753
  ],
6646
6754
  options: [
6755
+ timeoutOption,
6647
6756
  {
6648
6757
  ...yesOption,
6649
6758
  description: "Skip the confirmation prompt when linking a Project"
@@ -6672,14 +6781,7 @@ var promoteCommand = {
6672
6781
  ],
6673
6782
  subcommands: [statusSubcommand2],
6674
6783
  options: [
6675
- {
6676
- name: "timeout",
6677
- description: "Time to wait for promotion completion [3m]",
6678
- argument: "TIME",
6679
- shorthand: null,
6680
- type: String,
6681
- deprecated: false
6682
- },
6784
+ timeoutOption,
6683
6785
  {
6684
6786
  ...yesOption,
6685
6787
  description: "Skip the confirmation prompt when linking a Project"
@@ -7057,6 +7159,14 @@ var removeCommand = {
7057
7159
  };
7058
7160
 
7059
7161
  // src/commands/rollback/command.ts
7162
+ var timeoutOption2 = {
7163
+ name: "timeout",
7164
+ description: "Time to wait for rollback completion [3m]",
7165
+ argument: "TIME",
7166
+ shorthand: null,
7167
+ type: String,
7168
+ deprecated: false
7169
+ };
7060
7170
  var statusSubcommand3 = {
7061
7171
  name: "status",
7062
7172
  aliases: [],
@@ -7067,7 +7177,7 @@ var statusSubcommand3 = {
7067
7177
  required: false
7068
7178
  }
7069
7179
  ],
7070
- options: [],
7180
+ options: [timeoutOption2],
7071
7181
  examples: [
7072
7182
  {
7073
7183
  name: "Show the status of any current pending rollbacks",
@@ -7090,17 +7200,7 @@ var rollbackCommand = {
7090
7200
  }
7091
7201
  ],
7092
7202
  subcommands: [statusSubcommand3],
7093
- options: [
7094
- {
7095
- name: "timeout",
7096
- description: "Time to wait for rollback completion [3m]",
7097
- argument: "TIME",
7098
- shorthand: null,
7099
- type: String,
7100
- deprecated: false
7101
- },
7102
- yesOption
7103
- ],
7203
+ options: [timeoutOption2, yesOption],
7104
7204
  examples: [
7105
7205
  {
7106
7206
  name: "Rollback a deployment using id or url",
@@ -8164,70 +8264,6 @@ var getSubcommand3 = {
8164
8264
  ],
8165
8265
  examples: []
8166
8266
  };
8167
- var addStoreSubcommand = {
8168
- name: "add",
8169
- aliases: [],
8170
- description: "Add a new Blob store",
8171
- arguments: [
8172
- {
8173
- name: "name",
8174
- required: false
8175
- }
8176
- ],
8177
- options: [
8178
- accessOption,
8179
- {
8180
- name: "region",
8181
- shorthand: "r",
8182
- type: String,
8183
- deprecated: false,
8184
- description: 'Region to create the Blob store in (default: "iad1"). See https://vercel.com/docs/edge-network/regions#region-list for all available regions',
8185
- argument: "STRING"
8186
- },
8187
- yesOption,
8188
- environmentOption
8189
- ],
8190
- examples: [
8191
- {
8192
- name: 'Create a blob store (uses default region "iad1")',
8193
- value: "vercel blob store add my-store"
8194
- },
8195
- {
8196
- name: "Create a blob store in a specific region",
8197
- value: "vercel blob store add my-store --region cdg1"
8198
- },
8199
- {
8200
- name: "Create a private blob store",
8201
- value: "vercel blob store add my-private-store --access private"
8202
- }
8203
- ]
8204
- };
8205
- var removeStoreSubcommand = {
8206
- name: "remove",
8207
- aliases: ["rm"],
8208
- description: "Remove a Blob store",
8209
- arguments: [
8210
- {
8211
- name: "storeId",
8212
- required: false
8213
- }
8214
- ],
8215
- options: [yesOption],
8216
- examples: []
8217
- };
8218
- var getStoreSubcommand = {
8219
- name: "get",
8220
- aliases: [],
8221
- description: "Get a Blob store",
8222
- arguments: [
8223
- {
8224
- name: "storeId",
8225
- required: false
8226
- }
8227
- ],
8228
- options: [],
8229
- examples: []
8230
- };
8231
8267
  var createStoreSubcommand = {
8232
8268
  name: "create-store",
8233
8269
  aliases: [],
@@ -8635,6 +8671,7 @@ export {
8635
8671
  addSubcommand5 as addSubcommand4,
8636
8672
  removeSubcommand6,
8637
8673
  priceSubcommand,
8674
+ searchSubcommand,
8638
8675
  buySubcommand,
8639
8676
  checkSubcommand,
8640
8677
  moveSubcommand,
@@ -8812,9 +8849,6 @@ export {
8812
8849
  delSubcommand,
8813
8850
  copySubcommand,
8814
8851
  getSubcommand3,
8815
- addStoreSubcommand,
8816
- removeStoreSubcommand,
8817
- getStoreSubcommand,
8818
8852
  createStoreSubcommand,
8819
8853
  deleteStoreSubcommand,
8820
8854
  emptyStoreSubcommand,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-V5P25P7F.js";
10
10
  import {
11
11
  getLocalPathConfig
12
- } from "./chunk-5MNBLHCW.js";
12
+ } from "./chunk-PB37FIFM.js";
13
13
  import {
14
14
  DEFAULT_VERCEL_CONFIG_FILENAME,
15
15
  VERCEL_CONFIG_EXTENSIONS,
@@ -36,10 +36,10 @@ import {
36
36
  useKeypress,
37
37
  usePrefix,
38
38
  useState
39
- } from "./chunk-H3M6DIPE.js";
39
+ } from "./chunk-T77OYIET.js";
40
40
  import {
41
41
  require_load_json_file
42
- } from "./chunk-DPXUXH7G.js";
42
+ } from "./chunk-J5273CSE.js";
43
43
  import {
44
44
  require_lib as require_lib2
45
45
  } from "./chunk-N2T234LO.js";
@@ -51,6 +51,9 @@ import {
51
51
  APIError,
52
52
  NowError
53
53
  } from "./chunk-LN6B7ZI3.js";
54
+ import {
55
+ pkg_default
56
+ } from "./chunk-P4QNYOFB.js";
54
57
  import {
55
58
  emoji,
56
59
  link_default,
@@ -1607,6 +1610,7 @@ function sleep(ms) {
1607
1610
  }
1608
1611
 
1609
1612
  // src/util/client.ts
1613
+ var DOMAINS_API_PATH = /^\/v\d+\/(?:domains|registrar)(?:\/|$)/;
1610
1614
  var isSAMLError = (v) => {
1611
1615
  return v && v.saml;
1612
1616
  };
@@ -1891,6 +1895,9 @@ Are you sure you want to proceed?`;
1891
1895
  }
1892
1896
  const headers = new import_node_fetch.Headers(opts.headers);
1893
1897
  headers.set("user-agent", ua_default);
1898
+ if (DOMAINS_API_PATH.test(url.pathname)) {
1899
+ headers.set("x-vercel-cli-version", pkg_default.version);
1900
+ }
1894
1901
  if (this.agentName) {
1895
1902
  headers.set("x-ai-agent", this.agentName);
1896
1903
  }
@@ -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-H3M6DIPE.js";
9
+ } from "./chunk-T77OYIET.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -11,7 +11,7 @@ import {
11
11
  getTeamById,
12
12
  getUser,
13
13
  getVercelDirectory
14
- } from "./chunk-H3M6DIPE.js";
14
+ } from "./chunk-T77OYIET.js";
15
15
  import {
16
16
  TeamDeleted
17
17
  } from "./chunk-LN6B7ZI3.js";
@@ -9,7 +9,7 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-OZLTZQ6G.js";
12
+ } from "./chunk-5LI3PLS3.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-LKBI43XK.js";
@@ -19,10 +19,10 @@ import {
19
19
  } from "./chunk-TCF6MGBY.js";
20
20
  import {
21
21
  CommandTimeout
22
- } from "./chunk-2WIR65ZA.js";
22
+ } from "./chunk-4WWFHUVW.js";
23
23
  import {
24
24
  getScope
25
- } from "./chunk-WA3URLW4.js";
25
+ } from "./chunk-6ULI5CCZ.js";
26
26
  import {
27
27
  getProjectByNameOrId,
28
28
  param,
@@ -31,7 +31,7 @@ import {
31
31
  require_pluralize,
32
32
  showPluginTipIfNeeded,
33
33
  ua_default
34
- } from "./chunk-H3M6DIPE.js";
34
+ } from "./chunk-T77OYIET.js";
35
35
  import {
36
36
  require_ms,
37
37
  stamp_default