vercel 56.1.0 → 56.2.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 (64) hide show
  1. package/dist/chunks/{add-323XURMF.js → add-T6ZTAEU2.js} +4 -4
  2. package/dist/chunks/{add-CAG6USJE.js → add-YQRDKWJH.js} +3 -3
  3. package/dist/chunks/{chunk-HAZVRYHI.js → chunk-AEENIITE.js} +4 -4
  4. package/dist/chunks/{chunk-GW66OTWH.js → chunk-AVLGVZJ5.js} +2 -2
  5. package/dist/chunks/{chunk-SVSO76UB.js → chunk-B6SCQUDV.js} +1 -1
  6. package/dist/chunks/{chunk-3XCDGACN.js → chunk-E3Y4SDXF.js} +1 -1
  7. package/dist/chunks/{chunk-VBLL2YSE.js → chunk-EI555LUJ.js} +1 -1
  8. package/dist/chunks/{chunk-CWSK7WS2.js → chunk-EKIKD7RS.js} +4 -4
  9. package/dist/chunks/{chunk-DZGBBY3A.js → chunk-HMMPJ3VD.js} +2 -2
  10. package/dist/chunks/{chunk-PJ3UJGFX.js → chunk-HR6VI6UV.js} +2 -2
  11. package/dist/chunks/{chunk-U5MCEDDN.js → chunk-K2THP63Z.js} +1 -1
  12. package/dist/chunks/{chunk-6HNQJHQP.js → chunk-LSPZHWWP.js} +1 -1
  13. package/dist/chunks/{chunk-CQEYCOBR.js → chunk-LXF3AXHM.js} +1 -1
  14. package/dist/chunks/{chunk-X73W5HTJ.js → chunk-NQEAHRBI.js} +4 -4
  15. package/dist/chunks/{chunk-ZDKEZNOJ.js → chunk-PN2GJKM5.js} +1 -1
  16. package/dist/chunks/{chunk-2LVETUK7.js → chunk-PQK4YU22.js} +1 -1
  17. package/dist/chunks/{chunk-Q42RNOJZ.js → chunk-RLXBXRU2.js} +2 -2
  18. package/dist/chunks/{chunk-CZLKIVVT.js → chunk-SHT5IY3Q.js} +3 -1
  19. package/dist/chunks/{chunk-O7ZMPY6L.js → chunk-SRJTYE5U.js} +1 -1
  20. package/dist/chunks/{chunk-6NECZQWO.js → chunk-WOA4Z45Z.js} +2 -2
  21. package/dist/chunks/{chunk-4YWIGTZR.js → chunk-XFMTSTYT.js} +3 -3
  22. package/dist/chunks/{chunk-TLHKETA6.js → chunk-YGSTSVXS.js} +20 -1
  23. package/dist/chunks/{compile-vercel-config-TIO3FAYI.js → compile-vercel-config-3AG4VKHZ.js} +1 -1
  24. package/dist/chunks/{delete-6TCLBG25.js → delete-JLJ753B4.js} +2 -2
  25. package/dist/chunks/{disable-7SOBOP2H.js → disable-AXFGDOYN.js} +2 -2
  26. package/dist/chunks/{discard-YGXO5GP5.js → discard-557SDKVO.js} +2 -2
  27. package/dist/chunks/{edit-KL2O6AGH.js → edit-ITGNF7S5.js} +3 -3
  28. package/dist/chunks/{enable-BJG2XLCD.js → enable-6RMJPNW5.js} +2 -2
  29. package/dist/chunks/{export-32T5VGVA.js → export-3NC3DPRR.js} +2 -2
  30. package/dist/chunks/{image-PXN76ZCH.js → image-FGP5UVA5.js} +3 -3
  31. package/dist/chunks/{inspect-N2UQFFNL.js → inspect-56OMR6RC.js} +3 -3
  32. package/dist/chunks/{inspect-IMS5XUMF.js → inspect-AF5J3QDV.js} +3 -3
  33. package/dist/chunks/{inspect-EIQBBWPM.js → inspect-FDF5WZMM.js} +3 -3
  34. package/dist/chunks/{inspect-TSK2LYUI.js → inspect-N5DHCKLZ.js} +3 -3
  35. package/dist/chunks/{list-RELZVTWN.js → list-F2AW7L3D.js} +3 -3
  36. package/dist/chunks/{list-OHXBNQJW.js → list-PLG2ZHBA.js} +2 -2
  37. package/dist/chunks/{login-JEAMS6RC.js → login-LQRR64K7.js} +3 -3
  38. package/dist/chunks/{ls-3RMT2VAX.js → ls-E7FYH3DW.js} +4 -4
  39. package/dist/chunks/{ls-VLBSSAUI.js → ls-EKNQN3V4.js} +3 -3
  40. package/dist/chunks/{ls-IOR6RY2E.js → ls-FWPYY7GH.js} +3 -3
  41. package/dist/chunks/{ls-6LX7JBT4.js → ls-HZDBJLMG.js} +3 -3
  42. package/dist/chunks/{publish-RP7M4QTZ.js → publish-PDGTM3M7.js} +2 -2
  43. package/dist/chunks/{query-CZVPJ4DQ.js → query-MUQKKYXI.js} +2 -2
  44. package/dist/chunks/{reorder-M25MRPFN.js → reorder-B76HXU6D.js} +2 -2
  45. package/dist/chunks/{restore-NC5F6U4W.js → restore-2PYXS4NP.js} +2 -2
  46. package/dist/chunks/{rm-NE33ZYNW.js → rm-GZW2IDWX.js} +3 -3
  47. package/dist/chunks/{rm-54DKY5WE.js → rm-SD3EJRXY.js} +3 -3
  48. package/dist/chunks/{rm-NFJ4Z7OV.js → rm-SFC67P5U.js} +4 -4
  49. package/dist/chunks/{rule-inspect-JAULGGMI.js → rule-inspect-MSPP3V4O.js} +4 -4
  50. package/dist/chunks/{rules-KFLYMN6N.js → rules-AN32QRP7.js} +6 -6
  51. package/dist/chunks/{schema-D2ECKUMA.js → schema-2GYFHMCN.js} +2 -2
  52. package/dist/chunks/{tags-22H3MYVI.js → tags-ULDC3YLP.js} +2 -2
  53. package/dist/chunks/{update-7CBX7VDA.js → update-NE62WKTZ.js} +4 -4
  54. package/dist/commands/build/index.js +41 -26
  55. package/dist/commands/deploy/index.js +10 -10
  56. package/dist/commands/dev/index.js +8 -8
  57. package/dist/commands/env/index.js +152 -24
  58. package/dist/commands/link/index.js +7 -7
  59. package/dist/commands/list/index.js +3 -3
  60. package/dist/commands-bulk.js +38 -38
  61. package/dist/index.js +8 -8
  62. package/dist/vc.js +3 -3
  63. package/dist/version.mjs +1 -1
  64. package/package.json +15 -15
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  formatEnvironment,
25
25
  validateLsArgs
26
- } from "../../chunks/chunk-SVSO76UB.js";
26
+ } from "../../chunks/chunk-B6SCQUDV.js";
27
27
  import {
28
28
  validateJsonOutput
29
29
  } from "../../chunks/chunk-XPKWKPWA.js";
@@ -32,7 +32,7 @@ import {
32
32
  } from "../../chunks/chunk-YPQSDAEW.js";
33
33
  import {
34
34
  getCommandAliases
35
- } from "../../chunks/chunk-GW66OTWH.js";
35
+ } from "../../chunks/chunk-AVLGVZJ5.js";
36
36
  import "../../chunks/chunk-5OT26JZN.js";
37
37
  import "../../chunks/chunk-7C7MMT4J.js";
38
38
  import "../../chunks/chunk-RLJA2KI7.js";
@@ -53,7 +53,7 @@ import {
53
53
  stamp_default
54
54
  } from "../../chunks/chunk-64IF634X.js";
55
55
  import "../../chunks/chunk-VXYGCOKL.js";
56
- import "../../chunks/chunk-U5MCEDDN.js";
56
+ import "../../chunks/chunk-K2THP63Z.js";
57
57
  import {
58
58
  help
59
59
  } from "../../chunks/chunk-QY63UKTP.js";
@@ -68,8 +68,10 @@ import {
68
68
  getEnvTargetPlaceholder,
69
69
  getLinkedProject,
70
70
  getTeamById,
71
+ isValidEnvTarget,
71
72
  listSubcommand,
72
73
  param,
74
+ parseEnvTargetArg,
73
75
  parseTarget,
74
76
  printAlignedLabel,
75
77
  pull,
@@ -79,7 +81,7 @@ import {
79
81
  require_frameworks,
80
82
  runSubcommand,
81
83
  updateSubcommand
82
- } from "../../chunks/chunk-TLHKETA6.js";
84
+ } from "../../chunks/chunk-YGSTSVXS.js";
83
85
  import {
84
86
  buildCommandWithYes,
85
87
  buildEnvAddCommandWithPreservedArgs,
@@ -379,11 +381,10 @@ var EnvAddTelemetryClient = class extends TelemetryClient {
379
381
  }
380
382
  trackCliArgumentEnvironment(environment) {
381
383
  if (environment) {
384
+ const allStandard = environment.split(",").map((t) => t.trim()).every((t) => STANDARD_ENVIRONMENTS.includes(t));
382
385
  this.trackCliArgument({
383
386
  arg: "environment",
384
- value: STANDARD_ENVIRONMENTS.includes(
385
- environment
386
- ) ? environment : this.redactedValue
387
+ value: allStandard ? environment : this.redactedValue
387
388
  });
388
389
  }
389
390
  }
@@ -449,9 +450,9 @@ function getTargetCompatibilityError(envTargets, isSensitive, policyOn) {
449
450
  const hasDevelopment = envTargets.includes("development");
450
451
  const hasSensitiveCapable = envTargets.some((t) => t !== "development");
451
452
  if (isSensitive && hasDevelopment) {
452
- return `Sensitive Environment Variables are not supported on the Development Environment. Run ${getCommandName(
453
+ return `Sensitive Environment Variables are not supported on the Development Environment. Add --no-sensitive to store a non-sensitive value for all selected Environments, or run ${getCommandName(
453
454
  "env add"
454
- )} separately for Development with a non-sensitive value.`;
455
+ )} separately for Development.`;
455
456
  }
456
457
  if (!isSensitive && policyOn && hasSensitiveCapable) {
457
458
  return `Your team requires sensitive Environment Variables for Production and Preview. To add a non-sensitive value, target the Development Environment only. Run ${getCommandName(
@@ -490,6 +491,16 @@ function redactEnvValueArgs(argv) {
490
491
  }
491
492
  return redacted;
492
493
  }
494
+ function multiTargetSuggestion(argv, envName, targets, addNoSensitive) {
495
+ const flag = addNoSensitive ? " --no-sensitive" : "";
496
+ return {
497
+ command: buildEnvAddCommandWithPreservedArgs(
498
+ argv,
499
+ `env add ${envName} ${targets.join(",")} --value "<value>"${flag} --yes`
500
+ ),
501
+ when: addNoSensitive ? "Add one non-sensitive variable to all listed environments" : "Add one variable to multiple environments"
502
+ };
503
+ }
493
504
  function projectLabel(link) {
494
505
  return `${link.org.slug}/${link.project.name}`;
495
506
  }
@@ -590,10 +601,7 @@ async function add(client, argv) {
590
601
  );
591
602
  return 1;
592
603
  }
593
- let envTargets = [];
594
- if (envTargetArg) {
595
- envTargets.push(envTargetArg);
596
- }
604
+ let envTargets = envTargetArg ? parseEnvTargetArg(envTargetArg) : [];
597
605
  if (client.nonInteractive) {
598
606
  const link2 = await getLinkedProject(client);
599
607
  if (link2.status === "error") {
@@ -702,7 +710,7 @@ async function add(client, argv) {
702
710
  if (m === "missing_value")
703
711
  return "--value or stdin";
704
712
  if (m === "missing_environment")
705
- return "environment (production, preview, or development)";
713
+ return "environment (production, preview, development, or a comma-separated list)";
706
714
  if (m === "git_branch_required")
707
715
  return "third argument <gitbranch> for Preview, or omit for all Preview branches";
708
716
  return m;
@@ -749,6 +757,20 @@ async function add(client, argv) {
749
757
  }
750
758
  );
751
759
  }
760
+ if (missing.includes("missing_environment")) {
761
+ const standardAvailable = choices2.map((c) => c.value).filter((v) => isValidEnvTarget(v));
762
+ const multiTargets = opts["--sensitive"] ? standardAvailable.filter((t) => t !== "development") : standardAvailable;
763
+ if (multiTargets.length > 1) {
764
+ next.push(
765
+ multiTargetSuggestion(
766
+ client.argv,
767
+ envName || "<name>",
768
+ multiTargets,
769
+ multiTargets.includes("development") && !opts["--no-sensitive"]
770
+ )
771
+ );
772
+ }
773
+ }
752
774
  outputActionRequired(
753
775
  client,
754
776
  {
@@ -910,6 +932,57 @@ async function add(client, argv) {
910
932
  getEnvRecords(client, project.id, "vercel-cli:env:add"),
911
933
  getCustomEnvironments(client, project.id)
912
934
  ]);
935
+ if (envTargets.length > 0) {
936
+ const resolved = [];
937
+ const invalid = [];
938
+ for (const target of envTargets) {
939
+ if (isValidEnvTarget(target)) {
940
+ resolved.push(target);
941
+ continue;
942
+ }
943
+ const custom = customEnvironments.find(
944
+ (c) => c.id === target || c.slug === target
945
+ );
946
+ if (custom) {
947
+ resolved.push(custom.id);
948
+ } else {
949
+ invalid.push(target);
950
+ }
951
+ }
952
+ if (invalid.length > 0) {
953
+ const valid = [
954
+ ...envTargetChoices.map((c) => c.value),
955
+ ...customEnvironments.map((c) => c.slug)
956
+ ];
957
+ const message = `Invalid environment: ${invalid.join(
958
+ ", "
959
+ )}. Valid environments: ${valid.join(
960
+ ", "
961
+ )}. Separate multiple environments with commas.`;
962
+ if (client.nonInteractive) {
963
+ outputAgentError(
964
+ client,
965
+ { status: "error", reason: "invalid_environment", message },
966
+ 1
967
+ );
968
+ }
969
+ output_manager_default.error(message);
970
+ return 1;
971
+ }
972
+ envTargets = resolved;
973
+ }
974
+ if (envGitBranch && envTargets.length > 1) {
975
+ const message = "A Git branch can only be set when Preview is the only selected environment.";
976
+ if (client.nonInteractive) {
977
+ outputAgentError(
978
+ client,
979
+ { status: "error", reason: "branch_requires_preview_only", message },
980
+ 1
981
+ );
982
+ }
983
+ output_manager_default.error(message);
984
+ return 1;
985
+ }
913
986
  const matchingEnvs = envs.filter((r) => r.key === envName);
914
987
  const existingTargets = /* @__PURE__ */ new Set();
915
988
  const existingCustomEnvs = /* @__PURE__ */ new Set();
@@ -991,12 +1064,24 @@ async function add(client, argv) {
991
1064
  if (forceSensitive && envTargets.includes("development")) {
992
1065
  const msg = `--sensitive is not allowed with the Development Environment. Sensitive Environment Variables are only supported on Production and Preview.`;
993
1066
  if (client.nonInteractive) {
1067
+ const nonDev = envTargets.filter((t) => t !== "development");
994
1068
  outputAgentError(
995
1069
  client,
996
1070
  {
997
1071
  status: "error",
998
1072
  reason: "sensitive_not_allowed_on_development",
999
- message: msg
1073
+ message: msg,
1074
+ ...nonDev.length > 0 ? {
1075
+ next: [
1076
+ {
1077
+ command: buildEnvAddCommandWithPreservedArgs(
1078
+ client.argv,
1079
+ `env add ${envName} ${nonDev.join(",")} --value "<value>" --yes`
1080
+ ),
1081
+ when: "Keep sensitive and skip Development"
1082
+ }
1083
+ ]
1084
+ } : {}
1000
1085
  },
1001
1086
  1
1002
1087
  );
@@ -1012,12 +1097,39 @@ async function add(client, argv) {
1012
1097
  );
1013
1098
  if (compatibilityError) {
1014
1099
  if (client.nonInteractive) {
1100
+ const next = [];
1101
+ if (isSensitive) {
1102
+ if (!policyOn) {
1103
+ next.push(
1104
+ multiTargetSuggestion(client.argv, envName, envTargets, true)
1105
+ );
1106
+ }
1107
+ const nonDev = envTargets.filter((t) => t !== "development");
1108
+ if (nonDev.length > 0) {
1109
+ next.push({
1110
+ command: buildEnvAddCommandWithPreservedArgs(
1111
+ client.argv,
1112
+ `env add ${envName} ${nonDev.join(",")} --value "<value>" --yes`
1113
+ ),
1114
+ when: "Keep sensitive and skip Development"
1115
+ });
1116
+ }
1117
+ } else {
1118
+ next.push({
1119
+ command: buildEnvAddCommandWithPreservedArgs(
1120
+ client.argv,
1121
+ `env add ${envName} development --value "<value>" --yes`
1122
+ ),
1123
+ when: "Add as non-sensitive to Development only"
1124
+ });
1125
+ }
1015
1126
  outputAgentError(
1016
1127
  client,
1017
1128
  {
1018
1129
  status: "error",
1019
1130
  reason: isSensitive ? "sensitive_not_allowed_on_development" : "non_sensitive_not_allowed_on_production_preview",
1020
- message: compatibilityError
1131
+ message: compatibilityError,
1132
+ ...next.length > 0 ? { next } : {}
1021
1133
  },
1022
1134
  1
1023
1135
  );
@@ -1083,23 +1195,39 @@ async function add(client, argv) {
1083
1195
  });
1084
1196
  while (envTargets.length === 0) {
1085
1197
  if (client.nonInteractive && envChoices.length > 0) {
1198
+ const standardAvailable = choices.map((c) => c.value).filter((v) => isValidEnvTarget(v));
1199
+ const multiTargets = policyOn || forceSensitive ? standardAvailable.filter((t) => t !== "development") : standardAvailable;
1200
+ const next = [];
1201
+ if (multiTargets.length > 1) {
1202
+ next.push(
1203
+ multiTargetSuggestion(
1204
+ client.argv,
1205
+ envName,
1206
+ multiTargets,
1207
+ multiTargets.includes("development") && !forceEncrypted
1208
+ )
1209
+ );
1210
+ }
1211
+ next.push(
1212
+ ...envChoices.slice(0, 5).map((c) => ({
1213
+ command: buildEnvAddCommandWithPreservedArgs(
1214
+ client.argv,
1215
+ `env add ${envName} ${c.value} --value "<value>" --yes`
1216
+ )
1217
+ }))
1218
+ );
1086
1219
  outputActionRequired(client, {
1087
1220
  status: "action_required",
1088
1221
  reason: "missing_environment",
1089
- message: `Specify at least one environment. Add as argument or use: ${buildEnvAddCommandWithPreservedArgs(
1222
+ message: `Specify one or more environments (comma-separated). Add as argument or use: ${buildEnvAddCommandWithPreservedArgs(
1090
1223
  client.argv,
1091
- `env add ${envName} <environment> --value "<value>" --yes`
1224
+ `env add ${envName} <environment>[,<environment>] --value "<value>" --yes`
1092
1225
  )}`,
1093
1226
  choices: envChoices.map((c) => ({
1094
1227
  id: c.value,
1095
1228
  name: typeof c.name === "string" ? c.name : c.value
1096
1229
  })),
1097
- next: envChoices.slice(0, 5).map((c) => ({
1098
- command: buildEnvAddCommandWithPreservedArgs(
1099
- client.argv,
1100
- `env add ${envName} ${c.value} --value "<value>" --yes`
1101
- )
1102
- }))
1230
+ next
1103
1231
  });
1104
1232
  }
1105
1233
  envTargets = await client.input.checkbox({
@@ -11,7 +11,7 @@ import {
11
11
  addSubcommand7 as addSubcommand,
12
12
  getCommandAliases,
13
13
  linkCommand
14
- } from "../../chunks/chunk-GW66OTWH.js";
14
+ } from "../../chunks/chunk-AVLGVZJ5.js";
15
15
  import "../../chunks/chunk-5OT26JZN.js";
16
16
  import "../../chunks/chunk-7C7MMT4J.js";
17
17
  import "../../chunks/chunk-RLJA2KI7.js";
@@ -24,17 +24,17 @@ import "../../chunks/chunk-IDMKFYEA.js";
24
24
  import "../../chunks/chunk-HA7C7SDO.js";
25
25
  import {
26
26
  ensureLink
27
- } from "../../chunks/chunk-6NECZQWO.js";
28
- import "../../chunks/chunk-4YWIGTZR.js";
27
+ } from "../../chunks/chunk-WOA4Z45Z.js";
28
+ import "../../chunks/chunk-XFMTSTYT.js";
29
29
  import "../../chunks/chunk-IC4YEIGW.js";
30
30
  import {
31
31
  isPromptCanceledError
32
- } from "../../chunks/chunk-VBLL2YSE.js";
33
- import "../../chunks/chunk-U5MCEDDN.js";
32
+ } from "../../chunks/chunk-EI555LUJ.js";
33
+ import "../../chunks/chunk-K2THP63Z.js";
34
34
  import {
35
35
  detectExplicitScope,
36
36
  getScope
37
- } from "../../chunks/chunk-CQEYCOBR.js";
37
+ } from "../../chunks/chunk-LXF3AXHM.js";
38
38
  import {
39
39
  help
40
40
  } from "../../chunks/chunk-QY63UKTP.js";
@@ -44,7 +44,7 @@ import {
44
44
  ensureRepoLink,
45
45
  pull,
46
46
  resolveProjectCwd
47
- } from "../../chunks/chunk-TLHKETA6.js";
47
+ } from "../../chunks/chunk-YGSTSVXS.js";
48
48
  import "../../chunks/chunk-CB3I3QIT.js";
49
49
  import {
50
50
  TelemetryClient
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  formatEnvironment,
23
23
  validateLsArgs
24
- } from "../../chunks/chunk-SVSO76UB.js";
24
+ } from "../../chunks/chunk-B6SCQUDV.js";
25
25
  import {
26
26
  validateJsonOutput
27
27
  } from "../../chunks/chunk-XPKWKPWA.js";
@@ -33,7 +33,7 @@ import {
33
33
  } from "../../chunks/chunk-VXYGCOKL.js";
34
34
  import {
35
35
  getScope
36
- } from "../../chunks/chunk-CQEYCOBR.js";
36
+ } from "../../chunks/chunk-LXF3AXHM.js";
37
37
  import {
38
38
  help
39
39
  } from "../../chunks/chunk-QY63UKTP.js";
@@ -45,7 +45,7 @@ import {
45
45
  getLinkedProject,
46
46
  getProjectByNameOrId,
47
47
  parseTarget
48
- } from "../../chunks/chunk-TLHKETA6.js";
48
+ } from "../../chunks/chunk-YGSTSVXS.js";
49
49
  import {
50
50
  exitWithNonInteractiveError
51
51
  } from "../../chunks/chunk-CB3I3QIT.js";
@@ -31,7 +31,7 @@ import {
31
31
  runInteractiveEditLoop,
32
32
  stripQuotes,
33
33
  validateActionFlags
34
- } from "./chunks/chunk-2LVETUK7.js";
34
+ } from "./chunks/chunk-PQK4YU22.js";
35
35
  import {
36
36
  getRouteVersions
37
37
  } from "./chunks/chunk-AHU7WNL2.js";
@@ -49,7 +49,7 @@ import {
49
49
  parsePosition,
50
50
  parseSubcommandArgs,
51
51
  withGlobalFlags
52
- } from "./chunks/chunk-6HNQJHQP.js";
52
+ } from "./chunks/chunk-LSPZHWWP.js";
53
53
  import {
54
54
  normalizeRepeatableStringFilters,
55
55
  parseTimeFlag
@@ -66,11 +66,11 @@ import {
66
66
  resolveOpenApiTagForTeamsCli,
67
67
  setAutoUpdate,
68
68
  tryOpenApiFallback
69
- } from "./chunks/chunk-HAZVRYHI.js";
69
+ } from "./chunks/chunk-AEENIITE.js";
70
70
  import {
71
71
  getUpdateCommand,
72
72
  isGlobal
73
- } from "./chunks/chunk-ZDKEZNOJ.js";
73
+ } from "./chunks/chunk-PN2GJKM5.js";
74
74
  import {
75
75
  Now,
76
76
  addDomain,
@@ -92,14 +92,14 @@ import {
92
92
  require_format,
93
93
  require_jsonlines,
94
94
  setupDomain
95
- } from "./chunks/chunk-X73W5HTJ.js";
95
+ } from "./chunks/chunk-NQEAHRBI.js";
96
96
  import {
97
97
  getGlobalPathConfig,
98
98
  persistAuthConfig,
99
99
  readLocalConfig,
100
100
  sleep,
101
101
  writeToConfigFile
102
- } from "./chunks/chunk-PJ3UJGFX.js";
102
+ } from "./chunks/chunk-HR6VI6UV.js";
103
103
  import "./chunks/chunk-V5P25P7F.js";
104
104
  import {
105
105
  CHECKBOX_INSTRUCTIONS,
@@ -131,7 +131,7 @@ import {
131
131
  import {
132
132
  formatEnvironment,
133
133
  validateLsArgs
134
- } from "./chunks/chunk-SVSO76UB.js";
134
+ } from "./chunks/chunk-B6SCQUDV.js";
135
135
  import {
136
136
  validateJsonOutput
137
137
  } from "./chunks/chunk-XPKWKPWA.js";
@@ -415,7 +415,7 @@ import {
415
415
  webAnalyticsSubcommand,
416
416
  webhooksCommand,
417
417
  whoamiCommand
418
- } from "./chunks/chunk-GW66OTWH.js";
418
+ } from "./chunks/chunk-AVLGVZJ5.js";
419
419
  import {
420
420
  addSubcommand as addSubcommand12,
421
421
  inspectSubcommand as inspectSubcommand8,
@@ -476,9 +476,9 @@ import "./chunks/chunk-IDMKFYEA.js";
476
476
  import "./chunks/chunk-HA7C7SDO.js";
477
477
  import {
478
478
  main
479
- } from "./chunks/chunk-CWSK7WS2.js";
479
+ } from "./chunks/chunk-EKIKD7RS.js";
480
480
  import "./chunks/chunk-IB5L4LKZ.js";
481
- import "./chunks/chunk-O7ZMPY6L.js";
481
+ import "./chunks/chunk-SRJTYE5U.js";
482
482
  import {
483
483
  require_execa
484
484
  } from "./chunks/chunk-24FCBXI4.js";
@@ -493,21 +493,21 @@ import {
493
493
  } from "./chunks/chunk-VXYGCOKL.js";
494
494
  import {
495
495
  ensureLink
496
- } from "./chunks/chunk-6NECZQWO.js";
496
+ } from "./chunks/chunk-WOA4Z45Z.js";
497
497
  import {
498
498
  printProjectNotFoundError
499
- } from "./chunks/chunk-4YWIGTZR.js";
499
+ } from "./chunks/chunk-XFMTSTYT.js";
500
500
  import {
501
501
  AGENT_ACTION,
502
502
  AGENT_REASON,
503
503
  AGENT_STATUS
504
504
  } from "./chunks/chunk-IC4YEIGW.js";
505
- import "./chunks/chunk-VBLL2YSE.js";
506
- import "./chunks/chunk-U5MCEDDN.js";
505
+ import "./chunks/chunk-EI555LUJ.js";
506
+ import "./chunks/chunk-K2THP63Z.js";
507
507
  import {
508
508
  detectExplicitScope,
509
509
  getScope
510
- } from "./chunks/chunk-CQEYCOBR.js";
510
+ } from "./chunks/chunk-LXF3AXHM.js";
511
511
  import {
512
512
  help
513
513
  } from "./chunks/chunk-QY63UKTP.js";
@@ -566,7 +566,7 @@ import {
566
566
  selectAndParseRemoteUrl,
567
567
  selectOrg,
568
568
  ua_default
569
- } from "./chunks/chunk-TLHKETA6.js";
569
+ } from "./chunks/chunk-YGSTSVXS.js";
570
570
  import {
571
571
  argvHasNonInteractive,
572
572
  buildCommandWithGlobalFlags,
@@ -2399,7 +2399,7 @@ async function activity(client) {
2399
2399
  return 0;
2400
2400
  }
2401
2401
  telemetry2.trackCliSubcommandLs(subcommandOriginal);
2402
- const listFn = (await import("./chunks/list-OHXBNQJW.js")).default;
2402
+ const listFn = (await import("./chunks/list-PLG2ZHBA.js")).default;
2403
2403
  return listFn(client, telemetry2);
2404
2404
  }
2405
2405
  }
@@ -5891,12 +5891,12 @@ async function alerts(client) {
5891
5891
  switch (subcommand) {
5892
5892
  case "inspect": {
5893
5893
  telemetry2.trackCliSubcommandInspect(subcommandOriginal);
5894
- const inspectFn = (await import("./chunks/inspect-IMS5XUMF.js")).default;
5894
+ const inspectFn = (await import("./chunks/inspect-AF5J3QDV.js")).default;
5895
5895
  return inspectFn(client, args);
5896
5896
  }
5897
5897
  case "rules": {
5898
5898
  telemetry2.trackCliSubcommandRules(args[0] ?? "ls");
5899
- const rulesFn = (await import("./chunks/rules-KFLYMN6N.js")).default;
5899
+ const rulesFn = (await import("./chunks/rules-AN32QRP7.js")).default;
5900
5900
  const rulesArgs = [...args];
5901
5901
  const project = parsedArgs.flags["--project"];
5902
5902
  const format4 = parsedArgs.flags["--format"];
@@ -5910,7 +5910,7 @@ async function alerts(client) {
5910
5910
  }
5911
5911
  default: {
5912
5912
  telemetry2.trackCliSubcommandLs(subcommandOriginal);
5913
- const listFn = (await import("./chunks/list-RELZVTWN.js")).default;
5913
+ const listFn = (await import("./chunks/list-F2AW7L3D.js")).default;
5914
5914
  return listFn(client, telemetry2);
5915
5915
  }
5916
5916
  }
@@ -47024,7 +47024,7 @@ async function metrics(client) {
47024
47024
  return 0;
47025
47025
  }
47026
47026
  telemetry2.trackCliSubcommandSchema(subcommandOriginal);
47027
- const schemaFn = (await import("./chunks/schema-D2ECKUMA.js")).default;
47027
+ const schemaFn = (await import("./chunks/schema-2GYFHMCN.js")).default;
47028
47028
  return schemaFn(client, telemetry2);
47029
47029
  }
47030
47030
  default: {
@@ -47037,7 +47037,7 @@ async function metrics(client) {
47037
47037
  output_manager_default.print(help(metricsCommand, { columns: client.stderr.columns }));
47038
47038
  return 2;
47039
47039
  }
47040
- const queryFn = (await import("./chunks/query-CZVPJ4DQ.js")).default;
47040
+ const queryFn = (await import("./chunks/query-MUQKKYXI.js")).default;
47041
47041
  return queryFn(client, telemetry2);
47042
47042
  }
47043
47043
  }
@@ -57629,7 +57629,7 @@ async function main26(client) {
57629
57629
  return 2;
57630
57630
  }
57631
57631
  telemetry2.trackCliSubcommandEdit(subcommandOriginal);
57632
- return (await import("./chunks/edit-KL2O6AGH.js")).default(client, args);
57632
+ return (await import("./chunks/edit-ITGNF7S5.js")).default(client, args);
57633
57633
  case "delete":
57634
57634
  if (needHelp) {
57635
57635
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57637,7 +57637,7 @@ async function main26(client) {
57637
57637
  return 2;
57638
57638
  }
57639
57639
  telemetry2.trackCliSubcommandDelete(subcommandOriginal);
57640
- return (await import("./chunks/delete-6TCLBG25.js")).default(client, args);
57640
+ return (await import("./chunks/delete-JLJ753B4.js")).default(client, args);
57641
57641
  case "enable":
57642
57642
  if (needHelp) {
57643
57643
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57645,7 +57645,7 @@ async function main26(client) {
57645
57645
  return 2;
57646
57646
  }
57647
57647
  telemetry2.trackCliSubcommandEnable(subcommandOriginal);
57648
- return (await import("./chunks/enable-BJG2XLCD.js")).default(client, args);
57648
+ return (await import("./chunks/enable-6RMJPNW5.js")).default(client, args);
57649
57649
  case "disable":
57650
57650
  if (needHelp) {
57651
57651
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57653,7 +57653,7 @@ async function main26(client) {
57653
57653
  return 2;
57654
57654
  }
57655
57655
  telemetry2.trackCliSubcommandDisable(subcommandOriginal);
57656
- return (await import("./chunks/disable-7SOBOP2H.js")).default(client, args);
57656
+ return (await import("./chunks/disable-AXFGDOYN.js")).default(client, args);
57657
57657
  case "reorder":
57658
57658
  if (needHelp) {
57659
57659
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57661,7 +57661,7 @@ async function main26(client) {
57661
57661
  return 2;
57662
57662
  }
57663
57663
  telemetry2.trackCliSubcommandReorder(subcommandOriginal);
57664
- return (await import("./chunks/reorder-M25MRPFN.js")).default(client, args);
57664
+ return (await import("./chunks/reorder-B76HXU6D.js")).default(client, args);
57665
57665
  case "export":
57666
57666
  if (needHelp) {
57667
57667
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57669,7 +57669,7 @@ async function main26(client) {
57669
57669
  return 2;
57670
57670
  }
57671
57671
  telemetry2.trackCliSubcommandExport(subcommandOriginal);
57672
- return (await import("./chunks/export-32T5VGVA.js")).default(client, args);
57672
+ return (await import("./chunks/export-3NC3DPRR.js")).default(client, args);
57673
57673
  case "publish":
57674
57674
  if (needHelp) {
57675
57675
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57677,7 +57677,7 @@ async function main26(client) {
57677
57677
  return 2;
57678
57678
  }
57679
57679
  telemetry2.trackCliSubcommandPublish(subcommandOriginal);
57680
- return (await import("./chunks/publish-RP7M4QTZ.js")).default(client, args);
57680
+ return (await import("./chunks/publish-PDGTM3M7.js")).default(client, args);
57681
57681
  case "restore":
57682
57682
  if (needHelp) {
57683
57683
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57685,7 +57685,7 @@ async function main26(client) {
57685
57685
  return 2;
57686
57686
  }
57687
57687
  telemetry2.trackCliSubcommandRestore(subcommandOriginal);
57688
- return (await import("./chunks/restore-NC5F6U4W.js")).default(client, args);
57688
+ return (await import("./chunks/restore-2PYXS4NP.js")).default(client, args);
57689
57689
  case "discard-staging":
57690
57690
  if (needHelp) {
57691
57691
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -57693,7 +57693,7 @@ async function main26(client) {
57693
57693
  return 2;
57694
57694
  }
57695
57695
  telemetry2.trackCliSubcommandDiscardStaging(subcommandOriginal);
57696
- return (await import("./chunks/discard-YGXO5GP5.js")).default(client, args);
57696
+ return (await import("./chunks/discard-557SDKVO.js")).default(client, args);
57697
57697
  default:
57698
57698
  output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG40));
57699
57699
  output_manager_default.print(help(routesCommand, { columns: client.stderr.columns }));
@@ -62315,25 +62315,25 @@ async function vcr(client) {
62315
62315
  switch (subcommand) {
62316
62316
  case "ls":
62317
62317
  telemetry2.trackCliSubcommandLs(subcommandOriginal);
62318
- return (await import("./chunks/ls-6LX7JBT4.js")).default(client, args, telemetry2);
62318
+ return (await import("./chunks/ls-HZDBJLMG.js")).default(client, args, telemetry2);
62319
62319
  case "inspect":
62320
62320
  telemetry2.trackCliSubcommandInspect(subcommandOriginal);
62321
- return (await import("./chunks/inspect-EIQBBWPM.js")).default(client, args, telemetry2);
62321
+ return (await import("./chunks/inspect-FDF5WZMM.js")).default(client, args, telemetry2);
62322
62322
  case "add":
62323
62323
  telemetry2.trackCliSubcommandAdd(subcommandOriginal);
62324
- return (await import("./chunks/add-CAG6USJE.js")).default(client, args, telemetry2);
62324
+ return (await import("./chunks/add-YQRDKWJH.js")).default(client, args, telemetry2);
62325
62325
  case "rm":
62326
62326
  telemetry2.trackCliSubcommandRm(subcommandOriginal);
62327
- return (await import("./chunks/rm-NE33ZYNW.js")).default(client, args, telemetry2);
62327
+ return (await import("./chunks/rm-GZW2IDWX.js")).default(client, args, telemetry2);
62328
62328
  case "login":
62329
62329
  telemetry2.trackCliSubcommandLogin(subcommandOriginal);
62330
- return (await import("./chunks/login-JEAMS6RC.js")).default(client, args, telemetry2);
62330
+ return (await import("./chunks/login-LQRR64K7.js")).default(client, args, telemetry2);
62331
62331
  case "tag":
62332
62332
  telemetry2.trackCliSubcommandTag(subcommandOriginal);
62333
- return (await import("./chunks/tags-22H3MYVI.js")).default(client, args, telemetry2);
62333
+ return (await import("./chunks/tags-ULDC3YLP.js")).default(client, args, telemetry2);
62334
62334
  case "image":
62335
62335
  telemetry2.trackCliSubcommandImage(subcommandOriginal);
62336
- return (await import("./chunks/image-PXN76ZCH.js")).default(client, args, telemetry2);
62336
+ return (await import("./chunks/image-FGP5UVA5.js")).default(client, args, telemetry2);
62337
62337
  default:
62338
62338
  output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG46));
62339
62339
  output_manager_default.print(help(vcrCommand, { columns: client.stderr.columns }));