@wix/ditto-codegen-public 1.0.359 → 1.0.360

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.
@@ -8,8 +8,7 @@ export default tool({
8
8
  "Pass SCOPE ID format (not human-readable names), e.g. `@wix/data` read → 'SCOPE.DC-DATA.READ', " +
9
9
  "write → 'SCOPE.DC-DATA.WRITE', embedded scripts → 'SCOPE.DC-APPS.MANAGE-EMBEDDED-SCRIPTS'. " +
10
10
  "Only include scope IDs you have explicitly seen in the Wix SDK documentation (via MCP or " +
11
- "loaded skills) — NEVER guess or fabricate them. Omitting a permission is better than " +
12
- "inventing one.",
11
+ "loaded skills) — NEVER guess or fabricate them. If unsure, skip this call entirely.",
13
12
  args: {
14
13
  permissions: tool.schema
15
14
  .array(tool.schema.string())
package/dist/out.js CHANGED
@@ -12285,7 +12285,7 @@ Use SCOPE ID format (not human-readable names). Examples:
12285
12285
  - \`@wix/data\` read \u2192 "SCOPE.DC-DATA.READ", write \u2192 "SCOPE.DC-DATA.WRITE"
12286
12286
  - Embedded scripts \u2192 "SCOPE.DC-APPS.MANAGE-EMBEDDED-SCRIPTS"
12287
12287
 
12288
- 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.
12288
+ CRITICAL: Only include permissions you have explicitly seen in the Wix SDK documentation (via MCP or loaded skills) \u2014 NEVER guess or infer a scope ID. If you cannot point to where you saw it, do NOT include it. When in doubt, skip the call entirely. A fabricated scope ID will show an error to the user and confuse them; a missing permission is just a warning the user can fix.
12289
12289
 
12290
12290
  Example: \`required-permissions({ permissions: ["SCOPE.DC-DATA.READ", "SCOPE.DC-DATA.WRITE"] })\``;
12291
12291
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.359",
3
+ "version": "1.0.360",
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": "359e16ff3223fa5f085d7a83fd81fa8b04c7aa55f5e38602790b2b8f"
32
+ "falconPackageHash": "638525404cd181b8d164c2da040e677af90272016e2635526ffb488c"
33
33
  }