@wix/ditto-codegen-public 1.0.18 → 1.0.19
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.
- package/dist/out.js +13 -8
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -120520,6 +120520,7 @@ var require_orchestrator = __commonJS({
|
|
|
120520
120520
|
super();
|
|
120521
120521
|
this.agentsFactory = agentsFactory;
|
|
120522
120522
|
this.apiKey = apiKey;
|
|
120523
|
+
this.shouldUseFixAgent = process.env.USE_AUTOFIX === "true";
|
|
120523
120524
|
}
|
|
120524
120525
|
// Typed helpers
|
|
120525
120526
|
onEvent(event, listener) {
|
|
@@ -120711,10 +120712,12 @@ var require_orchestrator = __commonJS({
|
|
|
120711
120712
|
outputPath,
|
|
120712
120713
|
durationMs: durationMsCodeGeneration
|
|
120713
120714
|
});
|
|
120714
|
-
|
|
120715
|
-
|
|
120716
|
-
|
|
120717
|
-
|
|
120715
|
+
if (this.shouldUseFixAgent) {
|
|
120716
|
+
await this.startFixFlow({
|
|
120717
|
+
projectDir: outputPath,
|
|
120718
|
+
apiKey: this.apiKey
|
|
120719
|
+
});
|
|
120720
|
+
}
|
|
120718
120721
|
const durationMs = Date.now() - start;
|
|
120719
120722
|
this.emitEvent("finish", { outputPath, durationMs });
|
|
120720
120723
|
}
|
|
@@ -120785,10 +120788,12 @@ var require_orchestrator = __commonJS({
|
|
|
120785
120788
|
outputPath,
|
|
120786
120789
|
durationMs: durationMsCodeGeneration
|
|
120787
120790
|
});
|
|
120788
|
-
|
|
120789
|
-
|
|
120790
|
-
|
|
120791
|
-
|
|
120791
|
+
if (this.shouldUseFixAgent) {
|
|
120792
|
+
await this.startFixFlow({
|
|
120793
|
+
projectDir: outputPath,
|
|
120794
|
+
apiKey: this.apiKey
|
|
120795
|
+
});
|
|
120796
|
+
}
|
|
120792
120797
|
const durationMs = Date.now() - start;
|
|
120793
120798
|
this.emitEvent("finish:iteration", { outputPath, durationMs });
|
|
120794
120799
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
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.25.9"
|
|
26
26
|
},
|
|
27
|
-
"falconPackageHash": "
|
|
27
|
+
"falconPackageHash": "6e23c9a5f3946572cfa8396e568764b65d1f4254fc1256a99d9ac401"
|
|
28
28
|
}
|