@wix/ditto-codegen-public 1.0.458 → 1.0.460

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 +6 -4
  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,
@@ -23131,7 +23133,7 @@ var require_opencode_iterate = __commonJS({
23131
23133
  });
23132
23134
  }
23133
23135
  await codeGenerationService_12.codeGenerationService.updateTask(jobId, taskId, ditto_codegen_types_12.Status.COMPLETED, {
23134
- taskOutput: { files }
23136
+ taskOutput: { files, agentMessage: result.agentMessage }
23135
23137
  });
23136
23138
  await (0, bi_events_1.reportSessionEnd)({
23137
23139
  ...biBase,
@@ -23507,7 +23509,7 @@ var require_opencode_fix_git_conflicts = __commonJS({
23507
23509
  });
23508
23510
  }
23509
23511
  await codeGenerationService_12.codeGenerationService.updateTask(jobId, taskId, ditto_codegen_types_12.Status.COMPLETED, {
23510
- taskOutput: { files }
23512
+ taskOutput: { files, agentMessage: result.agentMessage }
23511
23513
  });
23512
23514
  await (0, bi_events_1.reportSessionEnd)({
23513
23515
  ...biBase,
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.460",
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": "e6561e5a727b55a245386f362f90a3b9067acd7032132ad063fdcbc5"
33
33
  }