@ace-sdk/mcp 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.
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Version Checker Utility
3
+ *
4
+ * Checks version compatibility between MCP client, plugin, and server.
5
+ *
6
+ * @package @ace-sdk/mcp
7
+ */
8
+ export declare const MCP_VERSION = "1.0.0";
9
+ export interface VersionStatus {
10
+ mcp_client: {
11
+ version: string;
12
+ status: 'current' | 'outdated' | 'unknown';
13
+ };
14
+ server: {
15
+ status: 'connected' | 'disconnected' | 'unknown';
16
+ version?: string;
17
+ };
18
+ compatibility: 'compatible' | 'incompatible' | 'unknown';
19
+ message: string;
20
+ }
21
+ /**
22
+ * Check version compatibility
23
+ *
24
+ * Non-blocking check that returns current version status.
25
+ */
26
+ export declare function checkVersionCompatibility(): Promise<VersionStatus>;
27
+ //# sourceMappingURL=version-checker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version-checker.d.ts","sourceRoot":"","sources":["../../src/utils/version-checker.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,eAAO,MAAM,WAAW,UAAU,CAAC;AAEnC,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;KAC5C,CAAC;IACF,MAAM,EAAE;QACN,MAAM,EAAE,WAAW,GAAG,cAAc,GAAG,SAAS,CAAC;QACjD,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,aAAa,EAAE,YAAY,GAAG,cAAc,GAAG,SAAS,CAAC;IACzD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,aAAa,CAAC,CAcxE"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Version Checker Utility
3
+ *
4
+ * Checks version compatibility between MCP client, plugin, and server.
5
+ *
6
+ * @package @ace-sdk/mcp
7
+ */
8
+ // Version defined here to avoid circular imports
9
+ export const MCP_VERSION = '1.0.0';
10
+ /**
11
+ * Check version compatibility
12
+ *
13
+ * Non-blocking check that returns current version status.
14
+ */
15
+ export async function checkVersionCompatibility() {
16
+ // For now, return basic status
17
+ // In future, could fetch from registry or server
18
+ return {
19
+ mcp_client: {
20
+ version: MCP_VERSION,
21
+ status: 'current'
22
+ },
23
+ server: {
24
+ status: 'unknown'
25
+ },
26
+ compatibility: 'compatible',
27
+ message: `ACE MCP Server v${MCP_VERSION} - Compatible with all MCP clients`
28
+ };
29
+ }
30
+ //# sourceMappingURL=version-checker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version-checker.js","sourceRoot":"","sources":["../../src/utils/version-checker.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,iDAAiD;AACjD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AAenC;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB;IAC7C,+BAA+B;IAC/B,iDAAiD;IACjD,OAAO;QACL,UAAU,EAAE;YACV,OAAO,EAAE,WAAW;YACpB,MAAM,EAAE,SAAS;SAClB;QACD,MAAM,EAAE;YACN,MAAM,EAAE,SAAS;SAClB;QACD,aAAa,EAAE,YAAY;QAC3B,OAAO,EAAE,mBAAmB,WAAW,oCAAoC;KAC5E,CAAC;AACJ,CAAC"}
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@ace-sdk/mcp",
3
+ "version": "1.0.0",
4
+ "description": "ACE MCP - Model Context Protocol server for ACE pattern learning",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "bin": {
9
+ "ace-mcp": "dist/index.js"
10
+ },
11
+ "scripts": {
12
+ "build": "tsc",
13
+ "watch": "tsc --watch",
14
+ "clean": "rm -rf dist",
15
+ "dev": "tsx src/index.ts",
16
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
17
+ "prepublishOnly": "npm run build"
18
+ },
19
+ "keywords": [
20
+ "mcp",
21
+ "model-context-protocol",
22
+ "ace",
23
+ "pattern-learning",
24
+ "claude",
25
+ "ai-assistant",
26
+ "code-engine"
27
+ ],
28
+ "author": {
29
+ "name": "CE.NET Team",
30
+ "email": "ace@code-engine.net"
31
+ },
32
+ "license": "MIT",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/ce-dot-net/ace-sdk.git",
36
+ "directory": "packages/mcp"
37
+ },
38
+ "dependencies": {
39
+ "@ace-sdk/core": "^1.0.0",
40
+ "@modelcontextprotocol/sdk": "^1.22.0",
41
+ "linguist-js": "^2.9.2"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^24.10.1",
45
+ "tsx": "^4.19.2",
46
+ "typescript": "^5.9.3"
47
+ },
48
+ "engines": {
49
+ "node": ">=20.0.0"
50
+ },
51
+ "files": [
52
+ "dist/**/*",
53
+ "README.md"
54
+ ],
55
+ "publishConfig": {
56
+ "access": "public"
57
+ }
58
+ }