@wix/ditto-codegen-public 1.0.416 → 1.0.417
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 +1 -42
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -11814,43 +11814,6 @@ skills already cover. Read-only.`;
|
|
|
11814
11814
|
}
|
|
11815
11815
|
});
|
|
11816
11816
|
|
|
11817
|
-
// dist/experiments.js
|
|
11818
|
-
var require_experiments = __commonJS({
|
|
11819
|
-
"dist/experiments.js"(exports2) {
|
|
11820
|
-
"use strict";
|
|
11821
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11822
|
-
exports2.isExperimentEnabled = isExperimentEnabled;
|
|
11823
|
-
exports2.isUseWixAiGatewayEnabled = isUseWixAiGatewayEnabled;
|
|
11824
|
-
var logger_12 = require_logger();
|
|
11825
|
-
var parsedExperiments = null;
|
|
11826
|
-
function getExperiments() {
|
|
11827
|
-
if (parsedExperiments !== null) {
|
|
11828
|
-
return parsedExperiments;
|
|
11829
|
-
}
|
|
11830
|
-
const raw = process.env.CODEGEN_EXPERIMENTS;
|
|
11831
|
-
if (!raw) {
|
|
11832
|
-
parsedExperiments = {};
|
|
11833
|
-
return parsedExperiments;
|
|
11834
|
-
}
|
|
11835
|
-
try {
|
|
11836
|
-
parsedExperiments = JSON.parse(raw);
|
|
11837
|
-
} catch (error) {
|
|
11838
|
-
logger_12.logger.error("[Experiments] Failed to parse CODEGEN_EXPERIMENTS", {
|
|
11839
|
-
error: error instanceof Error ? error.message : String(error)
|
|
11840
|
-
});
|
|
11841
|
-
parsedExperiments = {};
|
|
11842
|
-
}
|
|
11843
|
-
return parsedExperiments;
|
|
11844
|
-
}
|
|
11845
|
-
function isExperimentEnabled(specName) {
|
|
11846
|
-
return getExperiments()[specName] === "true";
|
|
11847
|
-
}
|
|
11848
|
-
function isUseWixAiGatewayEnabled() {
|
|
11849
|
-
return isExperimentEnabled("specs.ditto.CodegenUseWixAiGateway");
|
|
11850
|
-
}
|
|
11851
|
-
}
|
|
11852
|
-
});
|
|
11853
|
-
|
|
11854
11817
|
// dist/opencode-integration/rules-writer.js
|
|
11855
11818
|
var require_rules_writer = __commonJS({
|
|
11856
11819
|
"dist/opencode-integration/rules-writer.js"(exports2) {
|
|
@@ -15168,7 +15131,6 @@ var require_config = __commonJS({
|
|
|
15168
15131
|
var ditto_codegen_types_12 = require_dist4();
|
|
15169
15132
|
var constants_1 = require_constants5();
|
|
15170
15133
|
var subagents_1 = require_subagents();
|
|
15171
|
-
var experiments_1 = require_experiments();
|
|
15172
15134
|
var rules_writer_12 = require_rules_writer();
|
|
15173
15135
|
var node_modules_guard_12 = require_node_modules_guard();
|
|
15174
15136
|
var environments_12 = require_environments();
|
|
@@ -15178,10 +15140,7 @@ var require_config = __commonJS({
|
|
|
15178
15140
|
exports2.DEFAULT_SMALL_MODEL = "anthropic/claude-haiku-4-5-20251001";
|
|
15179
15141
|
var AI_PROXY_BASE_URL = process.env.CODEGEN_AI_PROXY_BASE_URL || "http://localhost:3001";
|
|
15180
15142
|
function getAnthropicBaseUrl(projectId) {
|
|
15181
|
-
|
|
15182
|
-
return `${AI_PROXY_BASE_URL}/projects/${projectId}/genai/anthropic`;
|
|
15183
|
-
}
|
|
15184
|
-
return `${AI_PROXY_BASE_URL}/projects/${projectId}/anthropic`;
|
|
15143
|
+
return `${AI_PROXY_BASE_URL}/projects/${projectId}/genai/anthropic`;
|
|
15185
15144
|
}
|
|
15186
15145
|
var currentAccessToken = process.env.WIX_ACCESS_TOKEN;
|
|
15187
15146
|
function setCurrentAccessToken(token) {
|
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.417",
|
|
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": "
|
|
32
|
+
"falconPackageHash": "c636d47542dc1c6a6ad09d6c3e6e36bfdf7f661cd340fcca90e2f1d6"
|
|
33
33
|
}
|