@wix/ditto-codegen-public 1.0.343 → 1.0.345

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.
@@ -11,7 +11,8 @@ export default tool({
11
11
  .describe(
12
12
  "Default false. Only set true when package.json changed in this iteration " +
13
13
  "(added, removed, or upgraded a dependency). node_modules is pre-populated " +
14
- "in the image, so installs are unnecessary otherwise.",
14
+ "in the image, so installs are unnecessary otherwise. " +
15
+ "For TS2307 errors: run `npm install <package-name>` in bash first, not installDeps: true.",
15
16
  ),
16
17
  runBuild: tool.schema
17
18
  .boolean()
package/dist/out.js CHANGED
@@ -11573,6 +11573,7 @@ TOOL USAGE:
11573
11573
  - For tools where no batch variant exists (e.g. \`grep\`, \`glob\`), still emit MULTIPLE \`tool_use\` blocks in a SINGLE response when the calls are independent. Sequential turns waste a model round-trip per call.
11574
11574
  - Before calling MCP tools, check if loaded skills already cover the API. Only use MCP for gaps.
11575
11575
  - When using MCP to look up a Wix SDK method, ALWAYS call \`ReadFullDocsMethodSchema\` (not just \`ReadFullDocsArticle\`). The schema is the source of truth for parameter shapes. Code examples in docs may use incorrect call signatures.
11576
+ - To discover API shapes, method signatures, or type definitions: ALWAYS try \`SearchWixSDKDocumentation\` or \`ReadFullDocsMethodSchema\` via wix-mcp first. ONLY fall back to grepping \`node_modules\` if the MCP tools return no useful results. Grepping \`node_modules\` as a first resort wastes turns, inflates context, and produces unreliable results \u2014 SDK internals are not a documentation source.
11576
11577
  - NEVER run preview, dev, release, or promote commands.
11577
11578
 
11578
11579
  IMPLEMENTATION WORKFLOW:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.343",
3
+ "version": "1.0.345",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -28,5 +28,5 @@
28
28
  "esbuild": "^0.27.2",
29
29
  "vitest": "^4.0.16"
30
30
  },
31
- "falconPackageHash": "360712f8354119b47d18976ea1e3117c78e7c047dff49dedd2cc1dad"
31
+ "falconPackageHash": "fa273ae4cec1a778feb1e32b156c7b89b0638ac919a56d66298ecdd5"
32
32
  }