@wix/ditto-codegen-public 1.0.221 → 1.0.223

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 +7 -0
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -7662,6 +7662,11 @@ var require_CodeGenService = __commonJS({
7662
7662
  }));
7663
7663
  };
7664
7664
  this.updateJobStatus = async (jobId, status) => {
7665
+ console.log("Updating job status", {
7666
+ jobId,
7667
+ status,
7668
+ ambassadorStatus: this.toAmbassadorStatus(status)
7669
+ });
7665
7670
  await this.httpClient.request((0, http_1.updateJob)({
7666
7671
  projectId: this.projectId,
7667
7672
  job: {
@@ -107227,6 +107232,7 @@ var require_init_codegen = __commonJS({
107227
107232
  var runInitCodegenFlow = async (blueprint, history) => {
107228
107233
  const localJobContext = job_context_storage_12.jobContextStorage.getStore();
107229
107234
  console.log(`[Init] Starting init codegen task: jobId=${localJobContext?.jobId}, taskId=${localJobContext?.taskId}`);
107235
+ await codeGenerationService_12.codeGenerationService.updateJobStatus(localJobContext.jobId, ditto_codegen_types_12.Status.RUNNING);
107230
107236
  await codeGenerationService_12.codeGenerationService.updateTask(localJobContext.jobId, localJobContext.taskId, ditto_codegen_types_12.Status.RUNNING, {});
107231
107237
  console.log(`[Init] Marked task RUNNING: jobId=${localJobContext.jobId}, taskId=${localJobContext.taskId}`);
107232
107238
  try {
@@ -321297,6 +321303,7 @@ var require_iterate_codegen = __commonJS({
321297
321303
  var runIterateCodegenFlow = async (chatHistory) => {
321298
321304
  const localJobContext = job_context_storage_12.jobContextStorage.getStore();
321299
321305
  console.log(`[Iterate] Starting iterate codegen task: jobId=${localJobContext?.jobId}, taskId=${localJobContext?.taskId}`);
321306
+ await codeGenerationService_12.codeGenerationService.updateJobStatus(localJobContext.jobId, ditto_codegen_types_12.Status.RUNNING);
321300
321307
  await codeGenerationService_12.codeGenerationService.updateTask(localJobContext.jobId, localJobContext.taskId, ditto_codegen_types_12.Status.RUNNING, {});
321301
321308
  console.log(`[Init] Marked task RUNNING: jobId=${localJobContext.jobId}, taskId=${localJobContext.taskId}`);
321302
321309
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.221",
3
+ "version": "1.0.223",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.27.2"
26
26
  },
27
- "falconPackageHash": "f685e53eb204f432a8444894d84209d942ed0d846820b3ea10a2a150"
27
+ "falconPackageHash": "b4a09affaa1c6925b5e726fbc1140c778b980df29e8e7cb10648460f"
28
28
  }