vercel 52.2.0 → 53.0.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/{add-TH62Y34V.js → add-S3BUT3KQ.js} +5 -5
  2. package/dist/chunks/{chunk-WCMV6TSF.js → chunk-2RFTQMCH.js} +1 -1
  3. package/dist/chunks/{chunk-U3WLEFHU.js → chunk-4Z7KJQGN.js} +6 -0
  4. package/dist/chunks/{chunk-QPPVRYOB.js → chunk-57OG3NFC.js} +1 -1
  5. package/dist/chunks/{chunk-EVDPX5BO.js → chunk-6DECDOGX.js} +1 -1
  6. package/dist/chunks/{chunk-LSPPTDRH.js → chunk-7KSQOBO6.js} +1 -1
  7. package/dist/chunks/{chunk-ODASAX4M.js → chunk-BNAHPSLB.js} +1 -1
  8. package/dist/chunks/{chunk-OVFHCZBS.js → chunk-BQOJ2BDS.js} +8 -8
  9. package/dist/chunks/{chunk-I5OH27IT.js → chunk-CLLHWKQN.js} +1 -1
  10. package/dist/chunks/{chunk-BUPMO37Q.js → chunk-D2KD42ZV.js} +133 -45
  11. package/dist/chunks/{chunk-QTX36APP.js → chunk-IC6EDRCI.js} +2 -2
  12. package/dist/chunks/{chunk-OHOYN7R2.js → chunk-IFPIVLCE.js} +1 -1
  13. package/dist/chunks/{chunk-7L7NSLYK.js → chunk-IWGJIRFK.js} +2 -2
  14. package/dist/chunks/{chunk-NJYOE4D7.js → chunk-L3UAXRIV.js} +1 -1
  15. package/dist/chunks/{chunk-5EZVRZOJ.js → chunk-LOS2AA5C.js} +38 -69
  16. package/dist/chunks/{chunk-FUUQ2WSC.js → chunk-NUDNH7KK.js} +6 -6
  17. package/dist/chunks/{chunk-ZI2C6YH2.js → chunk-PD5HCBBY.js} +12 -7
  18. package/dist/chunks/{chunk-ZJKFUXSF.js → chunk-RKBCXTHK.js} +1 -1
  19. package/dist/chunks/{chunk-O7R67TAG.js → chunk-VLWTUL5F.js} +4 -2
  20. package/dist/chunks/{chunk-JJXA2DQW.js → chunk-VS4O4MKY.js} +1 -1
  21. package/dist/chunks/{chunk-FPTKAORS.js → chunk-W7MR5OK3.js} +2 -2
  22. package/dist/chunks/{chunk-ZZDXEXJ5.js → chunk-WR7S7PWN.js} +7 -7
  23. package/dist/chunks/{chunk-H2O3DQDC.js → chunk-WTXYVRTW.js} +2 -2
  24. package/dist/chunks/{chunk-FUYNVB23.js → chunk-WZZBS2SZ.js} +1 -1
  25. package/dist/chunks/{compile-vercel-config-H5YVD5ZD.js → compile-vercel-config-PJN7DW4H.js} +2 -2
  26. package/dist/chunks/{delete-WW5B2IIN.js → delete-TBPSIJ2Y.js} +3 -3
  27. package/dist/chunks/{disable-WSV2JYK6.js → disable-6K46H3LF.js} +3 -3
  28. package/dist/chunks/{discard-BTIMKAXZ.js → discard-7MMLSQCH.js} +3 -3
  29. package/dist/chunks/{edit-LOQJITTM.js → edit-OM7SMKFO.js} +5 -5
  30. package/dist/chunks/{enable-XMWWLBL7.js → enable-EA7VELBO.js} +3 -3
  31. package/dist/chunks/{export-P2OSIM3L.js → export-EDEVEIPT.js} +3 -3
  32. package/dist/chunks/{inspect-5NKOJ64V.js → inspect-AUTVRW5N.js} +6 -6
  33. package/dist/chunks/{list-ZSRD6M3H.js → list-7A7YF7LJ.js} +5 -5
  34. package/dist/chunks/{list-OLUANKMJ.js → list-ZA6FTW2G.js} +4 -4
  35. package/dist/chunks/{ls-3YMXPZ7A.js → ls-57JSYP5Q.js} +5 -5
  36. package/dist/chunks/{publish-T2HPYN5D.js → publish-XRQG6WAA.js} +3 -3
  37. package/dist/chunks/{query-ZKNQWF5L.js → query-JWXCJWZG.js} +5 -5
  38. package/dist/chunks/{reorder-WQA5LQ7X.js → reorder-5GYXEH5H.js} +3 -3
  39. package/dist/chunks/{restore-QTREUYWW.js → restore-LYPACI5W.js} +3 -3
  40. package/dist/chunks/{rm-4JKXZFP3.js → rm-XNGCDU4C.js} +5 -5
  41. package/dist/chunks/{routes-OFD6HJOW.js → routes-KDWN24QA.js} +2 -2
  42. package/dist/chunks/{rule-inspect-3PUS2RKH.js → rule-inspect-3WNGN6TA.js} +5 -5
  43. package/dist/chunks/{rules-GBXWDR3P.js → rules-R5LVTCSA.js} +6 -6
  44. package/dist/chunks/{schema-TXE5TXMY.js → schema-Q7VADI6C.js} +5 -5
  45. package/dist/chunks/{update-57KTLPIK.js → update-HQI4PQCH.js} +5 -5
  46. package/dist/commands/build/index.js +13 -12
  47. package/dist/commands/deploy/index.js +19 -12
  48. package/dist/commands/dev/index.js +23 -21
  49. package/dist/commands/env/index.js +7 -7
  50. package/dist/commands/link/index.js +14 -24
  51. package/dist/commands/list/index.js +7 -7
  52. package/dist/commands-bulk.js +1625 -1312
  53. package/dist/index.js +36 -17
  54. package/dist/version.mjs +1 -1
  55. package/package.json +26 -28
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-JCLLQ23G.js";
13
13
  import {
14
14
  getLocalPathConfig
15
- } from "./chunk-FUYNVB23.js";
15
+ } from "./chunk-WZZBS2SZ.js";
16
16
  import {
17
17
  autoInstallVercelPlugin
18
- } from "./chunk-OHOYN7R2.js";
18
+ } from "./chunk-IFPIVLCE.js";
19
19
  import {
20
20
  DEFAULT_VERCEL_CONFIG_FILENAME,
21
21
  VERCEL_CONFIG_EXTENSIONS,
@@ -41,11 +41,11 @@ import {
41
41
  useKeypress,
42
42
  usePrefix,
43
43
  useState
44
- } from "./chunk-ZI2C6YH2.js";
44
+ } from "./chunk-PD5HCBBY.js";
45
45
  import {
46
46
  require_load_json_file,
47
47
  require_write_json_file
48
- } from "./chunk-U3WLEFHU.js";
48
+ } from "./chunk-4Z7KJQGN.js";
49
49
  import {
50
50
  printError,
51
51
  require_strip_ansi
@@ -719,41 +719,18 @@ var require_open = __commonJS({
719
719
  }
720
720
  });
721
721
 
722
- // src/util/config/get-default.ts
723
- var defaultGlobalConfig = {
724
- "// Note": "This is your Vercel config file. For more information see the global configuration documentation.",
725
- "// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#config.json"
726
- };
727
- function getDefaultAuthConfig(tokenStoredInSystemKeychain = false) {
728
- return {
729
- "// Note": tokenStoredInSystemKeychain ? "Your auth token is stored in your system keychain." : "This is your Vercel credentials file. DO NOT SHARE!",
730
- "// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#auth.json"
731
- };
732
- }
733
- var defaultAuthConfig = getDefaultAuthConfig();
734
-
735
722
  // src/util/config/files.ts
736
723
  var import_load_json_file = __toESM(require_load_json_file(), 1);
737
724
  var import_write_json_file = __toESM(require_write_json_file(), 1);
738
725
  var import_client = __toESM(require_dist2(), 1);
739
726
  import { join, basename, dirname } from "path";
740
727
  import { accessSync, constants } from "fs";
741
- import {
742
- clearAllCredentialsStrict,
743
- hasCredentials,
744
- readCredentials,
745
- resolveAuthTokenStorage,
746
- writeCredentials
747
- } from "@vercel/cli-auth/credentials-store.js";
748
728
  var import_error_utils = __toESM(require_dist(), 1);
749
729
  var VERCEL_DIR2 = global_path_default();
750
730
  var CONFIG_FILE_PATH = join(VERCEL_DIR2, "config.json");
751
731
  var AUTH_CONFIG_FILE_PATH = join(VERCEL_DIR2, "auth.json");
752
732
  var readConfigFile = () => {
753
733
  const config = import_load_json_file.default.sync(CONFIG_FILE_PATH);
754
- if ("authTokenStorage" in config) {
755
- config.authTokenStorage = resolveAuthTokenStorage(config.authTokenStorage);
756
- }
757
734
  return config;
758
735
  };
759
736
  var writeToConfigFile = (stuff) => {
@@ -780,44 +757,38 @@ var writeToConfigFile = (stuff) => {
780
757
  throw err;
781
758
  }
782
759
  };
783
- function getAuthStoreConfig(config) {
784
- return {
785
- authTokenStorage: resolveAuthTokenStorage(config.authTokenStorage)
786
- };
787
- }
788
- function toPersistedAuthConfig(authConfig) {
789
- const { skipWrite, tokenSource, ...persistedAuthConfig } = authConfig;
790
- return persistedAuthConfig;
791
- }
792
- var readAuthConfigFile = (config) => {
793
- return {
794
- ...getDefaultAuthConfig(),
795
- ...readCredentials(VERCEL_DIR2, getAuthStoreConfig(config))
796
- };
760
+ var readAuthConfigFile = () => {
761
+ const config = import_load_json_file.default.sync(AUTH_CONFIG_FILE_PATH);
762
+ return config;
797
763
  };
798
- var persistAuthConfig = (authConfig, config) => {
764
+ var writeToAuthConfigFile = (authConfig) => {
799
765
  if (authConfig.skipWrite) {
800
766
  return;
801
767
  }
802
- const persistedAuthConfig = toPersistedAuthConfig(authConfig);
803
768
  try {
804
- if (!hasCredentials(persistedAuthConfig)) {
805
- clearAllCredentialsStrict(VERCEL_DIR2);
806
- return;
807
- }
808
- return writeCredentials(
809
- VERCEL_DIR2,
810
- persistedAuthConfig,
811
- getAuthStoreConfig(config)
812
- );
769
+ return import_write_json_file.default.sync(AUTH_CONFIG_FILE_PATH, authConfig, {
770
+ indent: 2,
771
+ mode: 384
772
+ });
813
773
  } catch (err) {
814
- const wrappedError = new Error(
815
- `An unexpected error occurred while trying to write the auth config to "${humanizePath(
816
- AUTH_CONFIG_FILE_PATH
817
- )}" ${(0, import_error_utils.errorToString)(err)}`
818
- );
819
- wrappedError.cause = err;
820
- throw wrappedError;
774
+ if ((0, import_error_utils.isErrnoException)(err)) {
775
+ if (err.code === "EPERM") {
776
+ output_manager_default.error(
777
+ `Not able to create ${highlight(
778
+ AUTH_CONFIG_FILE_PATH
779
+ )} (operation not permitted).`
780
+ );
781
+ process.exit(1);
782
+ } else if (err.code === "EBADF") {
783
+ output_manager_default.error(
784
+ `Not able to create ${highlight(
785
+ AUTH_CONFIG_FILE_PATH
786
+ )} (bad file descriptor).`
787
+ );
788
+ process.exit(1);
789
+ }
790
+ }
791
+ throw err;
821
792
  }
822
793
  };
823
794
  function getConfigFilePath() {
@@ -2276,7 +2247,7 @@ async function login(client, telemetry) {
2276
2247
  if (isInitialLogin) {
2277
2248
  await updateCurrentTeamAfterLogin(client);
2278
2249
  }
2279
- client.persistAuthConfig();
2250
+ client.writeToAuthConfigFile();
2280
2251
  client.writeToConfigFile();
2281
2252
  output_manager_default.debug(`Saved credentials in "${humanizePath(global_path_default())}"`);
2282
2253
  output_manager_default.print(`
@@ -2333,7 +2304,7 @@ async function reauthenticate(client, error) {
2333
2304
  expiresAt: Math.floor(Date.now() / 1e3) + tokens.expires_in,
2334
2305
  refreshToken: tokens.refresh_token
2335
2306
  });
2336
- client.persistAuthConfig();
2307
+ client.writeToAuthConfigFile();
2337
2308
  output_manager_default.success(`Authentication complete for ${(0, import_chalk4.bold)(error.scope)} scope.`);
2338
2309
  return { token: tokens.access_token, email: "" };
2339
2310
  }
@@ -2482,7 +2453,7 @@ ${error.stack}`);
2482
2453
  if (!hasRefreshToken(authConfig)) {
2483
2454
  output_manager_default.debug("No refresh token found, emptying auth config.");
2484
2455
  this.emptyAuthConfig();
2485
- this.persistAuthConfig();
2456
+ this.writeToAuthConfigFile();
2486
2457
  return;
2487
2458
  }
2488
2459
  const tokenResponse = await refreshTokenRequest({
@@ -2492,7 +2463,7 @@ ${error.stack}`);
2492
2463
  if (tokensError) {
2493
2464
  output_manager_default.debug("Error refreshing token, emptying auth config.");
2494
2465
  this.emptyAuthConfig();
2495
- this.persistAuthConfig();
2466
+ this.writeToAuthConfigFile();
2496
2467
  return;
2497
2468
  }
2498
2469
  this.updateAuthConfig({
@@ -2502,7 +2473,7 @@ ${error.stack}`);
2502
2473
  if (tokens.refresh_token) {
2503
2474
  this.updateAuthConfig({ refreshToken: tokens.refresh_token });
2504
2475
  }
2505
- this.persistAuthConfig();
2476
+ this.writeToAuthConfigFile();
2506
2477
  this.writeToConfigFile();
2507
2478
  output_manager_default.debug("Tokens refreshed successfully.");
2508
2479
  }
@@ -2518,8 +2489,8 @@ ${error.stack}`);
2518
2489
  emptyAuthConfig() {
2519
2490
  this.authConfig = this.authConfig.skipWrite ? { skipWrite: true } : {};
2520
2491
  }
2521
- persistAuthConfig() {
2522
- persistAuthConfig(this.authConfig, this.config);
2492
+ writeToAuthConfigFile() {
2493
+ writeToAuthConfigFile(this.authConfig);
2523
2494
  }
2524
2495
  /**
2525
2496
  * Confirms DELETE operations with the user.
@@ -2689,12 +2660,10 @@ export {
2689
2660
  revocationRequest,
2690
2661
  processRevocationResponse,
2691
2662
  login,
2692
- defaultGlobalConfig,
2693
- getDefaultAuthConfig,
2694
2663
  readConfigFile,
2695
2664
  writeToConfigFile,
2696
2665
  readAuthConfigFile,
2697
- persistAuthConfig,
2666
+ writeToAuthConfigFile,
2698
2667
  getConfigFilePath,
2699
2668
  getAuthConfigFilePath,
2700
2669
  readLocalConfig,
@@ -6,27 +6,27 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-NJYOE4D7.js";
9
+ } from "./chunk-L3UAXRIV.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-QTX36APP.js";
12
+ } from "./chunk-IC6EDRCI.js";
13
13
  import {
14
14
  autoInstallVercelPlugin,
15
15
  pullCommand
16
- } from "./chunk-OHOYN7R2.js";
16
+ } from "./chunk-IFPIVLCE.js";
17
17
  import {
18
18
  help
19
- } from "./chunk-QPPVRYOB.js";
19
+ } from "./chunk-57OG3NFC.js";
20
20
  import {
21
21
  VERCEL_DIR,
22
22
  VERCEL_DIR_PROJECT,
23
23
  envPullCommandLogic,
24
24
  humanizePath,
25
25
  parseTarget
26
- } from "./chunk-ZI2C6YH2.js";
26
+ } from "./chunk-PD5HCBBY.js";
27
27
  import {
28
28
  TelemetryClient
29
- } from "./chunk-U3WLEFHU.js";
29
+ } from "./chunk-4Z7KJQGN.js";
30
30
  import {
31
31
  stamp_default
32
32
  } from "./chunk-CO5D46AG.js";
@@ -8,7 +8,7 @@ import {
8
8
  TelemetryClient,
9
9
  require_dist as require_dist2,
10
10
  require_graceful_fs
11
- } from "./chunk-U3WLEFHU.js";
11
+ } from "./chunk-4Z7KJQGN.js";
12
12
  import {
13
13
  buildCommandWithYes,
14
14
  getPreservedArgsForEnvPull,
@@ -35717,7 +35717,7 @@ var require_hashes = __commonJS({
35717
35717
  var import_fs_extra9 = __toESM2(require_lib7());
35718
35718
  var import_async_sema = require_lib8();
35719
35719
  function hash(buf) {
35720
- return (0, import_crypto.createHash)("sha1").update(buf).digest("hex");
35720
+ return (0, import_crypto.createHash)("sha1").update(Uint8Array.from(buf)).digest("hex");
35721
35721
  }
35722
35722
  var mapToObject = (map) => {
35723
35723
  const obj = {};
@@ -39149,7 +39149,7 @@ var require_package = __commonJS({
39149
39149
  "../client/package.json"(exports, module) {
39150
39150
  module.exports = {
39151
39151
  name: "@vercel/client",
39152
- version: "17.3.10",
39152
+ version: "17.4.0",
39153
39153
  main: "dist/index.js",
39154
39154
  typings: "dist/index.d.ts",
39155
39155
  homepage: "https://vercel.com",
@@ -39184,7 +39184,6 @@ var require_package = __commonJS({
39184
39184
  "@types/recursive-readdir": "2.2.0",
39185
39185
  "@types/tar-fs": "1.16.1",
39186
39186
  "jest-junit": "16.0.0",
39187
- typescript: "4.9.5",
39188
39187
  vitest: "2.0.1"
39189
39188
  },
39190
39189
  dependencies: {
@@ -52698,7 +52697,7 @@ async function getUser(client) {
52698
52697
  if (client.authConfig.userId !== res.user.id) {
52699
52698
  client.updateAuthConfig({ userId: res.user.id });
52700
52699
  try {
52701
- client.persistAuthConfig();
52700
+ client.writeToAuthConfigFile();
52702
52701
  } catch {
52703
52702
  output_manager_default.debug("Failed to persist cached userId to auth config.");
52704
52703
  }
@@ -52710,7 +52709,7 @@ async function getUser(client) {
52710
52709
  if (client.authConfig.userId) {
52711
52710
  client.updateAuthConfig({ userId: void 0 });
52712
52711
  try {
52713
- client.persistAuthConfig();
52712
+ client.writeToAuthConfigFile();
52714
52713
  } catch {
52715
52714
  output_manager_default.debug("Failed to persist cached userId to auth config.");
52716
52715
  }
@@ -55786,7 +55785,13 @@ function readHeadSync(path2, length) {
55786
55785
  const buffer = Buffer.alloc(length);
55787
55786
  const fd = openSync(path2, "r");
55788
55787
  try {
55789
- readSync(fd, buffer, 0, buffer.length, null);
55788
+ readSync(
55789
+ fd,
55790
+ buffer,
55791
+ 0,
55792
+ buffer.length,
55793
+ null
55794
+ );
55790
55795
  } finally {
55791
55796
  closeSync(fd);
55792
55797
  }
@@ -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-ZI2C6YH2.js";
9
+ } from "./chunk-PD5HCBBY.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-ZI2C6YH2.js";
14
+ } from "./chunk-PD5HCBBY.js";
15
15
  import {
16
16
  TeamDeleted
17
17
  } from "./chunk-XZ7CVBQ4.js";
@@ -39,6 +39,7 @@ async function getScope(client, opts = {}) {
39
39
  }
40
40
  const explicitScopeProvided = detectExplicitScope(client);
41
41
  const globalTeamId = client.config.currentTeam;
42
+ const globalTeam = team;
42
43
  const cwd = client.cwd;
43
44
  let projectLink = null;
44
45
  try {
@@ -115,6 +116,7 @@ async function getScope(client, opts = {}) {
115
116
  contextName: resolvedContextName,
116
117
  user,
117
118
  team: resolvedTeam,
119
+ globalTeam,
118
120
  linkedRepo: linkedRepoResult,
119
121
  isCrossTeamRepo,
120
122
  scopeMismatch,
@@ -124,7 +126,7 @@ async function getScope(client, opts = {}) {
124
126
  function detectExplicitScope(client) {
125
127
  const argv = client.argv;
126
128
  for (const arg of argv) {
127
- if (arg === "--scope" || arg === "--team" || arg.startsWith("--scope=") || arg.startsWith("--team=") || arg === "-T") {
129
+ if (arg === "--scope" || arg === "--team" || arg.startsWith("--scope=") || arg.startsWith("--team=") || arg === "-S" || arg === "-T") {
128
130
  return true;
129
131
  }
130
132
  }
@@ -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-U3WLEFHU.js";
9
+ } from "./chunk-4Z7KJQGN.js";
10
10
 
11
11
  // src/util/telemetry/commands/routes/index.ts
12
12
  var RoutesTelemetryClient = class extends TelemetryClient {
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-HTOH3MSD.js";
10
10
  import {
11
11
  getScope
12
- } from "./chunk-O7R67TAG.js";
12
+ } from "./chunk-VLWTUL5F.js";
13
13
  import {
14
14
  AGENT_REASON
15
15
  } from "./chunk-E3NE4SKN.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-ZI2C6YH2.js";
19
+ } from "./chunk-PD5HCBBY.js";
20
20
  import {
21
21
  buildCommandWithGlobalFlags,
22
22
  outputAgentError
@@ -9,7 +9,7 @@ import {
9
9
  printIndications,
10
10
  require_dist as require_dist2,
11
11
  sleep
12
- } from "./chunk-5EZVRZOJ.js";
12
+ } from "./chunk-LOS2AA5C.js";
13
13
  import {
14
14
  suggestNextCommands
15
15
  } from "./chunk-LOS7HHU3.js";
@@ -17,25 +17,25 @@ import {
17
17
  getDeployment,
18
18
  mapCertError
19
19
  } from "./chunk-MSJX3VKI.js";
20
- import {
21
- getScope
22
- } from "./chunk-O7R67TAG.js";
23
20
  import {
24
21
  CommandTimeout
25
- } from "./chunk-BUPMO37Q.js";
22
+ } from "./chunk-D2KD42ZV.js";
23
+ import {
24
+ getScope
25
+ } from "./chunk-VLWTUL5F.js";
26
26
  import {
27
27
  ua_default
28
28
  } from "./chunk-JCLLQ23G.js";
29
29
  import {
30
30
  showPluginTipIfNeeded
31
- } from "./chunk-OHOYN7R2.js";
31
+ } from "./chunk-IFPIVLCE.js";
32
32
  import {
33
33
  getProjectByNameOrId,
34
34
  param,
35
35
  require_dist as require_dist3,
36
36
  require_lib3 as require_lib,
37
37
  require_pluralize
38
- } from "./chunk-ZI2C6YH2.js";
38
+ } from "./chunk-PD5HCBBY.js";
39
39
  import {
40
40
  require_ms,
41
41
  stamp_default
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getLocalPathConfig
9
- } from "./chunk-FUYNVB23.js";
9
+ } from "./chunk-WZZBS2SZ.js";
10
10
  import {
11
11
  table
12
12
  } from "./chunk-ABDTA3V2.js";
@@ -37,7 +37,7 @@ import {
37
37
  selectAndParseRemoteUrl,
38
38
  selectOrg,
39
39
  writeServicesConfig
40
- } from "./chunk-ZI2C6YH2.js";
40
+ } from "./chunk-PD5HCBBY.js";
41
41
  import {
42
42
  printError
43
43
  } from "./chunk-JNOMOD7R.js";
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-ZI2C6YH2.js";
10
+ } from "./chunk-PD5HCBBY.js";
11
11
  import {
12
12
  getArgs
13
13
  } from "./chunk-JNOMOD7R.js";
@@ -11,8 +11,8 @@ import {
11
11
  findSourceVercelConfigFile,
12
12
  getVercelConfigPath,
13
13
  normalizeConfig
14
- } from "./chunk-ZI2C6YH2.js";
15
- import "./chunk-U3WLEFHU.js";
14
+ } from "./chunk-PD5HCBBY.js";
15
+ import "./chunk-4Z7KJQGN.js";
16
16
  import "./chunk-IABMY4Q3.js";
17
17
  import "./chunk-CO5D46AG.js";
18
18
  import "./chunk-JNOMOD7R.js";
@@ -15,7 +15,7 @@ import {
15
15
  parseSubcommandArgs,
16
16
  resolveRoutes,
17
17
  withGlobalFlags
18
- } from "./chunk-I5OH27IT.js";
18
+ } from "./chunk-CLLHWKQN.js";
19
19
  import {
20
20
  deleteSubcommand
21
21
  } from "./chunk-HMM7V4AU.js";
@@ -23,8 +23,8 @@ import {
23
23
  AGENT_REASON,
24
24
  AGENT_STATUS
25
25
  } from "./chunk-E3NE4SKN.js";
26
- import "./chunk-ZI2C6YH2.js";
27
- import "./chunk-U3WLEFHU.js";
26
+ import "./chunk-PD5HCBBY.js";
27
+ import "./chunk-4Z7KJQGN.js";
28
28
  import {
29
29
  outputAgentError
30
30
  } from "./chunk-IABMY4Q3.js";
@@ -17,13 +17,13 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-I5OH27IT.js";
20
+ } from "./chunk-CLLHWKQN.js";
21
21
  import {
22
22
  disableSubcommand
23
23
  } from "./chunk-HMM7V4AU.js";
24
24
  import "./chunk-E3NE4SKN.js";
25
- import "./chunk-ZI2C6YH2.js";
26
- import "./chunk-U3WLEFHU.js";
25
+ import "./chunk-PD5HCBBY.js";
26
+ import "./chunk-4Z7KJQGN.js";
27
27
  import {
28
28
  outputAgentError
29
29
  } from "./chunk-IABMY4Q3.js";
@@ -17,13 +17,13 @@ import {
17
17
  parseSubcommandArgs,
18
18
  printDiffSummary,
19
19
  withGlobalFlags
20
- } from "./chunk-I5OH27IT.js";
20
+ } from "./chunk-CLLHWKQN.js";
21
21
  import {
22
22
  discardSubcommand
23
23
  } from "./chunk-HMM7V4AU.js";
24
24
  import "./chunk-E3NE4SKN.js";
25
- import "./chunk-ZI2C6YH2.js";
26
- import "./chunk-U3WLEFHU.js";
25
+ import "./chunk-PD5HCBBY.js";
26
+ import "./chunk-4Z7KJQGN.js";
27
27
  import {
28
28
  outputAgentError
29
29
  } from "./chunk-IABMY4Q3.js";
@@ -19,7 +19,7 @@ import {
19
19
  printRouteConfig,
20
20
  routingRuleToCurrentRoute,
21
21
  runInteractiveEditLoop
22
- } from "./chunk-ODASAX4M.js";
22
+ } from "./chunk-BNAHPSLB.js";
23
23
  import {
24
24
  getRouteVersions
25
25
  } from "./chunk-AHU7WNL2.js";
@@ -31,13 +31,13 @@ import {
31
31
  resolveRoute,
32
32
  shellQuoteRouteIdentifierForSuggestion,
33
33
  withGlobalFlags
34
- } from "./chunk-I5OH27IT.js";
34
+ } from "./chunk-CLLHWKQN.js";
35
35
  import {
36
36
  editSubcommand
37
37
  } from "./chunk-HMM7V4AU.js";
38
38
  import "./chunk-E3NE4SKN.js";
39
- import "./chunk-ZI2C6YH2.js";
40
- import "./chunk-U3WLEFHU.js";
39
+ import "./chunk-PD5HCBBY.js";
40
+ import "./chunk-4Z7KJQGN.js";
41
41
  import {
42
42
  outputAgentError
43
43
  } from "./chunk-IABMY4Q3.js";
@@ -72,7 +72,7 @@ async function edit(client, argv) {
72
72
  const { args, flags } = parsed;
73
73
  const skipConfirmation = flags["--yes"];
74
74
  const identifier = args[0];
75
- const { RoutesEditTelemetryClient } = await import("./routes-OFD6HJOW.js");
75
+ const { RoutesEditTelemetryClient } = await import("./routes-KDWN24QA.js");
76
76
  const telemetry = new RoutesEditTelemetryClient({
77
77
  opts: { store: client.telemetryEventStore }
78
78
  });
@@ -17,13 +17,13 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-I5OH27IT.js";
20
+ } from "./chunk-CLLHWKQN.js";
21
21
  import {
22
22
  enableSubcommand
23
23
  } from "./chunk-HMM7V4AU.js";
24
24
  import "./chunk-E3NE4SKN.js";
25
- import "./chunk-ZI2C6YH2.js";
26
- import "./chunk-U3WLEFHU.js";
25
+ import "./chunk-PD5HCBBY.js";
26
+ import "./chunk-4Z7KJQGN.js";
27
27
  import {
28
28
  outputAgentError
29
29
  } from "./chunk-IABMY4Q3.js";
@@ -9,13 +9,13 @@ import {
9
9
  getRoutes,
10
10
  parseSubcommandArgs,
11
11
  withGlobalFlags
12
- } from "./chunk-I5OH27IT.js";
12
+ } from "./chunk-CLLHWKQN.js";
13
13
  import {
14
14
  exportSubcommand
15
15
  } from "./chunk-HMM7V4AU.js";
16
16
  import "./chunk-E3NE4SKN.js";
17
- import "./chunk-ZI2C6YH2.js";
18
- import "./chunk-U3WLEFHU.js";
17
+ import "./chunk-PD5HCBBY.js";
18
+ import "./chunk-4Z7KJQGN.js";
19
19
  import {
20
20
  outputAgentError
21
21
  } from "./chunk-IABMY4Q3.js";
@@ -6,15 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  emitAlertsScopeError
9
- } from "./chunk-FPTKAORS.js";
9
+ } from "./chunk-W7MR5OK3.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
13
13
  validateAllProjectMutualExclusivity
14
14
  } from "./chunk-HTOH3MSD.js";
15
- import {
16
- getScope
17
- } from "./chunk-O7R67TAG.js";
18
15
  import {
19
16
  validateJsonOutput
20
17
  } from "./chunk-XPKWKPWA.js";
@@ -22,14 +19,17 @@ import {
22
19
  inspectSubcommand
23
20
  } from "./chunk-4Q5VS23S.js";
24
21
  import "./chunk-P3H4MP5H.js";
22
+ import {
23
+ getScope
24
+ } from "./chunk-VLWTUL5F.js";
25
25
  import {
26
26
  AGENT_REASON
27
27
  } from "./chunk-E3NE4SKN.js";
28
28
  import {
29
29
  getLinkedProject,
30
30
  getProjectByNameOrId
31
- } from "./chunk-ZI2C6YH2.js";
32
- import "./chunk-U3WLEFHU.js";
31
+ } from "./chunk-PD5HCBBY.js";
32
+ import "./chunk-4Z7KJQGN.js";
33
33
  import {
34
34
  buildCommandWithGlobalFlags,
35
35
  outputAgentError
@@ -16,20 +16,20 @@ import {
16
16
  import {
17
17
  getCommandFlags
18
18
  } from "./chunk-EOZFDJSY.js";
19
- import {
20
- getScope
21
- } from "./chunk-O7R67TAG.js";
22
19
  import {
23
20
  validateJsonOutput
24
21
  } from "./chunk-XPKWKPWA.js";
25
22
  import {
26
23
  activityCommand
27
24
  } from "./chunk-LN5ZMLBU.js";
25
+ import {
26
+ getScope
27
+ } from "./chunk-VLWTUL5F.js";
28
28
  import {
29
29
  getLinkedProject,
30
30
  getProjectByNameOrId
31
- } from "./chunk-ZI2C6YH2.js";
32
- import "./chunk-U3WLEFHU.js";
31
+ } from "./chunk-PD5HCBBY.js";
32
+ import "./chunk-4Z7KJQGN.js";
33
33
  import "./chunk-IABMY4Q3.js";
34
34
  import "./chunk-CO5D46AG.js";
35
35
  import {