@danainnovations/cortex-mcp 1.0.95 → 1.0.96

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/cli.js CHANGED
@@ -1522,21 +1522,14 @@ function getWizardHtml() {
1522
1522
  // Check for unconnected personal MCPs
1523
1523
  var unconnected = [];
1524
1524
  document.querySelectorAll('.conn-item.needs-connect').forEach(function(item) {
1525
- var name = item.querySelector('.conn-name');
1526
- if (name) unconnected.push(name.textContent);
1525
+ var nameEl = item.querySelector('.conn-name');
1526
+ if (nameEl) unconnected.push(nameEl.textContent);
1527
1527
  });
1528
1528
 
1529
1529
  if (unconnected.length > 0) {
1530
- var msg = 'You haven't connected:
1531
-
1532
- ' +
1533
- unconnected.map(function(n) { return ' \u2022 ' + n; }).join('
1534
- ') +
1535
- '
1536
-
1537
- You can connect these later from the Cortex Control Center.
1538
-
1539
- Finish setup without connecting?';
1530
+ var msg = "You have not connected:\\n\\n" +
1531
+ unconnected.map(function(n) { return " \\u2022 " + n; }).join("\\n") +
1532
+ "\\n\\nYou can connect these later from the Cortex Control Center.\\n\\nFinish setup without connecting?";
1540
1533
  if (!confirm(msg)) return;
1541
1534
  }
1542
1535