@trops/dash-core 0.1.713 → 0.1.715

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.
@@ -15427,6 +15427,22 @@ var schedulerController_1 = schedulerController$2;
15427
15427
  zip.extractAllTo(widgetPath, true);
15428
15428
  console.log(`[WidgetRegistry] Extracted widget to: ${widgetPath}`);
15429
15429
 
15430
+ // Same scan as installFromLocalPath: record which MCP tools the
15431
+ // package calls in its package.json (dash.permissions.mcp). Without
15432
+ // it a registry install has no declared permissions until the next
15433
+ // app start (boot backfill), so the consent prompt and the
15434
+ // permission dialog's wildcard offer have nothing to go on.
15435
+ try {
15436
+ const {
15437
+ applyScanToPackageJson,
15438
+ } = requireScanWidgetPackagePermissions();
15439
+ applyScanToPackageJson(widgetPath);
15440
+ } catch (e) {
15441
+ console.warn(
15442
+ `[WidgetRegistry] Permission scan failed for ${widgetName}: ${e.message}`,
15443
+ );
15444
+ }
15445
+
15430
15446
  let config = await this.loadWidgetConfig(widgetName, widgetPath);
15431
15447
 
15432
15448
  if (dashConfigUrl) {