@danainnovations/cortex-mcp 1.0.125 → 1.0.127
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 +36 -13
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -87,11 +87,12 @@ 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;
|
|
94
94
|
}
|
|
95
|
+
#app.wide-step { max-width: 1200px; }
|
|
95
96
|
|
|
96
97
|
/* \u2500\u2500 Persistent Header \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
97
98
|
.wizard-header {
|
|
@@ -338,7 +339,7 @@ function getWizardHtml() {
|
|
|
338
339
|
color: #8f999f;
|
|
339
340
|
text-transform: uppercase;
|
|
340
341
|
letter-spacing: 0.08em;
|
|
341
|
-
margin-bottom:
|
|
342
|
+
margin-bottom: 2px;
|
|
342
343
|
}
|
|
343
344
|
.mcp-section-subtitle {
|
|
344
345
|
font-size: 12px;
|
|
@@ -350,7 +351,7 @@ function getWizardHtml() {
|
|
|
350
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 */
|
|
351
352
|
.mcp-list {
|
|
352
353
|
display: grid;
|
|
353
|
-
grid-template-columns: repeat(
|
|
354
|
+
grid-template-columns: repeat(2, 1fr);
|
|
354
355
|
gap: 6px;
|
|
355
356
|
margin-bottom: 8px;
|
|
356
357
|
}
|
|
@@ -484,7 +485,7 @@ function getWizardHtml() {
|
|
|
484
485
|
|
|
485
486
|
.mcp-info { flex: 1; min-width: 0; }
|
|
486
487
|
.mcp-name { font-size: 13px; font-weight: 500; color: #fff; }
|
|
487
|
-
.mcp-desc { font-size: 11px; color: #8f999f; display: block; margin-top: 2px; font-weight: 400; }
|
|
488
|
+
.mcp-desc { font-size: 11px; color: #8f999f; display: block; margin-top: 2px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
488
489
|
.mcp-badge {
|
|
489
490
|
font-size: 10px;
|
|
490
491
|
font-weight: 500;
|
|
@@ -807,12 +808,6 @@ function getWizardHtml() {
|
|
|
807
808
|
background: rgba(0, 163, 225, 0.25);
|
|
808
809
|
}
|
|
809
810
|
|
|
810
|
-
/* \u2500\u2500 Tablet / narrow \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
|
|
811
|
-
@media (max-width: 900px) {
|
|
812
|
-
.mcp-list { grid-template-columns: repeat(2, 1fr); }
|
|
813
|
-
.conn-list { grid-template-columns: 1fr; }
|
|
814
|
-
}
|
|
815
|
-
|
|
816
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 */
|
|
817
812
|
@media (max-width: 640px) {
|
|
818
813
|
#app { padding: 16px; }
|
|
@@ -903,9 +898,11 @@ function getWizardHtml() {
|
|
|
903
898
|
<div id="step-manual-setup" class="step">
|
|
904
899
|
<div class="card">
|
|
905
900
|
<div id="manual-setup-content"></div>
|
|
901
|
+
<div style="text-align:center; margin-top:8px; margin-bottom:12px;">
|
|
902
|
+
<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>
|
|
903
|
+
</div>
|
|
906
904
|
<div class="btn-row">
|
|
907
|
-
<button class="btn btn-
|
|
908
|
-
<button class="btn btn-primary" onclick="completeManualSetup()">Continue</button>
|
|
905
|
+
<button class="btn btn-primary btn-block" id="btn-manual-continue" disabled onclick="completeManualSetup()" style="opacity:0.4; cursor:not-allowed;">Continue (15)</button>
|
|
909
906
|
</div>
|
|
910
907
|
</div>
|
|
911
908
|
</div>
|
|
@@ -1041,6 +1038,13 @@ function getWizardHtml() {
|
|
|
1041
1038
|
|
|
1042
1039
|
// \u2500\u2500 Navigation \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
|
|
1043
1040
|
function goToStep(step) {
|
|
1041
|
+
var appEl = document.getElementById('app');
|
|
1042
|
+
if (step === 'mcps') {
|
|
1043
|
+
appEl.classList.add('wide-step');
|
|
1044
|
+
} else {
|
|
1045
|
+
appEl.classList.remove('wide-step');
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1044
1048
|
var newIndex = STEP_ORDER.indexOf(step);
|
|
1045
1049
|
var direction = newIndex >= currentStepIndex ? 'slide-forward' : 'slide-backward';
|
|
1046
1050
|
|
|
@@ -1529,7 +1533,26 @@ function getWizardHtml() {
|
|
|
1529
1533
|
'<p style="font-size:12px; color:#8f999f; margin-top:12px;">This one connection enables Cortex in CoWork, claude.ai (web), and the Claude mobile app.</p>' +
|
|
1530
1534
|
'</div>' +
|
|
1531
1535
|
|
|
1532
|
-
'<p style="font-size:12px; color:#6b7780; margin-top:16px; text-align:center;">Not on an Enterprise account?
|
|
1536
|
+
'<p style="font-size:12px; color:#6b7780; margin-top:16px; text-align:center;">Not on an Enterprise account? Wait for the timer, then click Continue \\u2014 the local setup from the previous step is all you need.</p>';
|
|
1537
|
+
|
|
1538
|
+
// Start 15-second countdown on the Continue button
|
|
1539
|
+
var continueBtn = document.getElementById('btn-manual-continue');
|
|
1540
|
+
if (continueBtn) {
|
|
1541
|
+
var countdown = 15;
|
|
1542
|
+
continueBtn.textContent = 'Continue (' + countdown + ')';
|
|
1543
|
+
var timer = setInterval(function() {
|
|
1544
|
+
countdown--;
|
|
1545
|
+
if (countdown <= 0) {
|
|
1546
|
+
clearInterval(timer);
|
|
1547
|
+
continueBtn.disabled = false;
|
|
1548
|
+
continueBtn.style.opacity = '1';
|
|
1549
|
+
continueBtn.style.cursor = 'pointer';
|
|
1550
|
+
continueBtn.textContent = 'Continue';
|
|
1551
|
+
} else {
|
|
1552
|
+
continueBtn.textContent = 'Continue (' + countdown + ')';
|
|
1553
|
+
}
|
|
1554
|
+
}, 1000);
|
|
1555
|
+
}
|
|
1533
1556
|
}
|
|
1534
1557
|
|
|
1535
1558
|
function completeManualSetup() {
|