@frontmcp/sdk 1.8.0 → 1.8.2

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