@frontmcp/sdk 0.7.2 → 0.8.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 (630) hide show
  1. package/agent/adapters/adapter.factory.d.ts +27 -18
  2. package/agent/adapters/adapter.factory.d.ts.map +1 -1
  3. package/agent/agent.instance.d.ts +5 -0
  4. package/agent/agent.instance.d.ts.map +1 -1
  5. package/agent/agent.scope.d.ts +54 -72
  6. package/agent/agent.scope.d.ts.map +1 -1
  7. package/agent/flows/call-agent.flow.d.ts +1 -0
  8. package/agent/flows/call-agent.flow.d.ts.map +1 -1
  9. package/app/instances/app.local.instance.d.ts +3 -0
  10. package/app/instances/app.local.instance.d.ts.map +1 -1
  11. package/app/instances/app.remote.instance.d.ts +3 -0
  12. package/app/instances/app.remote.instance.d.ts.map +1 -1
  13. package/auth/auth.registry.d.ts.map +1 -1
  14. package/auth/authorization/authorization.types.d.ts +7 -180
  15. package/auth/authorization/authorization.types.d.ts.map +1 -1
  16. package/auth/authorization/index.d.ts +2 -0
  17. package/auth/authorization/index.d.ts.map +1 -1
  18. package/auth/authorization/orchestrated.accessor.d.ts +161 -0
  19. package/auth/authorization/orchestrated.accessor.d.ts.map +1 -0
  20. package/auth/authorization/orchestrated.authorization.d.ts +19 -4
  21. package/auth/authorization/orchestrated.authorization.d.ts.map +1 -1
  22. package/auth/authorization/orchestrated.context-extension.d.ts +108 -0
  23. package/auth/authorization/orchestrated.context-extension.d.ts.map +1 -0
  24. package/auth/cimd/index.d.ts +14 -0
  25. package/auth/cimd/index.d.ts.map +1 -0
  26. package/auth/flows/auth.verify.flow.d.ts.map +1 -1
  27. package/auth/flows/oauth.authorize.flow.d.ts +30 -3
  28. package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
  29. package/auth/flows/oauth.callback.flow.d.ts +11 -3
  30. package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
  31. package/auth/flows/oauth.provider-callback.flow.d.ts +118 -0
  32. package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -0
  33. package/auth/flows/oauth.register.flow.d.ts +1 -1
  34. package/auth/flows/oauth.token.flow.d.ts +1 -1
  35. package/auth/flows/session.verify.flow.d.ts +8 -0
  36. package/auth/flows/session.verify.flow.d.ts.map +1 -1
  37. package/auth/flows/well-known.jwks.flow.d.ts +3 -3
  38. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +3 -2
  39. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
  40. package/auth/flows/well-known.prm.flow.d.ts +1 -1
  41. package/auth/instances/instance.local-primary-auth.d.ts +88 -1
  42. package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
  43. package/auth/machine-id.d.ts +14 -0
  44. package/auth/machine-id.d.ts.map +1 -1
  45. package/auth/session/encrypted-authorization-vault.d.ts +2 -3
  46. package/auth/session/encrypted-authorization-vault.d.ts.map +1 -1
  47. package/auth/session/federated-auth.session.d.ts +252 -0
  48. package/auth/session/federated-auth.session.d.ts.map +1 -0
  49. package/auth/session/index.d.ts +6 -2
  50. package/auth/session/index.d.ts.map +1 -1
  51. package/auth/session/orchestrated-token.store.d.ts +155 -0
  52. package/auth/session/orchestrated-token.store.d.ts.map +1 -0
  53. package/auth/session/record/session.base.d.ts +7 -7
  54. package/auth/session/record/session.base.d.ts.map +1 -1
  55. package/auth/session/record/session.mcp.d.ts +11 -0
  56. package/auth/session/record/session.mcp.d.ts.map +1 -0
  57. package/auth/session/redis-session.store.d.ts +10 -5
  58. package/auth/session/redis-session.store.d.ts.map +1 -1
  59. package/auth/session/session-crypto.d.ts +6 -9
  60. package/auth/session/session-crypto.d.ts.map +1 -1
  61. package/{store/store.factory.d.ts → auth/session/session-store.factory.d.ts} +10 -36
  62. package/auth/session/session-store.factory.d.ts.map +1 -0
  63. package/auth/session/session.service.d.ts +4 -8
  64. package/auth/session/session.service.d.ts.map +1 -1
  65. package/auth/session/session.transport.d.ts +8 -2
  66. package/auth/session/session.transport.d.ts.map +1 -1
  67. package/auth/session/session.types.d.ts +5 -5
  68. package/auth/session/session.types.d.ts.map +1 -1
  69. package/auth/session/token.refresh.d.ts +1 -2
  70. package/auth/session/token.refresh.d.ts.map +1 -1
  71. package/auth/session/transport-session.manager.d.ts +7 -6
  72. package/auth/session/transport-session.manager.d.ts.map +1 -1
  73. package/auth/session/utils/session-id.utils.d.ts +18 -1
  74. package/auth/session/utils/session-id.utils.d.ts.map +1 -1
  75. package/auth/session/vercel-kv-session.store.d.ts +16 -16
  76. package/auth/session/vercel-kv-session.store.d.ts.map +1 -1
  77. package/auth/utils/authorization-id.utils.d.ts +12 -0
  78. package/auth/utils/authorization-id.utils.d.ts.map +1 -0
  79. package/auth/utils/index.d.ts +1 -2
  80. package/auth/utils/index.d.ts.map +1 -1
  81. package/auth/vault/auth-providers.accessor.d.ts +153 -0
  82. package/auth/vault/auth-providers.accessor.d.ts.map +1 -0
  83. package/auth/vault/auth-providers.accessor.impl.d.ts +52 -0
  84. package/auth/vault/auth-providers.accessor.impl.d.ts.map +1 -0
  85. package/auth/vault/auth-providers.context-extension.d.ts +68 -0
  86. package/auth/vault/auth-providers.context-extension.d.ts.map +1 -0
  87. package/auth/vault/auth-providers.providers.d.ts +40 -0
  88. package/auth/vault/auth-providers.providers.d.ts.map +1 -0
  89. package/auth/vault/auth-providers.registry.d.ts +110 -0
  90. package/auth/vault/auth-providers.registry.d.ts.map +1 -0
  91. package/auth/vault/auth-providers.vault.d.ts +93 -0
  92. package/auth/vault/auth-providers.vault.d.ts.map +1 -0
  93. package/auth/vault/credential-cache.d.ts +13 -0
  94. package/auth/vault/credential-cache.d.ts.map +1 -0
  95. package/auth/vault/credential-loaders/eager-loader.d.ts +46 -0
  96. package/auth/vault/credential-loaders/eager-loader.d.ts.map +1 -0
  97. package/auth/vault/credential-loaders/index.d.ts +7 -0
  98. package/auth/vault/credential-loaders/index.d.ts.map +1 -0
  99. package/auth/vault/credential-loaders/lazy-loader.d.ts +53 -0
  100. package/auth/vault/credential-loaders/lazy-loader.d.ts.map +1 -0
  101. package/auth/vault/index.d.ts +56 -0
  102. package/auth/vault/index.d.ts.map +1 -0
  103. package/builtin/config/config-resolver.d.ts +162 -0
  104. package/builtin/config/config-resolver.d.ts.map +1 -0
  105. package/builtin/config/config.plugin.d.ts +63 -0
  106. package/builtin/config/config.plugin.d.ts.map +1 -0
  107. package/builtin/config/config.symbols.d.ts +7 -0
  108. package/builtin/config/config.symbols.d.ts.map +1 -0
  109. package/builtin/config/config.types.d.ts +71 -0
  110. package/builtin/config/config.types.d.ts.map +1 -0
  111. package/builtin/config/index.d.ts +68 -0
  112. package/builtin/config/index.d.ts.map +1 -0
  113. package/builtin/config/providers/config-loader.d.ts +36 -0
  114. package/builtin/config/providers/config-loader.d.ts.map +1 -0
  115. package/builtin/config/providers/config.service.d.ts +108 -0
  116. package/builtin/config/providers/config.service.d.ts.map +1 -0
  117. package/builtin/config/providers/env-loader.d.ts +76 -0
  118. package/builtin/config/providers/env-loader.d.ts.map +1 -0
  119. package/builtin/index.d.ts +7 -0
  120. package/builtin/index.d.ts.map +1 -0
  121. package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
  122. package/common/decorators/hook.decorator.d.ts +0 -10
  123. package/common/decorators/hook.decorator.d.ts.map +1 -1
  124. package/common/decorators/index.d.ts +1 -0
  125. package/common/decorators/index.d.ts.map +1 -1
  126. package/common/decorators/skill.decorator.d.ts +105 -0
  127. package/common/decorators/skill.decorator.d.ts.map +1 -0
  128. package/common/dynamic/dynamic.adapter.d.ts +14 -4
  129. package/common/dynamic/dynamic.adapter.d.ts.map +1 -1
  130. package/common/entries/app.entry.d.ts +2 -0
  131. package/common/entries/app.entry.d.ts.map +1 -1
  132. package/common/entries/index.d.ts +1 -0
  133. package/common/entries/index.d.ts.map +1 -1
  134. package/common/entries/prompt.entry.d.ts +0 -6
  135. package/common/entries/prompt.entry.d.ts.map +1 -1
  136. package/common/entries/resource.entry.d.ts +0 -6
  137. package/common/entries/resource.entry.d.ts.map +1 -1
  138. package/common/entries/scope.entry.d.ts +2 -0
  139. package/common/entries/scope.entry.d.ts.map +1 -1
  140. package/common/entries/skill.entry.d.ts +95 -0
  141. package/common/entries/skill.entry.d.ts.map +1 -0
  142. package/common/entries/tool.entry.d.ts +17 -9
  143. package/common/entries/tool.entry.d.ts.map +1 -1
  144. package/common/interfaces/agent.interface.d.ts +35 -6
  145. package/common/interfaces/agent.interface.d.ts.map +1 -1
  146. package/common/interfaces/execution-context.interface.d.ts +14 -0
  147. package/common/interfaces/execution-context.interface.d.ts.map +1 -1
  148. package/common/interfaces/index.d.ts +1 -0
  149. package/common/interfaces/index.d.ts.map +1 -1
  150. package/common/interfaces/internal/primary-auth-provider.interface.d.ts +1 -7
  151. package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -1
  152. package/common/interfaces/internal/registry.interface.d.ts +4 -1
  153. package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
  154. package/common/interfaces/skill.interface.d.ts +91 -0
  155. package/common/interfaces/skill.interface.d.ts.map +1 -0
  156. package/common/interfaces/tool.interface.d.ts +39 -0
  157. package/common/interfaces/tool.interface.d.ts.map +1 -1
  158. package/common/metadata/agent.metadata.d.ts +62 -2
  159. package/common/metadata/agent.metadata.d.ts.map +1 -1
  160. package/common/metadata/app.metadata.d.ts +168 -169
  161. package/common/metadata/app.metadata.d.ts.map +1 -1
  162. package/common/metadata/front-mcp.metadata.d.ts +2182 -721
  163. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  164. package/common/metadata/index.d.ts +1 -0
  165. package/common/metadata/index.d.ts.map +1 -1
  166. package/common/metadata/plugin.metadata.d.ts +8 -1
  167. package/common/metadata/plugin.metadata.d.ts.map +1 -1
  168. package/common/metadata/skill.metadata.d.ts +366 -0
  169. package/common/metadata/skill.metadata.d.ts.map +1 -0
  170. package/common/metadata/tool.metadata.d.ts +71 -0
  171. package/common/metadata/tool.metadata.d.ts.map +1 -1
  172. package/common/records/index.d.ts +1 -0
  173. package/common/records/index.d.ts.map +1 -1
  174. package/common/records/skill.record.d.ts +55 -0
  175. package/common/records/skill.record.d.ts.map +1 -0
  176. package/common/schemas/annotated-class.schema.d.ts +1 -0
  177. package/common/schemas/annotated-class.schema.d.ts.map +1 -1
  178. package/common/schemas/http-output.schema.d.ts +24 -24
  179. package/common/tokens/app.tokens.d.ts.map +1 -1
  180. package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
  181. package/common/tokens/index.d.ts +1 -0
  182. package/common/tokens/index.d.ts.map +1 -1
  183. package/common/tokens/plugin.tokens.d.ts +1 -0
  184. package/common/tokens/plugin.tokens.d.ts.map +1 -1
  185. package/common/tokens/skill.tokens.d.ts +18 -0
  186. package/common/tokens/skill.tokens.d.ts.map +1 -0
  187. package/common/tokens/tool.tokens.d.ts +2 -0
  188. package/common/tokens/tool.tokens.d.ts.map +1 -1
  189. package/common/types/auth/session.types.d.ts +21 -0
  190. package/common/types/auth/session.types.d.ts.map +1 -1
  191. package/common/types/options/auth/app-auth.schema.d.ts +80 -84
  192. package/common/types/options/auth/app-auth.schema.d.ts.map +1 -1
  193. package/common/types/options/auth/index.d.ts +6 -8
  194. package/common/types/options/auth/index.d.ts.map +1 -1
  195. package/common/types/options/auth/{auth.interfaces.d.ts → interfaces.d.ts} +17 -48
  196. package/common/types/options/auth/interfaces.d.ts.map +1 -0
  197. package/common/types/options/auth/orchestrated.schema.d.ts +160 -84
  198. package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -1
  199. package/common/types/options/auth/public.schema.d.ts +0 -21
  200. package/common/types/options/auth/public.schema.d.ts.map +1 -1
  201. package/common/types/options/auth/{auth.schema.d.ts → schema.d.ts} +81 -85
  202. package/common/types/options/auth/schema.d.ts.map +1 -0
  203. package/common/types/options/auth/shared.schemas.d.ts +12 -0
  204. package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
  205. package/common/types/options/auth/transparent.schema.d.ts +0 -21
  206. package/common/types/options/auth/transparent.schema.d.ts.map +1 -1
  207. package/common/types/options/auth/typecheck.d.ts +2 -0
  208. package/common/types/options/auth/typecheck.d.ts.map +1 -0
  209. package/common/types/options/auth/{auth.utils.d.ts → utils.d.ts} +2 -2
  210. package/common/types/options/auth/utils.d.ts.map +1 -0
  211. package/common/types/options/elicitation/index.d.ts +4 -0
  212. package/common/types/options/elicitation/index.d.ts.map +1 -0
  213. package/common/types/options/elicitation/interfaces.d.ts +80 -0
  214. package/common/types/options/elicitation/interfaces.d.ts.map +1 -0
  215. package/common/types/options/elicitation/schema.d.ts +75 -0
  216. package/common/types/options/elicitation/schema.d.ts.map +1 -0
  217. package/common/types/options/ext-apps/index.d.ts +3 -0
  218. package/common/types/options/ext-apps/index.d.ts.map +1 -0
  219. package/common/types/options/ext-apps/interfaces.d.ts +2 -0
  220. package/common/types/options/ext-apps/interfaces.d.ts.map +1 -0
  221. package/common/types/options/ext-apps/schema.d.ts +80 -0
  222. package/common/types/options/ext-apps/schema.d.ts.map +1 -0
  223. package/common/types/options/http/index.d.ts +4 -0
  224. package/common/types/options/http/index.d.ts.map +1 -0
  225. package/common/types/options/http/interfaces.d.ts +23 -0
  226. package/common/types/options/http/interfaces.d.ts.map +1 -0
  227. package/common/types/options/http/schema.d.ts +18 -0
  228. package/common/types/options/http/schema.d.ts.map +1 -0
  229. package/common/types/options/index.d.ts +10 -6
  230. package/common/types/options/index.d.ts.map +1 -1
  231. package/common/types/options/logging/index.d.ts +5 -0
  232. package/common/types/options/logging/index.d.ts.map +1 -0
  233. package/common/types/options/logging/interfaces.d.ts +41 -0
  234. package/common/types/options/logging/interfaces.d.ts.map +1 -0
  235. package/common/types/options/logging/schema.d.ts +24 -0
  236. package/common/types/options/logging/schema.d.ts.map +1 -0
  237. package/common/types/options/pagination/index.d.ts +4 -0
  238. package/common/types/options/pagination/index.d.ts.map +1 -0
  239. package/common/types/options/pagination/interfaces.d.ts +43 -0
  240. package/common/types/options/pagination/interfaces.d.ts.map +1 -0
  241. package/common/types/options/pagination/schema.d.ts +41 -0
  242. package/common/types/options/pagination/schema.d.ts.map +1 -0
  243. package/common/types/options/redis/index.d.ts +4 -0
  244. package/common/types/options/redis/index.d.ts.map +1 -0
  245. package/common/types/options/redis/interfaces.d.ts +81 -0
  246. package/common/types/options/redis/interfaces.d.ts.map +1 -0
  247. package/common/types/options/{redis.options.d.ts → redis/schema.d.ts} +2 -2
  248. package/common/types/options/redis/schema.d.ts.map +1 -0
  249. package/common/types/options/server-info/index.d.ts +4 -0
  250. package/common/types/options/server-info/index.d.ts.map +1 -0
  251. package/common/types/options/server-info/interfaces.d.ts +27 -0
  252. package/common/types/options/server-info/interfaces.d.ts.map +1 -0
  253. package/common/types/options/{server-info.options.d.ts → server-info/schema.d.ts} +13 -10
  254. package/common/types/options/server-info/schema.d.ts.map +1 -0
  255. package/common/types/options/session/index.d.ts +4 -0
  256. package/common/types/options/session/index.d.ts.map +1 -0
  257. package/common/types/options/session/interfaces.d.ts +66 -0
  258. package/common/types/options/session/interfaces.d.ts.map +1 -0
  259. package/common/types/options/session/schema.d.ts +79 -0
  260. package/common/types/options/session/schema.d.ts.map +1 -0
  261. package/common/types/options/skills-http/index.d.ts +4 -0
  262. package/common/types/options/skills-http/index.d.ts.map +1 -0
  263. package/common/types/options/skills-http/interfaces.d.ts +321 -0
  264. package/common/types/options/skills-http/interfaces.d.ts.map +1 -0
  265. package/common/types/options/skills-http/schema.d.ts +139 -0
  266. package/common/types/options/skills-http/schema.d.ts.map +1 -0
  267. package/common/types/options/transport/index.d.ts +4 -0
  268. package/common/types/options/transport/index.d.ts.map +1 -0
  269. package/common/types/options/transport/interfaces.d.ts +354 -0
  270. package/common/types/options/transport/interfaces.d.ts.map +1 -0
  271. package/common/types/options/transport/schema.d.ts +309 -0
  272. package/common/types/options/transport/schema.d.ts.map +1 -0
  273. package/common/types/options/transport/typecheck.d.ts +2 -0
  274. package/common/types/options/transport/typecheck.d.ts.map +1 -0
  275. package/common/utils/decide-request-intent.utils.d.ts +3 -3
  276. package/common/utils/decide-request-intent.utils.d.ts.map +1 -1
  277. package/context/context-extension.d.ts +1 -28
  278. package/context/context-extension.d.ts.map +1 -1
  279. package/context/frontmcp-context-storage.d.ts.map +1 -1
  280. package/context/frontmcp-context.d.ts +36 -39
  281. package/context/frontmcp-context.d.ts.map +1 -1
  282. package/context/frontmcp-context.provider.d.ts +3 -9
  283. package/context/frontmcp-context.provider.d.ts.map +1 -1
  284. package/context/index.d.ts +5 -20
  285. package/context/index.d.ts.map +1 -1
  286. package/context/metadata.utils.d.ts +24 -0
  287. package/context/metadata.utils.d.ts.map +1 -0
  288. package/direct/client.types.d.ts +447 -0
  289. package/direct/client.types.d.ts.map +1 -0
  290. package/direct/connect.d.ts +188 -0
  291. package/direct/connect.d.ts.map +1 -0
  292. package/direct/direct-client.d.ts +7 -0
  293. package/direct/direct-client.d.ts.map +1 -0
  294. package/direct/direct-server.d.ts +38 -0
  295. package/direct/direct-server.d.ts.map +1 -0
  296. package/direct/direct.types.d.ts +134 -0
  297. package/direct/direct.types.d.ts.map +1 -0
  298. package/direct/index.d.ts +15 -0
  299. package/direct/index.d.ts.map +1 -0
  300. package/direct/llm-platform.d.ts +94 -0
  301. package/direct/llm-platform.d.ts.map +1 -0
  302. package/elicitation/elicitation-fallback.schema.d.ts +32 -0
  303. package/elicitation/elicitation-fallback.schema.d.ts.map +1 -0
  304. package/elicitation/elicitation.types.d.ts +160 -0
  305. package/elicitation/elicitation.types.d.ts.map +1 -0
  306. package/elicitation/flows/elicitation-request.flow.d.ts +98 -0
  307. package/elicitation/flows/elicitation-request.flow.d.ts.map +1 -0
  308. package/elicitation/flows/elicitation-result.flow.d.ts +79 -0
  309. package/elicitation/flows/elicitation-result.flow.d.ts.map +1 -0
  310. package/elicitation/flows/index.d.ts +10 -0
  311. package/elicitation/flows/index.d.ts.map +1 -0
  312. package/elicitation/helpers/elicit.helper.d.ts +65 -0
  313. package/elicitation/helpers/elicit.helper.d.ts.map +1 -0
  314. package/elicitation/helpers/extend-output-schema.d.ts +31 -0
  315. package/elicitation/helpers/extend-output-schema.d.ts.map +1 -0
  316. package/elicitation/helpers/fallback.helper.d.ts +60 -0
  317. package/elicitation/helpers/fallback.helper.d.ts.map +1 -0
  318. package/elicitation/helpers/index.d.ts +12 -0
  319. package/elicitation/helpers/index.d.ts.map +1 -0
  320. package/elicitation/helpers/validate-elicitation-content.d.ts +52 -0
  321. package/elicitation/helpers/validate-elicitation-content.d.ts.map +1 -0
  322. package/elicitation/hooks/elicitation.hooks.d.ts +66 -0
  323. package/elicitation/hooks/elicitation.hooks.d.ts.map +1 -0
  324. package/elicitation/hooks/index.d.ts +9 -0
  325. package/elicitation/hooks/index.d.ts.map +1 -0
  326. package/elicitation/index.d.ts +18 -0
  327. package/elicitation/index.d.ts.map +1 -0
  328. package/elicitation/send-elicitation-result.tool.d.ts +18 -0
  329. package/elicitation/send-elicitation-result.tool.d.ts.map +1 -0
  330. package/elicitation/store/elicitation-encryption.d.ts +134 -0
  331. package/elicitation/store/elicitation-encryption.d.ts.map +1 -0
  332. package/elicitation/store/elicitation-store.factory.d.ts +197 -0
  333. package/elicitation/store/elicitation-store.factory.d.ts.map +1 -0
  334. package/elicitation/store/elicitation.store.d.ts +191 -0
  335. package/elicitation/store/elicitation.store.d.ts.map +1 -0
  336. package/elicitation/store/encrypted-elicitation.store.d.ts +121 -0
  337. package/elicitation/store/encrypted-elicitation.store.d.ts.map +1 -0
  338. package/elicitation/store/index.d.ts +14 -0
  339. package/elicitation/store/index.d.ts.map +1 -0
  340. package/elicitation/store/storage-elicitation.store.d.ts +118 -0
  341. package/elicitation/store/storage-elicitation.store.d.ts.map +1 -0
  342. package/errors/elicitation.error.d.ts +115 -0
  343. package/errors/elicitation.error.d.ts.map +1 -0
  344. package/errors/index.d.ts +1 -0
  345. package/errors/index.d.ts.map +1 -1
  346. package/esm/index.mjs +30824 -19537
  347. package/esm/package.json +13 -7
  348. package/ext-apps/ext-apps.handler.d.ts +177 -0
  349. package/ext-apps/ext-apps.handler.d.ts.map +1 -0
  350. package/ext-apps/ext-apps.types.d.ts +273 -0
  351. package/ext-apps/ext-apps.types.d.ts.map +1 -0
  352. package/ext-apps/index.d.ts +13 -0
  353. package/ext-apps/index.d.ts.map +1 -0
  354. package/flows/flow.instance.d.ts.map +1 -1
  355. package/front-mcp/front-mcp.d.ts +64 -2
  356. package/front-mcp/front-mcp.d.ts.map +1 -1
  357. package/front-mcp/front-mcp.providers.d.ts +604 -236
  358. package/front-mcp/front-mcp.providers.d.ts.map +1 -1
  359. package/index.d.ts +17 -0
  360. package/index.d.ts.map +1 -1
  361. package/index.js +31066 -19707
  362. package/notification/index.d.ts +1 -1
  363. package/notification/index.d.ts.map +1 -1
  364. package/notification/notification.service.d.ts +18 -0
  365. package/notification/notification.service.d.ts.map +1 -1
  366. package/package.json +13 -7
  367. package/plugin/plugin.registry.d.ts +2 -0
  368. package/plugin/plugin.registry.d.ts.map +1 -1
  369. package/provider/provider.registry.d.ts +8 -3
  370. package/provider/provider.registry.d.ts.map +1 -1
  371. package/scope/flows/http.request.flow.d.ts +4 -0
  372. package/scope/flows/http.request.flow.d.ts.map +1 -1
  373. package/scope/scope.instance.d.ts +74 -0
  374. package/scope/scope.instance.d.ts.map +1 -1
  375. package/server/server.instance.d.ts +3 -3
  376. package/server/server.instance.d.ts.map +1 -1
  377. package/skill/auth/index.d.ts +10 -0
  378. package/skill/auth/index.d.ts.map +1 -0
  379. package/skill/auth/skill-http-auth.d.ts +112 -0
  380. package/skill/auth/skill-http-auth.d.ts.map +1 -0
  381. package/skill/cache/index.d.ts +13 -0
  382. package/skill/cache/index.d.ts.map +1 -0
  383. package/skill/cache/skill-http-cache.d.ts +144 -0
  384. package/skill/cache/skill-http-cache.d.ts.map +1 -0
  385. package/skill/cache/skill-http-cache.factory.d.ts +83 -0
  386. package/skill/cache/skill-http-cache.factory.d.ts.map +1 -0
  387. package/skill/cache/skill-http-cache.holder.d.ts +35 -0
  388. package/skill/cache/skill-http-cache.holder.d.ts.map +1 -0
  389. package/skill/errors/index.d.ts +3 -0
  390. package/skill/errors/index.d.ts.map +1 -0
  391. package/skill/errors/skill-validation.error.d.ts +110 -0
  392. package/skill/errors/skill-validation.error.d.ts.map +1 -0
  393. package/skill/errors/tool-not-allowed.error.d.ts +66 -0
  394. package/skill/errors/tool-not-allowed.error.d.ts.map +1 -0
  395. package/skill/flows/http/index.d.ts +12 -0
  396. package/skill/flows/http/index.d.ts.map +1 -0
  397. package/skill/flows/http/llm-full-txt.flow.d.ts +70 -0
  398. package/skill/flows/http/llm-full-txt.flow.d.ts.map +1 -0
  399. package/skill/flows/http/llm-txt.flow.d.ts +77 -0
  400. package/skill/flows/http/llm-txt.flow.d.ts.map +1 -0
  401. package/skill/flows/http/skills-api.flow.d.ts +81 -0
  402. package/skill/flows/http/skills-api.flow.d.ts.map +1 -0
  403. package/skill/flows/index.d.ts +13 -0
  404. package/skill/flows/index.d.ts.map +1 -0
  405. package/skill/flows/load-skill.flow.d.ts +169 -0
  406. package/skill/flows/load-skill.flow.d.ts.map +1 -0
  407. package/skill/flows/search-skills.flow.d.ts +101 -0
  408. package/skill/flows/search-skills.flow.d.ts.map +1 -0
  409. package/skill/guards/index.d.ts +2 -0
  410. package/skill/guards/index.d.ts.map +1 -0
  411. package/skill/guards/tool-authorization.guard.d.ts +87 -0
  412. package/skill/guards/tool-authorization.guard.d.ts.map +1 -0
  413. package/skill/hooks/index.d.ts +2 -0
  414. package/skill/hooks/index.d.ts.map +1 -0
  415. package/skill/hooks/skill-tool.hook.d.ts +52 -0
  416. package/skill/hooks/skill-tool.hook.d.ts.map +1 -0
  417. package/skill/index.d.ts +74 -0
  418. package/skill/index.d.ts.map +1 -0
  419. package/skill/providers/external-skill.provider.d.ts +240 -0
  420. package/skill/providers/external-skill.provider.d.ts.map +1 -0
  421. package/skill/providers/index.d.ts +12 -0
  422. package/skill/providers/index.d.ts.map +1 -0
  423. package/skill/providers/memory-skill.provider.d.ts +97 -0
  424. package/skill/providers/memory-skill.provider.d.ts.map +1 -0
  425. package/skill/session/index.d.ts +4 -0
  426. package/skill/session/index.d.ts.map +1 -0
  427. package/skill/session/skill-session-store.interface.d.ts +79 -0
  428. package/skill/session/skill-session-store.interface.d.ts.map +1 -0
  429. package/skill/session/skill-session.manager.d.ts +137 -0
  430. package/skill/session/skill-session.manager.d.ts.map +1 -0
  431. package/skill/session/skill-session.types.d.ts +303 -0
  432. package/skill/session/skill-session.types.d.ts.map +1 -0
  433. package/skill/skill-http.utils.d.ts +107 -0
  434. package/skill/skill-http.utils.d.ts.map +1 -0
  435. package/skill/skill-mode.utils.d.ts +53 -0
  436. package/skill/skill-mode.utils.d.ts.map +1 -0
  437. package/skill/skill-scope.helper.d.ts +55 -0
  438. package/skill/skill-scope.helper.d.ts.map +1 -0
  439. package/skill/skill-storage.factory.d.ts +194 -0
  440. package/skill/skill-storage.factory.d.ts.map +1 -0
  441. package/skill/skill-storage.interface.d.ts +230 -0
  442. package/skill/skill-storage.interface.d.ts.map +1 -0
  443. package/skill/skill-validator.d.ts +63 -0
  444. package/skill/skill-validator.d.ts.map +1 -0
  445. package/skill/skill.events.d.ts +88 -0
  446. package/skill/skill.events.d.ts.map +1 -0
  447. package/skill/skill.instance.d.ts +92 -0
  448. package/skill/skill.instance.d.ts.map +1 -0
  449. package/skill/skill.registry.d.ts +309 -0
  450. package/skill/skill.registry.d.ts.map +1 -0
  451. package/skill/skill.utils.d.ts +90 -0
  452. package/skill/skill.utils.d.ts.map +1 -0
  453. package/skill/sync/index.d.ts +16 -0
  454. package/skill/sync/index.d.ts.map +1 -0
  455. package/skill/sync/memory-sync-state.store.d.ts +49 -0
  456. package/skill/sync/memory-sync-state.store.d.ts.map +1 -0
  457. package/skill/sync/skill-hash.d.ts +65 -0
  458. package/skill/sync/skill-hash.d.ts.map +1 -0
  459. package/skill/sync/sync-state.interface.d.ts +125 -0
  460. package/skill/sync/sync-state.interface.d.ts.map +1 -0
  461. package/skill/tools/index.d.ts +21 -0
  462. package/skill/tools/index.d.ts.map +1 -0
  463. package/skill/tools/load-skills.tool.d.ts +76 -0
  464. package/skill/tools/load-skills.tool.d.ts.map +1 -0
  465. package/skill/tools/search-skills.tool.d.ts +61 -0
  466. package/skill/tools/search-skills.tool.d.ts.map +1 -0
  467. package/tool/flows/call-tool.flow.d.ts +1 -0
  468. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  469. package/tool/flows/tools-list.flow.d.ts +15 -0
  470. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  471. package/tool/tool.instance.d.ts +8 -0
  472. package/tool/tool.instance.d.ts.map +1 -1
  473. package/tool/tool.registry.d.ts +11 -0
  474. package/tool/tool.registry.d.ts.map +1 -1
  475. package/tool/tool.utils.d.ts.map +1 -1
  476. package/tool/ui/template-helpers.d.ts +0 -5
  477. package/tool/ui/template-helpers.d.ts.map +1 -1
  478. package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
  479. package/transport/adapters/transport.local.adapter.d.ts +54 -9
  480. package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
  481. package/transport/adapters/transport.sse.adapter.d.ts +11 -2
  482. package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
  483. package/transport/adapters/transport.streamable-http.adapter.d.ts +21 -2
  484. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
  485. package/transport/event-stores/event-store.factory.d.ts +96 -0
  486. package/transport/event-stores/event-store.factory.d.ts.map +1 -0
  487. package/transport/event-stores/index.d.ts +47 -0
  488. package/transport/event-stores/index.d.ts.map +1 -0
  489. package/transport/event-stores/memory.event-store.d.ts +51 -0
  490. package/transport/event-stores/memory.event-store.d.ts.map +1 -0
  491. package/transport/event-stores/redis.event-store.d.ts +79 -0
  492. package/transport/event-stores/redis.event-store.d.ts.map +1 -0
  493. package/transport/flows/handle.sse.flow.d.ts.map +1 -1
  494. package/transport/flows/handle.streamable-http.flow.d.ts +3 -1
  495. package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -1
  496. package/transport/in-memory-server.d.ts +85 -0
  497. package/transport/in-memory-server.d.ts.map +1 -0
  498. package/transport/index.d.ts +47 -0
  499. package/transport/index.d.ts.map +1 -1
  500. package/transport/mcp-handlers/complete-request.handler.d.ts +3 -84
  501. package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -1
  502. package/transport/mcp-handlers/get-prompt-request.handler.d.ts +3 -128
  503. package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -1
  504. package/transport/mcp-handlers/index.d.ts +463 -490
  505. package/transport/mcp-handlers/index.d.ts.map +1 -1
  506. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
  507. package/transport/mcp-handlers/list-prompts-request.handler.d.ts +3 -70
  508. package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -1
  509. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +3 -72
  510. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -1
  511. package/transport/mcp-handlers/list-resources-request.handler.d.ts +3 -72
  512. package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -1
  513. package/transport/mcp-handlers/list-tools-request.handler.d.ts +3 -85
  514. package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -1
  515. package/transport/mcp-handlers/read-resource-request.handler.d.ts +3 -61
  516. package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
  517. package/transport/mcp-handlers/skills-list-request.handler.d.ts +9 -0
  518. package/transport/mcp-handlers/skills-list-request.handler.d.ts.map +1 -0
  519. package/transport/mcp-handlers/skills-load-request.handler.d.ts +9 -0
  520. package/transport/mcp-handlers/skills-load-request.handler.d.ts.map +1 -0
  521. package/transport/mcp-handlers/skills-mcp.types.d.ts +157 -0
  522. package/transport/mcp-handlers/skills-mcp.types.d.ts.map +1 -0
  523. package/transport/mcp-handlers/skills-search-request.handler.d.ts +9 -0
  524. package/transport/mcp-handlers/skills-search-request.handler.d.ts.map +1 -0
  525. package/transport/transport.registry.d.ts +9 -1
  526. package/transport/transport.registry.d.ts.map +1 -1
  527. package/transport/transport.types.d.ts +1 -8
  528. package/transport/transport.types.d.ts.map +1 -1
  529. package/auth/jwks/dev-key-persistence.d.ts +0 -64
  530. package/auth/jwks/dev-key-persistence.d.ts.map +0 -1
  531. package/auth/jwks/index.d.ts +0 -4
  532. package/auth/jwks/index.d.ts.map +0 -1
  533. package/auth/jwks/jwks.service.d.ts +0 -58
  534. package/auth/jwks/jwks.service.d.ts.map +0 -1
  535. package/auth/jwks/jwks.types.d.ts +0 -33
  536. package/auth/jwks/jwks.types.d.ts.map +0 -1
  537. package/auth/jwks/jwks.utils.d.ts +0 -5
  538. package/auth/jwks/jwks.utils.d.ts.map +0 -1
  539. package/auth/oauth/flows/oauth.authorize.flow.d.ts +0 -32
  540. package/auth/oauth/flows/oauth.authorize.flow.d.ts.map +0 -1
  541. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts +0 -47
  542. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts.map +0 -1
  543. package/auth/oauth/flows/oauth.introspect.flow.d.ts +0 -27
  544. package/auth/oauth/flows/oauth.introspect.flow.d.ts.map +0 -1
  545. package/auth/oauth/flows/oauth.par.flow.d.ts +0 -28
  546. package/auth/oauth/flows/oauth.par.flow.d.ts.map +0 -1
  547. package/auth/oauth/flows/oauth.revoke.flow.d.ts +0 -26
  548. package/auth/oauth/flows/oauth.revoke.flow.d.ts.map +0 -1
  549. package/auth/oauth/flows/oauth.token.flow.d.ts +0 -58
  550. package/auth/oauth/flows/oauth.token.flow.d.ts.map +0 -1
  551. package/auth/oauth/flows/oauth.userinfo.flow.d.ts +0 -23
  552. package/auth/oauth/flows/oauth.userinfo.flow.d.ts.map +0 -1
  553. package/auth/oauth/flows/oidc.logout.flow.d.ts +0 -19
  554. package/auth/oauth/flows/oidc.logout.flow.d.ts.map +0 -1
  555. package/auth/session/authorization-vault.d.ts +0 -612
  556. package/auth/session/authorization-vault.d.ts.map +0 -1
  557. package/auth/session/authorization.store.d.ts +0 -302
  558. package/auth/session/authorization.store.d.ts.map +0 -1
  559. package/auth/session/record/session.stateful.d.ts +0 -21
  560. package/auth/session/record/session.stateful.d.ts.map +0 -1
  561. package/auth/session/record/session.stateless.d.ts +0 -18
  562. package/auth/session/record/session.stateless.d.ts.map +0 -1
  563. package/auth/session/record/session.transparent.d.ts +0 -18
  564. package/auth/session/record/session.transparent.d.ts.map +0 -1
  565. package/auth/session/session.crypto.d.ts +0 -8
  566. package/auth/session/session.crypto.d.ts.map +0 -1
  567. package/auth/session/session.schema.d.ts +0 -6
  568. package/auth/session/session.schema.d.ts.map +0 -1
  569. package/auth/session/token.store.d.ts +0 -36
  570. package/auth/session/token.store.d.ts.map +0 -1
  571. package/auth/session/token.vault.d.ts +0 -27
  572. package/auth/session/token.vault.d.ts.map +0 -1
  573. package/auth/session/vault-encryption.d.ts +0 -190
  574. package/auth/session/vault-encryption.d.ts.map +0 -1
  575. package/auth/utils/audience.validator.d.ts +0 -130
  576. package/auth/utils/audience.validator.d.ts.map +0 -1
  577. package/auth/utils/www-authenticate.utils.d.ts +0 -98
  578. package/auth/utils/www-authenticate.utils.d.ts.map +0 -1
  579. package/common/migrate/auth-transport.migrate.d.ts +0 -63
  580. package/common/migrate/auth-transport.migrate.d.ts.map +0 -1
  581. package/common/migrate/index.d.ts +0 -2
  582. package/common/migrate/index.d.ts.map +0 -1
  583. package/common/types/options/auth/auth.interfaces.d.ts.map +0 -1
  584. package/common/types/options/auth/auth.schema.d.ts.map +0 -1
  585. package/common/types/options/auth/auth.typecheck.d.ts +0 -2
  586. package/common/types/options/auth/auth.typecheck.d.ts.map +0 -1
  587. package/common/types/options/auth/auth.utils.d.ts.map +0 -1
  588. package/common/types/options/auth/transport.deprecated.d.ts +0 -64
  589. package/common/types/options/auth/transport.deprecated.d.ts.map +0 -1
  590. package/common/types/options/http.options.d.ts +0 -15
  591. package/common/types/options/http.options.d.ts.map +0 -1
  592. package/common/types/options/logging.options.d.ts +0 -29
  593. package/common/types/options/logging.options.d.ts.map +0 -1
  594. package/common/types/options/redis.options.d.ts.map +0 -1
  595. package/common/types/options/server-info.options.d.ts.map +0 -1
  596. package/common/types/options/session.options.d.ts +0 -148
  597. package/common/types/options/session.options.d.ts.map +0 -1
  598. package/common/types/options/transport.options.d.ts +0 -178
  599. package/common/types/options/transport.options.d.ts.map +0 -1
  600. package/context/request-context-storage.d.ts +0 -90
  601. package/context/request-context-storage.d.ts.map +0 -1
  602. package/context/request-context.d.ts +0 -185
  603. package/context/request-context.d.ts.map +0 -1
  604. package/context/request-context.provider.d.ts +0 -38
  605. package/context/request-context.provider.d.ts.map +0 -1
  606. package/context/session-key.provider.d.ts +0 -46
  607. package/context/session-key.provider.d.ts.map +0 -1
  608. package/store/adapters/store.base.adapter.d.ts +0 -22
  609. package/store/adapters/store.base.adapter.d.ts.map +0 -1
  610. package/store/adapters/store.memory.adapter.d.ts +0 -27
  611. package/store/adapters/store.memory.adapter.d.ts.map +0 -1
  612. package/store/adapters/store.redis.adapter.d.ts +0 -34
  613. package/store/adapters/store.redis.adapter.d.ts.map +0 -1
  614. package/store/adapters/store.vercel-kv.adapter.d.ts +0 -87
  615. package/store/adapters/store.vercel-kv.adapter.d.ts.map +0 -1
  616. package/store/index.d.ts +0 -11
  617. package/store/index.d.ts.map +0 -1
  618. package/store/store.factory.d.ts.map +0 -1
  619. package/store/store.helpers.d.ts +0 -10
  620. package/store/store.helpers.d.ts.map +0 -1
  621. package/store/store.registry.d.ts +0 -14
  622. package/store/store.registry.d.ts.map +0 -1
  623. package/store/store.tokens.d.ts +0 -4
  624. package/store/store.tokens.d.ts.map +0 -1
  625. package/store/store.types.d.ts +0 -65
  626. package/store/store.types.d.ts.map +0 -1
  627. package/store/store.utils.d.ts +0 -9
  628. package/store/store.utils.d.ts.map +0 -1
  629. package/transport/transport.event-store.d.ts +0 -11
  630. package/transport/transport.event-store.d.ts.map +0 -1
@@ -18,27 +18,6 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
18
18
  keys: z.ZodArray<z.ZodType<import("@frontmcp/sdk").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/sdk").JWK, unknown>>>;
19
19
  }, z.core.$strip>>;
20
20
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/sdk").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/sdk").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
21
- transport: z.ZodOptional<z.ZodObject<{
22
- enableLegacySSE: z.ZodDefault<z.ZodBoolean>;
23
- enableSseListener: z.ZodDefault<z.ZodBoolean>;
24
- enableStreamableHttp: z.ZodDefault<z.ZodBoolean>;
25
- enableStatelessHttp: z.ZodDefault<z.ZodBoolean>;
26
- enableStatefulHttp: z.ZodDefault<z.ZodBoolean>;
27
- requireSessionForStreamable: z.ZodDefault<z.ZodBoolean>;
28
- recreation: z.ZodOptional<z.ZodLazy<z.ZodObject<{
29
- enabled: z.ZodDefault<z.ZodBoolean>;
30
- redis: z.ZodOptional<z.ZodObject<{
31
- host: z.ZodString;
32
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
33
- password: z.ZodOptional<z.ZodString>;
34
- db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
35
- tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36
- keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
- defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
38
- }, z.core.$strip>>;
39
- defaultTtlMs: z.ZodDefault<z.ZodNumber>;
40
- }, z.core.$strip>>>;
41
- }, z.core.$strip>>;
42
21
  }, z.core.$strip>, z.ZodObject<{
43
22
  mode: z.ZodLiteral<"transparent">;
44
23
  remote: z.ZodObject<{
@@ -67,27 +46,6 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
67
46
  prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
68
47
  rateLimit: z.ZodDefault<z.ZodNumber>;
69
48
  }, z.core.$strip>>;
70
- transport: z.ZodOptional<z.ZodObject<{
71
- enableLegacySSE: z.ZodDefault<z.ZodBoolean>;
72
- enableSseListener: z.ZodDefault<z.ZodBoolean>;
73
- enableStreamableHttp: z.ZodDefault<z.ZodBoolean>;
74
- enableStatelessHttp: z.ZodDefault<z.ZodBoolean>;
75
- enableStatefulHttp: z.ZodDefault<z.ZodBoolean>;
76
- requireSessionForStreamable: z.ZodDefault<z.ZodBoolean>;
77
- recreation: z.ZodOptional<z.ZodLazy<z.ZodObject<{
78
- enabled: z.ZodDefault<z.ZodBoolean>;
79
- redis: z.ZodOptional<z.ZodObject<{
80
- host: z.ZodString;
81
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
82
- password: z.ZodOptional<z.ZodString>;
83
- db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
84
- tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
85
- keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
86
- defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
87
- }, z.core.$strip>>;
88
- defaultTtlMs: z.ZodDefault<z.ZodNumber>;
89
- }, z.core.$strip>>>;
90
- }, z.core.$strip>>;
91
49
  }, z.core.$strip>, z.ZodObject<{
92
50
  local: z.ZodOptional<z.ZodObject<{
93
51
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/sdk").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/sdk").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
@@ -110,10 +68,6 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
110
68
  defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
111
69
  }, z.core.$strip>;
112
70
  }, z.core.$strip>], "type">>;
113
- sessionMode: z.ZodDefault<z.ZodEnum<{
114
- stateful: "stateful";
115
- stateless: "stateless";
116
- }>>;
117
71
  allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
118
72
  anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
119
73
  publicAccess: z.ZodOptional<z.ZodObject<{
@@ -132,6 +86,12 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
132
86
  excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
133
87
  defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
134
88
  }, z.core.$strip>>;
89
+ federatedAuth: z.ZodOptional<z.ZodObject<{
90
+ stateValidation: z.ZodDefault<z.ZodEnum<{
91
+ format: "format";
92
+ strict: "strict";
93
+ }>>;
94
+ }, z.core.$strip>>;
135
95
  refresh: z.ZodOptional<z.ZodObject<{
136
96
  enabled: z.ZodDefault<z.ZodBoolean>;
137
97
  skewSeconds: z.ZodDefault<z.ZodNumber>;
@@ -146,26 +106,43 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
146
106
  allowSkip: z.ZodDefault<z.ZodBoolean>;
147
107
  showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
148
108
  }, z.core.$strip>>;
149
- transport: z.ZodOptional<z.ZodObject<{
150
- enableLegacySSE: z.ZodDefault<z.ZodBoolean>;
151
- enableSseListener: z.ZodDefault<z.ZodBoolean>;
152
- enableStreamableHttp: z.ZodDefault<z.ZodBoolean>;
153
- enableStatelessHttp: z.ZodDefault<z.ZodBoolean>;
154
- enableStatefulHttp: z.ZodDefault<z.ZodBoolean>;
155
- requireSessionForStreamable: z.ZodDefault<z.ZodBoolean>;
156
- recreation: z.ZodOptional<z.ZodLazy<z.ZodObject<{
157
- enabled: z.ZodDefault<z.ZodBoolean>;
109
+ cimd: z.ZodOptional<z.ZodObject<{
110
+ enabled: z.ZodDefault<z.ZodBoolean>;
111
+ cache: z.ZodOptional<z.ZodObject<{
112
+ type: z.ZodDefault<z.ZodEnum<{
113
+ memory: "memory";
114
+ redis: "redis";
115
+ }>>;
116
+ defaultTtlMs: z.ZodDefault<z.ZodNumber>;
117
+ maxTtlMs: z.ZodDefault<z.ZodNumber>;
118
+ minTtlMs: z.ZodDefault<z.ZodNumber>;
158
119
  redis: z.ZodOptional<z.ZodObject<{
159
- host: z.ZodString;
160
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
120
+ url: z.ZodOptional<z.ZodString>;
121
+ host: z.ZodOptional<z.ZodString>;
122
+ port: z.ZodOptional<z.ZodNumber>;
161
123
  password: z.ZodOptional<z.ZodString>;
162
- db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
163
- tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
164
- keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
165
- defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
124
+ db: z.ZodOptional<z.ZodNumber>;
125
+ tls: z.ZodOptional<z.ZodBoolean>;
126
+ keyPrefix: z.ZodDefault<z.ZodString>;
166
127
  }, z.core.$strip>>;
167
- defaultTtlMs: z.ZodDefault<z.ZodNumber>;
168
- }, z.core.$strip>>>;
128
+ }, z.core.$strip>>;
129
+ security: z.ZodOptional<z.ZodObject<{
130
+ blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
131
+ allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
132
+ blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
133
+ warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
134
+ allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
135
+ }, z.core.$strip>>;
136
+ network: z.ZodOptional<z.ZodObject<{
137
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
138
+ maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
139
+ redirectPolicy: z.ZodDefault<z.ZodEnum<{
140
+ deny: "deny";
141
+ "same-origin": "same-origin";
142
+ allow: "allow";
143
+ }>>;
144
+ maxRedirects: z.ZodDefault<z.ZodNumber>;
145
+ }, z.core.$strip>>;
169
146
  }, z.core.$strip>>;
170
147
  mode: z.ZodLiteral<"orchestrated">;
171
148
  type: z.ZodLiteral<"local">;
@@ -191,10 +168,6 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
191
168
  defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
192
169
  }, z.core.$strip>;
193
170
  }, z.core.$strip>], "type">>;
194
- sessionMode: z.ZodDefault<z.ZodEnum<{
195
- stateful: "stateful";
196
- stateless: "stateless";
197
- }>>;
198
171
  allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
199
172
  anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
200
173
  publicAccess: z.ZodOptional<z.ZodObject<{
@@ -213,6 +186,12 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
213
186
  excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
214
187
  defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
215
188
  }, z.core.$strip>>;
189
+ federatedAuth: z.ZodOptional<z.ZodObject<{
190
+ stateValidation: z.ZodDefault<z.ZodEnum<{
191
+ format: "format";
192
+ strict: "strict";
193
+ }>>;
194
+ }, z.core.$strip>>;
216
195
  refresh: z.ZodOptional<z.ZodObject<{
217
196
  enabled: z.ZodDefault<z.ZodBoolean>;
218
197
  skewSeconds: z.ZodDefault<z.ZodNumber>;
@@ -227,26 +206,43 @@ export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
227
206
  allowSkip: z.ZodDefault<z.ZodBoolean>;
228
207
  showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
229
208
  }, z.core.$strip>>;
230
- transport: z.ZodOptional<z.ZodObject<{
231
- enableLegacySSE: z.ZodDefault<z.ZodBoolean>;
232
- enableSseListener: z.ZodDefault<z.ZodBoolean>;
233
- enableStreamableHttp: z.ZodDefault<z.ZodBoolean>;
234
- enableStatelessHttp: z.ZodDefault<z.ZodBoolean>;
235
- enableStatefulHttp: z.ZodDefault<z.ZodBoolean>;
236
- requireSessionForStreamable: z.ZodDefault<z.ZodBoolean>;
237
- recreation: z.ZodOptional<z.ZodLazy<z.ZodObject<{
238
- enabled: z.ZodDefault<z.ZodBoolean>;
209
+ cimd: z.ZodOptional<z.ZodObject<{
210
+ enabled: z.ZodDefault<z.ZodBoolean>;
211
+ cache: z.ZodOptional<z.ZodObject<{
212
+ type: z.ZodDefault<z.ZodEnum<{
213
+ memory: "memory";
214
+ redis: "redis";
215
+ }>>;
216
+ defaultTtlMs: z.ZodDefault<z.ZodNumber>;
217
+ maxTtlMs: z.ZodDefault<z.ZodNumber>;
218
+ minTtlMs: z.ZodDefault<z.ZodNumber>;
239
219
  redis: z.ZodOptional<z.ZodObject<{
240
- host: z.ZodString;
241
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
220
+ url: z.ZodOptional<z.ZodString>;
221
+ host: z.ZodOptional<z.ZodString>;
222
+ port: z.ZodOptional<z.ZodNumber>;
242
223
  password: z.ZodOptional<z.ZodString>;
243
- db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
244
- tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
245
- keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
246
- defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
224
+ db: z.ZodOptional<z.ZodNumber>;
225
+ tls: z.ZodOptional<z.ZodBoolean>;
226
+ keyPrefix: z.ZodDefault<z.ZodString>;
247
227
  }, z.core.$strip>>;
248
- defaultTtlMs: z.ZodDefault<z.ZodNumber>;
249
- }, z.core.$strip>>>;
228
+ }, z.core.$strip>>;
229
+ security: z.ZodOptional<z.ZodObject<{
230
+ blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
231
+ allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
232
+ blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
+ warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
234
+ allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
235
+ }, z.core.$strip>>;
236
+ network: z.ZodOptional<z.ZodObject<{
237
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
238
+ maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
239
+ redirectPolicy: z.ZodDefault<z.ZodEnum<{
240
+ deny: "deny";
241
+ "same-origin": "same-origin";
242
+ allow: "allow";
243
+ }>>;
244
+ maxRedirects: z.ZodDefault<z.ZodNumber>;
245
+ }, z.core.$strip>>;
250
246
  }, z.core.$strip>>;
251
247
  mode: z.ZodLiteral<"orchestrated">;
252
248
  type: z.ZodLiteral<"remote">;
@@ -282,4 +278,4 @@ export type AuthOptionsInput = z.input<typeof authOptionsSchema>;
282
278
  * Authentication mode
283
279
  */
284
280
  export type AuthMode = 'public' | 'transparent' | 'orchestrated';
285
- //# sourceMappingURL=auth.schema.d.ts.map
281
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAK5B,CAAC;AAMH;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc,CAAC"}
@@ -102,6 +102,17 @@ export declare const consentConfigSchema: z.ZodObject<{
102
102
  }, z.core.$strip>;
103
103
  export type ConsentConfig = z.infer<typeof consentConfigSchema>;
104
104
  export type ConsentConfigInput = z.input<typeof consentConfigSchema>;
105
+ /**
106
+ * Federated authentication configuration
107
+ */
108
+ export declare const federatedAuthConfigSchema: z.ZodObject<{
109
+ stateValidation: z.ZodDefault<z.ZodEnum<{
110
+ format: "format";
111
+ strict: "strict";
112
+ }>>;
113
+ }, z.core.$strip>;
114
+ export type FederatedAuthConfig = z.infer<typeof federatedAuthConfigSchema>;
115
+ export type FederatedAuthConfigInput = z.input<typeof federatedAuthConfigSchema>;
105
116
  /**
106
117
  * Progressive/Incremental authorization configuration
107
118
  * Allows users to authorize apps one at a time after initial auth
@@ -117,5 +128,6 @@ export declare const incrementalAuthConfigSchema: z.ZodObject<{
117
128
  }, z.core.$strip>;
118
129
  export type IncrementalAuthConfig = z.infer<typeof incrementalAuthConfigSchema>;
119
130
  export type IncrementalAuthConfigInput = z.input<typeof incrementalAuthConfigSchema>;
131
+ export { cimdCacheConfigSchema, cimdSecurityConfigSchema, cimdNetworkConfigSchema, cimdConfigSchema, type CimdCacheConfig, type CimdSecurityConfig, type CimdNetworkConfig, type CimdConfig, type CimdConfigInput, } from '@frontmcp/auth';
120
132
  export type { RedisConfig };
121
133
  //# sourceMappingURL=shared.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/shared.schemas.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAqB,MAAM,kDAAkD,CAAC;AAMlG;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;iBAkBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;iBAkBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;iBAqErC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAMnF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;2BAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;iBAYnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;EAAwC,CAAC;AAE9E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM1E;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;iBAqD9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMrE;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;iBA4BtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAGrF,YAAY,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/shared.schemas.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW,EAAqB,MAAM,kDAAkD,CAAC;AAMlG;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;iBAkBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;iBAkBnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;iBAqErC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAMnF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;2BAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;iBAYnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM/E;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;EAAwC,CAAC;AAE9E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM1E;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;iBAqD9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMrE;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;iBAQpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAMjF;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;iBA4BtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMrF,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -27,27 +27,6 @@ export declare const transparentAuthOptionsSchema: z.ZodObject<{
27
27
  prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
28
28
  rateLimit: z.ZodDefault<z.ZodNumber>;
29
29
  }, z.core.$strip>>;
30
- transport: z.ZodOptional<z.ZodObject<{
31
- enableLegacySSE: z.ZodDefault<z.ZodBoolean>;
32
- enableSseListener: z.ZodDefault<z.ZodBoolean>;
33
- enableStreamableHttp: z.ZodDefault<z.ZodBoolean>;
34
- enableStatelessHttp: z.ZodDefault<z.ZodBoolean>;
35
- enableStatefulHttp: z.ZodDefault<z.ZodBoolean>;
36
- requireSessionForStreamable: z.ZodDefault<z.ZodBoolean>;
37
- recreation: z.ZodOptional<z.ZodLazy<z.ZodObject<{
38
- enabled: z.ZodDefault<z.ZodBoolean>;
39
- redis: z.ZodOptional<z.ZodObject<{
40
- host: z.ZodString;
41
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
42
- password: z.ZodOptional<z.ZodString>;
43
- db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
44
- tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
45
- keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
- defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
47
- }, z.core.$strip>>;
48
- defaultTtlMs: z.ZodDefault<z.ZodNumber>;
49
- }, z.core.$strip>>>;
50
- }, z.core.$strip>>;
51
30
  }, z.core.$strip>;
52
31
  /**
53
32
  * Transparent mode options (output type with defaults applied)
@@ -1 +1 @@
1
- {"version":3,"file":"transparent.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/transparent.schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0CvC,CAAC;AAMH;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"transparent.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/transparent.schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCvC,CAAC;AAMH;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=typecheck.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typecheck.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/typecheck.ts"],"names":[],"mappings":"AA0GA,OAAO,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AuthOptions, AuthOptionsInput } from './auth.schema';
1
+ import { AuthOptions, AuthOptionsInput } from './schema';
2
2
  import { PublicAuthOptions } from './public.schema';
3
3
  import { TransparentAuthOptions } from './transparent.schema';
4
4
  import { OrchestratedAuthOptions, OrchestratedLocalOptions, OrchestratedRemoteOptions } from './orchestrated.schema';
@@ -30,4 +30,4 @@ export declare function isOrchestratedRemote(options: OrchestratedAuthOptions):
30
30
  * Check if options allow public/anonymous access
31
31
  */
32
32
  export declare function allowsPublicAccess(options: AuthOptions): boolean;
33
- //# sourceMappingURL=auth.utils.d.ts.map
33
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,WAAW,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAMrH;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB,GAAG,WAAW,CAErE;AAMD;;GAEG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB,GAAG,OAAO,IAAI,iBAAiB,CAElG;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB,GAAG,OAAO,IAAI,sBAAsB,CAE5G;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB,GAAG,OAAO,IAAI,uBAAuB,CAE9G;AAMD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,IAAI,wBAAwB,CAEzG;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,IAAI,yBAAyB,CAE3G;AAMD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAKhE"}
@@ -0,0 +1,4 @@
1
+ export type { ElicitationOptionsInterface } from './interfaces';
2
+ export { elicitationOptionsSchema, DEFAULT_ELICITATION_OPTIONS } from './schema';
3
+ export type { ElicitationOptions, ElicitationOptionsInput } from './schema';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/elicitation/index.ts"],"names":[],"mappings":"AAMA,YAAY,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAKhE,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAKjF,YAAY,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,80 @@
1
+ import type { RedisOptionsInterface } from '../redis';
2
+ /**
3
+ * Elicitation configuration for @FrontMcp decorator.
4
+ *
5
+ * Elicitation allows tools and agents to request interactive user input
6
+ * during execution. The MCP client presents a form to the user, and the
7
+ * response is returned to the tool to continue processing.
8
+ *
9
+ * **When enabled:**
10
+ * - Elicitation store is initialized (Redis or in-memory)
11
+ * - Tool output schemas are extended to include elicitation fallback type
12
+ * - Tools can use `this.elicit()` method to request user input
13
+ * - `sendElicitationResult` system tool is registered for fallback support
14
+ *
15
+ * **When disabled (default):**
16
+ * - No elicitation store overhead
17
+ * - Tools calling `elicit()` throw `ElicitationDisabledError`
18
+ * - Output schemas remain unchanged
19
+ *
20
+ * @example Enable with global redis
21
+ * ```typescript
22
+ * @FrontMcp({
23
+ * redis: { host: 'localhost' },
24
+ * elicitation: { enabled: true },
25
+ * })
26
+ * ```
27
+ *
28
+ * @example Enable with dedicated redis
29
+ * ```typescript
30
+ * @FrontMcp({
31
+ * redis: { host: 'main-redis' },
32
+ * elicitation: {
33
+ * enabled: true,
34
+ * redis: { host: 'elicit-redis', port: 6380 },
35
+ * },
36
+ * })
37
+ * ```
38
+ *
39
+ * @example Disabled (default)
40
+ * ```typescript
41
+ * @FrontMcp({
42
+ * // elicitation is disabled by default
43
+ * })
44
+ * ```
45
+ */
46
+ export interface ElicitationOptionsInterface {
47
+ /**
48
+ * Enable elicitation support.
49
+ *
50
+ * When enabled, tools can request interactive user input via `this.elicit()`.
51
+ * Requires Redis for distributed deployments; falls back to in-memory for
52
+ * single-node development.
53
+ *
54
+ * @default false
55
+ */
56
+ enabled?: boolean;
57
+ /**
58
+ * Redis configuration for elicitation store.
59
+ *
60
+ * Use this to specify a dedicated Redis instance for elicitation state,
61
+ * separate from the global redis used for sessions/transport.
62
+ *
63
+ * If not specified, falls back to the top-level `redis` configuration
64
+ * from the `@FrontMcp` decorator.
65
+ *
66
+ * @example Dedicated elicitation redis
67
+ * ```typescript
68
+ * elicitation: {
69
+ * enabled: true,
70
+ * redis: {
71
+ * host: 'elicitation-redis.example.com',
72
+ * port: 6379,
73
+ * keyPrefix: 'elicit:',
74
+ * },
75
+ * }
76
+ * ```
77
+ */
78
+ redis?: RedisOptionsInterface;
79
+ }
80
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/elicitation/interfaces.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAMtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC;CAC/B"}
@@ -0,0 +1,75 @@
1
+ import { z } from 'zod';
2
+ import type { ElicitationOptionsInterface } from './interfaces';
3
+ export type { ElicitationOptionsInterface };
4
+ /**
5
+ * Zod schema for elicitation configuration.
6
+ *
7
+ * Validates and provides defaults for elicitation options.
8
+ * See `ElicitationOptionsInterface` for full documentation.
9
+ */
10
+ export declare const elicitationOptionsSchema: z.ZodObject<{
11
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12
+ redis: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
13
+ provider: z.ZodLiteral<"redis">;
14
+ host: z.ZodString;
15
+ port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
16
+ password: z.ZodOptional<z.ZodString>;
17
+ db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
18
+ tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19
+ keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
20
+ defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ provider: z.ZodLiteral<"vercel-kv">;
23
+ url: z.ZodOptional<z.ZodString>;
24
+ token: z.ZodOptional<z.ZodString>;
25
+ keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26
+ defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
27
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
28
+ host: z.ZodString;
29
+ port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
30
+ password: z.ZodOptional<z.ZodString>;
31
+ db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
32
+ tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
33
+ keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
34
+ defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
35
+ }, z.core.$strip>, z.ZodTransform<{
36
+ provider: "redis";
37
+ host: string;
38
+ port: number;
39
+ db: number;
40
+ tls: boolean;
41
+ keyPrefix: string;
42
+ defaultTtlMs: number;
43
+ password?: string | undefined;
44
+ }, {
45
+ host: string;
46
+ port: number;
47
+ db: number;
48
+ tls: boolean;
49
+ keyPrefix: string;
50
+ defaultTtlMs: number;
51
+ password?: string | undefined;
52
+ }>>]>>;
53
+ }, z.core.$strip>;
54
+ /**
55
+ * Default elicitation configuration values.
56
+ *
57
+ * Elicitation is disabled by default to avoid unnecessary
58
+ * resource overhead for servers that don't use it.
59
+ */
60
+ export declare const DEFAULT_ELICITATION_OPTIONS: Pick<Required<ElicitationOptionsInterface>, 'enabled'>;
61
+ /**
62
+ * Elicitation options type (with defaults applied).
63
+ *
64
+ * This is the type of elicitation config after Zod parsing,
65
+ * with all defaults applied.
66
+ */
67
+ export type ElicitationOptions = z.infer<typeof elicitationOptionsSchema>;
68
+ /**
69
+ * Elicitation options input type (for user configuration).
70
+ *
71
+ * This is the type users should use when configuring elicitation
72
+ * options in the `@FrontMcp` decorator.
73
+ */
74
+ export type ElicitationOptionsInput = z.input<typeof elicitationOptionsSchema>;
75
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/elicitation/schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAIhE,YAAY,EAAE,2BAA2B,EAAE,CAAC;AAM5C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGgB,CAAC;AAMtD;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,IAAI,CAAC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,SAAS,CAE9F,CAAC;AAMF;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './schema';
2
+ export * from './interfaces';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type { ExtAppsHostCapabilities } from '../../../../ext-apps';
2
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/interfaces.ts"],"names":[],"mappings":"AAOA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,80 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Host capabilities schema for ext-apps.
4
+ *
5
+ * Defines which features the host advertises to widgets during the ui/initialize handshake.
6
+ * Widgets use these capabilities to determine which features are available.
7
+ *
8
+ * @example
9
+ * ```typescript
10
+ * const capabilities: ExtAppsHostCapabilities = {
11
+ * serverToolProxy: true, // Allow ui/callServerTool
12
+ * logging: true, // Allow ui/log
13
+ * openLink: true, // Allow ui/openLink
14
+ * modelContextUpdate: true, // Allow ui/updateModelContext
15
+ * widgetTools: true, // Allow ui/registerTool and ui/unregisterTool
16
+ * displayModes: ['inline', 'fullscreen', 'pip'],
17
+ * };
18
+ * ```
19
+ */
20
+ export declare const extAppsHostCapabilitiesSchema: z.ZodObject<{
21
+ serverToolProxy: z.ZodOptional<z.ZodBoolean>;
22
+ openLink: z.ZodOptional<z.ZodBoolean>;
23
+ modelContextUpdate: z.ZodOptional<z.ZodBoolean>;
24
+ widgetTools: z.ZodOptional<z.ZodBoolean>;
25
+ displayModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
26
+ inline: "inline";
27
+ fullscreen: "fullscreen";
28
+ pip: "pip";
29
+ }>>>;
30
+ logging: z.ZodOptional<z.ZodBoolean>;
31
+ }, z.core.$strip>;
32
+ /**
33
+ * Ext-apps options Zod schema.
34
+ *
35
+ * Controls MCP Apps (ext-apps) widget-to-host communication over HTTP transport.
36
+ *
37
+ * @example Minimal configuration (uses defaults)
38
+ * ```typescript
39
+ * extApps: { enabled: true }
40
+ * ```
41
+ *
42
+ * @example Full configuration
43
+ * ```typescript
44
+ * extApps: {
45
+ * enabled: true,
46
+ * hostCapabilities: {
47
+ * serverToolProxy: true,
48
+ * logging: true,
49
+ * openLink: true,
50
+ * modelContextUpdate: true,
51
+ * widgetTools: true,
52
+ * displayModes: ['inline', 'fullscreen'],
53
+ * },
54
+ * }
55
+ * ```
56
+ */
57
+ export declare const extAppsOptionsSchema: z.ZodObject<{
58
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
59
+ hostCapabilities: z.ZodOptional<z.ZodObject<{
60
+ serverToolProxy: z.ZodOptional<z.ZodBoolean>;
61
+ openLink: z.ZodOptional<z.ZodBoolean>;
62
+ modelContextUpdate: z.ZodOptional<z.ZodBoolean>;
63
+ widgetTools: z.ZodOptional<z.ZodBoolean>;
64
+ displayModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
65
+ inline: "inline";
66
+ fullscreen: "fullscreen";
67
+ pip: "pip";
68
+ }>>>;
69
+ logging: z.ZodOptional<z.ZodBoolean>;
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>;
72
+ /**
73
+ * Ext-apps options type (with defaults applied).
74
+ */
75
+ export type ExtAppsOptions = z.infer<typeof extAppsOptionsSchema>;
76
+ /**
77
+ * Ext-apps options input type (for user configuration).
78
+ */
79
+ export type ExtAppsOptionsInput = z.input<typeof extAppsOptionsSchema>;
80
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;iBA4CxC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;iBAkB/B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type { HttpOptionsInterface } from './interfaces';
2
+ export { httpOptionsSchema } from './schema';
3
+ export type { HttpOptions, HttpOptionsInput } from './schema';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/http/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { FrontMcpServer } from '../../../interfaces';
2
+ /**
3
+ * HTTP server configuration options.
4
+ */
5
+ export interface HttpOptionsInterface {
6
+ /**
7
+ * Port number to listen on.
8
+ * @default 3001
9
+ */
10
+ port?: number;
11
+ /**
12
+ * MCP JSON-RPC entry path ('' or '/mcp').
13
+ * MUST match PRM resourcePath returned in well-known.
14
+ * @default ''
15
+ */
16
+ entryPath?: string;
17
+ /**
18
+ * Custom host factory to provide HTTP server implementation.
19
+ * Can be a FrontMcpServer instance or a factory function.
20
+ */
21
+ hostFactory?: FrontMcpServer | ((config: HttpOptionsInterface) => FrontMcpServer);
22
+ }
23
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/http/interfaces.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,WAAW,CAAC,EAAE,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,oBAAoB,KAAK,cAAc,CAAC,CAAC;CACnF"}