vercel 54.14.2 → 54.15.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 (53) hide show
  1. package/dist/chunks/{add-PKT6ULVJ.js → add-6XHROCMP.js} +5 -5
  2. package/dist/chunks/{chunk-3BR246Y6.js → chunk-3RIVJWW5.js} +2 -11
  3. package/dist/chunks/{chunk-J7BMPRCU.js → chunk-574PHXNT.js} +9 -4
  4. package/dist/chunks/{chunk-FLW73SZ3.js → chunk-6A62YUBE.js} +3 -3
  5. package/dist/chunks/{chunk-G3NXHUFT.js → chunk-6SL223IW.js} +1 -1
  6. package/dist/chunks/{chunk-2ZSXQQXI.js → chunk-6TPH3ZBU.js} +10 -19
  7. package/dist/chunks/{chunk-2XEEOHHH.js → chunk-AG6TBL6C.js} +1 -1
  8. package/dist/chunks/chunk-BRQ6PX3U.js +593 -0
  9. package/dist/chunks/{chunk-O7RJHL34.js → chunk-CENOYXK3.js} +583 -11
  10. package/dist/chunks/{chunk-YLGMXYFG.js → chunk-DCN3SOR6.js} +2 -2
  11. package/dist/chunks/{chunk-OHIZ4SVU.js → chunk-EAEEBPMD.js} +15 -3
  12. package/dist/chunks/{chunk-2HN6DLIY.js → chunk-HSXUEJ4T.js} +1 -1
  13. package/dist/chunks/{chunk-SDZ5ICZL.js → chunk-LABX5FSJ.js} +1 -1
  14. package/dist/chunks/{chunk-JISJDGJF.js → chunk-LOPPFUV3.js} +2 -2
  15. package/dist/chunks/{chunk-O4V7CMVO.js → chunk-OEYKL4IY.js} +7 -5
  16. package/dist/chunks/{chunk-372SHB43.js → chunk-OQD4G5FW.js} +4 -4
  17. package/dist/chunks/{chunk-LJ5WXXG6.js → chunk-QH7WYDEP.js} +11 -0
  18. package/dist/chunks/{chunk-Z3X747P6.js → chunk-RHXSECUF.js} +206 -31
  19. package/dist/chunks/{chunk-LQR3CHMH.js → chunk-SFPJ3VR7.js} +421 -799
  20. package/dist/chunks/{chunk-FEYVO2US.js → chunk-TLVKY7WL.js} +90 -32
  21. package/dist/chunks/{chunk-4BFK3C7V.js → chunk-UZD3DM6V.js} +1 -1
  22. package/dist/chunks/{chunk-IPWWE7PB.js → chunk-WGH26RJV.js} +1 -1
  23. package/dist/chunks/{chunk-ILJH44MK.js → chunk-YE3C5CUX.js} +1 -1
  24. package/dist/chunks/{compile-vercel-config-3LV7J3IZ.js → compile-vercel-config-ATU3UBFK.js} +1 -1
  25. package/dist/chunks/{delete-GFW6Y6TZ.js → delete-WIN4UHQY.js} +3 -3
  26. package/dist/chunks/{disable-PGRAS2ZL.js → disable-24KUO3TS.js} +3 -3
  27. package/dist/chunks/{discard-S6N5Q4G5.js → discard-B6ATZCPD.js} +3 -3
  28. package/dist/chunks/{edit-TICKX4ZV.js → edit-DIYIVLFQ.js} +7 -7
  29. package/dist/chunks/{enable-L3BYWN6S.js → enable-BF7NKTV7.js} +3 -3
  30. package/dist/chunks/{export-NXS33U5T.js → export-HHONDN7V.js} +3 -3
  31. package/dist/chunks/{inspect-OOI5JN3Y.js → inspect-GSYKUMK5.js} +4 -4
  32. package/dist/chunks/{list-77WL6463.js → list-OSJGB5AE.js} +4 -4
  33. package/dist/chunks/{list-6EHRL2D4.js → list-PZ4DRWLO.js} +2 -2
  34. package/dist/chunks/{ls-PBSOEXFG.js → ls-QBCHGSIC.js} +5 -5
  35. package/dist/chunks/{publish-CU2THVYW.js → publish-QYPZQ66O.js} +3 -3
  36. package/dist/chunks/{query-HEATRYAK.js → query-BDMX4CF6.js} +3 -3
  37. package/dist/chunks/{reorder-IQVKSM3H.js → reorder-YDTGTTJB.js} +3 -3
  38. package/dist/chunks/{restore-RDEOBGAS.js → restore-LXO2ZBAF.js} +3 -3
  39. package/dist/chunks/{rm-MCSGTU4J.js → rm-3L7FVCDA.js} +5 -5
  40. package/dist/chunks/{rule-inspect-3YK2XSL3.js → rule-inspect-T57QBYJR.js} +5 -5
  41. package/dist/chunks/{rules-F4MRDDHM.js → rules-E5DTNMFG.js} +7 -7
  42. package/dist/chunks/{schema-65C5EBJ7.js → schema-VYVJ4GYP.js} +3 -3
  43. package/dist/chunks/{update-XB4WSRGY.js → update-LT3LZVEZ.js} +5 -5
  44. package/dist/commands/build/index.js +157 -101
  45. package/dist/commands/deploy/index.js +13 -12
  46. package/dist/commands/dev/index.js +70 -23
  47. package/dist/commands/env/index.js +8 -6
  48. package/dist/commands/link/index.js +9 -16
  49. package/dist/commands/list/index.js +3 -3
  50. package/dist/commands-bulk.js +5371 -1618
  51. package/dist/index.js +9 -9
  52. package/dist/version.mjs +1 -1
  53. package/package.json +21 -21
@@ -7,22 +7,26 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommandInfo,
9
9
  isGlobal
10
- } from "./chunk-IPWWE7PB.js";
10
+ } from "./chunk-WGH26RJV.js";
11
11
  import {
12
12
  getGlobalPathConfig,
13
+ progress,
13
14
  writeToConfigFile
14
- } from "./chunk-OHIZ4SVU.js";
15
+ } from "./chunk-EAEEBPMD.js";
15
16
  import {
16
17
  apiCommand,
17
18
  listSubcommand2 as listSubcommand,
18
19
  loginCommand
19
- } from "./chunk-O7RJHL34.js";
20
+ } from "./chunk-CENOYXK3.js";
21
+ import {
22
+ require_semver
23
+ } from "./chunk-IB5L4LKZ.js";
20
24
  import {
21
25
  help
22
26
  } from "./chunk-AWD3IGXU.js";
23
27
  import {
24
28
  login
25
- } from "./chunk-LQR3CHMH.js";
29
+ } from "./chunk-SFPJ3VR7.js";
26
30
  import {
27
31
  TelemetryClient,
28
32
  isNativeBinaryInstall
@@ -2854,33 +2858,95 @@ async function runTagOperation(client, options) {
2854
2858
  }
2855
2859
 
2856
2860
  // src/util/upgrade.ts
2861
+ var import_semver = __toESM(require_semver(), 1);
2857
2862
  import { spawn, execFile } from "child_process";
2858
- import { promisify } from "util";
2859
2863
  import { tmpdir } from "os";
2860
- var execFileAsync = promisify(execFile);
2861
- async function getInstalledVersion() {
2862
- for (const bin of ["vercel", "vc"]) {
2864
+ function renderUpgradeProgress(current, total, phase) {
2865
+ const bar = progress(current, total);
2866
+ output_manager_default.spinner(
2867
+ bar ? `Upgrading Vercel CLI [${bar}] (${current}/${total})${phase ? ` ${phase}` : ""}` : phase || "Upgrading Vercel CLI\u2026",
2868
+ 0
2869
+ );
2870
+ }
2871
+ function execFileStdout(command, args) {
2872
+ return new Promise((resolve3, reject) => {
2873
+ execFile(
2874
+ command,
2875
+ args,
2876
+ { encoding: "utf8", windowsHide: true },
2877
+ (error, stdout) => {
2878
+ if (error) {
2879
+ reject(error);
2880
+ return;
2881
+ }
2882
+ resolve3(stdout.toString());
2883
+ }
2884
+ );
2885
+ });
2886
+ }
2887
+ function parseVersionOutput(stdout) {
2888
+ for (const line of stdout.trim().split("\n").reverse()) {
2863
2889
  try {
2864
- const { stdout } = await execFileAsync(bin, ["--version"], {
2865
- encoding: "utf8",
2866
- windowsHide: true
2867
- });
2868
- const version = stdout.trim();
2869
- if (version) {
2890
+ const parsed = JSON.parse(line);
2891
+ const version = typeof parsed === "string" ? parsed : typeof parsed?.data === "string" ? parsed.data : void 0;
2892
+ if (version && import_semver.default.valid(version)) {
2870
2893
  return version;
2871
2894
  }
2872
2895
  } catch {
2896
+ const version = line.trim();
2897
+ if (import_semver.default.valid(version)) {
2898
+ return version;
2899
+ }
2873
2900
  }
2874
2901
  }
2875
2902
  return void 0;
2876
2903
  }
2904
+ async function getLatestPackageVersion(packageManager, installArgs) {
2905
+ const packageSpecifier = installArgs.find((arg) => arg.endsWith("@latest"));
2906
+ if (!packageSpecifier) {
2907
+ return void 0;
2908
+ }
2909
+ const queryArgs = packageManager === "yarn" ? ["info", packageSpecifier, "version", "--json"] : ["view", packageSpecifier, "version", "--json"];
2910
+ try {
2911
+ const stdout = await execFileStdout(packageManager, queryArgs);
2912
+ return parseVersionOutput(stdout);
2913
+ } catch (error) {
2914
+ output_manager_default.debug(
2915
+ `Failed to resolve the latest Vercel CLI version: ${error instanceof Error ? error.message : String(error)}`
2916
+ );
2917
+ return void 0;
2918
+ }
2919
+ }
2920
+ function isVersionCurrent(current, latest) {
2921
+ return import_semver.default.valid(current) && import_semver.default.valid(latest) ? import_semver.default.gte(current, latest) : current === latest;
2922
+ }
2877
2923
  async function executeUpgrade(targetVersion) {
2878
- const { command: updateCommand, global } = await getUpdateCommandInfo();
2924
+ const totalSteps = targetVersion ? 2 : 3;
2925
+ renderUpgradeProgress(0, totalSteps, "Resolving installer\u2026");
2926
+ const { command: updateCommand, global } = await getUpdateCommandInfo().catch(
2927
+ (error) => {
2928
+ output_manager_default.stopSpinner();
2929
+ throw error;
2930
+ }
2931
+ );
2879
2932
  const [command, ...args] = updateCommand.split(" ");
2880
2933
  const cwd = global ? tmpdir() : process.cwd();
2881
2934
  const versionBefore = pkg_default.version;
2882
- output_manager_default.log(`Upgrading Vercel CLI...`);
2935
+ let resolvedTargetVersion = targetVersion;
2936
+ if (!resolvedTargetVersion) {
2937
+ renderUpgradeProgress(1, totalSteps, "Checking for updates\u2026");
2938
+ resolvedTargetVersion = await getLatestPackageVersion(command, args);
2939
+ }
2940
+ if (resolvedTargetVersion && isVersionCurrent(versionBefore, resolvedTargetVersion)) {
2941
+ renderUpgradeProgress(totalSteps, totalSteps);
2942
+ output_manager_default.stopSpinner();
2943
+ output_manager_default.log(
2944
+ `No upgrade available. Vercel CLI is already up to date (v${versionBefore}).`
2945
+ );
2946
+ return 0;
2947
+ }
2883
2948
  output_manager_default.debug(`Executing: ${updateCommand} (cwd: ${cwd})`);
2949
+ renderUpgradeProgress(targetVersion ? 1 : 2, totalSteps, "Installing\u2026");
2884
2950
  return new Promise((resolve3) => {
2885
2951
  const stdout = [];
2886
2952
  const stderr = [];
@@ -2896,12 +2962,14 @@ async function executeUpgrade(targetVersion) {
2896
2962
  stderr.push(Uint8Array.from(data));
2897
2963
  });
2898
2964
  upgradeProcess.on("error", (err) => {
2965
+ output_manager_default.stopSpinner();
2899
2966
  output_manager_default.error(`Failed to execute upgrade command: ${err.message}`);
2900
2967
  output_manager_default.log(`You can try running the command manually: ${updateCommand}`);
2901
2968
  resolve3(1);
2902
2969
  });
2903
2970
  upgradeProcess.on("close", (code) => {
2904
2971
  if (code !== 0) {
2972
+ output_manager_default.stopSpinner();
2905
2973
  const stdoutStr = Buffer.concat(stdout).toString();
2906
2974
  const stderrStr = Buffer.concat(stderr).toString();
2907
2975
  if (stdoutStr) {
@@ -2917,27 +2985,17 @@ async function executeUpgrade(targetVersion) {
2917
2985
  resolve3(code ?? 1);
2918
2986
  return;
2919
2987
  }
2920
- if (targetVersion) {
2988
+ renderUpgradeProgress(totalSteps, totalSteps);
2989
+ output_manager_default.stopSpinner();
2990
+ if (resolvedTargetVersion) {
2921
2991
  output_manager_default.success(
2922
- `Vercel CLI has been upgraded to v${targetVersion} successfully!`
2992
+ `Vercel CLI has been upgraded to v${resolvedTargetVersion} successfully!`
2923
2993
  );
2924
2994
  resolve3(0);
2925
2995
  return;
2926
2996
  }
2927
- getInstalledVersion().then((versionAfter) => {
2928
- if (versionAfter && versionAfter === versionBefore) {
2929
- output_manager_default.log(
2930
- `No upgrade available. Vercel CLI is already on the latest version (v${versionBefore}).`
2931
- );
2932
- } else if (versionAfter) {
2933
- output_manager_default.success(
2934
- `Vercel CLI has been upgraded to v${versionAfter} successfully!`
2935
- );
2936
- } else {
2937
- output_manager_default.success("Vercel CLI has been upgraded successfully!");
2938
- }
2939
- resolve3(0);
2940
- });
2997
+ output_manager_default.success("Vercel CLI has been upgraded successfully!");
2998
+ resolve3(0);
2941
2999
  });
2942
3000
  });
2943
3001
  }
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-LQR3CHMH.js";
10
+ } from "./chunk-SFPJ3VR7.js";
11
11
  import {
12
12
  parseArguments
13
13
  } from "./chunk-MYWLF3BZ.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-LQR3CHMH.js";
9
+ } from "./chunk-SFPJ3VR7.js";
10
10
  import {
11
11
  isNativeBinaryInstall
12
12
  } from "./chunk-HIYWSGI7.js";
@@ -143,7 +143,7 @@ var metricsCommand = {
143
143
  },
144
144
  {
145
145
  name: "Function duration by route",
146
- value: `${packageName} metrics vercel.function_invocation.request_duration_ms -a avg --group-by route --since 1h`
146
+ value: `${packageName} metrics vercel.function_invocation.function_duration_ms -a avg --group-by route --since 1h`
147
147
  },
148
148
  {
149
149
  name: "AI Gateway costs by provider",
@@ -11,7 +11,7 @@ import {
11
11
  findSourceVercelConfigFile,
12
12
  getVercelConfigPath,
13
13
  normalizeConfig
14
- } from "./chunk-LQR3CHMH.js";
14
+ } from "./chunk-SFPJ3VR7.js";
15
15
  import "./chunk-HIYWSGI7.js";
16
16
  import "./chunk-NHGCQRK5.js";
17
17
  import "./chunk-N2T234LO.js";
@@ -15,7 +15,7 @@ import {
15
15
  parseSubcommandArgs,
16
16
  resolveRoutes,
17
17
  withGlobalFlags
18
- } from "./chunk-J7BMPRCU.js";
18
+ } from "./chunk-574PHXNT.js";
19
19
  import {
20
20
  deleteSubcommand
21
21
  } from "./chunk-IB56QKCM.js";
@@ -26,8 +26,8 @@ import "./chunk-VXYGCOKL.js";
26
26
  import {
27
27
  AGENT_REASON,
28
28
  AGENT_STATUS
29
- } from "./chunk-LJ5WXXG6.js";
30
- import "./chunk-LQR3CHMH.js";
29
+ } from "./chunk-QH7WYDEP.js";
30
+ import "./chunk-SFPJ3VR7.js";
31
31
  import "./chunk-HIYWSGI7.js";
32
32
  import {
33
33
  outputAgentError
@@ -17,7 +17,7 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-J7BMPRCU.js";
20
+ } from "./chunk-574PHXNT.js";
21
21
  import {
22
22
  disableSubcommand
23
23
  } from "./chunk-IB56QKCM.js";
@@ -25,8 +25,8 @@ import {
25
25
  stamp_default
26
26
  } from "./chunk-64IF634X.js";
27
27
  import "./chunk-VXYGCOKL.js";
28
- import "./chunk-LJ5WXXG6.js";
29
- import "./chunk-LQR3CHMH.js";
28
+ import "./chunk-QH7WYDEP.js";
29
+ import "./chunk-SFPJ3VR7.js";
30
30
  import "./chunk-HIYWSGI7.js";
31
31
  import {
32
32
  outputAgentError
@@ -17,7 +17,7 @@ import {
17
17
  parseSubcommandArgs,
18
18
  printDiffSummary,
19
19
  withGlobalFlags
20
- } from "./chunk-J7BMPRCU.js";
20
+ } from "./chunk-574PHXNT.js";
21
21
  import {
22
22
  discardSubcommand
23
23
  } from "./chunk-IB56QKCM.js";
@@ -25,8 +25,8 @@ import {
25
25
  stamp_default
26
26
  } from "./chunk-64IF634X.js";
27
27
  import "./chunk-VXYGCOKL.js";
28
- import "./chunk-LJ5WXXG6.js";
29
- import "./chunk-LQR3CHMH.js";
28
+ import "./chunk-QH7WYDEP.js";
29
+ import "./chunk-SFPJ3VR7.js";
30
30
  import "./chunk-HIYWSGI7.js";
31
31
  import {
32
32
  outputAgentError
@@ -19,7 +19,7 @@ import {
19
19
  printRouteConfig,
20
20
  routingRuleToCurrentRoute,
21
21
  runInteractiveEditLoop
22
- } from "./chunk-Z3X747P6.js";
22
+ } from "./chunk-RHXSECUF.js";
23
23
  import {
24
24
  getRouteVersions
25
25
  } from "./chunk-AHU7WNL2.js";
@@ -31,7 +31,7 @@ import {
31
31
  resolveRoute,
32
32
  shellQuoteRouteIdentifierForSuggestion,
33
33
  withGlobalFlags
34
- } from "./chunk-J7BMPRCU.js";
34
+ } from "./chunk-574PHXNT.js";
35
35
  import {
36
36
  editSubcommand
37
37
  } from "./chunk-IB56QKCM.js";
@@ -39,8 +39,8 @@ import {
39
39
  stamp_default
40
40
  } from "./chunk-64IF634X.js";
41
41
  import "./chunk-VXYGCOKL.js";
42
- import "./chunk-LJ5WXXG6.js";
43
- import "./chunk-LQR3CHMH.js";
42
+ import "./chunk-QH7WYDEP.js";
43
+ import "./chunk-SFPJ3VR7.js";
44
44
  import "./chunk-HIYWSGI7.js";
45
45
  import {
46
46
  outputAgentError
@@ -364,7 +364,7 @@ Editing route "${originalRoute.name}"`);
364
364
  }
365
365
  await runInteractiveEditLoop(client, route);
366
366
  }
367
- populateRouteEnv(route.route);
367
+ populateRouteEnv(route.route, route.srcSyntax);
368
368
  if (JSON.stringify(route) === JSON.stringify(originalRoute)) {
369
369
  output_manager_default.log("No changes made.");
370
370
  return 0;
@@ -554,7 +554,7 @@ async function handleAIEdit(client, projectId, teamId, originalRoute, aiPrompt,
554
554
  manualRoute.srcSyntax = routeInput.srcSyntax;
555
555
  manualRoute.route = routeInput.route;
556
556
  await runInteractiveEditLoop(client, manualRoute);
557
- populateRouteEnv(manualRoute.route);
557
+ populateRouteEnv(manualRoute.route, manualRoute.srcSyntax);
558
558
  const editStamp = stamp_default();
559
559
  output_manager_default.spinner(`Updating route "${manualRoute.name}"`);
560
560
  try {
@@ -596,7 +596,7 @@ async function handleAIEdit(client, projectId, teamId, originalRoute, aiPrompt,
596
596
  }
597
597
  async function applyAIEdit(client, projectId, teamId, originalRoute, generated, existingStagingVersion, skipConfirmation) {
598
598
  const routeInput = generatedRouteToAddInput(generated);
599
- populateRouteEnv(routeInput.route);
599
+ populateRouteEnv(routeInput.route, routeInput.srcSyntax);
600
600
  const editStamp = stamp_default();
601
601
  output_manager_default.spinner(`Updating route "${routeInput.name}"`);
602
602
  try {
@@ -17,7 +17,7 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-J7BMPRCU.js";
20
+ } from "./chunk-574PHXNT.js";
21
21
  import {
22
22
  enableSubcommand
23
23
  } from "./chunk-IB56QKCM.js";
@@ -25,8 +25,8 @@ import {
25
25
  stamp_default
26
26
  } from "./chunk-64IF634X.js";
27
27
  import "./chunk-VXYGCOKL.js";
28
- import "./chunk-LJ5WXXG6.js";
29
- import "./chunk-LQR3CHMH.js";
28
+ import "./chunk-QH7WYDEP.js";
29
+ import "./chunk-SFPJ3VR7.js";
30
30
  import "./chunk-HIYWSGI7.js";
31
31
  import {
32
32
  outputAgentError
@@ -9,12 +9,12 @@ import {
9
9
  getRoutes,
10
10
  parseSubcommandArgs,
11
11
  withGlobalFlags
12
- } from "./chunk-J7BMPRCU.js";
12
+ } from "./chunk-574PHXNT.js";
13
13
  import {
14
14
  exportSubcommand
15
15
  } from "./chunk-IB56QKCM.js";
16
- import "./chunk-LJ5WXXG6.js";
17
- import "./chunk-LQR3CHMH.js";
16
+ import "./chunk-QH7WYDEP.js";
17
+ import "./chunk-SFPJ3VR7.js";
18
18
  import "./chunk-HIYWSGI7.js";
19
19
  import {
20
20
  outputAgentError
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  emitAlertsScopeError
9
- } from "./chunk-FLW73SZ3.js";
9
+ } from "./chunk-6A62YUBE.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -21,14 +21,14 @@ import {
21
21
  import "./chunk-SGPBULVT.js";
22
22
  import {
23
23
  AGENT_REASON
24
- } from "./chunk-LJ5WXXG6.js";
24
+ } from "./chunk-QH7WYDEP.js";
25
25
  import {
26
26
  getScope
27
- } from "./chunk-G3NXHUFT.js";
27
+ } from "./chunk-6SL223IW.js";
28
28
  import {
29
29
  getLinkedProject,
30
30
  getProjectByNameOrId
31
- } from "./chunk-LQR3CHMH.js";
31
+ } from "./chunk-SFPJ3VR7.js";
32
32
  import "./chunk-HIYWSGI7.js";
33
33
  import {
34
34
  buildCommandWithGlobalFlags,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-FLW73SZ3.js";
9
+ } from "./chunk-6A62YUBE.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  normalizeRepeatableStringFilters,
@@ -25,9 +25,9 @@ import {
25
25
  import "./chunk-SGPBULVT.js";
26
26
  import {
27
27
  AGENT_REASON
28
- } from "./chunk-LJ5WXXG6.js";
29
- import "./chunk-G3NXHUFT.js";
30
- import "./chunk-LQR3CHMH.js";
28
+ } from "./chunk-QH7WYDEP.js";
29
+ import "./chunk-6SL223IW.js";
30
+ import "./chunk-SFPJ3VR7.js";
31
31
  import "./chunk-HIYWSGI7.js";
32
32
  import {
33
33
  buildCommandWithGlobalFlags,
@@ -24,11 +24,11 @@ import {
24
24
  } from "./chunk-56AJHIQC.js";
25
25
  import {
26
26
  getScope
27
- } from "./chunk-G3NXHUFT.js";
27
+ } from "./chunk-6SL223IW.js";
28
28
  import {
29
29
  getLinkedProject,
30
30
  getProjectByNameOrId
31
- } from "./chunk-LQR3CHMH.js";
31
+ } from "./chunk-SFPJ3VR7.js";
32
32
  import "./chunk-HIYWSGI7.js";
33
33
  import "./chunk-NHGCQRK5.js";
34
34
  import "./chunk-N2T234LO.js";
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-JISJDGJF.js";
13
- import "./chunk-FLW73SZ3.js";
12
+ } from "./chunk-LOPPFUV3.js";
13
+ import "./chunk-6A62YUBE.js";
14
14
  import "./chunk-D7MGZH35.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -20,9 +20,9 @@ import {
20
20
  } from "./chunk-SGPBULVT.js";
21
21
  import {
22
22
  AGENT_REASON
23
- } from "./chunk-LJ5WXXG6.js";
24
- import "./chunk-G3NXHUFT.js";
25
- import "./chunk-LQR3CHMH.js";
23
+ } from "./chunk-QH7WYDEP.js";
24
+ import "./chunk-6SL223IW.js";
25
+ import "./chunk-SFPJ3VR7.js";
26
26
  import "./chunk-HIYWSGI7.js";
27
27
  import {
28
28
  outputAgentError
@@ -17,7 +17,7 @@ import {
17
17
  parseSubcommandArgs,
18
18
  printDiffSummary,
19
19
  withGlobalFlags
20
- } from "./chunk-J7BMPRCU.js";
20
+ } from "./chunk-574PHXNT.js";
21
21
  import {
22
22
  publishSubcommand
23
23
  } from "./chunk-IB56QKCM.js";
@@ -25,8 +25,8 @@ import {
25
25
  stamp_default
26
26
  } from "./chunk-64IF634X.js";
27
27
  import "./chunk-VXYGCOKL.js";
28
- import "./chunk-LJ5WXXG6.js";
29
- import "./chunk-LQR3CHMH.js";
28
+ import "./chunk-QH7WYDEP.js";
29
+ import "./chunk-SFPJ3VR7.js";
30
30
  import "./chunk-HIYWSGI7.js";
31
31
  import {
32
32
  outputAgentError
@@ -24,14 +24,14 @@ import {
24
24
  } from "./chunk-XPKWKPWA.js";
25
25
  import {
26
26
  metricsCommand
27
- } from "./chunk-ILJH44MK.js";
27
+ } from "./chunk-YE3C5CUX.js";
28
28
  import {
29
29
  getScope
30
- } from "./chunk-G3NXHUFT.js";
30
+ } from "./chunk-6SL223IW.js";
31
31
  import {
32
32
  getLinkedProject,
33
33
  getProjectByNameOrId
34
- } from "./chunk-LQR3CHMH.js";
34
+ } from "./chunk-SFPJ3VR7.js";
35
35
  import "./chunk-HIYWSGI7.js";
36
36
  import "./chunk-NHGCQRK5.js";
37
37
  import "./chunk-N2T234LO.js";
@@ -16,7 +16,7 @@ import {
16
16
  resolveRoute,
17
17
  shellQuoteRouteIdentifierForSuggestion,
18
18
  withGlobalFlags
19
- } from "./chunk-J7BMPRCU.js";
19
+ } from "./chunk-574PHXNT.js";
20
20
  import {
21
21
  reorderSubcommand
22
22
  } from "./chunk-IB56QKCM.js";
@@ -24,8 +24,8 @@ import {
24
24
  stamp_default
25
25
  } from "./chunk-64IF634X.js";
26
26
  import "./chunk-VXYGCOKL.js";
27
- import "./chunk-LJ5WXXG6.js";
28
- import "./chunk-LQR3CHMH.js";
27
+ import "./chunk-QH7WYDEP.js";
28
+ import "./chunk-SFPJ3VR7.js";
29
29
  import "./chunk-HIYWSGI7.js";
30
30
  import {
31
31
  outputAgentError
@@ -19,7 +19,7 @@ import {
19
19
  printDiffSummary,
20
20
  validateRequiredArgs,
21
21
  withGlobalFlags
22
- } from "./chunk-J7BMPRCU.js";
22
+ } from "./chunk-574PHXNT.js";
23
23
  import {
24
24
  restoreSubcommand
25
25
  } from "./chunk-IB56QKCM.js";
@@ -27,8 +27,8 @@ import {
27
27
  stamp_default
28
28
  } from "./chunk-64IF634X.js";
29
29
  import "./chunk-VXYGCOKL.js";
30
- import "./chunk-LJ5WXXG6.js";
31
- import "./chunk-LQR3CHMH.js";
30
+ import "./chunk-QH7WYDEP.js";
31
+ import "./chunk-SFPJ3VR7.js";
32
32
  import "./chunk-HIYWSGI7.js";
33
33
  import {
34
34
  outputAgentError
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesItemPath
12
- } from "./chunk-JISJDGJF.js";
13
- import "./chunk-FLW73SZ3.js";
12
+ } from "./chunk-LOPPFUV3.js";
13
+ import "./chunk-6A62YUBE.js";
14
14
  import "./chunk-D7MGZH35.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -20,9 +20,9 @@ import {
20
20
  } from "./chunk-SGPBULVT.js";
21
21
  import {
22
22
  AGENT_REASON
23
- } from "./chunk-LJ5WXXG6.js";
24
- import "./chunk-G3NXHUFT.js";
25
- import "./chunk-LQR3CHMH.js";
23
+ } from "./chunk-QH7WYDEP.js";
24
+ import "./chunk-6SL223IW.js";
25
+ import "./chunk-SFPJ3VR7.js";
26
26
  import "./chunk-HIYWSGI7.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesItemPath
12
- } from "./chunk-JISJDGJF.js";
13
- import "./chunk-FLW73SZ3.js";
12
+ } from "./chunk-LOPPFUV3.js";
13
+ import "./chunk-6A62YUBE.js";
14
14
  import "./chunk-D7MGZH35.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -20,9 +20,9 @@ import {
20
20
  } from "./chunk-SGPBULVT.js";
21
21
  import {
22
22
  AGENT_REASON
23
- } from "./chunk-LJ5WXXG6.js";
24
- import "./chunk-G3NXHUFT.js";
25
- import "./chunk-LQR3CHMH.js";
23
+ } from "./chunk-QH7WYDEP.js";
24
+ import "./chunk-6SL223IW.js";
25
+ import "./chunk-SFPJ3VR7.js";
26
26
  import "./chunk-HIYWSGI7.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-YPQSDAEW.js";
10
10
  import {
11
11
  AGENT_REASON
12
- } from "./chunk-LJ5WXXG6.js";
12
+ } from "./chunk-QH7WYDEP.js";
13
13
  import {
14
14
  buildCommandWithGlobalFlags,
15
15
  outputAgentError
@@ -32,7 +32,7 @@ var RULES_CONFIG = {
32
32
  };
33
33
  async function rules(client, argv) {
34
34
  if (argv.length === 0) {
35
- const lsFn = (await import("./ls-PBSOEXFG.js")).default;
35
+ const lsFn = (await import("./ls-QBCHGSIC.js")).default;
36
36
  return lsFn(client, []);
37
37
  }
38
38
  const { subcommand, args, subcommandOriginal } = getSubcommand(
@@ -65,15 +65,15 @@ async function rules(client, argv) {
65
65
  }
66
66
  switch (subcommand) {
67
67
  case "ls":
68
- return (await import("./ls-PBSOEXFG.js")).default(client, args);
68
+ return (await import("./ls-QBCHGSIC.js")).default(client, args);
69
69
  case "add":
70
- return (await import("./add-PKT6ULVJ.js")).default(client, args);
70
+ return (await import("./add-6XHROCMP.js")).default(client, args);
71
71
  case "inspect":
72
- return (await import("./rule-inspect-3YK2XSL3.js")).default(client, args);
72
+ return (await import("./rule-inspect-T57QBYJR.js")).default(client, args);
73
73
  case "rm":
74
- return (await import("./rm-MCSGTU4J.js")).default(client, args);
74
+ return (await import("./rm-3L7FVCDA.js")).default(client, args);
75
75
  case "update":
76
- return (await import("./update-XB4WSRGY.js")).default(client, args);
76
+ return (await import("./update-LT3LZVEZ.js")).default(client, args);
77
77
  default:
78
78
  output_manager_default.error(`Unhandled rules subcommand: ${String(subcommandOriginal)}`);
79
79
  return 1;
@@ -20,13 +20,13 @@ import {
20
20
  } from "./chunk-XPKWKPWA.js";
21
21
  import {
22
22
  schemaSubcommand
23
- } from "./chunk-ILJH44MK.js";
23
+ } from "./chunk-YE3C5CUX.js";
24
24
  import {
25
25
  getScope
26
- } from "./chunk-G3NXHUFT.js";
26
+ } from "./chunk-6SL223IW.js";
27
27
  import {
28
28
  require_pluralize
29
- } from "./chunk-LQR3CHMH.js";
29
+ } from "./chunk-SFPJ3VR7.js";
30
30
  import "./chunk-HIYWSGI7.js";
31
31
  import "./chunk-NHGCQRK5.js";
32
32
  import "./chunk-N2T234LO.js";