@leanmcp/core 0.3.17 → 0.3.18
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/LICENSE +21 -21
- package/README.md +474 -474
- package/package.json +76 -76
- package/dist/chunk-LPEX4YW6.mjs +0 -13
- package/dist/server-BEQUIEE2.mjs +0 -25808
package/package.json
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@leanmcp/core",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "Core library implementing decorators, reflection, and MCP runtime server",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"require": "./dist/index.js",
|
|
12
|
-
"import": "./dist/index.mjs"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist",
|
|
17
|
-
"README.md",
|
|
18
|
-
"LICENSE"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
22
|
-
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
|
|
23
|
-
"test": "jest --passWithNoTests",
|
|
24
|
-
"test:watch": "jest --watch"
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
28
|
-
"ajv": "^8.12.0",
|
|
29
|
-
"chokidar": "^4.0.0",
|
|
30
|
-
"dotenv": "^16.3.1",
|
|
31
|
-
"reflect-metadata": "^0.2.1"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"cors": "^2.8.5",
|
|
35
|
-
"express": "^5.0.0",
|
|
36
|
-
"@leanmcp/auth": "^0.4.0"
|
|
37
|
-
},
|
|
38
|
-
"peerDependenciesMeta": {
|
|
39
|
-
"express": {
|
|
40
|
-
"optional": true
|
|
41
|
-
},
|
|
42
|
-
"cors": {
|
|
43
|
-
"optional": true
|
|
44
|
-
},
|
|
45
|
-
"@leanmcp/auth": {
|
|
46
|
-
"optional": true
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@types/cors": "^2.8.0",
|
|
51
|
-
"@types/express": "^5.0.0",
|
|
52
|
-
"@types/node": "^20.0.0"
|
|
53
|
-
},
|
|
54
|
-
"repository": {
|
|
55
|
-
"type": "git",
|
|
56
|
-
"url": "git+https://github.com/LeanMCP/leanmcp-sdk.git",
|
|
57
|
-
"directory": "packages/core"
|
|
58
|
-
},
|
|
59
|
-
"homepage": "https://github.com/LeanMCP/leanmcp-sdk#readme",
|
|
60
|
-
"bugs": {
|
|
61
|
-
"url": "https://github.com/LeanMCP/leanmcp-sdk/issues"
|
|
62
|
-
},
|
|
63
|
-
"keywords": [
|
|
64
|
-
"mcp",
|
|
65
|
-
"model-context-protocol",
|
|
66
|
-
"typescript",
|
|
67
|
-
"decorators",
|
|
68
|
-
"server",
|
|
69
|
-
"runtime"
|
|
70
|
-
],
|
|
71
|
-
"author": "LeanMCP <admin@leanmcp.com>",
|
|
72
|
-
"license": "MIT",
|
|
73
|
-
"publishConfig": {
|
|
74
|
-
"access": "public"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@leanmcp/core",
|
|
3
|
+
"version": "0.3.18",
|
|
4
|
+
"description": "Core library implementing decorators, reflection, and MCP runtime server",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"import": "./dist/index.mjs"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
22
|
+
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
|
|
23
|
+
"test": "jest --passWithNoTests",
|
|
24
|
+
"test:watch": "jest --watch"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
28
|
+
"ajv": "^8.12.0",
|
|
29
|
+
"chokidar": "^4.0.0",
|
|
30
|
+
"dotenv": "^16.3.1",
|
|
31
|
+
"reflect-metadata": "^0.2.1"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"cors": "^2.8.5",
|
|
35
|
+
"express": "^5.0.0",
|
|
36
|
+
"@leanmcp/auth": "^0.4.0"
|
|
37
|
+
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"express": {
|
|
40
|
+
"optional": true
|
|
41
|
+
},
|
|
42
|
+
"cors": {
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
"@leanmcp/auth": {
|
|
46
|
+
"optional": true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/cors": "^2.8.0",
|
|
51
|
+
"@types/express": "^5.0.0",
|
|
52
|
+
"@types/node": "^20.0.0"
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/LeanMCP/leanmcp-sdk.git",
|
|
57
|
+
"directory": "packages/core"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/LeanMCP/leanmcp-sdk#readme",
|
|
60
|
+
"bugs": {
|
|
61
|
+
"url": "https://github.com/LeanMCP/leanmcp-sdk/issues"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"mcp",
|
|
65
|
+
"model-context-protocol",
|
|
66
|
+
"typescript",
|
|
67
|
+
"decorators",
|
|
68
|
+
"server",
|
|
69
|
+
"runtime"
|
|
70
|
+
],
|
|
71
|
+
"author": "LeanMCP <admin@leanmcp.com>",
|
|
72
|
+
"license": "MIT",
|
|
73
|
+
"publishConfig": {
|
|
74
|
+
"access": "public"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/dist/chunk-LPEX4YW6.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
4
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
5
|
-
}) : x)(function(x) {
|
|
6
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
7
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
__name,
|
|
12
|
-
__require
|
|
13
|
-
};
|