@wix/ditto-codegen-public 1.0.206 → 1.0.208

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 +15 -7
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -97139,7 +97139,7 @@ var require_WixMCPClient = __commonJS({
97139
97139
  command: "npx",
97140
97140
  args: [
97141
97141
  "-y",
97142
- "@wix/mcp",
97142
+ "@wix/mcp@1.0.22",
97143
97143
  "--experimental",
97144
97144
  "GET_TO_KNOW_WIX,WIX_API_THROUGH_FS"
97145
97145
  ]
@@ -97900,12 +97900,20 @@ ${iterationPlan.summary}
97900
97900
  const extensionDocumentation = this.getExtensionTypeDocumentation(iterationPlan);
97901
97901
  const userPrompt = this.buildUserPrompt({ iterationPlan, outputPath });
97902
97902
  const agent = new ditto_sdk_picker_1.SDKPickerAgent(model);
97903
- const apiResult = await agent.generate({
97904
- validIds,
97905
- extensionDocumentation,
97906
- userPrompt
97907
- });
97908
- return apiResult;
97903
+ try {
97904
+ const apiResult = await agent.generate({
97905
+ validIds,
97906
+ extensionDocumentation,
97907
+ userPrompt
97908
+ });
97909
+ return apiResult;
97910
+ } catch (error) {
97911
+ console.error("SDKPickerAgent failed, continuing without SDK enrichment:", JSON.stringify(error, null, 2));
97912
+ const extensionsWithoutApis = {
97913
+ extensions: validIds.map((id) => ({ id }))
97914
+ };
97915
+ return extensionsWithoutApis;
97916
+ }
97909
97917
  }
97910
97918
  };
97911
97919
  exports2.SDKPickerAgent = SDKPickerAgent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.206",
3
+ "version": "1.0.208",
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": "29b6e401ac81e98de2bbe0d0324ed21efe97cf04e7730ecc0f93d9e5"
27
+ "falconPackageHash": "92a07eb14707c197703382b93deb3607bb2ccafd647c5940d95a622e"
28
28
  }