@wix/ditto-codegen-public 1.0.447 → 1.0.448
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 +21 -1
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -14834,6 +14834,22 @@ var require_system_prompts = __commonJS({
|
|
|
14834
14834
|
}
|
|
14835
14835
|
});
|
|
14836
14836
|
|
|
14837
|
+
// ../codegen-common-logic/dist/rules/brik-import.js
|
|
14838
|
+
var require_brik_import = __commonJS({
|
|
14839
|
+
"../codegen-common-logic/dist/rules/brik-import.js"(exports2) {
|
|
14840
|
+
"use strict";
|
|
14841
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
14842
|
+
exports2.BRIK_IMPORT_RULES = void 0;
|
|
14843
|
+
exports2.BRIK_IMPORT_RULES = `# Brik Tool Import Rules
|
|
14844
|
+
|
|
14845
|
+
If \`.wix/agentInput/brikMeta.json\` exists AND its \`brikMeta\` object has \`promptVariant\` set to \`skill-v1\`, this job is a Brik tool import: you MUST invoke the \`wix-brik\` skill FIRST and follow it exactly. It owns the import itself - scaffolding the Editor React Component, running the deterministic import script over \`.wix/agentInput/brikImport.json\`, splicing the tool's creative code, then installing dependencies and building plus generating the manifest. Do NOT derive the component's public surface yourself and do NOT re-tune the manifest.
|
|
14846
|
+
|
|
14847
|
+
The skill does NOT replace step 5 of the workflow: its \`npx wix build\` transpiles without typechecking. Once its DONE WHEN checks pass, still delegate to the \`codegen-validator\` subagent as usual, and fix whatever it reports in your spliced code only - never in the script-written surface.
|
|
14848
|
+
|
|
14849
|
+
If \`promptVariant\` is any other value, it is the legacy import pipeline's payload: ignore this rule and follow the job's own instructions.`;
|
|
14850
|
+
}
|
|
14851
|
+
});
|
|
14852
|
+
|
|
14837
14853
|
// ../codegen-common-logic/dist/rules/site-data-layer.js
|
|
14838
14854
|
var require_site_data_layer = __commonJS({
|
|
14839
14855
|
"../codegen-common-logic/dist/rules/site-data-layer.js"(exports2) {
|
|
@@ -14911,6 +14927,7 @@ var require_rules = __commonJS({
|
|
|
14911
14927
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
|
|
14912
14928
|
};
|
|
14913
14929
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
14930
|
+
__exportStar2(require_brik_import(), exports2);
|
|
14914
14931
|
__exportStar2(require_site_data_layer(), exports2);
|
|
14915
14932
|
__exportStar2(require_stores_catalog_version(), exports2);
|
|
14916
14933
|
__exportStar2(require_vertical_installation(), exports2);
|
|
@@ -15117,7 +15134,10 @@ var require_dist8 = __commonJS({
|
|
|
15117
15134
|
var codegen_common_logic_1 = require_dist7();
|
|
15118
15135
|
exports2.studio2CodegenConfig = {
|
|
15119
15136
|
environmentIdentity: codegen_common_logic_1.SITE_ENVIRONMENT_IDENTITY,
|
|
15120
|
-
codegenRules:
|
|
15137
|
+
codegenRules: [
|
|
15138
|
+
...codegen_common_logic_1.SITE_CODEGEN_RULES,
|
|
15139
|
+
{ filename: "brik-import-rules.md", content: codegen_common_logic_1.BRIK_IMPORT_RULES }
|
|
15140
|
+
],
|
|
15121
15141
|
askRules: [],
|
|
15122
15142
|
gitConflictsRules: [],
|
|
15123
15143
|
decisionCheckers: [],
|
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.448",
|
|
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": "27a8a85411a67b2d98ba3e552e82b0f0f61ba567f528937c10504117"
|
|
33
33
|
}
|