@danainnovations/cortex-mcp 1.0.127 → 1.0.128
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 +24 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -931,8 +931,11 @@ function getWizardHtml() {
|
|
|
931
931
|
|
|
932
932
|
<div id="getting-started" style="text-align: left;"></div>
|
|
933
933
|
|
|
934
|
-
<div style="margin-top:
|
|
935
|
-
<
|
|
934
|
+
<div style="text-align:center; margin-top:12px; margin-bottom:12px;">
|
|
935
|
+
<span style="font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#FF5252; background:rgba(255,82,82,0.12); border:1px solid rgba(255,82,82,0.3); padding:3px 10px; border-radius:4px;">Must Read</span>
|
|
936
|
+
</div>
|
|
937
|
+
<div style="margin-top: 8px;">
|
|
938
|
+
<button class="btn btn-accent btn-block" id="btn-done-close" disabled onclick="finishSetup()" style="opacity:0.4; cursor:not-allowed;">Close (10)</button>
|
|
936
939
|
</div>
|
|
937
940
|
<p class="text-sm text-muted mt-4">Config saved to ~/.cortex-mcp/config.json</p>
|
|
938
941
|
</div>
|
|
@@ -1713,6 +1716,25 @@ function getWizardHtml() {
|
|
|
1713
1716
|
html += '</div>';
|
|
1714
1717
|
|
|
1715
1718
|
el.innerHTML = html;
|
|
1719
|
+
|
|
1720
|
+
// Start 10-second countdown on the Close button
|
|
1721
|
+
var closeBtn = document.getElementById('btn-done-close');
|
|
1722
|
+
if (closeBtn) {
|
|
1723
|
+
var countdown = 10;
|
|
1724
|
+
closeBtn.textContent = 'Close (' + countdown + ')';
|
|
1725
|
+
var timer = setInterval(function() {
|
|
1726
|
+
countdown--;
|
|
1727
|
+
if (countdown <= 0) {
|
|
1728
|
+
clearInterval(timer);
|
|
1729
|
+
closeBtn.disabled = false;
|
|
1730
|
+
closeBtn.style.opacity = '1';
|
|
1731
|
+
closeBtn.style.cursor = 'pointer';
|
|
1732
|
+
closeBtn.textContent = 'Close';
|
|
1733
|
+
} else {
|
|
1734
|
+
closeBtn.textContent = 'Close (' + countdown + ')';
|
|
1735
|
+
}
|
|
1736
|
+
}, 1000);
|
|
1737
|
+
}
|
|
1716
1738
|
}
|
|
1717
1739
|
|
|
1718
1740
|
function confirmFinish() {
|