@wix/create-app 0.0.177 → 0.0.178

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
@@ -7279,12 +7279,12 @@ var require_lodash = __commonJS({
7279
7279
  Stack.prototype.has = stackHas;
7280
7280
  Stack.prototype.set = stackSet;
7281
7281
  function arrayLikeKeys(value2, inherited) {
7282
- var isArr = isArray2(value2), isArg = !isArr && isArguments(value2), isBuff = !isArr && !isArg && isBuffer(value2), isType15 = !isArr && !isArg && !isBuff && isTypedArray(value2), skipIndexes = isArr || isArg || isBuff || isType15, result = skipIndexes ? baseTimes(value2.length, String) : [], length = result.length;
7282
+ var isArr = isArray2(value2), isArg = !isArr && isArguments(value2), isBuff = !isArr && !isArg && isBuffer(value2), isType16 = !isArr && !isArg && !isBuff && isTypedArray(value2), skipIndexes = isArr || isArg || isBuff || isType16, result = skipIndexes ? baseTimes(value2.length, String) : [], length = result.length;
7283
7283
  for (var key in value2) {
7284
7284
  if ((inherited || hasOwnProperty2.call(value2, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
7285
7285
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
7286
7286
  isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
7287
- isType15 && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
7287
+ isType16 && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
7288
7288
  isIndex(key, length)))) {
7289
7289
  result.push(key);
7290
7290
  }
@@ -56109,6 +56109,8 @@ function usePanoramaMethodLogger(target) {
56109
56109
 
56110
56110
  // ../cli-panorama/src/createPanorama.ts
56111
56111
  init_esm_shims();
56112
+ var import_verror5 = __toESM(require_verror(), 1);
56113
+ var import_variant24 = __toESM(require_lib(), 1);
56112
56114
 
56113
56115
  // ../../node_modules/@wix/panorama-client-node/dist/esm/index.js
56114
56116
  init_esm_shims();
@@ -57151,14 +57153,25 @@ async function createPanorama(options) {
57151
57153
  }).withGlobalConfig(globalConfig).setMuted(!userConfig.telemetry);
57152
57154
  const panorama = createPanoramaWrapper(factory);
57153
57155
  if (errorReporter2) {
57154
- errorReporter2.on("errorReported", (error) => {
57156
+ errorReporter2.on("errorReported", (cliError) => {
57155
57157
  const panoramaClient2 = panorama.client({
57156
57158
  baseParams: {
57157
57159
  componentId: "error-reporter"
57158
57160
  }
57159
57161
  });
57160
57162
  const errorMonitor = panoramaClient2.errorMonitor();
57161
- errorMonitor.reportError(error);
57163
+ const error = (0, import_variant24.isType)(cliError.cliCode, CliSystemErrorCode.UnknownFailure) && cliError.cliCode.error instanceof Error ? cliError.cliCode.error : cliError;
57164
+ const errorToReport = new Error(error.message);
57165
+ errorToReport.name = error.name;
57166
+ errorToReport.stack = import_verror5.default.fullStack(error);
57167
+ const httpError = extractHttpError(cliError);
57168
+ if (httpError) {
57169
+ errorToReport.cause = httpError;
57170
+ }
57171
+ errorMonitor.reportError(errorToReport, {
57172
+ // panorama by default uses constructor.name for errorName
57173
+ errorName: cliError.name
57174
+ });
57162
57175
  });
57163
57176
  }
57164
57177
  return panorama;
@@ -57168,17 +57181,17 @@ async function createPanorama(options) {
57168
57181
  init_esm_shims();
57169
57182
  var import_kebabCase = __toESM(require_kebabCase(), 1);
57170
57183
  function createCommandTransaction(panorama, command) {
57171
- const commandFullName = getFullCommandName(command);
57184
+ const commandFullName = (0, import_kebabCase.default)(getFullCommandName(command));
57185
+ panorama.setDefaultClientData({
57186
+ commandName: command.name(),
57187
+ commandFullName
57188
+ });
57172
57189
  const client2 = panorama.client({
57173
57190
  baseParams: {
57174
57191
  componentId: "command"
57175
- },
57176
- data: {
57177
- commandName: command.name(),
57178
- commandFullName
57179
57192
  }
57180
57193
  });
57181
- return client2.transaction((0, import_kebabCase.default)(commandFullName));
57194
+ return client2.transaction(commandFullName);
57182
57195
  }
57183
57196
  function getFullCommandName(command) {
57184
57197
  if (command.parent) {
@@ -57451,7 +57464,7 @@ function reportCommandStartEvent({
57451
57464
  var package_default = {
57452
57465
  name: "@wix/create-app",
57453
57466
  description: "Create Wix apps",
57454
- version: "0.0.177",
57467
+ version: "0.0.178",
57455
57468
  author: "Ihor Machuzhak",
57456
57469
  bin: "bin/index.cjs",
57457
57470
  devDependencies: {
@@ -57587,7 +57600,7 @@ var createBiLogger2 = async ({
57587
57600
  // src/components/CreateAppCommand.tsx
57588
57601
  init_esm_shims();
57589
57602
  var import_react120 = __toESM(require_react(), 1);
57590
- var import_variant37 = __toESM(require_lib(), 1);
57603
+ var import_variant38 = __toESM(require_lib(), 1);
57591
57604
 
57592
57605
  // src/components/WelcomeMessage.tsx
57593
57606
  init_esm_shims();
@@ -58261,11 +58274,11 @@ var import_validate_npm_package_name = __toESM(require_lib2(), 1);
58261
58274
 
58262
58275
  // src/validations/result.ts
58263
58276
  init_esm_shims();
58264
- var import_variant24 = __toESM(require_lib(), 1);
58265
- var Result = (0, import_variant24.variant)(
58266
- (0, import_variant24.onTerms)(({ T }) => ({
58267
- Error: (0, import_variant24.payload)(T),
58268
- Ok: import_variant24.nil
58277
+ var import_variant25 = __toESM(require_lib(), 1);
58278
+ var Result = (0, import_variant25.variant)(
58279
+ (0, import_variant25.onTerms)(({ T }) => ({
58280
+ Error: (0, import_variant25.payload)(T),
58281
+ Ok: import_variant25.nil
58269
58282
  }))
58270
58283
  );
58271
58284
 
@@ -58355,7 +58368,7 @@ var AuthProvider2 = ({ userInfo: userInfo2, children }) => {
58355
58368
  // src/components/Questions/Questions.tsx
58356
58369
  init_esm_shims();
58357
58370
  var import_react115 = __toESM(require_react(), 1);
58358
- var import_variant34 = __toESM(require_lib(), 1);
58371
+ var import_variant35 = __toESM(require_lib(), 1);
58359
58372
 
58360
58373
  // ../dev-center-client/src/index.ts
58361
58374
  init_esm_shims();
@@ -66757,14 +66770,14 @@ function useDevCenterClient({
66757
66770
 
66758
66771
  // src/parse-command-options.ts
66759
66772
  init_esm_shims();
66760
- var import_variant25 = __toESM(require_lib(), 1);
66773
+ var import_variant26 = __toESM(require_lib(), 1);
66761
66774
  var import_kebabCase2 = __toESM(require_kebabCase(), 1);
66762
66775
  import { join as join6, resolve as resolve3 } from "node:path";
66763
- var TemplateSource = (0, import_variant25.variant)({
66764
- App: (0, import_variant25.payload)(),
66765
- GitRepo: (0, import_variant25.fields)(),
66766
- Local: (0, import_variant25.fields)(),
66767
- Default: (0, import_variant25.constant)({ path: resolve3(__dirname, "../templates/app") })
66776
+ var TemplateSource = (0, import_variant26.variant)({
66777
+ App: (0, import_variant26.payload)(),
66778
+ GitRepo: (0, import_variant26.fields)(),
66779
+ Local: (0, import_variant26.fields)(),
66780
+ Default: (0, import_variant26.constant)({ path: resolve3(__dirname, "../templates/app") })
66768
66781
  });
66769
66782
  async function parseTemplateOptions(options, { devCenterClient }) {
66770
66783
  if (options.template) {
@@ -66797,8 +66810,8 @@ async function parseTemplateOptions(options, { devCenterClient }) {
66797
66810
  return TemplateSource.Local({ path: options.templatePath });
66798
66811
  }
66799
66812
  }
66800
- var AppNameOptions = (0, import_variant25.variant)({
66801
- Provided: (0, import_variant25.fields)(),
66813
+ var AppNameOptions = (0, import_variant26.variant)({
66814
+ Provided: (0, import_variant26.fields)(),
66802
66815
  Missing: {}
66803
66816
  });
66804
66817
  async function parseAppNameOptions(targetParentFolder2, options) {
@@ -66814,7 +66827,7 @@ async function parseAppNameOptions(targetParentFolder2, options) {
66814
66827
  });
66815
66828
  }
66816
66829
  const npmValidationErrors = await validatePackageName(packageName);
66817
- if ((0, import_variant25.isType)(npmValidationErrors, "Error")) {
66830
+ if ((0, import_variant26.isType)(npmValidationErrors, "Error")) {
66818
66831
  throw new CliError({
66819
66832
  code: CliErrorCode.AppNameArgumentIsInvalid({
66820
66833
  errorMessage: `Invalid package name "${packageName}". Please fix the following issues: ${npmValidationErrors.payload.join(", ")}`
@@ -66829,7 +66842,7 @@ async function parseAppNameOptions(targetParentFolder2, options) {
66829
66842
  async function parseCommandOptions(targetParentFolder2, options, clients) {
66830
66843
  const template = await parseTemplateOptions(options, clients);
66831
66844
  const appNameOptions = await parseAppNameOptions(targetParentFolder2, options);
66832
- if ((0, import_variant25.isType)(appNameOptions, "Provided") && !template) {
66845
+ if ((0, import_variant26.isType)(appNameOptions, "Provided") && !template) {
66833
66846
  throw new CliError({
66834
66847
  code: CliErrorCode.AppNameArgumentIsInvalid({
66835
66848
  errorMessage: "An application name was provided, but no template was specified. Please specify a template when defining the application name."
@@ -66842,8 +66855,8 @@ async function parseCommandOptions(targetParentFolder2, options, clients) {
66842
66855
 
66843
66856
  // src/types.ts
66844
66857
  init_esm_shims();
66845
- var import_variant26 = __toESM(require_lib(), 1);
66846
- var DeveloperAppsStatus = (0, import_variant26.variant)({
66858
+ var import_variant27 = __toESM(require_lib(), 1);
66859
+ var DeveloperAppsStatus = (0, import_variant27.variant)({
66847
66860
  NoApps: {},
66848
66861
  FailedLoadingApps: {},
66849
66862
  Available: {}
@@ -66852,16 +66865,16 @@ var DeveloperAppsStatus = (0, import_variant26.variant)({
66852
66865
  // src/components/CreateAppOrExtendExisting.tsx
66853
66866
  init_esm_shims();
66854
66867
  var import_react101 = __toESM(require_react(), 1);
66855
- var import_variant27 = __toESM(require_lib(), 1);
66868
+ var import_variant28 = __toESM(require_lib(), 1);
66856
66869
  var CreateAppOrExtendExisting = ({
66857
66870
  developerAppsStatus,
66858
66871
  onStartCreationFlow
66859
66872
  }) => {
66860
66873
  const { t: t3 } = useTranslation();
66861
66874
  const { cliFlowStepAnswered } = useCreateAppBi();
66862
- const exisitingAvailabilty = (0, import_variant27.match)(
66875
+ const exisitingAvailabilty = (0, import_variant28.match)(
66863
66876
  developerAppsStatus,
66864
- (0, import_variant27.lookup)({
66877
+ (0, import_variant28.lookup)({
66865
66878
  FailedLoadingApps: SelectOptionAvailability.Disabled({
66866
66879
  reason: t3("create_app.create_new_or_extend.failed_fetching_apps")
66867
66880
  }),
@@ -66902,7 +66915,7 @@ var CreateAppOrExtendExisting = ({
66902
66915
  // src/components/Questions/NewAppFlow.tsx
66903
66916
  init_esm_shims();
66904
66917
  var import_react111 = __toESM(require_react(), 1);
66905
- var import_variant32 = __toESM(require_lib(), 1);
66918
+ var import_variant33 = __toESM(require_lib(), 1);
66906
66919
 
66907
66920
  // src/components/ChooseAppName.tsx
66908
66921
  init_esm_shims();
@@ -66932,7 +66945,7 @@ var ChooseAppName = ({ onSubmit }) => {
66932
66945
  // src/components/ChoosePackageName.tsx
66933
66946
  init_esm_shims();
66934
66947
  var import_react104 = __toESM(require_react(), 1);
66935
- var import_variant28 = __toESM(require_lib(), 1);
66948
+ var import_variant29 = __toESM(require_lib(), 1);
66936
66949
  import { join as join7, relative } from "node:path";
66937
66950
  var import_kebabCase3 = __toESM(require_kebabCase(), 1);
66938
66951
 
@@ -66981,13 +66994,13 @@ var ChoosePackageName = ({
66981
66994
  const defaultPackageName = (0, import_react104.useMemo)(() => {
66982
66995
  return (0, import_kebabCase3.default)(appName);
66983
66996
  }, [appName]);
66984
- const isMonorepo = (0, import_variant28.isType)(repoType, RepoType.Monorepo);
66997
+ const isMonorepo = (0, import_variant29.isType)(repoType, RepoType.Monorepo);
66985
66998
  async function validate3(packageName2) {
66986
66999
  if (!await validateDirectory(join7(targetParentFolder2, packageName2))) {
66987
67000
  return t3("validation_errors.invalid_directory");
66988
67001
  }
66989
67002
  const npmValidationErrors = await validatePackageName(packageName2);
66990
- return (0, import_variant28.match)(npmValidationErrors, {
67003
+ return (0, import_variant29.match)(npmValidationErrors, {
66991
67004
  Ok: () => true,
66992
67005
  Error: ({ payload: payload6 }) => t3("validation_errors.invalid_package_name", {
66993
67006
  errors: payload6.join(", ")
@@ -67085,7 +67098,7 @@ var ChooseAppCreationSource = ({
67085
67098
  // src/components/ChooseTemplate.tsx
67086
67099
  init_esm_shims();
67087
67100
  var import_react106 = __toESM(require_react(), 1);
67088
- var import_variant29 = __toESM(require_lib(), 1);
67101
+ var import_variant30 = __toESM(require_lib(), 1);
67089
67102
  var ChooseTemplate = ({ onSelected }) => {
67090
67103
  const { t: t3 } = useTranslation();
67091
67104
  const { cliFlowStepAnswered } = useCreateAppBi();
@@ -67104,7 +67117,7 @@ var ChooseTemplate = ({ onSelected }) => {
67104
67117
  })
67105
67118
  };
67106
67119
  }, []);
67107
- return /* @__PURE__ */ import_react106.default.createElement(import_react106.default.Fragment, null, (0, import_variant29.match)(status, {
67120
+ return /* @__PURE__ */ import_react106.default.createElement(import_react106.default.Fragment, null, (0, import_variant30.match)(status, {
67108
67121
  Error: () => null,
67109
67122
  Loading: () => /* @__PURE__ */ import_react106.default.createElement(Spinner2, null),
67110
67123
  Success: ({ result: { appTemplatesOptions } }) => /* @__PURE__ */ import_react106.default.createElement(import_react106.default.Fragment, null, /* @__PURE__ */ import_react106.default.createElement(
@@ -67185,8 +67198,8 @@ var AppRegistered = ({ appName }) => {
67185
67198
  // src/components/mcp/ConfigMcp.tsx
67186
67199
  init_esm_shims();
67187
67200
  var import_react110 = __toESM(require_react(), 1);
67188
- var import_variant30 = __toESM(require_lib(), 1);
67189
- var IdeForMcp = (0, import_variant30.variant)({
67201
+ var import_variant31 = __toESM(require_lib(), 1);
67202
+ var IdeForMcp = (0, import_variant31.variant)({
67190
67203
  VsCode: {},
67191
67204
  Cursor: {},
67192
67205
  ClaudeCode: {}
@@ -67243,17 +67256,17 @@ var ConfigMcp = ({ onSelected }) => {
67243
67256
 
67244
67257
  // src/components/mcp/getMcpResult.ts
67245
67258
  init_esm_shims();
67246
- var import_variant31 = __toESM(require_lib(), 1);
67259
+ var import_variant32 = __toESM(require_lib(), 1);
67247
67260
  import { join as join8 } from "node:path";
67248
- var McpConfigResult = (0, import_variant31.variant)({
67249
- Created: (0, import_variant31.fields)(),
67261
+ var McpConfigResult = (0, import_variant32.variant)({
67262
+ Created: (0, import_variant32.fields)(),
67250
67263
  Canceled: {}
67251
67264
  });
67252
67265
  var getMcpData = ({
67253
67266
  ideForMcp,
67254
67267
  packageFolder
67255
67268
  }) => {
67256
- const mcpPath = (0, import_variant31.match)(ideForMcp, {
67269
+ const mcpPath = (0, import_variant32.match)(ideForMcp, {
67257
67270
  Cursor: () => join8(packageFolder, ".cursor", "mcp.json"),
67258
67271
  VsCode: () => join8(packageFolder, ".vscode", "mcp.json"),
67259
67272
  ClaudeCode: () => join8(packageFolder, ".mcp.json")
@@ -67261,9 +67274,9 @@ var getMcpData = ({
67261
67274
  return McpConfigResult.Created({
67262
67275
  mcpPath,
67263
67276
  ideForMcp,
67264
- docsUrl: (0, import_variant31.match)(
67277
+ docsUrl: (0, import_variant32.match)(
67265
67278
  ideForMcp,
67266
- (0, import_variant31.lookup)({
67279
+ (0, import_variant32.lookup)({
67267
67280
  Cursor: "https://cursor.com/docs/context/mcp",
67268
67281
  VsCode: "https://code.visualstudio.com/docs/copilot/chat/mcp-servers",
67269
67282
  ClaudeCode: "https://docs.anthropic.com/en/docs/claude-code/mcp"
@@ -67300,9 +67313,9 @@ var NewAppFlow = ({
67300
67313
  const [packageName, setPackageName] = (0, import_react111.useState)();
67301
67314
  const createAppCallback = useAsyncCallback3(
67302
67315
  async (_2, { appName: appName2, packageName: packageName2, template, mcpConfigResult }) => {
67303
- const { id: appId } = await (0, import_variant32.match)(
67316
+ const { id: appId } = await (0, import_variant33.match)(
67304
67317
  template,
67305
- (0, import_variant32.partial)({
67318
+ (0, import_variant33.partial)({
67306
67319
  App: ({ payload: payload6 }) => devCenterClient.createAppFromTemplate(
67307
67320
  {
67308
67321
  name: appName2,
@@ -67328,7 +67341,7 @@ var NewAppFlow = ({
67328
67341
  };
67329
67342
  }
67330
67343
  );
67331
- const autoCreateApp = (0, import_variant32.isType)(appNameFromOptions, "Provided") && !!templateFromOptions;
67344
+ const autoCreateApp = (0, import_variant33.isType)(appNameFromOptions, "Provided") && !!templateFromOptions;
67332
67345
  useAsync2(async () => {
67333
67346
  if (autoCreateApp) {
67334
67347
  return createAppCallback.execute({
@@ -67346,7 +67359,7 @@ var NewAppFlow = ({
67346
67359
  targetParentFolder: targetParentFolder2,
67347
67360
  repoType,
67348
67361
  onSelected: (userPackageName) => {
67349
- if ((0, import_variant32.isType)(repoType, RepoType.Monorepo)) {
67362
+ if ((0, import_variant33.isType)(repoType, RepoType.Monorepo)) {
67350
67363
  void createAppCallback.execute({
67351
67364
  appName,
67352
67365
  packageName: userPackageName,
@@ -67374,7 +67387,7 @@ var NewAppFlow = ({
67374
67387
  });
67375
67388
  }
67376
67389
  }
67377
- )), (0, import_variant32.match)(createAppCallback.status, {
67390
+ )), (0, import_variant33.match)(createAppCallback.status, {
67378
67391
  Error: () => null,
67379
67392
  Loading: () => /* @__PURE__ */ import_react111.default.createElement(RegisteringApp, null),
67380
67393
  Success: ({ result }) => /* @__PURE__ */ import_react111.default.createElement(AppRegistered, { ...result }),
@@ -67463,11 +67476,11 @@ var ExistingAppFlow = ({
67463
67476
  // src/components/StartFromTemplateMessage.tsx
67464
67477
  init_esm_shims();
67465
67478
  var import_react114 = __toESM(require_react(), 1);
67466
- var import_variant33 = __toESM(require_lib(), 1);
67479
+ var import_variant34 = __toESM(require_lib(), 1);
67467
67480
  var StartFromTemplateMessage = ({
67468
67481
  template
67469
67482
  }) => {
67470
- const messageComponent = (0, import_variant33.match)(template, {
67483
+ const messageComponent = (0, import_variant34.match)(template, {
67471
67484
  App: ({ payload: payload6 }) => /* @__PURE__ */ import_react114.default.createElement(
67472
67485
  Trans2,
67473
67486
  {
@@ -67545,7 +67558,7 @@ var Questions = ({
67545
67558
  };
67546
67559
  }
67547
67560
  }, []);
67548
- return (0, import_variant34.match)(status, {
67561
+ return (0, import_variant35.match)(status, {
67549
67562
  Error: () => null,
67550
67563
  Loading: () => /* @__PURE__ */ import_react115.default.createElement(Spinner2, { text: t3("general.loading") }),
67551
67564
  Success: ({
@@ -67563,7 +67576,7 @@ var Questions = ({
67563
67576
  }
67564
67577
  ));
67565
67578
  }
67566
- if ((0, import_variant34.isType)(developerAppsStatus, "NoApps")) {
67579
+ if ((0, import_variant35.isType)(developerAppsStatus, "NoApps")) {
67567
67580
  return /* @__PURE__ */ import_react115.default.createElement(
67568
67581
  NewAppFlow,
67569
67582
  {
@@ -67601,7 +67614,7 @@ var Questions = ({
67601
67614
 
67602
67615
  // src/tasks.ts
67603
67616
  init_esm_shims();
67604
- var import_variant35 = __toESM(require_lib(), 1);
67617
+ var import_variant36 = __toESM(require_lib(), 1);
67605
67618
  import { mkdir } from "node:fs/promises";
67606
67619
  import { join as join9 } from "node:path";
67607
67620
  function getTasks({
@@ -67635,7 +67648,7 @@ function getTasks({
67635
67648
  repoType,
67636
67649
  template,
67637
67650
  templateParams,
67638
- ideForMcp: (0, import_variant35.match)(mcpConfigResult, {
67651
+ ideForMcp: (0, import_variant36.match)(mcpConfigResult, {
67639
67652
  Created: ({ ideForMcp }) => ideForMcp,
67640
67653
  Canceled: () => {
67641
67654
  }
@@ -67728,7 +67741,7 @@ function getTasks({
67728
67741
  successText: t3("create_app.generate_project.git_commit.done")
67729
67742
  };
67730
67743
  const optionalInstallTask = skipInstall ? [] : [installDependenciesTask, addWixSkillsTask];
67731
- return (0, import_variant35.match)(repoType, {
67744
+ return (0, import_variant36.match)(repoType, {
67732
67745
  None: () => [
67733
67746
  generateProjectTask,
67734
67747
  ...skipGit ? [] : [initializeGitTask],
@@ -67824,8 +67837,8 @@ var TaskList = ({ tasks, totalTaskCount }) => {
67824
67837
  // src/task-runner.ts
67825
67838
  init_esm_shims();
67826
67839
  var import_react118 = __toESM(require_react(), 1);
67827
- var import_variant36 = __toESM(require_lib(), 1);
67828
- var TaskRunnerStatus = (0, import_variant36.variant)({
67840
+ var import_variant37 = __toESM(require_lib(), 1);
67841
+ var TaskRunnerStatus = (0, import_variant37.variant)({
67829
67842
  Idle: {},
67830
67843
  Running: (runningTasks, totalTaskCount) => {
67831
67844
  const taskStatuses = runningTasks.map((task, index) => {
@@ -67910,7 +67923,7 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
67910
67923
  const tasks = getTasks(data, t3);
67911
67924
  await executeTaskRunner(tasks);
67912
67925
  }
67913
- return (0, import_variant37.match)(status, {
67926
+ return (0, import_variant38.match)(status, {
67914
67927
  Error: () => null,
67915
67928
  Loading: () => /* @__PURE__ */ import_react120.default.createElement(Spinner2, { text: t3("general.loading") }),
67916
67929
  Success: ({ result: { repoType, packageManager } }) => {
@@ -67943,10 +67956,10 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
67943
67956
  })
67944
67957
  }
67945
67958
  )),
67946
- generationData && (0, import_variant37.match)(taskRunnerStatus, {
67959
+ generationData && (0, import_variant38.match)(taskRunnerStatus, {
67947
67960
  Idle: () => null,
67948
67961
  Running: (status2) => /* @__PURE__ */ import_react120.default.createElement(GenerationProgress, { ...status2 }),
67949
- Done: (status2) => /* @__PURE__ */ import_react120.default.createElement(import_react120.default.Fragment, null, /* @__PURE__ */ import_react120.default.createElement(GenerationProgress, { ...status2 }), (0, import_variant37.match)(generationData.mcpConfigResult, {
67962
+ Done: (status2) => /* @__PURE__ */ import_react120.default.createElement(import_react120.default.Fragment, null, /* @__PURE__ */ import_react120.default.createElement(GenerationProgress, { ...status2 }), (0, import_variant38.match)(generationData.mcpConfigResult, {
67950
67963
  Created: ({ mcpPath, docsUrl }) => /* @__PURE__ */ import_react120.default.createElement(McpConfigCreated, { mcpPath, docsUrl }),
67951
67964
  Canceled: () => null
67952
67965
  }), /* @__PURE__ */ import_react120.default.createElement(