@danainnovations/cortex-mcp 1.0.123 → 1.0.125
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 +15 -13
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1724,20 +1724,22 @@ function getWizardHtml() {
|
|
|
1724
1724
|
// Server may already be closing
|
|
1725
1725
|
}
|
|
1726
1726
|
|
|
1727
|
-
// Show
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1727
|
+
// Show the getting-started guide on the done step
|
|
1728
|
+
goToStep('done');
|
|
1729
|
+
|
|
1730
|
+
// Update the Close button to actually close the window
|
|
1731
|
+
var closeBtn = document.querySelector('#step-done .btn-accent');
|
|
1732
|
+
if (closeBtn) {
|
|
1733
|
+
closeBtn.onclick = function() {
|
|
1734
|
+
window.close();
|
|
1735
|
+
// Fallback if window.close() is blocked by the browser
|
|
1736
|
+
setTimeout(function() {
|
|
1737
|
+
closeBtn.textContent = 'You can close this tab';
|
|
1738
|
+
closeBtn.disabled = true;
|
|
1739
|
+
closeBtn.style.opacity = '0.5';
|
|
1740
|
+
}, 500);
|
|
1741
|
+
};
|
|
1737
1742
|
}
|
|
1738
|
-
|
|
1739
|
-
// Auto-close the tab after a short delay
|
|
1740
|
-
setTimeout(function() { window.close(); }, 3000);
|
|
1741
1743
|
}
|
|
1742
1744
|
|
|
1743
1745
|
// \u2500\u2500 Helpers \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|