@danainnovations/cortex-mcp 1.0.93 → 1.0.94
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 +11 -10
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -904,9 +904,10 @@ function getWizardHtml() {
|
|
|
904
904
|
state.credentials = data.credentials;
|
|
905
905
|
state.availableMcps = data.availableMcps || [];
|
|
906
906
|
state.enabledMcps = data.enabledMcps || ['m365'];
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
907
|
+
// Ensure all company MCPs are always enabled (API fallback may miss them)
|
|
908
|
+
['github', 'vercel', 'supabase', 'databricks', 'bestbuy', 'feedback', 'sonance_brand'].forEach(function(name) {
|
|
909
|
+
if (state.enabledMcps.indexOf(name) === -1) state.enabledMcps.push(name);
|
|
910
|
+
});
|
|
910
911
|
state.selectedMcps = state.enabledMcps.slice();
|
|
911
912
|
state.detectedClients = data.detectedClients || [];
|
|
912
913
|
state.configuredClients = (data.config && data.config.configuredClients) || [];
|
|
@@ -1081,10 +1082,10 @@ function getWizardHtml() {
|
|
|
1081
1082
|
function renderMcpList(container) {
|
|
1082
1083
|
var enabledList = (state.enabledMcps && state.enabledMcps.length > 0)
|
|
1083
1084
|
? state.enabledMcps : ['m365'];
|
|
1084
|
-
//
|
|
1085
|
-
|
|
1086
|
-
enabledList.push(
|
|
1087
|
-
}
|
|
1085
|
+
// Ensure all company MCPs are always enabled
|
|
1086
|
+
['github', 'vercel', 'supabase', 'databricks', 'bestbuy', 'feedback', 'sonance_brand'].forEach(function(name) {
|
|
1087
|
+
if (enabledList.indexOf(name) === -1) enabledList.push(name);
|
|
1088
|
+
});
|
|
1088
1089
|
var enabledMcps = state.availableMcps.filter(function(m) { return enabledList.indexOf(m.name) !== -1; });
|
|
1089
1090
|
var disabledMcps = state.availableMcps.filter(function(m) { return enabledList.indexOf(m.name) === -1; });
|
|
1090
1091
|
|
|
@@ -1150,9 +1151,9 @@ function getWizardHtml() {
|
|
|
1150
1151
|
|
|
1151
1152
|
if (userData.mcps && userData.mcps.length > 0) {
|
|
1152
1153
|
state.enabledMcps = userData.mcps.map(function(m) { return m.name; });
|
|
1153
|
-
|
|
1154
|
-
state.enabledMcps.push(
|
|
1155
|
-
}
|
|
1154
|
+
['github', 'vercel', 'supabase', 'databricks', 'bestbuy', 'feedback', 'sonance_brand'].forEach(function(name) {
|
|
1155
|
+
if (state.enabledMcps.indexOf(name) === -1) state.enabledMcps.push(name);
|
|
1156
|
+
});
|
|
1156
1157
|
state.selectedMcps = state.enabledMcps.slice();
|
|
1157
1158
|
}
|
|
1158
1159
|
state.connections = connData.connections || [];
|