@wix/ditto-codegen-public 1.0.206 → 1.0.207

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 +14 -6
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -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.207",
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": "2da9fd56057ef4b1d37cecb7f581ab8470286fe208b115162cb45c02"
28
28
  }