@frontmcp/sdk 0.12.2 → 1.0.0-beta.1

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 (423) hide show
  1. package/adapter/adapter.instance.d.ts +6 -0
  2. package/adapter/adapter.instance.d.ts.map +1 -1
  3. package/agent/adapters/adapter.factory.d.ts +7 -9
  4. package/agent/adapters/adapter.factory.d.ts.map +1 -1
  5. package/agent/adapters/anthropic.adapter.d.ts +151 -0
  6. package/agent/adapters/anthropic.adapter.d.ts.map +1 -0
  7. package/agent/adapters/base.adapter.d.ts.map +1 -1
  8. package/agent/adapters/index.d.ts +38 -24
  9. package/agent/adapters/index.d.ts.map +1 -1
  10. package/agent/adapters/openai.adapter.d.ts +288 -0
  11. package/agent/adapters/openai.adapter.d.ts.map +1 -0
  12. package/agent/adapters/providers/index.d.ts +9 -7
  13. package/agent/adapters/providers/index.d.ts.map +1 -1
  14. package/agent/adapters/providers/types.d.ts +5 -1
  15. package/agent/adapters/providers/types.d.ts.map +1 -1
  16. package/agent/agent-execution-loop.d.ts.map +1 -1
  17. package/agent/agent.instance.d.ts +5 -2
  18. package/agent/agent.instance.d.ts.map +1 -1
  19. package/agent/agent.registry.d.ts +1 -1
  20. package/agent/agent.registry.d.ts.map +1 -1
  21. package/agent/agent.scope.d.ts +38 -46
  22. package/agent/agent.scope.d.ts.map +1 -1
  23. package/agent/flows/call-agent.flow.d.ts +12 -3
  24. package/agent/flows/call-agent.flow.d.ts.map +1 -1
  25. package/agent/index.d.ts +12 -6
  26. package/agent/index.d.ts.map +1 -1
  27. package/app/app.registry.d.ts.map +1 -1
  28. package/app/app.utils.d.ts.map +1 -1
  29. package/app/instances/app.esm.instance.d.ts +77 -0
  30. package/app/instances/app.esm.instance.d.ts.map +1 -0
  31. package/app/instances/esm-normalize.utils.d.ts +72 -0
  32. package/app/instances/esm-normalize.utils.d.ts.map +1 -0
  33. package/app/instances/index.d.ts +1 -0
  34. package/app/instances/index.d.ts.map +1 -1
  35. package/auth/auth.registry.d.ts.map +1 -1
  36. package/auth/cimd/index.d.ts +1 -1
  37. package/auth/cimd/index.d.ts.map +1 -1
  38. package/auth/instances/instance.local-primary-auth.d.ts +2 -3
  39. package/auth/instances/instance.local-primary-auth.d.ts.map +1 -1
  40. package/auth/instances/instance.remote-primary-auth.d.ts +0 -1
  41. package/auth/instances/instance.remote-primary-auth.d.ts.map +1 -1
  42. package/auth/session/record/session.base.d.ts.map +1 -1
  43. package/auth/session/transport-session.manager.d.ts.map +1 -1
  44. package/builtin/config/config.plugin.d.ts.map +1 -1
  45. package/builtin/config/index.d.ts +2 -1
  46. package/builtin/config/index.d.ts.map +1 -1
  47. package/builtin/config/providers/config-loader.d.ts.map +1 -1
  48. package/builtin/config/providers/env-loader.d.ts.map +1 -1
  49. package/common/decorators/adapter.decorator.d.ts +1 -1
  50. package/common/decorators/adapter.decorator.d.ts.map +1 -1
  51. package/common/decorators/agent.decorator.d.ts +3 -3
  52. package/common/decorators/agent.decorator.d.ts.map +1 -1
  53. package/common/decorators/app.decorator.d.ts +33 -3
  54. package/common/decorators/app.decorator.d.ts.map +1 -1
  55. package/common/decorators/auth-provider.decorator.d.ts +1 -1
  56. package/common/decorators/auth-provider.decorator.d.ts.map +1 -1
  57. package/common/decorators/flow.decorator.d.ts +1 -1
  58. package/common/decorators/flow.decorator.d.ts.map +1 -1
  59. package/common/decorators/front-mcp.decorator.d.ts.map +1 -1
  60. package/common/decorators/job.decorator.d.ts +11 -1
  61. package/common/decorators/job.decorator.d.ts.map +1 -1
  62. package/common/decorators/logger.decorator.d.ts +1 -1
  63. package/common/decorators/logger.decorator.d.ts.map +1 -1
  64. package/common/decorators/prompt.decorator.d.ts +13 -3
  65. package/common/decorators/prompt.decorator.d.ts.map +1 -1
  66. package/common/decorators/provider.decorator.d.ts +1 -1
  67. package/common/decorators/provider.decorator.d.ts.map +1 -1
  68. package/common/decorators/resource.decorator.d.ts +12 -2
  69. package/common/decorators/resource.decorator.d.ts.map +1 -1
  70. package/common/decorators/skill.decorator.d.ts +11 -1
  71. package/common/decorators/skill.decorator.d.ts.map +1 -1
  72. package/common/decorators/tool.decorator.d.ts +5 -5
  73. package/common/decorators/tool.decorator.d.ts.map +1 -1
  74. package/common/dynamic/dynamic.utils.d.ts +1 -1
  75. package/common/entries/adapter.entry.d.ts.map +1 -1
  76. package/common/entries/agent.entry.d.ts +5 -7
  77. package/common/entries/agent.entry.d.ts.map +1 -1
  78. package/common/entries/logger.entry.d.ts.map +1 -1
  79. package/common/entries/prompt.entry.d.ts +3 -3
  80. package/common/entries/prompt.entry.d.ts.map +1 -1
  81. package/common/entries/resource.entry.d.ts +3 -3
  82. package/common/entries/resource.entry.d.ts.map +1 -1
  83. package/common/entries/tool.entry.d.ts +15 -4
  84. package/common/entries/tool.entry.d.ts.map +1 -1
  85. package/common/interfaces/adapter.interface.d.ts +15 -0
  86. package/common/interfaces/adapter.interface.d.ts.map +1 -1
  87. package/common/interfaces/agent.interface.d.ts +2 -2
  88. package/common/interfaces/agent.interface.d.ts.map +1 -1
  89. package/common/interfaces/auth-hook.interface.d.ts.map +1 -1
  90. package/common/interfaces/execution-context.interface.d.ts +1 -2
  91. package/common/interfaces/execution-context.interface.d.ts.map +1 -1
  92. package/common/interfaces/flow.interface.d.ts.map +1 -1
  93. package/common/interfaces/front-mcp.interface.d.ts.map +1 -1
  94. package/common/interfaces/internal/registry.interface.d.ts +3 -5
  95. package/common/interfaces/internal/registry.interface.d.ts.map +1 -1
  96. package/common/interfaces/job.interface.d.ts +1 -1
  97. package/common/interfaces/job.interface.d.ts.map +1 -1
  98. package/common/interfaces/prompt.interface.d.ts +3 -3
  99. package/common/interfaces/prompt.interface.d.ts.map +1 -1
  100. package/common/interfaces/resource.interface.d.ts +1 -1
  101. package/common/interfaces/resource.interface.d.ts.map +1 -1
  102. package/common/interfaces/server.interface.d.ts +1 -1
  103. package/common/interfaces/server.interface.d.ts.map +1 -1
  104. package/common/interfaces/skill.interface.d.ts +1 -1
  105. package/common/interfaces/skill.interface.d.ts.map +1 -1
  106. package/common/interfaces/tool.interface.d.ts +1 -1
  107. package/common/interfaces/tool.interface.d.ts.map +1 -1
  108. package/common/interfaces/workflow.interface.d.ts +1 -1
  109. package/common/interfaces/workflow.interface.d.ts.map +1 -1
  110. package/common/metadata/adapter.metadata.d.ts.map +1 -1
  111. package/common/metadata/agent.metadata.d.ts +25 -7
  112. package/common/metadata/agent.metadata.d.ts.map +1 -1
  113. package/common/metadata/app-filter.metadata.d.ts +78 -0
  114. package/common/metadata/app-filter.metadata.d.ts.map +1 -0
  115. package/common/metadata/app.metadata.d.ts +198 -76
  116. package/common/metadata/app.metadata.d.ts.map +1 -1
  117. package/common/metadata/auth-provider.metadata.d.ts.map +1 -1
  118. package/common/metadata/front-mcp.metadata.d.ts +2143 -426
  119. package/common/metadata/front-mcp.metadata.d.ts.map +1 -1
  120. package/common/metadata/index.d.ts +2 -0
  121. package/common/metadata/index.d.ts.map +1 -1
  122. package/common/metadata/job.metadata.d.ts +1 -1
  123. package/common/metadata/logger.metadata.d.ts.map +1 -1
  124. package/common/metadata/plugin.metadata.d.ts +1 -1
  125. package/common/metadata/prompt.metadata.d.ts +2 -2
  126. package/common/metadata/prompt.metadata.d.ts.map +1 -1
  127. package/common/metadata/remote-primitive.metadata.d.ts +35 -0
  128. package/common/metadata/remote-primitive.metadata.d.ts.map +1 -0
  129. package/common/metadata/resource.metadata.d.ts +1 -1
  130. package/common/metadata/resource.metadata.d.ts.map +1 -1
  131. package/common/metadata/tool-ui.metadata.d.ts +1 -1
  132. package/common/metadata/tool-ui.metadata.d.ts.map +1 -1
  133. package/common/metadata/tool.metadata.d.ts +86 -19
  134. package/common/metadata/tool.metadata.d.ts.map +1 -1
  135. package/common/metadata/workflow.metadata.d.ts +1 -1
  136. package/common/records/agent.record.d.ts +43 -2
  137. package/common/records/agent.record.d.ts.map +1 -1
  138. package/common/records/flow.record.d.ts.map +1 -1
  139. package/common/records/job.record.d.ts +35 -2
  140. package/common/records/job.record.d.ts.map +1 -1
  141. package/common/records/prompt.record.d.ts +35 -2
  142. package/common/records/prompt.record.d.ts.map +1 -1
  143. package/common/records/resource.record.d.ts +35 -2
  144. package/common/records/resource.record.d.ts.map +1 -1
  145. package/common/records/skill.record.d.ts +44 -2
  146. package/common/records/skill.record.d.ts.map +1 -1
  147. package/common/records/tool.record.d.ts +35 -2
  148. package/common/records/tool.record.d.ts.map +1 -1
  149. package/common/records/workflow.record.d.ts +35 -2
  150. package/common/records/workflow.record.d.ts.map +1 -1
  151. package/common/schemas/annotated-class.schema.d.ts +2 -2
  152. package/common/schemas/annotated-class.schema.d.ts.map +1 -1
  153. package/common/schemas/http-input.schema.d.ts.map +1 -1
  154. package/common/schemas/http-output.schema.d.ts +2 -2
  155. package/common/schemas/http-output.schema.d.ts.map +1 -1
  156. package/common/tokens/adapter.tokens.d.ts.map +1 -1
  157. package/common/tokens/agent.tokens.d.ts +3 -0
  158. package/common/tokens/agent.tokens.d.ts.map +1 -1
  159. package/common/tokens/app.tokens.d.ts.map +1 -1
  160. package/common/tokens/auth-provider.tokens.d.ts.map +1 -1
  161. package/common/tokens/front-mcp.tokens.d.ts.map +1 -1
  162. package/common/tokens/logger.tokens.d.ts.map +1 -1
  163. package/common/tokens/prompt.tokens.d.ts +1 -0
  164. package/common/tokens/prompt.tokens.d.ts.map +1 -1
  165. package/common/tokens/provider.tokens.d.ts.map +1 -1
  166. package/common/tokens/tool.tokens.d.ts +3 -2
  167. package/common/tokens/tool.tokens.d.ts.map +1 -1
  168. package/common/types/common.types.d.ts +2 -2
  169. package/common/types/common.types.d.ts.map +1 -1
  170. package/common/types/options/auth/app-auth.schema.d.ts +2 -271
  171. package/common/types/options/auth/app-auth.schema.d.ts.map +1 -1
  172. package/common/types/options/auth/index.d.ts +6 -6
  173. package/common/types/options/auth/index.d.ts.map +1 -1
  174. package/common/types/options/auth/interfaces.d.ts +1 -430
  175. package/common/types/options/auth/interfaces.d.ts.map +1 -1
  176. package/common/types/options/auth/orchestrated.schema.d.ts +2 -457
  177. package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -1
  178. package/common/types/options/auth/public.schema.d.ts +2 -21
  179. package/common/types/options/auth/public.schema.d.ts.map +1 -1
  180. package/common/types/options/auth/schema.d.ts +2 -280
  181. package/common/types/options/auth/schema.d.ts.map +1 -1
  182. package/common/types/options/auth/shared.schemas.d.ts +2 -2
  183. package/common/types/options/auth/shared.schemas.d.ts.map +1 -1
  184. package/common/types/options/auth/transparent.schema.d.ts +2 -35
  185. package/common/types/options/auth/transparent.schema.d.ts.map +1 -1
  186. package/common/types/options/auth/typecheck.d.ts.map +1 -1
  187. package/common/types/options/auth/utils.d.ts +1 -32
  188. package/common/types/options/auth/utils.d.ts.map +1 -1
  189. package/common/types/options/server-info/interfaces.d.ts +1 -1
  190. package/common/types/options/server-info/interfaces.d.ts.map +1 -1
  191. package/common/types/options/transport/schema.d.ts.map +1 -1
  192. package/common/utils/index.d.ts +2 -0
  193. package/common/utils/index.d.ts.map +1 -1
  194. package/common/utils/primitive-filter.d.ts +24 -0
  195. package/common/utils/primitive-filter.d.ts.map +1 -0
  196. package/common/utils/validate-remote-url.d.ts +13 -0
  197. package/common/utils/validate-remote-url.d.ts.map +1 -0
  198. package/context/frontmcp-context-storage.d.ts +1 -6
  199. package/context/frontmcp-context-storage.d.ts.map +1 -1
  200. package/context/frontmcp-context.d.ts +1 -1
  201. package/context/frontmcp-context.d.ts.map +1 -1
  202. package/context/index.d.ts +5 -4
  203. package/context/index.d.ts.map +1 -1
  204. package/direct/client.types.d.ts +11 -1
  205. package/direct/client.types.d.ts.map +1 -1
  206. package/direct/connect.d.ts +4 -1
  207. package/direct/connect.d.ts.map +1 -1
  208. package/direct/direct-server.d.ts +1 -1
  209. package/direct/direct-server.d.ts.map +1 -1
  210. package/direct/direct.types.d.ts +1 -1
  211. package/direct/direct.types.d.ts.map +1 -1
  212. package/direct/index.d.ts +1 -1
  213. package/direct/index.d.ts.map +1 -1
  214. package/direct/llm-platform.d.ts +3 -3
  215. package/direct/llm-platform.d.ts.map +1 -1
  216. package/elicitation/send-elicitation-result.tool.d.ts.map +1 -1
  217. package/elicitation/store/elicitation-encryption.d.ts.map +1 -1
  218. package/errors/error-handler.d.ts.map +1 -1
  219. package/errors/esm.errors.d.ts +59 -0
  220. package/errors/esm.errors.d.ts.map +1 -0
  221. package/errors/index.d.ts +5 -2
  222. package/errors/index.d.ts.map +1 -1
  223. package/errors/mcp.error.d.ts.map +1 -1
  224. package/esm/index.mjs +5843 -2400
  225. package/esm-loader/app-helpers.d.ts +60 -0
  226. package/esm-loader/app-helpers.d.ts.map +1 -0
  227. package/esm-loader/esm-auth.types.d.ts +53 -0
  228. package/esm-loader/esm-auth.types.d.ts.map +1 -0
  229. package/esm-loader/esm-cache.d.ts +87 -0
  230. package/esm-loader/esm-cache.d.ts.map +1 -0
  231. package/esm-loader/esm-manifest.d.ts +82 -0
  232. package/esm-loader/esm-manifest.d.ts.map +1 -0
  233. package/esm-loader/esm-module-loader.d.ts +100 -0
  234. package/esm-loader/esm-module-loader.d.ts.map +1 -0
  235. package/esm-loader/factories/esm-context-factories.d.ts +52 -0
  236. package/esm-loader/factories/esm-context-factories.d.ts.map +1 -0
  237. package/esm-loader/factories/esm-instance-factories.d.ts +48 -0
  238. package/esm-loader/factories/esm-instance-factories.d.ts.map +1 -0
  239. package/esm-loader/factories/esm-record-builders.d.ts +72 -0
  240. package/esm-loader/factories/esm-record-builders.d.ts.map +1 -0
  241. package/esm-loader/factories/index.d.ts +4 -0
  242. package/esm-loader/factories/index.d.ts.map +1 -0
  243. package/esm-loader/index.d.ts +10 -0
  244. package/esm-loader/index.d.ts.map +1 -0
  245. package/esm-loader/package-specifier.d.ts +60 -0
  246. package/esm-loader/package-specifier.d.ts.map +1 -0
  247. package/esm-loader/semver.utils.d.ts +41 -0
  248. package/esm-loader/semver.utils.d.ts.map +1 -0
  249. package/esm-loader/version-poller.d.ts +101 -0
  250. package/esm-loader/version-poller.d.ts.map +1 -0
  251. package/esm-loader/version-resolver.d.ts +47 -0
  252. package/esm-loader/version-resolver.d.ts.map +1 -0
  253. package/ext-apps/ext-apps.handler.d.ts.map +1 -1
  254. package/front-mcp/front-mcp.d.ts +10 -0
  255. package/front-mcp/front-mcp.d.ts.map +1 -1
  256. package/front-mcp/front-mcp.providers.d.ts +860 -178
  257. package/front-mcp/front-mcp.providers.d.ts.map +1 -1
  258. package/index.d.ts +11 -5
  259. package/index.d.ts.map +1 -1
  260. package/index.js +6399 -2885
  261. package/job/execution/index.d.ts +2 -1
  262. package/job/execution/index.d.ts.map +1 -1
  263. package/job/job.instance.d.ts +4 -1
  264. package/job/job.instance.d.ts.map +1 -1
  265. package/job/job.utils.d.ts.map +1 -1
  266. package/job/tools/list-jobs.tool.d.ts +1 -0
  267. package/job/tools/list-jobs.tool.d.ts.map +1 -1
  268. package/logger/instances/instance.console-logger.d.ts +0 -1
  269. package/logger/instances/instance.console-logger.d.ts.map +1 -1
  270. package/logger/instances/instance.logger.d.ts.map +1 -1
  271. package/logger/logger.registry.d.ts.map +1 -1
  272. package/logger/logger.types.d.ts.map +1 -1
  273. package/notification/notification.service.d.ts +4 -4
  274. package/notification/notification.service.d.ts.map +1 -1
  275. package/package.json +29 -17
  276. package/prompt/flows/get-prompt.flow.d.ts +1 -1
  277. package/prompt/flows/get-prompt.flow.d.ts.map +1 -1
  278. package/prompt/prompt.registry.d.ts +7 -1
  279. package/prompt/prompt.registry.d.ts.map +1 -1
  280. package/prompt/prompt.utils.d.ts +1 -1
  281. package/prompt/prompt.utils.d.ts.map +1 -1
  282. package/provider/provider.registry.d.ts.map +1 -1
  283. package/provider/provider.types.d.ts +0 -13
  284. package/provider/provider.types.d.ts.map +1 -1
  285. package/rate-limit/index.d.ts +13 -0
  286. package/rate-limit/index.d.ts.map +1 -0
  287. package/remote-mcp/cache/index.d.ts +2 -1
  288. package/remote-mcp/cache/index.d.ts.map +1 -1
  289. package/remote-mcp/factories/context-factories.d.ts +1 -1
  290. package/remote-mcp/factories/context-factories.d.ts.map +1 -1
  291. package/remote-mcp/factories/instance-factories.d.ts +1 -1
  292. package/remote-mcp/factories/instance-factories.d.ts.map +1 -1
  293. package/remote-mcp/factories/record-builders.d.ts +1 -1
  294. package/remote-mcp/factories/record-builders.d.ts.map +1 -1
  295. package/remote-mcp/mcp-client.service.d.ts +2 -2
  296. package/remote-mcp/mcp-client.service.d.ts.map +1 -1
  297. package/remote-mcp/mcp-client.types.d.ts +4 -4
  298. package/remote-mcp/mcp-client.types.d.ts.map +1 -1
  299. package/resource/flows/read-resource.flow.d.ts +1 -1
  300. package/resource/flows/read-resource.flow.d.ts.map +1 -1
  301. package/resource/flows/resource-templates-list.flow.d.ts.map +1 -1
  302. package/resource/flows/resources-list.flow.d.ts.map +1 -1
  303. package/resource/resource.registry.d.ts +7 -1
  304. package/resource/resource.registry.d.ts.map +1 -1
  305. package/resource/resource.utils.d.ts.map +1 -1
  306. package/scope/flows/http.request.flow.d.ts +1 -0
  307. package/scope/flows/http.request.flow.d.ts.map +1 -1
  308. package/scope/index.d.ts.map +1 -1
  309. package/scope/scope.instance.d.ts +16 -6
  310. package/scope/scope.instance.d.ts.map +1 -1
  311. package/server/adapters/polyfills/browser-express-host.d.ts +7 -0
  312. package/server/adapters/polyfills/browser-express-host.d.ts.map +1 -0
  313. package/server/adapters/polyfills/node-express-host.d.ts +2 -0
  314. package/server/adapters/polyfills/node-express-host.d.ts.map +1 -0
  315. package/server/noop-server.d.ts +15 -0
  316. package/server/noop-server.d.ts.map +1 -0
  317. package/server/server.types.d.ts +11 -9
  318. package/server/server.types.d.ts.map +1 -1
  319. package/server/server.validation.d.ts.map +1 -1
  320. package/skill/cache/index.d.ts +2 -1
  321. package/skill/cache/index.d.ts.map +1 -1
  322. package/skill/index.d.ts +3 -3
  323. package/skill/index.d.ts.map +1 -1
  324. package/skill/providers/memory-skill.provider.d.ts +5 -0
  325. package/skill/providers/memory-skill.provider.d.ts.map +1 -1
  326. package/skill/session/skill-session.manager.d.ts +1 -1
  327. package/skill/session/skill-session.manager.d.ts.map +1 -1
  328. package/skill/skill-directory-loader.d.ts.map +1 -1
  329. package/skill/skill.registry.d.ts +1 -1
  330. package/skill/skill.registry.d.ts.map +1 -1
  331. package/skill/skill.utils.d.ts.map +1 -1
  332. package/skill/tools/index.d.ts +1 -5
  333. package/skill/tools/index.d.ts.map +1 -1
  334. package/skill/tools/load-skills.tool.d.ts +1 -4
  335. package/skill/tools/load-skills.tool.d.ts.map +1 -1
  336. package/tool/flows/call-tool.flow.d.ts +12 -3
  337. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  338. package/tool/flows/tools-list.flow.d.ts +12 -4
  339. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  340. package/tool/tool.instance.d.ts +5 -2
  341. package/tool/tool.instance.d.ts.map +1 -1
  342. package/tool/tool.registry.d.ts +7 -1
  343. package/tool/tool.registry.d.ts.map +1 -1
  344. package/tool/tool.utils.d.ts.map +1 -1
  345. package/tool/ui/index.d.ts +29 -9
  346. package/tool/ui/index.d.ts.map +1 -1
  347. package/tool/ui/platform-adapters.d.ts +27 -5
  348. package/tool/ui/platform-adapters.d.ts.map +1 -1
  349. package/tool/ui/template-helpers.d.ts +1 -7
  350. package/tool/ui/template-helpers.d.ts.map +1 -1
  351. package/tool/ui/ui-resource-template.d.ts +1 -1
  352. package/tool/ui/ui-resource.handler.d.ts +2 -2
  353. package/tool/ui/ui-resource.handler.d.ts.map +1 -1
  354. package/tool/ui/ui-shared.d.ts +35 -0
  355. package/tool/ui/ui-shared.d.ts.map +1 -0
  356. package/transport/{legacy/legacy.sse.tranporter.d.ts → adapters/base-sse-transport.d.ts} +2 -4
  357. package/transport/adapters/base-sse-transport.d.ts.map +1 -0
  358. package/transport/adapters/polyfills/browser-sse-transport.d.ts +10 -0
  359. package/transport/adapters/polyfills/browser-sse-transport.d.ts.map +1 -0
  360. package/transport/adapters/polyfills/node-sse-transport.d.ts +2 -0
  361. package/transport/adapters/polyfills/node-sse-transport.d.ts.map +1 -0
  362. package/transport/adapters/sse-transport.d.ts +1 -1
  363. package/transport/adapters/sse-transport.d.ts.map +1 -1
  364. package/transport/adapters/streamable-http-transport.d.ts +1 -1
  365. package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
  366. package/transport/adapters/transport.local.adapter.d.ts +4 -6
  367. package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
  368. package/transport/adapters/transport.sse.adapter.d.ts +1 -1
  369. package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
  370. package/transport/adapters/transport.streamable-http.adapter.d.ts +1 -1
  371. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
  372. package/transport/event-stores/event-store.factory.d.ts +1 -1
  373. package/transport/event-stores/event-store.factory.d.ts.map +1 -1
  374. package/transport/event-stores/memory.event-store.d.ts +2 -2
  375. package/transport/event-stores/memory.event-store.d.ts.map +1 -1
  376. package/transport/event-stores/redis.event-store.d.ts +2 -2
  377. package/transport/event-stores/redis.event-store.d.ts.map +1 -1
  378. package/transport/in-memory-server.d.ts +3 -3
  379. package/transport/in-memory-server.d.ts.map +1 -1
  380. package/transport/index.d.ts +8 -5
  381. package/transport/index.d.ts.map +1 -1
  382. package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts +1 -1
  383. package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts.map +1 -1
  384. package/transport/mcp-handlers/call-tool-request.handler.d.ts +1 -1
  385. package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -1
  386. package/transport/mcp-handlers/complete-request.handler.d.ts +1 -1
  387. package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -1
  388. package/transport/mcp-handlers/get-prompt-request.handler.d.ts +1 -1
  389. package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -1
  390. package/transport/mcp-handlers/index.d.ts +6 -6
  391. package/transport/mcp-handlers/initialize-request.handler.d.ts +1 -1
  392. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
  393. package/transport/mcp-handlers/list-prompts-request.handler.d.ts +1 -1
  394. package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -1
  395. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +1 -1
  396. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -1
  397. package/transport/mcp-handlers/list-resources-request.handler.d.ts +1 -1
  398. package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -1
  399. package/transport/mcp-handlers/list-tools-request.handler.d.ts +1 -1
  400. package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -1
  401. package/transport/mcp-handlers/logging-set-level-request.handler.d.ts +1 -1
  402. package/transport/mcp-handlers/logging-set-level-request.handler.d.ts.map +1 -1
  403. package/transport/mcp-handlers/mcp-handlers.types.d.ts +6 -9
  404. package/transport/mcp-handlers/mcp-handlers.types.d.ts.map +1 -1
  405. package/transport/mcp-handlers/read-resource-request.handler.d.ts +1 -1
  406. package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
  407. package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts +2 -2
  408. package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts.map +1 -1
  409. package/transport/mcp-handlers/subscribe-request.handler.d.ts +1 -1
  410. package/transport/mcp-handlers/subscribe-request.handler.d.ts.map +1 -1
  411. package/transport/mcp-handlers/unsubscribe-request.handler.d.ts +1 -1
  412. package/transport/mcp-handlers/unsubscribe-request.handler.d.ts.map +1 -1
  413. package/transport/transport.error.d.ts +2 -2
  414. package/transport/transport.error.d.ts.map +1 -1
  415. package/types/drinen-hooks.types.d.ts.map +1 -1
  416. package/types/invoke.type.d.ts.map +1 -1
  417. package/types/zod.types.d.ts.map +1 -1
  418. package/utils/index.d.ts +2 -1
  419. package/utils/index.d.ts.map +1 -1
  420. package/agent/adapters/langchain.adapter.d.ts +0 -178
  421. package/agent/adapters/langchain.adapter.d.ts.map +0 -1
  422. package/esm/package.json +0 -104
  423. package/transport/legacy/legacy.sse.tranporter.d.ts.map +0 -1
@@ -0,0 +1,78 @@
1
+ /**
2
+ * @file app-filter.metadata.ts
3
+ * @description Include/exclude filtering for tools, resources, prompts, and other primitives
4
+ * loaded from remote or ESM-based apps.
5
+ */
6
+ import { z } from 'zod';
7
+ /**
8
+ * Glob-style name patterns per primitive type.
9
+ * Each key maps to an array of name patterns (supports `*` wildcards).
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * { tools: ['echo', 'add'], resources: ['config:*'] }
14
+ * ```
15
+ */
16
+ export interface PrimitiveFilterMap {
17
+ tools?: string[];
18
+ resources?: string[];
19
+ prompts?: string[];
20
+ agents?: string[];
21
+ skills?: string[];
22
+ jobs?: string[];
23
+ workflows?: string[];
24
+ }
25
+ /**
26
+ * Keys that can appear in a PrimitiveFilterMap.
27
+ */
28
+ export declare const PRIMITIVE_FILTER_KEYS: readonly ["tools", "resources", "prompts", "agents", "skills", "jobs", "workflows"];
29
+ export type PrimitiveFilterKey = (typeof PRIMITIVE_FILTER_KEYS)[number];
30
+ /**
31
+ * Configuration for include/exclude filtering of primitives from external apps.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * // Include everything, exclude specific tools
36
+ * { default: 'include', exclude: { tools: ['dangerous-*'] } }
37
+ *
38
+ * // Exclude everything, include only specific tools
39
+ * { default: 'exclude', include: { tools: ['echo', 'add'] } }
40
+ * ```
41
+ */
42
+ export interface AppFilterConfig {
43
+ /**
44
+ * Default behavior for primitives not explicitly listed.
45
+ * - `'include'` (default): everything is included unless in `exclude`
46
+ * - `'exclude'`: everything is excluded unless in `include`
47
+ */
48
+ default?: 'include' | 'exclude';
49
+ /** Include specific primitives by type and name glob pattern */
50
+ include?: PrimitiveFilterMap;
51
+ /** Exclude specific primitives by type and name glob pattern */
52
+ exclude?: PrimitiveFilterMap;
53
+ }
54
+ export declare const appFilterConfigSchema: z.ZodObject<{
55
+ default: z.ZodOptional<z.ZodEnum<{
56
+ include: "include";
57
+ exclude: "exclude";
58
+ }>>;
59
+ include: z.ZodOptional<z.ZodObject<{
60
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
+ resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
62
+ prompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
+ jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ }, z.core.$strip>>;
68
+ exclude: z.ZodOptional<z.ZodObject<{
69
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ prompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
73
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
+ jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString>>;
76
+ }, z.core.$strip>>;
77
+ }, z.core.$strip>;
78
+ //# sourceMappingURL=app-filter.metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-filter.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/app-filter.metadata.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,qFAQxB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAEhC,gEAAgE;IAChE,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B,gEAAgE;IAChE,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B;AAgBD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;iBAIhC,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { AuthOptionsInput } from '../types';
3
- import { AgentType, ProviderType, PromptType, ResourceType, ToolType, AuthProviderType, PluginType, AdapterType, SkillType, JobType, WorkflowType } from '../interfaces';
3
+ import type { AppFilterConfig } from './app-filter.metadata';
4
+ import type { EsmOptions, RemoteOptions } from './remote-primitive.metadata';
5
+ import type { AgentType, ProviderType, PromptType, ResourceType, ToolType, AuthProviderType, PluginType, AdapterType, SkillType, JobType, WorkflowType } from '../interfaces';
4
6
  /**
5
7
  * Declarative metadata describing what a local mcp app contributes at app scope.
6
8
  *
@@ -109,7 +111,7 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
109
111
  authProviders: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>>;
110
112
  plugins: z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>;
111
113
  adapters: z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>;
112
- tools: z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>;
114
+ tools: z.ZodOptional<z.ZodArray<z.ZodCustom<string | import("libs/di/dist/interfaces/base.interface").Type<unknown>, string | import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>;
113
115
  resources: z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>;
114
116
  prompts: z.ZodOptional<z.ZodArray<z.ZodCustom<import("libs/di/dist/interfaces/base.interface").Type<unknown>, import("libs/di/dist/interfaces/base.interface").Type<unknown>>>>;
115
117
  agents: z.ZodOptional<z.ZodArray<z.ZodCustom<AgentType, AgentType>>>;
@@ -131,33 +133,33 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
131
133
  }, z.core.$strip>>;
132
134
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
133
135
  }, z.core.$strip>, z.ZodObject<{
134
- mode: z.ZodLiteral<"transparent">;
135
- remote: z.ZodObject<{
136
- provider: z.ZodString;
136
+ expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
137
+ requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
138
+ allowAnonymous: z.ZodDefault<z.ZodBoolean>;
139
+ anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
140
+ publicAccess: z.ZodOptional<z.ZodObject<{
141
+ tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
142
+ prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
143
+ rateLimit: z.ZodDefault<z.ZodNumber>;
144
+ }, z.core.$strip>>;
145
+ provider: z.ZodString;
146
+ clientId: z.ZodOptional<z.ZodString>;
147
+ clientSecret: z.ZodOptional<z.ZodString>;
148
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
+ providerConfig: z.ZodOptional<z.ZodObject<{
137
150
  name: z.ZodOptional<z.ZodString>;
138
151
  id: z.ZodOptional<z.ZodString>;
139
152
  jwks: z.ZodOptional<z.ZodObject<{
140
153
  keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
141
154
  }, z.core.$strip>>;
142
155
  jwksUri: z.ZodOptional<z.ZodString>;
143
- clientId: z.ZodOptional<z.ZodString>;
144
- clientSecret: z.ZodOptional<z.ZodString>;
145
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
156
  dcrEnabled: z.ZodDefault<z.ZodBoolean>;
147
157
  authEndpoint: z.ZodOptional<z.ZodString>;
148
158
  tokenEndpoint: z.ZodOptional<z.ZodString>;
149
159
  registrationEndpoint: z.ZodOptional<z.ZodString>;
150
160
  userInfoEndpoint: z.ZodOptional<z.ZodString>;
151
- }, z.core.$strip>;
152
- expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
153
- requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
154
- allowAnonymous: z.ZodDefault<z.ZodBoolean>;
155
- anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
156
- publicAccess: z.ZodOptional<z.ZodObject<{
157
- tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
158
- prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
159
- rateLimit: z.ZodDefault<z.ZodNumber>;
160
161
  }, z.core.$strip>>;
162
+ mode: z.ZodLiteral<"transparent">;
161
163
  }, z.core.$strip>, z.ZodObject<{
162
164
  local: z.ZodOptional<z.ZodObject<{
163
165
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
@@ -166,11 +168,8 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
166
168
  }, z.core.$strip>>;
167
169
  issuer: z.ZodOptional<z.ZodString>;
168
170
  }, z.core.$strip>>;
169
- tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
170
- type: z.ZodLiteral<"memory">;
171
- }, z.core.$strip>, z.ZodObject<{
172
- type: z.ZodLiteral<"redis">;
173
- config: z.ZodObject<{
171
+ tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
172
+ redis: z.ZodObject<{
174
173
  host: z.ZodString;
175
174
  port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
176
175
  password: z.ZodOptional<z.ZodString>;
@@ -179,7 +178,7 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
179
178
  keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
180
179
  defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
181
180
  }, z.core.$strip>;
182
- }, z.core.$strip>], "type">>;
181
+ }, z.core.$strip>]>>;
183
182
  allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
184
183
  anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
185
184
  publicAccess: z.ZodOptional<z.ZodObject<{
@@ -256,8 +255,7 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
256
255
  maxRedirects: z.ZodDefault<z.ZodNumber>;
257
256
  }, z.core.$strip>>;
258
257
  }, z.core.$strip>>;
259
- mode: z.ZodLiteral<"orchestrated">;
260
- type: z.ZodLiteral<"local">;
258
+ mode: z.ZodLiteral<"local">;
261
259
  }, z.core.$strip>, z.ZodObject<{
262
260
  local: z.ZodOptional<z.ZodObject<{
263
261
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
@@ -266,11 +264,8 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
266
264
  }, z.core.$strip>>;
267
265
  issuer: z.ZodOptional<z.ZodString>;
268
266
  }, z.core.$strip>>;
269
- tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
270
- type: z.ZodLiteral<"memory">;
271
- }, z.core.$strip>, z.ZodObject<{
272
- type: z.ZodLiteral<"redis">;
273
- config: z.ZodObject<{
267
+ tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
268
+ redis: z.ZodObject<{
274
269
  host: z.ZodString;
275
270
  port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
276
271
  password: z.ZodOptional<z.ZodString>;
@@ -279,7 +274,7 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
279
274
  keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
280
275
  defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
281
276
  }, z.core.$strip>;
282
- }, z.core.$strip>], "type">>;
277
+ }, z.core.$strip>]>>;
283
278
  allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
284
279
  anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
285
280
  publicAccess: z.ZodOptional<z.ZodObject<{
@@ -356,25 +351,24 @@ export declare const frontMcpLocalAppMetadataSchema: z.ZodObject<{
356
351
  maxRedirects: z.ZodDefault<z.ZodNumber>;
357
352
  }, z.core.$strip>>;
358
353
  }, z.core.$strip>>;
359
- mode: z.ZodLiteral<"orchestrated">;
360
- type: z.ZodLiteral<"remote">;
361
- remote: z.ZodObject<{
362
- provider: z.ZodString;
354
+ provider: z.ZodString;
355
+ clientId: z.ZodOptional<z.ZodString>;
356
+ clientSecret: z.ZodOptional<z.ZodString>;
357
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
358
+ providerConfig: z.ZodOptional<z.ZodObject<{
363
359
  name: z.ZodOptional<z.ZodString>;
364
360
  id: z.ZodOptional<z.ZodString>;
365
361
  jwks: z.ZodOptional<z.ZodObject<{
366
362
  keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
367
363
  }, z.core.$strip>>;
368
364
  jwksUri: z.ZodOptional<z.ZodString>;
369
- clientId: z.ZodOptional<z.ZodString>;
370
- clientSecret: z.ZodOptional<z.ZodString>;
371
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
372
365
  dcrEnabled: z.ZodDefault<z.ZodBoolean>;
373
366
  authEndpoint: z.ZodOptional<z.ZodString>;
374
367
  tokenEndpoint: z.ZodOptional<z.ZodString>;
375
368
  registrationEndpoint: z.ZodOptional<z.ZodString>;
376
369
  userInfoEndpoint: z.ZodOptional<z.ZodString>;
377
- }, z.core.$strip>;
370
+ }, z.core.$strip>>;
371
+ mode: z.ZodLiteral<"remote">;
378
372
  }, z.core.$strip>]>>;
379
373
  standalone: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"includeInParent">, z.ZodBoolean]>>>;
380
374
  }, z.core.$loose>;
@@ -452,6 +446,22 @@ export type RemoteAuthConfig = {
452
446
  */
453
447
  mode: 'oauth';
454
448
  };
449
+ /**
450
+ * Unified loader configuration for npm/ESM package resolution and bundle fetching.
451
+ * When `url` is set but `registryUrl` is not, both registry and bundles use `url`.
452
+ * When `registryUrl` is also set, registry uses `registryUrl`, bundles use `url`.
453
+ */
454
+ export interface PackageLoader {
455
+ /** Base URL for the loader server (registry API + bundle fetching).
456
+ * Defaults: registry → https://registry.npmjs.org, bundles → https://esm.sh */
457
+ url?: string;
458
+ /** Separate registry URL for version resolution (if different from bundle URL) */
459
+ registryUrl?: string;
460
+ /** Bearer token for authentication */
461
+ token?: string;
462
+ /** Env var name containing the bearer token */
463
+ tokenEnvVar?: string;
464
+ }
455
465
  /**
456
466
  * Declarative metadata describing what a remote encapsulated mcp app.
457
467
  */
@@ -519,6 +529,39 @@ export interface RemoteAppMetadata {
519
529
  * @default 60000 (60 seconds)
520
530
  */
521
531
  cacheTTL?: number;
532
+ /**
533
+ * ESM/NPM-specific configuration (only used when urlType is 'npm' or 'esm').
534
+ * Configures loader endpoints, auto-update, caching, and import map overrides.
535
+ */
536
+ packageConfig?: {
537
+ /**
538
+ * Unified loader configuration for registry API + bundle fetching.
539
+ * Overrides the gateway-level `loader` when set.
540
+ */
541
+ loader?: PackageLoader;
542
+ /** Auto-update configuration for semver-based polling */
543
+ autoUpdate?: {
544
+ /** Enable background version polling */
545
+ enabled: boolean;
546
+ /** Polling interval in milliseconds (default: 300000 = 5 min) */
547
+ intervalMs?: number;
548
+ };
549
+ /** Local cache TTL in milliseconds (default: 86400000 = 24 hours) */
550
+ cacheTTL?: number;
551
+ /** Import map overrides for ESM resolution */
552
+ importMap?: Record<string, string>;
553
+ };
554
+ /**
555
+ * Include/exclude filter for selectively importing primitives from this app.
556
+ * Supports per-type filtering (tools, resources, prompts, etc.) with glob patterns.
557
+ *
558
+ * @example
559
+ * ```ts
560
+ * { default: 'include', exclude: { tools: ['dangerous-*'] } }
561
+ * { default: 'exclude', include: { tools: ['echo', 'add'] } }
562
+ * ```
563
+ */
564
+ filter?: AppFilterConfig;
522
565
  /**
523
566
  * If true, the app will NOT be included and will act as a separated scope.
524
567
  * If false, the app will be included in MultiApp frontmcp server.
@@ -527,6 +570,12 @@ export interface RemoteAppMetadata {
527
570
  */
528
571
  standalone: 'includeInParent' | boolean;
529
572
  }
573
+ export declare const packageLoaderSchema: z.ZodObject<{
574
+ url: z.ZodOptional<z.ZodString>;
575
+ registryUrl: z.ZodOptional<z.ZodString>;
576
+ token: z.ZodOptional<z.ZodString>;
577
+ tokenEnvVar: z.ZodOptional<z.ZodString>;
578
+ }, z.core.$strip>;
530
579
  export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
531
580
  id: z.ZodOptional<z.ZodString>;
532
581
  name: z.ZodString;
@@ -579,33 +628,33 @@ export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
579
628
  }, z.core.$strip>>;
580
629
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
581
630
  }, z.core.$strip>, z.ZodObject<{
582
- mode: z.ZodLiteral<"transparent">;
583
- remote: z.ZodObject<{
584
- provider: z.ZodString;
631
+ expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
632
+ requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
633
+ allowAnonymous: z.ZodDefault<z.ZodBoolean>;
634
+ anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
635
+ publicAccess: z.ZodOptional<z.ZodObject<{
636
+ tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
637
+ prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
638
+ rateLimit: z.ZodDefault<z.ZodNumber>;
639
+ }, z.core.$strip>>;
640
+ provider: z.ZodString;
641
+ clientId: z.ZodOptional<z.ZodString>;
642
+ clientSecret: z.ZodOptional<z.ZodString>;
643
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
644
+ providerConfig: z.ZodOptional<z.ZodObject<{
585
645
  name: z.ZodOptional<z.ZodString>;
586
646
  id: z.ZodOptional<z.ZodString>;
587
647
  jwks: z.ZodOptional<z.ZodObject<{
588
648
  keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
589
649
  }, z.core.$strip>>;
590
650
  jwksUri: z.ZodOptional<z.ZodString>;
591
- clientId: z.ZodOptional<z.ZodString>;
592
- clientSecret: z.ZodOptional<z.ZodString>;
593
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
594
651
  dcrEnabled: z.ZodDefault<z.ZodBoolean>;
595
652
  authEndpoint: z.ZodOptional<z.ZodString>;
596
653
  tokenEndpoint: z.ZodOptional<z.ZodString>;
597
654
  registrationEndpoint: z.ZodOptional<z.ZodString>;
598
655
  userInfoEndpoint: z.ZodOptional<z.ZodString>;
599
- }, z.core.$strip>;
600
- expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
601
- requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
602
- allowAnonymous: z.ZodDefault<z.ZodBoolean>;
603
- anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
604
- publicAccess: z.ZodOptional<z.ZodObject<{
605
- tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
606
- prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
607
- rateLimit: z.ZodDefault<z.ZodNumber>;
608
656
  }, z.core.$strip>>;
657
+ mode: z.ZodLiteral<"transparent">;
609
658
  }, z.core.$strip>, z.ZodObject<{
610
659
  local: z.ZodOptional<z.ZodObject<{
611
660
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
@@ -614,11 +663,8 @@ export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
614
663
  }, z.core.$strip>>;
615
664
  issuer: z.ZodOptional<z.ZodString>;
616
665
  }, z.core.$strip>>;
617
- tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
618
- type: z.ZodLiteral<"memory">;
619
- }, z.core.$strip>, z.ZodObject<{
620
- type: z.ZodLiteral<"redis">;
621
- config: z.ZodObject<{
666
+ tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
667
+ redis: z.ZodObject<{
622
668
  host: z.ZodString;
623
669
  port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
624
670
  password: z.ZodOptional<z.ZodString>;
@@ -627,7 +673,7 @@ export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
627
673
  keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
628
674
  defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
629
675
  }, z.core.$strip>;
630
- }, z.core.$strip>], "type">>;
676
+ }, z.core.$strip>]>>;
631
677
  allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
632
678
  anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
633
679
  publicAccess: z.ZodOptional<z.ZodObject<{
@@ -704,8 +750,7 @@ export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
704
750
  maxRedirects: z.ZodDefault<z.ZodNumber>;
705
751
  }, z.core.$strip>>;
706
752
  }, z.core.$strip>>;
707
- mode: z.ZodLiteral<"orchestrated">;
708
- type: z.ZodLiteral<"local">;
753
+ mode: z.ZodLiteral<"local">;
709
754
  }, z.core.$strip>, z.ZodObject<{
710
755
  local: z.ZodOptional<z.ZodObject<{
711
756
  signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
@@ -714,11 +759,8 @@ export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
714
759
  }, z.core.$strip>>;
715
760
  issuer: z.ZodOptional<z.ZodString>;
716
761
  }, z.core.$strip>>;
717
- tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
718
- type: z.ZodLiteral<"memory">;
719
- }, z.core.$strip>, z.ZodObject<{
720
- type: z.ZodLiteral<"redis">;
721
- config: z.ZodObject<{
762
+ tokenStorage: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"memory">, z.ZodObject<{
763
+ redis: z.ZodObject<{
722
764
  host: z.ZodString;
723
765
  port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
724
766
  password: z.ZodOptional<z.ZodString>;
@@ -727,7 +769,7 @@ export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
727
769
  keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
728
770
  defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
729
771
  }, z.core.$strip>;
730
- }, z.core.$strip>], "type">>;
772
+ }, z.core.$strip>]>>;
731
773
  allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
732
774
  anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
733
775
  publicAccess: z.ZodOptional<z.ZodObject<{
@@ -804,29 +846,109 @@ export declare const frontMcpRemoteAppMetadataSchema: z.ZodObject<{
804
846
  maxRedirects: z.ZodDefault<z.ZodNumber>;
805
847
  }, z.core.$strip>>;
806
848
  }, z.core.$strip>>;
807
- mode: z.ZodLiteral<"orchestrated">;
808
- type: z.ZodLiteral<"remote">;
809
- remote: z.ZodObject<{
810
- provider: z.ZodString;
849
+ provider: z.ZodString;
850
+ clientId: z.ZodOptional<z.ZodString>;
851
+ clientSecret: z.ZodOptional<z.ZodString>;
852
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
853
+ providerConfig: z.ZodOptional<z.ZodObject<{
811
854
  name: z.ZodOptional<z.ZodString>;
812
855
  id: z.ZodOptional<z.ZodString>;
813
856
  jwks: z.ZodOptional<z.ZodObject<{
814
857
  keys: z.ZodArray<z.ZodType<import("libs/auth/dist/common/jwt.types").JWK, unknown, z.core.$ZodTypeInternals<import("libs/auth/dist/common/jwt.types").JWK, unknown>>>;
815
858
  }, z.core.$strip>>;
816
859
  jwksUri: z.ZodOptional<z.ZodString>;
817
- clientId: z.ZodOptional<z.ZodString>;
818
- clientSecret: z.ZodOptional<z.ZodString>;
819
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
820
860
  dcrEnabled: z.ZodDefault<z.ZodBoolean>;
821
861
  authEndpoint: z.ZodOptional<z.ZodString>;
822
862
  tokenEndpoint: z.ZodOptional<z.ZodString>;
823
863
  registrationEndpoint: z.ZodOptional<z.ZodString>;
824
864
  userInfoEndpoint: z.ZodOptional<z.ZodString>;
825
- }, z.core.$strip>;
865
+ }, z.core.$strip>>;
866
+ mode: z.ZodLiteral<"remote">;
826
867
  }, z.core.$strip>]>>;
827
868
  refreshInterval: z.ZodOptional<z.ZodNumber>;
828
869
  cacheTTL: z.ZodOptional<z.ZodNumber>;
870
+ packageConfig: z.ZodOptional<z.ZodObject<{
871
+ loader: z.ZodOptional<z.ZodObject<{
872
+ url: z.ZodOptional<z.ZodString>;
873
+ registryUrl: z.ZodOptional<z.ZodString>;
874
+ token: z.ZodOptional<z.ZodString>;
875
+ tokenEnvVar: z.ZodOptional<z.ZodString>;
876
+ }, z.core.$strip>>;
877
+ autoUpdate: z.ZodOptional<z.ZodObject<{
878
+ enabled: z.ZodBoolean;
879
+ intervalMs: z.ZodOptional<z.ZodNumber>;
880
+ }, z.core.$strip>>;
881
+ cacheTTL: z.ZodOptional<z.ZodNumber>;
882
+ importMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
883
+ }, z.core.$strip>>;
884
+ filter: z.ZodOptional<z.ZodObject<{
885
+ default: z.ZodOptional<z.ZodEnum<{
886
+ include: "include";
887
+ exclude: "exclude";
888
+ }>>;
889
+ include: z.ZodOptional<z.ZodObject<{
890
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
891
+ resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
892
+ prompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
893
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
894
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
895
+ jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
896
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString>>;
897
+ }, z.core.$strip>>;
898
+ exclude: z.ZodOptional<z.ZodObject<{
899
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
900
+ resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
901
+ prompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
902
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
903
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
904
+ jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
905
+ workflows: z.ZodOptional<z.ZodArray<z.ZodString>>;
906
+ }, z.core.$strip>>;
907
+ }, z.core.$strip>>;
829
908
  standalone: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"includeInParent">, z.ZodBoolean]>>>;
830
909
  }, z.core.$loose>;
831
910
  export type AppMetadata = LocalAppMetadata | RemoteAppMetadata;
911
+ /**
912
+ * Options for `App.esm()` — loads an @App-decorated class from an npm package.
913
+ * Extends {@link EsmOptions} with app-specific fields.
914
+ */
915
+ export interface EsmAppOptions extends EsmOptions {
916
+ /** Override the auto-derived app name */
917
+ name?: string;
918
+ /** Namespace prefix for tools, resources, and prompts */
919
+ namespace?: string;
920
+ /** Human-readable description */
921
+ description?: string;
922
+ /** Standalone mode */
923
+ standalone?: boolean | 'includeInParent';
924
+ /** Auto-update configuration for semver-based polling */
925
+ autoUpdate?: {
926
+ enabled: boolean;
927
+ intervalMs?: number;
928
+ };
929
+ /** Import map overrides for ESM resolution */
930
+ importMap?: Record<string, string>;
931
+ /** Include/exclude filter for selectively importing primitives */
932
+ filter?: AppFilterConfig;
933
+ }
934
+ /**
935
+ * Options for `App.remote()` — connects to an external MCP server via HTTP.
936
+ * Extends {@link RemoteOptions} with app-specific fields.
937
+ */
938
+ export interface RemoteUrlAppOptions extends RemoteOptions {
939
+ /** Override the auto-derived app name */
940
+ name?: string;
941
+ /** Namespace prefix for tools, resources, and prompts */
942
+ namespace?: string;
943
+ /** Human-readable description */
944
+ description?: string;
945
+ /** Standalone mode */
946
+ standalone?: boolean | 'includeInParent';
947
+ /** Interval (ms) to refresh capabilities from the remote server */
948
+ refreshInterval?: number;
949
+ /** TTL (ms) for cached capabilities */
950
+ cacheTTL?: number;
951
+ /** Include/exclude filter for selectively importing primitives */
952
+ filter?: AppFilterConfig;
953
+ }
832
954
  //# sourceMappingURL=app.metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/app.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAkC,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,EACL,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,SAAS,EACT,OAAO,EACP,YAAY,EACb,MAAM,eAAe,CAAC;A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Ae,CAAC,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"auth-provider.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/auth-provider.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,kCAAkC;;;;;iBAKa,CAAC"}
1
+ {"version":3,"file":"auth-provider.metadata.d.ts","sourceRoot":"","sources":["../../../src/common/metadata/auth-provider.metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,kCAAkC;;;;;iBAO/B,CAAC"}