@wix/ditto-codegen-public 1.0.407 → 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 +6 -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 () => {
@@ -21783,6 +21784,7 @@ var require_biEvents = __commonJS({
21783
21784
  dev_machine_session_id: report.devMachineSessionId,
21784
21785
  run_kind: report.runKind,
21785
21786
  environment: report.environment,
21787
+ app_id: report.appId,
21786
21788
  msid: report.msid
21787
21789
  };
21788
21790
  logger_12.logger.info("Reporting BI event 299 (generic session start)", codegenAgentParams);
@@ -21826,6 +21828,7 @@ var require_biEvents = __commonJS({
21826
21828
  dev_machine_session_id: report.devMachineSessionId,
21827
21829
  run_kind: report.runKind,
21828
21830
  environment: report.environment,
21831
+ app_id: report.appId,
21829
21832
  agent_output: report.agentOutput,
21830
21833
  job_status: report.taskStatus ? JOB_STATUS_MAP[report.taskStatus] ?? report.taskStatus : void 0,
21831
21834
  job_skills_used: report.skillsUsed ? skillsArrayToMap(report.skillsUsed) : void 0,
@@ -21872,6 +21875,7 @@ var require_biEvents = __commonJS({
21872
21875
  dev_machine_session_id: report.devMachineSessionId,
21873
21876
  run_kind: report.runKind,
21874
21877
  environment: report.environment,
21878
+ app_id: report.appId,
21875
21879
  agent_output: report.agentOutput,
21876
21880
  error_desc: report.errorDesc,
21877
21881
  error_massage: report.errorMessage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.407",
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": "5263f96dd353d10c30f46a86ba26c43cfc4901eadfadc6bb73b7db9f"
32
+ "falconPackageHash": "68f983385e00104afce70a71b9502441262b324a54ffc16ae567ff5e"
33
33
  }