@wix/ditto-codegen-public 1.0.458 → 1.0.459

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/out.js +4 -2
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -13081,9 +13081,11 @@ var require_checkpoint = __commonJS({
13081
13081
  }
13082
13082
  outcome = { status: "failed", error };
13083
13083
  const checkpointError = readCheckpointErrorMessage(error);
13084
+ if (checkpointError && error instanceof Error)
13085
+ error.message = checkpointError;
13084
13086
  host.logger.error("[Checkpoint] create failed", {
13085
13087
  projectId: job.projectId,
13086
- error: error instanceof Error ? error.message : String(error)
13088
+ error: checkpointError
13087
13089
  });
13088
13090
  if (!checkpointExists) {
13089
13091
  await host.jobs.updatePayload({ jobId: job.jobId, taskId: job.taskId }, {
@@ -16526,7 +16528,7 @@ var require_plugins_runtime = __commonJS({
16526
16528
  const requestId = http_client_1.HttpClient.isHttpError(pluginError) && pluginError.requestId || void 0;
16527
16529
  await codeGenerationService_12.codeGenerationService.handlePluginFailure({
16528
16530
  pluginName,
16529
- error: (0, utils_12.errorStack)(pluginError),
16531
+ error: http_client_1.HttpClient.isHttpError(pluginError) ? errorMessage(pluginError) : (0, utils_12.errorStack)(pluginError),
16530
16532
  requestId,
16531
16533
  jobId: store?.jobId,
16532
16534
  metasiteId: store?.metasiteId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.458",
3
+ "version": "1.0.459",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -29,5 +29,5 @@
29
29
  "esbuild": "^0.27.2",
30
30
  "vitest": "^4.0.16"
31
31
  },
32
- "falconPackageHash": "3e1ee6ac3b0a2480ec489dfc8d1a425a79116fbe0f25a1c75c07a414"
32
+ "falconPackageHash": "970e850b808573512383361f099e1a46fb60d2fd18b3c2b39a735c14"
33
33
  }