@frontmcp/sdk 0.6.3 → 0.7.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 (798) hide show
  1. package/adapter/adapter.instance.d.ts +3 -1
  2. package/adapter/adapter.instance.d.ts.map +1 -0
  3. package/adapter/adapter.regsitry.d.ts +1 -0
  4. package/adapter/adapter.regsitry.d.ts.map +1 -0
  5. package/adapter/adapter.utils.d.ts +3 -1
  6. package/adapter/adapter.utils.d.ts.map +1 -0
  7. package/agent/adapters/adapter.factory.d.ts +105 -0
  8. package/agent/adapters/adapter.factory.d.ts.map +1 -0
  9. package/agent/adapters/base.adapter.d.ts +116 -0
  10. package/agent/adapters/base.adapter.d.ts.map +1 -0
  11. package/agent/adapters/index.d.ts +47 -0
  12. package/agent/adapters/index.d.ts.map +1 -0
  13. package/agent/adapters/langchain.adapter.d.ts +178 -0
  14. package/agent/adapters/langchain.adapter.d.ts.map +1 -0
  15. package/agent/adapters/providers/index.d.ts +36 -0
  16. package/agent/adapters/providers/index.d.ts.map +1 -0
  17. package/agent/adapters/providers/types.d.ts +15 -0
  18. package/agent/adapters/providers/types.d.ts.map +1 -0
  19. package/agent/agent-execution-loop.d.ts +209 -0
  20. package/agent/agent-execution-loop.d.ts.map +1 -0
  21. package/agent/agent.events.d.ts +149 -0
  22. package/agent/agent.events.d.ts.map +1 -0
  23. package/agent/agent.instance.d.ts +201 -0
  24. package/agent/agent.instance.d.ts.map +1 -0
  25. package/agent/agent.registry.d.ts +137 -0
  26. package/agent/agent.registry.d.ts.map +1 -0
  27. package/agent/agent.scope.d.ts +333 -0
  28. package/agent/agent.scope.d.ts.map +1 -0
  29. package/agent/agent.utils.d.ts +72 -0
  30. package/agent/agent.utils.d.ts.map +1 -0
  31. package/agent/flows/call-agent.flow.d.ts +306 -0
  32. package/agent/flows/call-agent.flow.d.ts.map +1 -0
  33. package/agent/flows/index.d.ts +2 -0
  34. package/agent/flows/index.d.ts.map +1 -0
  35. package/agent/hooks/agent.hooks.d.ts +52 -0
  36. package/agent/hooks/agent.hooks.d.ts.map +1 -0
  37. package/agent/hooks/index.d.ts +2 -0
  38. package/agent/hooks/index.d.ts.map +1 -0
  39. package/agent/index.d.ts +51 -0
  40. package/agent/index.d.ts.map +1 -0
  41. package/app/app.registry.d.ts +1 -0
  42. package/app/app.registry.d.ts.map +1 -0
  43. package/app/app.utils.d.ts +3 -1
  44. package/app/app.utils.d.ts.map +1 -0
  45. package/app/instances/app.local.instance.d.ts +4 -0
  46. package/app/instances/app.local.instance.d.ts.map +1 -0
  47. package/app/instances/app.remote.instance.d.ts +98 -0
  48. package/app/instances/app.remote.instance.d.ts.map +1 -0
  49. package/app/instances/index.d.ts +1 -0
  50. package/app/instances/index.d.ts.map +1 -0
  51. package/auth/auth.registry.d.ts +1 -0
  52. package/auth/auth.registry.d.ts.map +1 -0
  53. package/auth/auth.utils.d.ts +3 -1
  54. package/auth/auth.utils.d.ts.map +1 -0
  55. package/auth/authorization/authorization.class.d.ts +1 -0
  56. package/auth/authorization/authorization.class.d.ts.map +1 -0
  57. package/auth/authorization/authorization.types.d.ts +1 -0
  58. package/auth/authorization/authorization.types.d.ts.map +1 -0
  59. package/auth/authorization/index.d.ts +1 -0
  60. package/auth/authorization/index.d.ts.map +1 -0
  61. package/auth/authorization/orchestrated.authorization.d.ts +1 -0
  62. package/auth/authorization/orchestrated.authorization.d.ts.map +1 -0
  63. package/auth/authorization/public.authorization.d.ts +1 -0
  64. package/auth/authorization/public.authorization.d.ts.map +1 -0
  65. package/auth/authorization/transparent.authorization.d.ts +1 -0
  66. package/auth/authorization/transparent.authorization.d.ts.map +1 -0
  67. package/auth/consent/consent.types.d.ts +1 -0
  68. package/auth/consent/consent.types.d.ts.map +1 -0
  69. package/auth/consent/index.d.ts +1 -0
  70. package/auth/consent/index.d.ts.map +1 -0
  71. package/auth/detection/auth-provider-detection.d.ts +1 -0
  72. package/auth/detection/auth-provider-detection.d.ts.map +1 -0
  73. package/auth/detection/index.d.ts +1 -0
  74. package/auth/detection/index.d.ts.map +1 -0
  75. package/auth/flows/auth.verify.flow.d.ts +8 -2
  76. package/auth/flows/auth.verify.flow.d.ts.map +1 -0
  77. package/auth/flows/oauth.authorize.flow.d.ts +1 -0
  78. package/auth/flows/oauth.authorize.flow.d.ts.map +1 -0
  79. package/auth/flows/oauth.callback.flow.d.ts +1 -0
  80. package/auth/flows/oauth.callback.flow.d.ts.map +1 -0
  81. package/auth/flows/oauth.register.flow.d.ts +4 -3
  82. package/auth/flows/oauth.register.flow.d.ts.map +1 -0
  83. package/auth/flows/oauth.token.flow.d.ts +1 -0
  84. package/auth/flows/oauth.token.flow.d.ts.map +1 -0
  85. package/auth/flows/session.verify.flow.d.ts +12 -1
  86. package/auth/flows/session.verify.flow.d.ts.map +1 -0
  87. package/auth/flows/well-known.jwks.flow.d.ts +1 -0
  88. package/auth/flows/well-known.jwks.flow.d.ts.map +1 -0
  89. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +1 -0
  90. package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -0
  91. package/auth/flows/well-known.prm.flow.d.ts +1 -0
  92. package/auth/flows/well-known.prm.flow.d.ts.map +1 -0
  93. package/auth/instances/instance.local-primary-auth.d.ts +1 -0
  94. package/auth/instances/instance.local-primary-auth.d.ts.map +1 -0
  95. package/auth/instances/instance.remote-primary-auth.d.ts +1 -0
  96. package/auth/instances/instance.remote-primary-auth.d.ts.map +1 -0
  97. package/auth/jwks/dev-key-persistence.d.ts +1 -0
  98. package/auth/jwks/dev-key-persistence.d.ts.map +1 -0
  99. package/auth/jwks/index.d.ts +1 -0
  100. package/auth/jwks/index.d.ts.map +1 -0
  101. package/auth/jwks/jwks.service.d.ts +16 -2
  102. package/auth/jwks/jwks.service.d.ts.map +1 -0
  103. package/auth/jwks/jwks.types.d.ts +1 -0
  104. package/auth/jwks/jwks.types.d.ts.map +1 -0
  105. package/auth/jwks/jwks.utils.d.ts +1 -0
  106. package/auth/jwks/jwks.utils.d.ts.map +1 -0
  107. package/auth/machine-id.d.ts +1 -0
  108. package/auth/machine-id.d.ts.map +1 -0
  109. package/auth/oauth/flows/oauth.authorize.flow.d.ts +1 -0
  110. package/auth/oauth/flows/oauth.authorize.flow.d.ts.map +1 -0
  111. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts +1 -0
  112. package/auth/oauth/flows/oauth.device-authorization.flow.d.ts.map +1 -0
  113. package/auth/oauth/flows/oauth.introspect.flow.d.ts +1 -0
  114. package/auth/oauth/flows/oauth.introspect.flow.d.ts.map +1 -0
  115. package/auth/oauth/flows/oauth.par.flow.d.ts +1 -0
  116. package/auth/oauth/flows/oauth.par.flow.d.ts.map +1 -0
  117. package/auth/oauth/flows/oauth.revoke.flow.d.ts +1 -0
  118. package/auth/oauth/flows/oauth.revoke.flow.d.ts.map +1 -0
  119. package/auth/oauth/flows/oauth.token.flow.d.ts +1 -0
  120. package/auth/oauth/flows/oauth.token.flow.d.ts.map +1 -0
  121. package/auth/oauth/flows/oauth.userinfo.flow.d.ts +1 -0
  122. package/auth/oauth/flows/oauth.userinfo.flow.d.ts.map +1 -0
  123. package/auth/oauth/flows/oidc.logout.flow.d.ts +1 -0
  124. package/auth/oauth/flows/oidc.logout.flow.d.ts.map +1 -0
  125. package/auth/session/authorization-vault.d.ts +5 -4
  126. package/auth/session/authorization-vault.d.ts.map +1 -0
  127. package/auth/session/authorization.store.d.ts +1 -0
  128. package/auth/session/authorization.store.d.ts.map +1 -0
  129. package/auth/session/encrypted-authorization-vault.d.ts +1 -0
  130. package/auth/session/encrypted-authorization-vault.d.ts.map +1 -0
  131. package/auth/session/index.d.ts +1 -0
  132. package/auth/session/index.d.ts.map +1 -0
  133. package/auth/session/record/session.base.d.ts +1 -0
  134. package/auth/session/record/session.base.d.ts.map +1 -0
  135. package/auth/session/record/session.stateful.d.ts +1 -0
  136. package/auth/session/record/session.stateful.d.ts.map +1 -0
  137. package/auth/session/record/session.stateless.d.ts +1 -0
  138. package/auth/session/record/session.stateless.d.ts.map +1 -0
  139. package/auth/session/record/session.transparent.d.ts +1 -0
  140. package/auth/session/record/session.transparent.d.ts.map +1 -0
  141. package/auth/session/redis-session.store.d.ts +1 -0
  142. package/auth/session/redis-session.store.d.ts.map +1 -0
  143. package/auth/session/session-crypto.d.ts +1 -0
  144. package/auth/session/session-crypto.d.ts.map +1 -0
  145. package/auth/session/session-rate-limiter.d.ts +1 -0
  146. package/auth/session/session-rate-limiter.d.ts.map +1 -0
  147. package/auth/session/session.crypto.d.ts +1 -0
  148. package/auth/session/session.crypto.d.ts.map +1 -0
  149. package/auth/session/session.schema.d.ts +1 -0
  150. package/auth/session/session.schema.d.ts.map +1 -0
  151. package/auth/session/session.service.d.ts +1 -0
  152. package/auth/session/session.service.d.ts.map +1 -0
  153. package/auth/session/session.transport.d.ts +1 -0
  154. package/auth/session/session.transport.d.ts.map +1 -0
  155. package/auth/session/session.types.d.ts +1 -0
  156. package/auth/session/session.types.d.ts.map +1 -0
  157. package/auth/session/token.refresh.d.ts +1 -0
  158. package/auth/session/token.refresh.d.ts.map +1 -0
  159. package/auth/session/token.store.d.ts +3 -2
  160. package/auth/session/token.store.d.ts.map +1 -0
  161. package/auth/session/token.vault.d.ts +1 -0
  162. package/auth/session/token.vault.d.ts.map +1 -0
  163. package/auth/session/transport-session.manager.d.ts +1 -0
  164. package/auth/session/transport-session.manager.d.ts.map +1 -0
  165. package/auth/session/transport-session.types.d.ts +9 -8
  166. package/auth/session/transport-session.types.d.ts.map +1 -0
  167. package/auth/session/utils/auth-token.utils.d.ts +1 -0
  168. package/auth/session/utils/auth-token.utils.d.ts.map +1 -0
  169. package/auth/session/utils/session-id.utils.d.ts +1 -0
  170. package/auth/session/utils/session-id.utils.d.ts.map +1 -0
  171. package/auth/session/utils/tiny-ttl-cache.d.ts +1 -0
  172. package/auth/session/utils/tiny-ttl-cache.d.ts.map +1 -0
  173. package/auth/session/vault-encryption.d.ts +1 -0
  174. package/auth/session/vault-encryption.d.ts.map +1 -0
  175. package/auth/session/vercel-kv-session.store.d.ts +1 -0
  176. package/auth/session/vercel-kv-session.store.d.ts.map +1 -0
  177. package/auth/ui/base-layout.d.ts +1 -0
  178. package/auth/ui/base-layout.d.ts.map +1 -0
  179. package/auth/ui/index.d.ts +1 -0
  180. package/auth/ui/index.d.ts.map +1 -0
  181. package/auth/ui/templates.d.ts +1 -0
  182. package/auth/ui/templates.d.ts.map +1 -0
  183. package/auth/utils/audience.validator.d.ts +1 -0
  184. package/auth/utils/audience.validator.d.ts.map +1 -0
  185. package/auth/utils/index.d.ts +1 -0
  186. package/auth/utils/index.d.ts.map +1 -0
  187. package/auth/utils/www-authenticate.utils.d.ts +1 -0
  188. package/auth/utils/www-authenticate.utils.d.ts.map +1 -0
  189. package/common/common.schema.d.ts +1 -0
  190. package/common/common.schema.d.ts.map +1 -0
  191. package/common/decorators/adapter.decorator.d.ts +1 -0
  192. package/common/decorators/adapter.decorator.d.ts.map +1 -0
  193. package/common/decorators/agent.decorator.d.ts +116 -0
  194. package/common/decorators/agent.decorator.d.ts.map +1 -0
  195. package/common/decorators/app.decorator.d.ts +1 -0
  196. package/common/decorators/app.decorator.d.ts.map +1 -0
  197. package/common/decorators/auth-provider.decorator.d.ts +1 -0
  198. package/common/decorators/auth-provider.decorator.d.ts.map +1 -0
  199. package/common/decorators/decorator-utils.d.ts +1 -0
  200. package/common/decorators/decorator-utils.d.ts.map +1 -0
  201. package/common/decorators/flow.decorator.d.ts +1 -0
  202. package/common/decorators/flow.decorator.d.ts.map +1 -0
  203. package/common/decorators/front-mcp.decorator.d.ts +1 -0
  204. package/common/decorators/front-mcp.decorator.d.ts.map +1 -0
  205. package/common/decorators/hook.decorator.d.ts +1 -0
  206. package/common/decorators/hook.decorator.d.ts.map +1 -0
  207. package/common/decorators/index.d.ts +2 -0
  208. package/common/decorators/index.d.ts.map +1 -0
  209. package/common/decorators/logger.decorator.d.ts +1 -0
  210. package/common/decorators/logger.decorator.d.ts.map +1 -0
  211. package/common/decorators/plugin.decorator.d.ts +1 -0
  212. package/common/decorators/plugin.decorator.d.ts.map +1 -0
  213. package/common/decorators/prompt.decorator.d.ts +8 -3
  214. package/common/decorators/prompt.decorator.d.ts.map +1 -0
  215. package/common/decorators/provider.decorator.d.ts +1 -0
  216. package/common/decorators/provider.decorator.d.ts.map +1 -0
  217. package/common/decorators/resource.decorator.d.ts +1 -0
  218. package/common/decorators/resource.decorator.d.ts.map +1 -0
  219. package/common/decorators/tool.decorator.d.ts +1 -0
  220. package/common/decorators/tool.decorator.d.ts.map +1 -0
  221. package/common/dynamic/dynamic.adapter.d.ts +1 -0
  222. package/common/dynamic/dynamic.adapter.d.ts.map +1 -0
  223. package/common/dynamic/dynamic.plugin.d.ts +3 -1
  224. package/common/dynamic/dynamic.plugin.d.ts.map +1 -0
  225. package/common/dynamic/dynamic.utils.d.ts +1 -0
  226. package/common/dynamic/dynamic.utils.d.ts.map +1 -0
  227. package/common/dynamic/index.d.ts +1 -0
  228. package/common/dynamic/index.d.ts.map +1 -0
  229. package/common/entries/adapter.entry.d.ts +1 -0
  230. package/common/entries/adapter.entry.d.ts.map +1 -0
  231. package/common/entries/agent.entry.d.ts +143 -0
  232. package/common/entries/agent.entry.d.ts.map +1 -0
  233. package/common/entries/app.entry.d.ts +8 -0
  234. package/common/entries/app.entry.d.ts.map +1 -0
  235. package/common/entries/auth-provider.entry.d.ts +2 -1
  236. package/common/entries/auth-provider.entry.d.ts.map +1 -0
  237. package/common/entries/base.entry.d.ts +3 -2
  238. package/common/entries/base.entry.d.ts.map +1 -0
  239. package/common/entries/flow.entry.d.ts +3 -1
  240. package/common/entries/flow.entry.d.ts.map +1 -0
  241. package/common/entries/hook.entry.d.ts +7 -5
  242. package/common/entries/hook.entry.d.ts.map +1 -0
  243. package/common/entries/index.d.ts +2 -0
  244. package/common/entries/index.d.ts.map +1 -0
  245. package/common/entries/logger.entry.d.ts +1 -0
  246. package/common/entries/logger.entry.d.ts.map +1 -0
  247. package/common/entries/plugin.entry.d.ts +3 -1
  248. package/common/entries/plugin.entry.d.ts.map +1 -0
  249. package/common/entries/prompt.entry.d.ts +13 -0
  250. package/common/entries/prompt.entry.d.ts.map +1 -0
  251. package/common/entries/provider.entry.d.ts +5 -4
  252. package/common/entries/provider.entry.d.ts.map +1 -0
  253. package/common/entries/resource.entry.d.ts +7 -0
  254. package/common/entries/resource.entry.d.ts.map +1 -0
  255. package/common/entries/scope.entry.d.ts +3 -1
  256. package/common/entries/scope.entry.d.ts.map +1 -0
  257. package/common/entries/tool.entry.d.ts +17 -0
  258. package/common/entries/tool.entry.d.ts.map +1 -0
  259. package/common/flow/flow.utils.d.ts +1 -0
  260. package/common/flow/flow.utils.d.ts.map +1 -0
  261. package/common/index.d.ts +1 -1
  262. package/common/index.d.ts.map +1 -0
  263. package/common/interfaces/adapter.interface.d.ts +2 -1
  264. package/common/interfaces/adapter.interface.d.ts.map +1 -0
  265. package/common/interfaces/agent.interface.d.ts +255 -0
  266. package/common/interfaces/agent.interface.d.ts.map +1 -0
  267. package/common/interfaces/app.interface.d.ts +5 -3
  268. package/common/interfaces/app.interface.d.ts.map +1 -0
  269. package/common/interfaces/auth-hook.interface.d.ts +1 -0
  270. package/common/interfaces/auth-hook.interface.d.ts.map +1 -0
  271. package/common/interfaces/auth-provider.interface.d.ts +2 -1
  272. package/common/interfaces/auth-provider.interface.d.ts.map +1 -0
  273. package/common/interfaces/base.interface.d.ts +2 -77
  274. package/common/interfaces/base.interface.d.ts.map +1 -0
  275. package/common/interfaces/execution-context.interface.d.ts +2 -1
  276. package/common/interfaces/execution-context.interface.d.ts.map +1 -0
  277. package/common/interfaces/flow.interface.d.ts +2 -1
  278. package/common/interfaces/flow.interface.d.ts.map +1 -0
  279. package/common/interfaces/front-mcp.interface.d.ts +1 -0
  280. package/common/interfaces/front-mcp.interface.d.ts.map +1 -0
  281. package/common/interfaces/hook.interface.d.ts +2 -1
  282. package/common/interfaces/hook.interface.d.ts.map +1 -0
  283. package/common/interfaces/index.d.ts +4 -0
  284. package/common/interfaces/index.d.ts.map +1 -0
  285. package/common/interfaces/internal/flow.utils.d.ts +1 -0
  286. package/common/interfaces/internal/flow.utils.d.ts.map +1 -0
  287. package/common/interfaces/internal/index.d.ts +1 -0
  288. package/common/interfaces/internal/index.d.ts.map +1 -0
  289. package/common/interfaces/internal/primary-auth-provider.interface.d.ts +1 -0
  290. package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -0
  291. package/common/interfaces/internal/registry.interface.d.ts +13 -3
  292. package/common/interfaces/internal/registry.interface.d.ts.map +1 -0
  293. package/common/interfaces/llm-adapter.interface.d.ts +221 -0
  294. package/common/interfaces/llm-adapter.interface.d.ts.map +1 -0
  295. package/common/interfaces/logger.interface.d.ts +7 -6
  296. package/common/interfaces/logger.interface.d.ts.map +1 -0
  297. package/common/interfaces/plugin.interface.d.ts +2 -1
  298. package/common/interfaces/plugin.interface.d.ts.map +1 -0
  299. package/common/interfaces/prompt.interface.d.ts +10 -2
  300. package/common/interfaces/prompt.interface.d.ts.map +1 -0
  301. package/common/interfaces/provider.interface.d.ts +2 -1
  302. package/common/interfaces/provider.interface.d.ts.map +1 -0
  303. package/common/interfaces/resource.interface.d.ts +12 -2
  304. package/common/interfaces/resource.interface.d.ts.map +1 -0
  305. package/common/interfaces/scope.interface.d.ts +3 -2
  306. package/common/interfaces/scope.interface.d.ts.map +1 -0
  307. package/common/interfaces/server.interface.d.ts +1 -0
  308. package/common/interfaces/server.interface.d.ts.map +1 -0
  309. package/common/interfaces/session-hook.interface.d.ts +1 -0
  310. package/common/interfaces/session-hook.interface.d.ts.map +1 -0
  311. package/common/interfaces/tool-hook.interface.d.ts +1 -0
  312. package/common/interfaces/tool-hook.interface.d.ts.map +1 -0
  313. package/common/interfaces/tool.interface.d.ts +52 -2
  314. package/common/interfaces/tool.interface.d.ts.map +1 -0
  315. package/common/metadata/adapter.metadata.d.ts +1 -0
  316. package/common/metadata/adapter.metadata.d.ts.map +1 -0
  317. package/common/metadata/agent.metadata.d.ts +398 -0
  318. package/common/metadata/agent.metadata.d.ts.map +1 -0
  319. package/common/metadata/app.metadata.d.ts +162 -16
  320. package/common/metadata/app.metadata.d.ts.map +1 -0
  321. package/common/metadata/auth-provider.metadata.d.ts +1 -0
  322. package/common/metadata/auth-provider.metadata.d.ts.map +1 -0
  323. package/common/metadata/flow.metadata.d.ts +5 -3
  324. package/common/metadata/flow.metadata.d.ts.map +1 -0
  325. package/common/metadata/front-mcp.metadata.d.ts +138 -46
  326. package/common/metadata/front-mcp.metadata.d.ts.map +1 -0
  327. package/common/metadata/hook.metadata.d.ts +2 -1
  328. package/common/metadata/hook.metadata.d.ts.map +1 -0
  329. package/common/metadata/index.d.ts +4 -0
  330. package/common/metadata/index.d.ts.map +1 -0
  331. package/common/metadata/logger.metadata.d.ts +1 -0
  332. package/common/metadata/logger.metadata.d.ts.map +1 -0
  333. package/common/metadata/plugin.metadata.d.ts +74 -7
  334. package/common/metadata/plugin.metadata.d.ts.map +1 -0
  335. package/common/metadata/prompt.metadata.d.ts +1 -0
  336. package/common/metadata/prompt.metadata.d.ts.map +1 -0
  337. package/common/metadata/provider.metadata.d.ts +5 -30
  338. package/common/metadata/provider.metadata.d.ts.map +1 -0
  339. package/common/metadata/resource.metadata.d.ts +1 -0
  340. package/common/metadata/resource.metadata.d.ts.map +1 -0
  341. package/common/metadata/tool-ui.metadata.d.ts +1 -0
  342. package/common/metadata/tool-ui.metadata.d.ts.map +1 -0
  343. package/common/metadata/tool.metadata.d.ts +1 -0
  344. package/common/metadata/tool.metadata.d.ts.map +1 -0
  345. package/common/migrate/auth-transport.migrate.d.ts +1 -0
  346. package/common/migrate/auth-transport.migrate.d.ts.map +1 -0
  347. package/common/migrate/index.d.ts +1 -0
  348. package/common/migrate/index.d.ts.map +1 -0
  349. package/common/providers/base-config.provider.d.ts +1 -0
  350. package/common/providers/base-config.provider.d.ts.map +1 -0
  351. package/common/records/adapter.record.d.ts +2 -1
  352. package/common/records/adapter.record.d.ts.map +1 -0
  353. package/common/records/agent.record.d.ts +89 -0
  354. package/common/records/agent.record.d.ts.map +1 -0
  355. package/common/records/app.record.d.ts +2 -1
  356. package/common/records/app.record.d.ts.map +1 -0
  357. package/common/records/auth-provider.record.d.ts +3 -1
  358. package/common/records/auth-provider.record.d.ts.map +1 -0
  359. package/common/records/flow.record.d.ts +1 -0
  360. package/common/records/flow.record.d.ts.map +1 -0
  361. package/common/records/hook.record.d.ts +1 -0
  362. package/common/records/hook.record.d.ts.map +1 -0
  363. package/common/records/index.d.ts +4 -0
  364. package/common/records/index.d.ts.map +1 -0
  365. package/common/records/logger.record.d.ts +4 -2
  366. package/common/records/logger.record.d.ts.map +1 -0
  367. package/common/records/plugin.record.d.ts +3 -1
  368. package/common/records/plugin.record.d.ts.map +1 -0
  369. package/common/records/prompt.record.d.ts +2 -1
  370. package/common/records/prompt.record.d.ts.map +1 -0
  371. package/common/records/provider.record.d.ts +2 -36
  372. package/common/records/provider.record.d.ts.map +1 -0
  373. package/common/records/resource.record.d.ts +2 -1
  374. package/common/records/resource.record.d.ts.map +1 -0
  375. package/common/records/scope.record.d.ts +2 -1
  376. package/common/records/scope.record.d.ts.map +1 -0
  377. package/common/records/tool.record.d.ts +3 -1
  378. package/common/records/tool.record.d.ts.map +1 -0
  379. package/common/schemas/annotated-class.schema.d.ts +4 -1
  380. package/common/schemas/annotated-class.schema.d.ts.map +1 -0
  381. package/common/schemas/http-input.schema.d.ts +1 -0
  382. package/common/schemas/http-input.schema.d.ts.map +1 -0
  383. package/common/schemas/http-output.schema.d.ts +1 -0
  384. package/common/schemas/http-output.schema.d.ts.map +1 -0
  385. package/common/schemas/index.d.ts +1 -0
  386. package/common/schemas/index.d.ts.map +1 -0
  387. package/common/schemas/session-header.schema.d.ts +1 -0
  388. package/common/schemas/session-header.schema.d.ts.map +1 -0
  389. package/common/tokens/adapter.tokens.d.ts +1 -0
  390. package/common/tokens/adapter.tokens.d.ts.map +1 -0
  391. package/common/tokens/agent.tokens.d.ts +33 -0
  392. package/common/tokens/agent.tokens.d.ts.map +1 -0
  393. package/common/tokens/app.tokens.d.ts +1 -0
  394. package/common/tokens/app.tokens.d.ts.map +1 -0
  395. package/common/tokens/auth-provider.tokens.d.ts +1 -0
  396. package/common/tokens/auth-provider.tokens.d.ts.map +1 -0
  397. package/common/tokens/base.tokens.d.ts +6 -4
  398. package/common/tokens/base.tokens.d.ts.map +1 -0
  399. package/common/tokens/flow-hook.tokens.d.ts +1 -0
  400. package/common/tokens/flow-hook.tokens.d.ts.map +1 -0
  401. package/common/tokens/flow.tokens.d.ts +1 -0
  402. package/common/tokens/flow.tokens.d.ts.map +1 -0
  403. package/common/tokens/front-mcp.tokens.d.ts +1 -0
  404. package/common/tokens/front-mcp.tokens.d.ts.map +1 -0
  405. package/common/tokens/index.d.ts +2 -0
  406. package/common/tokens/index.d.ts.map +1 -0
  407. package/common/tokens/logger.tokens.d.ts +1 -0
  408. package/common/tokens/logger.tokens.d.ts.map +1 -0
  409. package/common/tokens/plugin.tokens.d.ts +3 -0
  410. package/common/tokens/plugin.tokens.d.ts.map +1 -0
  411. package/common/tokens/prompt.tokens.d.ts +1 -0
  412. package/common/tokens/prompt.tokens.d.ts.map +1 -0
  413. package/common/tokens/provider.tokens.d.ts +1 -0
  414. package/common/tokens/provider.tokens.d.ts.map +1 -0
  415. package/common/tokens/resource.tokens.d.ts +1 -0
  416. package/common/tokens/resource.tokens.d.ts.map +1 -0
  417. package/common/tokens/server.tokens.d.ts +1 -0
  418. package/common/tokens/server.tokens.d.ts.map +1 -0
  419. package/common/tokens/tool.tokens.d.ts +1 -0
  420. package/common/tokens/tool.tokens.d.ts.map +1 -0
  421. package/common/types/auth/index.d.ts +1 -0
  422. package/common/types/auth/index.d.ts.map +1 -0
  423. package/common/types/auth/jwt.types.d.ts +1 -0
  424. package/common/types/auth/jwt.types.d.ts.map +1 -0
  425. package/common/types/auth/session.types.d.ts +1 -0
  426. package/common/types/auth/session.types.d.ts.map +1 -0
  427. package/common/types/common.types.d.ts +1 -0
  428. package/common/types/common.types.d.ts.map +1 -0
  429. package/common/types/index.d.ts +1 -0
  430. package/common/types/index.d.ts.map +1 -0
  431. package/common/types/options/auth/app-auth.schema.d.ts +1 -0
  432. package/common/types/options/auth/app-auth.schema.d.ts.map +1 -0
  433. package/common/types/options/auth/auth.interfaces.d.ts +1 -0
  434. package/common/types/options/auth/auth.interfaces.d.ts.map +1 -0
  435. package/common/types/options/auth/auth.schema.d.ts +1 -0
  436. package/common/types/options/auth/auth.schema.d.ts.map +1 -0
  437. package/common/types/options/auth/auth.typecheck.d.ts +1 -0
  438. package/common/types/options/auth/auth.typecheck.d.ts.map +1 -0
  439. package/common/types/options/auth/auth.utils.d.ts +1 -0
  440. package/common/types/options/auth/auth.utils.d.ts.map +1 -0
  441. package/common/types/options/auth/index.d.ts +1 -0
  442. package/common/types/options/auth/index.d.ts.map +1 -0
  443. package/common/types/options/auth/orchestrated.schema.d.ts +1 -0
  444. package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -0
  445. package/common/types/options/auth/public.schema.d.ts +1 -0
  446. package/common/types/options/auth/public.schema.d.ts.map +1 -0
  447. package/common/types/options/auth/shared.schemas.d.ts +1 -0
  448. package/common/types/options/auth/shared.schemas.d.ts.map +1 -0
  449. package/common/types/options/auth/transparent.schema.d.ts +1 -0
  450. package/common/types/options/auth/transparent.schema.d.ts.map +1 -0
  451. package/common/types/options/auth/transport.deprecated.d.ts +1 -0
  452. package/common/types/options/auth/transport.deprecated.d.ts.map +1 -0
  453. package/common/types/options/http.options.d.ts +1 -0
  454. package/common/types/options/http.options.d.ts.map +1 -0
  455. package/common/types/options/index.d.ts +1 -0
  456. package/common/types/options/index.d.ts.map +1 -0
  457. package/common/types/options/logging.options.d.ts +2 -5
  458. package/common/types/options/logging.options.d.ts.map +1 -0
  459. package/common/types/options/redis.options.d.ts +1 -0
  460. package/common/types/options/redis.options.d.ts.map +1 -0
  461. package/common/types/options/server-info.options.d.ts +1 -0
  462. package/common/types/options/server-info.options.d.ts.map +1 -0
  463. package/common/types/options/session.options.d.ts +1 -0
  464. package/common/types/options/session.options.d.ts.map +1 -0
  465. package/common/types/options/transport.options.d.ts +25 -0
  466. package/common/types/options/transport.options.d.ts.map +1 -0
  467. package/common/utils/decide-request-intent.utils.d.ts +1 -0
  468. package/common/utils/decide-request-intent.utils.d.ts.map +1 -0
  469. package/common/utils/global-config.utils.d.ts +1 -0
  470. package/common/utils/global-config.utils.d.ts.map +1 -0
  471. package/common/utils/index.d.ts +1 -0
  472. package/common/utils/index.d.ts.map +1 -0
  473. package/common/utils/path.utils.d.ts +3 -4
  474. package/common/utils/path.utils.d.ts.map +1 -0
  475. package/completion/flows/complete.flow.d.ts +1 -0
  476. package/completion/flows/complete.flow.d.ts.map +1 -0
  477. package/context/context-extension.d.ts +52 -0
  478. package/context/context-extension.d.ts.map +1 -0
  479. package/context/frontmcp-context-storage.d.ts +1 -0
  480. package/context/frontmcp-context-storage.d.ts.map +1 -0
  481. package/context/frontmcp-context.d.ts +1 -0
  482. package/context/frontmcp-context.d.ts.map +1 -0
  483. package/context/frontmcp-context.provider.d.ts +3 -2
  484. package/context/frontmcp-context.provider.d.ts.map +1 -0
  485. package/context/index.d.ts +1 -0
  486. package/context/index.d.ts.map +1 -0
  487. package/context/request-context-storage.d.ts +1 -0
  488. package/context/request-context-storage.d.ts.map +1 -0
  489. package/context/request-context.d.ts +1 -0
  490. package/context/request-context.d.ts.map +1 -0
  491. package/context/request-context.provider.d.ts +1 -0
  492. package/context/request-context.provider.d.ts.map +1 -0
  493. package/context/session-key.provider.d.ts +1 -0
  494. package/context/session-key.provider.d.ts.map +1 -0
  495. package/context/trace-context.d.ts +1 -0
  496. package/context/trace-context.d.ts.map +1 -0
  497. package/errors/agent.errors.d.ts +80 -0
  498. package/errors/agent.errors.d.ts.map +1 -0
  499. package/errors/authorization-required.error.d.ts +1 -0
  500. package/errors/authorization-required.error.d.ts.map +1 -0
  501. package/errors/error-handler.d.ts +1 -0
  502. package/errors/error-handler.d.ts.map +1 -0
  503. package/errors/index.d.ts +4 -1
  504. package/errors/index.d.ts.map +1 -0
  505. package/errors/mcp.error.d.ts +31 -0
  506. package/errors/mcp.error.d.ts.map +1 -0
  507. package/errors/remote.errors.d.ts +156 -0
  508. package/errors/remote.errors.d.ts.map +1 -0
  509. package/esm/index.mjs +13968 -7053
  510. package/esm/package.json +12 -12
  511. package/flows/flow.instance.d.ts +1 -0
  512. package/flows/flow.instance.d.ts.map +1 -0
  513. package/flows/flow.registry.d.ts +3 -1
  514. package/flows/flow.registry.d.ts.map +1 -0
  515. package/flows/flow.stages.d.ts +1 -0
  516. package/flows/flow.stages.d.ts.map +1 -0
  517. package/flows/flow.utils.d.ts +3 -1
  518. package/flows/flow.utils.d.ts.map +1 -0
  519. package/front-mcp/front-mcp.d.ts +21 -1
  520. package/front-mcp/front-mcp.d.ts.map +1 -0
  521. package/front-mcp/front-mcp.providers.d.ts +42 -21
  522. package/front-mcp/front-mcp.providers.d.ts.map +1 -0
  523. package/front-mcp/front-mcp.tokens.d.ts +3 -1
  524. package/front-mcp/front-mcp.tokens.d.ts.map +1 -0
  525. package/front-mcp/index.d.ts +1 -0
  526. package/front-mcp/index.d.ts.map +1 -0
  527. package/front-mcp/serverless-handler.d.ts +1 -0
  528. package/front-mcp/serverless-handler.d.ts.map +1 -0
  529. package/hooks/hook.instance.d.ts +1 -0
  530. package/hooks/hook.instance.d.ts.map +1 -0
  531. package/hooks/hook.registry.d.ts +1 -0
  532. package/hooks/hook.registry.d.ts.map +1 -0
  533. package/hooks/hooks.utils.d.ts +3 -1
  534. package/hooks/hooks.utils.d.ts.map +1 -0
  535. package/index.d.ts +29 -20
  536. package/index.d.ts.map +1 -0
  537. package/index.js +14208 -7223
  538. package/logger/instances/instance.console-logger.d.ts +1 -0
  539. package/logger/instances/instance.console-logger.d.ts.map +1 -0
  540. package/logger/instances/instance.logger.d.ts +1 -0
  541. package/logger/instances/instance.logger.d.ts.map +1 -0
  542. package/logger/logger.registry.d.ts +1 -0
  543. package/logger/logger.registry.d.ts.map +1 -0
  544. package/logger/logger.tokens.d.ts +1 -0
  545. package/logger/logger.tokens.d.ts.map +1 -0
  546. package/logger/logger.types.d.ts +1 -0
  547. package/logger/logger.types.d.ts.map +1 -0
  548. package/logger/logger.utils.d.ts +3 -1
  549. package/logger/logger.utils.d.ts.map +1 -0
  550. package/logging/flows/set-level.flow.d.ts +1 -0
  551. package/logging/flows/set-level.flow.d.ts.map +1 -0
  552. package/notification/index.d.ts +1 -0
  553. package/notification/index.d.ts.map +1 -0
  554. package/notification/notification.service.d.ts +17 -4
  555. package/notification/notification.service.d.ts.map +1 -0
  556. package/package.json +12 -12
  557. package/plugin/plugin.registry.d.ts +25 -6
  558. package/plugin/plugin.registry.d.ts.map +1 -0
  559. package/plugin/plugin.utils.d.ts +3 -1
  560. package/plugin/plugin.utils.d.ts.map +1 -0
  561. package/prompt/flows/get-prompt.flow.d.ts +8 -1
  562. package/prompt/flows/get-prompt.flow.d.ts.map +1 -0
  563. package/prompt/flows/prompts-list.flow.d.ts +8 -1
  564. package/prompt/flows/prompts-list.flow.d.ts.map +1 -0
  565. package/prompt/index.d.ts +1 -0
  566. package/prompt/index.d.ts.map +1 -0
  567. package/prompt/prompt.events.d.ts +3 -2
  568. package/prompt/prompt.events.d.ts.map +1 -0
  569. package/prompt/prompt.instance.d.ts +7 -1
  570. package/prompt/prompt.instance.d.ts.map +1 -0
  571. package/prompt/prompt.registry.d.ts +32 -7
  572. package/prompt/prompt.registry.d.ts.map +1 -0
  573. package/prompt/prompt.types.d.ts +5 -4
  574. package/prompt/prompt.types.d.ts.map +1 -0
  575. package/prompt/prompt.utils.d.ts +3 -3
  576. package/prompt/prompt.utils.d.ts.map +1 -0
  577. package/provider/flow-context-providers.d.ts +24 -0
  578. package/provider/flow-context-providers.d.ts.map +1 -0
  579. package/provider/provider.registry.d.ts +26 -4
  580. package/provider/provider.registry.d.ts.map +1 -0
  581. package/provider/provider.types.d.ts +2 -1
  582. package/provider/provider.types.d.ts.map +1 -0
  583. package/provider/provider.utils.d.ts +21 -2
  584. package/provider/provider.utils.d.ts.map +1 -0
  585. package/regsitry/index.d.ts +1 -0
  586. package/regsitry/index.d.ts.map +1 -0
  587. package/regsitry/registry.base.d.ts +3 -1
  588. package/regsitry/registry.base.d.ts.map +1 -0
  589. package/remote-mcp/cache/capability-cache.d.ts +87 -0
  590. package/remote-mcp/cache/capability-cache.d.ts.map +1 -0
  591. package/remote-mcp/cache/index.d.ts +6 -0
  592. package/remote-mcp/cache/index.d.ts.map +1 -0
  593. package/remote-mcp/factories/context-factories.d.ts +43 -0
  594. package/remote-mcp/factories/context-factories.d.ts.map +1 -0
  595. package/remote-mcp/factories/index.d.ts +12 -0
  596. package/remote-mcp/factories/index.d.ts.map +1 -0
  597. package/remote-mcp/factories/instance-factories.d.ts +81 -0
  598. package/remote-mcp/factories/instance-factories.d.ts.map +1 -0
  599. package/remote-mcp/factories/record-builders.d.ts +50 -0
  600. package/remote-mcp/factories/record-builders.d.ts.map +1 -0
  601. package/remote-mcp/index.d.ts +14 -0
  602. package/remote-mcp/index.d.ts.map +1 -0
  603. package/remote-mcp/mcp-client.service.d.ts +169 -0
  604. package/remote-mcp/mcp-client.service.d.ts.map +1 -0
  605. package/remote-mcp/mcp-client.types.d.ts +298 -0
  606. package/remote-mcp/mcp-client.types.d.ts.map +1 -0
  607. package/remote-mcp/resilience/circuit-breaker.d.ts +100 -0
  608. package/remote-mcp/resilience/circuit-breaker.d.ts.map +1 -0
  609. package/remote-mcp/resilience/health-check.d.ts +107 -0
  610. package/remote-mcp/resilience/health-check.d.ts.map +1 -0
  611. package/remote-mcp/resilience/index.d.ts +8 -0
  612. package/remote-mcp/resilience/index.d.ts.map +1 -0
  613. package/remote-mcp/resilience/retry.d.ts +37 -0
  614. package/remote-mcp/resilience/retry.d.ts.map +1 -0
  615. package/resource/flows/read-resource.flow.d.ts +8 -1
  616. package/resource/flows/read-resource.flow.d.ts.map +1 -0
  617. package/resource/flows/resource-templates-list.flow.d.ts +8 -1
  618. package/resource/flows/resource-templates-list.flow.d.ts.map +1 -0
  619. package/resource/flows/resources-list.flow.d.ts +8 -1
  620. package/resource/flows/resources-list.flow.d.ts.map +1 -0
  621. package/resource/flows/subscribe-resource.flow.d.ts +1 -0
  622. package/resource/flows/subscribe-resource.flow.d.ts.map +1 -0
  623. package/resource/flows/unsubscribe-resource.flow.d.ts +1 -0
  624. package/resource/flows/unsubscribe-resource.flow.d.ts.map +1 -0
  625. package/resource/index.d.ts +1 -0
  626. package/resource/index.d.ts.map +1 -0
  627. package/resource/resource.events.d.ts +3 -2
  628. package/resource/resource.events.d.ts.map +1 -0
  629. package/resource/resource.instance.d.ts +1 -0
  630. package/resource/resource.instance.d.ts.map +1 -0
  631. package/resource/resource.registry.d.ts +33 -8
  632. package/resource/resource.registry.d.ts.map +1 -0
  633. package/resource/resource.types.d.ts +5 -4
  634. package/resource/resource.types.d.ts.map +1 -0
  635. package/resource/resource.utils.d.ts +3 -5
  636. package/resource/resource.utils.d.ts.map +1 -0
  637. package/scope/flows/http.request.flow.d.ts +1 -0
  638. package/scope/flows/http.request.flow.d.ts.map +1 -0
  639. package/scope/index.d.ts +1 -0
  640. package/scope/index.d.ts.map +1 -0
  641. package/scope/scope.instance.d.ts +7 -0
  642. package/scope/scope.instance.d.ts.map +1 -0
  643. package/scope/scope.registry.d.ts +6 -0
  644. package/scope/scope.registry.d.ts.map +1 -0
  645. package/scope/scope.utils.d.ts +3 -1
  646. package/scope/scope.utils.d.ts.map +1 -0
  647. package/server/adapters/base.host.adapter.d.ts +1 -0
  648. package/server/adapters/base.host.adapter.d.ts.map +1 -0
  649. package/server/adapters/express.host.adapter.d.ts +1 -0
  650. package/server/adapters/express.host.adapter.d.ts.map +1 -0
  651. package/server/server.instance.d.ts +1 -0
  652. package/server/server.instance.d.ts.map +1 -0
  653. package/server/server.types.d.ts +1 -0
  654. package/server/server.types.d.ts.map +1 -0
  655. package/server/server.validation.d.ts +1 -0
  656. package/server/server.validation.d.ts.map +1 -0
  657. package/store/adapters/store.base.adapter.d.ts +1 -0
  658. package/store/adapters/store.base.adapter.d.ts.map +1 -0
  659. package/store/adapters/store.memory.adapter.d.ts +1 -0
  660. package/store/adapters/store.memory.adapter.d.ts.map +1 -0
  661. package/store/adapters/store.redis.adapter.d.ts +1 -0
  662. package/store/adapters/store.redis.adapter.d.ts.map +1 -0
  663. package/store/adapters/store.vercel-kv.adapter.d.ts +1 -0
  664. package/store/adapters/store.vercel-kv.adapter.d.ts.map +1 -0
  665. package/store/index.d.ts +1 -0
  666. package/store/index.d.ts.map +1 -0
  667. package/store/store.factory.d.ts +1 -0
  668. package/store/store.factory.d.ts.map +1 -0
  669. package/store/store.helpers.d.ts +1 -0
  670. package/store/store.helpers.d.ts.map +1 -0
  671. package/store/store.registry.d.ts +1 -0
  672. package/store/store.registry.d.ts.map +1 -0
  673. package/store/store.tokens.d.ts +1 -0
  674. package/store/store.tokens.d.ts.map +1 -0
  675. package/store/store.types.d.ts +1 -0
  676. package/store/store.types.d.ts.map +1 -0
  677. package/store/store.utils.d.ts +1 -0
  678. package/store/store.utils.d.ts.map +1 -0
  679. package/tool/flows/call-tool.flow.d.ts +9 -1
  680. package/tool/flows/call-tool.flow.d.ts.map +1 -0
  681. package/tool/flows/tools-list.flow.d.ts +8 -1
  682. package/tool/flows/tools-list.flow.d.ts.map +1 -0
  683. package/tool/tool.events.d.ts +3 -2
  684. package/tool/tool.events.d.ts.map +1 -0
  685. package/tool/tool.instance.d.ts +18 -1
  686. package/tool/tool.instance.d.ts.map +1 -0
  687. package/tool/tool.registry.d.ts +57 -5
  688. package/tool/tool.registry.d.ts.map +1 -0
  689. package/tool/tool.types.d.ts +5 -4
  690. package/tool/tool.types.d.ts.map +1 -0
  691. package/tool/tool.utils.d.ts +20 -3
  692. package/tool/tool.utils.d.ts.map +1 -0
  693. package/tool/ui/index.d.ts +1 -0
  694. package/tool/ui/index.d.ts.map +1 -0
  695. package/tool/ui/platform-adapters.d.ts +1 -0
  696. package/tool/ui/platform-adapters.d.ts.map +1 -0
  697. package/tool/ui/template-helpers.d.ts +1 -0
  698. package/tool/ui/template-helpers.d.ts.map +1 -0
  699. package/tool/ui/ui-resource-template.d.ts +1 -0
  700. package/tool/ui/ui-resource-template.d.ts.map +1 -0
  701. package/tool/ui/ui-resource.handler.d.ts +1 -0
  702. package/tool/ui/ui-resource.handler.d.ts.map +1 -0
  703. package/transport/adapters/sse-transport.d.ts +1 -0
  704. package/transport/adapters/sse-transport.d.ts.map +1 -0
  705. package/transport/adapters/streamable-http-transport.d.ts +27 -0
  706. package/transport/adapters/streamable-http-transport.d.ts.map +1 -0
  707. package/transport/adapters/transport.local.adapter.d.ts +12 -0
  708. package/transport/adapters/transport.local.adapter.d.ts.map +1 -0
  709. package/transport/adapters/transport.sse.adapter.d.ts +1 -0
  710. package/transport/adapters/transport.sse.adapter.d.ts.map +1 -0
  711. package/transport/adapters/transport.streamable-http.adapter.d.ts +1 -0
  712. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -0
  713. package/transport/flows/handle.sse.flow.d.ts +1 -0
  714. package/transport/flows/handle.sse.flow.d.ts.map +1 -0
  715. package/transport/flows/handle.stateless-http.flow.d.ts +1 -0
  716. package/transport/flows/handle.stateless-http.flow.d.ts.map +1 -0
  717. package/transport/flows/handle.streamable-http.flow.d.ts +1 -0
  718. package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -0
  719. package/transport/index.d.ts +1 -0
  720. package/transport/index.d.ts.map +1 -0
  721. package/transport/legacy/legacy.sse.tranporter.d.ts +1 -0
  722. package/transport/legacy/legacy.sse.tranporter.d.ts.map +1 -0
  723. package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts +1 -0
  724. package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts.map +1 -0
  725. package/transport/mcp-handlers/call-tool-request.handler.d.ts +1 -0
  726. package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -0
  727. package/transport/mcp-handlers/complete-request.handler.d.ts +1 -0
  728. package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -0
  729. package/transport/mcp-handlers/get-prompt-request.handler.d.ts +1 -0
  730. package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -0
  731. package/transport/mcp-handlers/index.d.ts +2 -1
  732. package/transport/mcp-handlers/index.d.ts.map +1 -0
  733. package/transport/mcp-handlers/initialize-request.handler.d.ts +1 -0
  734. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -0
  735. package/transport/mcp-handlers/list-prompts-request.handler.d.ts +1 -0
  736. package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -0
  737. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +1 -0
  738. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -0
  739. package/transport/mcp-handlers/list-resources-request.handler.d.ts +1 -0
  740. package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -0
  741. package/transport/mcp-handlers/list-tools-request.handler.d.ts +1 -0
  742. package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -0
  743. package/transport/mcp-handlers/logging-set-level-request.handler.d.ts +2 -1
  744. package/transport/mcp-handlers/logging-set-level-request.handler.d.ts.map +1 -0
  745. package/transport/mcp-handlers/mcp-handlers.types.d.ts +1 -0
  746. package/transport/mcp-handlers/mcp-handlers.types.d.ts.map +1 -0
  747. package/transport/mcp-handlers/read-resource-request.handler.d.ts +1 -0
  748. package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -0
  749. package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts +1 -0
  750. package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts.map +1 -0
  751. package/transport/mcp-handlers/subscribe-request.handler.d.ts +1 -0
  752. package/transport/mcp-handlers/subscribe-request.handler.d.ts.map +1 -0
  753. package/transport/mcp-handlers/unsubscribe-request.handler.d.ts +1 -0
  754. package/transport/mcp-handlers/unsubscribe-request.handler.d.ts.map +1 -0
  755. package/transport/transport.error.d.ts +1 -0
  756. package/transport/transport.error.d.ts.map +1 -0
  757. package/transport/transport.event-store.d.ts +1 -0
  758. package/transport/transport.event-store.d.ts.map +1 -0
  759. package/transport/transport.local.d.ts +1 -0
  760. package/transport/transport.local.d.ts.map +1 -0
  761. package/transport/transport.registry.d.ts +1 -0
  762. package/transport/transport.registry.d.ts.map +1 -0
  763. package/transport/transport.remote.d.ts +1 -0
  764. package/transport/transport.remote.d.ts.map +1 -0
  765. package/transport/transport.types.d.ts +2 -1
  766. package/transport/transport.types.d.ts.map +1 -0
  767. package/types/drinen-hooks.types.d.ts +1 -0
  768. package/types/drinen-hooks.types.d.ts.map +1 -0
  769. package/types/invoke.type.d.ts +1 -0
  770. package/types/invoke.type.d.ts.map +1 -0
  771. package/types/token.types.d.ts +1 -0
  772. package/types/token.types.d.ts.map +1 -0
  773. package/{utils/types.utils.d.ts → types/zod.types.d.ts} +1 -0
  774. package/types/zod.types.d.ts.map +1 -0
  775. package/utils/content.utils.d.ts +1 -19
  776. package/utils/content.utils.d.ts.map +1 -0
  777. package/utils/index.d.ts +3 -7
  778. package/utils/index.d.ts.map +1 -0
  779. package/utils/lineage.utils.d.ts +1 -0
  780. package/utils/lineage.utils.d.ts.map +1 -0
  781. package/utils/naming.utils.d.ts +2 -34
  782. package/utils/naming.utils.d.ts.map +1 -0
  783. package/common/constants.d.ts +0 -5
  784. package/esm/mcp-apps/index.mjs +0 -723
  785. package/exceptions/mcp-exceptions/session-missing.exception.d.ts +0 -3
  786. package/exceptions/mcp-exceptions/unsupported-client-version.exception.d.ts +0 -5
  787. package/mcp-apps/csp.d.ts +0 -111
  788. package/mcp-apps/index.d.ts +0 -23
  789. package/mcp-apps/index.js +0 -799
  790. package/mcp-apps/schemas.d.ts +0 -403
  791. package/mcp-apps/template.d.ts +0 -94
  792. package/mcp-apps/types.d.ts +0 -323
  793. package/utils/metadata.utils.d.ts +0 -5
  794. package/utils/server.utils.d.ts +0 -19
  795. package/utils/string.utils.d.ts +0 -1
  796. package/utils/token.utils.d.ts +0 -11
  797. package/utils/uri-template.utils.d.ts +0 -57
  798. package/utils/uri-validation.utils.d.ts +0 -40
@@ -53,3 +53,4 @@ export declare abstract class FrontMcpServer {
53
53
  */
54
54
  abstract start(port?: number): Promise<void> | void;
55
55
  }
56
+ //# sourceMappingURL=server.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.interface.d.ts","sourceRoot":"","sources":["../../../src/common/interfaces/server.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAE1F,qBAAa,aAAc,SAAQ,eAAe;IACxC,MAAM,EAAE,UAAU,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACL,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IACzC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,WAAW,CAAC,EAAE,aAAa,CAAC;CAC7B;AAED,8BAAsB,cAAe,SAAQ,kBAAkB;IAC7D,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc;IAE7C,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAEjC,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAEjC,QAAQ,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAEpC,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI;CACrD;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEhD,MAAM,MAAM,oBAAoB,GAAG,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEnH,8BAAsB,cAAc;IAClC;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAEnG;;;;;OAKG;IACH,QAAQ,CAAC,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAE7G;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CACtB,OAAO,EAAE,oBAAoB,GAC5B,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAEhE;;;OAGG;IACH,QAAQ,CAAC,OAAO,IAAI,IAAI;IAExB;;OAEG;IACH,QAAQ,CAAC,UAAU,IAAI,OAAO;IAE9B;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;CACpD"}
@@ -129,3 +129,4 @@ export declare enum SessionHookStage {
129
129
  */
130
130
  onMetrics = "onMetrics"
131
131
  }
132
+ //# sourceMappingURL=session-hook.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-hook.interface.d.ts","sourceRoot":"","sources":["../../../src/common/interfaces/session-hook.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,oBAAY,gBAAgB;IAC1B;;;;;;OAMG;IACH,iBAAiB,sBAAsB;IAEvC;;;;OAIG;IACH,gBAAgB,qBAAqB;IAErC;;;;OAIG;IACH,iBAAiB,sBAAsB;IAIvC;;;;OAIG;IACH,aAAa,kBAAkB;IAE/B;;;;OAIG;IACH,aAAa,kBAAkB,CAAE,kCAAkC;IAEnE;;;;;;OAMG;IACH,iBAAiB,sBAAsB;IAEvC;;;;;OAKG;IACH,iBAAiB,sBAAsB;IAEvC;;;;OAIG;IACH,eAAe,oBAAoB;IAInC;;;;OAIG;IACH,cAAc,mBAAmB;IAEjC;;;;OAIG;IACH,aAAa,kBAAkB;IAI/B;;;OAGG;IACH,kBAAkB,uBAAuB;IAEzC;;;OAGG;IACH,iBAAiB,sBAAsB;IAIvC;;;;;OAKG;IACH,YAAY,iBAAiB;IAE7B;;;;;;OAMG;IACH,OAAO,YAAY;IAEnB;;;;OAIG;IACH,SAAS,cAAc;IAEvB;;;;OAIG;IACH,QAAQ,aAAa;IAErB;;;;;;OAMG;IACH,SAAS,cAAc;CACxB"}
@@ -78,3 +78,4 @@ export declare enum ToolHookStage {
78
78
  /** Always runs at the very end (success or error). Cleanup/releases here. */
79
79
  willFinalizeInvoke = "willFinalizeInvoke"
80
80
  }
81
+ //# sourceMappingURL=tool-hook.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-hook.interface.d.ts","sourceRoot":"","sources":["../../../src/common/interfaces/tool-hook.interface.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,oBAAY,aAAa;IACvB;gEAC4D;IAC5D,iBAAiB,sBAAsB;IAEvC,uFAAuF;IACvF,uBAAuB,4BAA4B;IAEnD,0EAA0E;IAC1E,sBAAsB,2BAA2B;IAEjD,kFAAkF;IAClF,aAAa,kBAAkB;IAE/B,8FAA8F;IAC9F,gBAAgB,qBAAqB;IAErC,oFAAoF;IACpF,qBAAqB,0BAA0B;IAI/C,+EAA+E;IAC/E,gBAAgB,qBAAqB;IAErC,0EAA0E;IAC1E,eAAe,oBAAoB;IAEnC,2EAA2E;IAC3E,oBAAoB,yBAAyB;IAE7C,wDAAwD;IACxD,mBAAmB,wBAAwB;IAI3C,8EAA8E;IAC9E,cAAc,mBAAmB;IAEjC,sEAAsE;IACtE,iBAAiB,sBAAsB;IAEvC,2EAA2E;IAC3E,kBAAkB,uBAAuB;IAEzC,+DAA+D;IAC/D,eAAe,oBAAoB;IAEnC,2EAA2E;IAC3E,iBAAiB,sBAAsB;IAIvC,gFAAgF;IAChF,aAAa,kBAAkB;IAE/B,0EAA0E;IAC1E,WAAW,gBAAgB;IAE3B,2EAA2E;IAC3E,YAAY,iBAAiB;IAE7B,wDAAwD;IACxD,cAAc,mBAAmB;IAIjC,mHAAmH;IACnH,aAAa,kBAAkB;IAE/B,4EAA4E;IAC5E,WAAW,gBAAgB;IAE3B,gFAAgF;IAChF,UAAU,eAAe;IAIzB,8EAA8E;IAC9E,gBAAgB,qBAAqB;IAErC,2EAA2E;IAC3E,kBAAkB,uBAAuB;IAEzC,mFAAmF;IACnF,mBAAmB,wBAAwB;IAI3C,oFAAoF;IACpF,OAAO,YAAY;IAEnB,gEAAgE;IAChE,QAAQ,aAAa;IAErB,uEAAuE;IACvE,SAAS,cAAc;IAEvB,+DAA+D;IAC/D,QAAQ,aAAa;IAErB,mDAAmD;IACnD,SAAS,cAAc;IAIvB,yFAAyF;IACzF,OAAO,YAAY;IAEnB,6EAA6E;IAC7E,kBAAkB,uBAAuB;CAC1C"}
@@ -1,8 +1,8 @@
1
- import { FuncType, Type } from './base.interface';
1
+ import { FuncType, Type } from '@frontmcp/di';
2
2
  import { ToolInputType, ToolMetadata, ToolOutputType } from '../metadata';
3
3
  import { ToolInputOf, ToolOutputOf } from '../decorators';
4
4
  import { ExecutionContextBase, ExecutionContextBaseArgs } from './execution-context.interface';
5
- import type { AIPlatformType, ClientInfo } from '../../notification';
5
+ import type { AIPlatformType, ClientInfo, McpLoggingLevel } from '../../notification';
6
6
  export type ToolType<T = any> = Type<T> | FuncType<T>;
7
7
  type HistoryEntry<T> = {
8
8
  at: number;
@@ -13,6 +13,8 @@ type HistoryEntry<T> = {
13
13
  export type ToolCtorArgs<In> = ExecutionContextBaseArgs & {
14
14
  metadata: ToolMetadata;
15
15
  input: In;
16
+ /** Progress token from the request's _meta, used for progress notifications */
17
+ progressToken?: string | number;
16
18
  };
17
19
  export declare abstract class ToolContext<InSchema extends ToolInputType = ToolInputType, OutSchema extends ToolOutputType = ToolOutputType, In = ToolInputOf<{
18
20
  inputSchema: InSchema;
@@ -28,6 +30,7 @@ export declare abstract class ToolContext<InSchema extends ToolInputType = ToolI
28
30
  private _output?;
29
31
  private readonly _inputHistory;
30
32
  private readonly _outputHistory;
33
+ private readonly _progressToken?;
31
34
  constructor(args: ToolCtorArgs<In>);
32
35
  abstract execute(input: In): Promise<Out>;
33
36
  get input(): In;
@@ -37,6 +40,52 @@ export declare abstract class ToolContext<InSchema extends ToolInputType = ToolI
37
40
  set output(v: Out | undefined);
38
41
  get outputHistory(): ReadonlyArray<HistoryEntry<Out>>;
39
42
  respond(value: Out): never;
43
+ /**
44
+ * Send a notification message to the current session.
45
+ * Uses 'notifications/message' per MCP 2025-11-25 spec.
46
+ *
47
+ * @param message - The notification message (string) or structured data (object)
48
+ * @param level - Log level: 'debug', 'info', 'warning', or 'error' (default: 'info')
49
+ * @returns true if the notification was sent, false if session unavailable
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * async execute(input: Input): Promise<Output> {
54
+ * await this.notify('Starting processing...', 'info');
55
+ * await this.notify({ step: 1, total: 5, status: 'in_progress' });
56
+ * // ... processing
57
+ * await this.notify('Processing complete', 'info');
58
+ * return result;
59
+ * }
60
+ * ```
61
+ */
62
+ protected notify(message: string | Record<string, unknown>, level?: McpLoggingLevel): Promise<boolean>;
63
+ /**
64
+ * Send a progress notification to the current session.
65
+ * Uses 'notifications/progress' per MCP 2025-11-25 spec.
66
+ *
67
+ * Only works if the client requested progress updates by including a
68
+ * progressToken in the request's _meta field. If no progressToken was
69
+ * provided, this method logs a debug message and returns false.
70
+ *
71
+ * @param progress - Current progress value (should increase monotonically)
72
+ * @param total - Total progress value (optional)
73
+ * @param message - Progress message (optional)
74
+ * @returns true if the notification was sent, false if no progressToken or session
75
+ *
76
+ * @example
77
+ * ```typescript
78
+ * async execute(input: Input): Promise<Output> {
79
+ * const items = input.items;
80
+ * for (let i = 0; i < items.length; i++) {
81
+ * await this.progress(i + 1, items.length, `Processing item ${i + 1}`);
82
+ * await processItem(items[i]);
83
+ * }
84
+ * return { processed: items.length };
85
+ * }
86
+ * ```
87
+ */
88
+ protected progress(progress: number, total?: number, message?: string): Promise<boolean>;
40
89
  /**
41
90
  * Get the detected AI platform type for the current session.
42
91
  * This is auto-detected from the client info during MCP initialization.
@@ -73,3 +122,4 @@ export declare abstract class ToolContext<InSchema extends ToolInputType = ToolI
73
122
  get clientInfo(): ClientInfo | undefined;
74
123
  }
75
124
  export {};
125
+ //# sourceMappingURL=tool.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.interface.d.ts","sourceRoot":"","sources":["../../../src/common/interfaces/tool.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAI1E,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEtF,MAAM,MAAM,QAAQ,CAAC,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,C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,CAAC,KAAK,EAAE,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC;IAEzC,IAAW,KAAK,IAAI,EAAE,CAErB;IAED,IAAW,KAAK,CAAC,CAAC,EAAE,EAAE,GAAG,SAAS,EAOjC;IAED,IAAW,YAAY,IAAI,aAAa,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAEzD;IAED,IAAW,MAAM,IAAI,GAAG,GAAG,SAAS,CAEnC;IAED,IAAW,MAAM,CAAC,CAAC,EAAE,GAAG,GAAG,SAAS,EAGnC;IAED,IAAW,aAAa,IAAI,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAE3D;IAED,OAAO,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK;IAU1B;;;;;;;;;;;;;;;;;;OAkBG;cACa,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,GAAE,eAAwB,GAAG,OAAO,CAAC,OAAO,CAAC;IAWpH;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;cACa,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAmB9F;;;;;;;;;;;;;;;;;OAiBG;IACH,IAAI,QAAQ,IAAI,cAAc,CAa7B;IAED;;;;;;;;;;;;;OAaG;IACH,IAAI,UAAU,IAAI,UAAU,GAAG,SAAS,CAMvC;CACF"}
@@ -12,3 +12,4 @@ export declare const frontMcpAdapterMetadataSchema: z.ZodObject<{
12
12
  name: z.ZodString;
13
13
  description: z.ZodOptional<z.ZodString>;
14
14
  }, z.core.$loose>;
15
+ //# sourceMappingURL=adapter.metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/adapter.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,eAAO,MAAM,6BAA6B;;;;iBAIa,CAAC"}
@@ -0,0 +1,398 @@
1
+ import { z } from 'zod';
2
+ import { FuncType, Type, Token } from '@frontmcp/di';
3
+ import { ProviderType } from '../interfaces/provider.interface';
4
+ import { PluginType } from '../interfaces/plugin.interface';
5
+ import { AdapterType } from '../interfaces/adapter.interface';
6
+ import { ToolType } from '../interfaces/tool.interface';
7
+ import { ResourceType } from '../interfaces/resource.interface';
8
+ import { PromptType } from '../interfaces/prompt.interface';
9
+ import { ToolInputType, ToolOutputType } from './tool.metadata';
10
+ /**
11
+ * Agent type definition (class or factory function).
12
+ * Used in app/plugin metadata for defining agents.
13
+ */
14
+ export type AgentType<T = unknown> = Type<T> | FuncType<T>;
15
+ declare global {
16
+ /**
17
+ * Declarative metadata extends to the McpAgent decorator.
18
+ * Extends ExtendFrontMcpToolMetadata so agents can use plugin metadata
19
+ * options (e.g., cache, codecall) since agents are exposed as tools.
20
+ * Uses interface for declaration merging support.
21
+ */
22
+ interface ExtendFrontMcpAgentMetadata extends ExtendFrontMcpToolMetadata {
23
+ }
24
+ }
25
+ /**
26
+ * Supported LLM providers for the built-in adapter shorthand.
27
+ */
28
+ export type AgentLlmProviderType = 'openai' | 'anthropic' | 'google' | 'mistral' | 'groq';
29
+ /**
30
+ * Helper type for resolving configuration from app config paths.
31
+ * @example withConfig('llm.openai.apiKey')
32
+ */
33
+ export interface WithConfig<T = string> {
34
+ /**
35
+ * Dot-notation path to resolve from app configuration.
36
+ * @example 'llm.openai.apiKey' or 'agents.research.model'
37
+ */
38
+ configPath: string;
39
+ /**
40
+ * Optional transform function to convert the raw config value.
41
+ */
42
+ transform?: (value: unknown) => T;
43
+ }
44
+ /**
45
+ * Factory function to create a WithConfig reference.
46
+ */
47
+ export declare function withConfig<T = string>(configPath: string, transform?: (value: unknown) => T): WithConfig<T>;
48
+ /**
49
+ * API key configuration - supports direct string, environment variable, or config path.
50
+ */
51
+ export type AgentApiKeyConfig = string | {
52
+ env: string;
53
+ } | WithConfig<string>;
54
+ /**
55
+ * Built-in provider shorthand configuration.
56
+ * Use this for quick setup with standard LLM providers.
57
+ * The SDK will auto-create the appropriate LangChain adapter.
58
+ */
59
+ export interface AgentLlmBuiltinConfig {
60
+ /**
61
+ * LLM provider to use.
62
+ */
63
+ provider: AgentLlmProviderType;
64
+ /**
65
+ * Model identifier (e.g., 'gpt-4-turbo', 'claude-3-opus').
66
+ */
67
+ model: string | WithConfig;
68
+ /**
69
+ * API key for the LLM provider.
70
+ */
71
+ apiKey: AgentApiKeyConfig;
72
+ /**
73
+ * Optional base URL for custom/self-hosted endpoints.
74
+ */
75
+ baseUrl?: string | WithConfig;
76
+ /**
77
+ * Default temperature for generations (0-2).
78
+ */
79
+ temperature?: number;
80
+ /**
81
+ * Maximum tokens for responses.
82
+ */
83
+ maxTokens?: number;
84
+ }
85
+ /**
86
+ * Interface for LLM adapter (local type for use in metadata).
87
+ * Full interface with same name defined in llm-adapter.interface.ts
88
+ * This is intentionally a separate type to avoid circular dependencies.
89
+ */
90
+ interface AgentLlmAdapterLocal {
91
+ completion(prompt: unknown, tools?: unknown[], options?: unknown): Promise<unknown>;
92
+ streamCompletion?(prompt: unknown, tools?: unknown[], options?: unknown): AsyncGenerator<unknown>;
93
+ }
94
+ /**
95
+ * Direct adapter instance or factory configuration.
96
+ * Use this for custom LLM integrations or complex setups.
97
+ */
98
+ export interface AgentLlmAdapterConfig {
99
+ /**
100
+ * Direct adapter instance or factory function.
101
+ * Factory receives ProviderRegistry for dependency injection.
102
+ */
103
+ adapter: AgentLlmAdapterLocal | ((providers: unknown) => AgentLlmAdapterLocal);
104
+ }
105
+ /**
106
+ * Combined LLM configuration type.
107
+ * Supports built-in adapters, custom adapters, or DI token injection.
108
+ *
109
+ * Note: AgentLlmAdapter is defined in llm-adapter.interface.ts
110
+ * Use Token<any> here to avoid circular dependency; runtime validation
111
+ * will check the adapter instance.
112
+ */
113
+ export type AgentLlmConfig = AgentLlmBuiltinConfig | AgentLlmAdapterConfig | Token<unknown>;
114
+ /**
115
+ * Configuration for agent swarm capabilities (agent-to-agent communication).
116
+ */
117
+ export interface AgentSwarmConfig {
118
+ /**
119
+ * Whether this agent can see and invoke other agents as tools.
120
+ * @default false (agents are isolated by default)
121
+ */
122
+ canSeeOtherAgents?: boolean;
123
+ /**
124
+ * Explicit whitelist of agent IDs this agent can see.
125
+ * If undefined and canSeeOtherAgents=true, sees all registered agents.
126
+ */
127
+ visibleAgents?: string[];
128
+ /**
129
+ * Whether this agent is visible to other agents.
130
+ * @default true (agents are discoverable unless hidden)
131
+ */
132
+ isVisible?: boolean;
133
+ /**
134
+ * Maximum depth for agent-to-agent calls (prevents infinite loops).
135
+ * @default 3
136
+ */
137
+ maxCallDepth?: number;
138
+ }
139
+ /**
140
+ * Configuration for agent execution behavior.
141
+ */
142
+ export interface AgentExecutionConfig {
143
+ /**
144
+ * Maximum execution time in milliseconds.
145
+ * @default 120000 (2 minutes)
146
+ */
147
+ timeout?: number;
148
+ /**
149
+ * Maximum iterations for the agent loop.
150
+ * @default 10
151
+ */
152
+ maxIterations?: number;
153
+ /**
154
+ * Enable streaming responses via SSE/WebSocket.
155
+ * @default false
156
+ */
157
+ enableStreaming?: boolean;
158
+ /**
159
+ * Enable MCP notifications for progress updates.
160
+ * @default true
161
+ */
162
+ enableNotifications?: boolean;
163
+ /**
164
+ * Interval for progress notifications in milliseconds.
165
+ * @default 1000
166
+ */
167
+ notificationInterval?: number;
168
+ /**
169
+ * Whether to inherit parent scope's tools.
170
+ * @default true
171
+ */
172
+ inheritParentTools?: boolean;
173
+ /**
174
+ * Whether to execute tools through the call-tool flow (with plugins, hooks, authorization).
175
+ * When true, tool calls go through the full MCP flow with all middleware.
176
+ * When false, tools are executed directly for performance-critical scenarios.
177
+ * @default true
178
+ */
179
+ useToolFlow?: boolean;
180
+ /**
181
+ * Whether to inherit plugins from the parent scope.
182
+ * When true, the agent's tools will benefit from standard plugin extensions
183
+ * (e.g., cache, codecall) registered in the parent scope.
184
+ * @default true
185
+ */
186
+ inheritPlugins?: boolean;
187
+ /**
188
+ * Whether to automatically send progress notifications during agent execution.
189
+ * When true, the agent sends notifications about LLM calls, tool executions,
190
+ * and completion status via `notifications/progress` and `notifications/message`.
191
+ * Requires `enableNotifications` to also be true.
192
+ * @default false (opt-in feature)
193
+ */
194
+ enableAutoProgress?: boolean;
195
+ }
196
+ /**
197
+ * Configuration for exporting agent resources/prompts to parent scope.
198
+ */
199
+ export interface AgentExportsConfig {
200
+ /**
201
+ * Resources to export to parent scope.
202
+ * Use '*' to export all resources.
203
+ */
204
+ resources?: ResourceType[] | '*';
205
+ /**
206
+ * Prompts to export to parent scope.
207
+ * Use '*' to export all prompts.
208
+ */
209
+ prompts?: PromptType[] | '*';
210
+ /**
211
+ * Providers to export to parent scope.
212
+ */
213
+ providers?: ProviderType[];
214
+ }
215
+ /**
216
+ * Declarative metadata describing an autonomous Agent in FrontMCP.
217
+ *
218
+ * Agents are self-contained units with their own LLM provider, isolated scope
219
+ * (tools, resources, prompts, providers, hooks), and the ability to be invoked
220
+ * as tools by other agents or the parent app.
221
+ *
222
+ * @example
223
+ * ```typescript
224
+ * @Agent({
225
+ * name: 'research-agent',
226
+ * description: 'Researches topics and compiles reports',
227
+ * systemInstructions: 'You are a research assistant...',
228
+ * llm: {
229
+ * adapter: 'openai',
230
+ * model: 'gpt-4-turbo',
231
+ * apiKey: { env: 'OPENAI_API_KEY' },
232
+ * },
233
+ * tools: [WebSearchTool, SummarizeTool],
234
+ * swarm: { canSeeOtherAgents: true },
235
+ * })
236
+ * export default class ResearchAgent extends AgentContext { ... }
237
+ * ```
238
+ */
239
+ export interface AgentMetadata<InSchema extends ToolInputType = ToolInputType, OutSchema extends ToolOutputType = ToolOutputType> extends ExtendFrontMcpAgentMetadata {
240
+ /**
241
+ * Unique identifier for the agent.
242
+ * Used for tool routing (use-agent:<id>) and swarm discovery.
243
+ * If omitted, derived from the class name or 'name' property.
244
+ */
245
+ id?: string;
246
+ /**
247
+ * Human-readable name of the agent.
248
+ * This becomes the base for the tool name when the agent is exposed as a tool.
249
+ */
250
+ name: string;
251
+ /**
252
+ * Description of what the agent does.
253
+ * Used in tool discovery and as context for LLM system instructions.
254
+ */
255
+ description?: string;
256
+ /**
257
+ * System instructions for the agent.
258
+ * Defines the agent's persona, capabilities, and behavior.
259
+ */
260
+ systemInstructions?: string;
261
+ /**
262
+ * Zod schema for the agent's input (what triggers the agent).
263
+ * Becomes the tool's inputSchema when agent is exposed as a tool.
264
+ */
265
+ inputSchema?: InSchema;
266
+ /**
267
+ * Zod schema for the agent's output.
268
+ * Becomes the tool's outputSchema when agent is exposed as a tool.
269
+ */
270
+ outputSchema?: OutSchema;
271
+ /**
272
+ * LLM configuration for the agent.
273
+ * Supports built-in adapters, custom adapters, or DI token injection.
274
+ */
275
+ llm: AgentLlmConfig;
276
+ /**
277
+ * Agent-scoped providers (dependencies).
278
+ */
279
+ providers?: ProviderType[];
280
+ /**
281
+ * Agent-scoped plugins for additional capabilities.
282
+ */
283
+ plugins?: PluginType[];
284
+ /**
285
+ * Agent-scoped adapters for external integrations.
286
+ */
287
+ adapters?: AdapterType[];
288
+ /**
289
+ * Nested agents - agents inside this agent!
290
+ * Nested agents are automatically registered as tools within the parent agent's scope.
291
+ */
292
+ agents?: AgentType[];
293
+ /**
294
+ * Agent-scoped tools available to the agent's LLM.
295
+ */
296
+ tools?: ToolType[];
297
+ /**
298
+ * Agent-scoped resources.
299
+ */
300
+ resources?: ResourceType[];
301
+ /**
302
+ * Agent-scoped prompts.
303
+ */
304
+ prompts?: PromptType[];
305
+ /**
306
+ * Resources, prompts, and providers to export to parent scope.
307
+ */
308
+ exports?: AgentExportsConfig;
309
+ /**
310
+ * Swarm configuration for agent-to-agent communication.
311
+ */
312
+ swarm?: AgentSwarmConfig;
313
+ /**
314
+ * Execution configuration.
315
+ */
316
+ execution?: AgentExecutionConfig;
317
+ /**
318
+ * Tags for categorization and filtering.
319
+ */
320
+ tags?: string[];
321
+ /**
322
+ * Whether to hide this agent from discovery.
323
+ * The agent can still be invoked by name if known.
324
+ * @default false
325
+ */
326
+ hideFromDiscovery?: boolean;
327
+ }
328
+ /**
329
+ * Zod schema for validating AgentMetadata at runtime.
330
+ */
331
+ export declare const frontMcpAgentMetadataSchema: z.ZodObject<{
332
+ id: z.ZodOptional<z.ZodString>;
333
+ name: z.ZodString;
334
+ description: z.ZodOptional<z.ZodString>;
335
+ systemInstructions: z.ZodOptional<z.ZodString>;
336
+ inputSchema: z.ZodOptional<z.ZodCustom<Object, Object>>;
337
+ outputSchema: z.ZodOptional<z.ZodAny>;
338
+ llm: z.ZodUnion<readonly [z.ZodObject<{
339
+ provider: z.ZodEnum<{
340
+ openai: "openai";
341
+ anthropic: "anthropic";
342
+ google: "google";
343
+ mistral: "mistral";
344
+ groq: "groq";
345
+ }>;
346
+ model: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
347
+ configPath: z.ZodString;
348
+ transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
349
+ }, z.core.$strip>]>;
350
+ apiKey: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
351
+ env: z.ZodString;
352
+ }, z.core.$strip>, z.ZodObject<{
353
+ configPath: z.ZodString;
354
+ transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
355
+ }, z.core.$strip>]>;
356
+ baseUrl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
357
+ configPath: z.ZodString;
358
+ transform: z.ZodOptional<z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>>;
359
+ }, z.core.$strip>]>>;
360
+ temperature: z.ZodOptional<z.ZodNumber>;
361
+ maxTokens: z.ZodOptional<z.ZodNumber>;
362
+ }, z.core.$strip>, z.ZodObject<{
363
+ adapter: z.ZodUnion<readonly [z.ZodCustom<Object, Object>, z.ZodFunction<z.core.$ZodFunctionArgs, z.core.$ZodFunctionOut>]>;
364
+ }, z.core.$strip>, z.ZodCustom<symbol, symbol>, z.ZodCustom<AgentLlmAdapterLocal, AgentLlmAdapterLocal>]>;
365
+ providers: z.ZodOptional<z.ZodArray<z.ZodCustom<Type<unknown>, Type<unknown>>>>;
366
+ plugins: z.ZodOptional<z.ZodArray<z.ZodCustom<Type<unknown>, Type<unknown>>>>;
367
+ adapters: z.ZodOptional<z.ZodArray<z.ZodCustom<Type<unknown>, Type<unknown>>>>;
368
+ agents: z.ZodOptional<z.ZodArray<z.ZodCustom<AgentType, AgentType>>>;
369
+ tools: z.ZodOptional<z.ZodArray<z.ZodCustom<Type<unknown>, Type<unknown>>>>;
370
+ resources: z.ZodOptional<z.ZodArray<z.ZodCustom<Type<unknown>, Type<unknown>>>>;
371
+ prompts: z.ZodOptional<z.ZodArray<z.ZodCustom<Type<unknown>, Type<unknown>>>>;
372
+ exports: z.ZodOptional<z.ZodObject<{
373
+ resources: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodAny>, z.ZodLiteral<"*">]>>;
374
+ prompts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodAny>, z.ZodLiteral<"*">]>>;
375
+ providers: z.ZodOptional<z.ZodArray<z.ZodAny>>;
376
+ }, z.core.$strip>>;
377
+ swarm: z.ZodOptional<z.ZodObject<{
378
+ canSeeOtherAgents: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
379
+ visibleAgents: z.ZodOptional<z.ZodArray<z.ZodString>>;
380
+ isVisible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
381
+ maxCallDepth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
382
+ }, z.core.$strip>>;
383
+ execution: z.ZodOptional<z.ZodObject<{
384
+ timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
385
+ maxIterations: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
386
+ enableStreaming: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
387
+ enableNotifications: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
388
+ notificationInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
389
+ inheritParentTools: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
390
+ useToolFlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
391
+ inheritPlugins: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
392
+ enableAutoProgress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
393
+ }, z.core.$strip>>;
394
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
395
+ hideFromDiscovery: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
396
+ }, z.core.$loose>;
397
+ export {};
398
+ //# sourceMappingURL=agent.metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/agent.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAU5D,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MA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