@frontmcp/sdk 1.0.4 → 1.1.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 (443) hide show
  1. package/agent/agent.instance.d.ts +5 -7
  2. package/agent/agent.instance.d.ts.map +1 -1
  3. package/agent/agent.scope.d.ts +4 -4
  4. package/agent/flows/call-agent.flow.d.ts +211 -205
  5. package/agent/flows/call-agent.flow.d.ts.map +1 -1
  6. package/agent/hooks/agent.hooks.d.ts +4 -4
  7. package/agent/hooks/agent.hooks.d.ts.map +1 -1
  8. package/agent/index.d.ts +1 -1
  9. package/auth/flows/auth.verify.flow.d.ts +48 -44
  10. package/auth/flows/auth.verify.flow.d.ts.map +1 -1
  11. package/auth/flows/oauth.authorize.flow.d.ts +119 -137
  12. package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
  13. package/auth/flows/oauth.callback.flow.d.ts +64 -64
  14. package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
  15. package/auth/flows/oauth.provider-callback.flow.d.ts +52 -52
  16. package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -1
  17. package/auth/flows/oauth.register.flow.d.ts +35 -48
  18. package/auth/flows/oauth.register.flow.d.ts.map +1 -1
  19. package/auth/flows/oauth.token.flow.d.ts +53 -80
  20. package/auth/flows/oauth.token.flow.d.ts.map +1 -1
  21. package/auth/flows/session.verify.flow.d.ts +86 -83
  22. package/auth/flows/session.verify.flow.d.ts.map +1 -1
  23. package/auth/flows/well-known.jwks.flow.d.ts +61 -61
  24. package/auth/flows/well-known.jwks.flow.d.ts.map +1 -1
  25. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +66 -66
  26. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
  27. package/auth/flows/well-known.prm.flow.d.ts +35 -36
  28. package/auth/flows/well-known.prm.flow.d.ts.map +1 -1
  29. package/auth/session/transport-session.manager.d.ts +1 -1
  30. package/auth/session/transport-session.manager.d.ts.map +1 -1
  31. package/auth/session/utils/session-id.utils.d.ts +2 -2
  32. package/auth/session/utils/session-id.utils.d.ts.map +1 -1
  33. package/builtin/authorities/authorities.plugin.d.ts +25 -0
  34. package/builtin/authorities/authorities.plugin.d.ts.map +1 -0
  35. package/builtin/authorities/authorities.plugin.options.d.ts +45 -0
  36. package/builtin/authorities/authorities.plugin.options.d.ts.map +1 -0
  37. package/builtin/authorities/index.d.ts +3 -0
  38. package/builtin/authorities/index.d.ts.map +1 -0
  39. package/builtin/config/config.plugin.d.ts +2 -2
  40. package/builtin/config/config.plugin.d.ts.map +1 -1
  41. package/builtin/config/config.types.d.ts +1 -1
  42. package/builtin/config/config.types.d.ts.map +1 -1
  43. package/builtin/config/index.d.ts +2 -2
  44. package/builtin/config/index.d.ts.map +1 -1
  45. package/builtin/config/providers/config-loader.d.ts +1 -1
  46. package/builtin/config/providers/config-loader.d.ts.map +1 -1
  47. package/builtin/config/providers/config.service.d.ts +2 -2
  48. package/builtin/config/providers/config.service.d.ts.map +1 -1
  49. package/builtin/config/providers/env-loader.d.ts +1 -1
  50. package/builtin/config/providers/env-loader.d.ts.map +1 -1
  51. package/channel/channel-notification.service.d.ts +52 -0
  52. package/channel/channel-notification.service.d.ts.map +1 -0
  53. package/channel/channel-scope.helper.d.ts +37 -0
  54. package/channel/channel-scope.helper.d.ts.map +1 -0
  55. package/channel/channel.events.d.ts +25 -0
  56. package/channel/channel.events.d.ts.map +1 -0
  57. package/channel/channel.instance.d.ts +105 -0
  58. package/channel/channel.instance.d.ts.map +1 -0
  59. package/channel/channel.registry.d.ts +65 -0
  60. package/channel/channel.registry.d.ts.map +1 -0
  61. package/channel/channel.types.d.ts +14 -0
  62. package/channel/channel.types.d.ts.map +1 -0
  63. package/channel/channel.utils.d.ts +19 -0
  64. package/channel/channel.utils.d.ts.map +1 -0
  65. package/channel/flows/list-channels.flow.d.ts +41 -0
  66. package/channel/flows/list-channels.flow.d.ts.map +1 -0
  67. package/channel/flows/send-channel-notification.flow.d.ts +38 -0
  68. package/channel/flows/send-channel-notification.flow.d.ts.map +1 -0
  69. package/channel/index.d.ts +14 -0
  70. package/channel/index.d.ts.map +1 -0
  71. package/channel/reply/channel-reply.tool.d.ts +15 -0
  72. package/channel/reply/channel-reply.tool.d.ts.map +1 -0
  73. package/channel/reply/reply.types.d.ts +14 -0
  74. package/channel/reply/reply.types.d.ts.map +1 -0
  75. package/channel/sources/agent-completion.source.d.ts +29 -0
  76. package/channel/sources/agent-completion.source.d.ts.map +1 -0
  77. package/channel/sources/app-event.source.d.ts +57 -0
  78. package/channel/sources/app-event.source.d.ts.map +1 -0
  79. package/channel/sources/index.d.ts +5 -0
  80. package/channel/sources/index.d.ts.map +1 -0
  81. package/channel/sources/job-completion.source.d.ts +28 -0
  82. package/channel/sources/job-completion.source.d.ts.map +1 -0
  83. package/channel/sources/webhook.source.d.ts +42 -0
  84. package/channel/sources/webhook.source.d.ts.map +1 -0
  85. package/common/common.schema.d.ts +11 -11
  86. package/common/common.schema.d.ts.map +1 -1
  87. package/common/decorators/agent.decorator.d.ts +4 -4
  88. package/common/decorators/agent.decorator.d.ts.map +1 -1
  89. package/common/decorators/channel.decorator.d.ts +59 -0
  90. package/common/decorators/channel.decorator.d.ts.map +1 -0
  91. package/common/decorators/front-mcp.decorator.d.ts +1 -1
  92. package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
  93. package/common/decorators/index.d.ts +1 -0
  94. package/common/decorators/index.d.ts.map +1 -1
  95. package/common/decorators/job.decorator.d.ts +13 -9
  96. package/common/decorators/job.decorator.d.ts.map +1 -1
  97. package/common/decorators/tool.decorator.d.ts +12 -7
  98. package/common/decorators/tool.decorator.d.ts.map +1 -1
  99. package/common/entries/agent.entry.d.ts +6 -6
  100. package/common/entries/agent.entry.d.ts.map +1 -1
  101. package/common/entries/channel.entry.d.ts +58 -0
  102. package/common/entries/channel.entry.d.ts.map +1 -0
  103. package/common/entries/index.d.ts +1 -0
  104. package/common/entries/index.d.ts.map +1 -1
  105. package/common/entries/job.entry.d.ts +7 -7
  106. package/common/entries/job.entry.d.ts.map +1 -1
  107. package/common/entries/scope.entry.d.ts +32 -14
  108. package/common/entries/scope.entry.d.ts.map +1 -1
  109. package/common/entries/tool.entry.d.ts +12 -8
  110. package/common/entries/tool.entry.d.ts.map +1 -1
  111. package/common/flow/flow.utils.d.ts +1 -1
  112. package/common/flow/flow.utils.d.ts.map +1 -1
  113. package/common/interfaces/agent.interface.d.ts +8 -8
  114. package/common/interfaces/agent.interface.d.ts.map +1 -1
  115. package/common/interfaces/channel.interface.d.ts +131 -0
  116. package/common/interfaces/channel.interface.d.ts.map +1 -0
  117. package/common/interfaces/execution-context.interface.d.ts +27 -8
  118. package/common/interfaces/execution-context.interface.d.ts.map +1 -1
  119. package/common/interfaces/flow.interface.d.ts +6 -6
  120. package/common/interfaces/flow.interface.d.ts.map +1 -1
  121. package/common/interfaces/index.d.ts +1 -0
  122. package/common/interfaces/index.d.ts.map +1 -1
  123. package/common/interfaces/internal/flow.utils.d.ts +2 -2
  124. package/common/interfaces/internal/flow.utils.d.ts.map +1 -1
  125. package/common/interfaces/internal/registry.interface.d.ts +3 -1
  126. package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
  127. package/common/interfaces/resource.interface.d.ts +7 -0
  128. package/common/interfaces/resource.interface.d.ts.map +1 -1
  129. package/common/interfaces/server.interface.d.ts +5 -3
  130. package/common/interfaces/server.interface.d.ts.map +1 -1
  131. package/common/interfaces/tool.interface.d.ts +18 -6
  132. package/common/interfaces/tool.interface.d.ts.map +1 -1
  133. package/common/metadata/adapter.metadata.d.ts +5 -6
  134. package/common/metadata/adapter.metadata.d.ts.map +1 -1
  135. package/common/metadata/agent.metadata.d.ts +94 -95
  136. package/common/metadata/agent.metadata.d.ts.map +1 -1
  137. package/common/metadata/app-filter.metadata.d.ts +21 -22
  138. package/common/metadata/app-filter.metadata.d.ts.map +1 -1
  139. package/common/metadata/app.metadata.d.ts +554 -547
  140. package/common/metadata/app.metadata.d.ts.map +1 -1
  141. package/common/metadata/auth-provider.metadata.d.ts +6 -7
  142. package/common/metadata/auth-provider.metadata.d.ts.map +1 -1
  143. package/common/metadata/channel.metadata.d.ts +286 -0
  144. package/common/metadata/channel.metadata.d.ts.map +1 -0
  145. package/common/metadata/flow.metadata.d.ts +14 -14
  146. package/common/metadata/flow.metadata.d.ts.map +1 -1
  147. package/common/metadata/front-mcp.metadata.d.ts +3591 -2715
  148. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  149. package/common/metadata/index.d.ts +1 -0
  150. package/common/metadata/index.d.ts.map +1 -1
  151. package/common/metadata/job.metadata.d.ts +26 -27
  152. package/common/metadata/job.metadata.d.ts.map +1 -1
  153. package/common/metadata/logger.metadata.d.ts +5 -6
  154. package/common/metadata/logger.metadata.d.ts.map +1 -1
  155. package/common/metadata/plugin.metadata.d.ts +21 -22
  156. package/common/metadata/plugin.metadata.d.ts.map +1 -1
  157. package/common/metadata/prompt.metadata.d.ts +24 -25
  158. package/common/metadata/prompt.metadata.d.ts.map +1 -1
  159. package/common/metadata/provider.metadata.d.ts +6 -7
  160. package/common/metadata/provider.metadata.d.ts.map +1 -1
  161. package/common/metadata/resource.metadata.d.ts +40 -41
  162. package/common/metadata/resource.metadata.d.ts.map +1 -1
  163. package/common/metadata/skill.metadata.d.ts +57 -57
  164. package/common/metadata/skill.metadata.d.ts.map +1 -1
  165. package/common/metadata/tool.metadata.d.ts +145 -120
  166. package/common/metadata/tool.metadata.d.ts.map +1 -1
  167. package/common/metadata/workflow.metadata.d.ts +43 -44
  168. package/common/metadata/workflow.metadata.d.ts.map +1 -1
  169. package/common/records/channel.record.d.ts +52 -0
  170. package/common/records/channel.record.d.ts.map +1 -0
  171. package/common/records/index.d.ts +1 -0
  172. package/common/records/index.d.ts.map +1 -1
  173. package/common/schemas/annotated-class.schema.d.ts +15 -15
  174. package/common/schemas/annotated-class.schema.d.ts.map +1 -1
  175. package/common/schemas/http-input.schema.d.ts +8 -9
  176. package/common/schemas/http-input.schema.d.ts.map +1 -1
  177. package/common/schemas/http-output.schema.d.ts +500 -496
  178. package/common/schemas/http-output.schema.d.ts.map +1 -1
  179. package/common/schemas/session-header.schema.d.ts +1 -2
  180. package/common/schemas/session-header.schema.d.ts.map +1 -1
  181. package/common/tokens/app.tokens.d.ts.map +1 -1
  182. package/common/tokens/channel.tokens.d.ts +14 -0
  183. package/common/tokens/channel.tokens.d.ts.map +1 -0
  184. package/common/tokens/front-mcp.tokens.d.ts +2 -2
  185. package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
  186. package/common/tokens/index.d.ts +1 -0
  187. package/common/tokens/index.d.ts.map +1 -1
  188. package/common/tokens/tool.tokens.d.ts +1 -0
  189. package/common/tokens/tool.tokens.d.ts.map +1 -1
  190. package/common/types/auth/session.types.d.ts +49 -50
  191. package/common/types/auth/session.types.d.ts.map +1 -1
  192. package/common/types/common.types.d.ts +1 -1
  193. package/common/types/common.types.d.ts.map +1 -1
  194. package/common/types/options/elicitation/schema.d.ts +28 -28
  195. package/common/types/options/elicitation/schema.d.ts.map +1 -1
  196. package/common/types/options/ext-apps/schema.d.ts +20 -20
  197. package/common/types/options/ext-apps/schema.d.ts.map +1 -1
  198. package/common/types/options/ext-apps/typecheck.d.ts.map +1 -1
  199. package/common/types/options/health/schema.d.ts +16 -16
  200. package/common/types/options/health/schema.d.ts.map +1 -1
  201. package/common/types/options/http/index.d.ts +1 -1
  202. package/common/types/options/http/index.d.ts.map +1 -1
  203. package/common/types/options/http/interfaces.d.ts +41 -1
  204. package/common/types/options/http/interfaces.d.ts.map +1 -1
  205. package/common/types/options/http/schema.d.ts +21 -12
  206. package/common/types/options/http/schema.d.ts.map +1 -1
  207. package/common/types/options/http/typecheck.d.ts.map +1 -1
  208. package/common/types/options/logging/schema.d.ts +8 -8
  209. package/common/types/options/logging/schema.d.ts.map +1 -1
  210. package/common/types/options/observability/schema.d.ts +6 -6
  211. package/common/types/options/observability/schema.d.ts.map +1 -1
  212. package/common/types/options/pagination/schema.d.ts +13 -13
  213. package/common/types/options/pagination/schema.d.ts.map +1 -1
  214. package/common/types/options/redis/schema.d.ts +62 -62
  215. package/common/types/options/redis/schema.d.ts.map +1 -1
  216. package/common/types/options/redis/typecheck.d.ts.map +1 -1
  217. package/common/types/options/server-info/schema.d.ts +13 -13
  218. package/common/types/options/server-info/schema.d.ts.map +1 -1
  219. package/common/types/options/session/schema.d.ts +22 -22
  220. package/common/types/options/session/schema.d.ts.map +1 -1
  221. package/common/types/options/skills-http/schema.d.ts +63 -63
  222. package/common/types/options/skills-http/schema.d.ts.map +1 -1
  223. package/common/types/options/skills-http/typecheck.d.ts.map +1 -1
  224. package/common/types/options/sqlite/schema.d.ts +9 -9
  225. package/common/types/options/sqlite/schema.d.ts.map +1 -1
  226. package/common/types/options/sqlite/typecheck.d.ts.map +1 -1
  227. package/common/types/options/transport/schema.d.ts +140 -140
  228. package/common/types/options/transport/schema.d.ts.map +1 -1
  229. package/common/types/options/transport/typecheck.d.ts.map +1 -1
  230. package/common/utils/decide-request-intent.utils.d.ts +16 -17
  231. package/common/utils/decide-request-intent.utils.d.ts.map +1 -1
  232. package/common/utils/path.utils.d.ts +10 -1
  233. package/common/utils/path.utils.d.ts.map +1 -1
  234. package/completion/flows/complete.flow.d.ts +68 -69
  235. package/completion/flows/complete.flow.d.ts.map +1 -1
  236. package/context/frontmcp-context.d.ts +9 -7
  237. package/context/frontmcp-context.d.ts.map +1 -1
  238. package/direct/create.d.ts +1 -1
  239. package/direct/create.d.ts.map +1 -1
  240. package/elicitation/elicitation.types.d.ts +2 -2
  241. package/elicitation/elicitation.types.d.ts.map +1 -1
  242. package/elicitation/flows/elicitation-request.flow.d.ts +40 -40
  243. package/elicitation/flows/elicitation-request.flow.d.ts.map +1 -1
  244. package/elicitation/flows/elicitation-result.flow.d.ts +23 -23
  245. package/elicitation/flows/elicitation-result.flow.d.ts.map +1 -1
  246. package/elicitation/helpers/elicit.helper.d.ts +4 -4
  247. package/elicitation/helpers/elicit.helper.d.ts.map +1 -1
  248. package/elicitation/helpers/extend-output-schema.d.ts.map +1 -1
  249. package/elicitation/send-elicitation-result.tool.d.ts.map +1 -1
  250. package/errors/authorization-required.error.d.ts +44 -44
  251. package/errors/authorization-required.error.d.ts.map +1 -1
  252. package/errors/index.d.ts +3 -2
  253. package/errors/index.d.ts.map +1 -1
  254. package/errors/sdk.errors.d.ts +6 -0
  255. package/errors/sdk.errors.d.ts.map +1 -1
  256. package/errors/task.error.d.ts +55 -0
  257. package/errors/task.error.d.ts.map +1 -0
  258. package/errors/transport.errors.d.ts +6 -0
  259. package/errors/transport.errors.d.ts.map +1 -1
  260. package/esm/index.mjs +42394 -36842
  261. package/esm-loader/esm-auth.types.d.ts +5 -6
  262. package/esm-loader/esm-auth.types.d.ts.map +1 -1
  263. package/esm-loader/esm-manifest.d.ts +13 -14
  264. package/esm-loader/esm-manifest.d.ts.map +1 -1
  265. package/esm-loader/factories/esm-record-builders.d.ts +2 -2
  266. package/esm-loader/factories/esm-record-builders.d.ts.map +1 -1
  267. package/front-mcp/front-mcp.d.ts +3 -3
  268. package/front-mcp/front-mcp.d.ts.map +1 -1
  269. package/front-mcp/front-mcp.providers.d.ts +328 -28
  270. package/front-mcp/front-mcp.providers.d.ts.map +1 -1
  271. package/ha/ha-manager.d.ts +119 -0
  272. package/ha/ha-manager.d.ts.map +1 -0
  273. package/ha/ha.constants.d.ts +11 -0
  274. package/ha/ha.constants.d.ts.map +1 -0
  275. package/ha/ha.types.d.ts +42 -0
  276. package/ha/ha.types.d.ts.map +1 -0
  277. package/ha/heartbeat.service.d.ts +44 -0
  278. package/ha/heartbeat.service.d.ts.map +1 -0
  279. package/ha/index.d.ts +8 -0
  280. package/ha/index.d.ts.map +1 -0
  281. package/ha/notification-relay.d.ts +60 -0
  282. package/ha/notification-relay.d.ts.map +1 -0
  283. package/ha/session-takeover.d.ts +28 -0
  284. package/ha/session-takeover.d.ts.map +1 -0
  285. package/health/health.service.d.ts +5 -0
  286. package/health/health.service.d.ts.map +1 -1
  287. package/index.d.ts +45 -28
  288. package/index.d.ts.map +1 -1
  289. package/index.js +43391 -37819
  290. package/job/job.instance.d.ts +6 -8
  291. package/job/job.instance.d.ts.map +1 -1
  292. package/job/tools/execute-job.tool.d.ts.map +1 -1
  293. package/job/tools/get-job-status.tool.d.ts.map +1 -1
  294. package/job/tools/list-jobs.tool.d.ts.map +1 -1
  295. package/job/tools/register-job.tool.d.ts.map +1 -1
  296. package/job/tools/remove-job.tool.d.ts.map +1 -1
  297. package/logging/flows/set-level.flow.d.ts +38 -39
  298. package/logging/flows/set-level.flow.d.ts.map +1 -1
  299. package/notification/index.d.ts +1 -1
  300. package/notification/index.d.ts.map +1 -1
  301. package/notification/notification.service.d.ts +68 -4
  302. package/notification/notification.service.d.ts.map +1 -1
  303. package/package.json +18 -14
  304. package/prompt/flows/get-prompt.flow.d.ts +194 -189
  305. package/prompt/flows/get-prompt.flow.d.ts.map +1 -1
  306. package/prompt/flows/prompts-list.flow.d.ts +60 -56
  307. package/prompt/flows/prompts-list.flow.d.ts.map +1 -1
  308. package/resource/flows/read-resource.flow.d.ts +91 -86
  309. package/resource/flows/read-resource.flow.d.ts.map +1 -1
  310. package/resource/flows/resource-templates-list.flow.d.ts +62 -58
  311. package/resource/flows/resource-templates-list.flow.d.ts.map +1 -1
  312. package/resource/flows/resources-list.flow.d.ts +62 -58
  313. package/resource/flows/resources-list.flow.d.ts.map +1 -1
  314. package/resource/flows/subscribe-resource.flow.d.ts +38 -39
  315. package/resource/flows/subscribe-resource.flow.d.ts.map +1 -1
  316. package/resource/flows/unsubscribe-resource.flow.d.ts +38 -39
  317. package/resource/flows/unsubscribe-resource.flow.d.ts.map +1 -1
  318. package/resource/resource.events.d.ts +2 -0
  319. package/resource/resource.events.d.ts.map +1 -1
  320. package/resource/resource.registry.d.ts +7 -0
  321. package/resource/resource.registry.d.ts.map +1 -1
  322. package/scope/flows/http.request.flow.d.ts +58 -56
  323. package/scope/flows/http.request.flow.d.ts.map +1 -1
  324. package/scope/scope.instance.d.ts +81 -15
  325. package/scope/scope.instance.d.ts.map +1 -1
  326. package/server/adapters/base.host.adapter.d.ts +4 -1
  327. package/server/adapters/base.host.adapter.d.ts.map +1 -1
  328. package/server/adapters/express.host.adapter.d.ts +8 -2
  329. package/server/adapters/express.host.adapter.d.ts.map +1 -1
  330. package/server/middleware/csp.middleware.d.ts +64 -0
  331. package/server/middleware/csp.middleware.d.ts.map +1 -0
  332. package/server/middleware/host-validation.middleware.d.ts +25 -0
  333. package/server/middleware/host-validation.middleware.d.ts.map +1 -0
  334. package/server/security/security-audit.d.ts +66 -0
  335. package/server/security/security-audit.d.ts.map +1 -0
  336. package/server/server.instance.d.ts +4 -4
  337. package/server/server.instance.d.ts.map +1 -1
  338. package/skill/flows/http/llm-full-txt.flow.d.ts +27 -32
  339. package/skill/flows/http/llm-full-txt.flow.d.ts.map +1 -1
  340. package/skill/flows/http/llm-txt.flow.d.ts +27 -32
  341. package/skill/flows/http/llm-txt.flow.d.ts.map +1 -1
  342. package/skill/flows/http/skills-api.flow.d.ts +33 -38
  343. package/skill/flows/http/skills-api.flow.d.ts.map +1 -1
  344. package/skill/flows/load-skill.flow.d.ts +100 -100
  345. package/skill/flows/load-skill.flow.d.ts.map +1 -1
  346. package/skill/flows/search-skills.flow.d.ts +56 -57
  347. package/skill/flows/search-skills.flow.d.ts.map +1 -1
  348. package/task/flows/tasks-cancel.flow.d.ts +72 -0
  349. package/task/flows/tasks-cancel.flow.d.ts.map +1 -0
  350. package/task/flows/tasks-get.flow.d.ts +69 -0
  351. package/task/flows/tasks-get.flow.d.ts.map +1 -0
  352. package/task/flows/tasks-list.flow.d.ts +73 -0
  353. package/task/flows/tasks-list.flow.d.ts.map +1 -0
  354. package/task/flows/tasks-result.flow.d.ts +93 -0
  355. package/task/flows/tasks-result.flow.d.ts.map +1 -0
  356. package/task/helpers/cli-task-runner.d.ts +46 -0
  357. package/task/helpers/cli-task-runner.d.ts.map +1 -0
  358. package/task/helpers/in-process-task-runner.d.ts +28 -0
  359. package/task/helpers/in-process-task-runner.d.ts.map +1 -0
  360. package/task/helpers/process-liveness.d.ts +16 -0
  361. package/task/helpers/process-liveness.d.ts.map +1 -0
  362. package/task/helpers/task-id.d.ts +10 -0
  363. package/task/helpers/task-id.d.ts.map +1 -0
  364. package/task/helpers/task-notifier.d.ts +20 -0
  365. package/task/helpers/task-notifier.d.ts.map +1 -0
  366. package/task/helpers/task-runner.d.ts +47 -0
  367. package/task/helpers/task-runner.d.ts.map +1 -0
  368. package/task/helpers/task-runner.types.d.ts +32 -0
  369. package/task/helpers/task-runner.types.d.ts.map +1 -0
  370. package/task/index.d.ts +24 -0
  371. package/task/index.d.ts.map +1 -0
  372. package/task/runtime/execute-task-flag.d.ts +11 -0
  373. package/task/runtime/execute-task-flag.d.ts.map +1 -0
  374. package/task/runtime/execute-task.d.ts +21 -0
  375. package/task/runtime/execute-task.d.ts.map +1 -0
  376. package/task/store/index.d.ts +4 -0
  377. package/task/store/index.d.ts.map +1 -0
  378. package/task/store/storage-task.store.d.ts +42 -0
  379. package/task/store/storage-task.store.d.ts.map +1 -0
  380. package/task/store/task-store.factory.d.ts +58 -0
  381. package/task/store/task-store.factory.d.ts.map +1 -0
  382. package/task/store/task.store.d.ts +76 -0
  383. package/task/store/task.store.d.ts.map +1 -0
  384. package/task/task-scope.helper.d.ts +18 -0
  385. package/task/task-scope.helper.d.ts.map +1 -0
  386. package/task/task.registry.d.ts +68 -0
  387. package/task/task.registry.d.ts.map +1 -0
  388. package/task/task.types.d.ts +201 -0
  389. package/task/task.types.d.ts.map +1 -0
  390. package/tool/flows/call-tool.flow.d.ts +216 -197
  391. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  392. package/tool/flows/tools-list.flow.d.ts +82 -76
  393. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  394. package/tool/tool.instance.d.ts +4 -6
  395. package/tool/tool.instance.d.ts.map +1 -1
  396. package/tool/tool.utils.d.ts +2 -2
  397. package/tool/tool.utils.d.ts.map +1 -1
  398. package/transport/adapters/transport.local.adapter.d.ts +10 -11
  399. package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
  400. package/transport/adapters/transport.sse.adapter.d.ts +5 -5
  401. package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
  402. package/transport/adapters/transport.streamable-http.adapter.d.ts +7 -7
  403. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
  404. package/transport/bus/index.d.ts +3 -0
  405. package/transport/bus/index.d.ts.map +1 -0
  406. package/transport/bus/redis-transport-bus.d.ts +90 -0
  407. package/transport/bus/redis-transport-bus.d.ts.map +1 -0
  408. package/transport/flows/handle.sse.flow.d.ts +17 -18
  409. package/transport/flows/handle.sse.flow.d.ts.map +1 -1
  410. package/transport/flows/handle.stateless-http.flow.d.ts +6 -7
  411. package/transport/flows/handle.stateless-http.flow.d.ts.map +1 -1
  412. package/transport/flows/handle.streamable-http.flow.d.ts +19 -19
  413. package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -1
  414. package/transport/in-memory-server.d.ts +2 -3
  415. package/transport/in-memory-server.d.ts.map +1 -1
  416. package/transport/mcp-handlers/call-tool-request.handler.d.ts +2 -2
  417. package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -1
  418. package/transport/mcp-handlers/index.d.ts +719 -565
  419. package/transport/mcp-handlers/index.d.ts.map +1 -1
  420. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
  421. package/transport/mcp-handlers/mcp-error.utils.d.ts +15 -0
  422. package/transport/mcp-handlers/mcp-error.utils.d.ts.map +1 -0
  423. package/transport/mcp-handlers/mcp-handlers.types.d.ts +3 -3
  424. package/transport/mcp-handlers/mcp-handlers.types.d.ts.map +1 -1
  425. package/transport/mcp-handlers/skills-mcp.types.d.ts +97 -97
  426. package/transport/mcp-handlers/skills-mcp.types.d.ts.map +1 -1
  427. package/transport/mcp-handlers/tasks-cancel-request.handler.d.ts +4 -0
  428. package/transport/mcp-handlers/tasks-cancel-request.handler.d.ts.map +1 -0
  429. package/transport/mcp-handlers/tasks-get-request.handler.d.ts +4 -0
  430. package/transport/mcp-handlers/tasks-get-request.handler.d.ts.map +1 -0
  431. package/transport/mcp-handlers/tasks-list-request.handler.d.ts +4 -0
  432. package/transport/mcp-handlers/tasks-list-request.handler.d.ts.map +1 -0
  433. package/transport/mcp-handlers/tasks-result-request.handler.d.ts +4 -0
  434. package/transport/mcp-handlers/tasks-result-request.handler.d.ts.map +1 -0
  435. package/transport/transport.registry.d.ts +9 -4
  436. package/transport/transport.registry.d.ts.map +1 -1
  437. package/types/zod.types.d.ts +1 -1
  438. package/types/zod.types.d.ts.map +1 -1
  439. package/workflow/tools/execute-workflow.tool.d.ts.map +1 -1
  440. package/workflow/tools/get-workflow-status.tool.d.ts.map +1 -1
  441. package/workflow/tools/list-workflows.tool.d.ts.map +1 -1
  442. package/workflow/tools/register-workflow.tool.d.ts.map +1 -1
  443. package/workflow/tools/remove-workflow.tool.d.ts.map +1 -1
@@ -1,25 +1,30 @@
1
1
  import 'reflect-metadata';
2
- import { FlowInputOf, FlowName, FlowOutputOf, FlowType, FrontMcpAuth, FrontMcpLogger, FrontMcpServer, ScopeEntry, ScopeRecord, Token, Type } from '../common';
2
+ import { type GuardManager } from '@frontmcp/guard';
3
+ import { type EventStore } from '@frontmcp/protocol';
4
+ import AgentRegistry from '../agent/agent.registry';
3
5
  import AppRegistry from '../app/app.registry';
4
- import ProviderRegistry from '../provider/provider.registry';
5
6
  import { AuthRegistry } from '../auth/auth.registry';
6
- import { TransportService } from '../transport/transport.registry';
7
- import ToolRegistry from '../tool/tool.registry';
8
- import ResourceRegistry from '../resource/resource.registry';
7
+ import { type ChannelNotificationService } from '../channel/channel-notification.service';
8
+ import type ChannelRegistry from '../channel/channel.registry';
9
+ import { type ChannelEventBus } from '../channel/sources/app-event.source';
10
+ import { FrontMcpLogger, FrontMcpServer, ScopeEntry, type FlowInputOf, type FlowName, type FlowOutputOf, type FlowType, type FrontMcpAuth, type ScopeRecord, type Token, type Type } from '../common';
11
+ import { type ElicitationStore } from '../elicitation';
12
+ import { HaManager } from '../ha';
13
+ import { HealthService } from '../health';
9
14
  import HookRegistry from '../hooks/hook.registry';
15
+ import type JobRegistry from '../job/job.registry';
16
+ import { NotificationService } from '../notification';
17
+ import PluginRegistry from '../plugin/plugin.registry';
10
18
  import PromptRegistry from '../prompt/prompt.registry';
11
- import AgentRegistry from '../agent/agent.registry';
12
- import SkillRegistry from '../skill/skill.registry';
19
+ import ProviderRegistry from '../provider/provider.registry';
20
+ import ResourceRegistry from '../resource/resource.registry';
13
21
  import { SkillSessionManager } from '../skill/session';
14
- import { NotificationService } from '../notification';
22
+ import SkillRegistry from '../skill/skill.registry';
23
+ import { TaskRegistry, type TaskStore } from '../task';
24
+ import ToolRegistry from '../tool/tool.registry';
15
25
  import { ToolUIRegistry } from '../tool/ui';
16
- import PluginRegistry from '../plugin/plugin.registry';
17
- import { ElicitationStore } from '../elicitation';
18
- import type { EventStore } from '@frontmcp/protocol';
19
- import JobRegistry from '../job/job.registry';
20
- import WorkflowRegistry from '../workflow/workflow.registry';
21
- import { type GuardManager } from '@frontmcp/guard';
22
- import { HealthService } from '../health';
26
+ import { TransportService } from '../transport/transport.registry';
27
+ import type WorkflowRegistry from '../workflow/workflow.registry';
23
28
  export declare class Scope extends ScopeEntry {
24
29
  readonly id: string;
25
30
  private readonly globalProviders;
@@ -37,6 +42,7 @@ export declare class Scope extends ScopeEntry {
37
42
  private scopePlugins?;
38
43
  transportService: TransportService;
39
44
  notificationService: NotificationService;
45
+ haManager?: HaManager;
40
46
  private toolUIRegistry;
41
47
  readonly entryPath: string;
42
48
  readonly routeBase: string;
@@ -44,6 +50,10 @@ export declare class Scope extends ScopeEntry {
44
50
  readonly server: FrontMcpServer;
45
51
  /** Lazy-initialized elicitation store for distributed elicitation support */
46
52
  private _elicitationStore?;
53
+ /** Task store for MCP 2025-11-25 background tasks (optional). */
54
+ private _taskStore?;
55
+ /** Per-process task registry (AbortControllers + capability projection). */
56
+ private _taskRegistry?;
47
57
  /** Optional skill session manager for tool authorization enforcement */
48
58
  private _skillSession?;
49
59
  /** EventStore for SSE resumability support (optional) */
@@ -56,6 +66,15 @@ export declare class Scope extends ScopeEntry {
56
66
  private _jobDefinitionStore?;
57
67
  /** Guard manager for rate limiting, concurrency, IP filtering (optional) */
58
68
  private _rateLimitManager?;
69
+ /** Authorities engine for RBAC/ABAC/ReBAC enforcement (optional) */
70
+ private _authoritiesEngine?;
71
+ private _authoritiesContextBuilder?;
72
+ private _authoritiesScopeMapping?;
73
+ /** Channel system (optional) */
74
+ private _scopeChannels?;
75
+ private _channelNotificationService?;
76
+ private _channelEventBus?;
77
+ private _channelTeardown?;
59
78
  /** Health service for liveness and readiness probes (optional) */
60
79
  private _healthService?;
61
80
  /** CLI mode flag — skips non-essential initialization for faster startup */
@@ -82,6 +101,9 @@ export declare class Scope extends ScopeEntry {
82
101
  get skills(): SkillRegistry;
83
102
  get jobs(): JobRegistry | undefined;
84
103
  get workflows(): WorkflowRegistry | undefined;
104
+ get channels(): ChannelRegistry | undefined;
105
+ get channelNotifications(): ChannelNotificationService | undefined;
106
+ get channelEventBus(): ChannelEventBus | undefined;
85
107
  /**
86
108
  * Get the skill session manager for tool authorization enforcement.
87
109
  * Returns undefined if skill sessions are not enabled.
@@ -107,6 +129,16 @@ export declare class Scope extends ScopeEntry {
107
129
  * @see createElicitationStore for factory implementation details
108
130
  */
109
131
  get elicitationStore(): ElicitationStore | undefined;
132
+ /**
133
+ * Background-tasks record store (MCP 2025-11-25).
134
+ * Returns `undefined` if tasks are not enabled for this scope.
135
+ */
136
+ get taskStore(): TaskStore | undefined;
137
+ /**
138
+ * Per-process task registry (AbortControllers + capability projection).
139
+ * Returns `undefined` if tasks are not enabled for this scope.
140
+ */
141
+ get tasks(): TaskRegistry | undefined;
110
142
  /**
111
143
  * Get the EventStore for SSE resumability support.
112
144
  *
@@ -135,6 +167,28 @@ export declare class Scope extends ScopeEntry {
135
167
  * Returns undefined if health endpoints are disabled.
136
168
  */
137
169
  get healthService(): HealthService | undefined;
170
+ /**
171
+ * Authorities engine for evaluating RBAC/ABAC/ReBAC policies.
172
+ * Returns undefined if AuthoritiesPlugin is not configured.
173
+ * Used by flow `checkEntryAuthorities` stages.
174
+ */
175
+ get authoritiesEngine(): import('@frontmcp/auth').AuthoritiesEngine | undefined;
176
+ /**
177
+ * Authorities context builder for creating evaluation contexts from AuthInfo.
178
+ * Returns undefined if AuthoritiesPlugin is not configured.
179
+ */
180
+ get authoritiesContextBuilder(): import('@frontmcp/auth').AuthoritiesContextBuilder | undefined;
181
+ /**
182
+ * Scope mapping for converting authority denials to OAuth scope challenges.
183
+ * Returns undefined if no scopeMapping is configured.
184
+ */
185
+ get authoritiesScopeMapping(): import('@frontmcp/auth').AuthoritiesScopeMapping | undefined;
186
+ /**
187
+ * Collect all supported OAuth scopes from base OIDC scopes and
188
+ * tool-level authProvider scope declarations.
189
+ * Used by PRM endpoint to populate `scopes_supported` (RFC 9728).
190
+ */
191
+ getAllSupportedScopes(): string[];
138
192
  /**
139
193
  * Register the sendElicitationResult system tool.
140
194
  * This tool is hidden by default and only shown to clients that don't support elicitation.
@@ -154,5 +208,17 @@ export declare class Scope extends ScopeEntry {
154
208
  registryFlows(...flows: FlowType[]): Promise<void>;
155
209
  runFlow<Name extends FlowName>(name: Name, input: FlowInputOf<Name>, deps?: Map<Token, Type>): Promise<FlowOutputOf<Name> | undefined>;
156
210
  runFlowForOutput<Name extends FlowName>(name: Name, input: FlowInputOf<Name>, deps?: Map<Token, Type>): Promise<FlowOutputOf<Name>>;
211
+ /**
212
+ * Shut down the scope and release resources.
213
+ * Disconnects channel service connectors, unsubscribes event handlers,
214
+ * and clears the channel event bus.
215
+ */
216
+ shutdown(): Promise<void>;
217
+ /**
218
+ * Dispose of this scope, cleaning up all registries and native resources.
219
+ * Call before process exit to prevent native mutex crashes from addons
220
+ * (e.g., ONNX runtime) whose threads are still running during teardown.
221
+ */
222
+ dispose(): Promise<void>;
157
223
  }
158
224
  //# sourceMappingURL=scope.instance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scope.instance.d.ts","sourceRoot":"","sources":["../../src/scope/scope.instance.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAEL,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,cAAc,EAEd,UAAU,EACV,WAAW,EACX,KAAK,EACL,IAAI,EACL,MAAM,WAAW,CAAC;AAEnB,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,YAAY,MAAM,uBAAuB,CAAC;AACjD,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,cAAc,MAAM,2BAA2B,CAAC;AACvD,OAAO,aAAa,MAAM,yBAAyB,CAAC;AACpD,OAAO,aAAa,MAAM,yBAAyB,CAAC;AAKpD,OAAO,EAAE,mBAAmB,EAA2B,MAAM,kBAAkB,CAAC;AAGhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,OAAO,EAAE,cAAc,EAA6C,MAAM,YAAY,CAAC;AAEvF,OAAO,cAAmC,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAA0B,MAAM,gBAAgB,CAAC;AAK1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAO7D,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;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C,GACtB,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IAQ9B;;;;OAIG;IACG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAkB/B;;;;OAIG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAM/B"}
@@ -13,7 +13,10 @@ export declare abstract class HostServerAdapter extends FrontMcpServer {
13
13
  * Start the server on the specified port or Unix socket path.
14
14
  * When a string is provided, the server listens on a Unix socket.
15
15
  * When a number is provided, the server listens on a TCP port.
16
+ *
17
+ * @param portOrSocketPath - Port number or Unix socket path
18
+ * @param bindAddress - Optional bind address (e.g., '127.0.0.1', '0.0.0.0')
16
19
  */
17
- abstract start(portOrSocketPath: number | string): Promise<void> | void;
20
+ abstract start(portOrSocketPath: number | string, bindAddress?: string): Promise<void> | void;
18
21
  }
19
22
  //# sourceMappingURL=base.host.adapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.host.adapter.d.ts","sourceRoot":"","sources":["../../../src/server/adapters/base.host.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,8BAAsB,iBAAkB,SAAQ,cAAc;IAC5D;;;OAGG;aACe,OAAO,IAAI,IAAI;IAEjC;;OAEG;aACe,UAAU,IAAI,OAAO;IAEvC;;;;OAIG;aACe,KAAK,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;CACjF"}
1
+ {"version":3,"file":"base.host.adapter.d.ts","sourceRoot":"","sources":["../../../src/server/adapters/base.host.adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,8BAAsB,iBAAkB,SAAQ,cAAc;IAC5D;;;OAGG;aACe,OAAO,IAAI,IAAI;IAEjC;;OAEG;aACe,UAAU,IAAI,OAAO;IAEvC;;;;;;;OAOG;aACe,KAAK,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;CACvG"}
@@ -1,6 +1,7 @@
1
1
  import express from 'express';
2
+ import { type CorsOptions, type HttpMethod, type ServerRequestHandler } from '../../common';
3
+ import type { SecurityOptions } from '../../common/types/options/http/interfaces';
2
4
  import { HostServerAdapter } from './base.host.adapter';
3
- import { CorsOptions, HttpMethod, ServerRequestHandler } from '../../common';
4
5
  /**
5
6
  * Options for ExpressHostAdapter.
6
7
  */
@@ -11,6 +12,11 @@ export interface ExpressHostAdapterOptions {
11
12
  * Note: FrontMcpServerInstance provides a permissive default when `cors` is omitted.
12
13
  */
13
14
  cors?: CorsOptions;
15
+ /**
16
+ * Security options for transport hardening.
17
+ * Includes bind address and DNS rebinding protection.
18
+ */
19
+ security?: SecurityOptions;
14
20
  }
15
21
  export declare class ExpressHostAdapter extends HostServerAdapter {
16
22
  private app;
@@ -31,7 +37,7 @@ export declare class ExpressHostAdapter extends HostServerAdapter {
31
37
  * Automatically calls prepare() to ensure routes are registered.
32
38
  */
33
39
  getHandler(): express.Application;
34
- start(portOrSocketPath: number | string): Promise<void>;
40
+ start(portOrSocketPath: number | string, bindAddress?: string): Promise<void>;
35
41
  private cleanupStaleSocket;
36
42
  }
37
43
  //# sourceMappingURL=express.host.adapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"express.host.adapter.d.ts","sourceRoot":"","sources":["../../../src/server/adapters/express.host.adapter.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAiB,oBAAoB,EAAkB,MAAM,cAAc,CAAC;AAG5G;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED,qBAAa,kB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AAyB;IAwD/C,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB;IAI7E,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB;IAInE,eAAe,CAAC,OAAO,EAAE,oBAAoB,IACnC,KAAK,OAAO,CAAC,OAAO,EAAE,KAAK,OAAO,CAAC,QAAQ,EAAE,MAAM,OAAO,CAAC,YAAY;IAQjF;;;;OAIG;IACH,OAAO,IAAI,IAAI;IAMf;;;OAGG;IACH,UAAU,IAAI,OAAO,CAAC,WAAW;IAK3B,KAAK,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM;YAqCrD,kBAAkB;CASjC"}
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Content Security Policy (CSP) Middleware
3
+ *
4
+ * Sets CSP headers based on deployment configuration.
5
+ * Configured via `frontmcp.config` server.csp settings,
6
+ * injected as environment variables at build time.
7
+ */
8
+ /**
9
+ * CSP configuration read from environment variables (set by build adapter).
10
+ */
11
+ export interface CspOptions {
12
+ /** Enable CSP headers. */
13
+ enabled: boolean;
14
+ /** CSP directives map. */
15
+ directives: Record<string, string>;
16
+ /** Report URI for violations. */
17
+ reportUri?: string;
18
+ /** Use Report-Only header instead of enforcement. */
19
+ reportOnly: boolean;
20
+ }
21
+ /**
22
+ * Read CSP configuration from environment variables.
23
+ * Environment variables are injected by the build adapter from frontmcp.config.
24
+ *
25
+ * FRONTMCP_CSP_ENABLED=1
26
+ * FRONTMCP_CSP_DIRECTIVES=default-src 'self'; script-src 'self' https://cdn.example.com
27
+ * FRONTMCP_CSP_REPORT_URI=https://report.example.com/csp
28
+ * FRONTMCP_CSP_REPORT_ONLY=1
29
+ */
30
+ export declare function readCspFromEnv(): CspOptions | undefined;
31
+ /**
32
+ * Build the CSP header value from directives.
33
+ */
34
+ export declare function buildCspHeaderValue(options: CspOptions): string;
35
+ /**
36
+ * Get the CSP header name based on report-only mode.
37
+ */
38
+ export declare function getCspHeaderName(reportOnly: boolean): string;
39
+ /**
40
+ * Security headers read from environment variables.
41
+ * Set by the build adapter from frontmcp.config server.headers settings.
42
+ *
43
+ * FRONTMCP_HSTS=max-age=31536000; includeSubDomains
44
+ * FRONTMCP_CONTENT_TYPE_OPTIONS=nosniff
45
+ * FRONTMCP_FRAME_OPTIONS=DENY
46
+ */
47
+ export interface SecurityHeaders {
48
+ hsts?: string;
49
+ contentTypeOptions?: string;
50
+ frameOptions?: string;
51
+ custom?: Record<string, string>;
52
+ }
53
+ /**
54
+ * Read security headers from environment variables.
55
+ */
56
+ export declare function readSecurityHeadersFromEnv(): SecurityHeaders;
57
+ /**
58
+ * Apply security headers to a response object.
59
+ * Called by the HTTP adapter on every response.
60
+ */
61
+ export declare function applySecurityHeaders(res: {
62
+ setHeader(name: string, value: string): void;
63
+ }, headers: SecurityHeaders, csp?: CspOptions): void;
64
+ //# sourceMappingURL=csp.middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"csp.middleware.d.ts","sourceRoot":"","sources":["../../../src/server/middleware/csp.middleware.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,0BAA0B;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,IAAI,UAAU,GAAG,SAAS,CAwBvD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAY/D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,MAAM,CAE5D;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,eAAe,CAM5D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE;IAAE,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,EACrD,OAAO,EAAE,eAAe,EACxB,GAAG,CAAC,EAAE,UAAU,GACf,IAAI,CAsBN"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Host Header Validation Middleware
3
+ *
4
+ * Validates the HTTP Host header against a whitelist of allowed values
5
+ * to protect against DNS rebinding attacks. Only active when explicitly
6
+ * enabled via security.dnsRebindingProtection.enabled = true.
7
+ */
8
+ import type { ServerRequest, ServerResponse } from '../../common';
9
+ /**
10
+ * Configuration for host validation middleware.
11
+ */
12
+ export interface HostValidationOptions {
13
+ /** Whether host validation is enabled. @default false */
14
+ enabled: boolean;
15
+ /** Allowed Host header values (e.g., ['localhost:3001', 'api.example.com']) */
16
+ allowedHosts?: string[];
17
+ /** Allowed Origin header values (e.g., ['https://app.example.com']) */
18
+ allowedOrigins?: string[];
19
+ }
20
+ /**
21
+ * Create middleware that validates Host and Origin headers.
22
+ * Returns a no-op middleware when not enabled.
23
+ */
24
+ export declare function createHostValidationMiddleware(options: HostValidationOptions): (req: ServerRequest, res: ServerResponse, next: () => void) => void;
25
+ //# sourceMappingURL=host-validation.middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"host-validation.middleware.d.ts","sourceRoot":"","sources":["../../../src/server/middleware/host-validation.middleware.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,yDAAyD;IACzD,OAAO,EAAE,OAAO,CAAC;IACjB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,uEAAuE;IACvE,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,qBAAqB,GAC7B,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,IAAI,KAAK,IAAI,CAmCrE"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Security Audit — Production Readiness Warnings
3
+ *
4
+ * Logs security-relevant configuration at server startup.
5
+ * Warn-only approach: no defaults are changed, but insecure
6
+ * configurations are flagged in production environments.
7
+ */
8
+ import type { CorsOptions } from '../../common';
9
+ /**
10
+ * Security configuration for the audit.
11
+ */
12
+ export interface SecurityAuditConfig {
13
+ /** CORS configuration (undefined = permissive default) */
14
+ cors?: CorsOptions | false;
15
+ /** Security options from HttpOptionsInterface */
16
+ security?: {
17
+ strict?: boolean;
18
+ bindAddress?: 'loopback' | 'all' | string;
19
+ dnsRebindingProtection?: {
20
+ enabled?: boolean;
21
+ allowedHosts?: string[];
22
+ allowedOrigins?: string[];
23
+ };
24
+ };
25
+ /** Resolved bind address (what the server actually binds to) */
26
+ resolvedBindAddress?: string;
27
+ /** Deployment mode */
28
+ deploymentMode?: string;
29
+ }
30
+ /**
31
+ * Individual security finding.
32
+ */
33
+ export interface SecurityFinding {
34
+ level: 'warn' | 'info';
35
+ code: string;
36
+ message: string;
37
+ recommendation?: string;
38
+ }
39
+ /**
40
+ * Audit security configuration and return findings.
41
+ * Called at server startup to produce log warnings.
42
+ *
43
+ * @param config - Current security-relevant configuration
44
+ * @param isProduction - Whether NODE_ENV is 'production'
45
+ * @returns Array of security findings
46
+ */
47
+ export declare function auditSecurityDefaults(config: SecurityAuditConfig, isProduction: boolean): SecurityFinding[];
48
+ /**
49
+ * Format and log security findings.
50
+ *
51
+ * @param findings - Security findings from auditSecurityDefaults
52
+ * @param logger - Logger with info/warn methods
53
+ */
54
+ export declare function logSecurityFindings(findings: SecurityFinding[], logger: {
55
+ info: (msg: string) => void;
56
+ warn: (msg: string) => void;
57
+ }): void;
58
+ /**
59
+ * Resolve the effective bind address based on configuration and deployment mode.
60
+ *
61
+ * @param security - Security configuration
62
+ * @param deploymentMode - Current deployment mode
63
+ * @returns Resolved IP address string
64
+ */
65
+ export declare function resolveBindAddress(security?: SecurityAuditConfig['security'], deploymentMode?: string): string;
66
+ //# sourceMappingURL=security-audit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security-audit.d.ts","sourceRoot":"","sources":["../../../src/server/security/security-audit.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,IAAI,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC;IAC3B,iDAAiD;IACjD,QAAQ,CAAC,EAAE;QACT,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,WAAW,CAAC,EAAE,UAAU,GAAG,KAAK,GAAG,MAAM,CAAC;QAC1C,sBAAsB,CAAC,EAAE;YACvB,OAAO,CAAC,EAAE,OAAO,CAAC;YAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;YACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;SAC3B,CAAC;KACH,CAAC;IACF,gEAAgE;IAChE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,mBAAmB,EAAE,YAAY,EAAE,OAAO,GAAG,eAAe,EAAE,CAmG3G;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,eAAe,EAAE,EAC3B,MAAM,EAAE;IACN,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5B,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7B,GACA,IAAI,CAeN;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAe9G"}
@@ -1,7 +1,7 @@
1
- import { FrontMcpServer, HttpOptions, HttpMethod, ServerRequestHandler } from '../common';
2
- import { HostServerAdapter } from './adapters/base.host.adapter';
3
- import type { HealthService } from '../health';
4
- import type { HealthOptionsInterface } from '../common/types/options/health';
1
+ import { FrontMcpServer, type HttpMethod, type HttpOptions, type ServerRequestHandler } from '../common';
2
+ import { type HealthOptionsInterface } from '../common/types/options/health';
3
+ import { type HealthService } from '../health';
4
+ import { type HostServerAdapter } from './adapters/base.host.adapter';
5
5
  export declare class FrontMcpServerInstance extends FrontMcpServer {
6
6
  config: HttpOptions;
7
7
  host: HostServerAdapter;
@@ -1 +1 @@
1
- {"version":3,"file":"server.instance.d.ts","sourceRoot":"","sources":["../../src/server/server.instance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,oBAAoB,EAAe,MAAM,WAAW,CAAC;AAEvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,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iB,CAAC;IACxB,OAAO,CAAC,qBAAqB,CAAS;IACtC,OAAO,CAAC,cAAc,CAAC,CAAgB;IACvC,OAAO,CAAC,aAAa,CAAC,CAAyB;gBAEnC,UAAU,EAAE,WAAW;IAMnC,OAAO,CAAC,aAAa;IAerB,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB;IAInE,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB;IAIpE,eAAe,CAAC,OAAO,EAAE,oBAAoB,GAAG,oBAAoB;IAI7E;;;OAGG;IACH,gBAAgB,CAAC,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,sBAAsB,GAAG,IAAI;IAK1F;;;OAGG;IACH,eAAe,CAAC,YAAY,EAAE,sBAAsB,GAAG,IAAI;IAI3D,OAAO;IAkBP,UAAU,IAAI,OAAO;IAIf,KAAK;CAqBZ"}
@@ -1,39 +1,34 @@
1
- /**
2
- * HTTP flow for GET /llm_full.txt endpoint.
3
- * Returns full skill content with instructions and tool schemas.
4
- */
5
- import { FlowBase, FlowRunOptions, ScopeEntry, ServerRequest } from '../../../common';
6
- import { z } from 'zod';
7
- declare const inputSchema: z.ZodObject<{
8
- request: z.ZodObject<{}, z.core.$loose>;
9
- response: z.ZodObject<{}, z.core.$loose>;
10
- next: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
11
- }, z.core.$strip>;
12
- declare const stateSchema: z.ZodObject<{
13
- prefix: z.ZodString;
14
- }, z.core.$strip>;
15
- declare const outputSchema: z.ZodObject<{
16
- kind: z.ZodLiteral<"text">;
17
- status: z.ZodNumber;
18
- body: z.ZodString;
19
- contentType: z.ZodDefault<z.ZodString>;
20
- headers: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>]>>>>;
21
- cookies: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
22
- name: z.ZodString;
23
- value: z.ZodString;
24
- path: z.ZodDefault<z.ZodString>;
25
- domain: z.ZodOptional<z.ZodString>;
26
- httpOnly: z.ZodDefault<z.ZodBoolean>;
27
- secure: z.ZodOptional<z.ZodBoolean>;
28
- sameSite: z.ZodOptional<z.ZodEnum<{
1
+ import { FlowBase, type FlowRunOptions, type ScopeEntry, type ServerRequest } from '../../../common';
2
+ declare const inputSchema: import("@frontmcp/lazy-zod").ZodObject<{
3
+ request: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>;
4
+ response: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>;
5
+ next: import("@frontmcp/lazy-zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
6
+ }, import("zod/v4/core").$strip>;
7
+ declare const stateSchema: import("@frontmcp/lazy-zod").ZodObject<{
8
+ prefix: import("@frontmcp/lazy-zod").ZodString;
9
+ }, import("zod/v4/core").$strip>;
10
+ declare const outputSchema: import("@frontmcp/lazy-zod").ZodObject<{
11
+ kind: import("@frontmcp/lazy-zod").ZodLiteral<"text">;
12
+ status: import("@frontmcp/lazy-zod").ZodNumber;
13
+ body: import("@frontmcp/lazy-zod").ZodString;
14
+ contentType: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodString>;
15
+ headers: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodRecord<import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodUnion<readonly [import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodUnion<readonly [import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>]>]>>>>;
16
+ cookies: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodObject<{
17
+ name: import("@frontmcp/lazy-zod").ZodString;
18
+ value: import("@frontmcp/lazy-zod").ZodString;
19
+ path: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodString>;
20
+ domain: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
21
+ httpOnly: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodBoolean>;
22
+ secure: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodBoolean>;
23
+ sameSite: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodEnum<{
29
24
  strict: "strict";
30
25
  lax: "lax";
31
26
  none: "none";
32
27
  }>>;
33
- maxAge: z.ZodOptional<z.ZodNumber>;
34
- expires: z.ZodOptional<z.ZodDate>;
35
- }, z.core.$strip>>>>;
36
- }, z.core.$strip>;
28
+ maxAge: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>;
29
+ expires: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodDate>;
30
+ }, import("zod/v4/core").$strip>>>>;
31
+ }, import("zod/v4/core").$strip>;
37
32
  declare const plan: {
38
33
  readonly pre: ["checkEnabled"];
39
34
  readonly execute: ["generateContent"];
@@ -1 +1 @@
1
- {"version":3,"file":"llm-full-txt.flow.d.ts","sourceRoot":"","sources":["../../../../src/skill/flows/http/llm-full-txt.flow.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAEH,OAAO,EAEL,QAAQ,EAER,cAAc,EAId,UAAU,EACV,aAAa,EAId,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,QAAA,MAAM,WAAW;;;;iBAAkB,CAAC;AAEpC,QAAA,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;;;;;;;GAWG;AAWH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,QAAQ,CAAC,OAAO,IAAI,CAAC;IAC/D,MAAM,2CAA4C;IAElD;;;OAGG;IACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO;IAqBhE,YAAY;IAoCZ,eAAe;CAsDtB"}
@@ -1,39 +1,34 @@
1
- /**
2
- * HTTP flow for GET /llm.txt endpoint.
3
- * Returns compact skill summaries in plain text format.
4
- */
5
- import { FlowBase, FlowRunOptions, ScopeEntry, ServerRequest } from '../../../common';
6
- import { z } from 'zod';
7
- declare const inputSchema: z.ZodObject<{
8
- request: z.ZodObject<{}, z.core.$loose>;
9
- response: z.ZodObject<{}, z.core.$loose>;
10
- next: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
11
- }, z.core.$strip>;
12
- declare const stateSchema: z.ZodObject<{
13
- prefix: z.ZodString;
14
- }, z.core.$strip>;
15
- declare const outputSchema: z.ZodObject<{
16
- kind: z.ZodLiteral<"text">;
17
- status: z.ZodNumber;
18
- body: z.ZodString;
19
- contentType: z.ZodDefault<z.ZodString>;
20
- headers: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>]>>>>;
21
- cookies: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
22
- name: z.ZodString;
23
- value: z.ZodString;
24
- path: z.ZodDefault<z.ZodString>;
25
- domain: z.ZodOptional<z.ZodString>;
26
- httpOnly: z.ZodDefault<z.ZodBoolean>;
27
- secure: z.ZodOptional<z.ZodBoolean>;
28
- sameSite: z.ZodOptional<z.ZodEnum<{
1
+ import { FlowBase, type FlowRunOptions, type ScopeEntry, type ServerRequest } from '../../../common';
2
+ declare const inputSchema: import("@frontmcp/lazy-zod").ZodObject<{
3
+ request: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>;
4
+ response: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>;
5
+ next: import("@frontmcp/lazy-zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
6
+ }, import("zod/v4/core").$strip>;
7
+ declare const stateSchema: import("@frontmcp/lazy-zod").ZodObject<{
8
+ prefix: import("@frontmcp/lazy-zod").ZodString;
9
+ }, import("zod/v4/core").$strip>;
10
+ declare const outputSchema: import("@frontmcp/lazy-zod").ZodObject<{
11
+ kind: import("@frontmcp/lazy-zod").ZodLiteral<"text">;
12
+ status: import("@frontmcp/lazy-zod").ZodNumber;
13
+ body: import("@frontmcp/lazy-zod").ZodString;
14
+ contentType: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodString>;
15
+ headers: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodRecord<import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodUnion<readonly [import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodUnion<readonly [import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>]>]>>>>;
16
+ cookies: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodObject<{
17
+ name: import("@frontmcp/lazy-zod").ZodString;
18
+ value: import("@frontmcp/lazy-zod").ZodString;
19
+ path: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodString>;
20
+ domain: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
21
+ httpOnly: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodBoolean>;
22
+ secure: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodBoolean>;
23
+ sameSite: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodEnum<{
29
24
  strict: "strict";
30
25
  lax: "lax";
31
26
  none: "none";
32
27
  }>>;
33
- maxAge: z.ZodOptional<z.ZodNumber>;
34
- expires: z.ZodOptional<z.ZodDate>;
35
- }, z.core.$strip>>>>;
36
- }, z.core.$strip>;
28
+ maxAge: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>;
29
+ expires: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodDate>;
30
+ }, import("zod/v4/core").$strip>>>>;
31
+ }, import("zod/v4/core").$strip>;
37
32
  declare const plan: {
38
33
  readonly pre: ["checkEnabled"];
39
34
  readonly execute: ["generateContent"];
@@ -1 +1 @@
1
- {"version":3,"file":"llm-txt.flow.d.ts","sourceRoot":"","sources":["../../../../src/skill/flows/http/llm-txt.flow.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAEH,OAAO,EAEL,QAAQ,EAER,cAAc,EAId,UAAU,EACV,aAAa,EAId,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,QAAA,MAAM,WAAW;;;;iBAAkB,CAAC;AAEpC,QAAA,MAAM,WAAW;;iBAEf,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;iBAAiB,CAAC;AAEpC,QAAA,MAAM,IAAI;;;CAG2B,CAAC;AAEtC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,WAAW;QACnB,qBAAqB,EAAE,cAAc,CACnC,UAAU,EACV,OAAO,IAAI,EACX,OAAO,WAAW,EAClB,OAAO,YAAY,EACnB,OAAO,WAAW,CACnB,CAAC;KACH;CACF;AAED,QAAA,MAAM,IAAI,EAAG,qBAA8B,CAAC;AA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