@mcp-use/cli 2.6.0-canary.16 → 2.6.0-canary.17

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.
package/dist/index.js CHANGED
@@ -3571,11 +3571,12 @@ export default PostHog;
3571
3571
  try {
3572
3572
  const mod = await metadataServer.ssrLoadModule(entryPath);
3573
3573
  if (mod.widgetMetadata) {
3574
+ const schemaField = mod.widgetMetadata.inputs || mod.widgetMetadata.props;
3574
3575
  widgetMetadata = {
3575
3576
  ...mod.widgetMetadata,
3576
3577
  title: mod.widgetMetadata.title || widgetName,
3577
3578
  description: mod.widgetMetadata.description,
3578
- inputs: mod.widgetMetadata.inputs?.shape || {}
3579
+ inputs: schemaField?.shape || {}
3579
3580
  };
3580
3581
  }
3581
3582
  await new Promise((resolve) => setTimeout(resolve, 50));