@wix/ditto-codegen-public 1.0.201 → 1.0.202

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 +6 -2
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -36984,6 +36984,7 @@ var require_constants = __commonJS({
36984
36984
  };
36985
36985
  exports2.LLM_MODELS = {
36986
36986
  CLAUDE_3_5_HAIKU_LATEST: "claude-3-5-haiku-latest",
36987
+ CLAUDE_HAIKU_4_5: "claude-haiku-4-5",
36987
36988
  CLAUDE_SONNET_4_5_20250929: "claude-sonnet-4-5-20250929"
36988
36989
  };
36989
36990
  }
@@ -39786,6 +39787,7 @@ CRITICAL - ALL EMBEDDED SCRIPT CONFIGURATION GOES HERE:
39786
39787
  - Example: If blueprint says "Dashboard page to configure popup headline, coupon code, and colors" \u2192 create parameters for headline, couponCode, backgroundColor, textColor
39787
39788
  - DO NOT rely on CMS collections for this configuration - embedded scripts can ONLY be configured through these parameters
39788
39789
  - The dashboard page will provide a UI to edit these parameters, which are persisted by the embedded scripts
39790
+ - **Even if the blueprint mentions using CMS collections for configuration**, you MUST still output embeddedScriptParameters for every EMBEDDED_SCRIPT extension. CMS collections and embeddedScriptParameters serve different purposes - both may coexist.
39789
39791
 
39790
39792
  </when_to_use_dynamic_parameters>
39791
39793
 
@@ -39841,6 +39843,8 @@ Output:
39841
39843
  <guidelines>
39842
39844
  - If there are EMBEDDED_SCRIPT extensions, you MUST always include at least one parameter per extension
39843
39845
  - At minimum, every embedded script should have an enable/disable parameter to allow site owners to control activation
39846
+ - **FOR INITIAL GENERATION (no previous embeddedScriptParameters exist)**: You MUST output embeddedScriptParameters for EVERY EMBEDDED_SCRIPT extension. DO NOT return an empty array. Without parameters, the Embedded Script Extension will not be generated.
39847
+ - **FOR ITERATION (previous embeddedScriptParameters already exist)**: Only output changes if needed. If existing parameters are sufficient, you can return an empty array.
39844
39848
  - The extensionId MUST match the exact name of the embedded script extension from the blueprint
39845
39849
  - Define additional parameters only if they truly need to be configurable by the site owner
39846
39850
  - Keep parameter keys descriptive and in lowerCamelCase
@@ -39850,7 +39854,7 @@ Output:
39850
39854
  - For SELECT types, MUST include the options array with all possible values
39851
39855
  - Consider grouping related parameters (e.g., activation settings, appearance settings)
39852
39856
  - Default values should be sensible and demonstrate the expected format
39853
- - IMPORTANT: These parameters are persisted by the embeddedScripts parameters. Do NOT create CMS collections for this data.
39857
+ - IMPORTANT: Even if the blueprint asks for CMS collections, you MUST still define embeddedScriptParameters for every EMBEDDED_SCRIPT extension. Both can coexist.
39854
39858
  - STRICTLY use only the supported parameter types listed above. Do NOT use types from other contexts like CMS (e.g., do NOT use ARRAY_STRING, ARRAY, etc.).
39855
39859
  - If you need a list of values (like a list of emojis or strings), use TEXT type and describe the expected format (e.g., "Comma-separated list of emojis") in the description.
39856
39860
  </guidelines>
@@ -40687,7 +40691,7 @@ ${error}`);
40687
40691
  userMessage,
40688
40692
  systemPrompt,
40689
40693
  provider: constants_1.LLM_PROVIDERS.ANTHROPIC,
40690
- model: constants_1.LLM_MODELS.CLAUDE_3_5_HAIKU_LATEST,
40694
+ model: constants_1.LLM_MODELS.CLAUDE_HAIKU_4_5,
40691
40695
  schema,
40692
40696
  agentName: this.name
40693
40697
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.201",
3
+ "version": "1.0.202",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.27.2"
26
26
  },
27
- "falconPackageHash": "8d034896942f8536f96c25ce069474b54ab4745cb22b248a130a2be7"
27
+ "falconPackageHash": "b1028235d5262b65a0df91aec42442a521e818f81f170f3c193fa0b8"
28
28
  }