@frontmcp/sdk 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (630) hide show
  1. package/agent/adapters/adapter.factory.d.ts +27 -18
  2. package/agent/adapters/adapter.factory.d.ts.map +1 -1
  3. package/agent/agent.instance.d.ts +5 -0
  4. package/agent/agent.instance.d.ts.map +1 -1
  5. package/agent/agent.scope.d.ts +54 -72
  6. package/agent/agent.scope.d.ts.map +1 -1
  7. package/agent/flows/call-agent.flow.d.ts +1 -0
  8. package/agent/flows/call-agent.flow.d.ts.map +1 -1
  9. package/app/instances/app.local.instance.d.ts +3 -0
  10. package/app/instances/app.local.instance.d.ts.map +1 -1
  11. package/app/instances/app.remote.instance.d.ts +3 -0
  12. package/app/instances/app.remote.instance.d.ts.map +1 -1
  13. package/auth/auth.registry.d.ts.map +1 -1
  14. package/auth/authorization/authorization.types.d.ts +7 -180
  15. package/auth/authorization/authorization.types.d.ts.map +1 -1
  16. package/auth/authorization/index.d.ts +2 -0
  17. package/auth/authorization/index.d.ts.map +1 -1
  18. package/auth/authorization/orchestrated.accessor.d.ts +161 -0
  19. package/auth/authorization/orchestrated.accessor.d.ts.map +1 -0
  20. package/auth/authorization/orchestrated.authorization.d.ts +19 -4
  21. package/auth/authorization/orchestrated.authorization.d.ts.map +1 -1
  22. package/auth/authorization/orchestrated.context-extension.d.ts +108 -0
  23. package/auth/authorization/orchestrated.context-extension.d.ts.map +1 -0
  24. package/auth/cimd/index.d.ts +14 -0
  25. package/auth/cimd/index.d.ts.map +1 -0
  26. package/auth/flows/auth.verify.flow.d.ts.map +1 -1
  27. package/auth/flows/oauth.authorize.flow.d.ts +30 -3
  28. package/auth/flows/oauth.authorize.flow.d.ts.map +1 -1
  29. package/auth/flows/oauth.callback.flow.d.ts +11 -3
  30. package/auth/flows/oauth.callback.flow.d.ts.map +1 -1
  31. package/auth/flows/oauth.provider-callback.flow.d.ts +118 -0
  32. package/auth/flows/oauth.provider-callback.flow.d.ts.map +1 -0
  33. package/auth/flows/oauth.register.flow.d.ts +1 -1
  34. package/auth/flows/oauth.token.flow.d.ts +1 -1
  35. package/auth/flows/session.verify.flow.d.ts +8 -0
  36. package/auth/flows/session.verify.flow.d.ts.map +1 -1
  37. package/auth/flows/well-known.jwks.flow.d.ts +3 -3
  38. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +3 -2
  39. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -1
  40. package/auth/flows/well-known.prm.flow.d.ts +1 -1
  41. package/auth/instances/instance.local-primary-auth.d.ts +88 -1
  42. package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
  43. package/auth/machine-id.d.ts +14 -0
  44. package/auth/machine-id.d.ts.map +1 -1
  45. package/auth/session/encrypted-authorization-vault.d.ts +2 -3
  46. package/auth/session/encrypted-authorization-vault.d.ts.map +1 -1
  47. package/auth/session/federated-auth.session.d.ts +252 -0
  48. package/auth/session/federated-auth.session.d.ts.map +1 -0
  49. package/auth/session/index.d.ts +6 -2
  50. package/auth/session/index.d.ts.map +1 -1
  51. package/auth/session/orchestrated-token.store.d.ts +155 -0
  52. package/auth/session/orchestrated-token.store.d.ts.map +1 -0
  53. package/auth/session/record/session.base.d.ts +7 -7
  54. package/auth/session/record/session.base.d.ts.map +1 -1
  55. package/auth/session/record/session.mcp.d.ts +11 -0
  56. package/auth/session/record/session.mcp.d.ts.map +1 -0
  57. package/auth/session/redis-session.store.d.ts +10 -5
  58. package/auth/session/redis-session.store.d.ts.map +1 -1
  59. package/auth/session/session-crypto.d.ts +6 -9
  60. package/auth/session/session-crypto.d.ts.map +1 -1
  61. package/{store/store.factory.d.ts → auth/session/session-store.factory.d.ts} +10 -36
  62. package/auth/session/session-store.factory.d.ts.map +1 -0
  63. package/auth/session/session.service.d.ts +4 -8
  64. package/auth/session/session.service.d.ts.map +1 -1
  65. package/auth/session/session.transport.d.ts +8 -2
  66. package/auth/session/session.transport.d.ts.map +1 -1
  67. package/auth/session/session.types.d.ts +5 -5
  68. package/auth/session/session.types.d.ts.map +1 -1
  69. package/auth/session/token.refresh.d.ts +1 -2
  70. package/auth/session/token.refresh.d.ts.map +1 -1
  71. package/auth/session/transport-session.manager.d.ts +7 -6
  72. package/auth/session/transport-session.manager.d.ts.map +1 -1
  73. package/auth/session/utils/session-id.utils.d.ts +18 -1
  74. package/auth/session/utils/session-id.utils.d.ts.map +1 -1
  75. package/auth/session/vercel-kv-session.store.d.ts +16 -16
  76. package/auth/session/vercel-kv-session.store.d.ts.map +1 -1
  77. package/auth/utils/authorization-id.utils.d.ts +12 -0
  78. package/auth/utils/authorization-id.utils.d.ts.map +1 -0
  79. package/auth/utils/index.d.ts +1 -2
  80. package/auth/utils/index.d.ts.map +1 -1
  81. package/auth/vault/auth-providers.accessor.d.ts +153 -0
  82. package/auth/vault/auth-providers.accessor.d.ts.map +1 -0
  83. package/auth/vault/auth-providers.accessor.impl.d.ts +52 -0
  84. package/auth/vault/auth-providers.accessor.impl.d.ts.map +1 -0
  85. package/auth/vault/auth-providers.context-extension.d.ts +68 -0
  86. package/auth/vault/auth-providers.context-extension.d.ts.map +1 -0
  87. package/auth/vault/auth-providers.providers.d.ts +40 -0
  88. package/auth/vault/auth-providers.providers.d.ts.map +1 -0
  89. package/auth/vault/auth-providers.registry.d.ts +110 -0
  90. package/auth/vault/auth-providers.registry.d.ts.map +1 -0
  91. package/auth/vault/auth-providers.vault.d.ts +93 -0
  92. package/auth/vault/auth-providers.vault.d.ts.map +1 -0
  93. package/auth/vault/credential-cache.d.ts +13 -0
  94. package/auth/vault/credential-cache.d.ts.map +1 -0
  95. package/auth/vault/credential-loaders/eager-loader.d.ts +46 -0
  96. package/auth/vault/credential-loaders/eager-loader.d.ts.map +1 -0
  97. package/auth/vault/credential-loaders/index.d.ts +7 -0
  98. package/auth/vault/credential-loaders/index.d.ts.map +1 -0
  99. package/auth/vault/credential-loaders/lazy-loader.d.ts +53 -0
  100. package/auth/vault/credential-loaders/lazy-loader.d.ts.map +1 -0
  101. package/auth/vault/index.d.ts +56 -0
  102. package/auth/vault/index.d.ts.map +1 -0
  103. package/builtin/config/config-resolver.d.ts +162 -0
  104. package/builtin/config/config-resolver.d.ts.map +1 -0
  105. package/builtin/config/config.plugin.d.ts +63 -0
  106. package/builtin/config/config.plugin.d.ts.map +1 -0
  107. package/builtin/config/config.symbols.d.ts +7 -0
  108. package/builtin/config/config.symbols.d.ts.map +1 -0
  109. package/builtin/config/config.types.d.ts +71 -0
  110. package/builtin/config/config.types.d.ts.map +1 -0
  111. package/builtin/config/index.d.ts +68 -0
  112. package/builtin/config/index.d.ts.map +1 -0
  113. package/builtin/config/providers/config-loader.d.ts +36 -0
  114. package/builtin/config/providers/config-loader.d.ts.map +1 -0
  115. package/builtin/config/providers/config.service.d.ts +108 -0
  116. package/builtin/config/providers/config.service.d.ts.map +1 -0
  117. package/builtin/config/providers/env-loader.d.ts +76 -0
  118. package/builtin/config/providers/env-loader.d.ts.map +1 -0
  119. package/builtin/index.d.ts +7 -0
  120. package/builtin/index.d.ts.map +1 -0
  121. package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
  122. package/common/decorators/hook.decorator.d.ts +0 -10
  123. package/common/decorators/hook.decorator.d.ts.map +1 -1
  124. package/common/decorators/index.d.ts +1 -0
  125. package/common/decorators/index.d.ts.map +1 -1
  126. package/common/decorators/skill.decorator.d.ts +105 -0
  127. package/common/decorators/skill.decorator.d.ts.map +1 -0
  128. package/common/dynamic/dynamic.adapter.d.ts +14 -4
  129. package/common/dynamic/dynamic.adapter.d.ts.map +1 -1
  130. package/common/entries/app.entry.d.ts +2 -0
  131. package/common/entries/app.entry.d.ts.map +1 -1
  132. package/common/entries/index.d.ts +1 -0
  133. package/common/entries/index.d.ts.map +1 -1
  134. package/common/entries/prompt.entry.d.ts +0 -6
  135. package/common/entries/prompt.entry.d.ts.map +1 -1
  136. package/common/entries/resource.entry.d.ts +0 -6
  137. package/common/entries/resource.entry.d.ts.map +1 -1
  138. package/common/entries/scope.entry.d.ts +2 -0
  139. package/common/entries/scope.entry.d.ts.map +1 -1
  140. package/common/entries/skill.entry.d.ts +95 -0
  141. package/common/entries/skill.entry.d.ts.map +1 -0
  142. package/common/entries/tool.entry.d.ts +17 -9
  143. package/common/entries/tool.entry.d.ts.map +1 -1
  144. package/common/interfaces/agent.interface.d.ts +35 -6
  145. package/common/interfaces/agent.interface.d.ts.map +1 -1
  146. package/common/interfaces/execution-context.interface.d.ts +14 -0
  147. package/common/interfaces/execution-context.interface.d.ts.map +1 -1
  148. package/common/interfaces/index.d.ts +1 -0
  149. package/common/interfaces/index.d.ts.map +1 -1
  150. package/common/interfaces/internal/primary-auth-provider.interface.d.ts +1 -7
  151. package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -1
  152. package/common/interfaces/internal/registry.interface.d.ts +4 -1
  153. package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
  154. package/common/interfaces/skill.interface.d.ts +91 -0
  155. package/common/interfaces/skill.interface.d.ts.map +1 -0
  156. package/common/interfaces/tool.interface.d.ts +39 -0
  157. package/common/interfaces/tool.interface.d.ts.map +1 -1
  158. package/common/metadata/agent.metadata.d.ts +62 -2
  159. package/common/metadata/agent.metadata.d.ts.map +1 -1
  160. package/common/metadata/app.metadata.d.ts +168 -169
  161. package/common/metadata/app.metadata.d.ts.map +1 -1
  162. package/common/metadata/front-mcp.metadata.d.ts +2182 -721
  163. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  164. package/common/metadata/index.d.ts +1 -0
  165. package/common/metadata/index.d.ts.map +1 -1
  166. package/common/metadata/plugin.metadata.d.ts +8 -1
  167. package/common/metadata/plugin.metadata.d.ts.map +1 -1
  168. package/common/metadata/skill.metadata.d.ts +366 -0
  169. package/common/metadata/skill.metadata.d.ts.map +1 -0
  170. package/common/metadata/tool.metadata.d.ts +71 -0
  171. package/common/metadata/tool.metadata.d.ts.map +1 -1
  172. package/common/records/index.d.ts +1 -0
  173. package/common/records/index.d.ts.map +1 -1
  174. package/common/records/skill.record.d.ts +55 -0
  175. package/common/records/skill.record.d.ts.map +1 -0
  176. package/common/schemas/annotated-class.schema.d.ts +1 -0
  177. package/common/schemas/annotated-class.schema.d.ts.map +1 -1
  178. package/common/schemas/http-output.schema.d.ts +24 -24
  179. package/common/tokens/app.tokens.d.ts.map +1 -1
  180. package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
  181. package/common/tokens/index.d.ts +1 -0
  182. package/common/tokens/index.d.ts.map +1 -1
  183. package/common/tokens/plugin.tokens.d.ts +1 -0
  184. package/common/tokens/plugin.tokens.d.ts.map +1 -1
  185. package/common/tokens/skill.tokens.d.ts +18 -0
  186. package/common/tokens/skill.tokens.d.ts.map +1 -0
  187. package/common/tokens/tool.tokens.d.ts +2 -0
  188. package/common/tokens/tool.tokens.d.ts.map +1 -1
  189. package/common/types/auth/session.types.d.ts +21 -0
  190. package/common/types/auth/session.types.d.ts.map +1 -1
  191. package/common/types/options/auth/app-auth.schema.d.ts +80 -84
  192. package/common/types/options/auth/app-auth.schema.d.ts.map +1 -1
  193. package/common/types/options/auth/index.d.ts +6 -8
  194. package/common/types/options/auth/index.d.ts.map +1 -1
  195. package/common/types/options/auth/{auth.interfaces.d.ts → interfaces.d.ts} +17 -48
  196. package/common/types/options/auth/interfaces.d.ts.map +1 -0
  197. package/common/types/options/auth/orchestrated.schema.d.ts +160 -84
  198. package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -1
  199. package/common/types/options/auth/public.schema.d.ts +0 -21
  200. package/common/types/options/auth/public.schema.d.ts.map +1 -1
  201. package/common/types/options/auth/{auth.schema.d.ts → schema.d.ts} +81 -85
  202. package/common/types/options/auth/schema.d.ts.map +1 -0
  203. package/common/types/options/auth/shared.schemas.d.ts +12 -0
  204. package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
  205. package/common/types/options/auth/transparent.schema.d.ts +0 -21
  206. package/common/types/options/auth/transparent.schema.d.ts.map +1 -1
  207. package/common/types/options/auth/typecheck.d.ts +2 -0
  208. package/common/types/options/auth/typecheck.d.ts.map +1 -0
  209. package/common/types/options/auth/{auth.utils.d.ts → utils.d.ts} +2 -2
  210. package/common/types/options/auth/utils.d.ts.map +1 -0
  211. package/common/types/options/elicitation/index.d.ts +4 -0
  212. package/common/types/options/elicitation/index.d.ts.map +1 -0
  213. package/common/types/options/elicitation/interfaces.d.ts +80 -0
  214. package/common/types/options/elicitation/interfaces.d.ts.map +1 -0
  215. package/common/types/options/elicitation/schema.d.ts +75 -0
  216. package/common/types/options/elicitation/schema.d.ts.map +1 -0
  217. package/common/types/options/ext-apps/index.d.ts +3 -0
  218. package/common/types/options/ext-apps/index.d.ts.map +1 -0
  219. package/common/types/options/ext-apps/interfaces.d.ts +2 -0
  220. package/common/types/options/ext-apps/interfaces.d.ts.map +1 -0
  221. package/common/types/options/ext-apps/schema.d.ts +80 -0
  222. package/common/types/options/ext-apps/schema.d.ts.map +1 -0
  223. package/common/types/options/http/index.d.ts +4 -0
  224. package/common/types/options/http/index.d.ts.map +1 -0
  225. package/common/types/options/http/interfaces.d.ts +23 -0
  226. package/common/types/options/http/interfaces.d.ts.map +1 -0
  227. package/common/types/options/http/schema.d.ts +18 -0
  228. package/common/types/options/http/schema.d.ts.map +1 -0
  229. package/common/types/options/index.d.ts +10 -6
  230. package/common/types/options/index.d.ts.map +1 -1
  231. package/common/types/options/logging/index.d.ts +5 -0
  232. package/common/types/options/logging/index.d.ts.map +1 -0
  233. package/common/types/options/logging/interfaces.d.ts +41 -0
  234. package/common/types/options/logging/interfaces.d.ts.map +1 -0
  235. package/common/types/options/logging/schema.d.ts +24 -0
  236. package/common/types/options/logging/schema.d.ts.map +1 -0
  237. package/common/types/options/pagination/index.d.ts +4 -0
  238. package/common/types/options/pagination/index.d.ts.map +1 -0
  239. package/common/types/options/pagination/interfaces.d.ts +43 -0
  240. package/common/types/options/pagination/interfaces.d.ts.map +1 -0
  241. package/common/types/options/pagination/schema.d.ts +41 -0
  242. package/common/types/options/pagination/schema.d.ts.map +1 -0
  243. package/common/types/options/redis/index.d.ts +4 -0
  244. package/common/types/options/redis/index.d.ts.map +1 -0
  245. package/common/types/options/redis/interfaces.d.ts +81 -0
  246. package/common/types/options/redis/interfaces.d.ts.map +1 -0
  247. package/common/types/options/{redis.options.d.ts → redis/schema.d.ts} +2 -2
  248. package/common/types/options/redis/schema.d.ts.map +1 -0
  249. package/common/types/options/server-info/index.d.ts +4 -0
  250. package/common/types/options/server-info/index.d.ts.map +1 -0
  251. package/common/types/options/server-info/interfaces.d.ts +27 -0
  252. package/common/types/options/server-info/interfaces.d.ts.map +1 -0
  253. package/common/types/options/{server-info.options.d.ts → server-info/schema.d.ts} +13 -10
  254. package/common/types/options/server-info/schema.d.ts.map +1 -0
  255. package/common/types/options/session/index.d.ts +4 -0
  256. package/common/types/options/session/index.d.ts.map +1 -0
  257. package/common/types/options/session/interfaces.d.ts +66 -0
  258. package/common/types/options/session/interfaces.d.ts.map +1 -0
  259. package/common/types/options/session/schema.d.ts +79 -0
  260. package/common/types/options/session/schema.d.ts.map +1 -0
  261. package/common/types/options/skills-http/index.d.ts +4 -0
  262. package/common/types/options/skills-http/index.d.ts.map +1 -0
  263. package/common/types/options/skills-http/interfaces.d.ts +321 -0
  264. package/common/types/options/skills-http/interfaces.d.ts.map +1 -0
  265. package/common/types/options/skills-http/schema.d.ts +139 -0
  266. package/common/types/options/skills-http/schema.d.ts.map +1 -0
  267. package/common/types/options/transport/index.d.ts +4 -0
  268. package/common/types/options/transport/index.d.ts.map +1 -0
  269. package/common/types/options/transport/interfaces.d.ts +354 -0
  270. package/common/types/options/transport/interfaces.d.ts.map +1 -0
  271. package/common/types/options/transport/schema.d.ts +309 -0
  272. package/common/types/options/transport/schema.d.ts.map +1 -0
  273. package/common/types/options/transport/typecheck.d.ts +2 -0
  274. package/common/types/options/transport/typecheck.d.ts.map +1 -0
  275. package/common/utils/decide-request-intent.utils.d.ts +3 -3
  276. package/common/utils/decide-request-intent.utils.d.ts.map +1 -1
  277. package/context/context-extension.d.ts +1 -28
  278. package/context/context-extension.d.ts.map +1 -1
  279. package/context/frontmcp-context-storage.d.ts.map +1 -1
  280. package/context/frontmcp-context.d.ts +36 -39
  281. package/context/frontmcp-context.d.ts.map +1 -1
  282. package/context/frontmcp-context.provider.d.ts +3 -9
  283. package/context/frontmcp-context.provider.d.ts.map +1 -1
  284. package/context/index.d.ts +5 -20
  285. package/context/index.d.ts.map +1 -1
  286. package/context/metadata.utils.d.ts +24 -0
  287. package/context/metadata.utils.d.ts.map +1 -0
  288. package/direct/client.types.d.ts +447 -0
  289. package/direct/client.types.d.ts.map +1 -0
  290. package/direct/connect.d.ts +188 -0
  291. package/direct/connect.d.ts.map +1 -0
  292. package/direct/direct-client.d.ts +7 -0
  293. package/direct/direct-client.d.ts.map +1 -0
  294. package/direct/direct-server.d.ts +38 -0
  295. package/direct/direct-server.d.ts.map +1 -0
  296. package/direct/direct.types.d.ts +134 -0
  297. package/direct/direct.types.d.ts.map +1 -0
  298. package/direct/index.d.ts +15 -0
  299. package/direct/index.d.ts.map +1 -0
  300. package/direct/llm-platform.d.ts +94 -0
  301. package/direct/llm-platform.d.ts.map +1 -0
  302. package/elicitation/elicitation-fallback.schema.d.ts +32 -0
  303. package/elicitation/elicitation-fallback.schema.d.ts.map +1 -0
  304. package/elicitation/elicitation.types.d.ts +160 -0
  305. package/elicitation/elicitation.types.d.ts.map +1 -0
  306. package/elicitation/flows/elicitation-request.flow.d.ts +98 -0
  307. package/elicitation/flows/elicitation-request.flow.d.ts.map +1 -0
  308. package/elicitation/flows/elicitation-result.flow.d.ts +79 -0
  309. package/elicitation/flows/elicitation-result.flow.d.ts.map +1 -0
  310. package/elicitation/flows/index.d.ts +10 -0
  311. package/elicitation/flows/index.d.ts.map +1 -0
  312. package/elicitation/helpers/elicit.helper.d.ts +65 -0
  313. package/elicitation/helpers/elicit.helper.d.ts.map +1 -0
  314. package/elicitation/helpers/extend-output-schema.d.ts +31 -0
  315. package/elicitation/helpers/extend-output-schema.d.ts.map +1 -0
  316. package/elicitation/helpers/fallback.helper.d.ts +60 -0
  317. package/elicitation/helpers/fallback.helper.d.ts.map +1 -0
  318. package/elicitation/helpers/index.d.ts +12 -0
  319. package/elicitation/helpers/index.d.ts.map +1 -0
  320. package/elicitation/helpers/validate-elicitation-content.d.ts +52 -0
  321. package/elicitation/helpers/validate-elicitation-content.d.ts.map +1 -0
  322. package/elicitation/hooks/elicitation.hooks.d.ts +66 -0
  323. package/elicitation/hooks/elicitation.hooks.d.ts.map +1 -0
  324. package/elicitation/hooks/index.d.ts +9 -0
  325. package/elicitation/hooks/index.d.ts.map +1 -0
  326. package/elicitation/index.d.ts +18 -0
  327. package/elicitation/index.d.ts.map +1 -0
  328. package/elicitation/send-elicitation-result.tool.d.ts +18 -0
  329. package/elicitation/send-elicitation-result.tool.d.ts.map +1 -0
  330. package/elicitation/store/elicitation-encryption.d.ts +134 -0
  331. package/elicitation/store/elicitation-encryption.d.ts.map +1 -0
  332. package/elicitation/store/elicitation-store.factory.d.ts +197 -0
  333. package/elicitation/store/elicitation-store.factory.d.ts.map +1 -0
  334. package/elicitation/store/elicitation.store.d.ts +191 -0
  335. package/elicitation/store/elicitation.store.d.ts.map +1 -0
  336. package/elicitation/store/encrypted-elicitation.store.d.ts +121 -0
  337. package/elicitation/store/encrypted-elicitation.store.d.ts.map +1 -0
  338. package/elicitation/store/index.d.ts +14 -0
  339. package/elicitation/store/index.d.ts.map +1 -0
  340. package/elicitation/store/storage-elicitation.store.d.ts +118 -0
  341. package/elicitation/store/storage-elicitation.store.d.ts.map +1 -0
  342. package/errors/elicitation.error.d.ts +115 -0
  343. package/errors/elicitation.error.d.ts.map +1 -0
  344. package/errors/index.d.ts +1 -0
  345. package/errors/index.d.ts.map +1 -1
  346. package/esm/index.mjs +30824 -19537
  347. package/esm/package.json +13 -7
  348. package/ext-apps/ext-apps.handler.d.ts +177 -0
  349. package/ext-apps/ext-apps.handler.d.ts.map +1 -0
  350. package/ext-apps/ext-apps.types.d.ts +273 -0
  351. package/ext-apps/ext-apps.types.d.ts.map +1 -0
  352. package/ext-apps/index.d.ts +13 -0
  353. package/ext-apps/index.d.ts.map +1 -0
  354. package/flows/flow.instance.d.ts.map +1 -1
  355. package/front-mcp/front-mcp.d.ts +64 -2
  356. package/front-mcp/front-mcp.d.ts.map +1 -1
  357. package/front-mcp/front-mcp.providers.d.ts +604 -236
  358. package/front-mcp/front-mcp.providers.d.ts.map +1 -1
  359. package/index.d.ts +17 -0
  360. package/index.d.ts.map +1 -1
  361. package/index.js +31066 -19707
  362. package/notification/index.d.ts +1 -1
  363. package/notification/index.d.ts.map +1 -1
  364. package/notification/notification.service.d.ts +18 -0
  365. package/notification/notification.service.d.ts.map +1 -1
  366. package/package.json +13 -7
  367. package/plugin/plugin.registry.d.ts +2 -0
  368. package/plugin/plugin.registry.d.ts.map +1 -1
  369. package/provider/provider.registry.d.ts +8 -3
  370. package/provider/provider.registry.d.ts.map +1 -1
  371. package/scope/flows/http.request.flow.d.ts +4 -0
  372. package/scope/flows/http.request.flow.d.ts.map +1 -1
  373. package/scope/scope.instance.d.ts +74 -0
  374. package/scope/scope.instance.d.ts.map +1 -1
  375. package/server/server.instance.d.ts +3 -3
  376. package/server/server.instance.d.ts.map +1 -1
  377. package/skill/auth/index.d.ts +10 -0
  378. package/skill/auth/index.d.ts.map +1 -0
  379. package/skill/auth/skill-http-auth.d.ts +112 -0
  380. package/skill/auth/skill-http-auth.d.ts.map +1 -0
  381. package/skill/cache/index.d.ts +13 -0
  382. package/skill/cache/index.d.ts.map +1 -0
  383. package/skill/cache/skill-http-cache.d.ts +144 -0
  384. package/skill/cache/skill-http-cache.d.ts.map +1 -0
  385. package/skill/cache/skill-http-cache.factory.d.ts +83 -0
  386. package/skill/cache/skill-http-cache.factory.d.ts.map +1 -0
  387. package/skill/cache/skill-http-cache.holder.d.ts +35 -0
  388. package/skill/cache/skill-http-cache.holder.d.ts.map +1 -0
  389. package/skill/errors/index.d.ts +3 -0
  390. package/skill/errors/index.d.ts.map +1 -0
  391. package/skill/errors/skill-validation.error.d.ts +110 -0
  392. package/skill/errors/skill-validation.error.d.ts.map +1 -0
  393. package/skill/errors/tool-not-allowed.error.d.ts +66 -0
  394. package/skill/errors/tool-not-allowed.error.d.ts.map +1 -0
  395. package/skill/flows/http/index.d.ts +12 -0
  396. package/skill/flows/http/index.d.ts.map +1 -0
  397. package/skill/flows/http/llm-full-txt.flow.d.ts +70 -0
  398. package/skill/flows/http/llm-full-txt.flow.d.ts.map +1 -0
  399. package/skill/flows/http/llm-txt.flow.d.ts +77 -0
  400. package/skill/flows/http/llm-txt.flow.d.ts.map +1 -0
  401. package/skill/flows/http/skills-api.flow.d.ts +81 -0
  402. package/skill/flows/http/skills-api.flow.d.ts.map +1 -0
  403. package/skill/flows/index.d.ts +13 -0
  404. package/skill/flows/index.d.ts.map +1 -0
  405. package/skill/flows/load-skill.flow.d.ts +169 -0
  406. package/skill/flows/load-skill.flow.d.ts.map +1 -0
  407. package/skill/flows/search-skills.flow.d.ts +101 -0
  408. package/skill/flows/search-skills.flow.d.ts.map +1 -0
  409. package/skill/guards/index.d.ts +2 -0
  410. package/skill/guards/index.d.ts.map +1 -0
  411. package/skill/guards/tool-authorization.guard.d.ts +87 -0
  412. package/skill/guards/tool-authorization.guard.d.ts.map +1 -0
  413. package/skill/hooks/index.d.ts +2 -0
  414. package/skill/hooks/index.d.ts.map +1 -0
  415. package/skill/hooks/skill-tool.hook.d.ts +52 -0
  416. package/skill/hooks/skill-tool.hook.d.ts.map +1 -0
  417. package/skill/index.d.ts +74 -0
  418. package/skill/index.d.ts.map +1 -0
  419. package/skill/providers/external-skill.provider.d.ts +240 -0
  420. package/skill/providers/external-skill.provider.d.ts.map +1 -0
  421. package/skill/providers/index.d.ts +12 -0
  422. package/skill/providers/index.d.ts.map +1 -0
  423. package/skill/providers/memory-skill.provider.d.ts +97 -0
  424. package/skill/providers/memory-skill.provider.d.ts.map +1 -0
  425. package/skill/session/index.d.ts +4 -0
  426. package/skill/session/index.d.ts.map +1 -0
  427. package/skill/session/skill-session-store.interface.d.ts +79 -0
  428. package/skill/session/skill-session-store.interface.d.ts.map +1 -0
  429. package/skill/session/skill-session.manager.d.ts +137 -0
  430. package/skill/session/skill-session.manager.d.ts.map +1 -0
  431. package/skill/session/skill-session.types.d.ts +303 -0
  432. package/skill/session/skill-session.types.d.ts.map +1 -0
  433. package/skill/skill-http.utils.d.ts +107 -0
  434. package/skill/skill-http.utils.d.ts.map +1 -0
  435. package/skill/skill-mode.utils.d.ts +53 -0
  436. package/skill/skill-mode.utils.d.ts.map +1 -0
  437. package/skill/skill-scope.helper.d.ts +55 -0
  438. package/skill/skill-scope.helper.d.ts.map +1 -0
  439. package/skill/skill-storage.factory.d.ts +194 -0
  440. package/skill/skill-storage.factory.d.ts.map +1 -0
  441. package/skill/skill-storage.interface.d.ts +230 -0
  442. package/skill/skill-storage.interface.d.ts.map +1 -0
  443. package/skill/skill-validator.d.ts +63 -0
  444. package/skill/skill-validator.d.ts.map +1 -0
  445. package/skill/skill.events.d.ts +88 -0
  446. package/skill/skill.events.d.ts.map +1 -0
  447. package/skill/skill.instance.d.ts +92 -0
  448. package/skill/skill.instance.d.ts.map +1 -0
  449. package/skill/skill.registry.d.ts +309 -0
  450. package/skill/skill.registry.d.ts.map +1 -0
  451. package/skill/skill.utils.d.ts +90 -0
  452. package/skill/skill.utils.d.ts.map +1 -0
  453. package/skill/sync/index.d.ts +16 -0
  454. package/skill/sync/index.d.ts.map +1 -0
  455. package/skill/sync/memory-sync-state.store.d.ts +49 -0
  456. package/skill/sync/memory-sync-state.store.d.ts.map +1 -0
  457. package/skill/sync/skill-hash.d.ts +65 -0
  458. package/skill/sync/skill-hash.d.ts.map +1 -0
  459. package/skill/sync/sync-state.interface.d.ts +125 -0
  460. package/skill/sync/sync-state.interface.d.ts.map +1 -0
  461. package/skill/tools/index.d.ts +21 -0
  462. package/skill/tools/index.d.ts.map +1 -0
  463. package/skill/tools/load-skills.tool.d.ts +76 -0
  464. package/skill/tools/load-skills.tool.d.ts.map +1 -0
  465. package/skill/tools/search-skills.tool.d.ts +61 -0
  466. package/skill/tools/search-skills.tool.d.ts.map +1 -0
  467. package/tool/flows/call-tool.flow.d.ts +1 -0
  468. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  469. package/tool/flows/tools-list.flow.d.ts +15 -0
  470. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  471. package/tool/tool.instance.d.ts +8 -0
  472. package/tool/tool.instance.d.ts.map +1 -1
  473. package/tool/tool.registry.d.ts +11 -0
  474. package/tool/tool.registry.d.ts.map +1 -1
  475. package/tool/tool.utils.d.ts.map +1 -1
  476. package/tool/ui/template-helpers.d.ts +0 -5
  477. package/tool/ui/template-helpers.d.ts.map +1 -1
  478. package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
  479. package/transport/adapters/transport.local.adapter.d.ts +54 -9
  480. package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
  481. package/transport/adapters/transport.sse.adapter.d.ts +11 -2
  482. package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
  483. package/transport/adapters/transport.streamable-http.adapter.d.ts +21 -2
  484. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
  485. package/transport/event-stores/event-store.factory.d.ts +96 -0
  486. package/transport/event-stores/event-store.factory.d.ts.map +1 -0
  487. package/transport/event-stores/index.d.ts +47 -0
  488. package/transport/event-stores/index.d.ts.map +1 -0
  489. package/transport/event-stores/memory.event-store.d.ts +51 -0
  490. package/transport/event-stores/memory.event-store.d.ts.map +1 -0
  491. package/transport/event-stores/redis.event-store.d.ts +79 -0
  492. package/transport/event-stores/redis.event-store.d.ts.map +1 -0
  493. package/transport/flows/handle.sse.flow.d.ts.map +1 -1
  494. package/transport/flows/handle.streamable-http.flow.d.ts +3 -1
  495. package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -1
  496. package/transport/in-memory-server.d.ts +85 -0
  497. package/transport/in-memory-server.d.ts.map +1 -0
  498. package/transport/index.d.ts +47 -0
  499. package/transport/index.d.ts.map +1 -1
  500. package/transport/mcp-handlers/complete-request.handler.d.ts +3 -84
  501. package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -1
  502. package/transport/mcp-handlers/get-prompt-request.handler.d.ts +3 -128
  503. package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -1
  504. package/transport/mcp-handlers/index.d.ts +463 -490
  505. package/transport/mcp-handlers/index.d.ts.map +1 -1
  506. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
  507. package/transport/mcp-handlers/list-prompts-request.handler.d.ts +3 -70
  508. package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -1
  509. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +3 -72
  510. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -1
  511. package/transport/mcp-handlers/list-resources-request.handler.d.ts +3 -72
  512. package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -1
  513. package/transport/mcp-handlers/list-tools-request.handler.d.ts +3 -85
  514. package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -1
  515. package/transport/mcp-handlers/read-resource-request.handler.d.ts +3 -61
  516. package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
  517. package/transport/mcp-handlers/skills-list-request.handler.d.ts +9 -0
  518. package/transport/mcp-handlers/skills-list-request.handler.d.ts.map +1 -0
  519. package/transport/mcp-handlers/skills-load-request.handler.d.ts +9 -0
  520. package/transport/mcp-handlers/skills-load-request.handler.d.ts.map +1 -0
  521. package/transport/mcp-handlers/skills-mcp.types.d.ts +157 -0
  522. package/transport/mcp-handlers/skills-mcp.types.d.ts.map +1 -0
  523. package/transport/mcp-handlers/skills-search-request.handler.d.ts +9 -0
  524. package/transport/mcp-handlers/skills-search-request.handler.d.ts.map +1 -0
  525. package/transport/transport.registry.d.ts +9 -1
  526. package/transport/transport.registry.d.ts.map +1 -1
  527. package/transport/transport.types.d.ts +1 -8
  528. package/transport/transport.types.d.ts.map +1 -1
  529. package/auth/jwks/dev-key-persistence.d.ts +0 -64
  530. package/auth/jwks/dev-key-persistence.d.ts.map +0 -1
  531. package/auth/jwks/index.d.ts +0 -4
  532. package/auth/jwks/index.d.ts.map +0 -1
  533. package/auth/jwks/jwks.service.d.ts +0 -58
  534. package/auth/jwks/jwks.service.d.ts.map +0 -1
  535. package/auth/jwks/jwks.types.d.ts +0 -33
  536. package/auth/jwks/jwks.types.d.ts.map +0 -1
  537. package/auth/jwks/jwks.utils.d.ts +0 -5
  538. package/auth/jwks/jwks.utils.d.ts.map +0 -1
  539. package/auth/oauth/flows/oauth.authorize.flow.d.ts +0 -32
  540. package/auth/oauth/flows/oauth.authorize.flow.d.ts.map +0 -1
  541. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts +0 -47
  542. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts.map +0 -1
  543. package/auth/oauth/flows/oauth.introspect.flow.d.ts +0 -27
  544. package/auth/oauth/flows/oauth.introspect.flow.d.ts.map +0 -1
  545. package/auth/oauth/flows/oauth.par.flow.d.ts +0 -28
  546. package/auth/oauth/flows/oauth.par.flow.d.ts.map +0 -1
  547. package/auth/oauth/flows/oauth.revoke.flow.d.ts +0 -26
  548. package/auth/oauth/flows/oauth.revoke.flow.d.ts.map +0 -1
  549. package/auth/oauth/flows/oauth.token.flow.d.ts +0 -58
  550. package/auth/oauth/flows/oauth.token.flow.d.ts.map +0 -1
  551. package/auth/oauth/flows/oauth.userinfo.flow.d.ts +0 -23
  552. package/auth/oauth/flows/oauth.userinfo.flow.d.ts.map +0 -1
  553. package/auth/oauth/flows/oidc.logout.flow.d.ts +0 -19
  554. package/auth/oauth/flows/oidc.logout.flow.d.ts.map +0 -1
  555. package/auth/session/authorization-vault.d.ts +0 -612
  556. package/auth/session/authorization-vault.d.ts.map +0 -1
  557. package/auth/session/authorization.store.d.ts +0 -302
  558. package/auth/session/authorization.store.d.ts.map +0 -1
  559. package/auth/session/record/session.stateful.d.ts +0 -21
  560. package/auth/session/record/session.stateful.d.ts.map +0 -1
  561. package/auth/session/record/session.stateless.d.ts +0 -18
  562. package/auth/session/record/session.stateless.d.ts.map +0 -1
  563. package/auth/session/record/session.transparent.d.ts +0 -18
  564. package/auth/session/record/session.transparent.d.ts.map +0 -1
  565. package/auth/session/session.crypto.d.ts +0 -8
  566. package/auth/session/session.crypto.d.ts.map +0 -1
  567. package/auth/session/session.schema.d.ts +0 -6
  568. package/auth/session/session.schema.d.ts.map +0 -1
  569. package/auth/session/token.store.d.ts +0 -36
  570. package/auth/session/token.store.d.ts.map +0 -1
  571. package/auth/session/token.vault.d.ts +0 -27
  572. package/auth/session/token.vault.d.ts.map +0 -1
  573. package/auth/session/vault-encryption.d.ts +0 -190
  574. package/auth/session/vault-encryption.d.ts.map +0 -1
  575. package/auth/utils/audience.validator.d.ts +0 -130
  576. package/auth/utils/audience.validator.d.ts.map +0 -1
  577. package/auth/utils/www-authenticate.utils.d.ts +0 -98
  578. package/auth/utils/www-authenticate.utils.d.ts.map +0 -1
  579. package/common/migrate/auth-transport.migrate.d.ts +0 -63
  580. package/common/migrate/auth-transport.migrate.d.ts.map +0 -1
  581. package/common/migrate/index.d.ts +0 -2
  582. package/common/migrate/index.d.ts.map +0 -1
  583. package/common/types/options/auth/auth.interfaces.d.ts.map +0 -1
  584. package/common/types/options/auth/auth.schema.d.ts.map +0 -1
  585. package/common/types/options/auth/auth.typecheck.d.ts +0 -2
  586. package/common/types/options/auth/auth.typecheck.d.ts.map +0 -1
  587. package/common/types/options/auth/auth.utils.d.ts.map +0 -1
  588. package/common/types/options/auth/transport.deprecated.d.ts +0 -64
  589. package/common/types/options/auth/transport.deprecated.d.ts.map +0 -1
  590. package/common/types/options/http.options.d.ts +0 -15
  591. package/common/types/options/http.options.d.ts.map +0 -1
  592. package/common/types/options/logging.options.d.ts +0 -29
  593. package/common/types/options/logging.options.d.ts.map +0 -1
  594. package/common/types/options/redis.options.d.ts.map +0 -1
  595. package/common/types/options/server-info.options.d.ts.map +0 -1
  596. package/common/types/options/session.options.d.ts +0 -148
  597. package/common/types/options/session.options.d.ts.map +0 -1
  598. package/common/types/options/transport.options.d.ts +0 -178
  599. package/common/types/options/transport.options.d.ts.map +0 -1
  600. package/context/request-context-storage.d.ts +0 -90
  601. package/context/request-context-storage.d.ts.map +0 -1
  602. package/context/request-context.d.ts +0 -185
  603. package/context/request-context.d.ts.map +0 -1
  604. package/context/request-context.provider.d.ts +0 -38
  605. package/context/request-context.provider.d.ts.map +0 -1
  606. package/context/session-key.provider.d.ts +0 -46
  607. package/context/session-key.provider.d.ts.map +0 -1
  608. package/store/adapters/store.base.adapter.d.ts +0 -22
  609. package/store/adapters/store.base.adapter.d.ts.map +0 -1
  610. package/store/adapters/store.memory.adapter.d.ts +0 -27
  611. package/store/adapters/store.memory.adapter.d.ts.map +0 -1
  612. package/store/adapters/store.redis.adapter.d.ts +0 -34
  613. package/store/adapters/store.redis.adapter.d.ts.map +0 -1
  614. package/store/adapters/store.vercel-kv.adapter.d.ts +0 -87
  615. package/store/adapters/store.vercel-kv.adapter.d.ts.map +0 -1
  616. package/store/index.d.ts +0 -11
  617. package/store/index.d.ts.map +0 -1
  618. package/store/store.factory.d.ts.map +0 -1
  619. package/store/store.helpers.d.ts +0 -10
  620. package/store/store.helpers.d.ts.map +0 -1
  621. package/store/store.registry.d.ts +0 -14
  622. package/store/store.registry.d.ts.map +0 -1
  623. package/store/store.tokens.d.ts +0 -4
  624. package/store/store.tokens.d.ts.map +0 -1
  625. package/store/store.types.d.ts +0 -65
  626. package/store/store.types.d.ts.map +0 -1
  627. package/store/store.utils.d.ts +0 -9
  628. package/store/store.utils.d.ts.map +0 -1
  629. package/transport/transport.event-store.d.ts +0 -11
  630. package/transport/transport.event-store.d.ts.map +0 -1
@@ -157,79 +157,72 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
157
157
  } | undefined;
158
158
  } | undefined;
159
159
  } | undefined;
160
- }> | {
161
- requestSchema: import("zod").ZodObject<{
162
- params: import("zod").ZodOptional<import("zod").ZodObject<{
163
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
164
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
165
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
166
- taskId: import("zod").ZodString;
167
- }, import("zod/v4/core").$strip>>;
168
- }, import("zod/v4/core").$loose>>;
169
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
170
- }, import("zod/v4/core").$strip>>;
171
- method: import("zod").ZodLiteral<"tools/list">;
172
- }, import("zod/v4/core").$strip>;
173
- handler: (request: import("@modelcontextprotocol/sdk/types.js").ListToolsRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
174
- method: "tools/list";
175
- params?: {
176
- _meta?: {
177
- [x: string]: unknown;
178
- progressToken?: string | number | undefined;
179
- "io.modelcontextprotocol/related-task"?: {
180
- taskId: string;
181
- } | undefined;
182
- } | undefined;
183
- cursor?: string | undefined;
184
- } | undefined;
185
- }, {
186
- method: string;
187
- params?: {
160
+ }> | import("./mcp-handlers.types").McpHandler<{
161
+ method: "tools/list";
162
+ params?: {
163
+ _meta?: {
188
164
  [x: string]: unknown;
189
- _meta?: {
190
- [x: string]: unknown;
191
- progressToken?: string | number | undefined;
192
- "io.modelcontextprotocol/related-task"?: {
193
- taskId: string;
194
- } | undefined;
165
+ progressToken?: string | number | undefined;
166
+ "io.modelcontextprotocol/related-task"?: {
167
+ taskId: string;
195
168
  } | undefined;
196
169
  } | undefined;
197
- }>) => Promise<{
198
- [x: string]: unknown;
199
- tools: {
200
- inputSchema: {
201
- [x: string]: unknown;
202
- type: "object";
203
- properties?: Record<string, object> | undefined;
204
- required?: string[] | undefined;
205
- };
206
- name: string;
207
- description?: string | undefined;
208
- outputSchema?: {
209
- [x: string]: unknown;
210
- type: "object";
211
- properties?: Record<string, object> | undefined;
212
- required?: string[] | undefined;
213
- } | undefined;
214
- annotations?: {
215
- title?: string | undefined;
216
- readOnlyHint?: boolean | undefined;
217
- destructiveHint?: boolean | undefined;
218
- idempotentHint?: boolean | undefined;
219
- openWorldHint?: boolean | 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;
220
180
  } | undefined;
221
- execution?: {
222
- taskSupport?: "optional" | "required" | "forbidden" | 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;
223
190
  } | undefined;
224
- _meta?: Record<string, unknown> | undefined;
225
- icons?: {
226
- src: string;
227
- mimeType?: string | undefined;
228
- sizes?: string[] | undefined;
229
- theme?: "light" | "dark" | undefined;
230
- }[] | undefined;
191
+ required?: string[] | undefined;
192
+ } | undefined;
193
+ annotations?: {
231
194
  title?: string | undefined;
232
- }[];
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;
233
226
  _meta?: {
234
227
  [x: string]: unknown;
235
228
  progressToken?: string | number | undefined;
@@ -237,9 +230,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
237
230
  taskId: string;
238
231
  } | undefined;
239
232
  } | undefined;
240
- nextCursor?: string | undefined;
241
- }>;
242
- } | import("./mcp-handlers.types").McpHandler<{
233
+ } | undefined;
234
+ }> | import("./mcp-handlers.types").McpHandler<{
243
235
  method: "tools/call";
244
236
  params: {
245
237
  name: string;
@@ -364,22 +356,181 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
364
356
  } | undefined;
365
357
  } | undefined;
366
358
  } | undefined;
359
+ }> | import("./mcp-handlers.types").McpHandler<{
360
+ method: "resources/list";
361
+ params?: {
362
+ _meta?: {
363
+ [x: string]: unknown;
364
+ progressToken?: string | number | undefined;
365
+ "io.modelcontextprotocol/related-task"?: {
366
+ taskId: string;
367
+ } | undefined;
368
+ } | undefined;
369
+ cursor?: string | undefined;
370
+ } | undefined;
371
+ }, {
372
+ [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?: {
460
+ [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;
480
+ };
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;
367
517
  }> | {
368
518
  requestSchema: import("zod").ZodObject<{
369
- params: import("zod").ZodOptional<import("zod").ZodObject<{
519
+ method: import("zod").ZodLiteral<"resources/subscribe">;
520
+ params: import("zod").ZodObject<{
370
521
  _meta: import("zod").ZodOptional<import("zod").ZodObject<{
371
522
  progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
372
523
  "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
373
524
  taskId: import("zod").ZodString;
374
525
  }, import("zod/v4/core").$strip>>;
375
526
  }, import("zod/v4/core").$loose>>;
376
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
377
- }, import("zod/v4/core").$strip>>;
378
- method: import("zod").ZodLiteral<"resources/list">;
527
+ uri: import("zod").ZodString;
528
+ }, import("zod/v4/core").$strip>;
379
529
  }, import("zod/v4/core").$strip>;
380
- handler: (request: import("@modelcontextprotocol/sdk/types.js").ListResourcesRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
381
- method: "resources/list";
382
- params?: {
530
+ handler: (request: import("@modelcontextprotocol/sdk/types.js").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
531
+ method: "resources/subscribe";
532
+ params: {
533
+ uri: string;
383
534
  _meta?: {
384
535
  [x: string]: unknown;
385
536
  progressToken?: string | number | undefined;
@@ -387,8 +538,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
387
538
  taskId: string;
388
539
  } | undefined;
389
540
  } | undefined;
390
- cursor?: string | undefined;
391
- } | undefined;
541
+ };
392
542
  }, {
393
543
  method: string;
394
544
  params?: {
@@ -401,54 +551,24 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
401
551
  } | undefined;
402
552
  } | undefined;
403
553
  } | undefined;
404
- }>) => Promise<{
405
- [x: string]: unknown;
406
- resources: {
407
- uri: string;
408
- name: string;
409
- description?: string | undefined;
410
- mimeType?: string | undefined;
411
- annotations?: {
412
- audience?: ("user" | "assistant")[] | undefined;
413
- priority?: number | undefined;
414
- lastModified?: string | undefined;
415
- } | undefined;
416
- _meta?: {
417
- [x: string]: unknown;
418
- } | undefined;
419
- icons?: {
420
- src: string;
421
- mimeType?: string | undefined;
422
- sizes?: string[] | undefined;
423
- theme?: "light" | "dark" | undefined;
424
- }[] | undefined;
425
- title?: string | undefined;
426
- }[];
427
- _meta?: {
428
- [x: string]: unknown;
429
- progressToken?: string | number | undefined;
430
- "io.modelcontextprotocol/related-task"?: {
431
- taskId: string;
432
- } | undefined;
433
- } | undefined;
434
- nextCursor?: string | undefined;
435
- }>;
554
+ }>) => Promise<import("@modelcontextprotocol/sdk/types.js").EmptyResult>;
436
555
  } | {
437
556
  requestSchema: import("zod").ZodObject<{
438
- params: import("zod").ZodOptional<import("zod").ZodObject<{
557
+ method: import("zod").ZodLiteral<"resources/unsubscribe">;
558
+ params: import("zod").ZodObject<{
439
559
  _meta: import("zod").ZodOptional<import("zod").ZodObject<{
440
560
  progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
441
561
  "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
442
562
  taskId: import("zod").ZodString;
443
563
  }, import("zod/v4/core").$strip>>;
444
564
  }, import("zod/v4/core").$loose>>;
445
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
446
- }, import("zod/v4/core").$strip>>;
447
- method: import("zod").ZodLiteral<"resources/templates/list">;
565
+ uri: import("zod").ZodString;
566
+ }, import("zod/v4/core").$strip>;
448
567
  }, import("zod/v4/core").$strip>;
449
- handler: (request: import("@modelcontextprotocol/sdk/types.js").ListResourceTemplatesRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
450
- method: "resources/templates/list";
451
- params?: {
568
+ handler: (request: import("@modelcontextprotocol/sdk/types.js").UnsubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
569
+ method: "resources/unsubscribe";
570
+ params: {
571
+ uri: string;
452
572
  _meta?: {
453
573
  [x: string]: unknown;
454
574
  progressToken?: string | number | undefined;
@@ -456,8 +576,7 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
456
576
  taskId: string;
457
577
  } | undefined;
458
578
  } | undefined;
459
- cursor?: string | undefined;
460
- } | undefined;
579
+ };
461
580
  }, {
462
581
  method: string;
463
582
  params?: {
@@ -470,29 +589,10 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
470
589
  } | undefined;
471
590
  } | undefined;
472
591
  } | undefined;
473
- }>) => Promise<{
474
- [x: string]: unknown;
475
- resourceTemplates: {
476
- uriTemplate: string;
477
- name: string;
478
- description?: string | undefined;
479
- mimeType?: string | undefined;
480
- annotations?: {
481
- audience?: ("user" | "assistant")[] | undefined;
482
- priority?: number | undefined;
483
- lastModified?: string | undefined;
484
- } | undefined;
485
- _meta?: {
486
- [x: string]: unknown;
487
- } | undefined;
488
- icons?: {
489
- src: string;
490
- mimeType?: string | undefined;
491
- sizes?: string[] | undefined;
492
- theme?: "light" | "dark" | undefined;
493
- }[] | undefined;
494
- title?: string | undefined;
495
- }[];
592
+ }>) => Promise<import("@modelcontextprotocol/sdk/types.js").EmptyResult>;
593
+ } | import("./mcp-handlers.types").McpHandler<{
594
+ method: "prompts/list";
595
+ params?: {
496
596
  _meta?: {
497
597
  [x: string]: unknown;
498
598
  progressToken?: string | number | undefined;
@@ -500,58 +600,41 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
500
600
  taskId: string;
501
601
  } | undefined;
502
602
  } | undefined;
503
- nextCursor?: string | undefined;
504
- }>;
505
- } | {
506
- requestSchema: import("zod").ZodObject<{
507
- method: import("zod").ZodLiteral<"resources/read">;
508
- params: import("zod").ZodObject<{
509
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
510
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
511
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
512
- taskId: import("zod").ZodString;
513
- }, import("zod/v4/core").$strip>>;
514
- }, import("zod/v4/core").$loose>>;
515
- uri: import("zod").ZodString;
516
- }, import("zod/v4/core").$strip>;
517
- }, import("zod/v4/core").$strip>;
518
- handler: (request: import("@modelcontextprotocol/sdk/types.js").ReadResourceRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
519
- method: "resources/read";
520
- params: {
521
- uri: string;
522
- _meta?: {
523
- [x: string]: unknown;
524
- progressToken?: string | number | undefined;
525
- "io.modelcontextprotocol/related-task"?: {
526
- taskId: string;
527
- } | undefined;
528
- } | undefined;
529
- };
530
- }, {
531
- method: string;
532
- params?: {
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?: {
533
616
  [x: string]: unknown;
534
- _meta?: {
535
- [x: string]: unknown;
536
- progressToken?: string | number | undefined;
537
- "io.modelcontextprotocol/related-task"?: {
538
- taskId: string;
539
- } | undefined;
540
- } | undefined;
541
617
  } | undefined;
542
- }>) => Promise<{
543
- [x: string]: unknown;
544
- contents: ({
545
- uri: string;
546
- text: string;
547
- mimeType?: string | undefined;
548
- _meta?: Record<string, unknown> | undefined;
549
- } | {
550
- uri: string;
551
- blob: string;
618
+ icons?: {
619
+ src: string;
552
620
  mimeType?: string | undefined;
553
- _meta?: Record<string, unknown> | undefined;
554
- })[];
621
+ sizes?: string[] | undefined;
622
+ theme?: "light" | "dark" | undefined;
623
+ }[] | undefined;
624
+ title?: string | undefined;
625
+ }[];
626
+ _meta?: {
627
+ [x: string]: unknown;
628
+ progressToken?: string | number | undefined;
629
+ "io.modelcontextprotocol/related-task"?: {
630
+ taskId: string;
631
+ } | undefined;
632
+ } | undefined;
633
+ nextCursor?: string | undefined;
634
+ }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
635
+ method: string;
636
+ params?: {
637
+ [x: string]: unknown;
555
638
  _meta?: {
556
639
  [x: string]: unknown;
557
640
  progressToken?: string | number | undefined;
@@ -559,130 +642,72 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
559
642
  taskId: string;
560
643
  } | undefined;
561
644
  } | undefined;
562
- }>;
563
- } | {
564
- requestSchema: import("zod").ZodObject<{
565
- method: import("zod").ZodLiteral<"resources/subscribe">;
566
- params: import("zod").ZodObject<{
567
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
568
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
569
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
570
- taskId: import("zod").ZodString;
571
- }, import("zod/v4/core").$strip>>;
572
- }, import("zod/v4/core").$loose>>;
573
- uri: import("zod").ZodString;
574
- }, import("zod/v4/core").$strip>;
575
- }, import("zod/v4/core").$strip>;
576
- handler: (request: import("@modelcontextprotocol/sdk/types.js").SubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
577
- method: "resources/subscribe";
578
- params: {
579
- uri: string;
580
- _meta?: {
581
- [x: string]: unknown;
582
- progressToken?: string | number | undefined;
583
- "io.modelcontextprotocol/related-task"?: {
584
- taskId: string;
585
- } | undefined;
586
- } | undefined;
587
- };
588
- }, {
589
- method: string;
590
- params?: {
645
+ } | undefined;
646
+ }> | import("./mcp-handlers.types").McpHandler<{
647
+ method: "prompts/get";
648
+ params: {
649
+ name: string;
650
+ _meta?: {
591
651
  [x: string]: unknown;
592
- _meta?: {
593
- [x: string]: unknown;
594
- progressToken?: string | number | undefined;
595
- "io.modelcontextprotocol/related-task"?: {
596
- taskId: string;
597
- } | undefined;
652
+ progressToken?: string | number | undefined;
653
+ "io.modelcontextprotocol/related-task"?: {
654
+ taskId: string;
598
655
  } | undefined;
599
656
  } | undefined;
600
- }>) => Promise<import("@modelcontextprotocol/sdk/types.js").EmptyResult>;
601
- } | {
602
- requestSchema: import("zod").ZodObject<{
603
- method: import("zod").ZodLiteral<"resources/unsubscribe">;
604
- params: import("zod").ZodObject<{
605
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
606
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
607
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
608
- taskId: import("zod").ZodString;
609
- }, import("zod/v4/core").$strip>>;
610
- }, import("zod/v4/core").$loose>>;
611
- uri: import("zod").ZodString;
612
- }, import("zod/v4/core").$strip>;
613
- }, import("zod/v4/core").$strip>;
614
- handler: (request: import("@modelcontextprotocol/sdk/types.js").UnsubscribeRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
615
- method: "resources/unsubscribe";
616
- params: {
617
- uri: string;
618
- _meta?: {
619
- [x: string]: unknown;
620
- progressToken?: string | number | undefined;
621
- "io.modelcontextprotocol/related-task"?: {
622
- taskId: string;
623
- } | undefined;
657
+ arguments?: {
658
+ [x: string]: string;
659
+ } | undefined;
660
+ };
661
+ }, {
662
+ [x: string]: unknown;
663
+ messages: {
664
+ role: "user" | "assistant";
665
+ content: {
666
+ type: "text";
667
+ text: string;
668
+ annotations?: {
669
+ audience?: ("user" | "assistant")[] | undefined;
670
+ priority?: number | undefined;
671
+ lastModified?: string | undefined;
624
672
  } | undefined;
625
- };
626
- }, {
627
- method: string;
628
- params?: {
629
- [x: string]: unknown;
630
673
  _meta?: {
631
674
  [x: string]: unknown;
632
- progressToken?: string | number | undefined;
633
- "io.modelcontextprotocol/related-task"?: {
634
- taskId: string;
635
- } | undefined;
636
675
  } | undefined;
637
- } | undefined;
638
- }>) => Promise<import("@modelcontextprotocol/sdk/types.js").EmptyResult>;
639
- } | {
640
- requestSchema: import("zod").ZodObject<{
641
- params: import("zod").ZodOptional<import("zod").ZodObject<{
642
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
643
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
644
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
645
- taskId: import("zod").ZodString;
646
- }, import("zod/v4/core").$strip>>;
647
- }, import("zod/v4/core").$loose>>;
648
- cursor: import("zod").ZodOptional<import("zod").ZodString>;
649
- }, import("zod/v4/core").$strip>>;
650
- method: import("zod").ZodLiteral<"prompts/list">;
651
- }, import("zod/v4/core").$strip>;
652
- handler: (request: import("@modelcontextprotocol/sdk/types.js").ListPromptsRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
653
- method: "prompts/list";
654
- params?: {
676
+ } | {
677
+ type: "image";
678
+ data: string;
679
+ mimeType: string;
680
+ annotations?: {
681
+ audience?: ("user" | "assistant")[] | undefined;
682
+ priority?: number | undefined;
683
+ lastModified?: string | undefined;
684
+ } | undefined;
655
685
  _meta?: {
656
686
  [x: string]: unknown;
657
- progressToken?: string | number | undefined;
658
- "io.modelcontextprotocol/related-task"?: {
659
- taskId: string;
660
- } | undefined;
661
687
  } | undefined;
662
- cursor?: string | undefined;
663
- } | undefined;
664
- }, {
665
- method: string;
666
- params?: {
667
- [x: string]: unknown;
688
+ } | {
689
+ type: "audio";
690
+ data: string;
691
+ mimeType: string;
692
+ annotations?: {
693
+ audience?: ("user" | "assistant")[] | undefined;
694
+ priority?: number | undefined;
695
+ lastModified?: string | undefined;
696
+ } | undefined;
668
697
  _meta?: {
669
698
  [x: string]: unknown;
670
- progressToken?: string | number | undefined;
671
- "io.modelcontextprotocol/related-task"?: {
672
- taskId: string;
673
- } | undefined;
674
699
  } | undefined;
675
- } | undefined;
676
- }>) => Promise<{
677
- [x: string]: unknown;
678
- prompts: {
700
+ } | {
701
+ uri: string;
679
702
  name: string;
703
+ type: "resource_link";
680
704
  description?: string | undefined;
681
- arguments?: {
682
- name: string;
683
- description?: string | undefined;
684
- required?: boolean | undefined;
685
- }[] | undefined;
705
+ mimeType?: string | undefined;
706
+ annotations?: {
707
+ audience?: ("user" | "assistant")[] | undefined;
708
+ priority?: number | undefined;
709
+ lastModified?: string | undefined;
710
+ } | undefined;
686
711
  _meta?: {
687
712
  [x: string]: unknown;
688
713
  } | undefined;
@@ -693,132 +718,45 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
693
718
  theme?: "light" | "dark" | undefined;
694
719
  }[] | undefined;
695
720
  title?: string | undefined;
696
- }[];
697
- _meta?: {
698
- [x: string]: unknown;
699
- progressToken?: string | number | undefined;
700
- "io.modelcontextprotocol/related-task"?: {
701
- taskId: string;
702
- } | undefined;
703
- } | undefined;
704
- nextCursor?: string | undefined;
705
- }>;
706
- } | {
707
- requestSchema: import("zod").ZodObject<{
708
- method: import("zod").ZodLiteral<"prompts/get">;
709
- params: import("zod").ZodObject<{
710
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
711
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
712
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
713
- taskId: import("zod").ZodString;
714
- }, import("zod/v4/core").$strip>>;
715
- }, import("zod/v4/core").$loose>>;
716
- name: import("zod").ZodString;
717
- arguments: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
718
- }, import("zod/v4/core").$strip>;
719
- }, import("zod/v4/core").$strip>;
720
- handler: (request: import("@modelcontextprotocol/sdk/types.js").GetPromptRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
721
- method: "prompts/get";
722
- params: {
723
- name: string;
724
- _meta?: {
725
- [x: string]: unknown;
726
- progressToken?: string | number | undefined;
727
- "io.modelcontextprotocol/related-task"?: {
728
- taskId: string;
729
- } | undefined;
730
- } | undefined;
731
- arguments?: {
732
- [x: string]: string;
733
- } | undefined;
734
- };
735
- }, {
736
- method: string;
737
- params?: {
738
- [x: string]: unknown;
739
- _meta?: {
740
- [x: string]: unknown;
741
- progressToken?: string | number | undefined;
742
- "io.modelcontextprotocol/related-task"?: {
743
- taskId: string;
744
- } | undefined;
745
- } | undefined;
746
- } | undefined;
747
- }>) => Promise<{
748
- [x: string]: unknown;
749
- messages: {
750
- role: "user" | "assistant";
751
- content: {
752
- type: "text";
721
+ } | {
722
+ type: "resource";
723
+ resource: {
724
+ uri: string;
753
725
  text: string;
754
- annotations?: {
755
- audience?: ("user" | "assistant")[] | undefined;
756
- priority?: number | undefined;
757
- lastModified?: string | undefined;
758
- } | undefined;
759
- _meta?: Record<string, unknown> | undefined;
760
- } | {
761
- type: "image";
762
- data: string;
763
- mimeType: string;
764
- annotations?: {
765
- audience?: ("user" | "assistant")[] | undefined;
766
- priority?: number | undefined;
767
- lastModified?: string | undefined;
768
- } | undefined;
769
- _meta?: Record<string, unknown> | undefined;
770
- } | {
771
- type: "audio";
772
- data: string;
773
- mimeType: string;
774
- annotations?: {
775
- audience?: ("user" | "assistant")[] | undefined;
776
- priority?: number | undefined;
777
- lastModified?: string | undefined;
726
+ mimeType?: string | undefined;
727
+ _meta?: {
728
+ [x: string]: unknown;
778
729
  } | undefined;
779
- _meta?: Record<string, unknown> | undefined;
780
730
  } | {
781
731
  uri: string;
782
- name: string;
783
- type: "resource_link";
784
- description?: string | undefined;
732
+ blob: string;
785
733
  mimeType?: string | undefined;
786
- annotations?: {
787
- audience?: ("user" | "assistant")[] | undefined;
788
- priority?: number | undefined;
789
- lastModified?: string | undefined;
790
- } | undefined;
791
734
  _meta?: {
792
735
  [x: string]: unknown;
793
736
  } | undefined;
794
- icons?: {
795
- src: string;
796
- mimeType?: string | undefined;
797
- sizes?: string[] | undefined;
798
- theme?: "light" | "dark" | undefined;
799
- }[] | undefined;
800
- title?: string | undefined;
801
- } | {
802
- type: "resource";
803
- resource: {
804
- uri: string;
805
- text: string;
806
- mimeType?: string | undefined;
807
- _meta?: Record<string, unknown> | undefined;
808
- } | {
809
- uri: string;
810
- blob: string;
811
- mimeType?: string | undefined;
812
- _meta?: Record<string, unknown> | undefined;
813
- };
814
- annotations?: {
815
- audience?: ("user" | "assistant")[] | undefined;
816
- priority?: number | undefined;
817
- lastModified?: string | undefined;
818
- } | undefined;
819
- _meta?: Record<string, unknown> | undefined;
820
737
  };
821
- }[];
738
+ annotations?: {
739
+ audience?: ("user" | "assistant")[] | undefined;
740
+ priority?: number | undefined;
741
+ lastModified?: string | undefined;
742
+ } | undefined;
743
+ _meta?: {
744
+ [x: string]: unknown;
745
+ } | undefined;
746
+ };
747
+ }[];
748
+ _meta?: {
749
+ [x: string]: unknown;
750
+ progressToken?: string | number | undefined;
751
+ "io.modelcontextprotocol/related-task"?: {
752
+ taskId: string;
753
+ } | undefined;
754
+ } | undefined;
755
+ description?: string | undefined;
756
+ }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
757
+ method: string;
758
+ params?: {
759
+ [x: string]: unknown;
822
760
  _meta?: {
823
761
  [x: string]: unknown;
824
762
  progressToken?: string | number | undefined;
@@ -826,81 +764,53 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
826
764
  taskId: string;
827
765
  } | undefined;
828
766
  } | undefined;
829
- description?: string | undefined;
830
- }>;
831
- } | {
832
- requestSchema: import("zod").ZodObject<{
833
- method: import("zod").ZodLiteral<"completion/complete">;
834
- params: import("zod").ZodObject<{
835
- _meta: import("zod").ZodOptional<import("zod").ZodObject<{
836
- progressToken: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
837
- "io.modelcontextprotocol/related-task": import("zod").ZodOptional<import("zod").ZodObject<{
838
- taskId: import("zod").ZodString;
839
- }, import("zod/v4/core").$strip>>;
840
- }, import("zod/v4/core").$loose>>;
841
- ref: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
842
- type: import("zod").ZodLiteral<"ref/prompt">;
843
- name: import("zod").ZodString;
844
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
845
- type: import("zod").ZodLiteral<"ref/resource">;
846
- uri: import("zod").ZodString;
847
- }, import("zod/v4/core").$strip>]>;
848
- argument: import("zod").ZodObject<{
849
- name: import("zod").ZodString;
850
- value: import("zod").ZodString;
851
- }, import("zod/v4/core").$strip>;
852
- context: import("zod").ZodOptional<import("zod").ZodObject<{
853
- arguments: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
854
- }, import("zod/v4/core").$strip>>;
855
- }, import("zod/v4/core").$strip>;
856
- }, import("zod/v4/core").$strip>;
857
- handler: (request: import("@modelcontextprotocol/sdk/types.js").CompleteRequest, ctx: import("./mcp-handlers.types").McpRequestHandler<{
858
- method: "completion/complete";
859
- params: {
860
- ref: {
861
- type: "ref/prompt";
862
- name: string;
863
- } | {
864
- type: "ref/resource";
865
- uri: string;
866
- };
867
- argument: {
868
- name: string;
869
- value: string;
870
- };
871
- _meta?: {
872
- [x: string]: unknown;
873
- progressToken?: string | number | undefined;
874
- "io.modelcontextprotocol/related-task"?: {
875
- taskId: string;
876
- } | undefined;
877
- } | undefined;
878
- context?: {
879
- arguments?: {
880
- [x: string]: string;
881
- } | undefined;
882
- } | undefined;
767
+ } | undefined;
768
+ }> | 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;
883
777
  };
884
- }, {
885
- method: string;
886
- params?: {
778
+ argument: {
779
+ name: string;
780
+ value: string;
781
+ };
782
+ _meta?: {
887
783
  [x: string]: unknown;
888
- _meta?: {
889
- [x: string]: unknown;
890
- progressToken?: string | number | undefined;
891
- "io.modelcontextprotocol/related-task"?: {
892
- taskId: string;
893
- } | undefined;
784
+ progressToken?: string | number | undefined;
785
+ "io.modelcontextprotocol/related-task"?: {
786
+ taskId: string;
894
787
  } | undefined;
895
788
  } | undefined;
896
- }>) => Promise<{
789
+ context?: {
790
+ arguments?: {
791
+ [x: string]: string;
792
+ } | undefined;
793
+ } | undefined;
794
+ };
795
+ }, {
796
+ [x: string]: unknown;
797
+ completion: {
798
+ [x: string]: unknown;
799
+ values: string[];
800
+ total?: number | undefined;
801
+ hasMore?: boolean | undefined;
802
+ };
803
+ _meta?: {
804
+ [x: string]: unknown;
805
+ progressToken?: string | number | undefined;
806
+ "io.modelcontextprotocol/related-task"?: {
807
+ taskId: string;
808
+ } | undefined;
809
+ } | undefined;
810
+ }, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
811
+ method: string;
812
+ params?: {
897
813
  [x: string]: unknown;
898
- completion: {
899
- [x: string]: unknown;
900
- values: string[];
901
- total?: number | undefined;
902
- hasMore?: boolean | undefined;
903
- };
904
814
  _meta?: {
905
815
  [x: string]: unknown;
906
816
  progressToken?: string | number | undefined;
@@ -908,8 +818,8 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
908
818
  taskId: string;
909
819
  } | undefined;
910
820
  } | undefined;
911
- }>;
912
- } | {
821
+ } | undefined;
822
+ }> | {
913
823
  requestSchema: import("zod").ZodObject<{
914
824
  method: import("zod").ZodLiteral<"logging/setLevel">;
915
825
  params: import("zod").ZodObject<{
@@ -988,5 +898,68 @@ export declare function createMcpHandlers(options: McpHandlerOptions): (import("
988
898
  } | undefined;
989
899
  } | undefined;
990
900
  } | undefined;
901
+ }> | import("./mcp-handlers.types").McpHandler<{
902
+ method: "skills/search";
903
+ params: {
904
+ query: string;
905
+ tags?: string[] | undefined;
906
+ tools?: string[] | undefined;
907
+ limit?: number | undefined;
908
+ requireAllTools?: boolean | undefined;
909
+ };
910
+ }, import("./skills-mcp.types").SkillsSearchResult, import("zod").ZodObject<any, import("zod/v4/core").$strip>, import("zod").ZodObject<any, import("zod/v4/core").$strip>, {
911
+ method: string;
912
+ params?: {
913
+ [x: string]: unknown;
914
+ _meta?: {
915
+ [x: string]: unknown;
916
+ progressToken?: string | number | undefined;
917
+ "io.modelcontextprotocol/related-task"?: {
918
+ taskId: string;
919
+ } | undefined;
920
+ } | undefined;
921
+ } | undefined;
922
+ }> | 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>, {
931
+ method: string;
932
+ params?: {
933
+ [x: string]: unknown;
934
+ _meta?: {
935
+ [x: string]: unknown;
936
+ progressToken?: string | number | undefined;
937
+ "io.modelcontextprotocol/related-task"?: {
938
+ taskId: string;
939
+ } | undefined;
940
+ } | undefined;
941
+ } | undefined;
942
+ }> | 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;
951
+ } | 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>, {
953
+ method: string;
954
+ params?: {
955
+ [x: string]: unknown;
956
+ _meta?: {
957
+ [x: string]: unknown;
958
+ progressToken?: string | number | undefined;
959
+ "io.modelcontextprotocol/related-task"?: {
960
+ taskId: string;
961
+ } | undefined;
962
+ } | undefined;
963
+ } | undefined;
991
964
  }>)[];
992
965
  //# sourceMappingURL=index.d.ts.map