@wix/ditto-codegen-public 1.0.493 → 1.0.494

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 +4 -3
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -12735,9 +12735,10 @@ var require_code_edits_scope = __commonJS({
12735
12735
 
12736
12736
  When the request lists specific extensions to generate (each with a type), alongside a broader description of the feature:
12737
12737
 
12738
- 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.
12739
- 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.
12740
- 3. **Report only what you built.** The final message describes the listed items, not the feature as a whole.`;
12738
+ 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, other than what rule 2 requires.
12739
+ 2. **Also generate any extension a listed one cannot work without.** If a listed extension does nothing until another extension exists, generate that one too, even though no item lists it. For example, an embedded script must be paired with a dashboard page that calls \`embedScript()\`.
12740
+ 3. **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.
12741
+ 4. **Report only what you built.** The final message describes the listed items, not the feature as a whole. State each companion extension you added under rule 2 and that it was added because the listed one needs it.`;
12741
12742
  }
12742
12743
  });
12743
12744
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.493",
3
+ "version": "1.0.494",
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": "40f9c53bf13797af4a5fa48fc2599b1d7263aeec0289d6beab4e8089"
32
+ "falconPackageHash": "4dbfd9ea01bc1439fce7839039a26404c89b6a9968e99a3001f2b050"
33
33
  }