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

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
@@ -3576,7 +3576,10 @@ export default PostHog;
3576
3576
  ...mod.widgetMetadata,
3577
3577
  title: mod.widgetMetadata.title || widgetName,
3578
3578
  description: mod.widgetMetadata.description,
3579
- inputs: schemaField?.shape || {}
3579
+ // Pass the full Zod schema object directly (don't extract .shape)
3580
+ // The SDK's normalizeObjectSchema() can handle both complete Zod schemas
3581
+ // and raw shapes, so we preserve the full schema here
3582
+ inputs: schemaField || {}
3580
3583
  };
3581
3584
  }
3582
3585
  await new Promise((resolve) => setTimeout(resolve, 50));