@frontmcp/sdk 0.7.1 → 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 (636) 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/auth-provider.entry.d.ts +1 -1
  133. package/common/entries/auth-provider.entry.d.ts.map +1 -1
  134. package/common/entries/index.d.ts +1 -0
  135. package/common/entries/index.d.ts.map +1 -1
  136. package/common/entries/prompt.entry.d.ts +0 -6
  137. package/common/entries/prompt.entry.d.ts.map +1 -1
  138. package/common/entries/provider.entry.d.ts +4 -4
  139. package/common/entries/provider.entry.d.ts.map +1 -1
  140. package/common/entries/resource.entry.d.ts +0 -6
  141. package/common/entries/resource.entry.d.ts.map +1 -1
  142. package/common/entries/scope.entry.d.ts +2 -0
  143. package/common/entries/scope.entry.d.ts.map +1 -1
  144. package/common/entries/skill.entry.d.ts +95 -0
  145. package/common/entries/skill.entry.d.ts.map +1 -0
  146. package/common/entries/tool.entry.d.ts +17 -9
  147. package/common/entries/tool.entry.d.ts.map +1 -1
  148. package/common/interfaces/agent.interface.d.ts +35 -6
  149. package/common/interfaces/agent.interface.d.ts.map +1 -1
  150. package/common/interfaces/execution-context.interface.d.ts +14 -0
  151. package/common/interfaces/execution-context.interface.d.ts.map +1 -1
  152. package/common/interfaces/index.d.ts +2 -1
  153. package/common/interfaces/index.d.ts.map +1 -1
  154. package/common/interfaces/internal/primary-auth-provider.interface.d.ts +1 -7
  155. package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -1
  156. package/common/interfaces/internal/registry.interface.d.ts +4 -1
  157. package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
  158. package/common/interfaces/skill.interface.d.ts +91 -0
  159. package/common/interfaces/skill.interface.d.ts.map +1 -0
  160. package/common/interfaces/tool.interface.d.ts +39 -0
  161. package/common/interfaces/tool.interface.d.ts.map +1 -1
  162. package/common/metadata/agent.metadata.d.ts +62 -2
  163. package/common/metadata/agent.metadata.d.ts.map +1 -1
  164. package/common/metadata/app.metadata.d.ts +168 -169
  165. package/common/metadata/app.metadata.d.ts.map +1 -1
  166. package/common/metadata/front-mcp.metadata.d.ts +2182 -721
  167. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  168. package/common/metadata/index.d.ts +3 -1
  169. package/common/metadata/index.d.ts.map +1 -1
  170. package/common/metadata/plugin.metadata.d.ts +8 -1
  171. package/common/metadata/plugin.metadata.d.ts.map +1 -1
  172. package/common/metadata/skill.metadata.d.ts +366 -0
  173. package/common/metadata/skill.metadata.d.ts.map +1 -0
  174. package/common/metadata/tool.metadata.d.ts +71 -0
  175. package/common/metadata/tool.metadata.d.ts.map +1 -1
  176. package/common/records/index.d.ts +3 -1
  177. package/common/records/index.d.ts.map +1 -1
  178. package/common/records/skill.record.d.ts +55 -0
  179. package/common/records/skill.record.d.ts.map +1 -0
  180. package/common/schemas/annotated-class.schema.d.ts +1 -0
  181. package/common/schemas/annotated-class.schema.d.ts.map +1 -1
  182. package/common/schemas/http-output.schema.d.ts +24 -24
  183. package/common/tokens/app.tokens.d.ts.map +1 -1
  184. package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
  185. package/common/tokens/index.d.ts +1 -0
  186. package/common/tokens/index.d.ts.map +1 -1
  187. package/common/tokens/plugin.tokens.d.ts +1 -0
  188. package/common/tokens/plugin.tokens.d.ts.map +1 -1
  189. package/common/tokens/skill.tokens.d.ts +18 -0
  190. package/common/tokens/skill.tokens.d.ts.map +1 -0
  191. package/common/tokens/tool.tokens.d.ts +2 -0
  192. package/common/tokens/tool.tokens.d.ts.map +1 -1
  193. package/common/types/auth/session.types.d.ts +21 -0
  194. package/common/types/auth/session.types.d.ts.map +1 -1
  195. package/common/types/options/auth/app-auth.schema.d.ts +80 -84
  196. package/common/types/options/auth/app-auth.schema.d.ts.map +1 -1
  197. package/common/types/options/auth/index.d.ts +6 -8
  198. package/common/types/options/auth/index.d.ts.map +1 -1
  199. package/common/types/options/auth/{auth.interfaces.d.ts → interfaces.d.ts} +17 -48
  200. package/common/types/options/auth/interfaces.d.ts.map +1 -0
  201. package/common/types/options/auth/orchestrated.schema.d.ts +160 -84
  202. package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -1
  203. package/common/types/options/auth/public.schema.d.ts +0 -21
  204. package/common/types/options/auth/public.schema.d.ts.map +1 -1
  205. package/common/types/options/auth/{auth.schema.d.ts → schema.d.ts} +81 -85
  206. package/common/types/options/auth/schema.d.ts.map +1 -0
  207. package/common/types/options/auth/shared.schemas.d.ts +12 -0
  208. package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
  209. package/common/types/options/auth/transparent.schema.d.ts +0 -21
  210. package/common/types/options/auth/transparent.schema.d.ts.map +1 -1
  211. package/common/types/options/auth/typecheck.d.ts +2 -0
  212. package/common/types/options/auth/typecheck.d.ts.map +1 -0
  213. package/common/types/options/auth/{auth.utils.d.ts → utils.d.ts} +2 -2
  214. package/common/types/options/auth/utils.d.ts.map +1 -0
  215. package/common/types/options/elicitation/index.d.ts +4 -0
  216. package/common/types/options/elicitation/index.d.ts.map +1 -0
  217. package/common/types/options/elicitation/interfaces.d.ts +80 -0
  218. package/common/types/options/elicitation/interfaces.d.ts.map +1 -0
  219. package/common/types/options/elicitation/schema.d.ts +75 -0
  220. package/common/types/options/elicitation/schema.d.ts.map +1 -0
  221. package/common/types/options/ext-apps/index.d.ts +3 -0
  222. package/common/types/options/ext-apps/index.d.ts.map +1 -0
  223. package/common/types/options/ext-apps/interfaces.d.ts +2 -0
  224. package/common/types/options/ext-apps/interfaces.d.ts.map +1 -0
  225. package/common/types/options/ext-apps/schema.d.ts +80 -0
  226. package/common/types/options/ext-apps/schema.d.ts.map +1 -0
  227. package/common/types/options/http/index.d.ts +4 -0
  228. package/common/types/options/http/index.d.ts.map +1 -0
  229. package/common/types/options/http/interfaces.d.ts +23 -0
  230. package/common/types/options/http/interfaces.d.ts.map +1 -0
  231. package/common/types/options/http/schema.d.ts +18 -0
  232. package/common/types/options/http/schema.d.ts.map +1 -0
  233. package/common/types/options/index.d.ts +10 -6
  234. package/common/types/options/index.d.ts.map +1 -1
  235. package/common/types/options/logging/index.d.ts +5 -0
  236. package/common/types/options/logging/index.d.ts.map +1 -0
  237. package/common/types/options/logging/interfaces.d.ts +41 -0
  238. package/common/types/options/logging/interfaces.d.ts.map +1 -0
  239. package/common/types/options/logging/schema.d.ts +24 -0
  240. package/common/types/options/logging/schema.d.ts.map +1 -0
  241. package/common/types/options/pagination/index.d.ts +4 -0
  242. package/common/types/options/pagination/index.d.ts.map +1 -0
  243. package/common/types/options/pagination/interfaces.d.ts +43 -0
  244. package/common/types/options/pagination/interfaces.d.ts.map +1 -0
  245. package/common/types/options/pagination/schema.d.ts +41 -0
  246. package/common/types/options/pagination/schema.d.ts.map +1 -0
  247. package/common/types/options/redis/index.d.ts +4 -0
  248. package/common/types/options/redis/index.d.ts.map +1 -0
  249. package/common/types/options/redis/interfaces.d.ts +81 -0
  250. package/common/types/options/redis/interfaces.d.ts.map +1 -0
  251. package/common/types/options/{redis.options.d.ts → redis/schema.d.ts} +2 -2
  252. package/common/types/options/redis/schema.d.ts.map +1 -0
  253. package/common/types/options/server-info/index.d.ts +4 -0
  254. package/common/types/options/server-info/index.d.ts.map +1 -0
  255. package/common/types/options/server-info/interfaces.d.ts +27 -0
  256. package/common/types/options/server-info/interfaces.d.ts.map +1 -0
  257. package/common/types/options/{server-info.options.d.ts → server-info/schema.d.ts} +13 -10
  258. package/common/types/options/server-info/schema.d.ts.map +1 -0
  259. package/common/types/options/session/index.d.ts +4 -0
  260. package/common/types/options/session/index.d.ts.map +1 -0
  261. package/common/types/options/session/interfaces.d.ts +66 -0
  262. package/common/types/options/session/interfaces.d.ts.map +1 -0
  263. package/common/types/options/session/schema.d.ts +79 -0
  264. package/common/types/options/session/schema.d.ts.map +1 -0
  265. package/common/types/options/skills-http/index.d.ts +4 -0
  266. package/common/types/options/skills-http/index.d.ts.map +1 -0
  267. package/common/types/options/skills-http/interfaces.d.ts +321 -0
  268. package/common/types/options/skills-http/interfaces.d.ts.map +1 -0
  269. package/common/types/options/skills-http/schema.d.ts +139 -0
  270. package/common/types/options/skills-http/schema.d.ts.map +1 -0
  271. package/common/types/options/transport/index.d.ts +4 -0
  272. package/common/types/options/transport/index.d.ts.map +1 -0
  273. package/common/types/options/transport/interfaces.d.ts +354 -0
  274. package/common/types/options/transport/interfaces.d.ts.map +1 -0
  275. package/common/types/options/transport/schema.d.ts +309 -0
  276. package/common/types/options/transport/schema.d.ts.map +1 -0
  277. package/common/types/options/transport/typecheck.d.ts +2 -0
  278. package/common/types/options/transport/typecheck.d.ts.map +1 -0
  279. package/common/utils/decide-request-intent.utils.d.ts +3 -3
  280. package/common/utils/decide-request-intent.utils.d.ts.map +1 -1
  281. package/context/context-extension.d.ts +1 -28
  282. package/context/context-extension.d.ts.map +1 -1
  283. package/context/frontmcp-context-storage.d.ts.map +1 -1
  284. package/context/frontmcp-context.d.ts +36 -39
  285. package/context/frontmcp-context.d.ts.map +1 -1
  286. package/context/frontmcp-context.provider.d.ts +3 -9
  287. package/context/frontmcp-context.provider.d.ts.map +1 -1
  288. package/context/index.d.ts +5 -20
  289. package/context/index.d.ts.map +1 -1
  290. package/context/metadata.utils.d.ts +24 -0
  291. package/context/metadata.utils.d.ts.map +1 -0
  292. package/direct/client.types.d.ts +447 -0
  293. package/direct/client.types.d.ts.map +1 -0
  294. package/direct/connect.d.ts +188 -0
  295. package/direct/connect.d.ts.map +1 -0
  296. package/direct/direct-client.d.ts +7 -0
  297. package/direct/direct-client.d.ts.map +1 -0
  298. package/direct/direct-server.d.ts +38 -0
  299. package/direct/direct-server.d.ts.map +1 -0
  300. package/direct/direct.types.d.ts +134 -0
  301. package/direct/direct.types.d.ts.map +1 -0
  302. package/direct/index.d.ts +15 -0
  303. package/direct/index.d.ts.map +1 -0
  304. package/direct/llm-platform.d.ts +94 -0
  305. package/direct/llm-platform.d.ts.map +1 -0
  306. package/elicitation/elicitation-fallback.schema.d.ts +32 -0
  307. package/elicitation/elicitation-fallback.schema.d.ts.map +1 -0
  308. package/elicitation/elicitation.types.d.ts +160 -0
  309. package/elicitation/elicitation.types.d.ts.map +1 -0
  310. package/elicitation/flows/elicitation-request.flow.d.ts +98 -0
  311. package/elicitation/flows/elicitation-request.flow.d.ts.map +1 -0
  312. package/elicitation/flows/elicitation-result.flow.d.ts +79 -0
  313. package/elicitation/flows/elicitation-result.flow.d.ts.map +1 -0
  314. package/elicitation/flows/index.d.ts +10 -0
  315. package/elicitation/flows/index.d.ts.map +1 -0
  316. package/elicitation/helpers/elicit.helper.d.ts +65 -0
  317. package/elicitation/helpers/elicit.helper.d.ts.map +1 -0
  318. package/elicitation/helpers/extend-output-schema.d.ts +31 -0
  319. package/elicitation/helpers/extend-output-schema.d.ts.map +1 -0
  320. package/elicitation/helpers/fallback.helper.d.ts +60 -0
  321. package/elicitation/helpers/fallback.helper.d.ts.map +1 -0
  322. package/elicitation/helpers/index.d.ts +12 -0
  323. package/elicitation/helpers/index.d.ts.map +1 -0
  324. package/elicitation/helpers/validate-elicitation-content.d.ts +52 -0
  325. package/elicitation/helpers/validate-elicitation-content.d.ts.map +1 -0
  326. package/elicitation/hooks/elicitation.hooks.d.ts +66 -0
  327. package/elicitation/hooks/elicitation.hooks.d.ts.map +1 -0
  328. package/elicitation/hooks/index.d.ts +9 -0
  329. package/elicitation/hooks/index.d.ts.map +1 -0
  330. package/elicitation/index.d.ts +18 -0
  331. package/elicitation/index.d.ts.map +1 -0
  332. package/elicitation/send-elicitation-result.tool.d.ts +18 -0
  333. package/elicitation/send-elicitation-result.tool.d.ts.map +1 -0
  334. package/elicitation/store/elicitation-encryption.d.ts +134 -0
  335. package/elicitation/store/elicitation-encryption.d.ts.map +1 -0
  336. package/elicitation/store/elicitation-store.factory.d.ts +197 -0
  337. package/elicitation/store/elicitation-store.factory.d.ts.map +1 -0
  338. package/elicitation/store/elicitation.store.d.ts +191 -0
  339. package/elicitation/store/elicitation.store.d.ts.map +1 -0
  340. package/elicitation/store/encrypted-elicitation.store.d.ts +121 -0
  341. package/elicitation/store/encrypted-elicitation.store.d.ts.map +1 -0
  342. package/elicitation/store/index.d.ts +14 -0
  343. package/elicitation/store/index.d.ts.map +1 -0
  344. package/elicitation/store/storage-elicitation.store.d.ts +118 -0
  345. package/elicitation/store/storage-elicitation.store.d.ts.map +1 -0
  346. package/errors/elicitation.error.d.ts +115 -0
  347. package/errors/elicitation.error.d.ts.map +1 -0
  348. package/errors/index.d.ts +1 -0
  349. package/errors/index.d.ts.map +1 -1
  350. package/esm/index.mjs +30803 -19559
  351. package/esm/package.json +13 -7
  352. package/ext-apps/ext-apps.handler.d.ts +177 -0
  353. package/ext-apps/ext-apps.handler.d.ts.map +1 -0
  354. package/ext-apps/ext-apps.types.d.ts +273 -0
  355. package/ext-apps/ext-apps.types.d.ts.map +1 -0
  356. package/ext-apps/index.d.ts +13 -0
  357. package/ext-apps/index.d.ts.map +1 -0
  358. package/flows/flow.instance.d.ts.map +1 -1
  359. package/front-mcp/front-mcp.d.ts +64 -2
  360. package/front-mcp/front-mcp.d.ts.map +1 -1
  361. package/front-mcp/front-mcp.providers.d.ts +604 -236
  362. package/front-mcp/front-mcp.providers.d.ts.map +1 -1
  363. package/index.d.ts +17 -0
  364. package/index.d.ts.map +1 -1
  365. package/index.js +31065 -19748
  366. package/notification/index.d.ts +1 -1
  367. package/notification/index.d.ts.map +1 -1
  368. package/notification/notification.service.d.ts +18 -0
  369. package/notification/notification.service.d.ts.map +1 -1
  370. package/package.json +13 -7
  371. package/plugin/plugin.registry.d.ts +2 -0
  372. package/plugin/plugin.registry.d.ts.map +1 -1
  373. package/provider/provider.registry.d.ts +8 -3
  374. package/provider/provider.registry.d.ts.map +1 -1
  375. package/provider/provider.utils.d.ts +1 -1
  376. package/provider/provider.utils.d.ts.map +1 -1
  377. package/scope/flows/http.request.flow.d.ts +4 -0
  378. package/scope/flows/http.request.flow.d.ts.map +1 -1
  379. package/scope/scope.instance.d.ts +74 -0
  380. package/scope/scope.instance.d.ts.map +1 -1
  381. package/server/server.instance.d.ts +3 -3
  382. package/server/server.instance.d.ts.map +1 -1
  383. package/skill/auth/index.d.ts +10 -0
  384. package/skill/auth/index.d.ts.map +1 -0
  385. package/skill/auth/skill-http-auth.d.ts +112 -0
  386. package/skill/auth/skill-http-auth.d.ts.map +1 -0
  387. package/skill/cache/index.d.ts +13 -0
  388. package/skill/cache/index.d.ts.map +1 -0
  389. package/skill/cache/skill-http-cache.d.ts +144 -0
  390. package/skill/cache/skill-http-cache.d.ts.map +1 -0
  391. package/skill/cache/skill-http-cache.factory.d.ts +83 -0
  392. package/skill/cache/skill-http-cache.factory.d.ts.map +1 -0
  393. package/skill/cache/skill-http-cache.holder.d.ts +35 -0
  394. package/skill/cache/skill-http-cache.holder.d.ts.map +1 -0
  395. package/skill/errors/index.d.ts +3 -0
  396. package/skill/errors/index.d.ts.map +1 -0
  397. package/skill/errors/skill-validation.error.d.ts +110 -0
  398. package/skill/errors/skill-validation.error.d.ts.map +1 -0
  399. package/skill/errors/tool-not-allowed.error.d.ts +66 -0
  400. package/skill/errors/tool-not-allowed.error.d.ts.map +1 -0
  401. package/skill/flows/http/index.d.ts +12 -0
  402. package/skill/flows/http/index.d.ts.map +1 -0
  403. package/skill/flows/http/llm-full-txt.flow.d.ts +70 -0
  404. package/skill/flows/http/llm-full-txt.flow.d.ts.map +1 -0
  405. package/skill/flows/http/llm-txt.flow.d.ts +77 -0
  406. package/skill/flows/http/llm-txt.flow.d.ts.map +1 -0
  407. package/skill/flows/http/skills-api.flow.d.ts +81 -0
  408. package/skill/flows/http/skills-api.flow.d.ts.map +1 -0
  409. package/skill/flows/index.d.ts +13 -0
  410. package/skill/flows/index.d.ts.map +1 -0
  411. package/skill/flows/load-skill.flow.d.ts +169 -0
  412. package/skill/flows/load-skill.flow.d.ts.map +1 -0
  413. package/skill/flows/search-skills.flow.d.ts +101 -0
  414. package/skill/flows/search-skills.flow.d.ts.map +1 -0
  415. package/skill/guards/index.d.ts +2 -0
  416. package/skill/guards/index.d.ts.map +1 -0
  417. package/skill/guards/tool-authorization.guard.d.ts +87 -0
  418. package/skill/guards/tool-authorization.guard.d.ts.map +1 -0
  419. package/skill/hooks/index.d.ts +2 -0
  420. package/skill/hooks/index.d.ts.map +1 -0
  421. package/skill/hooks/skill-tool.hook.d.ts +52 -0
  422. package/skill/hooks/skill-tool.hook.d.ts.map +1 -0
  423. package/skill/index.d.ts +74 -0
  424. package/skill/index.d.ts.map +1 -0
  425. package/skill/providers/external-skill.provider.d.ts +240 -0
  426. package/skill/providers/external-skill.provider.d.ts.map +1 -0
  427. package/skill/providers/index.d.ts +12 -0
  428. package/skill/providers/index.d.ts.map +1 -0
  429. package/skill/providers/memory-skill.provider.d.ts +97 -0
  430. package/skill/providers/memory-skill.provider.d.ts.map +1 -0
  431. package/skill/session/index.d.ts +4 -0
  432. package/skill/session/index.d.ts.map +1 -0
  433. package/skill/session/skill-session-store.interface.d.ts +79 -0
  434. package/skill/session/skill-session-store.interface.d.ts.map +1 -0
  435. package/skill/session/skill-session.manager.d.ts +137 -0
  436. package/skill/session/skill-session.manager.d.ts.map +1 -0
  437. package/skill/session/skill-session.types.d.ts +303 -0
  438. package/skill/session/skill-session.types.d.ts.map +1 -0
  439. package/skill/skill-http.utils.d.ts +107 -0
  440. package/skill/skill-http.utils.d.ts.map +1 -0
  441. package/skill/skill-mode.utils.d.ts +53 -0
  442. package/skill/skill-mode.utils.d.ts.map +1 -0
  443. package/skill/skill-scope.helper.d.ts +55 -0
  444. package/skill/skill-scope.helper.d.ts.map +1 -0
  445. package/skill/skill-storage.factory.d.ts +194 -0
  446. package/skill/skill-storage.factory.d.ts.map +1 -0
  447. package/skill/skill-storage.interface.d.ts +230 -0
  448. package/skill/skill-storage.interface.d.ts.map +1 -0
  449. package/skill/skill-validator.d.ts +63 -0
  450. package/skill/skill-validator.d.ts.map +1 -0
  451. package/skill/skill.events.d.ts +88 -0
  452. package/skill/skill.events.d.ts.map +1 -0
  453. package/skill/skill.instance.d.ts +92 -0
  454. package/skill/skill.instance.d.ts.map +1 -0
  455. package/skill/skill.registry.d.ts +309 -0
  456. package/skill/skill.registry.d.ts.map +1 -0
  457. package/skill/skill.utils.d.ts +90 -0
  458. package/skill/skill.utils.d.ts.map +1 -0
  459. package/skill/sync/index.d.ts +16 -0
  460. package/skill/sync/index.d.ts.map +1 -0
  461. package/skill/sync/memory-sync-state.store.d.ts +49 -0
  462. package/skill/sync/memory-sync-state.store.d.ts.map +1 -0
  463. package/skill/sync/skill-hash.d.ts +65 -0
  464. package/skill/sync/skill-hash.d.ts.map +1 -0
  465. package/skill/sync/sync-state.interface.d.ts +125 -0
  466. package/skill/sync/sync-state.interface.d.ts.map +1 -0
  467. package/skill/tools/index.d.ts +21 -0
  468. package/skill/tools/index.d.ts.map +1 -0
  469. package/skill/tools/load-skills.tool.d.ts +76 -0
  470. package/skill/tools/load-skills.tool.d.ts.map +1 -0
  471. package/skill/tools/search-skills.tool.d.ts +61 -0
  472. package/skill/tools/search-skills.tool.d.ts.map +1 -0
  473. package/tool/flows/call-tool.flow.d.ts +1 -0
  474. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  475. package/tool/flows/tools-list.flow.d.ts +15 -0
  476. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  477. package/tool/tool.instance.d.ts +8 -0
  478. package/tool/tool.instance.d.ts.map +1 -1
  479. package/tool/tool.registry.d.ts +11 -0
  480. package/tool/tool.registry.d.ts.map +1 -1
  481. package/tool/tool.utils.d.ts.map +1 -1
  482. package/tool/ui/template-helpers.d.ts +0 -5
  483. package/tool/ui/template-helpers.d.ts.map +1 -1
  484. package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
  485. package/transport/adapters/transport.local.adapter.d.ts +54 -9
  486. package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
  487. package/transport/adapters/transport.sse.adapter.d.ts +11 -2
  488. package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
  489. package/transport/adapters/transport.streamable-http.adapter.d.ts +21 -2
  490. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
  491. package/transport/event-stores/event-store.factory.d.ts +96 -0
  492. package/transport/event-stores/event-store.factory.d.ts.map +1 -0
  493. package/transport/event-stores/index.d.ts +47 -0
  494. package/transport/event-stores/index.d.ts.map +1 -0
  495. package/transport/event-stores/memory.event-store.d.ts +51 -0
  496. package/transport/event-stores/memory.event-store.d.ts.map +1 -0
  497. package/transport/event-stores/redis.event-store.d.ts +79 -0
  498. package/transport/event-stores/redis.event-store.d.ts.map +1 -0
  499. package/transport/flows/handle.sse.flow.d.ts.map +1 -1
  500. package/transport/flows/handle.streamable-http.flow.d.ts +3 -1
  501. package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -1
  502. package/transport/in-memory-server.d.ts +85 -0
  503. package/transport/in-memory-server.d.ts.map +1 -0
  504. package/transport/index.d.ts +47 -0
  505. package/transport/index.d.ts.map +1 -1
  506. package/transport/mcp-handlers/complete-request.handler.d.ts +3 -84
  507. package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -1
  508. package/transport/mcp-handlers/get-prompt-request.handler.d.ts +3 -128
  509. package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -1
  510. package/transport/mcp-handlers/index.d.ts +463 -490
  511. package/transport/mcp-handlers/index.d.ts.map +1 -1
  512. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
  513. package/transport/mcp-handlers/list-prompts-request.handler.d.ts +3 -70
  514. package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -1
  515. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +3 -72
  516. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -1
  517. package/transport/mcp-handlers/list-resources-request.handler.d.ts +3 -72
  518. package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -1
  519. package/transport/mcp-handlers/list-tools-request.handler.d.ts +3 -85
  520. package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -1
  521. package/transport/mcp-handlers/read-resource-request.handler.d.ts +3 -61
  522. package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
  523. package/transport/mcp-handlers/skills-list-request.handler.d.ts +9 -0
  524. package/transport/mcp-handlers/skills-list-request.handler.d.ts.map +1 -0
  525. package/transport/mcp-handlers/skills-load-request.handler.d.ts +9 -0
  526. package/transport/mcp-handlers/skills-load-request.handler.d.ts.map +1 -0
  527. package/transport/mcp-handlers/skills-mcp.types.d.ts +157 -0
  528. package/transport/mcp-handlers/skills-mcp.types.d.ts.map +1 -0
  529. package/transport/mcp-handlers/skills-search-request.handler.d.ts +9 -0
  530. package/transport/mcp-handlers/skills-search-request.handler.d.ts.map +1 -0
  531. package/transport/transport.registry.d.ts +9 -1
  532. package/transport/transport.registry.d.ts.map +1 -1
  533. package/transport/transport.types.d.ts +1 -8
  534. package/transport/transport.types.d.ts.map +1 -1
  535. package/auth/jwks/dev-key-persistence.d.ts +0 -64
  536. package/auth/jwks/dev-key-persistence.d.ts.map +0 -1
  537. package/auth/jwks/index.d.ts +0 -4
  538. package/auth/jwks/index.d.ts.map +0 -1
  539. package/auth/jwks/jwks.service.d.ts +0 -58
  540. package/auth/jwks/jwks.service.d.ts.map +0 -1
  541. package/auth/jwks/jwks.types.d.ts +0 -33
  542. package/auth/jwks/jwks.types.d.ts.map +0 -1
  543. package/auth/jwks/jwks.utils.d.ts +0 -5
  544. package/auth/jwks/jwks.utils.d.ts.map +0 -1
  545. package/auth/oauth/flows/oauth.authorize.flow.d.ts +0 -32
  546. package/auth/oauth/flows/oauth.authorize.flow.d.ts.map +0 -1
  547. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts +0 -47
  548. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts.map +0 -1
  549. package/auth/oauth/flows/oauth.introspect.flow.d.ts +0 -27
  550. package/auth/oauth/flows/oauth.introspect.flow.d.ts.map +0 -1
  551. package/auth/oauth/flows/oauth.par.flow.d.ts +0 -28
  552. package/auth/oauth/flows/oauth.par.flow.d.ts.map +0 -1
  553. package/auth/oauth/flows/oauth.revoke.flow.d.ts +0 -26
  554. package/auth/oauth/flows/oauth.revoke.flow.d.ts.map +0 -1
  555. package/auth/oauth/flows/oauth.token.flow.d.ts +0 -58
  556. package/auth/oauth/flows/oauth.token.flow.d.ts.map +0 -1
  557. package/auth/oauth/flows/oauth.userinfo.flow.d.ts +0 -23
  558. package/auth/oauth/flows/oauth.userinfo.flow.d.ts.map +0 -1
  559. package/auth/oauth/flows/oidc.logout.flow.d.ts +0 -19
  560. package/auth/oauth/flows/oidc.logout.flow.d.ts.map +0 -1
  561. package/auth/session/authorization-vault.d.ts +0 -612
  562. package/auth/session/authorization-vault.d.ts.map +0 -1
  563. package/auth/session/authorization.store.d.ts +0 -302
  564. package/auth/session/authorization.store.d.ts.map +0 -1
  565. package/auth/session/record/session.stateful.d.ts +0 -21
  566. package/auth/session/record/session.stateful.d.ts.map +0 -1
  567. package/auth/session/record/session.stateless.d.ts +0 -18
  568. package/auth/session/record/session.stateless.d.ts.map +0 -1
  569. package/auth/session/record/session.transparent.d.ts +0 -18
  570. package/auth/session/record/session.transparent.d.ts.map +0 -1
  571. package/auth/session/session.crypto.d.ts +0 -8
  572. package/auth/session/session.crypto.d.ts.map +0 -1
  573. package/auth/session/session.schema.d.ts +0 -6
  574. package/auth/session/session.schema.d.ts.map +0 -1
  575. package/auth/session/token.store.d.ts +0 -36
  576. package/auth/session/token.store.d.ts.map +0 -1
  577. package/auth/session/token.vault.d.ts +0 -27
  578. package/auth/session/token.vault.d.ts.map +0 -1
  579. package/auth/session/vault-encryption.d.ts +0 -190
  580. package/auth/session/vault-encryption.d.ts.map +0 -1
  581. package/auth/utils/audience.validator.d.ts +0 -130
  582. package/auth/utils/audience.validator.d.ts.map +0 -1
  583. package/auth/utils/www-authenticate.utils.d.ts +0 -98
  584. package/auth/utils/www-authenticate.utils.d.ts.map +0 -1
  585. package/common/migrate/auth-transport.migrate.d.ts +0 -63
  586. package/common/migrate/auth-transport.migrate.d.ts.map +0 -1
  587. package/common/migrate/index.d.ts +0 -2
  588. package/common/migrate/index.d.ts.map +0 -1
  589. package/common/types/options/auth/auth.interfaces.d.ts.map +0 -1
  590. package/common/types/options/auth/auth.schema.d.ts.map +0 -1
  591. package/common/types/options/auth/auth.typecheck.d.ts +0 -2
  592. package/common/types/options/auth/auth.typecheck.d.ts.map +0 -1
  593. package/common/types/options/auth/auth.utils.d.ts.map +0 -1
  594. package/common/types/options/auth/transport.deprecated.d.ts +0 -64
  595. package/common/types/options/auth/transport.deprecated.d.ts.map +0 -1
  596. package/common/types/options/http.options.d.ts +0 -15
  597. package/common/types/options/http.options.d.ts.map +0 -1
  598. package/common/types/options/logging.options.d.ts +0 -29
  599. package/common/types/options/logging.options.d.ts.map +0 -1
  600. package/common/types/options/redis.options.d.ts.map +0 -1
  601. package/common/types/options/server-info.options.d.ts.map +0 -1
  602. package/common/types/options/session.options.d.ts +0 -148
  603. package/common/types/options/session.options.d.ts.map +0 -1
  604. package/common/types/options/transport.options.d.ts +0 -178
  605. package/common/types/options/transport.options.d.ts.map +0 -1
  606. package/context/request-context-storage.d.ts +0 -90
  607. package/context/request-context-storage.d.ts.map +0 -1
  608. package/context/request-context.d.ts +0 -185
  609. package/context/request-context.d.ts.map +0 -1
  610. package/context/request-context.provider.d.ts +0 -38
  611. package/context/request-context.provider.d.ts.map +0 -1
  612. package/context/session-key.provider.d.ts +0 -46
  613. package/context/session-key.provider.d.ts.map +0 -1
  614. package/store/adapters/store.base.adapter.d.ts +0 -22
  615. package/store/adapters/store.base.adapter.d.ts.map +0 -1
  616. package/store/adapters/store.memory.adapter.d.ts +0 -27
  617. package/store/adapters/store.memory.adapter.d.ts.map +0 -1
  618. package/store/adapters/store.redis.adapter.d.ts +0 -34
  619. package/store/adapters/store.redis.adapter.d.ts.map +0 -1
  620. package/store/adapters/store.vercel-kv.adapter.d.ts +0 -87
  621. package/store/adapters/store.vercel-kv.adapter.d.ts.map +0 -1
  622. package/store/index.d.ts +0 -11
  623. package/store/index.d.ts.map +0 -1
  624. package/store/store.factory.d.ts.map +0 -1
  625. package/store/store.helpers.d.ts +0 -10
  626. package/store/store.helpers.d.ts.map +0 -1
  627. package/store/store.registry.d.ts +0 -14
  628. package/store/store.registry.d.ts.map +0 -1
  629. package/store/store.tokens.d.ts +0 -4
  630. package/store/store.tokens.d.ts.map +0 -1
  631. package/store/store.types.d.ts +0 -65
  632. package/store/store.types.d.ts.map +0 -1
  633. package/store/store.utils.d.ts +0 -9
  634. package/store/store.utils.d.ts.map +0 -1
  635. package/transport/transport.event-store.d.ts +0 -11
  636. package/transport/transport.event-store.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"front-mcp.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/front-mcp.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,WAAW,EAEX,cAAc,EAEd,iBAAiB,EAEjB,WAAW,EAEX,cAAc,EAGd,gBAAgB,EAChB,iBAAiB,EAEjB,kBAAkB,EAElB,qBAAqB,EAEtB,MAAM,UAAU,CAAC;AAQlB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE1F,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAE1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAE5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEnB;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;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mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEzE,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,0BAA0B,EAAE,MAAM,GAAG,YAAY,CAAC;IAC/F,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACrE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,EAAE,CAAC;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,qBAAqB,CAAC"}
@@ -1,4 +1,5 @@
1
- export { ProviderScope, ProviderMetadata } from '@frontmcp/di';
1
+ export { ProviderScope } from '@frontmcp/di';
2
+ export type { ProviderMetadata } from '@frontmcp/di';
2
3
  export * from './front-mcp.metadata';
3
4
  export * from './flow.metadata';
4
5
  export * from './hook.metadata';
@@ -13,4 +14,5 @@ export * from './resource.metadata';
13
14
  export * from './prompt.metadata';
14
15
  export * from './logger.metadata';
15
16
  export * from './agent.metadata';
17
+ export * from './skill.metadata';
16
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAE/D,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { Token } from '@frontmcp/di';
3
- import { ProviderType, PluginType, AdapterType, ToolType, ResourceType, PromptType } from '../interfaces';
3
+ import { ProviderType, PluginType, AdapterType, ToolType, ResourceType, PromptType, SkillType } from '../interfaces';
4
4
  /**
5
5
  * Context extension declaration for plugins.
6
6
  * Allows plugins to add properties to ExecutionContextBase (ToolContext, etc.)
@@ -90,6 +90,12 @@ export interface PluginMetadata {
90
90
  tools?: ToolType[];
91
91
  resources?: ResourceType[];
92
92
  prompts?: PromptType[];
93
+ /**
94
+ * Plugin-scoped Skills that teach AI how to perform multi-step tasks.
95
+ * Skills are workflow guides that combine tools into coherent recipes.
96
+ * They can be discovered via searchSkills and loaded via loadSkill.
97
+ */
98
+ skills?: SkillType[];
93
99
  /**
94
100
  * Determines where plugin hooks are registered:
95
101
  * - 'app' (default): Hooks fire only for requests to this app
@@ -125,6 +131,7 @@ export declare const frontMcpPluginMetadataSchema: z.ZodObject<{
125
131
  tools: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
126
132
  resources: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
127
133
  prompts: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
134
+ skills: z.ZodOptional<z.ZodArray<z.ZodCustom<import("@frontmcp/di").Type<unknown>, import("@frontmcp/di").Type<unknown>>>>;
128
135
  scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
129
136
  app: "app";
130
137
  server: "server";
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/plugin.metadata.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU1G;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAEtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;I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CAAC;IAErB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IAEzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IAEvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB;;;;OAIG;IACH,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEnB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAE3B,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IAEvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAErB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAEzB;;;;;;;;;;;;;OAaG;IACH,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACxC;AAWD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;iBAgBzB,CAAC"}
@@ -0,0 +1,366 @@
1
+ import { z } from 'zod';
2
+ import { Type } from '@frontmcp/di';
3
+ import type { ToolContext } from '../interfaces';
4
+ declare global {
5
+ /**
6
+ * Declarative metadata extends to the Skill decorator.
7
+ */
8
+ interface ExtendFrontMcpSkillMetadata {
9
+ }
10
+ }
11
+ /**
12
+ * Reference to a tool used by a skill.
13
+ * Can be a simple string (tool name), a tool class, or a detailed reference with purpose.
14
+ */
15
+ export interface SkillToolRef {
16
+ /**
17
+ * The name of the tool being referenced.
18
+ */
19
+ name: string;
20
+ /**
21
+ * Optional description of why/how this tool is used in the skill.
22
+ * Helps LLMs understand the tool's role in the workflow.
23
+ */
24
+ purpose?: string;
25
+ /**
26
+ * Whether this tool is required for the skill to function.
27
+ * If true and the tool is missing, skill execution may fail.
28
+ * Default: false
29
+ */
30
+ required?: boolean;
31
+ }
32
+ /**
33
+ * Input type for tool references in skill metadata.
34
+ * Supports:
35
+ * - Tool class (recommended): Automatically extracts tool name from decorated class
36
+ * - String: Tool name directly (useful for dynamic/external tools)
37
+ * - SkillToolRef: Detailed reference with purpose and required flag
38
+ */
39
+ export type SkillToolInput = string | Type<ToolContext> | SkillToolRef | SkillToolRefWithClass;
40
+ /**
41
+ * Detailed tool reference that includes a class for automatic name extraction.
42
+ */
43
+ export interface SkillToolRefWithClass {
44
+ /**
45
+ * The tool class decorated with @Tool.
46
+ * The tool name will be extracted automatically.
47
+ */
48
+ tool: Type<ToolContext>;
49
+ /**
50
+ * Optional description of why/how this tool is used in the skill.
51
+ */
52
+ purpose?: string;
53
+ /**
54
+ * Whether this tool is required for the skill to function.
55
+ */
56
+ required?: boolean;
57
+ }
58
+ /**
59
+ * Parameter definition for a skill.
60
+ * Parameters are inputs that customize skill behavior.
61
+ */
62
+ export interface SkillParameter {
63
+ /**
64
+ * Parameter name (identifier).
65
+ */
66
+ name: string;
67
+ /**
68
+ * Human-readable description of the parameter.
69
+ */
70
+ description?: string;
71
+ /**
72
+ * Whether this parameter is required.
73
+ * Default: false
74
+ */
75
+ required?: boolean;
76
+ /**
77
+ * Type hint for the parameter value.
78
+ * Default: 'string'
79
+ */
80
+ type?: 'string' | 'number' | 'boolean' | 'object' | 'array';
81
+ /**
82
+ * Default value for the parameter.
83
+ */
84
+ default?: unknown;
85
+ }
86
+ /**
87
+ * Example usage scenario for a skill.
88
+ * Helps LLMs understand when and how to use the skill.
89
+ */
90
+ export interface SkillExample {
91
+ /**
92
+ * Description of the scenario where this skill applies.
93
+ */
94
+ scenario: string;
95
+ /**
96
+ * Optional parameter values for this example.
97
+ */
98
+ parameters?: Record<string, unknown>;
99
+ /**
100
+ * Description of the expected outcome when the skill completes.
101
+ */
102
+ expectedOutcome?: string;
103
+ }
104
+ /**
105
+ * Instruction source for a skill.
106
+ * Instructions can be provided inline, from a file, or from a URL.
107
+ */
108
+ export type SkillInstructionSource = string | {
109
+ file: string;
110
+ } | {
111
+ url: string;
112
+ };
113
+ /**
114
+ * Declarative metadata describing what a Skill provides.
115
+ * Skills are modular knowledge/workflow packages that teach AI how to perform multi-step tasks.
116
+ */
117
+ export interface SkillMetadata extends ExtendFrontMcpSkillMetadata {
118
+ /**
119
+ * Optional unique identifier for the skill.
120
+ * If omitted, the name will be used as the identifier.
121
+ */
122
+ id?: string;
123
+ /**
124
+ * Unique name for the skill.
125
+ * Used for discovery and invocation.
126
+ */
127
+ name: string;
128
+ /**
129
+ * Short description of what the skill does.
130
+ * Used in search results and discovery.
131
+ */
132
+ description: string;
133
+ /**
134
+ * Detailed instructions for performing the skill.
135
+ * Can be an inline string, file path, or URL.
136
+ *
137
+ * @example Inline instructions
138
+ * ```typescript
139
+ * instructions: 'Step 1: Review the PR...\nStep 2: Check for issues...'
140
+ * ```
141
+ *
142
+ * @example File-based instructions
143
+ * ```typescript
144
+ * instructions: { file: './skills/review-pr.md' }
145
+ * ```
146
+ *
147
+ * @example URL-based instructions
148
+ * ```typescript
149
+ * instructions: { url: 'https://example.com/skills/review-pr.md' }
150
+ * ```
151
+ */
152
+ instructions: SkillInstructionSource;
153
+ /**
154
+ * Tools that this skill uses or depends on.
155
+ * Can be tool classes (recommended), tool names, or detailed references.
156
+ *
157
+ * @example Using tool classes (recommended)
158
+ * ```typescript
159
+ * tools: [GitHubGetPRTool, GitHubAddCommentTool]
160
+ * ```
161
+ *
162
+ * @example Using tool classes with purpose
163
+ * ```typescript
164
+ * tools: [
165
+ * { tool: GitHubGetPRTool, purpose: 'Fetch PR details', required: true },
166
+ * { tool: GitHubAddCommentTool, purpose: 'Add review comments' },
167
+ * ]
168
+ * ```
169
+ *
170
+ * @example Using string names (for dynamic/external tools)
171
+ * ```typescript
172
+ * tools: ['github_create_pr', 'github_add_comment']
173
+ * ```
174
+ *
175
+ * @example Mixed references
176
+ * ```typescript
177
+ * tools: [
178
+ * GitHubGetPRTool, // Class - name auto-extracted
179
+ * { tool: GitHubAddCommentTool, purpose: 'Add comments' },
180
+ * 'external_api_tool', // String - for dynamic tools
181
+ * { name: 'legacy_tool', purpose: 'Legacy integration', required: true },
182
+ * ]
183
+ * ```
184
+ */
185
+ tools?: SkillToolInput[];
186
+ /**
187
+ * Tags for categorization and discovery.
188
+ * Used to filter and search for skills.
189
+ */
190
+ tags?: string[];
191
+ /**
192
+ * Input parameters that customize skill behavior.
193
+ */
194
+ parameters?: SkillParameter[];
195
+ /**
196
+ * Usage examples demonstrating when to use this skill.
197
+ */
198
+ examples?: SkillExample[];
199
+ /**
200
+ * Priority weight for search ranking.
201
+ * Higher values appear earlier in search results.
202
+ * Default: 0
203
+ */
204
+ priority?: number;
205
+ /**
206
+ * If true, the skill will not be shown in discovery/search results.
207
+ * Can still be loaded directly by ID/name.
208
+ * Use case: internal skills not meant for general discovery.
209
+ * Default: false
210
+ */
211
+ hideFromDiscovery?: boolean;
212
+ /**
213
+ * Validation mode for tool references.
214
+ * Controls what happens when the skill references tools that are missing or hidden.
215
+ *
216
+ * - 'strict': Fail initialization if any referenced tools are missing/hidden
217
+ * - 'warn': Log warnings but continue initialization (default)
218
+ * - 'ignore': Skip tool validation entirely
219
+ *
220
+ * @default 'warn'
221
+ *
222
+ * @example Strict validation (fail on missing tools)
223
+ * ```typescript
224
+ * @Skill({
225
+ * name: 'review-pr',
226
+ * tools: ['github_get_pr', 'github_add_comment'],
227
+ * toolValidation: 'strict', // Fail if tools missing
228
+ * })
229
+ * class ReviewPRSkill {}
230
+ * ```
231
+ */
232
+ toolValidation?: 'strict' | 'warn' | 'ignore';
233
+ /**
234
+ * Where this skill is visible for discovery.
235
+ * Controls which discovery mechanisms can find this skill.
236
+ *
237
+ * - 'mcp': Only via searchSkills/loadSkill MCP tools
238
+ * - 'http': Only via HTTP API endpoints (/llm.txt, /skills)
239
+ * - 'both': Visible in both MCP and HTTP (default)
240
+ *
241
+ * Note: hideFromDiscovery=true hides from search but skill is still loadable by ID.
242
+ *
243
+ * @default 'both'
244
+ *
245
+ * @example HTTP-only skill (not visible via MCP searchSkills)
246
+ * ```typescript
247
+ * @Skill({
248
+ * name: 'internal-process',
249
+ * visibility: 'http',
250
+ * instructions: { file: './internal.md' },
251
+ * })
252
+ * class InternalProcessSkill {}
253
+ * ```
254
+ */
255
+ visibility?: 'mcp' | 'http' | 'both';
256
+ }
257
+ /**
258
+ * Validation mode for skill tool references.
259
+ */
260
+ export type SkillToolValidationMode = 'strict' | 'warn' | 'ignore';
261
+ /**
262
+ * Zod schema for validating SkillMetadata.
263
+ */
264
+ /**
265
+ * Visibility mode for skill discovery.
266
+ * Controls which mechanisms can find this skill.
267
+ */
268
+ export type SkillVisibility = 'mcp' | 'http' | 'both';
269
+ export declare const skillMetadataSchema: z.ZodObject<{
270
+ id: z.ZodOptional<z.ZodString>;
271
+ name: z.ZodString;
272
+ description: z.ZodString;
273
+ instructions: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
274
+ file: z.ZodString;
275
+ }, z.core.$strict>, z.ZodObject<{
276
+ url: z.ZodString;
277
+ }, z.core.$strict>]>;
278
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>, z.ZodObject<{
279
+ name: z.ZodString;
280
+ purpose: z.ZodOptional<z.ZodString>;
281
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
282
+ }, z.core.$strip>, z.ZodObject<{
283
+ tool: z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>;
284
+ purpose: z.ZodOptional<z.ZodString>;
285
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
286
+ }, z.core.$strip>]>>>;
287
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
288
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
+ name: z.ZodString;
290
+ description: z.ZodOptional<z.ZodString>;
291
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
292
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
293
+ string: "string";
294
+ number: "number";
295
+ boolean: "boolean";
296
+ object: "object";
297
+ array: "array";
298
+ }>>>;
299
+ default: z.ZodOptional<z.ZodUnknown>;
300
+ }, z.core.$strip>>>;
301
+ examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
302
+ scenario: z.ZodString;
303
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
304
+ expectedOutcome: z.ZodOptional<z.ZodString>;
305
+ }, z.core.$strip>>>;
306
+ priority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
307
+ hideFromDiscovery: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
308
+ toolValidation: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
309
+ strict: "strict";
310
+ warn: "warn";
311
+ ignore: "ignore";
312
+ }>>>;
313
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
314
+ http: "http";
315
+ mcp: "mcp";
316
+ both: "both";
317
+ }>>>;
318
+ }, z.core.$loose>;
319
+ /**
320
+ * Type-safe parsed SkillMetadata from Zod schema.
321
+ */
322
+ export type ParsedSkillMetadata = z.output<typeof skillMetadataSchema>;
323
+ /**
324
+ * Check if a value is a SkillToolRefWithClass (has 'tool' property with a class).
325
+ */
326
+ export declare function isToolRefWithClass(ref: unknown): ref is SkillToolRefWithClass;
327
+ /**
328
+ * Check if a value is a standard SkillToolRef (has 'name' property).
329
+ */
330
+ export declare function isToolRefWithName(ref: unknown): ref is SkillToolRef;
331
+ /**
332
+ * Extract tool name from a tool class decorated with @Tool.
333
+ * Returns undefined if the class is not a valid tool or lacks a name.
334
+ */
335
+ export declare function getToolNameFromClass(toolClass: Type<ToolContext>): string | undefined;
336
+ /**
337
+ * Normalize a tool reference to the full SkillToolRef format.
338
+ * Supports: string, tool class, SkillToolRef, or SkillToolRefWithClass.
339
+ *
340
+ * @param ref - The tool reference to normalize
341
+ * @returns Normalized SkillToolRef with name, purpose, and required flag
342
+ * @throws InvalidInputError if tool class doesn't have a valid name
343
+ */
344
+ export declare function normalizeToolRef(ref: SkillToolInput): SkillToolRef;
345
+ /**
346
+ * Extract tool names from skill metadata.
347
+ * Handles all supported tool reference formats.
348
+ */
349
+ export declare function extractToolNames(metadata: SkillMetadata): string[];
350
+ /**
351
+ * Check if instruction source is inline string.
352
+ */
353
+ export declare function isInlineInstructions(source: SkillInstructionSource): source is string;
354
+ /**
355
+ * Check if instruction source is a file path.
356
+ */
357
+ export declare function isFileInstructions(source: SkillInstructionSource): source is {
358
+ file: string;
359
+ };
360
+ /**
361
+ * Check if instruction source is a URL.
362
+ */
363
+ export declare function isUrlInstructions(source: SkillInstructionSource): source is {
364
+ url: string;
365
+ };
366
+ //# sourceMappingURL=skill.metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/skill.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAwB,MAAM,cAAc,CAAC;AAI1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,CAAC,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,2BAA2B;KAAG;CACzC;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,YAAY,GAAG,qBAAqB,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,M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AE,sBAAsB,GAAG,MAAM,IAAI,MAAM,CAErF;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,sBAAsB,GAAG,MAAM,IAAI;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAE7F;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,sBAAsB,GAAG,MAAM,IAAI;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAE3F"}
@@ -2,6 +2,24 @@ import { z } from 'zod';
2
2
  import type { JSONSchema } from 'zod/v4/core';
3
3
  /** JSON Schema type from Zod v4 */
4
4
  type JsonSchema = JSONSchema.JSONSchema;
5
+ /**
6
+ * Auth provider mapping for tool metadata.
7
+ * Used in @Tool({ authProviders: [...] }) decorator.
8
+ */
9
+ export interface ToolAuthProviderMapping {
10
+ /** Provider name */
11
+ name: string;
12
+ /** Whether credential is required (default: true) */
13
+ required?: boolean;
14
+ /** Required scopes for OAuth providers */
15
+ scopes?: string[];
16
+ /** Alias to use when injecting (for multiple providers) */
17
+ alias?: string;
18
+ }
19
+ /**
20
+ * Auth provider reference - can be a string (provider name) or full mapping
21
+ */
22
+ export type ToolAuthProviderRef = string | ToolAuthProviderMapping;
5
23
  import { ToolUIConfig } from './tool-ui.metadata';
6
24
  import { ToolInputOf, ToolOutputOf } from '../decorators';
7
25
  declare global {
@@ -210,6 +228,11 @@ export interface ToolMetadata<InSchema = ToolInputType, OutSchema extends ToolOu
210
228
  * Zod schema describing the structure of the tool's successful output.
211
229
  */
212
230
  outputSchema?: OutSchema;
231
+ /**
232
+ * Raw JSON Schema representation of the output schema.
233
+ * Used by OpenAPI tools and tool/list to expose structured output schema.
234
+ */
235
+ rawOutputSchema?: JsonSchema;
213
236
  /**
214
237
  * Optional list of tags/labels that categorize the tool for discovery and filtering.
215
238
  */
@@ -229,6 +252,47 @@ export interface ToolMetadata<InSchema = ToolInputType, OutSchema extends ToolOu
229
252
  */
230
253
  examples?: ToolExample[];
231
254
  ui?: ToolUIConfig<ToolInputOf<InSchema>, ToolOutputOf<OutSchema>>;
255
+ /**
256
+ * Auth providers required by this tool.
257
+ * Credentials will be loaded before tool execution.
258
+ *
259
+ * @example Single provider (shorthand)
260
+ * ```typescript
261
+ * @Tool({ name: 'create-issue', authProviders: ['github'] })
262
+ * ```
263
+ *
264
+ * @example Single provider with options
265
+ * ```typescript
266
+ * @Tool({
267
+ * name: 'deploy',
268
+ * authProviders: [{
269
+ * name: 'github',
270
+ * required: true,
271
+ * scopes: ['repo', 'workflow']
272
+ * }]
273
+ * })
274
+ * ```
275
+ *
276
+ * @example Multiple providers
277
+ * ```typescript
278
+ * @Tool({
279
+ * name: 'sync-data',
280
+ * authProviders: ['github', 'jira']
281
+ * })
282
+ * ```
283
+ *
284
+ * @example Multiple providers with options
285
+ * ```typescript
286
+ * @Tool({
287
+ * name: 'multi-sync',
288
+ * authProviders: [
289
+ * { name: 'github', required: true },
290
+ * { name: 'jira', required: false }
291
+ * ]
292
+ * })
293
+ * ```
294
+ */
295
+ authProviders?: ToolAuthProviderRef[];
232
296
  }
233
297
  export declare const frontMcpToolMetadataSchema: z.ZodObject<{
234
298
  id: z.ZodOptional<z.ZodString>;
@@ -257,6 +321,7 @@ export declare const frontMcpToolMetadataSchema: z.ZodObject<{
257
321
  resource: "resource";
258
322
  resource_link: "resource_link";
259
323
  }>]>, z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>, z.ZodRecord<z.ZodString, z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>]>>]>>;
324
+ rawOutputSchema: z.ZodOptional<z.ZodAny>;
260
325
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
261
326
  annotations: z.ZodOptional<z.ZodObject<{
262
327
  title: z.ZodOptional<z.ZodString>;
@@ -272,6 +337,12 @@ export declare const frontMcpToolMetadataSchema: z.ZodObject<{
272
337
  output: z.ZodOptional<z.ZodUnknown>;
273
338
  }, z.core.$strip>>>;
274
339
  ui: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
340
+ authProviders: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
341
+ name: z.ZodString;
342
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
343
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
344
+ alias: z.ZodOptional<z.ZodString>;
345
+ }, z.core.$strict>]>>>;
275
346
  }, z.core.$loose>;
276
347
  export {};
277
348
  //# sourceMappingURL=tool.metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tool.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/tool.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,mCAAmC;AACnC,KAAK,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AAQxC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,CAAC,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,0BAA0B;KAAG;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC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EAAE,CAAC;IAEhB,WAAW,CAAC,EAAE,eAAe,CAAC;IAE9B;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB,EAAE,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;IAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,aAAa,CAAC,EAAE,mBAAmB,EAAE,CAAC;CACvC;AA8BD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBvB,CAAC"}
@@ -1,4 +1,5 @@
1
- export { ProviderKind, ProviderRecord, ProviderClassTokenRecord, ProviderClassRecord, ProviderValueRecord, ProviderFactoryRecord, ProviderInjectedRecord, } from '@frontmcp/di';
1
+ export { ProviderKind } from '@frontmcp/di';
2
+ export type { ProviderRecord, ProviderClassTokenRecord, ProviderClassRecord, ProviderValueRecord, ProviderFactoryRecord, ProviderInjectedRecord, } from '@frontmcp/di';
2
3
  export * from './scope.record';
3
4
  export * from './flow.record';
4
5
  export * from './hook.record';
@@ -12,4 +13,5 @@ export * from './resource.record';
12
13
  export * from './prompt.record';
13
14
  export * from './logger.record';
14
15
  export * from './agent.record';
16
+ export * from './skill.record';
15
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/records/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/records/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,YAAY,EACV,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAEtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,55 @@
1
+ import { Type } from '@frontmcp/di';
2
+ import { SkillContext } from '../interfaces';
3
+ import { SkillMetadata } from '../metadata';
4
+ /**
5
+ * Kinds of skill records supported by the framework.
6
+ */
7
+ export declare enum SkillKind {
8
+ /**
9
+ * Class-based skill defined with @Skill decorator.
10
+ */
11
+ CLASS_TOKEN = "CLASS_TOKEN",
12
+ /**
13
+ * Inline skill object created with skill() helper.
14
+ */
15
+ VALUE = "VALUE",
16
+ /**
17
+ * File-based skill loaded from a .skill.md or similar file.
18
+ */
19
+ FILE = "FILE"
20
+ }
21
+ /**
22
+ * Record for class-based skills using @Skill decorator.
23
+ */
24
+ export type SkillClassTokenRecord = {
25
+ kind: SkillKind.CLASS_TOKEN;
26
+ provide: Type<SkillContext>;
27
+ metadata: SkillMetadata;
28
+ };
29
+ /**
30
+ * Record for inline skill objects created with skill() helper.
31
+ * The token is a Symbol used for registration.
32
+ */
33
+ export type SkillValueRecord = {
34
+ kind: SkillKind.VALUE;
35
+ provide: symbol;
36
+ metadata: SkillMetadata;
37
+ };
38
+ /**
39
+ * Record for file-based skills loaded from external files.
40
+ * Used by loaders (e.g., markdown loader) to register skills.
41
+ */
42
+ export type SkillFileRecord = {
43
+ kind: SkillKind.FILE;
44
+ provide: symbol;
45
+ metadata: SkillMetadata;
46
+ /**
47
+ * Path to the source file (for reloading/hot-reload support).
48
+ */
49
+ filePath: string;
50
+ };
51
+ /**
52
+ * Union of all skill record types.
53
+ */
54
+ export type SkillRecord = SkillClassTokenRecord | SkillValueRecord | SkillFileRecord;
55
+ //# sourceMappingURL=skill.record.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill.record.d.ts","sourceRoot":"","sources":["../../../src/common/records/skill.record.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C;;GAEG;AACH,oBAAY,SAAS;IACnB;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,IAAI,SAAS;CACd;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,SAAS,CAAC,WAAW,CAAC;IAC5B,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAC5B,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,aAAa,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,qBAAqB,GAAG,gBAAgB,GAAG,eAAe,CAAC"}