@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,237 +1,5 @@
1
- import { McpHandlerOptions } from './mcp-handlers.types';
1
+ import { type McpHandlerOptions } from './mcp-handlers.types';
2
2
  export declare function createMcpHandlers(options: McpHandlerOptions): (import("./mcp-handlers.types").McpHandler<{
3
- method: "initialize";
4
- params: {
5
- protocolVersion: string;
6
- capabilities: {
7
- experimental?: {
8
- [x: string]: object;
9
- } | undefined;
10
- sampling?: {
11
- context?: object | undefined;
12
- tools?: object | undefined;
13
- } | undefined;
14
- elicitation?: {
15
- [x: string]: unknown;
16
- form?: {
17
- [x: string]: unknown;
18
- applyDefaults?: boolean | undefined;
19
- } | undefined;
20
- url?: object | undefined;
21
- } | undefined;
22
- roots?: {
23
- listChanged?: boolean | undefined;
24
- } | undefined;
25
- tasks?: {
26
- [x: string]: unknown;
27
- list?: object | undefined;
28
- cancel?: object | undefined;
29
- requests?: {
30
- [x: string]: unknown;
31
- sampling?: {
32
- [x: string]: unknown;
33
- createMessage?: object | undefined;
34
- } | undefined;
35
- elicitation?: {
36
- [x: string]: unknown;
37
- create?: object | undefined;
38
- } | undefined;
39
- } | undefined;
40
- } | undefined;
41
- };
42
- clientInfo: {
43
- version: string;
44
- name: string;
45
- websiteUrl?: string | undefined;
46
- description?: string | undefined;
47
- icons?: {
48
- src: string;
49
- mimeType?: string | undefined;
50
- sizes?: string[] | undefined;
51
- theme?: "light" | "dark" | undefined;
52
- }[] | undefined;
53
- title?: string | undefined;
54
- };
55
- _meta?: {
56
- [x: string]: unknown;
57
- progressToken?: string | number | undefined;
58
- "io.modelcontextprotocol/related-task"?: {
59
- taskId: string;
60
- } | undefined;
61
- } | undefined;
62
- };
63
- }, {
64
- [x: string]: unknown;
65
- protocolVersion: string;
66
- capabilities: {
67
- experimental?: {
68
- [x: string]: object;
69
- } | undefined;
70
- logging?: object | undefined;
71
- completions?: object | undefined;
72
- prompts?: {
73
- listChanged?: boolean | undefined;
74
- } | undefined;
75
- resources?: {
76
- subscribe?: boolean | undefined;
77
- listChanged?: boolean | undefined;
78
- } | undefined;
79
- tools?: {
80
- listChanged?: boolean | undefined;
81
- } | undefined;
82
- tasks?: {
83
- [x: string]: unknown;
84
- list?: object | undefined;
85
- cancel?: object | undefined;
86
- requests?: {
87
- [x: string]: unknown;
88
- tools?: {
89
- [x: string]: unknown;
90
- call?: object | undefined;
91
- } | undefined;
92
- } | undefined;
93
- } | undefined;
94
- };
95
- serverInfo: {
96
- version: string;
97
- name: string;
98
- websiteUrl?: string | undefined;
99
- description?: string | undefined;
100
- icons?: {
101
- src: string;
102
- mimeType?: string | undefined;
103
- sizes?: string[] | undefined;
104
- theme?: "light" | "dark" | undefined;
105
- }[] | undefined;
106
- title?: string | undefined;
107
- };
108
- _meta?: {
109
- [x: string]: unknown;
110
- progressToken?: string | number | undefined;
111
- "io.modelcontextprotocol/related-task"?: {
112
- taskId: string;
113
- } | undefined;
114
- } | undefined;
115
- instructions?: string | undefined;
116
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
117
- method: string;
118
- params?: {
119
- [x: string]: unknown;
120
- _meta?: {
121
- [x: string]: unknown;
122
- progressToken?: string | number | undefined;
123
- "io.modelcontextprotocol/related-task"?: {
124
- taskId: string;
125
- } | undefined;
126
- } | undefined;
127
- } | undefined;
128
- }> | import("./mcp-handlers.types").McpHandler<{
129
- method: "notifications/initialized";
130
- params?: {
131
- _meta?: {
132
- [x: string]: unknown;
133
- progressToken?: string | number | undefined;
134
- "io.modelcontextprotocol/related-task"?: {
135
- taskId: string;
136
- } | undefined;
137
- } | undefined;
138
- } | undefined;
139
- }, {
140
- [x: string]: unknown;
141
- _meta?: {
142
- [x: string]: unknown;
143
- progressToken?: string | number | undefined;
144
- "io.modelcontextprotocol/related-task"?: {
145
- taskId: string;
146
- } | undefined;
147
- } | undefined;
148
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
149
- method: string;
150
- params?: {
151
- [x: string]: unknown;
152
- _meta?: {
153
- [x: string]: unknown;
154
- progressToken?: string | number | undefined;
155
- "io.modelcontextprotocol/related-task"?: {
156
- taskId: string;
157
- } | undefined;
158
- } | undefined;
159
- } | undefined;
160
- }> | import("./mcp-handlers.types").McpHandler<{
161
- method: "tools/list";
162
- params?: {
163
- _meta?: {
164
- [x: string]: unknown;
165
- progressToken?: string | number | undefined;
166
- "io.modelcontextprotocol/related-task"?: {
167
- taskId: string;
168
- } | undefined;
169
- } | undefined;
170
- cursor?: string | undefined;
171
- } | undefined;
172
- }, {
173
- [x: string]: unknown;
174
- tools: {
175
- inputSchema: {
176
- [x: string]: unknown;
177
- type: "object";
178
- properties?: {
179
- [x: string]: object;
180
- } | undefined;
181
- required?: string[] | undefined;
182
- };
183
- name: string;
184
- description?: string | undefined;
185
- outputSchema?: {
186
- [x: string]: unknown;
187
- type: "object";
188
- properties?: {
189
- [x: string]: object;
190
- } | undefined;
191
- required?: string[] | undefined;
192
- } | undefined;
193
- annotations?: {
194
- title?: string | undefined;
195
- readOnlyHint?: boolean | undefined;
196
- destructiveHint?: boolean | undefined;
197
- idempotentHint?: boolean | undefined;
198
- openWorldHint?: boolean | undefined;
199
- } | undefined;
200
- execution?: {
201
- taskSupport?: "optional" | "required" | "forbidden" | undefined;
202
- } | undefined;
203
- _meta?: {
204
- [x: string]: unknown;
205
- } | undefined;
206
- icons?: {
207
- src: string;
208
- mimeType?: string | undefined;
209
- sizes?: string[] | undefined;
210
- theme?: "light" | "dark" | undefined;
211
- }[] | undefined;
212
- title?: string | undefined;
213
- }[];
214
- _meta?: {
215
- [x: string]: unknown;
216
- progressToken?: string | number | undefined;
217
- "io.modelcontextprotocol/related-task"?: {
218
- taskId: string;
219
- } | undefined;
220
- } | undefined;
221
- nextCursor?: string | undefined;
222
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
223
- method: string;
224
- params?: {
225
- [x: string]: unknown;
226
- _meta?: {
227
- [x: string]: unknown;
228
- progressToken?: string | number | undefined;
229
- "io.modelcontextprotocol/related-task"?: {
230
- taskId: string;
231
- } | undefined;
232
- } | undefined;
233
- } | undefined;
234
- }> | import("./mcp-handlers.types").McpHandler<{
235
3
  method: "tools/call";
236
4
  params: {
237
5
  name: string;
@@ -344,7 +112,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
344
112
  [x: string]: unknown;
345
113
  } | undefined;
346
114
  isError?: boolean | undefined;
347
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
115
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
348
116
  method: string;
349
117
  params?: {
350
118
  [x: string]: unknown;
@@ -357,8 +125,19 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
357
125
  } | undefined;
358
126
  } | undefined;
359
127
  }> | import("./mcp-handlers.types").McpHandler<{
360
- method: "resources/list";
361
- params?: {
128
+ method: "completion/complete";
129
+ params: {
130
+ ref: {
131
+ type: "ref/prompt";
132
+ name: string;
133
+ } | {
134
+ type: "ref/resource";
135
+ uri: string;
136
+ };
137
+ argument: {
138
+ name: string;
139
+ value: string;
140
+ };
362
141
  _meta?: {
363
142
  [x: string]: unknown;
364
143
  progressToken?: string | number | undefined;
@@ -366,263 +145,20 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
366
145
  taskId: string;
367
146
  } | undefined;
368
147
  } | undefined;
369
- cursor?: string | undefined;
370
- } | undefined;
148
+ context?: {
149
+ arguments?: {
150
+ [x: string]: string;
151
+ } | undefined;
152
+ } | undefined;
153
+ };
371
154
  }, {
372
155
  [x: string]: unknown;
373
- resources: {
374
- uri: string;
375
- name: string;
376
- description?: string | undefined;
377
- mimeType?: string | undefined;
378
- annotations?: {
379
- audience?: ("user" | "assistant")[] | undefined;
380
- priority?: number | undefined;
381
- lastModified?: string | undefined;
382
- } | undefined;
383
- _meta?: {
384
- [x: string]: unknown;
385
- } | undefined;
386
- icons?: {
387
- src: string;
388
- mimeType?: string | undefined;
389
- sizes?: string[] | undefined;
390
- theme?: "light" | "dark" | undefined;
391
- }[] | undefined;
392
- title?: string | undefined;
393
- }[];
394
- _meta?: {
395
- [x: string]: unknown;
396
- progressToken?: string | number | undefined;
397
- "io.modelcontextprotocol/related-task"?: {
398
- taskId: string;
399
- } | undefined;
400
- } | undefined;
401
- nextCursor?: string | undefined;
402
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
403
- method: string;
404
- params?: {
405
- [x: string]: unknown;
406
- _meta?: {
407
- [x: string]: unknown;
408
- progressToken?: string | number | undefined;
409
- "io.modelcontextprotocol/related-task"?: {
410
- taskId: string;
411
- } | undefined;
412
- } | undefined;
413
- } | undefined;
414
- }> | import("./mcp-handlers.types").McpHandler<{
415
- method: "resources/templates/list";
416
- params?: {
417
- _meta?: {
418
- [x: string]: unknown;
419
- progressToken?: string | number | undefined;
420
- "io.modelcontextprotocol/related-task"?: {
421
- taskId: string;
422
- } | undefined;
423
- } | undefined;
424
- cursor?: string | undefined;
425
- } | undefined;
426
- }, {
427
- [x: string]: unknown;
428
- resourceTemplates: {
429
- uriTemplate: string;
430
- name: string;
431
- description?: string | undefined;
432
- mimeType?: string | undefined;
433
- annotations?: {
434
- audience?: ("user" | "assistant")[] | undefined;
435
- priority?: number | undefined;
436
- lastModified?: string | undefined;
437
- } | undefined;
438
- _meta?: {
439
- [x: string]: unknown;
440
- } | undefined;
441
- icons?: {
442
- src: string;
443
- mimeType?: string | undefined;
444
- sizes?: string[] | undefined;
445
- theme?: "light" | "dark" | undefined;
446
- }[] | undefined;
447
- title?: string | undefined;
448
- }[];
449
- _meta?: {
450
- [x: string]: unknown;
451
- progressToken?: string | number | undefined;
452
- "io.modelcontextprotocol/related-task"?: {
453
- taskId: string;
454
- } | undefined;
455
- } | undefined;
456
- nextCursor?: string | undefined;
457
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
458
- method: string;
459
- params?: {
156
+ completion: {
460
157
  [x: string]: unknown;
461
- _meta?: {
462
- [x: string]: unknown;
463
- progressToken?: string | number | undefined;
464
- "io.modelcontextprotocol/related-task"?: {
465
- taskId: string;
466
- } | undefined;
467
- } | undefined;
468
- } | undefined;
469
- }> | import("./mcp-handlers.types").McpHandler<{
470
- method: "resources/read";
471
- params: {
472
- uri: string;
473
- _meta?: {
474
- [x: string]: unknown;
475
- progressToken?: string | number | undefined;
476
- "io.modelcontextprotocol/related-task"?: {
477
- taskId: string;
478
- } | undefined;
479
- } | undefined;
158
+ values: string[];
159
+ total?: number | undefined;
160
+ hasMore?: boolean | undefined;
480
161
  };
481
- }, {
482
- [x: string]: unknown;
483
- contents: ({
484
- uri: string;
485
- text: string;
486
- mimeType?: string | undefined;
487
- _meta?: {
488
- [x: string]: unknown;
489
- } | undefined;
490
- } | {
491
- uri: string;
492
- blob: string;
493
- mimeType?: string | undefined;
494
- _meta?: {
495
- [x: string]: unknown;
496
- } | undefined;
497
- })[];
498
- _meta?: {
499
- [x: string]: unknown;
500
- progressToken?: string | number | undefined;
501
- "io.modelcontextprotocol/related-task"?: {
502
- taskId: string;
503
- } | undefined;
504
- } | undefined;
505
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
506
- method: string;
507
- params?: {
508
- [x: string]: unknown;
509
- _meta?: {
510
- [x: string]: unknown;
511
- progressToken?: string | number | undefined;
512
- "io.modelcontextprotocol/related-task"?: {
513
- taskId: string;
514
- } | undefined;
515
- } | undefined;
516
- } | undefined;
517
- }> | {
518
- requestSchema: import("zod").ZodObject<{
519
- method: import("zod").ZodLiteral<"resources/subscribe">;
520
- params: import("zod").ZodObject<{
521
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
522
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
523
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
524
- taskId: import("zod").ZodString;
525
- }, import("zod/v4/core").$strip>>;
526
- }, import("zod/v4/core").$loose>>;
527
- uri: import("zod").ZodString;
528
- }, import("zod/v4/core").$strip>;
529
- }, import("zod/v4/core").$strip>;
530
- handler: (request: import("@frontmcp/protocol").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
531
- method: "resources/subscribe";
532
- params: {
533
- uri: string;
534
- _meta?: {
535
- [x: string]: unknown;
536
- progressToken?: string | number | undefined;
537
- "io.modelcontextprotocol/related-task"?: {
538
- taskId: string;
539
- } | undefined;
540
- } | undefined;
541
- };
542
- }, {
543
- method: string;
544
- params?: {
545
- [x: string]: unknown;
546
- _meta?: {
547
- [x: string]: unknown;
548
- progressToken?: string | number | undefined;
549
- "io.modelcontextprotocol/related-task"?: {
550
- taskId: string;
551
- } | undefined;
552
- } | undefined;
553
- } | undefined;
554
- }>) => Promise<import("@frontmcp/protocol").EmptyResult>;
555
- } | {
556
- requestSchema: import("zod").ZodObject<{
557
- method: import("zod").ZodLiteral<"resources/unsubscribe">;
558
- params: import("zod").ZodObject<{
559
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
560
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
561
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
562
- taskId: import("zod").ZodString;
563
- }, import("zod/v4/core").$strip>>;
564
- }, import("zod/v4/core").$loose>>;
565
- uri: import("zod").ZodString;
566
- }, import("zod/v4/core").$strip>;
567
- }, import("zod/v4/core").$strip>;
568
- handler: (request: import("@frontmcp/protocol").UnsubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
569
- method: "resources/unsubscribe";
570
- params: {
571
- uri: string;
572
- _meta?: {
573
- [x: string]: unknown;
574
- progressToken?: string | number | undefined;
575
- "io.modelcontextprotocol/related-task"?: {
576
- taskId: string;
577
- } | undefined;
578
- } | undefined;
579
- };
580
- }, {
581
- method: string;
582
- params?: {
583
- [x: string]: unknown;
584
- _meta?: {
585
- [x: string]: unknown;
586
- progressToken?: string | number | undefined;
587
- "io.modelcontextprotocol/related-task"?: {
588
- taskId: string;
589
- } | undefined;
590
- } | undefined;
591
- } | undefined;
592
- }>) => Promise<import("@frontmcp/protocol").EmptyResult>;
593
- } | import("./mcp-handlers.types").McpHandler<{
594
- method: "prompts/list";
595
- params?: {
596
- _meta?: {
597
- [x: string]: unknown;
598
- progressToken?: string | number | undefined;
599
- "io.modelcontextprotocol/related-task"?: {
600
- taskId: string;
601
- } | undefined;
602
- } | undefined;
603
- cursor?: string | undefined;
604
- } | undefined;
605
- }, {
606
- [x: string]: unknown;
607
- prompts: {
608
- name: string;
609
- description?: string | undefined;
610
- arguments?: {
611
- name: string;
612
- description?: string | undefined;
613
- required?: boolean | undefined;
614
- }[] | undefined;
615
- _meta?: {
616
- [x: string]: unknown;
617
- } | undefined;
618
- icons?: {
619
- src: string;
620
- mimeType?: string | undefined;
621
- sizes?: string[] | undefined;
622
- theme?: "light" | "dark" | undefined;
623
- }[] | undefined;
624
- title?: string | undefined;
625
- }[];
626
162
  _meta?: {
627
163
  [x: string]: unknown;
628
164
  progressToken?: string | number | undefined;
@@ -630,8 +166,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
630
166
  taskId: string;
631
167
  } | undefined;
632
168
  } | undefined;
633
- nextCursor?: string | undefined;
634
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
169
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
635
170
  method: string;
636
171
  params?: {
637
172
  [x: string]: unknown;
@@ -743,8 +278,499 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
743
278
  _meta?: {
744
279
  [x: string]: unknown;
745
280
  } | undefined;
746
- };
747
- }[];
281
+ };
282
+ }[];
283
+ _meta?: {
284
+ [x: string]: unknown;
285
+ progressToken?: string | number | undefined;
286
+ "io.modelcontextprotocol/related-task"?: {
287
+ taskId: string;
288
+ } | undefined;
289
+ } | undefined;
290
+ description?: string | undefined;
291
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
292
+ method: string;
293
+ params?: {
294
+ [x: string]: unknown;
295
+ _meta?: {
296
+ [x: string]: unknown;
297
+ progressToken?: string | number | undefined;
298
+ "io.modelcontextprotocol/related-task"?: {
299
+ taskId: string;
300
+ } | undefined;
301
+ } | undefined;
302
+ } | undefined;
303
+ }> | import("./mcp-handlers.types").McpHandler<{
304
+ method: "initialize";
305
+ params: {
306
+ protocolVersion: string;
307
+ capabilities: {
308
+ experimental?: {
309
+ [x: string]: object;
310
+ } | undefined;
311
+ sampling?: {
312
+ context?: object | undefined;
313
+ tools?: object | undefined;
314
+ } | undefined;
315
+ elicitation?: {
316
+ [x: string]: unknown;
317
+ form?: {
318
+ [x: string]: unknown;
319
+ applyDefaults?: boolean | undefined;
320
+ } | undefined;
321
+ url?: object | undefined;
322
+ } | undefined;
323
+ roots?: {
324
+ listChanged?: boolean | undefined;
325
+ } | undefined;
326
+ tasks?: {
327
+ [x: string]: unknown;
328
+ list?: object | undefined;
329
+ cancel?: object | undefined;
330
+ requests?: {
331
+ [x: string]: unknown;
332
+ sampling?: {
333
+ [x: string]: unknown;
334
+ createMessage?: object | undefined;
335
+ } | undefined;
336
+ elicitation?: {
337
+ [x: string]: unknown;
338
+ create?: object | undefined;
339
+ } | undefined;
340
+ } | undefined;
341
+ } | undefined;
342
+ };
343
+ clientInfo: {
344
+ version: string;
345
+ name: string;
346
+ websiteUrl?: string | undefined;
347
+ description?: string | undefined;
348
+ icons?: {
349
+ src: string;
350
+ mimeType?: string | undefined;
351
+ sizes?: string[] | undefined;
352
+ theme?: "light" | "dark" | undefined;
353
+ }[] | undefined;
354
+ title?: string | undefined;
355
+ };
356
+ _meta?: {
357
+ [x: string]: unknown;
358
+ progressToken?: string | number | undefined;
359
+ "io.modelcontextprotocol/related-task"?: {
360
+ taskId: string;
361
+ } | undefined;
362
+ } | undefined;
363
+ };
364
+ }, {
365
+ [x: string]: unknown;
366
+ protocolVersion: string;
367
+ capabilities: {
368
+ experimental?: {
369
+ [x: string]: object;
370
+ } | undefined;
371
+ logging?: object | undefined;
372
+ completions?: object | undefined;
373
+ prompts?: {
374
+ listChanged?: boolean | undefined;
375
+ } | undefined;
376
+ resources?: {
377
+ subscribe?: boolean | undefined;
378
+ listChanged?: boolean | undefined;
379
+ } | undefined;
380
+ tools?: {
381
+ listChanged?: boolean | undefined;
382
+ } | undefined;
383
+ tasks?: {
384
+ [x: string]: unknown;
385
+ list?: object | undefined;
386
+ cancel?: object | undefined;
387
+ requests?: {
388
+ [x: string]: unknown;
389
+ tools?: {
390
+ [x: string]: unknown;
391
+ call?: object | undefined;
392
+ } | undefined;
393
+ } | undefined;
394
+ } | undefined;
395
+ };
396
+ serverInfo: {
397
+ version: string;
398
+ name: string;
399
+ websiteUrl?: string | undefined;
400
+ description?: string | undefined;
401
+ icons?: {
402
+ src: string;
403
+ mimeType?: string | undefined;
404
+ sizes?: string[] | undefined;
405
+ theme?: "light" | "dark" | undefined;
406
+ }[] | undefined;
407
+ title?: string | undefined;
408
+ };
409
+ _meta?: {
410
+ [x: string]: unknown;
411
+ progressToken?: string | number | undefined;
412
+ "io.modelcontextprotocol/related-task"?: {
413
+ taskId: string;
414
+ } | undefined;
415
+ } | undefined;
416
+ instructions?: string | undefined;
417
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
418
+ method: string;
419
+ params?: {
420
+ [x: string]: unknown;
421
+ _meta?: {
422
+ [x: string]: unknown;
423
+ progressToken?: string | number | undefined;
424
+ "io.modelcontextprotocol/related-task"?: {
425
+ taskId: string;
426
+ } | undefined;
427
+ } | undefined;
428
+ } | undefined;
429
+ }> | import("./mcp-handlers.types").McpHandler<{
430
+ method: "notifications/initialized";
431
+ params?: {
432
+ _meta?: {
433
+ [x: string]: unknown;
434
+ progressToken?: string | number | undefined;
435
+ "io.modelcontextprotocol/related-task"?: {
436
+ taskId: string;
437
+ } | undefined;
438
+ } | undefined;
439
+ } | undefined;
440
+ }, {
441
+ [x: string]: unknown;
442
+ _meta?: {
443
+ [x: string]: unknown;
444
+ progressToken?: string | number | undefined;
445
+ "io.modelcontextprotocol/related-task"?: {
446
+ taskId: string;
447
+ } | undefined;
448
+ } | undefined;
449
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
450
+ method: string;
451
+ params?: {
452
+ [x: string]: unknown;
453
+ _meta?: {
454
+ [x: string]: unknown;
455
+ progressToken?: string | number | undefined;
456
+ "io.modelcontextprotocol/related-task"?: {
457
+ taskId: string;
458
+ } | undefined;
459
+ } | undefined;
460
+ } | undefined;
461
+ }> | import("./mcp-handlers.types").McpHandler<{
462
+ method: "prompts/list";
463
+ params?: {
464
+ _meta?: {
465
+ [x: string]: unknown;
466
+ progressToken?: string | number | undefined;
467
+ "io.modelcontextprotocol/related-task"?: {
468
+ taskId: string;
469
+ } | undefined;
470
+ } | undefined;
471
+ cursor?: string | undefined;
472
+ } | undefined;
473
+ }, {
474
+ [x: string]: unknown;
475
+ prompts: {
476
+ name: string;
477
+ description?: string | undefined;
478
+ arguments?: {
479
+ name: string;
480
+ description?: string | undefined;
481
+ required?: boolean | undefined;
482
+ }[] | undefined;
483
+ _meta?: {
484
+ [x: string]: unknown;
485
+ } | undefined;
486
+ icons?: {
487
+ src: string;
488
+ mimeType?: string | undefined;
489
+ sizes?: string[] | undefined;
490
+ theme?: "light" | "dark" | undefined;
491
+ }[] | undefined;
492
+ title?: string | undefined;
493
+ }[];
494
+ _meta?: {
495
+ [x: string]: unknown;
496
+ progressToken?: string | number | undefined;
497
+ "io.modelcontextprotocol/related-task"?: {
498
+ taskId: string;
499
+ } | undefined;
500
+ } | undefined;
501
+ nextCursor?: string | undefined;
502
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
503
+ method: string;
504
+ params?: {
505
+ [x: string]: unknown;
506
+ _meta?: {
507
+ [x: string]: unknown;
508
+ progressToken?: string | number | undefined;
509
+ "io.modelcontextprotocol/related-task"?: {
510
+ taskId: string;
511
+ } | undefined;
512
+ } | undefined;
513
+ } | undefined;
514
+ }> | import("./mcp-handlers.types").McpHandler<{
515
+ method: "resources/templates/list";
516
+ params?: {
517
+ _meta?: {
518
+ [x: string]: unknown;
519
+ progressToken?: string | number | undefined;
520
+ "io.modelcontextprotocol/related-task"?: {
521
+ taskId: string;
522
+ } | undefined;
523
+ } | undefined;
524
+ cursor?: string | undefined;
525
+ } | undefined;
526
+ }, {
527
+ [x: string]: unknown;
528
+ resourceTemplates: {
529
+ uriTemplate: string;
530
+ name: string;
531
+ description?: string | undefined;
532
+ mimeType?: string | undefined;
533
+ annotations?: {
534
+ audience?: ("user" | "assistant")[] | undefined;
535
+ priority?: number | undefined;
536
+ lastModified?: string | undefined;
537
+ } | undefined;
538
+ _meta?: {
539
+ [x: string]: unknown;
540
+ } | undefined;
541
+ icons?: {
542
+ src: string;
543
+ mimeType?: string | undefined;
544
+ sizes?: string[] | undefined;
545
+ theme?: "light" | "dark" | undefined;
546
+ }[] | undefined;
547
+ title?: string | undefined;
548
+ }[];
549
+ _meta?: {
550
+ [x: string]: unknown;
551
+ progressToken?: string | number | undefined;
552
+ "io.modelcontextprotocol/related-task"?: {
553
+ taskId: string;
554
+ } | undefined;
555
+ } | undefined;
556
+ nextCursor?: string | undefined;
557
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
558
+ method: string;
559
+ params?: {
560
+ [x: string]: unknown;
561
+ _meta?: {
562
+ [x: string]: unknown;
563
+ progressToken?: string | number | undefined;
564
+ "io.modelcontextprotocol/related-task"?: {
565
+ taskId: string;
566
+ } | undefined;
567
+ } | undefined;
568
+ } | undefined;
569
+ }> | import("./mcp-handlers.types").McpHandler<{
570
+ method: "resources/list";
571
+ params?: {
572
+ _meta?: {
573
+ [x: string]: unknown;
574
+ progressToken?: string | number | undefined;
575
+ "io.modelcontextprotocol/related-task"?: {
576
+ taskId: string;
577
+ } | undefined;
578
+ } | undefined;
579
+ cursor?: string | undefined;
580
+ } | undefined;
581
+ }, {
582
+ [x: string]: unknown;
583
+ resources: {
584
+ uri: string;
585
+ name: string;
586
+ description?: string | undefined;
587
+ mimeType?: string | undefined;
588
+ annotations?: {
589
+ audience?: ("user" | "assistant")[] | undefined;
590
+ priority?: number | undefined;
591
+ lastModified?: string | undefined;
592
+ } | undefined;
593
+ _meta?: {
594
+ [x: string]: unknown;
595
+ } | undefined;
596
+ icons?: {
597
+ src: string;
598
+ mimeType?: string | undefined;
599
+ sizes?: string[] | undefined;
600
+ theme?: "light" | "dark" | undefined;
601
+ }[] | undefined;
602
+ title?: string | undefined;
603
+ }[];
604
+ _meta?: {
605
+ [x: string]: unknown;
606
+ progressToken?: string | number | undefined;
607
+ "io.modelcontextprotocol/related-task"?: {
608
+ taskId: string;
609
+ } | undefined;
610
+ } | undefined;
611
+ nextCursor?: string | undefined;
612
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
613
+ method: string;
614
+ params?: {
615
+ [x: string]: unknown;
616
+ _meta?: {
617
+ [x: string]: unknown;
618
+ progressToken?: string | number | undefined;
619
+ "io.modelcontextprotocol/related-task"?: {
620
+ taskId: string;
621
+ } | undefined;
622
+ } | undefined;
623
+ } | undefined;
624
+ }> | import("./mcp-handlers.types").McpHandler<{
625
+ method: "tools/list";
626
+ params?: {
627
+ _meta?: {
628
+ [x: string]: unknown;
629
+ progressToken?: string | number | undefined;
630
+ "io.modelcontextprotocol/related-task"?: {
631
+ taskId: string;
632
+ } | undefined;
633
+ } | undefined;
634
+ cursor?: string | undefined;
635
+ } | undefined;
636
+ }, {
637
+ [x: string]: unknown;
638
+ tools: {
639
+ inputSchema: {
640
+ [x: string]: unknown;
641
+ type: "object";
642
+ properties?: {
643
+ [x: string]: object;
644
+ } | undefined;
645
+ required?: string[] | undefined;
646
+ };
647
+ name: string;
648
+ description?: string | undefined;
649
+ outputSchema?: {
650
+ [x: string]: unknown;
651
+ type: "object";
652
+ properties?: {
653
+ [x: string]: object;
654
+ } | undefined;
655
+ required?: string[] | undefined;
656
+ } | undefined;
657
+ annotations?: {
658
+ title?: string | undefined;
659
+ readOnlyHint?: boolean | undefined;
660
+ destructiveHint?: boolean | undefined;
661
+ idempotentHint?: boolean | undefined;
662
+ openWorldHint?: boolean | undefined;
663
+ } | undefined;
664
+ execution?: {
665
+ taskSupport?: "optional" | "required" | "forbidden" | undefined;
666
+ } | undefined;
667
+ _meta?: {
668
+ [x: string]: unknown;
669
+ } | undefined;
670
+ icons?: {
671
+ src: string;
672
+ mimeType?: string | undefined;
673
+ sizes?: string[] | undefined;
674
+ theme?: "light" | "dark" | undefined;
675
+ }[] | undefined;
676
+ title?: string | undefined;
677
+ }[];
678
+ _meta?: {
679
+ [x: string]: unknown;
680
+ progressToken?: string | number | undefined;
681
+ "io.modelcontextprotocol/related-task"?: {
682
+ taskId: string;
683
+ } | undefined;
684
+ } | undefined;
685
+ nextCursor?: string | undefined;
686
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
687
+ method: string;
688
+ params?: {
689
+ [x: string]: unknown;
690
+ _meta?: {
691
+ [x: string]: unknown;
692
+ progressToken?: string | number | undefined;
693
+ "io.modelcontextprotocol/related-task"?: {
694
+ taskId: string;
695
+ } | undefined;
696
+ } | undefined;
697
+ } | undefined;
698
+ }> | {
699
+ requestSchema: import("zod").ZodObject<{
700
+ method: import("zod").ZodLiteral<"logging/setLevel">;
701
+ params: import("zod").ZodObject<{
702
+ _meta: import("zod").ZodOptional<import("zod").ZodObject<{
703
+ progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
704
+ "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
705
+ taskId: import("zod").ZodString;
706
+ }, import("zod/v4/core").$strip>>;
707
+ }, import("zod/v4/core").$loose>>;
708
+ level: import("zod").ZodEnum<{
709
+ error: "error";
710
+ debug: "debug";
711
+ info: "info";
712
+ notice: "notice";
713
+ warning: "warning";
714
+ critical: "critical";
715
+ alert: "alert";
716
+ emergency: "emergency";
717
+ }>;
718
+ }, import("zod/v4/core").$strip>;
719
+ }, import("zod/v4/core").$strip>;
720
+ handler: (request: import("@frontmcp/protocol").SetLevelRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
721
+ method: "logging/setLevel";
722
+ params: {
723
+ level: "error" | "debug" | "info" | "notice" | "warning" | "critical" | "alert" | "emergency";
724
+ _meta?: {
725
+ [x: string]: unknown;
726
+ progressToken?: string | number | undefined;
727
+ "io.modelcontextprotocol/related-task"?: {
728
+ taskId: string;
729
+ } | undefined;
730
+ } | undefined;
731
+ };
732
+ }, {
733
+ method: string;
734
+ params?: {
735
+ [x: string]: unknown;
736
+ _meta?: {
737
+ [x: string]: unknown;
738
+ progressToken?: string | number | undefined;
739
+ "io.modelcontextprotocol/related-task"?: {
740
+ taskId: string;
741
+ } | undefined;
742
+ } | undefined;
743
+ } | undefined;
744
+ }>) => Promise<import("@frontmcp/protocol").EmptyResult>;
745
+ } | import("./mcp-handlers.types").McpHandler<{
746
+ method: "resources/read";
747
+ params: {
748
+ uri: string;
749
+ _meta?: {
750
+ [x: string]: unknown;
751
+ progressToken?: string | number | undefined;
752
+ "io.modelcontextprotocol/related-task"?: {
753
+ taskId: string;
754
+ } | undefined;
755
+ } | undefined;
756
+ };
757
+ }, {
758
+ [x: string]: unknown;
759
+ contents: ({
760
+ uri: string;
761
+ text: string;
762
+ mimeType?: string | undefined;
763
+ _meta?: {
764
+ [x: string]: unknown;
765
+ } | undefined;
766
+ } | {
767
+ uri: string;
768
+ blob: string;
769
+ mimeType?: string | undefined;
770
+ _meta?: {
771
+ [x: string]: unknown;
772
+ } | undefined;
773
+ })[];
748
774
  _meta?: {
749
775
  [x: string]: unknown;
750
776
  progressToken?: string | number | undefined;
@@ -752,8 +778,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
752
778
  taskId: string;
753
779
  } | undefined;
754
780
  } | undefined;
755
- description?: string | undefined;
756
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
781
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
757
782
  method: string;
758
783
  params?: {
759
784
  [x: string]: unknown;
@@ -766,19 +791,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
766
791
  } | undefined;
767
792
  } | undefined;
768
793
  }> | import("./mcp-handlers.types").McpHandler<{
769
- method: "completion/complete";
770
- params: {
771
- ref: {
772
- type: "ref/prompt";
773
- name: string;
774
- } | {
775
- type: "ref/resource";
776
- uri: string;
777
- };
778
- argument: {
779
- name: string;
780
- value: string;
781
- };
794
+ method: "notifications/roots/list_changed";
795
+ params?: {
782
796
  _meta?: {
783
797
  [x: string]: unknown;
784
798
  progressToken?: string | number | undefined;
@@ -786,20 +800,9 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
786
800
  taskId: string;
787
801
  } | undefined;
788
802
  } | undefined;
789
- context?: {
790
- arguments?: {
791
- [x: string]: string;
792
- } | undefined;
793
- } | undefined;
794
- };
803
+ } | undefined;
795
804
  }, {
796
805
  [x: string]: unknown;
797
- completion: {
798
- [x: string]: unknown;
799
- values: string[];
800
- total?: number | undefined;
801
- hasMore?: boolean | undefined;
802
- };
803
806
  _meta?: {
804
807
  [x: string]: unknown;
805
808
  progressToken?: string | number | undefined;
@@ -807,7 +810,70 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
807
810
  taskId: string;
808
811
  } | undefined;
809
812
  } | undefined;
810
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
813
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
814
+ method: string;
815
+ params?: {
816
+ [x: string]: unknown;
817
+ _meta?: {
818
+ [x: string]: unknown;
819
+ progressToken?: string | number | undefined;
820
+ "io.modelcontextprotocol/related-task"?: {
821
+ taskId: string;
822
+ } | undefined;
823
+ } | undefined;
824
+ } | undefined;
825
+ }> | import("./mcp-handlers.types").McpHandler<{
826
+ method: "skills/list";
827
+ params?: {
828
+ offset?: number | undefined;
829
+ limit?: number | undefined;
830
+ tags?: string[] | undefined;
831
+ sortBy?: "name" | "priority" | "createdAt" | undefined;
832
+ sortOrder?: "asc" | "desc" | undefined;
833
+ includeHidden?: boolean | undefined;
834
+ } | undefined;
835
+ }, import("./skills-mcp.types").SkillsListResult, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
836
+ method: string;
837
+ params?: {
838
+ [x: string]: unknown;
839
+ _meta?: {
840
+ [x: string]: unknown;
841
+ progressToken?: string | number | undefined;
842
+ "io.modelcontextprotocol/related-task"?: {
843
+ taskId: string;
844
+ } | undefined;
845
+ } | undefined;
846
+ } | undefined;
847
+ }> | import("./mcp-handlers.types").McpHandler<{
848
+ method: "skills/load";
849
+ params: {
850
+ skillIds: string[];
851
+ format?: "full" | "instructions-only" | undefined;
852
+ activateSession?: boolean | undefined;
853
+ policyMode?: "strict" | "approval" | "permissive" | undefined;
854
+ };
855
+ }, import("./skills-mcp.types").SkillsLoadResult, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
856
+ method: string;
857
+ params?: {
858
+ [x: string]: unknown;
859
+ _meta?: {
860
+ [x: string]: unknown;
861
+ progressToken?: string | number | undefined;
862
+ "io.modelcontextprotocol/related-task"?: {
863
+ taskId: string;
864
+ } | undefined;
865
+ } | undefined;
866
+ } | undefined;
867
+ }> | import("./mcp-handlers.types").McpHandler<{
868
+ method: "skills/search";
869
+ params: {
870
+ query: string;
871
+ tags?: string[] | undefined;
872
+ tools?: string[] | undefined;
873
+ limit?: number | undefined;
874
+ requireAllTools?: boolean | undefined;
875
+ };
876
+ }, import("./skills-mcp.types").SkillsSearchResult, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
811
877
  method: string;
812
878
  params?: {
813
879
  [x: string]: unknown;
@@ -821,7 +887,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
821
887
  } | undefined;
822
888
  }> | {
823
889
  requestSchema: import("zod").ZodObject<{
824
- method: import("zod").ZodLiteral<"logging/setLevel">;
890
+ method: import("zod").ZodLiteral<"resources/subscribe">;
825
891
  params: import("zod").ZodObject<{
826
892
  _meta: import("zod").ZodOptional<import("zod").ZodObject<{
827
893
  progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
@@ -829,22 +895,13 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
829
895
  taskId: import("zod").ZodString;
830
896
  }, import("zod/v4/core").$strip>>;
831
897
  }, import("zod/v4/core").$loose>>;
832
- level: import("zod").ZodEnum<{
833
- error: "error";
834
- debug: "debug";
835
- info: "info";
836
- notice: "notice";
837
- warning: "warning";
838
- critical: "critical";
839
- alert: "alert";
840
- emergency: "emergency";
841
- }>;
898
+ uri: import("zod").ZodString;
842
899
  }, import("zod/v4/core").$strip>;
843
900
  }, import("zod/v4/core").$strip>;
844
- handler: (request: import("@frontmcp/protocol").SetLevelRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
845
- method: "logging/setLevel";
901
+ handler: (request: import("@frontmcp/protocol").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
902
+ method: "resources/subscribe";
846
903
  params: {
847
- level: "error" | "debug" | "info" | "notice" | "warning" | "critical" | "alert" | "emergency";
904
+ uri: string;
848
905
  _meta?: {
849
906
  [x: string]: unknown;
850
907
  progressToken?: string | number | undefined;
@@ -867,8 +924,9 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
867
924
  } | undefined;
868
925
  }>) => Promise<import("@frontmcp/protocol").EmptyResult>;
869
926
  } | import("./mcp-handlers.types").McpHandler<{
870
- method: "notifications/roots/list_changed";
871
- params?: {
927
+ method: "tasks/cancel";
928
+ params: {
929
+ taskId: string;
872
930
  _meta?: {
873
931
  [x: string]: unknown;
874
932
  progressToken?: string | number | undefined;
@@ -876,9 +934,13 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
876
934
  taskId: string;
877
935
  } | undefined;
878
936
  } | undefined;
879
- } | undefined;
937
+ };
880
938
  }, {
881
- [x: string]: unknown;
939
+ taskId: string;
940
+ status: "working" | "input_required" | "completed" | "failed" | "cancelled";
941
+ ttl: number | null;
942
+ createdAt: string;
943
+ lastUpdatedAt: string;
882
944
  _meta?: {
883
945
  [x: string]: unknown;
884
946
  progressToken?: string | number | undefined;
@@ -886,7 +948,9 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
886
948
  taskId: string;
887
949
  } | undefined;
888
950
  } | undefined;
889
- }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
951
+ pollInterval?: number | undefined;
952
+ statusMessage?: string | undefined;
953
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
890
954
  method: string;
891
955
  params?: {
892
956
  [x: string]: unknown;
@@ -899,15 +963,33 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
899
963
  } | undefined;
900
964
  } | undefined;
901
965
  }> | import("./mcp-handlers.types").McpHandler<{
902
- method: "skills/search";
966
+ method: "tasks/get";
903
967
  params: {
904
- query: string;
905
- tags?: string[] | undefined;
906
- tools?: string[] | undefined;
907
- limit?: number | undefined;
908
- requireAllTools?: boolean | undefined;
968
+ taskId: string;
969
+ _meta?: {
970
+ [x: string]: unknown;
971
+ progressToken?: string | number | undefined;
972
+ "io.modelcontextprotocol/related-task"?: {
973
+ taskId: string;
974
+ } | undefined;
975
+ } | undefined;
909
976
  };
910
- }, import("./skills-mcp.types").SkillsSearchResult, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
977
+ }, {
978
+ taskId: string;
979
+ status: "working" | "input_required" | "completed" | "failed" | "cancelled";
980
+ ttl: number | null;
981
+ createdAt: string;
982
+ lastUpdatedAt: string;
983
+ _meta?: {
984
+ [x: string]: unknown;
985
+ progressToken?: string | number | undefined;
986
+ "io.modelcontextprotocol/related-task"?: {
987
+ taskId: string;
988
+ } | undefined;
989
+ } | undefined;
990
+ pollInterval?: number | undefined;
991
+ statusMessage?: string | undefined;
992
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
911
993
  method: string;
912
994
  params?: {
913
995
  [x: string]: unknown;
@@ -920,14 +1002,37 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
920
1002
  } | undefined;
921
1003
  } | undefined;
922
1004
  }> | import("./mcp-handlers.types").McpHandler<{
923
- method: "skills/load";
924
- params: {
925
- skillIds: string[];
926
- format?: "full" | "instructions-only" | undefined;
927
- activateSession?: boolean | undefined;
928
- policyMode?: "strict" | "approval" | "permissive" | undefined;
929
- };
930
- }, import("./skills-mcp.types").SkillsLoadResult, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
1005
+ method: "tasks/list";
1006
+ params?: {
1007
+ _meta?: {
1008
+ [x: string]: unknown;
1009
+ progressToken?: string | number | undefined;
1010
+ "io.modelcontextprotocol/related-task"?: {
1011
+ taskId: string;
1012
+ } | undefined;
1013
+ } | undefined;
1014
+ cursor?: string | undefined;
1015
+ } | undefined;
1016
+ }, {
1017
+ [x: string]: unknown;
1018
+ tasks: {
1019
+ taskId: string;
1020
+ status: "working" | "input_required" | "completed" | "failed" | "cancelled";
1021
+ ttl: number | null;
1022
+ createdAt: string;
1023
+ lastUpdatedAt: string;
1024
+ pollInterval?: number | undefined;
1025
+ statusMessage?: string | undefined;
1026
+ }[];
1027
+ _meta?: {
1028
+ [x: string]: unknown;
1029
+ progressToken?: string | number | undefined;
1030
+ "io.modelcontextprotocol/related-task"?: {
1031
+ taskId: string;
1032
+ } | undefined;
1033
+ } | undefined;
1034
+ nextCursor?: string | undefined;
1035
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
931
1036
  method: string;
932
1037
  params?: {
933
1038
  [x: string]: unknown;
@@ -940,16 +1045,27 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
940
1045
  } | undefined;
941
1046
  } | undefined;
942
1047
  }> | import("./mcp-handlers.types").McpHandler<{
943
- method: "skills/list";
944
- params?: {
945
- offset?: number | undefined;
946
- limit?: number | undefined;
947
- tags?: string[] | undefined;
948
- sortBy?: "name" | "priority" | "createdAt" | undefined;
949
- sortOrder?: "asc" | "desc" | undefined;
950
- includeHidden?: boolean | undefined;
1048
+ method: "tasks/result";
1049
+ params: {
1050
+ taskId: string;
1051
+ _meta?: {
1052
+ [x: string]: unknown;
1053
+ progressToken?: string | number | undefined;
1054
+ "io.modelcontextprotocol/related-task"?: {
1055
+ taskId: string;
1056
+ } | undefined;
1057
+ } | undefined;
1058
+ };
1059
+ }, {
1060
+ [x: string]: unknown;
1061
+ _meta?: {
1062
+ [x: string]: unknown;
1063
+ progressToken?: string | number | undefined;
1064
+ "io.modelcontextprotocol/related-task"?: {
1065
+ taskId: string;
1066
+ } | undefined;
951
1067
  } | undefined;
952
- }, import("./skills-mcp.types").SkillsListResult, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
1068
+ }, import("@frontmcp/lazy-zod").z.ZodObject<any>, import("@frontmcp/lazy-zod").z.ZodObject<any>, {
953
1069
  method: string;
954
1070
  params?: {
955
1071
  [x: string]: unknown;
@@ -961,5 +1077,43 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
961
1077
  } | undefined;
962
1078
  } | undefined;
963
1079
  } | undefined;
964
- }>)[];
1080
+ }> | {
1081
+ requestSchema: import("zod").ZodObject<{
1082
+ method: import("zod").ZodLiteral<"resources/unsubscribe">;
1083
+ params: import("zod").ZodObject<{
1084
+ _meta: import("zod").ZodOptional<import("zod").ZodObject<{
1085
+ progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1086
+ "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
1087
+ taskId: import("zod").ZodString;
1088
+ }, import("zod/v4/core").$strip>>;
1089
+ }, import("zod/v4/core").$loose>>;
1090
+ uri: import("zod").ZodString;
1091
+ }, import("zod/v4/core").$strip>;
1092
+ }, import("zod/v4/core").$strip>;
1093
+ handler: (request: import("@frontmcp/protocol").UnsubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
1094
+ method: "resources/unsubscribe";
1095
+ params: {
1096
+ uri: string;
1097
+ _meta?: {
1098
+ [x: string]: unknown;
1099
+ progressToken?: string | number | undefined;
1100
+ "io.modelcontextprotocol/related-task"?: {
1101
+ taskId: string;
1102
+ } | undefined;
1103
+ } | undefined;
1104
+ };
1105
+ }, {
1106
+ method: string;
1107
+ params?: {
1108
+ [x: string]: unknown;
1109
+ _meta?: {
1110
+ [x: string]: unknown;
1111
+ progressToken?: string | number | undefined;
1112
+ "io.modelcontextprotocol/related-task"?: {
1113
+ taskId: string;
1114
+ } | undefined;
1115
+ } | undefined;
1116
+ } | undefined;
1117
+ }>) => Promise<import("@frontmcp/protocol").EmptyResult>;
1118
+ })[];
965
1119
  //# sourceMappingURL=index.d.ts.map