@danainnovations/cortex-mcp 1.0.120 → 1.0.122

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
@@ -635,9 +635,9 @@ function getWizardHtml() {
635
635
 
636
636
  /* \u2500\u2500 Connection List \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
637
637
  .conn-list {
638
- display: flex;
639
- flex-direction: column;
640
- gap: 8px;
638
+ display: grid;
639
+ grid-template-columns: repeat(2, 1fr);
640
+ gap: 6px;
641
641
  margin-bottom: 8px;
642
642
  }
643
643
  .conn-item {
@@ -810,6 +810,7 @@ function getWizardHtml() {
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
811
  @media (max-width: 900px) {
812
812
  .mcp-list { grid-template-columns: repeat(2, 1fr); }
813
+ .conn-list { grid-template-columns: 1fr; }
813
814
  }
814
815
 
815
816
  /* \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 */
@@ -922,19 +923,17 @@ function getWizardHtml() {
922
923
  </div>
923
924
  </div>
924
925
 
925
- <!-- Step 6: Done -->
926
+ <!-- Step 7: Done -->
926
927
  <div id="step-done" class="step">
927
- <div class="card text-center">
928
- <div class="success-circle"><span class="success-check">&#10003;</span></div>
929
- <h2>Setup Complete</h2>
930
- <p class="subtitle">Your AI clients are now connected to Cortex</p>
931
- <div id="summary" style="text-align: left; margin: 24px 0;"></div>
932
- <div class="next-steps">
933
- <h3>What's Next</h3>
934
- <div class="next-step-item">1. Restart your AI clients to load the new tools</div>
935
- <div class="next-step-item">2. Try: &ldquo;List my GitHub repos&rdquo; or &ldquo;Show my Asana tasks&rdquo;</div>
936
- <div class="next-step-item">3. Run <code>cortex-mcp connect &lt;provider&gt;</code> to add more accounts later</div>
928
+ <div class="card">
929
+ <div class="text-center" style="margin-bottom: 24px;">
930
+ <div class="success-circle"><span class="success-check">&#10003;</span></div>
931
+ <h2>You're All Set!</h2>
932
+ <p class="subtitle">Cortex is ready to use. Here's how to get started.</p>
937
933
  </div>
934
+
935
+ <div id="getting-started" style="text-align: left;"></div>
936
+
938
937
  <div style="margin-top: 24px;">
939
938
  <button class="btn btn-accent btn-block" onclick="finishSetup()">Close</button>
940
939
  </div>
@@ -1646,34 +1645,50 @@ function getWizardHtml() {
1646
1645
 
1647
1646
  // \u2500\u2500 Step 6: Done \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
1648
1647
  function renderDone() {
1649
- var el = document.getElementById('summary');
1650
- var html = '';
1648
+ var el = document.getElementById('getting-started');
1651
1649
 
1652
- html += '<div class="summary-section">';
1653
- html += '<h3>Integrations (' + state.selectedMcps.length + ')</h3>';
1654
- state.selectedMcps.forEach(function(name) {
1655
- var mcp = state.availableMcps.find(function(m) { return m.name === name; });
1656
- html += '<div class="summary-item"><span class="check-icon">&#10003;</span>' + escapeHtml(mcp ? mcp.displayName : name) + '</div>';
1650
+ var steps = [
1651
+ {
1652
+ num: '1',
1653
+ title: 'Restart your AI apps',
1654
+ desc: 'Quit Claude Desktop completely (right-click the icon in the menu bar \\u2192 Quit), then reopen it. Do the same for Cursor or VS Code if you use them.'
1655
+ },
1656
+ {
1657
+ num: '2',
1658
+ title: 'Start a conversation and ask for something',
1659
+ desc: 'Open a new chat and try one of these:',
1660
+ examples: [
1661
+ '\\u201CShow me my recent emails\\u201D',
1662
+ '\\u201CList my open Asana tasks\\u201D',
1663
+ '\\u201CWhat repos do I have on GitHub?\\u201D',
1664
+ '\\u201CSummarize my calendar for this week\\u201D'
1665
+ ]
1666
+ },
1667
+ {
1668
+ num: '3',
1669
+ title: 'Approve the tools when prompted',
1670
+ desc: 'The first time Claude uses a Cortex tool, it will ask for permission. Click \\u201CAllow\\u201D (or set to \\u201CAlways allow\\u201D in Settings \\u2192 Connectors \\u2192 Cortex).'
1671
+ }
1672
+ ];
1673
+
1674
+ var html = '<div style="display: flex; flex-direction: column; gap: 16px;">';
1675
+ steps.forEach(function(step) {
1676
+ html += '<div style="display: flex; gap: 14px; align-items: flex-start;">' +
1677
+ '<div style="width: 32px; height: 32px; border-radius: 50%; background: rgba(0,163,225,0.12); color: #00A3E1; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0;">' + step.num + '</div>' +
1678
+ '<div style="flex: 1;">' +
1679
+ '<div style="font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px;">' + step.title + '</div>' +
1680
+ '<div style="font-size: 13px; color: #8f999f; line-height: 1.5;">' + step.desc + '</div>';
1681
+ if (step.examples) {
1682
+ html += '<div style="margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px;">';
1683
+ step.examples.forEach(function(ex) {
1684
+ html += '<span style="font-size: 12px; background: rgba(0,163,225,0.08); border: 1px solid rgba(0,163,225,0.15); color: #b0b8c0; padding: 4px 10px; border-radius: 6px;">' + ex + '</span>';
1685
+ });
1686
+ html += '</div>';
1687
+ }
1688
+ html += '</div></div>';
1657
1689
  });
1658
1690
  html += '</div>';
1659
1691
 
1660
- if (state.configuredClients.length > 0) {
1661
- html += '<div class="summary-section">';
1662
- html += '<h3>Configured Clients</h3>';
1663
- state.configuredClients.forEach(function(c) {
1664
- var client = state.detectedClients.find(function(d) { return d.type === c; });
1665
- html += '<div class="summary-item"><span class="check-icon">&#10003;</span>' + escapeHtml(client ? client.name : c) + '</div>';
1666
- });
1667
- html += '</div>';
1668
- }
1669
-
1670
- if (state.credentials) {
1671
- html += '<div class="summary-section">';
1672
- html += '<h3>Signed In</h3>';
1673
- html += '<div class="summary-item"><span class="check-icon">&#10003;</span>' + escapeHtml(state.credentials.name || state.credentials.email) + '</div>';
1674
- html += '</div>';
1675
- }
1676
-
1677
1692
  el.innerHTML = html;
1678
1693
  }
1679
1694