@wix/ditto-codegen-public 1.0.408 → 1.0.409

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 +3 -2
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -15923,7 +15923,7 @@ var require_derived_progress = __commonJS({
15923
15923
  var DerivedProgressReporter = class {
15924
15924
  constructor(progressHandler) {
15925
15925
  this.progressHandler = progressHandler;
15926
- this.reported = /* @__PURE__ */ new Set();
15926
+ this.localReported = /* @__PURE__ */ new Set();
15927
15927
  this.queue = Promise.resolve();
15928
15928
  }
15929
15929
  handle(tool, state, ctx) {
@@ -15932,7 +15932,8 @@ var require_derived_progress = __commonJS({
15932
15932
  const kind = ctx.store?.kind;
15933
15933
  if (!kind || !DERIVED_FLOW_KINDS.has(kind))
15934
15934
  return this.queue;
15935
- const steps = deriveProgressSteps(tool, state).filter((step) => !this.reported.has(step) && this.reported.add(step));
15935
+ const reported = ctx.store ? ctx.store.reportedProgressSteps ??= /* @__PURE__ */ new Set() : this.localReported;
15936
+ const steps = deriveProgressSteps(tool, state).filter((step) => !reported.has(step) && reported.add(step));
15936
15937
  if (!steps.length)
15937
15938
  return this.queue;
15938
15939
  this.queue = this.queue.then(async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.408",
3
+ "version": "1.0.409",
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": "4b64ba2a210fb2af7b1d174f35282c93f727d9cf617977cbf8228a4e"
32
+ "falconPackageHash": "68f983385e00104afce70a71b9502441262b324a54ffc16ae567ff5e"
33
33
  }