@wix/create-new 0.0.55 → 0.0.57

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.
package/build/index.js CHANGED
@@ -116,7 +116,7 @@ import {
116
116
  writeJson,
117
117
  writePackageJson,
118
118
  zod_default
119
- } from "./chunk-OJ4BF6SG.js";
119
+ } from "./chunk-HWZQO4GG.js";
120
120
  import {
121
121
  __commonJS,
122
122
  __dirname,
@@ -1259,7 +1259,7 @@ var require_command = __commonJS({
1259
1259
  var childProcess2 = __require("node:child_process");
1260
1260
  var path4 = __require("node:path");
1261
1261
  var fs6 = __require("node:fs");
1262
- var process23 = __require("node:process");
1262
+ var process27 = __require("node:process");
1263
1263
  var { Argument: Argument2, humanReadableArgName } = require_argument();
1264
1264
  var { CommanderError: CommanderError2 } = require_error();
1265
1265
  var { Help: Help2, stripColor } = require_help();
@@ -1306,13 +1306,13 @@ var require_command = __commonJS({
1306
1306
  this._showSuggestionAfterError = true;
1307
1307
  this._savedState = null;
1308
1308
  this._outputConfiguration = {
1309
- writeOut: (str) => process23.stdout.write(str),
1310
- writeErr: (str) => process23.stderr.write(str),
1309
+ writeOut: (str) => process27.stdout.write(str),
1310
+ writeErr: (str) => process27.stderr.write(str),
1311
1311
  outputError: (str, write) => write(str),
1312
- getOutHelpWidth: () => process23.stdout.isTTY ? process23.stdout.columns : void 0,
1313
- getErrHelpWidth: () => process23.stderr.isTTY ? process23.stderr.columns : void 0,
1314
- getOutHasColors: () => useColor() ?? (process23.stdout.isTTY && process23.stdout.hasColors?.()),
1315
- getErrHasColors: () => useColor() ?? (process23.stderr.isTTY && process23.stderr.hasColors?.()),
1312
+ getOutHelpWidth: () => process27.stdout.isTTY ? process27.stdout.columns : void 0,
1313
+ getErrHelpWidth: () => process27.stderr.isTTY ? process27.stderr.columns : void 0,
1314
+ getOutHasColors: () => useColor() ?? (process27.stdout.isTTY && process27.stdout.hasColors?.()),
1315
+ getErrHasColors: () => useColor() ?? (process27.stderr.isTTY && process27.stderr.hasColors?.()),
1316
1316
  stripColor: (str) => stripColor(str)
1317
1317
  };
1318
1318
  this._hidden = false;
@@ -1695,7 +1695,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
1695
1695
  if (this._exitCallback) {
1696
1696
  this._exitCallback(new CommanderError2(exitCode, code, message));
1697
1697
  }
1698
- process23.exit(exitCode);
1698
+ process27.exit(exitCode);
1699
1699
  }
1700
1700
  /**
1701
1701
  * Register callback `fn` for the command.
@@ -2093,16 +2093,16 @@ Expecting one of '${allowedValues.join("', '")}'`);
2093
2093
  }
2094
2094
  parseOptions = parseOptions || {};
2095
2095
  if (argv === void 0 && parseOptions.from === void 0) {
2096
- if (process23.versions?.electron) {
2096
+ if (process27.versions?.electron) {
2097
2097
  parseOptions.from = "electron";
2098
2098
  }
2099
- const execArgv = process23.execArgv ?? [];
2099
+ const execArgv = process27.execArgv ?? [];
2100
2100
  if (execArgv.includes("-e") || execArgv.includes("--eval") || execArgv.includes("-p") || execArgv.includes("--print")) {
2101
2101
  parseOptions.from = "eval";
2102
2102
  }
2103
2103
  }
2104
2104
  if (argv === void 0) {
2105
- argv = process23.argv;
2105
+ argv = process27.argv;
2106
2106
  }
2107
2107
  this.rawArgs = argv.slice();
2108
2108
  let userArgs;
@@ -2113,7 +2113,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
2113
2113
  userArgs = argv.slice(2);
2114
2114
  break;
2115
2115
  case "electron":
2116
- if (process23.defaultApp) {
2116
+ if (process27.defaultApp) {
2117
2117
  this._scriptPath = argv[1];
2118
2118
  userArgs = argv.slice(2);
2119
2119
  } else {
@@ -2300,11 +2300,11 @@ Expecting one of '${allowedValues.join("', '")}'`);
2300
2300
  }
2301
2301
  launchWithNode = sourceExt.includes(path4.extname(executableFile));
2302
2302
  let proc;
2303
- if (process23.platform !== "win32") {
2303
+ if (process27.platform !== "win32") {
2304
2304
  if (launchWithNode) {
2305
2305
  args.unshift(executableFile);
2306
- args = incrementNodeInspectorPort(process23.execArgv).concat(args);
2307
- proc = childProcess2.spawn(process23.argv[0], args, { stdio: "inherit" });
2306
+ args = incrementNodeInspectorPort(process27.execArgv).concat(args);
2307
+ proc = childProcess2.spawn(process27.argv[0], args, { stdio: "inherit" });
2308
2308
  } else {
2309
2309
  proc = childProcess2.spawn(executableFile, args, { stdio: "inherit" });
2310
2310
  }
@@ -2315,13 +2315,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
2315
2315
  subcommand._name
2316
2316
  );
2317
2317
  args.unshift(executableFile);
2318
- args = incrementNodeInspectorPort(process23.execArgv).concat(args);
2319
- proc = childProcess2.spawn(process23.execPath, args, { stdio: "inherit" });
2318
+ args = incrementNodeInspectorPort(process27.execArgv).concat(args);
2319
+ proc = childProcess2.spawn(process27.execPath, args, { stdio: "inherit" });
2320
2320
  }
2321
2321
  if (!proc.killed) {
2322
2322
  const signals = ["SIGUSR1", "SIGUSR2", "SIGTERM", "SIGINT", "SIGHUP"];
2323
2323
  signals.forEach((signal) => {
2324
- process23.on(signal, () => {
2324
+ process27.on(signal, () => {
2325
2325
  if (proc.killed === false && proc.exitCode === null) {
2326
2326
  proc.kill(signal);
2327
2327
  }
@@ -2332,7 +2332,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
2332
2332
  proc.on("close", (code) => {
2333
2333
  code = code ?? 1;
2334
2334
  if (!exitCallback) {
2335
- process23.exit(code);
2335
+ process27.exit(code);
2336
2336
  } else {
2337
2337
  exitCallback(
2338
2338
  new CommanderError2(
@@ -2354,7 +2354,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
2354
2354
  throw new Error(`'${executableFile}' not executable`);
2355
2355
  }
2356
2356
  if (!exitCallback) {
2357
- process23.exit(1);
2357
+ process27.exit(1);
2358
2358
  } else {
2359
2359
  const wrappedError = new CommanderError2(
2360
2360
  1,
@@ -2849,13 +2849,13 @@ Expecting one of '${allowedValues.join("', '")}'`);
2849
2849
  */
2850
2850
  _parseOptionsEnv() {
2851
2851
  this.options.forEach((option) => {
2852
- if (option.envVar && option.envVar in process23.env) {
2852
+ if (option.envVar && option.envVar in process27.env) {
2853
2853
  const optionKey = option.attributeName();
2854
2854
  if (this.getOptionValue(optionKey) === void 0 || ["default", "config", "env"].includes(
2855
2855
  this.getOptionValueSource(optionKey)
2856
2856
  )) {
2857
2857
  if (option.required || option.optional) {
2858
- this.emit(`optionEnv:${option.name()}`, process23.env[option.envVar]);
2858
+ this.emit(`optionEnv:${option.name()}`, process27.env[option.envVar]);
2859
2859
  } else {
2860
2860
  this.emit(`optionEnv:${option.name()}`);
2861
2861
  }
@@ -3310,7 +3310,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
3310
3310
  */
3311
3311
  help(contextOptions) {
3312
3312
  this.outputHelp(contextOptions);
3313
- let exitCode = Number(process23.exitCode ?? 0);
3313
+ let exitCode = Number(process27.exitCode ?? 0);
3314
3314
  if (exitCode === 0 && contextOptions && typeof contextOptions !== "function" && contextOptions.error) {
3315
3315
  exitCode = 1;
3316
3316
  }
@@ -3400,9 +3400,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
3400
3400
  });
3401
3401
  }
3402
3402
  function useColor() {
3403
- if (process23.env.NO_COLOR || process23.env.FORCE_COLOR === "0" || process23.env.FORCE_COLOR === "false")
3403
+ if (process27.env.NO_COLOR || process27.env.FORCE_COLOR === "0" || process27.env.FORCE_COLOR === "false")
3404
3404
  return false;
3405
- if (process23.env.FORCE_COLOR || process23.env.CLICOLOR_FORCE !== void 0)
3405
+ if (process27.env.FORCE_COLOR || process27.env.CLICOLOR_FORCE !== void 0)
3406
3406
  return true;
3407
3407
  return void 0;
3408
3408
  }
@@ -4066,7 +4066,7 @@ function __classPrivateFieldIn(state, receiver) {
4066
4066
  if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function") throw new TypeError("Cannot use 'in' operator on non-object");
4067
4067
  return typeof state === "function" ? receiver === state : state.has(receiver);
4068
4068
  }
4069
- function __addDisposableResource(env2, value2, async) {
4069
+ function __addDisposableResource(env3, value2, async) {
4070
4070
  if (value2 !== null && value2 !== void 0) {
4071
4071
  if (typeof value2 !== "object" && typeof value2 !== "function") throw new TypeError("Object expected.");
4072
4072
  var dispose, inner;
@@ -4087,22 +4087,22 @@ function __addDisposableResource(env2, value2, async) {
4087
4087
  return Promise.reject(e2);
4088
4088
  }
4089
4089
  };
4090
- env2.stack.push({ value: value2, dispose, async });
4090
+ env3.stack.push({ value: value2, dispose, async });
4091
4091
  } else if (async) {
4092
- env2.stack.push({ async: true });
4092
+ env3.stack.push({ async: true });
4093
4093
  }
4094
4094
  return value2;
4095
4095
  }
4096
- function __disposeResources(env2) {
4096
+ function __disposeResources(env3) {
4097
4097
  function fail(e2) {
4098
- env2.error = env2.hasError ? new _SuppressedError(e2, env2.error, "An error was suppressed during disposal.") : e2;
4099
- env2.hasError = true;
4098
+ env3.error = env3.hasError ? new _SuppressedError(e2, env3.error, "An error was suppressed during disposal.") : e2;
4099
+ env3.hasError = true;
4100
4100
  }
4101
4101
  var r2, s2 = 0;
4102
4102
  function next() {
4103
- while (r2 = env2.stack.pop()) {
4103
+ while (r2 = env3.stack.pop()) {
4104
4104
  try {
4105
- if (!r2.async && s2 === 1) return s2 = 0, env2.stack.push(r2), Promise.resolve().then(next);
4105
+ if (!r2.async && s2 === 1) return s2 = 0, env3.stack.push(r2), Promise.resolve().then(next);
4106
4106
  if (r2.dispose) {
4107
4107
  var result = r2.dispose.call(r2.value);
4108
4108
  if (r2.async) return s2 |= 2, Promise.resolve(result).then(next, function(e2) {
@@ -4114,8 +4114,8 @@ function __disposeResources(env2) {
4114
4114
  fail(e2);
4115
4115
  }
4116
4116
  }
4117
- if (s2 === 1) return env2.hasError ? Promise.reject(env2.error) : Promise.resolve();
4118
- if (env2.hasError) throw env2.error;
4117
+ if (s2 === 1) return env3.hasError ? Promise.reject(env3.error) : Promise.resolve();
4118
+ if (env3.hasError) throw env3.error;
4119
4119
  }
4120
4120
  return next();
4121
4121
  }
@@ -4663,20 +4663,20 @@ var require_env_util = __commonJS({
4663
4663
  init_esm_shims();
4664
4664
  Object.defineProperty(exports, "__esModule", { value: true });
4665
4665
  exports.isNode = exports.isWebWorker = exports.isBrowser = void 0;
4666
- function isBrowser2() {
4666
+ function isBrowser3() {
4667
4667
  return typeof window !== "undefined";
4668
4668
  }
4669
- exports.isBrowser = isBrowser2;
4670
- function isWebWorker() {
4669
+ exports.isBrowser = isBrowser3;
4670
+ function isWebWorker2() {
4671
4671
  var _a3;
4672
4672
  return typeof self === "object" && ((_a3 = self === null || self === void 0 ? void 0 : self.constructor) === null || _a3 === void 0 ? void 0 : _a3.name) === "DedicatedWorkerGlobalScope";
4673
4673
  }
4674
- exports.isWebWorker = isWebWorker;
4675
- function isNode2() {
4674
+ exports.isWebWorker = isWebWorker2;
4675
+ function isNode3() {
4676
4676
  var _a3;
4677
4677
  return typeof process !== "undefined" && ((_a3 = process === null || process === void 0 ? void 0 : process.versions) === null || _a3 === void 0 ? void 0 : _a3.node) != null;
4678
4678
  }
4679
- exports.isNode = isNode2;
4679
+ exports.isNode = isNode3;
4680
4680
  }
4681
4681
  });
4682
4682
 
@@ -5353,7 +5353,7 @@ var require_common = __commonJS({
5353
5353
  "../../node_modules/debug/src/common.js"(exports, module2) {
5354
5354
  "use strict";
5355
5355
  init_esm_shims();
5356
- function setup(env2) {
5356
+ function setup(env3) {
5357
5357
  createDebug.debug = createDebug;
5358
5358
  createDebug.default = createDebug;
5359
5359
  createDebug.coerce = coerce;
@@ -5362,8 +5362,8 @@ var require_common = __commonJS({
5362
5362
  createDebug.enabled = enabled;
5363
5363
  createDebug.humanize = require_ms();
5364
5364
  createDebug.destroy = destroy;
5365
- Object.keys(env2).forEach((key) => {
5366
- createDebug[key] = env2[key];
5365
+ Object.keys(env3).forEach((key) => {
5366
+ createDebug[key] = env3[key];
5367
5367
  });
5368
5368
  createDebug.names = [];
5369
5369
  createDebug.skips = [];
@@ -5718,26 +5718,26 @@ var require_supports_color = __commonJS({
5718
5718
  "../../node_modules/supports-color/index.js"(exports, module2) {
5719
5719
  "use strict";
5720
5720
  init_esm_shims();
5721
- var os6 = __require("os");
5722
- var tty2 = __require("tty");
5723
- var hasFlag2 = require_has_flag();
5724
- var { env: env2 } = process;
5721
+ var os7 = __require("os");
5722
+ var tty3 = __require("tty");
5723
+ var hasFlag4 = require_has_flag();
5724
+ var { env: env3 } = process;
5725
5725
  var forceColor;
5726
- if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
5726
+ if (hasFlag4("no-color") || hasFlag4("no-colors") || hasFlag4("color=false") || hasFlag4("color=never")) {
5727
5727
  forceColor = 0;
5728
- } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
5728
+ } else if (hasFlag4("color") || hasFlag4("colors") || hasFlag4("color=true") || hasFlag4("color=always")) {
5729
5729
  forceColor = 1;
5730
5730
  }
5731
- if ("FORCE_COLOR" in env2) {
5732
- if (env2.FORCE_COLOR === "true") {
5731
+ if ("FORCE_COLOR" in env3) {
5732
+ if (env3.FORCE_COLOR === "true") {
5733
5733
  forceColor = 1;
5734
- } else if (env2.FORCE_COLOR === "false") {
5734
+ } else if (env3.FORCE_COLOR === "false") {
5735
5735
  forceColor = 0;
5736
5736
  } else {
5737
- forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
5737
+ forceColor = env3.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env3.FORCE_COLOR, 10), 3);
5738
5738
  }
5739
5739
  }
5740
- function translateLevel2(level) {
5740
+ function translateLevel3(level) {
5741
5741
  if (level === 0) {
5742
5742
  return false;
5743
5743
  }
@@ -5748,70 +5748,70 @@ var require_supports_color = __commonJS({
5748
5748
  has16m: level >= 3
5749
5749
  };
5750
5750
  }
5751
- function supportsColor2(haveStream, streamIsTTY) {
5751
+ function supportsColor3(haveStream, streamIsTTY) {
5752
5752
  if (forceColor === 0) {
5753
5753
  return 0;
5754
5754
  }
5755
- if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
5755
+ if (hasFlag4("color=16m") || hasFlag4("color=full") || hasFlag4("color=truecolor")) {
5756
5756
  return 3;
5757
5757
  }
5758
- if (hasFlag2("color=256")) {
5758
+ if (hasFlag4("color=256")) {
5759
5759
  return 2;
5760
5760
  }
5761
5761
  if (haveStream && !streamIsTTY && forceColor === void 0) {
5762
5762
  return 0;
5763
5763
  }
5764
5764
  const min = forceColor || 0;
5765
- if (env2.TERM === "dumb") {
5765
+ if (env3.TERM === "dumb") {
5766
5766
  return min;
5767
5767
  }
5768
5768
  if (process.platform === "win32") {
5769
- const osRelease = os6.release().split(".");
5769
+ const osRelease = os7.release().split(".");
5770
5770
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
5771
5771
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
5772
5772
  }
5773
5773
  return 1;
5774
5774
  }
5775
- if ("CI" in env2) {
5776
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
5775
+ if ("CI" in env3) {
5776
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env3) || env3.CI_NAME === "codeship") {
5777
5777
  return 1;
5778
5778
  }
5779
5779
  return min;
5780
5780
  }
5781
- if ("TEAMCITY_VERSION" in env2) {
5782
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
5781
+ if ("TEAMCITY_VERSION" in env3) {
5782
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
5783
5783
  }
5784
- if (env2.COLORTERM === "truecolor") {
5784
+ if (env3.COLORTERM === "truecolor") {
5785
5785
  return 3;
5786
5786
  }
5787
- if ("TERM_PROGRAM" in env2) {
5788
- const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
5789
- switch (env2.TERM_PROGRAM) {
5787
+ if ("TERM_PROGRAM" in env3) {
5788
+ const version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
5789
+ switch (env3.TERM_PROGRAM) {
5790
5790
  case "iTerm.app":
5791
5791
  return version >= 3 ? 3 : 2;
5792
5792
  case "Apple_Terminal":
5793
5793
  return 2;
5794
5794
  }
5795
5795
  }
5796
- if (/-256(color)?$/i.test(env2.TERM)) {
5796
+ if (/-256(color)?$/i.test(env3.TERM)) {
5797
5797
  return 2;
5798
5798
  }
5799
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
5799
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM)) {
5800
5800
  return 1;
5801
5801
  }
5802
- if ("COLORTERM" in env2) {
5802
+ if ("COLORTERM" in env3) {
5803
5803
  return 1;
5804
5804
  }
5805
5805
  return min;
5806
5806
  }
5807
5807
  function getSupportLevel(stream) {
5808
- const level = supportsColor2(stream, stream && stream.isTTY);
5809
- return translateLevel2(level);
5808
+ const level = supportsColor3(stream, stream && stream.isTTY);
5809
+ return translateLevel3(level);
5810
5810
  }
5811
5811
  module2.exports = {
5812
5812
  supportsColor: getSupportLevel,
5813
- stdout: translateLevel2(supportsColor2(true, tty2.isatty(1))),
5814
- stderr: translateLevel2(supportsColor2(true, tty2.isatty(2)))
5813
+ stdout: translateLevel3(supportsColor3(true, tty3.isatty(1))),
5814
+ stderr: translateLevel3(supportsColor3(true, tty3.isatty(2)))
5815
5815
  };
5816
5816
  }
5817
5817
  });
@@ -5821,7 +5821,7 @@ var require_node = __commonJS({
5821
5821
  "../../node_modules/debug/src/node.js"(exports, module2) {
5822
5822
  "use strict";
5823
5823
  init_esm_shims();
5824
- var tty2 = __require("tty");
5824
+ var tty3 = __require("tty");
5825
5825
  var util2 = __require("util");
5826
5826
  exports.init = init3;
5827
5827
  exports.log = log2;
@@ -5836,8 +5836,8 @@ var require_node = __commonJS({
5836
5836
  );
5837
5837
  exports.colors = [6, 2, 3, 4, 5, 1];
5838
5838
  try {
5839
- const supportsColor2 = require_supports_color();
5840
- if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
5839
+ const supportsColor3 = require_supports_color();
5840
+ if (supportsColor3 && (supportsColor3.stderr || supportsColor3).level >= 2) {
5841
5841
  exports.colors = [
5842
5842
  20,
5843
5843
  21,
@@ -5939,7 +5939,7 @@ var require_node = __commonJS({
5939
5939
  return obj;
5940
5940
  }, {});
5941
5941
  function useColors() {
5942
- return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
5942
+ return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty3.isatty(process.stderr.fd);
5943
5943
  }
5944
5944
  function formatArgs(args) {
5945
5945
  const { namespace: name, useColors: useColors2 } = this;
@@ -9145,7 +9145,7 @@ var require_ci_info = __commonJS({
9145
9145
  "use strict";
9146
9146
  init_esm_shims();
9147
9147
  var vendors = require_vendors();
9148
- var env2 = process.env;
9148
+ var env3 = process.env;
9149
9149
  Object.defineProperty(exports, "_vendors", {
9150
9150
  value: vendors.map(function(v) {
9151
9151
  return v.constant;
@@ -9165,14 +9165,14 @@ var require_ci_info = __commonJS({
9165
9165
  exports.name = vendor.name;
9166
9166
  switch (typeof vendor.pr) {
9167
9167
  case "string":
9168
- exports.isPR = !!env2[vendor.pr];
9168
+ exports.isPR = !!env3[vendor.pr];
9169
9169
  break;
9170
9170
  case "object":
9171
9171
  if ("env" in vendor.pr) {
9172
- exports.isPR = vendor.pr.env in env2 && env2[vendor.pr.env] !== vendor.pr.ne;
9172
+ exports.isPR = vendor.pr.env in env3 && env3[vendor.pr.env] !== vendor.pr.ne;
9173
9173
  } else if ("any" in vendor.pr) {
9174
9174
  exports.isPR = vendor.pr.any.some(function(key) {
9175
- return !!env2[key];
9175
+ return !!env3[key];
9176
9176
  });
9177
9177
  } else {
9178
9178
  exports.isPR = checkEnv(vendor.pr);
@@ -9182,29 +9182,29 @@ var require_ci_info = __commonJS({
9182
9182
  exports.isPR = null;
9183
9183
  }
9184
9184
  });
9185
- exports.isCI = !!(env2.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
9186
- (env2.BUILD_ID || // Jenkins, Cloudbees
9187
- env2.BUILD_NUMBER || // Jenkins, TeamCity
9188
- env2.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
9189
- env2.CI_APP_ID || // Appflow
9190
- env2.CI_BUILD_ID || // Appflow
9191
- env2.CI_BUILD_NUMBER || // Appflow
9192
- env2.CI_NAME || // Codeship and others
9193
- env2.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
9194
- env2.RUN_ID || // TaskCluster, dsari
9185
+ exports.isCI = !!(env3.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
9186
+ (env3.BUILD_ID || // Jenkins, Cloudbees
9187
+ env3.BUILD_NUMBER || // Jenkins, TeamCity
9188
+ env3.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
9189
+ env3.CI_APP_ID || // Appflow
9190
+ env3.CI_BUILD_ID || // Appflow
9191
+ env3.CI_BUILD_NUMBER || // Appflow
9192
+ env3.CI_NAME || // Codeship and others
9193
+ env3.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
9194
+ env3.RUN_ID || // TaskCluster, dsari
9195
9195
  exports.name || false));
9196
9196
  function checkEnv(obj) {
9197
- if (typeof obj === "string") return !!env2[obj];
9197
+ if (typeof obj === "string") return !!env3[obj];
9198
9198
  if ("env" in obj) {
9199
- return env2[obj.env] && env2[obj.env].includes(obj.includes);
9199
+ return env3[obj.env] && env3[obj.env].includes(obj.includes);
9200
9200
  }
9201
9201
  if ("any" in obj) {
9202
9202
  return obj.any.some(function(k) {
9203
- return !!env2[k];
9203
+ return !!env3[k];
9204
9204
  });
9205
9205
  }
9206
9206
  return Object.keys(obj).every(function(k) {
9207
- return env2[k] === obj[k];
9207
+ return env3[k] === obj[k];
9208
9208
  });
9209
9209
  }
9210
9210
  }
@@ -9263,11 +9263,11 @@ var require_signal_exit = __commonJS({
9263
9263
  "../../node_modules/ink/node_modules/signal-exit/index.js"(exports, module2) {
9264
9264
  "use strict";
9265
9265
  init_esm_shims();
9266
- var process23 = global.process;
9267
- var processOk = function(process24) {
9268
- return process24 && typeof process24 === "object" && typeof process24.removeListener === "function" && typeof process24.emit === "function" && typeof process24.reallyExit === "function" && typeof process24.listeners === "function" && typeof process24.kill === "function" && typeof process24.pid === "number" && typeof process24.on === "function";
9266
+ var process27 = global.process;
9267
+ var processOk = function(process28) {
9268
+ return process28 && typeof process28 === "object" && typeof process28.removeListener === "function" && typeof process28.emit === "function" && typeof process28.reallyExit === "function" && typeof process28.listeners === "function" && typeof process28.kill === "function" && typeof process28.pid === "number" && typeof process28.on === "function";
9269
9269
  };
9270
- if (!processOk(process23)) {
9270
+ if (!processOk(process27)) {
9271
9271
  module2.exports = function() {
9272
9272
  return function() {
9273
9273
  };
@@ -9275,15 +9275,15 @@ var require_signal_exit = __commonJS({
9275
9275
  } else {
9276
9276
  assert = __require("assert");
9277
9277
  signals = require_signals();
9278
- isWin = /^win/i.test(process23.platform);
9278
+ isWin = /^win/i.test(process27.platform);
9279
9279
  EE = __require("events");
9280
9280
  if (typeof EE !== "function") {
9281
9281
  EE = EE.EventEmitter;
9282
9282
  }
9283
- if (process23.__signal_exit_emitter__) {
9284
- emitter = process23.__signal_exit_emitter__;
9283
+ if (process27.__signal_exit_emitter__) {
9284
+ emitter = process27.__signal_exit_emitter__;
9285
9285
  } else {
9286
- emitter = process23.__signal_exit_emitter__ = new EE();
9286
+ emitter = process27.__signal_exit_emitter__ = new EE();
9287
9287
  emitter.count = 0;
9288
9288
  emitter.emitted = {};
9289
9289
  }
@@ -9320,12 +9320,12 @@ var require_signal_exit = __commonJS({
9320
9320
  loaded = false;
9321
9321
  signals.forEach(function(sig) {
9322
9322
  try {
9323
- process23.removeListener(sig, sigListeners[sig]);
9323
+ process27.removeListener(sig, sigListeners[sig]);
9324
9324
  } catch (er) {
9325
9325
  }
9326
9326
  });
9327
- process23.emit = originalProcessEmit;
9328
- process23.reallyExit = originalProcessReallyExit;
9327
+ process27.emit = originalProcessEmit;
9328
+ process27.reallyExit = originalProcessReallyExit;
9329
9329
  emitter.count -= 1;
9330
9330
  };
9331
9331
  module2.exports.unload = unload;
@@ -9342,7 +9342,7 @@ var require_signal_exit = __commonJS({
9342
9342
  if (!processOk(global.process)) {
9343
9343
  return;
9344
9344
  }
9345
- var listeners = process23.listeners(sig);
9345
+ var listeners = process27.listeners(sig);
9346
9346
  if (listeners.length === emitter.count) {
9347
9347
  unload();
9348
9348
  emit("exit", null, sig);
@@ -9350,7 +9350,7 @@ var require_signal_exit = __commonJS({
9350
9350
  if (isWin && sig === "SIGHUP") {
9351
9351
  sig = "SIGINT";
9352
9352
  }
9353
- process23.kill(process23.pid, sig);
9353
+ process27.kill(process27.pid, sig);
9354
9354
  }
9355
9355
  };
9356
9356
  });
@@ -9366,36 +9366,36 @@ var require_signal_exit = __commonJS({
9366
9366
  emitter.count += 1;
9367
9367
  signals = signals.filter(function(sig) {
9368
9368
  try {
9369
- process23.on(sig, sigListeners[sig]);
9369
+ process27.on(sig, sigListeners[sig]);
9370
9370
  return true;
9371
9371
  } catch (er) {
9372
9372
  return false;
9373
9373
  }
9374
9374
  });
9375
- process23.emit = processEmit;
9376
- process23.reallyExit = processReallyExit;
9375
+ process27.emit = processEmit;
9376
+ process27.reallyExit = processReallyExit;
9377
9377
  };
9378
9378
  module2.exports.load = load;
9379
- originalProcessReallyExit = process23.reallyExit;
9379
+ originalProcessReallyExit = process27.reallyExit;
9380
9380
  processReallyExit = function processReallyExit2(code) {
9381
9381
  if (!processOk(global.process)) {
9382
9382
  return;
9383
9383
  }
9384
- process23.exitCode = code || /* istanbul ignore next */
9384
+ process27.exitCode = code || /* istanbul ignore next */
9385
9385
  0;
9386
- emit("exit", process23.exitCode, null);
9387
- emit("afterexit", process23.exitCode, null);
9388
- originalProcessReallyExit.call(process23, process23.exitCode);
9386
+ emit("exit", process27.exitCode, null);
9387
+ emit("afterexit", process27.exitCode, null);
9388
+ originalProcessReallyExit.call(process27, process27.exitCode);
9389
9389
  };
9390
- originalProcessEmit = process23.emit;
9390
+ originalProcessEmit = process27.emit;
9391
9391
  processEmit = function processEmit2(ev, arg) {
9392
9392
  if (ev === "exit" && processOk(global.process)) {
9393
9393
  if (arg !== void 0) {
9394
- process23.exitCode = arg;
9394
+ process27.exitCode = arg;
9395
9395
  }
9396
9396
  var ret = originalProcessEmit.apply(this, arguments);
9397
- emit("exit", process23.exitCode, null);
9398
- emit("afterexit", process23.exitCode, null);
9397
+ emit("exit", process27.exitCode, null);
9398
+ emit("afterexit", process27.exitCode, null);
9399
9399
  return ret;
9400
9400
  } else {
9401
9401
  return originalProcessEmit.apply(this, arguments);
@@ -17376,89 +17376,6 @@ var require_cli_spinners = __commonJS({
17376
17376
  }
17377
17377
  });
17378
17378
 
17379
- // ../../node_modules/supports-hyperlinks/index.js
17380
- var require_supports_hyperlinks = __commonJS({
17381
- "../../node_modules/supports-hyperlinks/index.js"(exports, module2) {
17382
- "use strict";
17383
- init_esm_shims();
17384
- var supportsColor2 = require_supports_color();
17385
- var hasFlag2 = require_has_flag();
17386
- function parseVersion(versionString) {
17387
- if (/^\d{3,4}$/.test(versionString)) {
17388
- const m = /(\d{1,2})(\d{2})/.exec(versionString);
17389
- return {
17390
- major: 0,
17391
- minor: parseInt(m[1], 10),
17392
- patch: parseInt(m[2], 10)
17393
- };
17394
- }
17395
- const versions = (versionString || "").split(".").map((n3) => parseInt(n3, 10));
17396
- return {
17397
- major: versions[0],
17398
- minor: versions[1],
17399
- patch: versions[2]
17400
- };
17401
- }
17402
- function supportsHyperlink(stream) {
17403
- const { env: env2 } = process;
17404
- if ("FORCE_HYPERLINK" in env2) {
17405
- return !(env2.FORCE_HYPERLINK.length > 0 && parseInt(env2.FORCE_HYPERLINK, 10) === 0);
17406
- }
17407
- if (hasFlag2("no-hyperlink") || hasFlag2("no-hyperlinks") || hasFlag2("hyperlink=false") || hasFlag2("hyperlink=never")) {
17408
- return false;
17409
- }
17410
- if (hasFlag2("hyperlink=true") || hasFlag2("hyperlink=always")) {
17411
- return true;
17412
- }
17413
- if ("NETLIFY" in env2) {
17414
- return true;
17415
- }
17416
- if (!supportsColor2.supportsColor(stream)) {
17417
- return false;
17418
- }
17419
- if (stream && !stream.isTTY) {
17420
- return false;
17421
- }
17422
- if (process.platform === "win32") {
17423
- return false;
17424
- }
17425
- if ("CI" in env2) {
17426
- return false;
17427
- }
17428
- if ("TEAMCITY_VERSION" in env2) {
17429
- return false;
17430
- }
17431
- if ("TERM_PROGRAM" in env2) {
17432
- const version = parseVersion(env2.TERM_PROGRAM_VERSION);
17433
- switch (env2.TERM_PROGRAM) {
17434
- case "iTerm.app":
17435
- if (version.major === 3) {
17436
- return version.minor >= 1;
17437
- }
17438
- return version.major > 3;
17439
- case "WezTerm":
17440
- return version.major >= 20200620;
17441
- case "vscode":
17442
- return version.major > 1 || version.major === 1 && version.minor >= 72;
17443
- }
17444
- }
17445
- if ("VTE_VERSION" in env2) {
17446
- if (env2.VTE_VERSION === "0.50.0") {
17447
- return false;
17448
- }
17449
- const version = parseVersion(env2.VTE_VERSION);
17450
- return version.major > 0 || version.minor >= 50;
17451
- }
17452
- return false;
17453
- }
17454
- module2.exports = {
17455
- supportsHyperlink,
17456
- stdout: supportsHyperlink(process.stdout),
17457
- stderr: supportsHyperlink(process.stderr)
17458
- };
17459
- }
17460
- });
17461
-
17462
17379
  // ../../node_modules/void-elements/index.js
17463
17380
  var require_void_elements = __commonJS({
17464
17381
  "../../node_modules/void-elements/index.js"(exports, module2) {
@@ -17848,7 +17765,7 @@ var require_ci_info2 = __commonJS({
17848
17765
  "use strict";
17849
17766
  init_esm_shims();
17850
17767
  var vendors = require_vendors2();
17851
- var env2 = process.env;
17768
+ var env3 = process.env;
17852
17769
  Object.defineProperty(exports, "_vendors", {
17853
17770
  value: vendors.map(function(v) {
17854
17771
  return v.constant;
@@ -17870,47 +17787,47 @@ var require_ci_info2 = __commonJS({
17870
17787
  exports.isPR = checkPR(vendor);
17871
17788
  exports.id = vendor.constant;
17872
17789
  });
17873
- exports.isCI = !!(env2.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
17874
- (env2.BUILD_ID || // Jenkins, Cloudbees
17875
- env2.BUILD_NUMBER || // Jenkins, TeamCity
17876
- env2.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari, Cloudflare Pages
17877
- env2.CI_APP_ID || // Appflow
17878
- env2.CI_BUILD_ID || // Appflow
17879
- env2.CI_BUILD_NUMBER || // Appflow
17880
- env2.CI_NAME || // Codeship and others
17881
- env2.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
17882
- env2.RUN_ID || // TaskCluster, dsari
17790
+ exports.isCI = !!(env3.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
17791
+ (env3.BUILD_ID || // Jenkins, Cloudbees
17792
+ env3.BUILD_NUMBER || // Jenkins, TeamCity
17793
+ env3.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari, Cloudflare Pages
17794
+ env3.CI_APP_ID || // Appflow
17795
+ env3.CI_BUILD_ID || // Appflow
17796
+ env3.CI_BUILD_NUMBER || // Appflow
17797
+ env3.CI_NAME || // Codeship and others
17798
+ env3.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
17799
+ env3.RUN_ID || // TaskCluster, dsari
17883
17800
  exports.name || false));
17884
17801
  function checkEnv(obj) {
17885
- if (typeof obj === "string") return !!env2[obj];
17802
+ if (typeof obj === "string") return !!env3[obj];
17886
17803
  if ("env" in obj) {
17887
- return env2[obj.env] && env2[obj.env].includes(obj.includes);
17804
+ return env3[obj.env] && env3[obj.env].includes(obj.includes);
17888
17805
  }
17889
17806
  if ("any" in obj) {
17890
17807
  return obj.any.some(function(k) {
17891
- return !!env2[k];
17808
+ return !!env3[k];
17892
17809
  });
17893
17810
  }
17894
17811
  return Object.keys(obj).every(function(k) {
17895
- return env2[k] === obj[k];
17812
+ return env3[k] === obj[k];
17896
17813
  });
17897
17814
  }
17898
17815
  function checkPR(vendor) {
17899
17816
  switch (typeof vendor.pr) {
17900
17817
  case "string":
17901
- return !!env2[vendor.pr];
17818
+ return !!env3[vendor.pr];
17902
17819
  case "object":
17903
17820
  if ("env" in vendor.pr) {
17904
17821
  if ("any" in vendor.pr) {
17905
17822
  return vendor.pr.any.some(function(key) {
17906
- return env2[vendor.pr.env] === key;
17823
+ return env3[vendor.pr.env] === key;
17907
17824
  });
17908
17825
  } else {
17909
- return vendor.pr.env in env2 && env2[vendor.pr.env] !== vendor.pr.ne;
17826
+ return vendor.pr.env in env3 && env3[vendor.pr.env] !== vendor.pr.ne;
17910
17827
  }
17911
17828
  } else if ("any" in vendor.pr) {
17912
17829
  return vendor.pr.any.some(function(key) {
17913
- return !!env2[key];
17830
+ return !!env3[key];
17914
17831
  });
17915
17832
  } else {
17916
17833
  return checkEnv(vendor.pr);
@@ -18377,8 +18294,8 @@ function setLogLevelFromEnv(key, environment, values) {
18377
18294
  }
18378
18295
  function parseEnvironment(values) {
18379
18296
  var environment = {};
18380
- for (var env2 in DEFAULT_ENVIRONMENT) {
18381
- var key = env2;
18297
+ for (var env3 in DEFAULT_ENVIRONMENT) {
18298
+ var key = env3;
18382
18299
  switch (key) {
18383
18300
  case "OTEL_LOG_LEVEL":
18384
18301
  setLogLevelFromEnv(key, environment, values);
@@ -22552,8 +22469,8 @@ var require_homedir = __commonJS({
22552
22469
  "../../node_modules/resolve/lib/homedir.js"(exports, module2) {
22553
22470
  "use strict";
22554
22471
  init_esm_shims();
22555
- var os6 = __require("os");
22556
- module2.exports = os6.homedir || function homedir2() {
22472
+ var os7 = __require("os");
22473
+ module2.exports = os7.homedir || function homedir2() {
22557
22474
  var home = process.env.HOME;
22558
22475
  var user = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME;
22559
22476
  if (process.platform === "win32") {
@@ -22592,7 +22509,7 @@ var require_path_parse = __commonJS({
22592
22509
  "../../node_modules/path-parse/index.js"(exports, module2) {
22593
22510
  "use strict";
22594
22511
  init_esm_shims();
22595
- var isWindows2 = process.platform === "win32";
22512
+ var isWindows4 = process.platform === "win32";
22596
22513
  var splitWindowsRe = /^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;
22597
22514
  var win32 = {};
22598
22515
  function win32SplitPath(filename) {
@@ -22639,7 +22556,7 @@ var require_path_parse = __commonJS({
22639
22556
  name: allParts[3]
22640
22557
  };
22641
22558
  };
22642
- if (isWindows2)
22559
+ if (isWindows4)
22643
22560
  module2.exports = win32.parse;
22644
22561
  else
22645
22562
  module2.exports = posix2.parse;
@@ -56343,12 +56260,12 @@ init_esm_shims();
56343
56260
  init_esm_shims();
56344
56261
  import process13 from "node:process";
56345
56262
  function isUnicodeSupported() {
56346
- const { env: env2 } = process13;
56347
- const { TERM, TERM_PROGRAM } = env2;
56263
+ const { env: env3 } = process13;
56264
+ const { TERM, TERM_PROGRAM } = env3;
56348
56265
  if (process13.platform !== "win32") {
56349
56266
  return TERM !== "linux";
56350
56267
  }
56351
- return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
56268
+ return Boolean(env3.WT_SESSION) || Boolean(env3.TERMINUS_SUBLIME) || env3.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env3.TERMINAL_EMULATOR === "JetBrains-JediTerm";
56352
56269
  }
56353
56270
 
56354
56271
  // ../cli-ui-kit/src/components/UnorderedList/DefaultMarker.ts
@@ -57869,24 +57786,86 @@ var import_react61 = __toESM(require_react(), 1);
57869
57786
  // ../../node_modules/terminal-link/index.js
57870
57787
  init_esm_shims();
57871
57788
 
57872
- // ../../node_modules/terminal-link/node_modules/ansi-escapes/index.js
57789
+ // ../../node_modules/ansi-escapes/index.js
57790
+ init_esm_shims();
57791
+
57792
+ // ../../node_modules/ansi-escapes/base.js
57793
+ var base_exports = {};
57794
+ __export(base_exports, {
57795
+ beep: () => beep,
57796
+ clearScreen: () => clearScreen,
57797
+ clearTerminal: () => clearTerminal,
57798
+ cursorBackward: () => cursorBackward,
57799
+ cursorDown: () => cursorDown,
57800
+ cursorForward: () => cursorForward,
57801
+ cursorGetPosition: () => cursorGetPosition,
57802
+ cursorHide: () => cursorHide,
57803
+ cursorLeft: () => cursorLeft,
57804
+ cursorMove: () => cursorMove,
57805
+ cursorNextLine: () => cursorNextLine,
57806
+ cursorPrevLine: () => cursorPrevLine,
57807
+ cursorRestorePosition: () => cursorRestorePosition,
57808
+ cursorSavePosition: () => cursorSavePosition,
57809
+ cursorShow: () => cursorShow,
57810
+ cursorTo: () => cursorTo,
57811
+ cursorUp: () => cursorUp,
57812
+ enterAlternativeScreen: () => enterAlternativeScreen,
57813
+ eraseDown: () => eraseDown,
57814
+ eraseEndLine: () => eraseEndLine,
57815
+ eraseLine: () => eraseLine,
57816
+ eraseLines: () => eraseLines,
57817
+ eraseScreen: () => eraseScreen,
57818
+ eraseStartLine: () => eraseStartLine,
57819
+ eraseUp: () => eraseUp,
57820
+ exitAlternativeScreen: () => exitAlternativeScreen,
57821
+ iTerm: () => iTerm,
57822
+ image: () => image,
57823
+ link: () => link,
57824
+ scrollDown: () => scrollDown,
57825
+ scrollUp: () => scrollUp
57826
+ });
57873
57827
  init_esm_shims();
57828
+ import process16 from "node:process";
57829
+
57830
+ // ../../node_modules/environment/index.js
57831
+ init_esm_shims();
57832
+ var isBrowser2 = globalThis.window?.document !== void 0;
57833
+ var isNode2 = globalThis.process?.versions?.node !== void 0;
57834
+ var isBun = globalThis.process?.versions?.bun !== void 0;
57835
+ var isDeno = globalThis.Deno?.version?.deno !== void 0;
57836
+ var isElectron = globalThis.process?.versions?.electron !== void 0;
57837
+ var isJsDom = globalThis.navigator?.userAgent?.includes("jsdom") === true;
57838
+ var isWebWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
57839
+ var isDedicatedWorker = typeof DedicatedWorkerGlobalScope !== "undefined" && globalThis instanceof DedicatedWorkerGlobalScope;
57840
+ var isSharedWorker = typeof SharedWorkerGlobalScope !== "undefined" && globalThis instanceof SharedWorkerGlobalScope;
57841
+ var isServiceWorker = typeof ServiceWorkerGlobalScope !== "undefined" && globalThis instanceof ServiceWorkerGlobalScope;
57842
+ var platform2 = globalThis.navigator?.userAgentData?.platform;
57843
+ var isMacOs = platform2 === "macOS" || globalThis.navigator?.platform === "MacIntel" || globalThis.navigator?.userAgent?.includes(" Mac ") === true || globalThis.process?.platform === "darwin";
57844
+ var isWindows2 = platform2 === "Windows" || globalThis.navigator?.platform === "Win32" || globalThis.process?.platform === "win32";
57845
+ var isLinux = platform2 === "Linux" || globalThis.navigator?.platform?.startsWith("Linux") === true || globalThis.navigator?.userAgent?.includes(" Linux ") === true || globalThis.process?.platform === "linux";
57846
+ var isIos = platform2 === "iOS" || globalThis.navigator?.platform === "MacIntel" && globalThis.navigator?.maxTouchPoints > 1 || /iPad|iPhone|iPod/.test(globalThis.navigator?.platform);
57847
+ var isAndroid = platform2 === "Android" || globalThis.navigator?.platform === "Android" || globalThis.navigator?.userAgent?.includes(" Android ") === true || globalThis.process?.platform === "android";
57848
+
57849
+ // ../../node_modules/ansi-escapes/base.js
57874
57850
  var ESC2 = "\x1B[";
57875
57851
  var OSC2 = "\x1B]";
57876
57852
  var BEL2 = "\x07";
57877
57853
  var SEP2 = ";";
57878
- var isTerminalApp2 = process.env.TERM_PROGRAM === "Apple_Terminal";
57879
- var ansiEscapes2 = {};
57880
- ansiEscapes2.cursorTo = (x, y) => {
57854
+ var isTerminalApp2 = !isBrowser2 && process16.env.TERM_PROGRAM === "Apple_Terminal";
57855
+ var isWindows3 = !isBrowser2 && process16.platform === "win32";
57856
+ var cwdFunction2 = isBrowser2 ? () => {
57857
+ throw new Error("`process.cwd()` only works in Node.js, not the browser.");
57858
+ } : process16.cwd;
57859
+ var cursorTo = (x, y) => {
57881
57860
  if (typeof x !== "number") {
57882
57861
  throw new TypeError("The `x` argument is required");
57883
57862
  }
57884
57863
  if (typeof y !== "number") {
57885
57864
  return ESC2 + (x + 1) + "G";
57886
57865
  }
57887
- return ESC2 + (y + 1) + ";" + (x + 1) + "H";
57866
+ return ESC2 + (y + 1) + SEP2 + (x + 1) + "H";
57888
57867
  };
57889
- ansiEscapes2.cursorMove = (x, y) => {
57868
+ var cursorMove = (x, y) => {
57890
57869
  if (typeof x !== "number") {
57891
57870
  throw new TypeError("The `x` argument is required");
57892
57871
  }
@@ -57903,62 +57882,56 @@ ansiEscapes2.cursorMove = (x, y) => {
57903
57882
  }
57904
57883
  return returnValue;
57905
57884
  };
57906
- ansiEscapes2.cursorUp = (count = 1) => ESC2 + count + "A";
57907
- ansiEscapes2.cursorDown = (count = 1) => ESC2 + count + "B";
57908
- ansiEscapes2.cursorForward = (count = 1) => ESC2 + count + "C";
57909
- ansiEscapes2.cursorBackward = (count = 1) => ESC2 + count + "D";
57910
- ansiEscapes2.cursorLeft = ESC2 + "G";
57911
- ansiEscapes2.cursorSavePosition = isTerminalApp2 ? "\x1B7" : ESC2 + "s";
57912
- ansiEscapes2.cursorRestorePosition = isTerminalApp2 ? "\x1B8" : ESC2 + "u";
57913
- ansiEscapes2.cursorGetPosition = ESC2 + "6n";
57914
- ansiEscapes2.cursorNextLine = ESC2 + "E";
57915
- ansiEscapes2.cursorPrevLine = ESC2 + "F";
57916
- ansiEscapes2.cursorHide = ESC2 + "?25l";
57917
- ansiEscapes2.cursorShow = ESC2 + "?25h";
57918
- ansiEscapes2.eraseLines = (count) => {
57885
+ var cursorUp = (count = 1) => ESC2 + count + "A";
57886
+ var cursorDown = (count = 1) => ESC2 + count + "B";
57887
+ var cursorForward = (count = 1) => ESC2 + count + "C";
57888
+ var cursorBackward = (count = 1) => ESC2 + count + "D";
57889
+ var cursorLeft = ESC2 + "G";
57890
+ var cursorSavePosition = isTerminalApp2 ? "\x1B7" : ESC2 + "s";
57891
+ var cursorRestorePosition = isTerminalApp2 ? "\x1B8" : ESC2 + "u";
57892
+ var cursorGetPosition = ESC2 + "6n";
57893
+ var cursorNextLine = ESC2 + "E";
57894
+ var cursorPrevLine = ESC2 + "F";
57895
+ var cursorHide = ESC2 + "?25l";
57896
+ var cursorShow = ESC2 + "?25h";
57897
+ var eraseLines = (count) => {
57919
57898
  let clear = "";
57920
57899
  for (let i2 = 0; i2 < count; i2++) {
57921
- clear += ansiEscapes2.eraseLine + (i2 < count - 1 ? ansiEscapes2.cursorUp() : "");
57900
+ clear += eraseLine + (i2 < count - 1 ? cursorUp() : "");
57922
57901
  }
57923
57902
  if (count) {
57924
- clear += ansiEscapes2.cursorLeft;
57903
+ clear += cursorLeft;
57925
57904
  }
57926
57905
  return clear;
57927
57906
  };
57928
- ansiEscapes2.eraseEndLine = ESC2 + "K";
57929
- ansiEscapes2.eraseStartLine = ESC2 + "1K";
57930
- ansiEscapes2.eraseLine = ESC2 + "2K";
57931
- ansiEscapes2.eraseDown = ESC2 + "J";
57932
- ansiEscapes2.eraseUp = ESC2 + "1J";
57933
- ansiEscapes2.eraseScreen = ESC2 + "2J";
57934
- ansiEscapes2.scrollUp = ESC2 + "S";
57935
- ansiEscapes2.scrollDown = ESC2 + "T";
57936
- ansiEscapes2.clearScreen = "\x1Bc";
57937
- ansiEscapes2.clearTerminal = process.platform === "win32" ? `${ansiEscapes2.eraseScreen}${ESC2}0f` : (
57938
- // 1. Erases the screen (Only done in case `2` is not supported)
57939
- // 2. Erases the whole screen including scrollback buffer
57940
- // 3. Moves cursor to the top-left position
57941
- // More info: https://www.real-world-systems.com/docs/ANSIcode.html
57942
- `${ansiEscapes2.eraseScreen}${ESC2}3J${ESC2}H`
57943
- );
57944
- ansiEscapes2.beep = BEL2;
57945
- ansiEscapes2.link = (text, url) => {
57946
- return [
57947
- OSC2,
57948
- "8",
57949
- SEP2,
57950
- SEP2,
57951
- url,
57952
- BEL2,
57953
- text,
57954
- OSC2,
57955
- "8",
57956
- SEP2,
57957
- SEP2,
57958
- BEL2
57959
- ].join("");
57960
- };
57961
- ansiEscapes2.image = (buffer, options = {}) => {
57907
+ var eraseEndLine = ESC2 + "K";
57908
+ var eraseStartLine = ESC2 + "1K";
57909
+ var eraseLine = ESC2 + "2K";
57910
+ var eraseDown = ESC2 + "J";
57911
+ var eraseUp = ESC2 + "1J";
57912
+ var eraseScreen = ESC2 + "2J";
57913
+ var scrollUp = ESC2 + "S";
57914
+ var scrollDown = ESC2 + "T";
57915
+ var clearScreen = "\x1Bc";
57916
+ var clearTerminal = isWindows3 ? `${eraseScreen}${ESC2}0f` : `${eraseScreen}${ESC2}3J${ESC2}H`;
57917
+ var enterAlternativeScreen = ESC2 + "?1049h";
57918
+ var exitAlternativeScreen = ESC2 + "?1049l";
57919
+ var beep = BEL2;
57920
+ var link = (text, url) => [
57921
+ OSC2,
57922
+ "8",
57923
+ SEP2,
57924
+ SEP2,
57925
+ url,
57926
+ BEL2,
57927
+ text,
57928
+ OSC2,
57929
+ "8",
57930
+ SEP2,
57931
+ SEP2,
57932
+ BEL2
57933
+ ].join("");
57934
+ var image = (data, options = {}) => {
57962
57935
  let returnValue = `${OSC2}1337;File=inline=1`;
57963
57936
  if (options.width) {
57964
57937
  returnValue += `;width=${options.width}`;
@@ -57969,18 +57942,18 @@ ansiEscapes2.image = (buffer, options = {}) => {
57969
57942
  if (options.preserveAspectRatio === false) {
57970
57943
  returnValue += ";preserveAspectRatio=0";
57971
57944
  }
57972
- return returnValue + ":" + buffer.toString("base64") + BEL2;
57945
+ return returnValue + ":" + Buffer.from(data).toString("base64") + BEL2;
57973
57946
  };
57974
- ansiEscapes2.iTerm = {
57975
- setCwd: (cwd3 = process.cwd()) => `${OSC2}50;CurrentDir=${cwd3}${BEL2}`,
57976
- annotation: (message, options = {}) => {
57947
+ var iTerm = {
57948
+ setCwd: (cwd3 = cwdFunction2()) => `${OSC2}50;CurrentDir=${cwd3}${BEL2}`,
57949
+ annotation(message, options = {}) {
57977
57950
  let returnValue = `${OSC2}1337;`;
57978
- const hasX = typeof options.x !== "undefined";
57979
- const hasY = typeof options.y !== "undefined";
57980
- if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
57951
+ const hasX = options.x !== void 0;
57952
+ const hasY = options.y !== void 0;
57953
+ if ((hasX || hasY) && !(hasX && hasY && options.length !== void 0)) {
57981
57954
  throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
57982
57955
  }
57983
- message = message.replace(/\|/g, "");
57956
+ message = message.replaceAll("|", "");
57984
57957
  returnValue += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
57985
57958
  if (options.length > 0) {
57986
57959
  returnValue += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
@@ -57990,22 +57963,289 @@ ansiEscapes2.iTerm = {
57990
57963
  return returnValue + BEL2;
57991
57964
  }
57992
57965
  };
57993
- var ansi_escapes_default2 = ansiEscapes2;
57966
+
57967
+ // ../../node_modules/supports-hyperlinks/index.js
57968
+ init_esm_shims();
57969
+ import process19 from "node:process";
57970
+
57971
+ // ../../node_modules/supports-hyperlinks/node_modules/supports-color/index.js
57972
+ init_esm_shims();
57973
+ import process17 from "node:process";
57974
+ import os2 from "node:os";
57975
+ import tty2 from "node:tty";
57976
+ function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : process17.argv) {
57977
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
57978
+ const position = argv.indexOf(prefix + flag);
57979
+ const terminatorPosition = argv.indexOf("--");
57980
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
57981
+ }
57982
+ var { env: env2 } = process17;
57983
+ var flagForceColor2;
57984
+ if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
57985
+ flagForceColor2 = 0;
57986
+ } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
57987
+ flagForceColor2 = 1;
57988
+ }
57989
+ function envForceColor2() {
57990
+ if (!("FORCE_COLOR" in env2)) {
57991
+ return;
57992
+ }
57993
+ if (env2.FORCE_COLOR === "true") {
57994
+ return 1;
57995
+ }
57996
+ if (env2.FORCE_COLOR === "false") {
57997
+ return 0;
57998
+ }
57999
+ if (env2.FORCE_COLOR.length === 0) {
58000
+ return 1;
58001
+ }
58002
+ const level = Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
58003
+ if (![0, 1, 2, 3].includes(level)) {
58004
+ return;
58005
+ }
58006
+ return level;
58007
+ }
58008
+ function translateLevel2(level) {
58009
+ if (level === 0) {
58010
+ return false;
58011
+ }
58012
+ return {
58013
+ level,
58014
+ hasBasic: true,
58015
+ has256: level >= 2,
58016
+ has16m: level >= 3
58017
+ };
58018
+ }
58019
+ function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
58020
+ const noFlagForceColor = envForceColor2();
58021
+ if (noFlagForceColor !== void 0) {
58022
+ flagForceColor2 = noFlagForceColor;
58023
+ }
58024
+ const forceColor = sniffFlags ? flagForceColor2 : noFlagForceColor;
58025
+ if (forceColor === 0) {
58026
+ return 0;
58027
+ }
58028
+ if (sniffFlags) {
58029
+ if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
58030
+ return 3;
58031
+ }
58032
+ if (hasFlag2("color=256")) {
58033
+ return 2;
58034
+ }
58035
+ }
58036
+ if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
58037
+ return 1;
58038
+ }
58039
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
58040
+ return 0;
58041
+ }
58042
+ const min = forceColor || 0;
58043
+ if (env2.TERM === "dumb") {
58044
+ return min;
58045
+ }
58046
+ if (process17.platform === "win32") {
58047
+ const osRelease = os2.release().split(".");
58048
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
58049
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
58050
+ }
58051
+ return 1;
58052
+ }
58053
+ if ("CI" in env2) {
58054
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env2)) {
58055
+ return 3;
58056
+ }
58057
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
58058
+ return 1;
58059
+ }
58060
+ return min;
58061
+ }
58062
+ if ("TEAMCITY_VERSION" in env2) {
58063
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
58064
+ }
58065
+ if (env2.COLORTERM === "truecolor") {
58066
+ return 3;
58067
+ }
58068
+ if (env2.TERM === "xterm-kitty") {
58069
+ return 3;
58070
+ }
58071
+ if (env2.TERM === "xterm-ghostty") {
58072
+ return 3;
58073
+ }
58074
+ if (env2.TERM === "wezterm") {
58075
+ return 3;
58076
+ }
58077
+ if ("TERM_PROGRAM" in env2) {
58078
+ const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
58079
+ switch (env2.TERM_PROGRAM) {
58080
+ case "iTerm.app": {
58081
+ return version >= 3 ? 3 : 2;
58082
+ }
58083
+ case "Apple_Terminal": {
58084
+ return 2;
58085
+ }
58086
+ }
58087
+ }
58088
+ if (/-256(color)?$/i.test(env2.TERM)) {
58089
+ return 2;
58090
+ }
58091
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
58092
+ return 1;
58093
+ }
58094
+ if ("COLORTERM" in env2) {
58095
+ return 1;
58096
+ }
58097
+ return min;
58098
+ }
58099
+ function createSupportsColor2(stream, options = {}) {
58100
+ const level = _supportsColor2(stream, {
58101
+ streamIsTTY: stream && stream.isTTY,
58102
+ ...options
58103
+ });
58104
+ return translateLevel2(level);
58105
+ }
58106
+ var supportsColor2 = {
58107
+ stdout: createSupportsColor2({ isTTY: tty2.isatty(1) }),
58108
+ stderr: createSupportsColor2({ isTTY: tty2.isatty(2) })
58109
+ };
58110
+
58111
+ // ../../node_modules/supports-hyperlinks/node_modules/has-flag/index.js
58112
+ init_esm_shims();
58113
+ import process18 from "process";
58114
+ function hasFlag3(flag, argv = process18.argv) {
58115
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
58116
+ const position = argv.indexOf(prefix + flag);
58117
+ const terminatorPosition = argv.indexOf("--");
58118
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
58119
+ }
58120
+
58121
+ // ../../node_modules/supports-hyperlinks/index.js
58122
+ function parseVersion(versionString = "") {
58123
+ if (/^\d{3,4}$/.test(versionString)) {
58124
+ const match37 = /(\d{1,2})(\d{2})/.exec(versionString) ?? [];
58125
+ return {
58126
+ major: 0,
58127
+ minor: Number.parseInt(match37[1], 10),
58128
+ patch: Number.parseInt(match37[2], 10)
58129
+ };
58130
+ }
58131
+ const versions = (versionString ?? "").split(".").map((n3) => Number.parseInt(n3, 10));
58132
+ return {
58133
+ major: versions[0],
58134
+ minor: versions[1],
58135
+ patch: versions[2]
58136
+ };
58137
+ }
58138
+ function createSupportsHyperlinks(stream) {
58139
+ const {
58140
+ CI,
58141
+ CURSOR_TRACE_ID,
58142
+ FORCE_HYPERLINK,
58143
+ NETLIFY,
58144
+ TEAMCITY_VERSION,
58145
+ TERM_PROGRAM,
58146
+ TERM_PROGRAM_VERSION,
58147
+ VTE_VERSION,
58148
+ TERM
58149
+ } = process19.env;
58150
+ if (FORCE_HYPERLINK) {
58151
+ return !(FORCE_HYPERLINK.length > 0 && Number.parseInt(FORCE_HYPERLINK, 10) === 0);
58152
+ }
58153
+ if (hasFlag3("no-hyperlink") || hasFlag3("no-hyperlinks") || hasFlag3("hyperlink=false") || hasFlag3("hyperlink=never")) {
58154
+ return false;
58155
+ }
58156
+ if (hasFlag3("hyperlink=true") || hasFlag3("hyperlink=always")) {
58157
+ return true;
58158
+ }
58159
+ if (NETLIFY) {
58160
+ return true;
58161
+ }
58162
+ if (!createSupportsColor2(stream)) {
58163
+ return false;
58164
+ }
58165
+ if (stream && !stream.isTTY) {
58166
+ return false;
58167
+ }
58168
+ if ("WT_SESSION" in process19.env) {
58169
+ return true;
58170
+ }
58171
+ if (process19.platform === "win32") {
58172
+ return false;
58173
+ }
58174
+ if (CI) {
58175
+ return false;
58176
+ }
58177
+ if (TEAMCITY_VERSION) {
58178
+ return false;
58179
+ }
58180
+ if (TERM_PROGRAM) {
58181
+ const version = parseVersion(TERM_PROGRAM_VERSION);
58182
+ switch (TERM_PROGRAM) {
58183
+ case "iTerm.app": {
58184
+ if (version.major === 3) {
58185
+ return version.minor >= 1;
58186
+ }
58187
+ return version.major > 3;
58188
+ }
58189
+ case "WezTerm": {
58190
+ if (/^0-unstable-\d{4}-\d{2}-\d{2}$/.test(TERM_PROGRAM_VERSION)) {
58191
+ const date = TERM_PROGRAM_VERSION.slice("0-unstable-".length);
58192
+ return date >= "2020-06-20";
58193
+ }
58194
+ return version.major >= 20200620;
58195
+ }
58196
+ case "vscode": {
58197
+ if (CURSOR_TRACE_ID) {
58198
+ return true;
58199
+ }
58200
+ return version.major > 1 || version.major === 1 && version.minor >= 72;
58201
+ }
58202
+ case "ghostty": {
58203
+ return true;
58204
+ }
58205
+ case "zed": {
58206
+ return true;
58207
+ }
58208
+ }
58209
+ }
58210
+ if (VTE_VERSION) {
58211
+ if (VTE_VERSION === "0.50.0") {
58212
+ return false;
58213
+ }
58214
+ const version = parseVersion(VTE_VERSION);
58215
+ return version.major > 0 || version.minor >= 50;
58216
+ }
58217
+ switch (TERM) {
58218
+ case "alacritty": {
58219
+ return true;
58220
+ }
58221
+ case "xterm-kitty": {
58222
+ return true;
58223
+ }
58224
+ }
58225
+ return false;
58226
+ }
58227
+ var supportsHyperlinks = {
58228
+ stdout: createSupportsHyperlinks(process19.stdout),
58229
+ stderr: createSupportsHyperlinks(process19.stderr)
58230
+ };
58231
+ var supports_hyperlinks_default = supportsHyperlinks;
57994
58232
 
57995
58233
  // ../../node_modules/terminal-link/index.js
57996
- var import_supports_hyperlinks = __toESM(require_supports_hyperlinks(), 1);
57997
58234
  function terminalLink(text, url, { target = "stdout", ...options } = {}) {
57998
- if (!import_supports_hyperlinks.default[target]) {
58235
+ if (!supports_hyperlinks_default[target]) {
57999
58236
  if (options.fallback === false) {
58000
58237
  return text;
58001
58238
  }
58002
- return typeof options.fallback === "function" ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`;
58239
+ if (typeof options.fallback === "function") {
58240
+ return options.fallback(text, url);
58241
+ }
58242
+ return `${text} ${url}`;
58003
58243
  }
58004
- return ansi_escapes_default2.link(text, url);
58244
+ return base_exports.link(text, url);
58005
58245
  }
58006
- terminalLink.isSupported = import_supports_hyperlinks.default.stdout;
58246
+ terminalLink.isSupported = supports_hyperlinks_default.stdout;
58007
58247
  terminalLink.stderr = (text, url, options = {}) => terminalLink(text, url, { target: "stderr", ...options });
58008
- terminalLink.stderr.isSupported = import_supports_hyperlinks.default.stderr;
58248
+ terminalLink.stderr.isSupported = supports_hyperlinks_default.stderr;
58009
58249
 
58010
58250
  // ../cli-ui-kit/src/components/Link.tsx
58011
58251
  var Link = ({ skin, children, url }) => {
@@ -65029,7 +65269,7 @@ init_esm_shims();
65029
65269
 
65030
65270
  // ../../node_modules/open/index.js
65031
65271
  init_esm_shims();
65032
- import process20 from "node:process";
65272
+ import process24 from "node:process";
65033
65273
  import { Buffer as Buffer3 } from "node:buffer";
65034
65274
  import path from "node:path";
65035
65275
  import { fileURLToPath } from "node:url";
@@ -65038,8 +65278,8 @@ import fs5, { constants as fsConstants } from "node:fs/promises";
65038
65278
 
65039
65279
  // ../../node_modules/is-wsl/index.js
65040
65280
  init_esm_shims();
65041
- import process16 from "node:process";
65042
- import os2 from "node:os";
65281
+ import process20 from "node:process";
65282
+ import os3 from "node:os";
65043
65283
  import fs4 from "node:fs";
65044
65284
 
65045
65285
  // ../../node_modules/is-inside-container/index.js
@@ -65091,10 +65331,10 @@ function isInsideContainer() {
65091
65331
 
65092
65332
  // ../../node_modules/is-wsl/index.js
65093
65333
  var isWsl = () => {
65094
- if (process16.platform !== "linux") {
65334
+ if (process20.platform !== "linux") {
65095
65335
  return false;
65096
65336
  }
65097
- if (os2.release().toLowerCase().includes("microsoft")) {
65337
+ if (os3.release().toLowerCase().includes("microsoft")) {
65098
65338
  if (isInsideContainer()) {
65099
65339
  return false;
65100
65340
  }
@@ -65106,7 +65346,7 @@ var isWsl = () => {
65106
65346
  return false;
65107
65347
  }
65108
65348
  };
65109
- var is_wsl_default = process16.env.__IS_WSL_TEST__ ? isWsl : isWsl();
65349
+ var is_wsl_default = process20.env.__IS_WSL_TEST__ ? isWsl : isWsl();
65110
65350
 
65111
65351
  // ../../node_modules/define-lazy-prop/index.js
65112
65352
  init_esm_shims();
@@ -65130,17 +65370,17 @@ function defineLazyProperty(object, propertyName, valueGetter) {
65130
65370
  // ../../node_modules/default-browser/index.js
65131
65371
  init_esm_shims();
65132
65372
  import { promisify as promisify4 } from "node:util";
65133
- import process19 from "node:process";
65373
+ import process23 from "node:process";
65134
65374
  import { execFile as execFile4 } from "node:child_process";
65135
65375
 
65136
65376
  // ../../node_modules/default-browser-id/index.js
65137
65377
  init_esm_shims();
65138
65378
  import { promisify } from "node:util";
65139
- import process17 from "node:process";
65379
+ import process21 from "node:process";
65140
65380
  import { execFile } from "node:child_process";
65141
65381
  var execFileAsync = promisify(execFile);
65142
65382
  async function defaultBrowserId() {
65143
- if (process17.platform !== "darwin") {
65383
+ if (process21.platform !== "darwin") {
65144
65384
  throw new Error("macOS only");
65145
65385
  }
65146
65386
  const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
@@ -65153,12 +65393,12 @@ init_esm_shims();
65153
65393
 
65154
65394
  // ../../node_modules/run-applescript/index.js
65155
65395
  init_esm_shims();
65156
- import process18 from "node:process";
65396
+ import process22 from "node:process";
65157
65397
  import { promisify as promisify2 } from "node:util";
65158
65398
  import { execFile as execFile2, execFileSync } from "node:child_process";
65159
65399
  var execFileAsync2 = promisify2(execFile2);
65160
65400
  async function runAppleScript(script, { humanReadableOutput = true } = {}) {
65161
- if (process18.platform !== "darwin") {
65401
+ if (process22.platform !== "darwin") {
65162
65402
  throw new Error("macOS only");
65163
65403
  }
65164
65404
  const outputArguments = humanReadableOutput ? [] : ["-ss"];
@@ -65215,18 +65455,18 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
65215
65455
  var execFileAsync4 = promisify4(execFile4);
65216
65456
  var titleize = (string) => string.toLowerCase().replaceAll(/(?:^|\s|-)\S/g, (x) => x.toUpperCase());
65217
65457
  async function defaultBrowser2() {
65218
- if (process19.platform === "darwin") {
65458
+ if (process23.platform === "darwin") {
65219
65459
  const id = await defaultBrowserId();
65220
65460
  const name = await bundleName(id);
65221
65461
  return { name, id };
65222
65462
  }
65223
- if (process19.platform === "linux") {
65463
+ if (process23.platform === "linux") {
65224
65464
  const { stdout } = await execFileAsync4("xdg-mime", ["query", "default", "x-scheme-handler/http"]);
65225
65465
  const id = stdout.trim();
65226
65466
  const name = titleize(id.replace(/.desktop$/, "").replace("-", " "));
65227
65467
  return { name, id };
65228
65468
  }
65229
- if (process19.platform === "win32") {
65469
+ if (process23.platform === "win32") {
65230
65470
  return defaultBrowser();
65231
65471
  }
65232
65472
  throw new Error("Only macOS, Linux, and Windows are supported");
@@ -65235,7 +65475,7 @@ async function defaultBrowser2() {
65235
65475
  // ../../node_modules/open/index.js
65236
65476
  var __dirname2 = path.dirname(fileURLToPath(import.meta.url));
65237
65477
  var localXdgOpenPath = path.join(__dirname2, "xdg-open");
65238
- var { platform: platform2, arch } = process20;
65478
+ var { platform: platform3, arch } = process24;
65239
65479
  var getWslDrivesMountPoint = /* @__PURE__ */ (() => {
65240
65480
  const defaultMountPoint = "/mnt/";
65241
65481
  let mountPoint;
@@ -65333,7 +65573,7 @@ var baseOpen = async (options) => {
65333
65573
  let command;
65334
65574
  const cliArguments = [];
65335
65575
  const childProcessOptions = {};
65336
- if (platform2 === "darwin") {
65576
+ if (platform3 === "darwin") {
65337
65577
  command = "open";
65338
65578
  if (options.wait) {
65339
65579
  cliArguments.push("--wait-apps");
@@ -65347,9 +65587,9 @@ var baseOpen = async (options) => {
65347
65587
  if (app) {
65348
65588
  cliArguments.push("-a", app);
65349
65589
  }
65350
- } else if (platform2 === "win32" || is_wsl_default && !isInsideContainer() && !app) {
65590
+ } else if (platform3 === "win32" || is_wsl_default && !isInsideContainer() && !app) {
65351
65591
  const mountPoint = await getWslDrivesMountPoint();
65352
- command = is_wsl_default ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process20.env.SYSTEMROOT || process20.env.windir || "C:\\Windows"}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
65592
+ command = is_wsl_default ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process24.env.SYSTEMROOT || process24.env.windir || "C:\\Windows"}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
65353
65593
  cliArguments.push(
65354
65594
  "-NoProfile",
65355
65595
  "-NonInteractive",
@@ -65388,7 +65628,7 @@ var baseOpen = async (options) => {
65388
65628
  exeLocalXdgOpen = true;
65389
65629
  } catch {
65390
65630
  }
65391
- const useSystemXdgOpen = process20.versions.electron ?? (platform2 === "android" || isBundled || !exeLocalXdgOpen);
65631
+ const useSystemXdgOpen = process24.versions.electron ?? (platform3 === "android" || isBundled || !exeLocalXdgOpen);
65392
65632
  command = useSystemXdgOpen ? "xdg-open" : localXdgOpenPath;
65393
65633
  }
65394
65634
  if (appArguments.length > 0) {
@@ -65399,7 +65639,7 @@ var baseOpen = async (options) => {
65399
65639
  childProcessOptions.detached = true;
65400
65640
  }
65401
65641
  }
65402
- if (platform2 === "darwin" && appArguments.length > 0) {
65642
+ if (platform3 === "darwin" && appArguments.length > 0) {
65403
65643
  cliArguments.push("--args", ...appArguments);
65404
65644
  }
65405
65645
  if (options.target) {
@@ -65440,12 +65680,12 @@ function detectArchBinary(binary) {
65440
65680
  }
65441
65681
  return archBinary;
65442
65682
  }
65443
- function detectPlatformBinary({ [platform2]: platformBinary }, { wsl }) {
65683
+ function detectPlatformBinary({ [platform3]: platformBinary }, { wsl }) {
65444
65684
  if (wsl && is_wsl_default) {
65445
65685
  return detectArchBinary(wsl);
65446
65686
  }
65447
65687
  if (!platformBinary) {
65448
- throw new Error(`${platform2} is not supported`);
65688
+ throw new Error(`${platform3} is not supported`);
65449
65689
  }
65450
65690
  return detectArchBinary(platformBinary);
65451
65691
  }
@@ -65520,7 +65760,7 @@ init_esm_shims();
65520
65760
  // ../cli-error-reporting/src/create-error-handler.tsx
65521
65761
  init_esm_shims();
65522
65762
  var import_react90 = __toESM(require_react(), 1);
65523
- import process21 from "node:process";
65763
+ import process25 from "node:process";
65524
65764
 
65525
65765
  // ../cli-debug-log/src/index.tsx
65526
65766
  init_esm_shims();
@@ -66512,6 +66752,14 @@ function getErrorComponent(code, cause) {
66512
66752
  }
66513
66753
  );
66514
66754
  },
66755
+ FailedToInstallApp: ({ appId, siteId }) => {
66756
+ return () => /* @__PURE__ */ import_react82.default.createElement(
66757
+ SystemErrorMessage,
66758
+ {
66759
+ message: `Failed to install app ${appId} on site ${siteId}.`
66760
+ }
66761
+ );
66762
+ },
66515
66763
  FailedToInitializeGitRepo: () => {
66516
66764
  return () => /* @__PURE__ */ import_react82.default.createElement(ErrorMessage, { cause, message: "Failed to initialize git repo." });
66517
66765
  },
@@ -67403,6 +67651,15 @@ ${errorMessage2}`
67403
67651
  message: `Failed to generate config for extension "${extensionId}".`
67404
67652
  }
67405
67653
  );
67654
+ },
67655
+ FailedToCreateCompanionApp: () => {
67656
+ return () => /* @__PURE__ */ import_react82.default.createElement(
67657
+ ErrorMessage,
67658
+ {
67659
+ cause,
67660
+ message: `Failed to create a companion app for your project.`
67661
+ }
67662
+ );
67406
67663
  }
67407
67664
  });
67408
67665
  }
@@ -67909,7 +68166,7 @@ var consoleIntegration = defineIntegration(_consoleIntegration);
67909
68166
  init_esm_shims();
67910
68167
  import { execFile as execFile5 } from "node:child_process";
67911
68168
  import { readFile, readdir } from "node:fs";
67912
- import * as os3 from "node:os";
68169
+ import * as os4 from "node:os";
67913
68170
  import { join as join2 } from "node:path";
67914
68171
  import { promisify as promisify5 } from "node:util";
67915
68172
  var readFileAsync = promisify5(readFile);
@@ -67981,12 +68238,12 @@ function _updateContext(contexts) {
67981
68238
  }
67982
68239
  }
67983
68240
  if (_optionalChain([contexts, "optionalAccess", (_17) => _17.device, "optionalAccess", (_18) => _18.free_memory])) {
67984
- contexts.device.free_memory = os3.freemem();
68241
+ contexts.device.free_memory = os4.freemem();
67985
68242
  }
67986
68243
  return contexts;
67987
68244
  }
67988
68245
  async function getOsContext() {
67989
- const platformId = os3.platform();
68246
+ const platformId = os4.platform();
67990
68247
  switch (platformId) {
67991
68248
  case "darwin":
67992
68249
  return getDarwinInfo();
@@ -67995,7 +68252,7 @@ async function getOsContext() {
67995
68252
  default:
67996
68253
  return {
67997
68254
  name: PLATFORM_NAMES[platformId] || platformId,
67998
- version: os3.release()
68255
+ version: os4.release()
67999
68256
  };
68000
68257
  }
68001
68258
  }
@@ -68033,19 +68290,19 @@ function getDeviceContext(deviceOpt) {
68033
68290
  const device = {};
68034
68291
  let uptime3;
68035
68292
  try {
68036
- uptime3 = os3.uptime && os3.uptime();
68293
+ uptime3 = os4.uptime && os4.uptime();
68037
68294
  } catch (e2) {
68038
68295
  }
68039
68296
  if (typeof uptime3 === "number") {
68040
68297
  device.boot_time = new Date(Date.now() - uptime3 * 1e3).toISOString();
68041
68298
  }
68042
- device.arch = os3.arch();
68299
+ device.arch = os4.arch();
68043
68300
  if (deviceOpt === true || deviceOpt.memory) {
68044
- device.memory_size = os3.totalmem();
68045
- device.free_memory = os3.freemem();
68301
+ device.memory_size = os4.totalmem();
68302
+ device.free_memory = os4.freemem();
68046
68303
  }
68047
68304
  if (deviceOpt === true || deviceOpt.cpu) {
68048
- const cpuInfo = os3.cpus();
68305
+ const cpuInfo = os4.cpus();
68049
68306
  const firstCpu = cpuInfo && cpuInfo[0];
68050
68307
  if (firstCpu) {
68051
68308
  device.processor_count = cpuInfo.length;
@@ -68092,9 +68349,9 @@ function matchFirst(regex2, text) {
68092
68349
  }
68093
68350
  async function getDarwinInfo() {
68094
68351
  const darwinInfo = {
68095
- kernel_version: os3.release(),
68352
+ kernel_version: os4.release(),
68096
68353
  name: "Mac OS X",
68097
- version: `10.${Number(os3.release().split(".")[0]) - 4}`
68354
+ version: `10.${Number(os4.release().split(".")[0]) - 4}`
68098
68355
  };
68099
68356
  try {
68100
68357
  const output = await new Promise((resolve4, reject) => {
@@ -68118,7 +68375,7 @@ function getLinuxDistroId(name) {
68118
68375
  }
68119
68376
  async function getLinuxInfo() {
68120
68377
  const linuxInfo = {
68121
- kernel_version: os3.release(),
68378
+ kernel_version: os4.release(),
68122
68379
  name: "Linux"
68123
68380
  };
68124
68381
  try {
@@ -69937,13 +70194,13 @@ import { posix, sep as sep2 } from "node:path";
69937
70194
  function normalizeWindowsPath(path4) {
69938
70195
  return path4.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
69939
70196
  }
69940
- function createGetModuleFromFilename(basePath = process.argv[1] ? dirname(process.argv[1]) : process.cwd(), isWindows2 = sep2 === "\\") {
69941
- const normalizedBase = isWindows2 ? normalizeWindowsPath(basePath) : basePath;
70197
+ function createGetModuleFromFilename(basePath = process.argv[1] ? dirname(process.argv[1]) : process.cwd(), isWindows4 = sep2 === "\\") {
70198
+ const normalizedBase = isWindows4 ? normalizeWindowsPath(basePath) : basePath;
69942
70199
  return (filename) => {
69943
70200
  if (!filename) {
69944
70201
  return;
69945
70202
  }
69946
- const normalizedFilename = isWindows2 ? normalizeWindowsPath(filename) : filename;
70203
+ const normalizedFilename = isWindows4 ? normalizeWindowsPath(filename) : filename;
69947
70204
  let { dir: dir2, base: file, ext } = posix.parse(normalizedFilename);
69948
70205
  if (ext === ".js" || ext === ".mjs" || ext === ".cjs") {
69949
70206
  file = file.slice(0, ext.length * -1);
@@ -69973,7 +70230,7 @@ var defaultStackParser = createStackParser(nodeStackLineParser(createGetModuleFr
69973
70230
  // ../../node_modules/@sentry/node/build/esm/sdk/client.js
69974
70231
  init_esm_shims();
69975
70232
  init_esm();
69976
- import * as os4 from "node:os";
70233
+ import * as os5 from "node:os";
69977
70234
  import { isMainThread, threadId } from "worker_threads";
69978
70235
  var DEFAULT_CLIENT_REPORT_FLUSH_INTERVAL_MS = 6e4;
69979
70236
  var NodeClient = class extends ServerRuntimeClient {
@@ -69982,7 +70239,7 @@ var NodeClient = class extends ServerRuntimeClient {
69982
70239
  ...options,
69983
70240
  platform: "node",
69984
70241
  runtime: { name: "node", version: global.process.version },
69985
- serverName: options.serverName || global.process.env.SENTRY_NAME || os4.hostname()
70242
+ serverName: options.serverName || global.process.env.SENTRY_NAME || os5.hostname()
69986
70243
  };
69987
70244
  applySdkMetadata(clientOptions, "node");
69988
70245
  logger.log(
@@ -70486,7 +70743,7 @@ function createErrorHandler({
70486
70743
  /* @__PURE__ */ import_react90.default.createElement(import_react90.default.Fragment, null, /* @__PURE__ */ import_react90.default.createElement(ErrorViewer, { error }), isCI3 && /* @__PURE__ */ import_react90.default.createElement(RawErrorViewer, { error, occurredAt: occuredAt }))
70487
70744
  );
70488
70745
  writeCrashReport(debugOutputPath, error, occuredAt);
70489
- process21.exitCode = 1;
70746
+ process25.exitCode = 1;
70490
70747
  collectUserFeedback({
70491
70748
  reportResult,
70492
70749
  errorReporter: errorReporter2,
@@ -70496,13 +70753,13 @@ function createErrorHandler({
70496
70753
  });
70497
70754
  };
70498
70755
  const registerToProcessErrors2 = function() {
70499
- process21.on("uncaughtException", (error) => {
70756
+ process25.on("uncaughtException", (error) => {
70500
70757
  handler({
70501
70758
  error,
70502
70759
  data: { mechanism: { handled: false, type: "uncaughtException" } }
70503
70760
  });
70504
70761
  });
70505
- process21.on("unhandledRejection", (error) => {
70762
+ process25.on("unhandledRejection", (error) => {
70506
70763
  if (error instanceof Error && error.message.startsWith("Build failed with") && error.stack?.includes("esbuild")) {
70507
70764
  return;
70508
70765
  }
@@ -71924,7 +72181,7 @@ async function createPanorama(options) {
71924
72181
  aiAgentName: aiAgentName2
71925
72182
  } = options;
71926
72183
  const userConfig = await readUserConfig();
71927
- const env2 = createEnv();
72184
+ const env3 = createEnv();
71928
72185
  const factory = panoramaClientFactory({
71929
72186
  baseParams: {
71930
72187
  platform: Platform.Standalone,
@@ -71938,11 +72195,11 @@ async function createPanorama(options) {
71938
72195
  silent: true
71939
72196
  },
71940
72197
  data: {
71941
- cliTrackingId: env2.cliTrackingId,
71942
- cliEnvName: env2.cliEnvName,
72198
+ cliTrackingId: env3.cliTrackingId,
72199
+ cliEnvName: env3.cliEnvName,
71943
72200
  cliSessionId: cliSessionId2,
71944
72201
  aiAgentName: aiAgentName2,
71945
- ...env2.remoteLogContext
72202
+ ...env3.remoteLogContext
71946
72203
  }
71947
72204
  }).withGlobalConfig(globalConfig).setMuted(!userConfig.telemetry);
71948
72205
  const panorama2 = createPanoramaWrapper(factory);
@@ -72169,8 +72426,8 @@ import { uptime as uptime2 } from "node:process";
72169
72426
  // ../cli-telemetry/src/environment.ts
72170
72427
  init_esm_shims();
72171
72428
  var import_is_ci2 = __toESM(require_is_ci2(), 1);
72172
- import os5 from "node:os";
72173
- import { platform as platform4, version as nodeVersion } from "node:process";
72429
+ import os6 from "node:os";
72430
+ import { platform as platform5, version as nodeVersion } from "node:process";
72174
72431
  function getEnvironmentInfo({
72175
72432
  cliVersion,
72176
72433
  flow
@@ -72181,11 +72438,11 @@ function getEnvironmentInfo({
72181
72438
  isCI: import_is_ci2.default,
72182
72439
  nodeVersion,
72183
72440
  osName: getOsName(),
72184
- osVersion: os5.release()
72441
+ osVersion: os6.release()
72185
72442
  };
72186
72443
  }
72187
72444
  function getOsName() {
72188
- switch (platform4) {
72445
+ switch (platform5) {
72189
72446
  case "darwin":
72190
72447
  return "mac";
72191
72448
  case "win32":
@@ -73565,9 +73822,9 @@ var SortOrder;
73565
73822
  SortOrder4["DESC"] = "DESC";
73566
73823
  })(SortOrder || (SortOrder = {}));
73567
73824
  var RequestedFields;
73568
- (function(RequestedFields2) {
73569
- RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
73570
- RequestedFields2["CREATED_BY_DATA"] = "CREATED_BY_DATA";
73825
+ (function(RequestedFields3) {
73826
+ RequestedFields3["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
73827
+ RequestedFields3["CREATED_BY_DATA"] = "CREATED_BY_DATA";
73571
73828
  })(RequestedFields || (RequestedFields = {}));
73572
73829
  var SubjectType;
73573
73830
  (function(SubjectType2) {
@@ -73599,12 +73856,12 @@ var JoinedConditionOperator;
73599
73856
  JoinedConditionOperator2["AND"] = "AND";
73600
73857
  })(JoinedConditionOperator || (JoinedConditionOperator = {}));
73601
73858
  var WebhookIdentityType;
73602
- (function(WebhookIdentityType10) {
73603
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
73604
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
73605
- WebhookIdentityType10["MEMBER"] = "MEMBER";
73606
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
73607
- WebhookIdentityType10["APP"] = "APP";
73859
+ (function(WebhookIdentityType11) {
73860
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
73861
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
73862
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
73863
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
73864
+ WebhookIdentityType11["APP"] = "APP";
73608
73865
  })(WebhookIdentityType || (WebhookIdentityType = {}));
73609
73866
 
73610
73867
  // ../../node_modules/@wix/ambassador-devcenter-dsm-v1-development-site/build/es/http.impl.js
@@ -74635,6 +74892,206 @@ function managedApps(payload7) {
74635
74892
  return __managedApps;
74636
74893
  }
74637
74894
 
74895
+ // ../../node_modules/@wix/ambassador-devcenter-apps-companionapps-v1-companion-app/es/build/http.impl.js
74896
+ init_esm_shims();
74897
+ var _companionApp = { createdDate: "google.protobuf.Timestamp" };
74898
+ var _getOrCreateCompanionAppRequest = {};
74899
+ var _getOrCreateCompanionAppResponse = { companionApp: "_companionApp" };
74900
+ function resolveWixDevcenterAppsCompanionappsV1CompanionAppsUrl(opts) {
74901
+ var domainToMappings = {
74902
+ "manage._base_domain_": [
74903
+ {
74904
+ srcPath: "/_api/companion-apps",
74905
+ destPath: ""
74906
+ }
74907
+ ]
74908
+ };
74909
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
74910
+ }
74911
+ function getOrCreateCompanionApp(payload7) {
74912
+ var _a3 = serializer(_getOrCreateCompanionAppRequest, {}), toReq = _a3.toJSON, fromReq = _a3.fromJSON;
74913
+ var fromRes = serializer(_getOrCreateCompanionAppResponse, {
74914
+ _companionApp
74915
+ }).fromJSON;
74916
+ function __getOrCreateCompanionApp(_a4) {
74917
+ var host = _a4.host;
74918
+ var serializedData = toReq(payload7);
74919
+ var metadata = {
74920
+ entityFqdn: "wix.devcenter.apps_companionapps.v1.companion_app",
74921
+ method: "POST",
74922
+ methodFqn: "wix.devcenter.apps.companionapps.v1.CompanionApps.GetOrCreateCompanionApp",
74923
+ migrationOptions: {
74924
+ optInTransformResponse: true
74925
+ },
74926
+ url: resolveWixDevcenterAppsCompanionappsV1CompanionAppsUrl({
74927
+ protoPath: "/v1/companion-apps/get-or-create",
74928
+ data: serializedData,
74929
+ host
74930
+ }),
74931
+ data: serializedData,
74932
+ transformResponse: fromRes
74933
+ };
74934
+ return metadata;
74935
+ }
74936
+ __getOrCreateCompanionApp.fromReq = fromReq;
74937
+ __getOrCreateCompanionApp.__isAmbassador = true;
74938
+ return __getOrCreateCompanionApp;
74939
+ }
74940
+
74941
+ // ../../node_modules/@wix/ambassador-apps-v1-app-instance/es/build/http.impl.js
74942
+ init_esm_shims();
74943
+ var _installAppRequest = { appInstance: "_v1AppInstance" };
74944
+ var _installAppResponse = {
74945
+ appInstance: "_v1AppInstance",
74946
+ dependenciesInstallation: "_v1AppInstance"
74947
+ };
74948
+ var _v1AppInstance = {
74949
+ installedDate: "google.protobuf.Timestamp",
74950
+ updatedDate: "google.protobuf.Timestamp"
74951
+ };
74952
+ function resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl(opts) {
74953
+ var domainToMappings = {
74954
+ "manage._base_domain_": [
74955
+ {
74956
+ srcPath: "/apps-installer-service",
74957
+ destPath: ""
74958
+ }
74959
+ ],
74960
+ "editor._base_domain_": [
74961
+ {
74962
+ srcPath: "/apps-installer-service",
74963
+ destPath: ""
74964
+ }
74965
+ ],
74966
+ "blocks._base_domain_": [
74967
+ {
74968
+ srcPath: "/apps-installer-service",
74969
+ destPath: ""
74970
+ }
74971
+ ],
74972
+ "create.editorx": [
74973
+ {
74974
+ srcPath: "/apps-installer-service",
74975
+ destPath: ""
74976
+ }
74977
+ ],
74978
+ "dev._base_domain_": [
74979
+ {
74980
+ srcPath: "/apps-installer-service",
74981
+ destPath: ""
74982
+ }
74983
+ ],
74984
+ "www.wixapis.com": [
74985
+ {
74986
+ srcPath: "/apps-installer-service",
74987
+ destPath: ""
74988
+ }
74989
+ ],
74990
+ "*.dev.wix-code.com": [
74991
+ {
74992
+ srcPath: "/apps/v1/app-instances",
74993
+ destPath: ""
74994
+ }
74995
+ ],
74996
+ _: [
74997
+ {
74998
+ srcPath: "/apps/v1/app-instances",
74999
+ destPath: ""
75000
+ }
75001
+ ],
75002
+ "bo._base_domain_": [
75003
+ {
75004
+ srcPath: "/_api/apps-installer-service",
75005
+ destPath: ""
75006
+ }
75007
+ ],
75008
+ "wixbo.ai": [
75009
+ {
75010
+ srcPath: "/_api/apps-installer-service",
75011
+ destPath: ""
75012
+ }
75013
+ ],
75014
+ "wix-bo.com": [
75015
+ {
75016
+ srcPath: "/_api/apps-installer-service",
75017
+ destPath: ""
75018
+ }
75019
+ ],
75020
+ "vibe._base_domain_": [
75021
+ {
75022
+ srcPath: "/_api/apps-installer-service",
75023
+ destPath: ""
75024
+ }
75025
+ ]
75026
+ };
75027
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
75028
+ }
75029
+ function installApp(payload7) {
75030
+ var _a3 = serializer(_installAppRequest, {
75031
+ _v1AppInstance
75032
+ }), toReq = _a3.toJSON, fromReq = _a3.fromJSON;
75033
+ var fromRes = serializer(_installAppResponse, {
75034
+ _v1AppInstance
75035
+ }).fromJSON;
75036
+ function __installApp(_a4) {
75037
+ var host = _a4.host;
75038
+ var serializedData = toReq(payload7);
75039
+ var metadata = {
75040
+ entityFqdn: "wix.apps.v1.app_instance",
75041
+ method: "POST",
75042
+ methodFqn: "wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp",
75043
+ migrationOptions: {
75044
+ optInTransformResponse: true
75045
+ },
75046
+ url: resolveWixDevcenterAppsInstallerV1AppsInstallerServiceUrl({
75047
+ protoPath: "/v1/app-instance/install",
75048
+ data: serializedData,
75049
+ host
75050
+ }),
75051
+ data: serializedData,
75052
+ transformResponse: fromRes
75053
+ };
75054
+ return metadata;
75055
+ }
75056
+ __installApp.fromReq = fromReq;
75057
+ __installApp.__isAmbassador = true;
75058
+ return __installApp;
75059
+ }
75060
+
75061
+ // ../../node_modules/@wix/ambassador-apps-v1-app-instance/es/build/types.impl.js
75062
+ init_esm_shims();
75063
+ var WebhookIdentityType2;
75064
+ (function(WebhookIdentityType11) {
75065
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
75066
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
75067
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
75068
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
75069
+ WebhookIdentityType11["APP"] = "APP";
75070
+ })(WebhookIdentityType2 || (WebhookIdentityType2 = {}));
75071
+ var InstallType;
75072
+ (function(InstallType2) {
75073
+ InstallType2["UNKNOWN_INSTALL_TYPE"] = "UNKNOWN_INSTALL_TYPE";
75074
+ InstallType2["APPS_INSTALL"] = "APPS_INSTALL";
75075
+ InstallType2["SHARE_URL_INSTALL"] = "SHARE_URL_INSTALL";
75076
+ })(InstallType || (InstallType = {}));
75077
+ var RequestedFields2;
75078
+ (function(RequestedFields3) {
75079
+ RequestedFields3["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
75080
+ RequestedFields3["CLIENT_SPEC_MAP"] = "CLIENT_SPEC_MAP";
75081
+ })(RequestedFields2 || (RequestedFields2 = {}));
75082
+ var V1Status;
75083
+ (function(V1Status2) {
75084
+ V1Status2["UNKNOWN"] = "UNKNOWN";
75085
+ V1Status2["WAITING_FOR_OAUTH"] = "WAITING_FOR_OAUTH";
75086
+ V1Status2["AUTHENTICATED"] = "AUTHENTICATED";
75087
+ V1Status2["DIDNT_COMPLETE_PAYMENT"] = "DIDNT_COMPLETE_PAYMENT";
75088
+ })(V1Status || (V1Status = {}));
75089
+ var V1TenantType;
75090
+ (function(V1TenantType2) {
75091
+ V1TenantType2["SITE"] = "SITE";
75092
+ V1TenantType2["ACCOUNT"] = "ACCOUNT";
75093
+ })(V1TenantType || (V1TenantType = {}));
75094
+
74638
75095
  // ../../node_modules/@wix/ambassador-devcenter-managedapps-v1-managed-app/build/es/types.impl.js
74639
75096
  init_esm_shims();
74640
75097
  var UninstallActions;
@@ -77434,14 +77891,14 @@ var VersionType;
77434
77891
  VersionType2["LATEST_VERSION"] = "LATEST_VERSION";
77435
77892
  VersionType2["DEV_VERSION"] = "DEV_VERSION";
77436
77893
  })(VersionType || (VersionType = {}));
77437
- var WebhookIdentityType2;
77438
- (function(WebhookIdentityType10) {
77439
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
77440
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
77441
- WebhookIdentityType10["MEMBER"] = "MEMBER";
77442
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
77443
- WebhookIdentityType10["APP"] = "APP";
77444
- })(WebhookIdentityType2 || (WebhookIdentityType2 = {}));
77894
+ var WebhookIdentityType3;
77895
+ (function(WebhookIdentityType11) {
77896
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
77897
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
77898
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
77899
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
77900
+ WebhookIdentityType11["APP"] = "APP";
77901
+ })(WebhookIdentityType3 || (WebhookIdentityType3 = {}));
77445
77902
 
77446
77903
  // ../dev-center-client/src/schemas.ts
77447
77904
  init_esm_shims();
@@ -79905,14 +80362,14 @@ var WritingModeValue2;
79905
80362
  WritingModeValue3["sidewaysRl"] = "sidewaysRl";
79906
80363
  WritingModeValue3["sidewaysLr"] = "sidewaysLr";
79907
80364
  })(WritingModeValue2 || (WritingModeValue2 = {}));
79908
- var WebhookIdentityType3;
79909
- (function(WebhookIdentityType10) {
79910
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
79911
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
79912
- WebhookIdentityType10["MEMBER"] = "MEMBER";
79913
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
79914
- WebhookIdentityType10["APP"] = "APP";
79915
- })(WebhookIdentityType3 || (WebhookIdentityType3 = {}));
80365
+ var WebhookIdentityType4;
80366
+ (function(WebhookIdentityType11) {
80367
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
80368
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
80369
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
80370
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
80371
+ WebhookIdentityType11["APP"] = "APP";
80372
+ })(WebhookIdentityType4 || (WebhookIdentityType4 = {}));
79916
80373
  var ValidationTargetMethod;
79917
80374
  (function(ValidationTargetMethod2) {
79918
80375
  ValidationTargetMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
@@ -80553,6 +81010,16 @@ var setNamespaceSchema = external_exports.object({
80553
81010
  var setCodeIdentifierSchema = external_exports.object({
80554
81011
  codeIdentifier: external_exports.string()
80555
81012
  });
81013
+ var createCompanionAppSchema = external_exports.object({
81014
+ companionApp: external_exports.object({
81015
+ id: external_exports.string()
81016
+ })
81017
+ });
81018
+ var installAppSchema = external_exports.object({
81019
+ appInstance: external_exports.object({
81020
+ id: external_exports.string()
81021
+ })
81022
+ });
80556
81023
 
80557
81024
  // ../dev-center-client/src/dev-center-client.ts
80558
81025
  var EMPTY_SITE_TEMPLATE = "24bafe8a-7c80-4b63-8a71-08752062f246";
@@ -80615,6 +81082,20 @@ var DevCenterClient = class {
80615
81082
  });
80616
81083
  }
80617
81084
  };
81085
+ createCompanionApp = async () => {
81086
+ try {
81087
+ const { data } = await pRetry(
81088
+ () => this.httpClient.request(getOrCreateCompanionApp({})),
81089
+ this.retryOptions
81090
+ );
81091
+ return createCompanionAppSchema.parse(data).companionApp;
81092
+ } catch (e2) {
81093
+ throw new CliError({
81094
+ code: CliErrorCode.FailedToCreateCompanionApp(),
81095
+ cause: e2
81096
+ });
81097
+ }
81098
+ };
80618
81099
  setNamespace = async ({ appId, namespace }) => {
80619
81100
  try {
80620
81101
  const { data } = await this.httpClient.request(
@@ -80983,6 +81464,30 @@ var DevCenterClient = class {
80983
81464
  });
80984
81465
  }
80985
81466
  };
81467
+ installApp = async (siteId, appId) => {
81468
+ try {
81469
+ const { data } = await pRetry(
81470
+ () => this.httpClient.request(
81471
+ installApp({
81472
+ tenant: {
81473
+ id: siteId,
81474
+ tenantType: V1TenantType.SITE
81475
+ },
81476
+ appInstance: {
81477
+ appDefId: appId
81478
+ }
81479
+ })
81480
+ ),
81481
+ this.retryOptions
81482
+ );
81483
+ return installAppSchema.parse(data);
81484
+ } catch (e2) {
81485
+ throw new CliError({
81486
+ code: CliErrorCode.FailedToInstallApp({ appId, siteId }),
81487
+ cause: e2
81488
+ });
81489
+ }
81490
+ };
80986
81491
  isAppInstalled = async (appId) => {
80987
81492
  const installationDetails = await this.getAppInstallationDetails(appId);
80988
81493
  return installationDetails?.group === AppGroup.PENDING || installationDetails?.group === AppGroup.INSTALLED;
@@ -82160,14 +82665,14 @@ var SortOrder2;
82160
82665
  SortOrder4["ASC"] = "ASC";
82161
82666
  SortOrder4["DESC"] = "DESC";
82162
82667
  })(SortOrder2 || (SortOrder2 = {}));
82163
- var WebhookIdentityType4;
82164
- (function(WebhookIdentityType10) {
82165
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
82166
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
82167
- WebhookIdentityType10["MEMBER"] = "MEMBER";
82168
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
82169
- WebhookIdentityType10["APP"] = "APP";
82170
- })(WebhookIdentityType4 || (WebhookIdentityType4 = {}));
82668
+ var WebhookIdentityType5;
82669
+ (function(WebhookIdentityType11) {
82670
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
82671
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
82672
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
82673
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
82674
+ WebhookIdentityType11["APP"] = "APP";
82675
+ })(WebhookIdentityType5 || (WebhookIdentityType5 = {}));
82171
82676
 
82172
82677
  // ../backend-as-a-service-client/src/schemas.ts
82173
82678
  var staticFileMetadata = external_exports.object({
@@ -83025,7 +83530,7 @@ function getTasks({
83025
83530
  cause: e2
83026
83531
  });
83027
83532
  }
83028
- const { generateApp } = await import("./generator-22SWDX6P.js");
83533
+ const { generateApp } = await import("./generator-YDODAHL4.js");
83029
83534
  await generateApp({
83030
83535
  packageName,
83031
83536
  packageFolder,
@@ -83541,7 +84046,7 @@ var getAppCommand = ({
83541
84046
  // ../create-new-packages/headless-command/src/index.tsx
83542
84047
  init_esm_shims();
83543
84048
  var import_react156 = __toESM(require_react(), 1);
83544
- import process22 from "node:process";
84049
+ import process26 from "node:process";
83545
84050
 
83546
84051
  // ../create-new-packages/headless-command/src/validations/validate-business-name.ts
83547
84052
  init_esm_shims();
@@ -84210,14 +84715,14 @@ var V4ResolutionMethod;
84210
84715
  V4ResolutionMethod2["SUBDOMAIN"] = "SUBDOMAIN";
84211
84716
  V4ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
84212
84717
  })(V4ResolutionMethod || (V4ResolutionMethod = {}));
84213
- var WebhookIdentityType5;
84214
- (function(WebhookIdentityType10) {
84215
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
84216
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
84217
- WebhookIdentityType10["MEMBER"] = "MEMBER";
84218
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
84219
- WebhookIdentityType10["APP"] = "APP";
84220
- })(WebhookIdentityType5 || (WebhookIdentityType5 = {}));
84718
+ var WebhookIdentityType6;
84719
+ (function(WebhookIdentityType11) {
84720
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
84721
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
84722
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
84723
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
84724
+ WebhookIdentityType11["APP"] = "APP";
84725
+ })(WebhookIdentityType6 || (WebhookIdentityType6 = {}));
84221
84726
  var Cause;
84222
84727
  (function(Cause2) {
84223
84728
  Cause2["EMPTY"] = "EMPTY";
@@ -84586,25 +85091,20 @@ function truncateName(name, maxLength) {
84586
85091
  return name;
84587
85092
  }
84588
85093
  var useCreateProject = (businessId) => {
84589
- const { createOAuthApp: createOAuthApp2, updateOAuthApp: updateOAuthApp2, getAppSecret } = useDevCenterClient({
85094
+ const { updateOAuthApp: updateOAuthApp2, getAppSecret, createCompanionApp, installApp: installApp2 } = useDevCenterClient({
84590
85095
  siteId: businessId
84591
85096
  });
84592
- const { getInstalledAppInstanceId, getMetaSiteUrl } = useMetasiteManagerClient({ siteId: businessId });
85097
+ const { getMetaSiteUrl } = useMetasiteManagerClient({ siteId: businessId });
84593
85098
  const { createAppProject: createAppProject2, upsertAppEnvironment: upsertAppEnvironment2 } = useBackendAsAServiceClient();
84594
85099
  return useAsyncCallback3(
84595
85100
  async (_2, {
84596
85101
  projectName,
84597
85102
  cloudProviders
84598
85103
  }) => {
84599
- const { id: projectId } = await createOAuthApp2({
84600
- name: truncateName(`Private App for: ${projectName}`, 50)
84601
- });
84602
- const [publicKeyAndSecret, instanceId, metaSiteUrl] = await Promise.all([
85104
+ const { id: projectId } = await createCompanionApp();
85105
+ const appInstall = await installApp2(businessId, projectId);
85106
+ const [publicKeyAndSecret, metaSiteUrl] = await Promise.all([
84603
85107
  getAppSecret({ appId: projectId }),
84604
- getInstalledAppInstanceId({
84605
- metaSiteId: businessId,
84606
- appId: projectId
84607
- }),
84608
85108
  getMetaSiteUrl()
84609
85109
  ]);
84610
85110
  const appProject = await createAppProject2({
@@ -84621,16 +85121,6 @@ var useCreateProject = (businessId) => {
84621
85121
  const previewBaseDomain = `https://(.*)-${projectBaseURL.hostname}`;
84622
85122
  const previewBaseRedirect = `https://*-${projectBaseURL.hostname}`;
84623
85123
  const prodBaseDomain = projectBaseURL.toString().replace(/\/$/, "");
84624
- const appEnvironment = await upsertAppEnvironment2(
84625
- appProject.id,
84626
- DEFAULT_ENVIRONMENT_NAME2,
84627
- {
84628
- WIX_CLIENT_ID: projectId,
84629
- WIX_CLIENT_SECRET: publicKeyAndSecret.appSecret,
84630
- WIX_CLIENT_PUBLIC_KEY: publicKeyAndSecret.webhookPublicKey,
84631
- WIX_CLIENT_INSTANCE_ID: instanceId
84632
- }
84633
- );
84634
85124
  await updateOAuthApp2({
84635
85125
  id: projectId,
84636
85126
  allowedDomains: [localBaseDomain, previewBaseDomain, prodBaseDomain],
@@ -84644,10 +85134,20 @@ var useCreateProject = (businessId) => {
84644
85134
  ],
84645
85135
  redirectUrlWixPages: metaSiteUrl.url
84646
85136
  });
85137
+ const appEnvironment = await upsertAppEnvironment2(
85138
+ appProject.id,
85139
+ DEFAULT_ENVIRONMENT_NAME2,
85140
+ {
85141
+ WIX_CLIENT_ID: projectId,
85142
+ WIX_CLIENT_SECRET: publicKeyAndSecret.appSecret,
85143
+ WIX_CLIENT_PUBLIC_KEY: publicKeyAndSecret.webhookPublicKey,
85144
+ WIX_CLIENT_INSTANCE_ID: appInstall.appInstance.id
85145
+ }
85146
+ );
84647
85147
  const projectData = {
84648
85148
  projectId,
84649
85149
  projectName,
84650
- instanceId,
85150
+ instanceId: appInstall.appInstance.id,
84651
85151
  appSecret: publicKeyAndSecret.appSecret,
84652
85152
  webhookPublicKey: publicKeyAndSecret.webhookPublicKey,
84653
85153
  environmentVariables: appEnvironment.variables,
@@ -94725,14 +95225,14 @@ var Action;
94725
95225
  Action2["OVERWRITE"] = "OVERWRITE";
94726
95226
  Action2["COPY"] = "COPY";
94727
95227
  })(Action || (Action = {}));
94728
- var WebhookIdentityType6;
94729
- (function(WebhookIdentityType10) {
94730
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
94731
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
94732
- WebhookIdentityType10["MEMBER"] = "MEMBER";
94733
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
94734
- WebhookIdentityType10["APP"] = "APP";
94735
- })(WebhookIdentityType6 || (WebhookIdentityType6 = {}));
95228
+ var WebhookIdentityType7;
95229
+ (function(WebhookIdentityType11) {
95230
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
95231
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
95232
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
95233
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
95234
+ WebhookIdentityType11["APP"] = "APP";
95235
+ })(WebhookIdentityType7 || (WebhookIdentityType7 = {}));
94736
95236
 
94737
95237
  // ../../node_modules/@wix/ambassador-velo-github-v1-github-onboarding-status/build/es/types.impl.js
94738
95238
  init_esm_shims();
@@ -94814,14 +95314,14 @@ var DeleteStatus2;
94814
95314
  DeleteStatus3["PENDING_PURGE"] = "PENDING_PURGE";
94815
95315
  DeleteStatus3["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
94816
95316
  })(DeleteStatus2 || (DeleteStatus2 = {}));
94817
- var WebhookIdentityType7;
94818
- (function(WebhookIdentityType10) {
94819
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
94820
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
94821
- WebhookIdentityType10["MEMBER"] = "MEMBER";
94822
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
94823
- WebhookIdentityType10["APP"] = "APP";
94824
- })(WebhookIdentityType7 || (WebhookIdentityType7 = {}));
95317
+ var WebhookIdentityType8;
95318
+ (function(WebhookIdentityType11) {
95319
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
95320
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
95321
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
95322
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
95323
+ WebhookIdentityType11["APP"] = "APP";
95324
+ })(WebhookIdentityType8 || (WebhookIdentityType8 = {}));
94825
95325
 
94826
95326
  // ../velo-client/src/velo-client.ts
94827
95327
  init_esm_shims();
@@ -94852,14 +95352,14 @@ var RcLabel;
94852
95352
  RcLabel2["UNKNOWN"] = "UNKNOWN";
94853
95353
  RcLabel2["WIX_CLI"] = "WIX_CLI";
94854
95354
  })(RcLabel || (RcLabel = {}));
94855
- var WebhookIdentityType8;
94856
- (function(WebhookIdentityType10) {
94857
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
94858
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
94859
- WebhookIdentityType10["MEMBER"] = "MEMBER";
94860
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
94861
- WebhookIdentityType10["APP"] = "APP";
94862
- })(WebhookIdentityType8 || (WebhookIdentityType8 = {}));
95355
+ var WebhookIdentityType9;
95356
+ (function(WebhookIdentityType11) {
95357
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
95358
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
95359
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
95360
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
95361
+ WebhookIdentityType11["APP"] = "APP";
95362
+ })(WebhookIdentityType9 || (WebhookIdentityType9 = {}));
94863
95363
 
94864
95364
  // ../../node_modules/@wix/ambassador-velo-apps-v1-app/build/es/http.impl.js
94865
95365
  init_esm_shims();
@@ -95527,14 +96027,14 @@ var GitRemoteType;
95527
96027
  GitRemoteType2["S3"] = "S3";
95528
96028
  GitRemoteType2["GITHUB"] = "GITHUB";
95529
96029
  })(GitRemoteType || (GitRemoteType = {}));
95530
- var WebhookIdentityType9;
95531
- (function(WebhookIdentityType10) {
95532
- WebhookIdentityType10["UNKNOWN"] = "UNKNOWN";
95533
- WebhookIdentityType10["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
95534
- WebhookIdentityType10["MEMBER"] = "MEMBER";
95535
- WebhookIdentityType10["WIX_USER"] = "WIX_USER";
95536
- WebhookIdentityType10["APP"] = "APP";
95537
- })(WebhookIdentityType9 || (WebhookIdentityType9 = {}));
96030
+ var WebhookIdentityType10;
96031
+ (function(WebhookIdentityType11) {
96032
+ WebhookIdentityType11["UNKNOWN"] = "UNKNOWN";
96033
+ WebhookIdentityType11["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
96034
+ WebhookIdentityType11["MEMBER"] = "MEMBER";
96035
+ WebhookIdentityType11["WIX_USER"] = "WIX_USER";
96036
+ WebhookIdentityType11["APP"] = "APP";
96037
+ })(WebhookIdentityType10 || (WebhookIdentityType10 = {}));
95538
96038
  var SortOrder3;
95539
96039
  (function(SortOrder4) {
95540
96040
  SortOrder4["ASC"] = "ASC";
@@ -95932,7 +96432,7 @@ function validateDirectoryExists(path4) {
95932
96432
 
95933
96433
  // ../create-new-packages/headless-command/src/index.tsx
95934
96434
  function assertInteractiveTerminalIfNeeded(hasRequiredFlagsForNonInteractive) {
95935
- if (!process22.stdin.isTTY && !hasRequiredFlagsForNonInteractive) {
96435
+ if (!process26.stdin.isTTY && !hasRequiredFlagsForNonInteractive) {
95936
96436
  throw new CliError({
95937
96437
  code: CliErrorCode.NonInteractiveTerminal(),
95938
96438
  cause: null
@@ -96097,7 +96597,7 @@ import { randomUUID as randomUUID3 } from "node:crypto";
96097
96597
  var package_default = {
96098
96598
  name: "@wix/create-new",
96099
96599
  description: "General entry point for creating Wix projects",
96100
- version: "0.0.55",
96600
+ version: "0.0.57",
96101
96601
  bin: "bin/index.cjs",
96102
96602
  devDependencies: {
96103
96603
  "@commander-js/extra-typings": "^13.0.0",