@wix/ditto-codegen-public 1.0.471 → 1.0.472

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.
Files changed (2) hide show
  1. package/dist/out.js +19 -1
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -14249,6 +14249,22 @@ If \`promptVariant\` is any other value, it is the legacy import pipeline's payl
14249
14249
  }
14250
14250
  });
14251
14251
 
14252
+ // ../codegen-common-logic/dist/rules/code-edits-scope.js
14253
+ var require_code_edits_scope = __commonJS({
14254
+ "../codegen-common-logic/dist/rules/code-edits-scope.js"(exports2) {
14255
+ "use strict";
14256
+ Object.defineProperty(exports2, "__esModule", { value: true });
14257
+ exports2.CODE_EDITS_SCOPE_RULES = void 0;
14258
+ exports2.CODE_EDITS_SCOPE_RULES = `# Code Edits Scope Rules
14259
+
14260
+ When the request lists specific extensions to generate (each with a type), alongside a broader description of the feature:
14261
+
14262
+ 1. **The list is the complete scope.** Generate exactly the listed extensions, of the stated types, each covering only what its item describes. Do not add extensions or behavior that no item asks for.
14263
+ 2. **The broader description is background, not a task.** The parts of it that no item covers are built elsewhere in the flow (for example as native elements on the page). Do not implement them, even when the request reads as if your extensions should deliver the whole feature.
14264
+ 3. **Report only what you built.** The final message describes the listed items, not the feature as a whole.`;
14265
+ }
14266
+ });
14267
+
14252
14268
  // ../codegen-common-logic/dist/rules/site-data-layer.js
14253
14269
  var require_site_data_layer = __commonJS({
14254
14270
  "../codegen-common-logic/dist/rules/site-data-layer.js"(exports2) {
@@ -14328,6 +14344,7 @@ var require_rules = __commonJS({
14328
14344
  };
14329
14345
  Object.defineProperty(exports2, "__esModule", { value: true });
14330
14346
  __exportStar2(require_brik_import(), exports2);
14347
+ __exportStar2(require_code_edits_scope(), exports2);
14331
14348
  __exportStar2(require_site_data_layer(), exports2);
14332
14349
  __exportStar2(require_stores_catalog_version(), exports2);
14333
14350
  __exportStar2(require_vertical_installation(), exports2);
@@ -14536,7 +14553,8 @@ var require_dist8 = __commonJS({
14536
14553
  environmentIdentity: codegen_common_logic_1.SITE_ENVIRONMENT_IDENTITY,
14537
14554
  codegenRules: [
14538
14555
  ...codegen_common_logic_1.SITE_CODEGEN_RULES,
14539
- { filename: "brik-import-rules.md", content: codegen_common_logic_1.BRIK_IMPORT_RULES }
14556
+ { filename: "brik-import-rules.md", content: codegen_common_logic_1.BRIK_IMPORT_RULES },
14557
+ { filename: "code-edits-scope-rules.md", content: codegen_common_logic_1.CODE_EDITS_SCOPE_RULES }
14540
14558
  ],
14541
14559
  askRules: [],
14542
14560
  gitConflictsRules: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.471",
3
+ "version": "1.0.472",
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": "ea0f51e8e01970d800b17b4a43996184ad500dc229e554c6f66af232"
32
+ "falconPackageHash": "84b0cfe2378ce074540cb35f691a391df6b55997ff33fdcda28a5a8d"
33
33
  }