@leanmcp/core 0.3.16 → 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/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -101,7 +101,7 @@ interface HTTPServerAuthOptions {
|
|
|
101
101
|
issuer?: string;
|
|
102
102
|
/** Access token TTL in seconds (default: 3600) */
|
|
103
103
|
tokenTTL?: number;
|
|
104
|
-
/** Enable Dynamic Client Registration (
|
|
104
|
+
/** Enable Dynamic Client Registration (for ChatGPT etc.) */
|
|
105
105
|
enableDCR?: boolean;
|
|
106
106
|
/** Upstream OAuth provider configuration */
|
|
107
107
|
upstreamProvider?: {
|
|
@@ -551,6 +551,8 @@ interface MCPServerConstructorOptions {
|
|
|
551
551
|
};
|
|
552
552
|
sessionTimeout?: number;
|
|
553
553
|
stateless?: boolean;
|
|
554
|
+
dashboard?: boolean;
|
|
555
|
+
/** OAuth/Auth configuration (MCP authorization spec) - passed to HTTPServerOptions */
|
|
554
556
|
auth?: HTTPServerAuthOptions;
|
|
555
557
|
}
|
|
556
558
|
interface RegisteredTool {
|
package/dist/index.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ interface HTTPServerAuthOptions {
|
|
|
101
101
|
issuer?: string;
|
|
102
102
|
/** Access token TTL in seconds (default: 3600) */
|
|
103
103
|
tokenTTL?: number;
|
|
104
|
-
/** Enable Dynamic Client Registration (
|
|
104
|
+
/** Enable Dynamic Client Registration (for ChatGPT etc.) */
|
|
105
105
|
enableDCR?: boolean;
|
|
106
106
|
/** Upstream OAuth provider configuration */
|
|
107
107
|
upstreamProvider?: {
|
|
@@ -551,6 +551,8 @@ interface MCPServerConstructorOptions {
|
|
|
551
551
|
};
|
|
552
552
|
sessionTimeout?: number;
|
|
553
553
|
stateless?: boolean;
|
|
554
|
+
dashboard?: boolean;
|
|
555
|
+
/** OAuth/Auth configuration (MCP authorization spec) - passed to HTTPServerOptions */
|
|
554
556
|
auth?: HTTPServerAuthOptions;
|
|
555
557
|
}
|
|
556
558
|
interface RegisteredTool {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leanmcp/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.18",
|
|
4
4
|
"description": "Core library implementing decorators, reflection, and MCP runtime server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -49,8 +49,7 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/cors": "^2.8.0",
|
|
51
51
|
"@types/express": "^5.0.0",
|
|
52
|
-
"@types/node": "^20.0.0"
|
|
53
|
-
"@leanmcp/auth": "^0.4.0"
|
|
52
|
+
"@types/node": "^20.0.0"
|
|
54
53
|
},
|
|
55
54
|
"repository": {
|
|
56
55
|
"type": "git",
|