@wix/ditto-codegen-public 1.0.337 → 1.0.339
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 +12 -8
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -12215,8 +12215,12 @@ var require_site_data_layer_rules = __commonJS({
|
|
|
12215
12215
|
exports2.SITE_DATA_LAYER_RULES = void 0;
|
|
12216
12216
|
exports2.SITE_DATA_LAYER_RULES = `# Site Data Layer Rules
|
|
12217
12217
|
|
|
12218
|
-
The agent operates on a live Wix site (METASITE_ID is in your prompt context).
|
|
12219
|
-
|
|
12218
|
+
The agent operates on a live Wix site (METASITE_ID is in your prompt context).
|
|
12219
|
+
|
|
12220
|
+
For any persistent-data need \u2014 CMS collections, content tables, schemas, data models, or databases that store items \u2014 use the \`wix-site-data-collection\` skill.
|
|
12221
|
+
|
|
12222
|
+
The \`wix-app\` skill remains the right tool for surrounding extensions (dashboard pages, modals, widgets); only the data layer is overridden. A Wix CLI data collection extension will NOT work here \u2014 it only provisions on app install, but this is a live site that already exists. Use the \`wix-site-data-collection\` skill to discover the existing collections on the site and wire your code against them.
|
|
12223
|
+
|
|
12220
12224
|
DO NOT write any code relating to Wix CLI data extensions \u2014 for example, do not generate \`src/extensions/data/extensions.ts\`.`;
|
|
12221
12225
|
}
|
|
12222
12226
|
});
|
|
@@ -19245,7 +19249,6 @@ var require_opencode_init = __commonJS({
|
|
|
19245
19249
|
await (0, codegen_flow_helpers_12.updateJobPayload)(localJobContext, {
|
|
19246
19250
|
requiredPermissions: result.requiredPermissions,
|
|
19247
19251
|
files,
|
|
19248
|
-
history,
|
|
19249
19252
|
...agentOutput,
|
|
19250
19253
|
extensions
|
|
19251
19254
|
});
|
|
@@ -19272,9 +19275,8 @@ var require_opencode_init = __commonJS({
|
|
|
19272
19275
|
const extensions = await (0, collect_extensions_created_1.buildExtensionsJobPayload)(outputPath, files);
|
|
19273
19276
|
await (0, codegen_flow_helpers_12.updateJobPayload)(localJobContext, {
|
|
19274
19277
|
requiredPermissions: [],
|
|
19275
|
-
|
|
19278
|
+
error: codegenError,
|
|
19276
19279
|
files,
|
|
19277
|
-
history,
|
|
19278
19280
|
...agentOutput,
|
|
19279
19281
|
extensions
|
|
19280
19282
|
});
|
|
@@ -19459,7 +19461,7 @@ var require_opencode_iterate = __commonJS({
|
|
|
19459
19461
|
const extensions = await (0, collect_extensions_created_1.buildExtensionsJobPayload)(outputPath, files);
|
|
19460
19462
|
await (0, codegen_flow_helpers_12.updateJobPayload)(localJobContext, {
|
|
19461
19463
|
requiredPermissions: [],
|
|
19462
|
-
|
|
19464
|
+
error: codegenError,
|
|
19463
19465
|
files,
|
|
19464
19466
|
...agentOutput,
|
|
19465
19467
|
extensions
|
|
@@ -19612,7 +19614,8 @@ var require_opencode_ask = __commonJS({
|
|
|
19612
19614
|
await (0, inject_created_by_1.injectCreatedByIntoExtensionFiles)(outputPath, extensions.created);
|
|
19613
19615
|
await (0, codegen_flow_helpers_12.updateJobPayload)(localJobContext, {
|
|
19614
19616
|
files,
|
|
19615
|
-
extensions
|
|
19617
|
+
extensions,
|
|
19618
|
+
agentMessage: result.answer
|
|
19616
19619
|
});
|
|
19617
19620
|
await codeGenerationService_12.codeGenerationService.updateTask(jobId, taskId, ditto_codegen_types_12.Status.COMPLETED, {
|
|
19618
19621
|
taskOutput: {
|
|
@@ -19636,7 +19639,8 @@ var require_opencode_ask = __commonJS({
|
|
|
19636
19639
|
const extensions = await (0, collect_extensions_created_1.buildExtensionsJobPayload)(outputPath, files);
|
|
19637
19640
|
await (0, codegen_flow_helpers_12.updateJobPayload)(localJobContext, {
|
|
19638
19641
|
files,
|
|
19639
|
-
extensions
|
|
19642
|
+
extensions,
|
|
19643
|
+
error: codegenError
|
|
19640
19644
|
});
|
|
19641
19645
|
await (0, codegen_flow_helpers_12.updateParentTaskStatus)(localJobContext, ditto_codegen_types_12.Status.FAILED, codegenError);
|
|
19642
19646
|
(0, biEvents_1.reportSessionEnd)({
|
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.339",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"esbuild": "^0.27.2",
|
|
29
29
|
"vitest": "^4.0.16"
|
|
30
30
|
},
|
|
31
|
-
"falconPackageHash": "
|
|
31
|
+
"falconPackageHash": "4bb8dbd668f0e6ab047f19ba1a880010def1efea31022da9badb5037"
|
|
32
32
|
}
|