@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.cjs CHANGED
@@ -3589,11 +3589,12 @@ export default PostHog;
3589
3589
  try {
3590
3590
  const mod = await metadataServer.ssrLoadModule(entryPath);
3591
3591
  if (mod.widgetMetadata) {
3592
+ const schemaField = mod.widgetMetadata.inputs || mod.widgetMetadata.props;
3592
3593
  widgetMetadata = {
3593
3594
  ...mod.widgetMetadata,
3594
3595
  title: mod.widgetMetadata.title || widgetName,
3595
3596
  description: mod.widgetMetadata.description,
3596
- inputs: mod.widgetMetadata.inputs?.shape || {}
3597
+ inputs: schemaField?.shape || {}
3597
3598
  };
3598
3599
  }
3599
3600
  await new Promise((resolve) => setTimeout(resolve, 50));