@wix/ditto-codegen-public 1.0.469 → 1.0.471
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 +14 -3
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -546,7 +546,16 @@ var require_context = __commonJS({
|
|
|
546
546
|
var path_12 = __importDefault2(require("path"));
|
|
547
547
|
var provisioned = {
|
|
548
548
|
CODEGEN_JOB_DELIVERY: process.env.CODEGEN_JOB_DELIVERY,
|
|
549
|
-
CODEGEN_JOB_FETCH_PORT: process.env.CODEGEN_JOB_FETCH_PORT
|
|
549
|
+
CODEGEN_JOB_FETCH_PORT: process.env.CODEGEN_JOB_FETCH_PORT,
|
|
550
|
+
// The model-comparison harness pins each CLI via its spawn env, not the shared .env.
|
|
551
|
+
CODEGEN_MODEL_OVERRIDE: process.env.CODEGEN_MODEL_OVERRIDE,
|
|
552
|
+
CODEGEN_SMALL_MODEL_OVERRIDE: process.env.CODEGEN_SMALL_MODEL_OVERRIDE,
|
|
553
|
+
CODEGEN_ENVIRONMENT: process.env.CODEGEN_ENVIRONMENT,
|
|
554
|
+
OUTPUT_PATH: process.env.OUTPUT_PATH,
|
|
555
|
+
SANDBOX_ID: process.env.SANDBOX_ID,
|
|
556
|
+
CODEGEN_FRESH_SESSION: process.env.CODEGEN_FRESH_SESSION,
|
|
557
|
+
CODE_IDENTIFIER: process.env.CODE_IDENTIFIER,
|
|
558
|
+
PROJECT_ID: process.env.PROJECT_ID
|
|
550
559
|
};
|
|
551
560
|
dotenv_1.default.config({ path: path_12.default.join(__dirname, "../.env"), override: true });
|
|
552
561
|
for (const [key, value] of Object.entries(provisioned)) {
|
|
@@ -14252,6 +14261,7 @@ For any persistent-data need (CMS collections, tables, schemas, data models):
|
|
|
14252
14261
|
|
|
14253
14262
|
1. **You MUST invoke the \`wix-site-data-collection\` skill before scaffolding or writing any collection code.**
|
|
14254
14263
|
2. **Do NOT** create data-collection CLI extension files manually (e.g. \`src/extensions/backend/data-collections/*\`).
|
|
14264
|
+
3. **If the skill's discovery finds no relevant collection, create it yourself** as the skill describes, before writing code that uses it. NEVER end by asking the user to create the collection.
|
|
14255
14265
|
|
|
14256
14266
|
\`wix-app\` is still correct for dashboard pages, modals, widgets, and UI; only the data layer is overridden here.`;
|
|
14257
14267
|
}
|
|
@@ -16039,7 +16049,7 @@ var require_cost_tracker = __commonJS({
|
|
|
16039
16049
|
async function fetchOpenCodeStats(cwd, env) {
|
|
16040
16050
|
for (let attempt = 0; attempt < STATS_MAX_ATTEMPTS; attempt++) {
|
|
16041
16051
|
try {
|
|
16042
|
-
const { stdout } = await execAsync(
|
|
16052
|
+
const { stdout } = await execAsync('opencode stats --models --project ""', {
|
|
16043
16053
|
cwd,
|
|
16044
16054
|
env,
|
|
16045
16055
|
timeout: CLI_TIMEOUT_MS
|
|
@@ -17017,7 +17027,8 @@ var require_executor = __commonJS({
|
|
|
17017
17027
|
let currentPrompt = options.prompt;
|
|
17018
17028
|
let lastFailureReason = null;
|
|
17019
17029
|
let stalls = 0;
|
|
17020
|
-
|
|
17030
|
+
const forceFresh = process.env.CODEGEN_FRESH_SESSION === "true";
|
|
17031
|
+
let continueSession = forceFresh ? false : options.continueSession ?? false;
|
|
17021
17032
|
const env = (0, config_12.getOpenCodeEnv)(options.projectId, job_context_storage_12.jobContextStorage.getStore()?.kind);
|
|
17022
17033
|
const statsBaseline = await (0, cost_tracker_1.fetchOpenCodeStats)(options.outputPath, env);
|
|
17023
17034
|
const baselineCost = statsBaseline ? (0, cost_tracker_1.parseStatsTotalCost)(statsBaseline) : null;
|
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.471",
|
|
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": "ea0f51e8e01970d800b17b4a43996184ad500dc229e554c6f66af232"
|
|
33
33
|
}
|