@danainnovations/cortex-mcp 1.0.127 → 1.0.129

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
@@ -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: 24px;">
935
- <button class="btn btn-accent btn-block" onclick="finishSetup()">Close</button>
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>
@@ -1712,7 +1715,32 @@ function getWizardHtml() {
1712
1715
  });
1713
1716
  html += '</div>';
1714
1717
 
1718
+ // Dashboard callout
1719
+ html += '<div style="margin-top: 24px; text-align: center; padding: 20px; border-radius: 12px; background: rgba(0,163,225,0.06); border: 1px solid rgba(0,163,225,0.2);">' +
1720
+ '<p style="font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 6px;">Go back to <a href="https://cortex.sonance.com" target="_blank" style="color: #00A3E1; text-decoration: none;">cortex.sonance.com</a></p>' +
1721
+ '<p style="font-size: 13px; color: #8f999f;">For further instructions, managing connections, and accessing your dashboard</p>' +
1722
+ '</div>';
1723
+
1715
1724
  el.innerHTML = html;
1725
+
1726
+ // Start 10-second countdown on the Close button
1727
+ var closeBtn = document.getElementById('btn-done-close');
1728
+ if (closeBtn) {
1729
+ var countdown = 10;
1730
+ closeBtn.textContent = 'Close (' + countdown + ')';
1731
+ var timer = setInterval(function() {
1732
+ countdown--;
1733
+ if (countdown <= 0) {
1734
+ clearInterval(timer);
1735
+ closeBtn.disabled = false;
1736
+ closeBtn.style.opacity = '1';
1737
+ closeBtn.style.cursor = 'pointer';
1738
+ closeBtn.textContent = 'Close';
1739
+ } else {
1740
+ closeBtn.textContent = 'Close (' + countdown + ')';
1741
+ }
1742
+ }, 1000);
1743
+ }
1716
1744
  }
1717
1745
 
1718
1746
  function confirmFinish() {