@frontmcp/sdk 0.9.0 → 0.11.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.
Files changed (248) hide show
  1. package/adapter/adapter.instance.d.ts +10 -3
  2. package/adapter/adapter.instance.d.ts.map +1 -1
  3. package/adapter/{adapter.regsitry.d.ts → adapter.registry.d.ts} +2 -1
  4. package/adapter/adapter.registry.d.ts.map +1 -0
  5. package/adapter/adapter.utils.d.ts.map +1 -1
  6. package/agent/agent.instance.d.ts.map +1 -1
  7. package/agent/agent.scope.d.ts +9 -9
  8. package/agent/agent.scope.d.ts.map +1 -1
  9. package/agent/agent.utils.d.ts.map +1 -1
  10. package/app/app.registry.d.ts.map +1 -1
  11. package/app/app.utils.d.ts.map +1 -1
  12. package/app/instances/app.local.instance.d.ts +1 -1
  13. package/auth/auth.registry.d.ts +1 -1
  14. package/auth/auth.registry.d.ts.map +1 -1
  15. package/auth/auth.utils.d.ts.map +1 -1
  16. package/auth/authorization/index.d.ts +0 -6
  17. package/auth/authorization/index.d.ts.map +1 -1
  18. package/auth/authorization/orchestrated.context-extension.d.ts +1 -1
  19. package/auth/authorization/orchestrated.context-extension.d.ts.map +1 -1
  20. package/auth/flows/auth.verify.flow.d.ts +1 -1
  21. package/auth/flows/auth.verify.flow.d.ts.map +1 -1
  22. package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
  23. package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
  24. package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -1
  25. package/auth/flows/session.verify.flow.d.ts +2 -2
  26. package/auth/flows/session.verify.flow.d.ts.map +1 -1
  27. package/auth/flows/well-known.jwks.flow.d.ts.map +1 -1
  28. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
  29. package/auth/flows/well-known.prm.flow.d.ts.map +1 -1
  30. package/auth/instances/instance.local-primary-auth.d.ts +2 -2
  31. package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
  32. package/auth/session/index.d.ts +7 -11
  33. package/auth/session/index.d.ts.map +1 -1
  34. package/auth/session/record/session.base.d.ts +1 -1
  35. package/auth/session/record/session.base.d.ts.map +1 -1
  36. package/auth/session/session-store.factory.d.ts +19 -3
  37. package/auth/session/session-store.factory.d.ts.map +1 -1
  38. package/auth/session/session.service.d.ts +1 -1
  39. package/auth/session/session.service.d.ts.map +1 -1
  40. package/auth/session/transport-session.manager.d.ts +1 -1
  41. package/auth/session/transport-session.manager.d.ts.map +1 -1
  42. package/auth/session/utils/session-id.utils.d.ts +1 -2
  43. package/auth/session/utils/session-id.utils.d.ts.map +1 -1
  44. package/auth/vault/auth-providers.context-extension.d.ts +2 -2
  45. package/auth/vault/auth-providers.context-extension.d.ts.map +1 -1
  46. package/auth/vault/auth-providers.providers.d.ts +1 -1
  47. package/auth/vault/auth-providers.providers.d.ts.map +1 -1
  48. package/auth/vault/index.d.ts +0 -52
  49. package/auth/vault/index.d.ts.map +1 -1
  50. package/builtin/config/config-resolver.d.ts.map +1 -1
  51. package/common/decorators/app.decorator.d.ts +1 -1
  52. package/common/decorators/app.decorator.d.ts.map +1 -1
  53. package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
  54. package/common/decorators/plugin.decorator.d.ts.map +1 -1
  55. package/common/dynamic/dynamic.adapter.d.ts.map +1 -1
  56. package/common/dynamic/dynamic.plugin.d.ts.map +1 -1
  57. package/common/interfaces/agent.interface.d.ts.map +1 -1
  58. package/common/interfaces/internal/flow.utils.d.ts.map +1 -1
  59. package/common/interfaces/server.interface.d.ts +4 -2
  60. package/common/interfaces/server.interface.d.ts.map +1 -1
  61. package/common/metadata/app.metadata.d.ts +16 -16
  62. package/common/metadata/front-mcp.metadata.d.ts +184 -52
  63. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  64. package/common/providers/base-config.provider.d.ts.map +1 -1
  65. package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
  66. package/common/types/auth/jwt.types.d.ts +2 -86
  67. package/common/types/auth/jwt.types.d.ts.map +1 -1
  68. package/common/types/auth/session.types.d.ts +5 -101
  69. package/common/types/auth/session.types.d.ts.map +1 -1
  70. package/common/types/options/auth/app-auth.schema.d.ts +8 -8
  71. package/common/types/options/auth/index.d.ts +14 -14
  72. package/common/types/options/auth/index.d.ts.map +1 -1
  73. package/common/types/options/auth/interfaces.d.ts +1 -1
  74. package/common/types/options/auth/interfaces.d.ts.map +1 -1
  75. package/common/types/options/auth/orchestrated.schema.d.ts +10 -10
  76. package/common/types/options/auth/public.schema.d.ts +2 -2
  77. package/common/types/options/auth/schema.d.ts +8 -8
  78. package/common/types/options/auth/shared.schemas.d.ts +2 -132
  79. package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
  80. package/common/types/options/auth/transparent.schema.d.ts +1 -1
  81. package/common/types/options/http/index.d.ts +1 -1
  82. package/common/types/options/http/index.d.ts.map +1 -1
  83. package/common/types/options/http/interfaces.d.ts +36 -0
  84. package/common/types/options/http/interfaces.d.ts.map +1 -1
  85. package/common/types/options/http/schema.d.ts +6 -0
  86. package/common/types/options/http/schema.d.ts.map +1 -1
  87. package/common/types/options/index.d.ts +1 -0
  88. package/common/types/options/index.d.ts.map +1 -1
  89. package/common/types/options/session/schema.d.ts +3 -3
  90. package/common/types/options/sqlite/index.d.ts +3 -0
  91. package/common/types/options/sqlite/index.d.ts.map +1 -0
  92. package/common/types/options/sqlite/schema.d.ts +26 -0
  93. package/common/types/options/sqlite/schema.d.ts.map +1 -0
  94. package/common/types/options/transport/schema.d.ts +1 -1
  95. package/elicitation/store/elicitation-encryption.d.ts +1 -1
  96. package/elicitation/store/elicitation-encryption.d.ts.map +1 -1
  97. package/elicitation/store/elicitation-store.factory.d.ts +21 -1
  98. package/elicitation/store/elicitation-store.factory.d.ts.map +1 -1
  99. package/errors/auth-internal.errors.d.ts +2 -0
  100. package/errors/auth-internal.errors.d.ts.map +1 -0
  101. package/errors/decorator.errors.d.ts +14 -0
  102. package/errors/decorator.errors.d.ts.map +1 -0
  103. package/errors/index.d.ts +8 -1
  104. package/errors/index.d.ts.map +1 -1
  105. package/errors/normalization.errors.d.ts +32 -0
  106. package/errors/normalization.errors.d.ts.map +1 -0
  107. package/errors/provider.errors.d.ts +63 -0
  108. package/errors/provider.errors.d.ts.map +1 -0
  109. package/errors/registry.errors.d.ts +50 -0
  110. package/errors/registry.errors.d.ts.map +1 -0
  111. package/errors/remote.errors.d.ts +8 -0
  112. package/errors/remote.errors.d.ts.map +1 -1
  113. package/errors/sdk.errors.d.ts +139 -0
  114. package/errors/sdk.errors.d.ts.map +1 -0
  115. package/errors/transport.errors.d.ts +46 -0
  116. package/errors/transport.errors.d.ts.map +1 -0
  117. package/esm/index.mjs +7422 -8497
  118. package/esm/package.json +11 -7
  119. package/flows/flow.instance.d.ts.map +1 -1
  120. package/flows/flow.registry.d.ts.map +1 -1
  121. package/flows/flow.utils.d.ts.map +1 -1
  122. package/front-mcp/front-mcp.d.ts +30 -1
  123. package/front-mcp/front-mcp.d.ts.map +1 -1
  124. package/front-mcp/front-mcp.providers.d.ts +76 -20
  125. package/front-mcp/front-mcp.providers.d.ts.map +1 -1
  126. package/front-mcp/serverless-handler.d.ts +0 -4
  127. package/front-mcp/serverless-handler.d.ts.map +1 -1
  128. package/hooks/hook.instance.d.ts.map +1 -1
  129. package/hooks/hook.registry.d.ts.map +1 -1
  130. package/index.d.ts +1 -1
  131. package/index.js +19714 -20739
  132. package/logger/logger.registry.d.ts.map +1 -1
  133. package/logger/logger.utils.d.ts.map +1 -1
  134. package/package.json +11 -7
  135. package/plugin/plugin.utils.d.ts.map +1 -1
  136. package/prompt/prompt.instance.d.ts.map +1 -1
  137. package/prompt/prompt.registry.d.ts.map +1 -1
  138. package/prompt/prompt.utils.d.ts.map +1 -1
  139. package/provider/provider.registry.d.ts.map +1 -1
  140. package/provider/provider.utils.d.ts.map +1 -1
  141. package/regsitry/registry.base.d.ts.map +1 -1
  142. package/remote-mcp/mcp-client.service.d.ts.map +1 -1
  143. package/remote-mcp/resilience/retry.d.ts.map +1 -1
  144. package/resource/resource.instance.d.ts.map +1 -1
  145. package/resource/resource.registry.d.ts.map +1 -1
  146. package/resource/resource.utils.d.ts.map +1 -1
  147. package/scope/flows/http.request.flow.d.ts +1 -1
  148. package/scope/flows/http.request.flow.d.ts.map +1 -1
  149. package/scope/scope.instance.d.ts.map +1 -1
  150. package/scope/scope.registry.d.ts.map +1 -1
  151. package/scope/scope.utils.d.ts.map +1 -1
  152. package/server/adapters/base.host.adapter.d.ts +4 -2
  153. package/server/adapters/base.host.adapter.d.ts.map +1 -1
  154. package/server/adapters/express.host.adapter.d.ts +6 -32
  155. package/server/adapters/express.host.adapter.d.ts.map +1 -1
  156. package/server/server.instance.d.ts +1 -1
  157. package/server/server.instance.d.ts.map +1 -1
  158. package/skill/flows/search-skills.flow.d.ts +2 -2
  159. package/skill/session/skill-session.manager.d.ts.map +1 -1
  160. package/skill/skill.utils.d.ts.map +1 -1
  161. package/skill/tools/search-skills.tool.d.ts +1 -1
  162. package/tool/tool.instance.d.ts.map +1 -1
  163. package/tool/tool.registry.d.ts.map +1 -1
  164. package/tool/tool.utils.d.ts.map +1 -1
  165. package/transport/adapters/streamable-http-transport.d.ts +9 -3
  166. package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
  167. package/transport/event-stores/event-store.factory.d.ts +8 -3
  168. package/transport/event-stores/event-store.factory.d.ts.map +1 -1
  169. package/transport/event-stores/redis.event-store.d.ts.map +1 -1
  170. package/transport/flows/handle.sse.flow.d.ts +1 -1
  171. package/transport/flows/handle.streamable-http.flow.d.ts +1 -1
  172. package/transport/legacy/legacy.sse.tranporter.d.ts.map +1 -1
  173. package/transport/mcp-handlers/skills-mcp.types.d.ts +1 -1
  174. package/transport/transport.local.d.ts.map +1 -1
  175. package/transport/transport.registry.d.ts +1 -1
  176. package/transport/transport.registry.d.ts.map +1 -1
  177. package/transport/transport.remote.d.ts.map +1 -1
  178. package/adapter/adapter.regsitry.d.ts.map +0 -1
  179. package/auth/authorization/authorization.class.d.ts +0 -123
  180. package/auth/authorization/authorization.class.d.ts.map +0 -1
  181. package/auth/authorization/authorization.types.d.ts +0 -128
  182. package/auth/authorization/authorization.types.d.ts.map +0 -1
  183. package/auth/authorization/orchestrated.accessor.d.ts +0 -161
  184. package/auth/authorization/orchestrated.accessor.d.ts.map +0 -1
  185. package/auth/authorization/orchestrated.authorization.d.ts +0 -258
  186. package/auth/authorization/orchestrated.authorization.d.ts.map +0 -1
  187. package/auth/authorization/public.authorization.d.ts +0 -92
  188. package/auth/authorization/public.authorization.d.ts.map +0 -1
  189. package/auth/authorization/transparent.authorization.d.ts +0 -131
  190. package/auth/authorization/transparent.authorization.d.ts.map +0 -1
  191. package/auth/consent/consent.types.d.ts +0 -112
  192. package/auth/consent/consent.types.d.ts.map +0 -1
  193. package/auth/consent/index.d.ts +0 -2
  194. package/auth/consent/index.d.ts.map +0 -1
  195. package/auth/detection/auth-provider-detection.d.ts +0 -85
  196. package/auth/detection/auth-provider-detection.d.ts.map +0 -1
  197. package/auth/detection/index.d.ts +0 -2
  198. package/auth/detection/index.d.ts.map +0 -1
  199. package/auth/machine-id.d.ts +0 -28
  200. package/auth/machine-id.d.ts.map +0 -1
  201. package/auth/session/encrypted-authorization-vault.d.ts +0 -181
  202. package/auth/session/encrypted-authorization-vault.d.ts.map +0 -1
  203. package/auth/session/federated-auth.session.d.ts +0 -252
  204. package/auth/session/federated-auth.session.d.ts.map +0 -1
  205. package/auth/session/orchestrated-token.store.d.ts +0 -155
  206. package/auth/session/orchestrated-token.store.d.ts.map +0 -1
  207. package/auth/session/redis-session.store.d.ts +0 -93
  208. package/auth/session/redis-session.store.d.ts.map +0 -1
  209. package/auth/session/session-crypto.d.ts +0 -84
  210. package/auth/session/session-crypto.d.ts.map +0 -1
  211. package/auth/session/session-rate-limiter.d.ts +0 -114
  212. package/auth/session/session-rate-limiter.d.ts.map +0 -1
  213. package/auth/session/session.transport.d.ts +0 -11
  214. package/auth/session/session.transport.d.ts.map +0 -1
  215. package/auth/session/session.types.d.ts +0 -66
  216. package/auth/session/session.types.d.ts.map +0 -1
  217. package/auth/session/token.refresh.d.ts +0 -60
  218. package/auth/session/token.refresh.d.ts.map +0 -1
  219. package/auth/session/transport-session.types.d.ts +0 -479
  220. package/auth/session/transport-session.types.d.ts.map +0 -1
  221. package/auth/session/utils/auth-token.utils.d.ts +0 -12
  222. package/auth/session/utils/auth-token.utils.d.ts.map +0 -1
  223. package/auth/session/vercel-kv-session.store.d.ts +0 -117
  224. package/auth/session/vercel-kv-session.store.d.ts.map +0 -1
  225. package/auth/ui/base-layout.d.ts +0 -181
  226. package/auth/ui/base-layout.d.ts.map +0 -1
  227. package/auth/ui/index.d.ts +0 -11
  228. package/auth/ui/index.d.ts.map +0 -1
  229. package/auth/ui/templates.d.ts +0 -135
  230. package/auth/ui/templates.d.ts.map +0 -1
  231. package/auth/utils/authorization-id.utils.d.ts +0 -12
  232. package/auth/utils/authorization-id.utils.d.ts.map +0 -1
  233. package/auth/utils/index.d.ts +0 -2
  234. package/auth/utils/index.d.ts.map +0 -1
  235. package/auth/vault/auth-providers.accessor.d.ts +0 -153
  236. package/auth/vault/auth-providers.accessor.d.ts.map +0 -1
  237. package/auth/vault/auth-providers.accessor.impl.d.ts +0 -52
  238. package/auth/vault/auth-providers.accessor.impl.d.ts.map +0 -1
  239. package/auth/vault/auth-providers.registry.d.ts +0 -110
  240. package/auth/vault/auth-providers.registry.d.ts.map +0 -1
  241. package/auth/vault/auth-providers.vault.d.ts +0 -93
  242. package/auth/vault/auth-providers.vault.d.ts.map +0 -1
  243. package/auth/vault/credential-loaders/eager-loader.d.ts +0 -46
  244. package/auth/vault/credential-loaders/eager-loader.d.ts.map +0 -1
  245. package/auth/vault/credential-loaders/index.d.ts +0 -7
  246. package/auth/vault/credential-loaders/index.d.ts.map +0 -1
  247. package/auth/vault/credential-loaders/lazy-loader.d.ts +0 -53
  248. package/auth/vault/credential-loaders/lazy-loader.d.ts.map +0 -1
package/esm/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontmcp/sdk",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "description": "FrontMCP SDK",
5
5
  "author": "AgentFront <info@agentfront.dev>",
6
6
  "homepage": "https://docs.agentfront.dev",
@@ -63,19 +63,23 @@
63
63
  "raw-body": "^3.0.0",
64
64
  "content-type": "^1.0.5",
65
65
  "vectoriadb": "^2.1.3",
66
- "@vercel/kv": "^3.0.0"
66
+ "@vercel/kv": "^3.0.0",
67
+ "@frontmcp/storage-sqlite": "0.11.0"
67
68
  },
68
69
  "peerDependenciesMeta": {
69
70
  "@vercel/kv": {
70
71
  "optional": true
72
+ },
73
+ "@frontmcp/storage-sqlite": {
74
+ "optional": true
71
75
  }
72
76
  },
73
77
  "dependencies": {
74
- "@frontmcp/utils": "0.9.0",
75
- "@frontmcp/di": "0.9.0",
76
- "@frontmcp/uipack": "0.9.0",
77
- "@frontmcp/auth": "0.9.0",
78
- "@modelcontextprotocol/sdk": "1.25.3",
78
+ "@frontmcp/utils": "0.11.0",
79
+ "@frontmcp/di": "0.11.0",
80
+ "@frontmcp/uipack": "0.11.0",
81
+ "@frontmcp/auth": "0.11.0",
82
+ "@modelcontextprotocol/sdk": "1.26.0",
79
83
  "@langchain/core": "^1.1.8",
80
84
  "@langchain/openai": "^1.2.0",
81
85
  "@langchain/anthropic": "^1.3.3",
@@ -1 +1 @@
1
- {"version":3,"file":"flow.instance.d.ts","sourceRoot":"","sources":["../../src/flows/flow.instance.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAIL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,YAAY,EAEZ,UAAU,EAKV,SAAS,EACT,aAAa,EACb,KAAK,EACL,IAAI,EACL,MAAM,WAAW,CAAC;AACnB,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAG7D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AA4BjC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AAI,OAAO,CAAC,IAAI,CAAC;IAS3C,OAAO,CAAC,aAAa;IASf,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAaxD,OAAO,CAAC,IAAI,SAAS,QAAQ,EAC3B,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,EACxB,IAAI,CAAC,EAAE,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,GACtB,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;IAgD1C;;;OAGG;IACH,OAAO,CAAC,iBAAiB;CAO1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"flow.utils.d.ts","sourceRoot":"","sources":["../../src/flows/flow.utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAqC,MAAM,cAAc,CAAC;AACxE,OAAO,EAAY,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAsB,MAAM,WAAW,CAAC;AAE7F,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,CAMtE;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAQxD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,KAAK,EAAE,CAK1D"}
1
+ {"version":3,"file":"flow.utils.d.ts","sourceRoot":"","sources":["../../src/flows/flow.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAqC,MAAM,cAAc,CAAC;AACxE,OAAO,EAAY,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAsB,MAAM,WAAW,CAAC;AAG7F,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,CAMtE;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAQxD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,KAAK,EAAE,CAK1D"}
@@ -1,5 +1,6 @@
1
1
  import { FrontMcpConfigInput, FrontMcpConfigType, FrontMcpInterface, ScopeEntry } from '../common';
2
2
  import type { DirectMcpServer } from '../direct';
3
+ import type { SqliteOptionsInput } from '../common/types/options/sqlite/schema';
3
4
  export declare class FrontMcpInstance implements FrontMcpInterface {
4
5
  config: FrontMcpConfigType;
5
6
  readonly ready: Promise<void>;
@@ -8,7 +9,7 @@ export declare class FrontMcpInstance implements FrontMcpInterface {
8
9
  private scopes;
9
10
  constructor(config: FrontMcpConfigType);
10
11
  initialize(): Promise<void>;
11
- start(): void;
12
+ start(): Promise<void>;
12
13
  /**
13
14
  * Get the configuration used to create this FrontMCP instance.
14
15
  */
@@ -101,6 +102,34 @@ export declare class FrontMcpInstance implements FrontMcpInterface {
101
102
  * }
102
103
  * ```
103
104
  */
105
+ /**
106
+ * Runs the FrontMCP server on a Unix socket for local-only access.
107
+ *
108
+ * This enables a persistent background FrontMCP server accessible only via
109
+ * a Unix `.sock` file. The entire HTTP feature set (streamable HTTP, SSE,
110
+ * elicitation, sessions) works unchanged over Unix sockets.
111
+ *
112
+ * @example
113
+ * ```typescript
114
+ * import { FrontMcpInstance } from '@frontmcp/sdk';
115
+ * import MyServer from './my-server';
116
+ *
117
+ * const handle = await FrontMcpInstance.runUnixSocket({
118
+ * ...MyServer,
119
+ * socketPath: '/tmp/my-app.sock',
120
+ * sqlite: { path: '~/.frontmcp/data/my-app.sqlite' },
121
+ * });
122
+ *
123
+ * // Later: graceful shutdown
124
+ * await handle.close();
125
+ * ```
126
+ */
127
+ static runUnixSocket(options: FrontMcpConfigInput & {
128
+ socketPath: string;
129
+ sqlite?: SqliteOptionsInput;
130
+ }): Promise<{
131
+ close: () => Promise<void>;
132
+ }>;
104
133
  static runStdio(options: FrontMcpConfigInput): Promise<void>;
105
134
  }
106
135
  //# sourceMappingURL=front-mcp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"front-mcp.d.ts","sourceRoot":"","sources":["../../src/front-mcp/front-mcp.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAEjB,UAAU,EAEX,MAAM,WAAW,CAAC;AAMnB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAKjD,qBAAa,gBAAiB,YAAW,iBAAiB;IACxD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,SAAS,CAAmB;IACpC,OAAO,CAAC,MAAM,CAAgB;gBAElB,MAAM,EAAE,kBAAkB;IAKhC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAWjC,KAAK;IAQL;;OAEG;IACH,SAAS,IAAI,kBAAkB;IAI/B;;;OAGG;IACH,SAAS,IAAI,UAAU,EAAE;WAIL,SAAS,CAAC,OAAO,EAAE,kBAAkB;IAOzD;;;;;;;;;;OAUG;WACiB,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC;IAahF;;;;;;;;OAQG;WACiB,cAAc,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQ3F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;WACiB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,eAAe,CAAC;IAoBxF;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;WACiB,QAAQ,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;CA0G1E"}
1
+ {"version":3,"file":"front-mcp.d.ts","sourceRoot":"","sources":["../../src/front-mcp/front-mcp.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB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AAG,OAAO,CAAC,IAAI,CAAC;CA0G1E"}
@@ -35,7 +35,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
35
35
  customOnly: boolean;
36
36
  mappings?: {
37
37
  pattern: string | RegExp;
38
- platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
38
+ platform: "unknown" | "openai" | "claude" | "gemini" | "cursor" | "continue" | "cody" | "generic-mcp" | "ext-apps";
39
39
  }[] | undefined;
40
40
  } | undefined;
41
41
  persistence?: false | {
@@ -104,6 +104,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
104
104
  port: number;
105
105
  entryPath: string;
106
106
  hostFactory?: any;
107
+ socketPath?: string | undefined;
108
+ cors?: false | {
109
+ origin?: string | boolean | string[] | ((origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void) | undefined;
110
+ credentials?: boolean | undefined;
111
+ maxAge?: number | undefined;
112
+ } | undefined;
107
113
  } | undefined;
108
114
  redis?: {
109
115
  provider: "redis";
@@ -237,6 +243,14 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
237
243
  logging?: boolean | undefined;
238
244
  } | undefined;
239
245
  } | undefined;
246
+ sqlite?: {
247
+ path: string;
248
+ ttlCleanupIntervalMs: number;
249
+ walMode: boolean;
250
+ encryption?: {
251
+ secret: string;
252
+ } | undefined;
253
+ } | undefined;
240
254
  auth?: {
241
255
  mode: "public";
242
256
  sessionTtl: number;
@@ -248,9 +262,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
248
262
  rateLimit: number;
249
263
  } | undefined;
250
264
  jwks?: {
251
- keys: import("../common").JWK[];
265
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
252
266
  } | undefined;
253
- signKey?: import("../common").JWK | Uint8Array<ArrayBuffer> | undefined;
267
+ signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
254
268
  } | {
255
269
  mode: "transparent";
256
270
  remote: {
@@ -259,7 +273,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
259
273
  name?: string | undefined;
260
274
  id?: string | undefined;
261
275
  jwks?: {
262
- keys: import("../common").JWK[];
276
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
263
277
  } | undefined;
264
278
  jwksUri?: string | undefined;
265
279
  clientId?: string | undefined;
@@ -299,9 +313,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
299
313
  mode: "orchestrated";
300
314
  type: "local";
301
315
  local?: {
302
- signKey?: import("../common").JWK | Uint8Array<ArrayBuffer> | undefined;
316
+ signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
303
317
  jwks?: {
304
- keys: import("../common").JWK[];
318
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
305
319
  } | undefined;
306
320
  issuer?: string | undefined;
307
321
  } | undefined;
@@ -391,7 +405,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
391
405
  name?: string | undefined;
392
406
  id?: string | undefined;
393
407
  jwks?: {
394
- keys: import("../common").JWK[];
408
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
395
409
  } | undefined;
396
410
  jwksUri?: string | undefined;
397
411
  clientId?: string | undefined;
@@ -403,9 +417,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
403
417
  userInfoEndpoint?: string | undefined;
404
418
  };
405
419
  local?: {
406
- signKey?: import("../common").JWK | Uint8Array<ArrayBuffer> | undefined;
420
+ signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
407
421
  jwks?: {
408
- keys: import("../common").JWK[];
422
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
409
423
  } | undefined;
410
424
  issuer?: string | undefined;
411
425
  } | undefined;
@@ -506,7 +520,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
506
520
  customOnly: boolean;
507
521
  mappings?: {
508
522
  pattern: string | RegExp;
509
- platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
523
+ platform: "unknown" | "openai" | "claude" | "gemini" | "cursor" | "continue" | "cody" | "generic-mcp" | "ext-apps";
510
524
  }[] | undefined;
511
525
  } | undefined;
512
526
  persistence?: false | {
@@ -575,6 +589,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
575
589
  port: number;
576
590
  entryPath: string;
577
591
  hostFactory?: any;
592
+ socketPath?: string | undefined;
593
+ cors?: false | {
594
+ origin?: string | boolean | string[] | ((origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void) | undefined;
595
+ credentials?: boolean | undefined;
596
+ maxAge?: number | undefined;
597
+ } | undefined;
578
598
  } | undefined;
579
599
  redis?: {
580
600
  provider: "redis";
@@ -708,6 +728,14 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
708
728
  logging?: boolean | undefined;
709
729
  } | undefined;
710
730
  } | undefined;
731
+ sqlite?: {
732
+ path: string;
733
+ ttlCleanupIntervalMs: number;
734
+ walMode: boolean;
735
+ encryption?: {
736
+ secret: string;
737
+ } | undefined;
738
+ } | undefined;
711
739
  auth?: undefined;
712
740
  }> | import("../common").ProviderFactoryType<FrontMcpServer, readonly [import("@frontmcp/di").Reference<{
713
741
  info: {
@@ -744,7 +772,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
744
772
  customOnly: boolean;
745
773
  mappings?: {
746
774
  pattern: string | RegExp;
747
- platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
775
+ platform: "unknown" | "openai" | "claude" | "gemini" | "cursor" | "continue" | "cody" | "generic-mcp" | "ext-apps";
748
776
  }[] | undefined;
749
777
  } | undefined;
750
778
  persistence?: false | {
@@ -813,6 +841,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
813
841
  port: number;
814
842
  entryPath: string;
815
843
  hostFactory?: any;
844
+ socketPath?: string | undefined;
845
+ cors?: false | {
846
+ origin?: string | boolean | string[] | ((origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void) | undefined;
847
+ credentials?: boolean | undefined;
848
+ maxAge?: number | undefined;
849
+ } | undefined;
816
850
  } | undefined;
817
851
  redis?: {
818
852
  provider: "redis";
@@ -946,6 +980,14 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
946
980
  logging?: boolean | undefined;
947
981
  } | undefined;
948
982
  } | undefined;
983
+ sqlite?: {
984
+ path: string;
985
+ ttlCleanupIntervalMs: number;
986
+ walMode: boolean;
987
+ encryption?: {
988
+ secret: string;
989
+ } | undefined;
990
+ } | undefined;
949
991
  auth?: {
950
992
  mode: "public";
951
993
  sessionTtl: number;
@@ -957,9 +999,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
957
999
  rateLimit: number;
958
1000
  } | undefined;
959
1001
  jwks?: {
960
- keys: import("../common").JWK[];
1002
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
961
1003
  } | undefined;
962
- signKey?: import("../common").JWK | Uint8Array<ArrayBuffer> | undefined;
1004
+ signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
963
1005
  } | {
964
1006
  mode: "transparent";
965
1007
  remote: {
@@ -968,7 +1010,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
968
1010
  name?: string | undefined;
969
1011
  id?: string | undefined;
970
1012
  jwks?: {
971
- keys: import("../common").JWK[];
1013
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
972
1014
  } | undefined;
973
1015
  jwksUri?: string | undefined;
974
1016
  clientId?: string | undefined;
@@ -1008,9 +1050,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
1008
1050
  mode: "orchestrated";
1009
1051
  type: "local";
1010
1052
  local?: {
1011
- signKey?: import("../common").JWK | Uint8Array<ArrayBuffer> | undefined;
1053
+ signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
1012
1054
  jwks?: {
1013
- keys: import("../common").JWK[];
1055
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
1014
1056
  } | undefined;
1015
1057
  issuer?: string | undefined;
1016
1058
  } | undefined;
@@ -1100,7 +1142,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
1100
1142
  name?: string | undefined;
1101
1143
  id?: string | undefined;
1102
1144
  jwks?: {
1103
- keys: import("../common").JWK[];
1145
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
1104
1146
  } | undefined;
1105
1147
  jwksUri?: string | undefined;
1106
1148
  clientId?: string | undefined;
@@ -1112,9 +1154,9 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
1112
1154
  userInfoEndpoint?: string | undefined;
1113
1155
  };
1114
1156
  local?: {
1115
- signKey?: import("../common").JWK | Uint8Array<ArrayBuffer> | undefined;
1157
+ signKey?: Uint8Array<ArrayBuffer> | import("libs/auth/dist/common/jwt.types").JWK | undefined;
1116
1158
  jwks?: {
1117
- keys: import("../common").JWK[];
1159
+ keys: import("libs/auth/dist/common/jwt.types").JWK[];
1118
1160
  } | undefined;
1119
1161
  issuer?: string | undefined;
1120
1162
  } | undefined;
@@ -1215,7 +1257,7 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
1215
1257
  customOnly: boolean;
1216
1258
  mappings?: {
1217
1259
  pattern: string | RegExp;
1218
- platform: "unknown" | "continue" | "openai" | "claude" | "gemini" | "cursor" | "cody" | "generic-mcp" | "ext-apps";
1260
+ platform: "unknown" | "openai" | "claude" | "gemini" | "cursor" | "continue" | "cody" | "generic-mcp" | "ext-apps";
1219
1261
  }[] | undefined;
1220
1262
  } | undefined;
1221
1263
  persistence?: false | {
@@ -1284,6 +1326,12 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
1284
1326
  port: number;
1285
1327
  entryPath: string;
1286
1328
  hostFactory?: any;
1329
+ socketPath?: string | undefined;
1330
+ cors?: false | {
1331
+ origin?: string | boolean | string[] | ((origin: string | undefined, callback: (err: Error | null, allow?: boolean) => void) => void) | undefined;
1332
+ credentials?: boolean | undefined;
1333
+ maxAge?: number | undefined;
1334
+ } | undefined;
1287
1335
  } | undefined;
1288
1336
  redis?: {
1289
1337
  provider: "redis";
@@ -1417,6 +1465,14 @@ export declare function createMcpGlobalProviders(metadata: FrontMcpConfigType):
1417
1465
  logging?: boolean | undefined;
1418
1466
  } | undefined;
1419
1467
  } | undefined;
1468
+ sqlite?: {
1469
+ path: string;
1470
+ ttlCleanupIntervalMs: number;
1471
+ walMode: boolean;
1472
+ encryption?: {
1473
+ secret: string;
1474
+ } | undefined;
1475
+ } | undefined;
1420
1476
  auth?: undefined;
1421
1477
  }>]>)[];
1422
1478
  //# sourceMappingURL=front-mcp.providers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"front-mcp.providers.d.ts","sourceRoot":"","sources":["../../src/front-mcp/front-mcp.providers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,iBAAiB,EAAiB,MAAM,WAAW,CAAC;AAGjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAuBpD,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oHAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oHAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAY7B"}
@@ -1,7 +1,3 @@
1
- /**
2
- * Global handler registry for serverless deployments.
3
- * The @FrontMcp decorator stores the handler here when running in serverless mode.
4
- */
5
1
  /**
6
2
  * Store the serverless handler (called by decorator after handler is ready)
7
3
  */
@@ -1 +1 @@
1
- {"version":3,"file":"serverless-handler.d.ts","sourceRoot":"","sources":["../../src/front-mcp/serverless-handler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAE3D;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAE3E;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAE5D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAK9C;AAED;;;;GAIG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,OAAO,CAAC,CAalE"}
1
+ {"version":3,"file":"serverless-handler.d.ts","sourceRoot":"","sources":["../../src/front-mcp/serverless-handler.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAE3D;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAE3E;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAE5D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAK9C;AAED;;;;GAIG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,OAAO,CAAC,CAWlE"}
@@ -1 +1 @@
1
- {"version":3,"file":"hook.instance.d.ts","sourceRoot":"","sources":["../../src/hooks/hook.instance.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,SAAS,EAET,UAAU,EACV,yBAAyB,EACzB,UAAU,EACV,KAAK,EACN,MAAM,WAAW,CAAC;AAEnB,qBAAa,YAAY,CACvB,IAAI,SAAS,QAAQ,EACrB,EAAE,GAAG,WAAW,CAAC,IAAI,CAAC,EACtB,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,EAC1B,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,CACrB,SAAQ,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC;IACvC,MAAM,EAAE,cAAc,CAAC;gBAEX,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK;IAOrG,SAAS,CAAC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B,GAAG,CAAC,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAS9C"}
1
+ {"version":3,"file":"hook.instance.d.ts","sourceRoot":"","sources":["../../src/hooks/hook.instance.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,SAAS,EAET,UAAU,EACV,yBAAyB,EACzB,UAAU,EACV,KAAK,EACN,MAAM,WAAW,CAAC;AAGnB,qBAAa,YAAY,CACvB,IAAI,SAAS,QAAQ,EACrB,EAAE,GAAG,WAAW,CAAC,IAAI,CAAC,EACtB,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,EAC1B,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,CACrB,SAAQ,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC;IACvC,MAAM,EAAE,cAAc,CAAC;gBAEX,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK;IAOrG,SAAS,CAAC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B,GAAG,CAAC,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAS9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"hook.registry.d.ts","sourceRoot":"","sources":["../../src/hooks/hook.registry.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C,EAAE,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE;CAS7E"}
package/index.d.ts CHANGED
@@ -68,5 +68,5 @@ export type { CreateInMemoryServerOptions, InMemoryServerResult } from './transp
68
68
  export type { TransportType, TransportKey } from './transport';
69
69
  export { ExtAppsMessageHandler, createExtAppsMessageHandler, EXT_APPS_ERROR_CODES, ExtAppsError, ExtAppsMethodNotFoundError, ExtAppsInvalidParamsError, ExtAppsNotSupportedError, ExtAppsToolNotFoundError, } from './ext-apps';
70
70
  export type { ExtAppsCallServerToolParams, ExtAppsUpdateModelContextParams, ExtAppsOpenLinkParams, ExtAppsDisplayMode, ExtAppsSetDisplayModeParams, ExtAppsCloseParams, ExtAppsLogLevel, ExtAppsLogParams, ExtAppsRegisterToolParams, ExtAppsUnregisterToolParams, ExtAppsHostCapabilities, ExtAppsWidgetCapabilities, ExtAppsInitializeParams, ExtAppsInitializeResult, ExtAppsHandlerContext, ExtAppsMessageHandlerOptions, ExtAppsJsonRpcRequest, ExtAppsJsonRpcResponse, ExtAppsJsonRpcNotification, } from './ext-apps';
71
- export { InMemoryOrchestratedTokenStore, type InMemoryOrchestratedTokenStoreOptions } from './auth/session';
71
+ export { InMemoryOrchestratedTokenStore, type InMemoryOrchestratedTokenStoreOptions } from '@frontmcp/auth';
72
72
  //# sourceMappingURL=index.d.ts.map