@interopio/mcp-core 0.1.0-beta.0 → 1.0.0
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/mcp-core.es.js +26 -20
- package/dist/mcp-core.es.js.map +1 -1
- package/dist/mcp-core.umd.js +26 -20
- package/dist/mcp-core.umd.js.map +1 -1
- package/mcp-core.d.ts +1 -1
- package/package.json +3 -3
- package/readme.md +3 -3
package/dist/mcp-core.es.js
CHANGED
|
@@ -6266,7 +6266,7 @@ McpServerService = __decorate([
|
|
|
6266
6266
|
__metadata("design:paramtypes", [Function, IoConnectService])
|
|
6267
6267
|
], McpServerService);
|
|
6268
6268
|
|
|
6269
|
-
var version = "
|
|
6269
|
+
var version = "1.0.0";
|
|
6270
6270
|
var pkg = {
|
|
6271
6271
|
version: version};
|
|
6272
6272
|
|
|
@@ -6668,7 +6668,13 @@ let ToolsRegistry = class ToolsRegistry {
|
|
|
6668
6668
|
this.logger.info(`Tools Registry started with a total of ${this.ioIntelToolsCount} registered IoIntel tools.`);
|
|
6669
6669
|
}
|
|
6670
6670
|
getApplicableIoIntelTools(clientCapabilities) {
|
|
6671
|
-
const applicableTools =
|
|
6671
|
+
const applicableTools = this.allIoIntelTools.filter((tool) => {
|
|
6672
|
+
return tool.name !== this.searchApplicationsTool?.name &&
|
|
6673
|
+
tool.name !== this.searchWorkspacesTool?.name &&
|
|
6674
|
+
tool.name !== this.startApplicationsTool?.name &&
|
|
6675
|
+
tool.name !== this.startWorkspaceTool?.name &&
|
|
6676
|
+
tool.name !== this.getWorkingContextTool?.name;
|
|
6677
|
+
});
|
|
6672
6678
|
const shouldAddSearching = Boolean(typeof clientCapabilities?.sampling === "object" && clientCapabilities?.sampling !== null);
|
|
6673
6679
|
if (shouldAddSearching && this.searchApplicationsTool) {
|
|
6674
6680
|
applicableTools.push(this.searchApplicationsTool);
|
|
@@ -7541,7 +7547,7 @@ let MainController = class MainController {
|
|
|
7541
7547
|
}
|
|
7542
7548
|
const licenseValidation = this.licenseService.verifyLicense(licenseKey);
|
|
7543
7549
|
if (!licenseValidation.valid) {
|
|
7544
|
-
throw new Error("io.
|
|
7550
|
+
throw new Error("io.Intelligence MCP cannot initialize, because there was no license token provided or it was invalid.");
|
|
7545
7551
|
}
|
|
7546
7552
|
const licensePayload = this.licenseService.getLicensePayload(licenseKey);
|
|
7547
7553
|
const expirationCheck = this.licenseService.checkExpired(licensePayload.expiration);
|
|
@@ -9256,10 +9262,10 @@ var hasRequiredUri_all;
|
|
|
9256
9262
|
function requireUri_all () {
|
|
9257
9263
|
if (hasRequiredUri_all) return uri_all$1.exports;
|
|
9258
9264
|
hasRequiredUri_all = 1;
|
|
9259
|
-
(function (module, exports) {
|
|
9265
|
+
(function (module, exports$1) {
|
|
9260
9266
|
(function (global, factory) {
|
|
9261
|
-
factory(exports) ;
|
|
9262
|
-
}(uri_all, (function (exports) {
|
|
9267
|
+
factory(exports$1) ;
|
|
9268
|
+
}(uri_all, (function (exports$1) {
|
|
9263
9269
|
function merge() {
|
|
9264
9270
|
for (var _len = arguments.length, sets = Array(_len), _key = 0; _key < _len; _key++) {
|
|
9265
9271
|
sets[_key] = arguments[_key];
|
|
@@ -10641,20 +10647,20 @@ function requireUri_all () {
|
|
|
10641
10647
|
SCHEMES[handler$5.scheme] = handler$5;
|
|
10642
10648
|
SCHEMES[handler$6.scheme] = handler$6;
|
|
10643
10649
|
|
|
10644
|
-
exports.SCHEMES = SCHEMES;
|
|
10645
|
-
exports.pctEncChar = pctEncChar;
|
|
10646
|
-
exports.pctDecChars = pctDecChars;
|
|
10647
|
-
exports.parse = parse;
|
|
10648
|
-
exports.removeDotSegments = removeDotSegments;
|
|
10649
|
-
exports.serialize = serialize;
|
|
10650
|
-
exports.resolveComponents = resolveComponents;
|
|
10651
|
-
exports.resolve = resolve;
|
|
10652
|
-
exports.normalize = normalize;
|
|
10653
|
-
exports.equal = equal;
|
|
10654
|
-
exports.escapeComponent = escapeComponent;
|
|
10655
|
-
exports.unescapeComponent = unescapeComponent;
|
|
10656
|
-
|
|
10657
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
10650
|
+
exports$1.SCHEMES = SCHEMES;
|
|
10651
|
+
exports$1.pctEncChar = pctEncChar;
|
|
10652
|
+
exports$1.pctDecChars = pctDecChars;
|
|
10653
|
+
exports$1.parse = parse;
|
|
10654
|
+
exports$1.removeDotSegments = removeDotSegments;
|
|
10655
|
+
exports$1.serialize = serialize;
|
|
10656
|
+
exports$1.resolveComponents = resolveComponents;
|
|
10657
|
+
exports$1.resolve = resolve;
|
|
10658
|
+
exports$1.normalize = normalize;
|
|
10659
|
+
exports$1.equal = equal;
|
|
10660
|
+
exports$1.escapeComponent = escapeComponent;
|
|
10661
|
+
exports$1.unescapeComponent = unescapeComponent;
|
|
10662
|
+
|
|
10663
|
+
Object.defineProperty(exports$1, '__esModule', { value: true });
|
|
10658
10664
|
|
|
10659
10665
|
})));
|
|
10660
10666
|
|