@leanmcp/core 0.3.16 → 0.3.17

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,13 @@
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
+ };
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 (DCR) */
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 (DCR) */
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 {