@danainnovations/cortex-mcp 1.0.91 → 1.0.92
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 +21 -9
- package/dist/cli.js.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -821,7 +821,7 @@ function getWizardHtml() {
|
|
|
821
821
|
<div id="conn-list" class="conn-list"></div>
|
|
822
822
|
<div class="btn-row">
|
|
823
823
|
<button class="btn btn-secondary" onclick="goToStep('clients')">Back</button>
|
|
824
|
-
<button class="btn btn-primary" onclick="
|
|
824
|
+
<button class="btn btn-primary" onclick="finishSetup()">Finish Setup</button>
|
|
825
825
|
</div>
|
|
826
826
|
</div>
|
|
827
827
|
</div>
|
|
@@ -1492,12 +1492,20 @@ function getWizardHtml() {
|
|
|
1492
1492
|
// Server may already be closing
|
|
1493
1493
|
}
|
|
1494
1494
|
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
'<
|
|
1500
|
-
|
|
1495
|
+
// Show completion message in whatever step is currently active
|
|
1496
|
+
var activeStep = document.querySelector('.step.active');
|
|
1497
|
+
if (activeStep) {
|
|
1498
|
+
activeStep.querySelector('.card').innerHTML =
|
|
1499
|
+
'<div class="text-center">' +
|
|
1500
|
+
'<div class="success-circle"><span class="success-check">✓</span></div>' +
|
|
1501
|
+
'<h2>Setup Complete!</h2>' +
|
|
1502
|
+
'<p class="subtitle mt-2">You can close this tab. Restart your AI clients to see the new tools.</p>' +
|
|
1503
|
+
'<p class="subtitle mt-1" style="opacity: 0.6;">This window will close automatically.</p>' +
|
|
1504
|
+
'</div>';
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
// Auto-close the tab after a short delay
|
|
1508
|
+
setTimeout(function() { window.close(); }, 3000);
|
|
1501
1509
|
}
|
|
1502
1510
|
|
|
1503
1511
|
// \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
|
|
@@ -1992,8 +2000,12 @@ function configureClient(clientType, serverUrl, apiKey, mcps) {
|
|
|
1992
2000
|
return `Claude Desktop configured (${path})`;
|
|
1993
2001
|
}
|
|
1994
2002
|
case "claude-code":
|
|
1995
|
-
|
|
1996
|
-
|
|
2003
|
+
try {
|
|
2004
|
+
configureClaudeCode(serverUrl, apiKey, mcps);
|
|
2005
|
+
return "Claude Code configured";
|
|
2006
|
+
} catch {
|
|
2007
|
+
return "Claude Code \u2014 skipped (Cortex is already available via Claude Desktop config)";
|
|
2008
|
+
}
|
|
1997
2009
|
case "cursor":
|
|
1998
2010
|
configureCursor(serverUrl, apiKey, mcps);
|
|
1999
2011
|
return "Cursor configured";
|