@danainnovations/cortex-mcp 1.0.95 → 1.0.97
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 +6 -12
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1473,6 +1473,7 @@ function getWizardHtml() {
|
|
|
1473
1473
|
|
|
1474
1474
|
var email = result.account_email || 'connected';
|
|
1475
1475
|
item.classList.add('connected');
|
|
1476
|
+
item.classList.remove('needs-connect');
|
|
1476
1477
|
statusSpan.className = 'conn-status connected';
|
|
1477
1478
|
statusSpan.textContent = '\\u2713 ' + email;
|
|
1478
1479
|
btn.remove();
|
|
@@ -1522,21 +1523,14 @@ function getWizardHtml() {
|
|
|
1522
1523
|
// Check for unconnected personal MCPs
|
|
1523
1524
|
var unconnected = [];
|
|
1524
1525
|
document.querySelectorAll('.conn-item.needs-connect').forEach(function(item) {
|
|
1525
|
-
var
|
|
1526
|
-
if (
|
|
1526
|
+
var nameEl = item.querySelector('.conn-name');
|
|
1527
|
+
if (nameEl) unconnected.push(nameEl.textContent);
|
|
1527
1528
|
});
|
|
1528
1529
|
|
|
1529
1530
|
if (unconnected.length > 0) {
|
|
1530
|
-
var msg =
|
|
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?';
|
|
1531
|
+
var msg = "You have not connected:\\n\\n" +
|
|
1532
|
+
unconnected.map(function(n) { return " \\u2022 " + n; }).join("\\n") +
|
|
1533
|
+
"\\n\\nYou can connect these later from the Cortex Control Center.\\n\\nFinish setup without connecting?";
|
|
1540
1534
|
if (!confirm(msg)) return;
|
|
1541
1535
|
}
|
|
1542
1536
|
|