@danainnovations/cortex-mcp 1.0.126 → 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 +27 -11
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -87,7 +87,7 @@ function getWizardHtml() {
|
|
|
87
87
|
|
|
88
88
|
#app {
|
|
89
89
|
width: 100%;
|
|
90
|
-
max-width:
|
|
90
|
+
max-width: 900px;
|
|
91
91
|
padding: 24px;
|
|
92
92
|
position: relative;
|
|
93
93
|
z-index: 1;
|
|
@@ -351,9 +351,9 @@ function getWizardHtml() {
|
|
|
351
351
|
/* \u2500\u2500 MCP List \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 */
|
|
352
352
|
.mcp-list {
|
|
353
353
|
display: grid;
|
|
354
|
-
grid-template-columns: repeat(
|
|
354
|
+
grid-template-columns: repeat(2, 1fr);
|
|
355
355
|
gap: 6px;
|
|
356
|
-
margin-bottom:
|
|
356
|
+
margin-bottom: 8px;
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
.mcp-item {
|
|
@@ -808,12 +808,6 @@ function getWizardHtml() {
|
|
|
808
808
|
background: rgba(0, 163, 225, 0.25);
|
|
809
809
|
}
|
|
810
810
|
|
|
811
|
-
/* \u2500\u2500 Tablet / narrow \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
812
|
-
@media (max-width: 1000px) {
|
|
813
|
-
.mcp-list { grid-template-columns: repeat(2, 1fr); }
|
|
814
|
-
.conn-list { grid-template-columns: 1fr; }
|
|
815
|
-
}
|
|
816
|
-
|
|
817
811
|
/* \u2500\u2500 Mobile \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 */
|
|
818
812
|
@media (max-width: 640px) {
|
|
819
813
|
#app { padding: 16px; }
|
|
@@ -937,8 +931,11 @@ function getWizardHtml() {
|
|
|
937
931
|
|
|
938
932
|
<div id="getting-started" style="text-align: left;"></div>
|
|
939
933
|
|
|
940
|
-
<div style="margin-top:
|
|
941
|
-
<
|
|
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>
|
|
942
939
|
</div>
|
|
943
940
|
<p class="text-sm text-muted mt-4">Config saved to ~/.cortex-mcp/config.json</p>
|
|
944
941
|
</div>
|
|
@@ -1719,6 +1716,25 @@ function getWizardHtml() {
|
|
|
1719
1716
|
html += '</div>';
|
|
1720
1717
|
|
|
1721
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
|
+
}
|
|
1722
1738
|
}
|
|
1723
1739
|
|
|
1724
1740
|
function confirmFinish() {
|