@theia/ai-mcp-ui 1.67.0-next.56 → 1.67.0-next.59
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/lib/browser/mcp-command-contribution.d.ts +21 -0
- package/lib/browser/mcp-command-contribution.d.ts.map +1 -0
- package/lib/browser/mcp-command-contribution.js +128 -0
- package/lib/browser/mcp-command-contribution.js.map +1 -0
- package/lib/browser/mcp-ui-frontend-module.d.ts +4 -0
- package/lib/browser/mcp-ui-frontend-module.d.ts.map +1 -0
- package/lib/browser/mcp-ui-frontend-module.js +27 -0
- package/lib/browser/mcp-ui-frontend-module.js.map +1 -0
- package/lib/package.spec.d.ts +1 -0
- package/lib/package.spec.d.ts.map +1 -0
- package/lib/package.spec.js +26 -0
- package/lib/package.spec.js.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AICommandHandlerFactory } from '@theia/ai-core/lib/browser/ai-command-handler-factory';
|
|
2
|
+
import { CommandContribution, CommandRegistry, MessageService } from '@theia/core';
|
|
3
|
+
import { QuickInputService } from '@theia/core/lib/browser';
|
|
4
|
+
import { MCPFrontendService } from '@theia/ai-mcp';
|
|
5
|
+
export declare const StartMCPServer: {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const StopMCPServer: {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
export declare class MCPCommandContribution implements CommandContribution {
|
|
14
|
+
protected readonly commandHandlerFactory: AICommandHandlerFactory;
|
|
15
|
+
protected readonly quickInputService: QuickInputService;
|
|
16
|
+
protected messageService: MessageService;
|
|
17
|
+
protected readonly mcpFrontendService: MCPFrontendService;
|
|
18
|
+
private getMCPServerSelection;
|
|
19
|
+
registerCommands(commandRegistry: CommandRegistry): void;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=mcp-command-contribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-command-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/mcp-command-contribution.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uDAAuD,CAAC;AAChG,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,cAAc,EAAO,MAAM,aAAa,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAmB,MAAM,eAAe,CAAC;AAEpE,eAAO,MAAM,cAAc;;;CAG1B,CAAC;AACF,eAAO,MAAM,aAAa;;;CAGzB,CAAC;AAEF,qBACa,sBAAuB,YAAW,mBAAmB;IAE9D,SAAS,CAAC,QAAQ,CAAC,qBAAqB,EAAE,uBAAuB,CAAC;IAGlE,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAGxD,SAAS,CAAC,cAAc,EAAE,cAAc,CAAC;IAGzC,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;YAE5C,qBAAqB;IASnC,gBAAgB,CAAC,eAAe,EAAE,eAAe,GAAG,IAAI;CAkE3D"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MCPCommandContribution = exports.StopMCPServer = exports.StartMCPServer = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
// *****************************************************************************
|
|
6
|
+
// Copyright (C) 2024 EclipseSource GmbH.
|
|
7
|
+
//
|
|
8
|
+
// This program and the accompanying materials are made available under the
|
|
9
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
10
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
11
|
+
//
|
|
12
|
+
// This Source Code may also be made available under the following Secondary
|
|
13
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
14
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
15
|
+
// with the GNU Classpath Exception which is available at
|
|
16
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
17
|
+
//
|
|
18
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
19
|
+
// *****************************************************************************
|
|
20
|
+
const ai_command_handler_factory_1 = require("@theia/ai-core/lib/browser/ai-command-handler-factory");
|
|
21
|
+
const core_1 = require("@theia/core");
|
|
22
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
23
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
24
|
+
const ai_mcp_1 = require("@theia/ai-mcp");
|
|
25
|
+
exports.StartMCPServer = {
|
|
26
|
+
id: 'mcp.startserver',
|
|
27
|
+
label: core_1.nls.localize('theia/ai/mcp/start/label', 'MCP: Start MCP Server'),
|
|
28
|
+
};
|
|
29
|
+
exports.StopMCPServer = {
|
|
30
|
+
id: 'mcp.stopserver',
|
|
31
|
+
label: core_1.nls.localize('theia/ai/mcp/stop/label', 'MCP: Stop MCP Server'),
|
|
32
|
+
};
|
|
33
|
+
let MCPCommandContribution = class MCPCommandContribution {
|
|
34
|
+
async getMCPServerSelection(serverNames) {
|
|
35
|
+
if (!serverNames || serverNames.length === 0) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
const options = serverNames.map(mcpServerName => ({ label: mcpServerName }));
|
|
39
|
+
const result = await this.quickInputService.showQuickPick(options);
|
|
40
|
+
return result === null || result === void 0 ? void 0 : result.label;
|
|
41
|
+
}
|
|
42
|
+
registerCommands(commandRegistry) {
|
|
43
|
+
commandRegistry.registerCommand(exports.StopMCPServer, this.commandHandlerFactory({
|
|
44
|
+
execute: async () => {
|
|
45
|
+
try {
|
|
46
|
+
const startedServers = await this.mcpFrontendService.getStartedServers();
|
|
47
|
+
if (!startedServers || startedServers.length === 0) {
|
|
48
|
+
this.messageService.error(core_1.nls.localize('theia/ai/mcp/error/noRunningServers', 'No MCP servers running.'));
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
const selection = await this.getMCPServerSelection(startedServers);
|
|
52
|
+
if (!selection) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
await this.mcpFrontendService.stopServer(selection);
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
console.error('Error while stopping MCP server:', error);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
commandRegistry.registerCommand(exports.StartMCPServer, this.commandHandlerFactory({
|
|
63
|
+
execute: async () => {
|
|
64
|
+
try {
|
|
65
|
+
const servers = await this.mcpFrontendService.getServerNames();
|
|
66
|
+
const startedServers = await this.mcpFrontendService.getStartedServers();
|
|
67
|
+
const startableServers = servers.filter(server => !startedServers.includes(server));
|
|
68
|
+
if (!startableServers || startableServers.length === 0) {
|
|
69
|
+
if (startedServers && startedServers.length > 0) {
|
|
70
|
+
this.messageService.error(core_1.nls.localize('theia/ai/mcp/error/allServersRunning', 'All MCP servers are already running.'));
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.messageService.error(core_1.nls.localize('theia/ai/mcp/error/noServersConfigured', 'No MCP servers configured.'));
|
|
74
|
+
}
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const selection = await this.getMCPServerSelection(startableServers);
|
|
78
|
+
if (!selection) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
await this.mcpFrontendService.startServer(selection);
|
|
82
|
+
const serverDescription = await this.mcpFrontendService.getServerDescription(selection);
|
|
83
|
+
if (serverDescription && serverDescription.status) {
|
|
84
|
+
if (serverDescription.status === ai_mcp_1.MCPServerStatus.Running
|
|
85
|
+
|| serverDescription.status === ai_mcp_1.MCPServerStatus.Connected) {
|
|
86
|
+
let toolNames = undefined;
|
|
87
|
+
if (serverDescription.tools) {
|
|
88
|
+
toolNames = serverDescription.tools.map(tool => tool.name).join(',');
|
|
89
|
+
}
|
|
90
|
+
this.messageService.info(core_1.nls.localize('theia/ai/mcp/info/serverStarted', 'MCP server "{0}" successfully started. Registered tools: {1}', selection, toolNames ||
|
|
91
|
+
core_1.nls.localize('theia/ai/mcp/tool/noTools', 'No tools available.')));
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (serverDescription.error) {
|
|
95
|
+
console.error('Error while starting MCP server:', serverDescription.error);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
this.messageService.error(core_1.nls.localize('theia/ai/mcp/error/startFailed', 'An error occurred while starting the MCP server.'));
|
|
99
|
+
}
|
|
100
|
+
catch (error) {
|
|
101
|
+
this.messageService.error(core_1.nls.localize('theia/ai/mcp/error/startFailed', 'An error occurred while starting the MCP server.'));
|
|
102
|
+
console.error('Error while starting MCP server:', error);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}));
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
exports.MCPCommandContribution = MCPCommandContribution;
|
|
109
|
+
tslib_1.__decorate([
|
|
110
|
+
(0, inversify_1.inject)(ai_command_handler_factory_1.AICommandHandlerFactory),
|
|
111
|
+
tslib_1.__metadata("design:type", Function)
|
|
112
|
+
], MCPCommandContribution.prototype, "commandHandlerFactory", void 0);
|
|
113
|
+
tslib_1.__decorate([
|
|
114
|
+
(0, inversify_1.inject)(browser_1.QuickInputService),
|
|
115
|
+
tslib_1.__metadata("design:type", Object)
|
|
116
|
+
], MCPCommandContribution.prototype, "quickInputService", void 0);
|
|
117
|
+
tslib_1.__decorate([
|
|
118
|
+
(0, inversify_1.inject)(core_1.MessageService),
|
|
119
|
+
tslib_1.__metadata("design:type", core_1.MessageService)
|
|
120
|
+
], MCPCommandContribution.prototype, "messageService", void 0);
|
|
121
|
+
tslib_1.__decorate([
|
|
122
|
+
(0, inversify_1.inject)(ai_mcp_1.MCPFrontendService),
|
|
123
|
+
tslib_1.__metadata("design:type", Object)
|
|
124
|
+
], MCPCommandContribution.prototype, "mcpFrontendService", void 0);
|
|
125
|
+
exports.MCPCommandContribution = MCPCommandContribution = tslib_1.__decorate([
|
|
126
|
+
(0, inversify_1.injectable)()
|
|
127
|
+
], MCPCommandContribution);
|
|
128
|
+
//# sourceMappingURL=mcp-command-contribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-command-contribution.js","sourceRoot":"","sources":["../../src/browser/mcp-command-contribution.ts"],"names":[],"mappings":";;;;AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAChF,sGAAgG;AAChG,sCAAwF;AACxF,qDAA4D;AAC5D,4DAAkE;AAClE,0CAAoE;AAEvD,QAAA,cAAc,GAAG;IAC1B,EAAE,EAAE,iBAAiB;IACrB,KAAK,EAAE,UAAG,CAAC,QAAQ,CAAC,0BAA0B,EAAE,uBAAuB,CAAC;CAC3E,CAAC;AACW,QAAA,aAAa,GAAG;IACzB,EAAE,EAAE,gBAAgB;IACpB,KAAK,EAAE,UAAG,CAAC,QAAQ,CAAC,yBAAyB,EAAE,sBAAsB,CAAC;CACzE,CAAC;AAGK,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAavB,KAAK,CAAC,qBAAqB,CAAC,WAAqB;QACrD,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3C,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC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EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAK/D,wBAGG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2024 EclipseSource GmbH.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const core_1 = require("@theia/core");
|
|
19
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
20
|
+
const mcp_command_contribution_1 = require("./mcp-command-contribution");
|
|
21
|
+
const common_1 = require("@theia/core/lib/common");
|
|
22
|
+
const mcp_preferences_1 = require("@theia/ai-mcp/lib/common/mcp-preferences");
|
|
23
|
+
exports.default = new inversify_1.ContainerModule(bind => {
|
|
24
|
+
bind(common_1.PreferenceContribution).toConstantValue({ schema: mcp_preferences_1.McpServersPreferenceSchema });
|
|
25
|
+
bind(core_1.CommandContribution).to(mcp_command_contribution_1.MCPCommandContribution);
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=mcp-ui-frontend-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-ui-frontend-module.js","sourceRoot":"","sources":["../../src/browser/mcp-ui-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,sCAAkD;AAClD,4DAA+D;AAC/D,yEAAoE;AACpE,mDAAgE;AAChE,8EAAsF;AAEtF,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,+BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,4CAA0B,EAAE,CAAC,CAAC;IACrF,IAAI,CAAC,0BAAmB,CAAC,CAAC,EAAE,CAAC,iDAAsB,CAAC,CAAC;AACzD,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=package.spec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package.spec.d.ts","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2025 EclipseSource GmbH and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
/* note: this bogus test file is required so that
|
|
17
|
+
we are able to run mocha unit tests on this
|
|
18
|
+
package, without having any actual unit tests in it.
|
|
19
|
+
This way a coverage report will be generated,
|
|
20
|
+
showing 0% coverage, instead of no report.
|
|
21
|
+
This file can be removed once we have real unit
|
|
22
|
+
tests in place. */
|
|
23
|
+
describe('ai-mcp-ui package', () => {
|
|
24
|
+
it('support code coverage statistics', () => true);
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=package.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package.spec.js","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAEhF;;;;;;qBAMqB;AAErB,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IAE/B,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/ai-mcp-ui",
|
|
3
|
-
"version": "1.67.0-next.
|
|
3
|
+
"version": "1.67.0-next.59+3f14297ea",
|
|
4
4
|
"description": "Theia - MCP UI Integration",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/ai-core": "1.67.0-next.
|
|
7
|
-
"@theia/ai-mcp": "1.67.0-next.
|
|
8
|
-
"@theia/core": "1.67.0-next.
|
|
6
|
+
"@theia/ai-core": "1.67.0-next.59+3f14297ea",
|
|
7
|
+
"@theia/ai-mcp": "1.67.0-next.59+3f14297ea",
|
|
8
|
+
"@theia/core": "1.67.0-next.59+3f14297ea"
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"nyc": {
|
|
46
46
|
"extends": "../../configs/nyc.json"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "3f14297ea2edcdb1fffd74afee0613e70b43e125"
|
|
49
49
|
}
|