@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,6 +1,5 @@
1
- import { z } from 'zod';
2
- import { ToolInputType, ToolOutputType } from './tool.metadata';
3
- import { JobRetryConfig, JobPermission } from './job.metadata';
1
+ import { type JobPermission, type JobRetryConfig } from './job.metadata';
2
+ import { type ToolInputType, type ToolOutputType } from './tool.metadata';
4
3
  declare global {
5
4
  /**
6
5
  * Declarative metadata extends to the Workflow decorator.
@@ -105,57 +104,57 @@ export interface WorkflowMetadata extends ExtendFrontMcpWorkflowMetadata {
105
104
  */
106
105
  outputSchema?: ToolOutputType;
107
106
  }
108
- export declare const frontMcpWorkflowMetadataSchema: z.ZodObject<{
109
- id: z.ZodOptional<z.ZodString>;
110
- name: z.ZodString;
111
- description: z.ZodOptional<z.ZodString>;
112
- steps: z.ZodArray<z.ZodObject<{
113
- id: z.ZodString;
114
- jobName: z.ZodString;
115
- input: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>>;
116
- dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
117
- condition: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
118
- continueOnError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
119
- timeout: z.ZodOptional<z.ZodNumber>;
120
- retry: z.ZodOptional<z.ZodObject<{
121
- maxAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
122
- backoffMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
123
- backoffMultiplier: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
124
- maxBackoffMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
125
- }, z.core.$strip>>;
126
- }, z.core.$strip>>;
127
- trigger: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
107
+ export declare const frontMcpWorkflowMetadataSchema: import("@frontmcp/lazy-zod").ZodObject<{
108
+ id: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
109
+ name: import("@frontmcp/lazy-zod").ZodString;
110
+ description: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
111
+ steps: import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodObject<{
112
+ id: import("@frontmcp/lazy-zod").ZodString;
113
+ jobName: import("@frontmcp/lazy-zod").ZodString;
114
+ input: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodUnion<readonly [import("@frontmcp/lazy-zod").ZodRecord<import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodUnknown>, import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>]>>;
115
+ dependsOn: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>>;
116
+ condition: import("@frontmcp/lazy-zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
117
+ continueOnError: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodBoolean>>;
118
+ timeout: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>;
119
+ retry: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodObject<{
120
+ maxAttempts: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>>;
121
+ backoffMs: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>>;
122
+ backoffMultiplier: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>>;
123
+ maxBackoffMs: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>>;
124
+ }, import("zod/v4/core").$strip>>;
125
+ }, import("zod/v4/core").$strip>>;
126
+ trigger: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodEnum<{
128
127
  webhook: "webhook";
129
128
  manual: "manual";
130
129
  event: "event";
131
130
  }>>>;
132
- webhook: z.ZodOptional<z.ZodObject<{
133
- path: z.ZodOptional<z.ZodString>;
134
- secret: z.ZodOptional<z.ZodString>;
135
- methods: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<{
131
+ webhook: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodObject<{
132
+ path: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
133
+ secret: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodString>;
134
+ methods: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodEnum<{
136
135
  GET: "GET";
137
136
  POST: "POST";
138
137
  }>>>>;
139
- }, z.core.$strip>>;
140
- timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
141
- maxConcurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
142
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
143
- labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
144
- hideFromDiscovery: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
145
- permissions: z.ZodOptional<z.ZodArray<z.ZodObject<{
146
- action: z.ZodEnum<{
147
- execute: "execute";
138
+ }, import("zod/v4/core").$strip>>;
139
+ timeout: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>>;
140
+ maxConcurrency: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodNumber>>;
141
+ tags: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>>;
142
+ labels: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodRecord<import("@frontmcp/lazy-zod").ZodString, import("@frontmcp/lazy-zod").ZodString>>;
143
+ hideFromDiscovery: import("@frontmcp/lazy-zod").ZodDefault<import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodBoolean>>;
144
+ permissions: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodObject<{
145
+ action: import("@frontmcp/lazy-zod").ZodEnum<{
148
146
  list: "list";
147
+ execute: "execute";
149
148
  create: "create";
150
149
  read: "read";
151
- delete: "delete";
152
150
  update: "update";
151
+ delete: "delete";
153
152
  }>;
154
- roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
155
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
- custom: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
157
- }, z.core.$strip>>>;
158
- inputSchema: z.ZodOptional<z.ZodCustom<Object, Object>>;
159
- outputSchema: z.ZodOptional<z.ZodCustom<Object, Object>>;
160
- }, z.core.$loose>;
153
+ roles: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>>;
154
+ scopes: import("@frontmcp/lazy-zod").ZodOptional<import("@frontmcp/lazy-zod").ZodArray<import("@frontmcp/lazy-zod").ZodString>>;
155
+ custom: import("@frontmcp/lazy-zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
156
+ }, import("zod/v4/core").$strip>>>;
157
+ inputSchema: import("@frontmcp/lazy-zod").ZodOptional<import("zod").ZodCustom<Object, Object>>;
158
+ outputSchema: import("@frontmcp/lazy-zod").ZodOptional<import("zod").ZodCustom<Object, Object>>;
159
+ }, import("zod/v4/core").$loose>;
161
160
  //# sourceMappingURL=workflow.metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/workflow.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,CAAC,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,8BAA8B;KAAG;CAC5C;AAMD,MAAM,WAAW,kBAAkB;IACjC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E9B;;OAEG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAEhC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEhC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,aAAa,EAAE,CAAC;IAE9B;;OAEG;IACH,WAAW,CAAC,EAAE,aAAa,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AA0CD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA0B3B,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { Type } from '@frontmcp/di';
2
+ import { ChannelContext } from '../interfaces';
3
+ import { ChannelMetadata } from '../metadata';
4
+ /**
5
+ * Discriminator enum for channel record types.
6
+ */
7
+ export declare enum ChannelKind {
8
+ /** Channel defined as a class decorated with @Channel */
9
+ CLASS_TOKEN = "CLASS_TOKEN",
10
+ /** Channel defined using channel() function builder */
11
+ FUNCTION = "FUNCTION"
12
+ }
13
+ /**
14
+ * Record for class-based channels decorated with @Channel.
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * @Channel({
19
+ * name: 'deploy-alerts',
20
+ * source: { type: 'webhook', path: '/hooks/deploy' },
21
+ * })
22
+ * export class DeployChannel extends ChannelContext { ... }
23
+ * ```
24
+ */
25
+ export interface ChannelClassTokenRecord {
26
+ kind: ChannelKind.CLASS_TOKEN;
27
+ provide: Type<ChannelContext>;
28
+ metadata: ChannelMetadata;
29
+ }
30
+ /**
31
+ * Record for function-based channels created with channel().
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * const ErrorChannel = channel({
36
+ * name: 'error-alerts',
37
+ * source: { type: 'app-event', event: 'error' },
38
+ * })((payload) => ({
39
+ * content: `Error: ${payload.message}`,
40
+ * }));
41
+ * ```
42
+ */
43
+ export interface ChannelFunctionTokenRecord {
44
+ kind: ChannelKind.FUNCTION;
45
+ provide: (...args: any[]) => any | Promise<any>;
46
+ metadata: ChannelMetadata;
47
+ }
48
+ /**
49
+ * Union type of all possible channel record types.
50
+ */
51
+ export type ChannelRecord = ChannelClassTokenRecord | ChannelFunctionTokenRecord;
52
+ //# sourceMappingURL=channel.record.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channel.record.d.ts","sourceRoot":"","sources":["../../../src/common/records/channel.record.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C;;GAEG;AACH,oBAAY,WAAW;IACrB,yDAAyD;IACzD,WAAW,gBAAgB;IAC3B,uDAAuD;IACvD,QAAQ,aAAa;CACtB;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IAC9B,QAAQ,EAAE,eAAe,CAAC;CAC3B;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC;IAG3B,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAChD,QAAQ,EAAE,eAAe,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,uBAAuB,GAAG,0BAA0B,CAAC"}
@@ -16,4 +16,5 @@ export * from './agent.record';
16
16
  export * from './skill.record';
17
17
  export * from './job.record';
18
18
  export * from './workflow.record';
19
+ export * from './channel.record';
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/records/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,YAAY,EACV,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/records/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,YAAY,EACV,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
@@ -1,17 +1,17 @@
1
- import { Type } from '@frontmcp/di';
1
+ import { type Type } from '@frontmcp/di';
2
2
  import type { AgentType } from '../interfaces';
3
- import { z } from 'zod';
4
- export declare const annotatedFrontMcpAppSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
5
- export declare const annotatedFrontMcpProvidersSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
6
- export declare const annotatedFrontMcpAuthProvidersSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
7
- export declare const annotatedFrontMcpPluginsSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
8
- export declare const annotatedFrontMcpAdaptersSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
9
- export declare const annotatedFrontMcpToolsSchema: z.ZodCustom<string | Type<unknown>, string | Type<unknown>>;
10
- export declare const annotatedFrontMcpResourcesSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
11
- export declare const annotatedFrontMcpPromptsSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
12
- export declare const annotatedFrontMcpLoggerSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
13
- export declare const annotatedFrontMcpAgentsSchema: z.ZodCustom<AgentType, AgentType>;
14
- export declare const annotatedFrontMcpJobsSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
15
- export declare const annotatedFrontMcpWorkflowsSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
16
- export declare const annotatedFrontMcpSkillsSchema: z.ZodCustom<Type<unknown>, Type<unknown>>;
3
+ export declare const annotatedFrontMcpAppSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
4
+ export declare const annotatedFrontMcpProvidersSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
5
+ export declare const annotatedFrontMcpAuthProvidersSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
6
+ export declare const annotatedFrontMcpPluginsSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
7
+ export declare const annotatedFrontMcpAdaptersSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
8
+ export declare const annotatedFrontMcpToolsSchema: import("zod").ZodCustom<string | Type<unknown>, string | Type<unknown>>;
9
+ export declare const annotatedFrontMcpResourcesSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
10
+ export declare const annotatedFrontMcpPromptsSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
11
+ export declare const annotatedFrontMcpLoggerSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
12
+ export declare const annotatedFrontMcpAgentsSchema: import("zod").ZodCustom<AgentType, AgentType>;
13
+ export declare const annotatedFrontMcpJobsSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
14
+ export declare const annotatedFrontMcpWorkflowsSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
15
+ export declare const annotatedFrontMcpSkillsSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
16
+ export declare const annotatedFrontMcpChannelsSchema: import("zod").ZodCustom<Type<unknown>, Type<unknown>>;
17
17
  //# sourceMappingURL=annotated-class.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"annotated-class.schema.d.ts","sourceRoot":"","sources":["../../../src/common/schemas/annotated-class.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA0BxB,eAAO,MAAM,0BAA0B,2CAkBtC,CA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B,uDA6BzC,CAAC;AAEF,eAAO,MAAM,+BAA+B,uDAc3C,CAAC"}
@@ -1,10 +1,9 @@
1
- import { z } from 'zod';
2
- export declare const httpInputSchema: z.ZodObject<{
3
- request: z.ZodObject<{}, z.core.$loose>;
4
- response: z.ZodObject<{}, z.core.$loose>;
5
- next: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
6
- }, z.core.$strip>;
7
- export declare const httpRequestInputSchema: z.ZodObject<{
8
- request: z.ZodObject<{}, z.core.$loose>;
9
- }, z.core.$strip>;
1
+ export declare const httpInputSchema: import("@frontmcp/lazy-zod").ZodObject<{
2
+ request: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>;
3
+ response: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>;
4
+ next: import("@frontmcp/lazy-zod").ZodOptional<import("zod").ZodFunction<import("zod/v4/core").$ZodFunctionArgs, import("zod/v4/core").$ZodFunctionOut>>;
5
+ }, import("zod/v4/core").$strip>;
6
+ export declare const httpRequestInputSchema: import("@frontmcp/lazy-zod").ZodObject<{
7
+ request: import("@frontmcp/lazy-zod").ZodObject<{}, import("zod/v4/core").$loose>;
8
+ }, import("zod/v4/core").$strip>;
10
9
  //# sourceMappingURL=http-input.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"http-input.schema.d.ts","sourceRoot":"","sources":["../../../src/common/schemas/http-input.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;iBAI1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC"}
1
+ {"version":3,"file":"http-input.schema.d.ts","sourceRoot":"","sources":["../../../src/common/schemas/http-input.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;gCAI1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;gCAEjC,CAAC"}