@wix/ditto-codegen-public 1.0.278 → 1.0.280

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 +7 -1
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -11795,6 +11795,8 @@ Use SCOPE ID format (not human-readable names). Examples:
11795
11795
  - \`@wix/data\` read \u2192 "SCOPE.DC-DATA.READ", write \u2192 "SCOPE.DC-DATA.WRITE"
11796
11796
  - Embedded scripts \u2192 "SCOPE.DC-APPS.MANAGE-EMBEDDED-SCRIPTS"
11797
11797
 
11798
+ CRITICAL: Only include permissions that you have explicitly seen in the Wix SDK documentation (via MCP or loaded skills). NEVER guess or fabricate permission scope IDs. If you are unsure which permission a feature requires, look it up in the docs first. Omitting a permission is better than inventing one that does not exist.
11799
+
11798
11800
  \`\`\`json:required-permissions
11799
11801
  ["SCOPE.DC-DATA.READ", "SCOPE.DC-DATA.WRITE"]
11800
11802
  \`\`\`
@@ -17624,7 +17626,11 @@ var require_pre_run_decision = __commonJS({
17624
17626
  function applyTypeToBlueprint(blueprint, extensionName, type) {
17625
17627
  return {
17626
17628
  ...blueprint,
17627
- extensions: blueprint.extensions?.map((ext) => ext.name === extensionName ? { ...ext, type } : ext)
17629
+ extensions: blueprint.extensions?.map((ext) => ext.name === extensionName ? {
17630
+ ...ext,
17631
+ type,
17632
+ _userDecision: "IMPORTANT: The user explicitly chose this extension type. You MUST use this exact type."
17633
+ } : ext)
17628
17634
  };
17629
17635
  }
17630
17636
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.278",
3
+ "version": "1.0.280",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -27,5 +27,5 @@
27
27
  "@wix/ditto-codegen": "1.0.0",
28
28
  "esbuild": "^0.27.2"
29
29
  },
30
- "falconPackageHash": "37cd864b66853499bf872af04f19d90fd92ddd7b29fabad8aa5d18ff"
30
+ "falconPackageHash": "70edf61cffcb5b7f839c64fa0f2aad237cbee615f556014d88d77f80"
31
31
  }