@danainnovations/cortex-mcp 1.0.133 → 1.0.134

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
@@ -901,8 +901,9 @@ function getWizardHtml() {
901
901
  <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>
902
902
  </div>
903
903
  <div id="manual-setup-content"></div>
904
- <div class="btn-row">
905
- <button class="btn btn-primary btn-block" id="btn-manual-continue" disabled onclick="completeManualSetup()" style="opacity:0.4; cursor:not-allowed;">Next (15)</button>
904
+ <div class="btn-row" style="display:flex; gap:8px;">
905
+ <button class="btn btn-secondary" id="btn-manual-back" onclick="manualStepBack()" style="display:none; flex:0 0 auto;">Back</button>
906
+ <button class="btn btn-primary" id="btn-manual-continue" disabled onclick="completeManualSetup()" style="opacity:0.4; cursor:not-allowed; flex:1;">Next (15)</button>
906
907
  </div>
907
908
  </div>
908
909
  </div>
@@ -1504,30 +1505,30 @@ function getWizardHtml() {
1504
1505
  var MANUAL_STEPS = [
1505
1506
  {
1506
1507
  title: 'Connect Cortex Enterprise',
1507
- subtitle: 'This step is only for <strong style="color:#fff;">Organization / Enterprise</strong> Claude accounts',
1508
+ subtitle: 'Complete these steps in the <strong style="color:#fff;">Claude Desktop App</strong> (not your browser)',
1508
1509
  badge: 'Step 1 of 4',
1509
1510
  content: function() {
1510
- return '<div style="border: 2px solid #00A3E1; border-radius: 14px; padding: 24px; background: rgba(0,163,225,0.04);">' +
1511
- '<p style="font-size:15px; font-weight:600; color:#fff; margin-bottom:8px;">Open Claude Desktop \\u2192 Settings \\u2192 Connectors</p>' +
1512
- '<p style="font-size:13px; color:#8f999f; line-height:1.6;">In Claude Desktop, click the menu icon (top-left), go to <strong style="color:#fff;">Settings</strong>, then select <strong style="color:#fff;">Connectors</strong> from the left sidebar.</p>' +
1513
- '</div>' +
1514
- '<p style="font-size:12px; color:#FFB74D; margin-top:12px; text-align:center;">If you are on a personal account (not Enterprise), you can skip all 4 steps \\u2014 your setup is already complete.</p>';
1511
+ return '<p style="font-size:12px; color:#FFB74D; margin-bottom:14px; text-align:center;">These steps are only for <strong>Organization / Enterprise</strong> Claude accounts. Personal accounts can skip.</p>' +
1512
+ '<div style="border: 2px solid #00A3E1; border-radius: 14px; padding: 24px; background: rgba(0,163,225,0.04);">' +
1513
+ '<p style="font-size:15px; font-weight:600; color:#fff; margin-bottom:8px;">Open the Claude Desktop App \\u2192 Settings \\u2192 Connectors</p>' +
1514
+ '<p style="font-size:13px; color:#8f999f; line-height:1.6;">Open the <strong style="color:#fff;">Claude Desktop App</strong> on your computer (not claude.ai in your browser). Click the menu icon (top-left), go to <strong style="color:#fff;">Settings</strong>, then select <strong style="color:#fff;">Connectors</strong> from the left sidebar.</p>' +
1515
+ '</div>';
1515
1516
  }
1516
1517
  },
1517
1518
  {
1518
1519
  title: 'Connect Cortex Enterprise',
1519
- subtitle: 'This step is only for <strong style="color:#fff;">Organization / Enterprise</strong> Claude accounts',
1520
+ subtitle: 'Complete these steps in the <strong style="color:#fff;">Claude Desktop App</strong> (not your browser)',
1520
1521
  badge: 'Step 2 of 4',
1521
1522
  content: function() {
1522
1523
  return '<div style="border: 2px solid #00A3E1; border-radius: 14px; padding: 24px; background: rgba(0,163,225,0.04);">' +
1523
1524
  '<p style="font-size:15px; font-weight:600; color:#fff; margin-bottom:8px;">Find Cortex MCP Enterprise and click Connect</p>' +
1524
- '<p style="font-size:13px; color:#8f999f; line-height:1.6;">Scroll to the bottom of the Connectors list. You should see <strong style="color:#fff;">Cortex MCP Enterprise</strong> with a <strong style="color:#fff;">Connect</strong> button. Click it.</p>' +
1525
+ '<p style="font-size:13px; color:#8f999f; line-height:1.6;">In the Claude Desktop App, scroll to the bottom of the Connectors list. You should see <strong style="color:#fff;">Cortex MCP Enterprise</strong> with a <strong style="color:#fff;">Connect</strong> button. Click it.</p>' +
1525
1526
  '</div>';
1526
1527
  }
1527
1528
  },
1528
1529
  {
1529
1530
  title: 'Connect Cortex Enterprise',
1530
- subtitle: 'This step is only for <strong style="color:#fff;">Organization / Enterprise</strong> Claude accounts',
1531
+ subtitle: 'Complete these steps in the <strong style="color:#fff;">Claude Desktop App</strong> (not your browser)',
1531
1532
  badge: 'Step 3 of 4',
1532
1533
  content: function() {
1533
1534
  return '<div style="border: 2px solid #00A3E1; border-radius: 14px; padding: 24px; background: rgba(0,163,225,0.04);">' +
@@ -1539,12 +1540,12 @@ function getWizardHtml() {
1539
1540
  },
1540
1541
  {
1541
1542
  title: 'Connect Cortex Enterprise',
1542
- subtitle: 'This step is only for <strong style="color:#fff;">Organization / Enterprise</strong> Claude accounts',
1543
+ subtitle: 'Complete these steps in the <strong style="color:#fff;">Claude Desktop App</strong> (not your browser)',
1543
1544
  badge: 'Step 4 of 4',
1544
1545
  content: function() {
1545
1546
  return '<div style="border: 2px solid #00A3E1; border-radius: 14px; padding: 24px; background: rgba(0,163,225,0.04);">' +
1546
1547
  '<p style="font-size:15px; font-weight:600; color:#fff; margin-bottom:8px;">Set Tool permissions to Always allow</p>' +
1547
- '<p style="font-size:13px; color:#8f999f; line-height:1.6;">Back in <strong style="color:#fff;">Settings \\u2192 Connectors</strong>, find <strong style="color:#fff;">Cortex MCP Enterprise</strong> and click <strong style="color:#fff;">Configure</strong>.</p>' +
1548
+ '<p style="font-size:13px; color:#8f999f; line-height:1.6;">Back in the Claude Desktop App under <strong style="color:#fff;">Settings \\u2192 Connectors</strong>, find <strong style="color:#fff;">Cortex MCP Enterprise</strong> and click <strong style="color:#fff;">Configure</strong>.</p>' +
1548
1549
  '<p style="font-size:13px; color:#8f999f; line-height:1.6; margin-top:8px;">In the top-right corner under <strong style="color:#fff;">Tool permissions</strong>, click the dropdown (it may say \\u201CNeeds approval\\u201D or \\u201CCustom\\u201D) and select <strong style="color:#fff;">Always allow</strong>.</p>' +
1549
1550
  '<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>' +
1550
1551
  '</div>';
@@ -1564,10 +1565,23 @@ function getWizardHtml() {
1564
1565
  '<p class="subtitle" style="margin-bottom:20px;">' + step.subtitle + '</p>' +
1565
1566
  step.content();
1566
1567
 
1568
+ // Show/hide Back button
1569
+ var backBtn = document.getElementById('btn-manual-back');
1570
+ if (backBtn) {
1571
+ backBtn.style.display = manualSubStep > 0 ? 'block' : 'none';
1572
+ }
1573
+
1567
1574
  // Start 15-second countdown
1568
1575
  startManualCountdown();
1569
1576
  }
1570
1577
 
1578
+ function manualStepBack() {
1579
+ if (manualSubStep > 0) {
1580
+ manualSubStep--;
1581
+ renderManualSetup();
1582
+ }
1583
+ }
1584
+
1571
1585
  function startManualCountdown() {
1572
1586
  var btn = document.getElementById('btn-manual-continue');
1573
1587
  if (!btn) return;