@frontmcp/sdk 0.12.2 → 1.0.0-beta.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 (461) 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 +13 -4
  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 +20 -44
  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 +56 -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/elicitation/schema.d.ts +2 -4
  190. package/common/types/options/elicitation/schema.d.ts.map +1 -1
  191. package/common/types/options/ext-apps/index.d.ts +1 -1
  192. package/common/types/options/ext-apps/index.d.ts.map +1 -1
  193. package/common/types/options/ext-apps/interfaces.d.ts +55 -0
  194. package/common/types/options/ext-apps/interfaces.d.ts.map +1 -1
  195. package/common/types/options/ext-apps/schema.d.ts +3 -1
  196. package/common/types/options/ext-apps/schema.d.ts.map +1 -1
  197. package/common/types/options/ext-apps/typecheck.d.ts +2 -0
  198. package/common/types/options/ext-apps/typecheck.d.ts.map +1 -0
  199. package/common/types/options/http/schema.d.ts +3 -1
  200. package/common/types/options/http/schema.d.ts.map +1 -1
  201. package/common/types/options/http/typecheck.d.ts +2 -0
  202. package/common/types/options/http/typecheck.d.ts.map +1 -0
  203. package/common/types/options/logging/schema.d.ts +3 -2
  204. package/common/types/options/logging/schema.d.ts.map +1 -1
  205. package/common/types/options/redis/index.d.ts +1 -1
  206. package/common/types/options/redis/index.d.ts.map +1 -1
  207. package/common/types/options/redis/interfaces.d.ts +4 -0
  208. package/common/types/options/redis/interfaces.d.ts.map +1 -1
  209. package/common/types/options/redis/schema.d.ts +7 -4
  210. package/common/types/options/redis/schema.d.ts.map +1 -1
  211. package/common/types/options/redis/typecheck.d.ts +2 -0
  212. package/common/types/options/redis/typecheck.d.ts.map +1 -0
  213. package/common/types/options/server-info/interfaces.d.ts +1 -1
  214. package/common/types/options/server-info/interfaces.d.ts.map +1 -1
  215. package/common/types/options/skills-http/schema.d.ts +3 -2
  216. package/common/types/options/skills-http/schema.d.ts.map +1 -1
  217. package/common/types/options/skills-http/typecheck.d.ts +2 -0
  218. package/common/types/options/skills-http/typecheck.d.ts.map +1 -0
  219. package/common/types/options/sqlite/index.d.ts +1 -0
  220. package/common/types/options/sqlite/index.d.ts.map +1 -1
  221. package/common/types/options/sqlite/interfaces.d.ts +25 -0
  222. package/common/types/options/sqlite/interfaces.d.ts.map +1 -0
  223. package/common/types/options/sqlite/schema.d.ts +3 -1
  224. package/common/types/options/sqlite/schema.d.ts.map +1 -1
  225. package/common/types/options/sqlite/typecheck.d.ts +2 -0
  226. package/common/types/options/sqlite/typecheck.d.ts.map +1 -0
  227. package/common/types/options/transport/schema.d.ts.map +1 -1
  228. package/common/utils/index.d.ts +2 -0
  229. package/common/utils/index.d.ts.map +1 -1
  230. package/common/utils/primitive-filter.d.ts +24 -0
  231. package/common/utils/primitive-filter.d.ts.map +1 -0
  232. package/common/utils/validate-remote-url.d.ts +13 -0
  233. package/common/utils/validate-remote-url.d.ts.map +1 -0
  234. package/context/frontmcp-context-storage.d.ts +1 -6
  235. package/context/frontmcp-context-storage.d.ts.map +1 -1
  236. package/context/frontmcp-context.d.ts +1 -1
  237. package/context/frontmcp-context.d.ts.map +1 -1
  238. package/context/index.d.ts +5 -4
  239. package/context/index.d.ts.map +1 -1
  240. package/direct/client.types.d.ts +11 -1
  241. package/direct/client.types.d.ts.map +1 -1
  242. package/direct/connect.d.ts +4 -1
  243. package/direct/connect.d.ts.map +1 -1
  244. package/direct/direct-server.d.ts +1 -1
  245. package/direct/direct-server.d.ts.map +1 -1
  246. package/direct/direct.types.d.ts +1 -1
  247. package/direct/direct.types.d.ts.map +1 -1
  248. package/direct/index.d.ts +1 -1
  249. package/direct/index.d.ts.map +1 -1
  250. package/direct/llm-platform.d.ts +3 -3
  251. package/direct/llm-platform.d.ts.map +1 -1
  252. package/elicitation/send-elicitation-result.tool.d.ts.map +1 -1
  253. package/elicitation/store/elicitation-encryption.d.ts.map +1 -1
  254. package/errors/error-handler.d.ts.map +1 -1
  255. package/errors/esm.errors.d.ts +59 -0
  256. package/errors/esm.errors.d.ts.map +1 -0
  257. package/errors/index.d.ts +5 -2
  258. package/errors/index.d.ts.map +1 -1
  259. package/errors/mcp.error.d.ts.map +1 -1
  260. package/esm/index.mjs +5904 -2414
  261. package/esm-loader/app-helpers.d.ts +60 -0
  262. package/esm-loader/app-helpers.d.ts.map +1 -0
  263. package/esm-loader/esm-auth.types.d.ts +53 -0
  264. package/esm-loader/esm-auth.types.d.ts.map +1 -0
  265. package/esm-loader/esm-cache.d.ts +87 -0
  266. package/esm-loader/esm-cache.d.ts.map +1 -0
  267. package/esm-loader/esm-manifest.d.ts +82 -0
  268. package/esm-loader/esm-manifest.d.ts.map +1 -0
  269. package/esm-loader/esm-module-loader.d.ts +100 -0
  270. package/esm-loader/esm-module-loader.d.ts.map +1 -0
  271. package/esm-loader/factories/esm-context-factories.d.ts +52 -0
  272. package/esm-loader/factories/esm-context-factories.d.ts.map +1 -0
  273. package/esm-loader/factories/esm-instance-factories.d.ts +48 -0
  274. package/esm-loader/factories/esm-instance-factories.d.ts.map +1 -0
  275. package/esm-loader/factories/esm-record-builders.d.ts +72 -0
  276. package/esm-loader/factories/esm-record-builders.d.ts.map +1 -0
  277. package/esm-loader/factories/index.d.ts +4 -0
  278. package/esm-loader/factories/index.d.ts.map +1 -0
  279. package/esm-loader/index.d.ts +10 -0
  280. package/esm-loader/index.d.ts.map +1 -0
  281. package/esm-loader/package-specifier.d.ts +60 -0
  282. package/esm-loader/package-specifier.d.ts.map +1 -0
  283. package/esm-loader/semver.utils.d.ts +41 -0
  284. package/esm-loader/semver.utils.d.ts.map +1 -0
  285. package/esm-loader/version-poller.d.ts +101 -0
  286. package/esm-loader/version-poller.d.ts.map +1 -0
  287. package/esm-loader/version-resolver.d.ts +47 -0
  288. package/esm-loader/version-resolver.d.ts.map +1 -0
  289. package/ext-apps/ext-apps.handler.d.ts.map +1 -1
  290. package/front-mcp/front-mcp.d.ts +10 -0
  291. package/front-mcp/front-mcp.d.ts.map +1 -1
  292. package/front-mcp/front-mcp.providers.d.ts +860 -178
  293. package/front-mcp/front-mcp.providers.d.ts.map +1 -1
  294. package/index.d.ts +11 -5
  295. package/index.d.ts.map +1 -1
  296. package/index.js +6395 -2834
  297. package/job/execution/index.d.ts +2 -1
  298. package/job/execution/index.d.ts.map +1 -1
  299. package/job/job.instance.d.ts +4 -1
  300. package/job/job.instance.d.ts.map +1 -1
  301. package/job/job.utils.d.ts.map +1 -1
  302. package/job/tools/list-jobs.tool.d.ts +1 -0
  303. package/job/tools/list-jobs.tool.d.ts.map +1 -1
  304. package/logger/instances/instance.console-logger.d.ts +0 -1
  305. package/logger/instances/instance.console-logger.d.ts.map +1 -1
  306. package/logger/instances/instance.logger.d.ts.map +1 -1
  307. package/logger/logger.registry.d.ts.map +1 -1
  308. package/logger/logger.types.d.ts.map +1 -1
  309. package/notification/notification.service.d.ts +4 -4
  310. package/notification/notification.service.d.ts.map +1 -1
  311. package/package.json +29 -17
  312. package/prompt/flows/get-prompt.flow.d.ts +1 -1
  313. package/prompt/flows/get-prompt.flow.d.ts.map +1 -1
  314. package/prompt/prompt.registry.d.ts +7 -1
  315. package/prompt/prompt.registry.d.ts.map +1 -1
  316. package/prompt/prompt.utils.d.ts +1 -1
  317. package/prompt/prompt.utils.d.ts.map +1 -1
  318. package/provider/provider.registry.d.ts.map +1 -1
  319. package/provider/provider.types.d.ts +0 -13
  320. package/provider/provider.types.d.ts.map +1 -1
  321. package/rate-limit/index.d.ts +13 -0
  322. package/rate-limit/index.d.ts.map +1 -0
  323. package/remote-mcp/cache/index.d.ts +2 -1
  324. package/remote-mcp/cache/index.d.ts.map +1 -1
  325. package/remote-mcp/factories/context-factories.d.ts +1 -1
  326. package/remote-mcp/factories/context-factories.d.ts.map +1 -1
  327. package/remote-mcp/factories/instance-factories.d.ts +1 -1
  328. package/remote-mcp/factories/instance-factories.d.ts.map +1 -1
  329. package/remote-mcp/factories/record-builders.d.ts +1 -1
  330. package/remote-mcp/factories/record-builders.d.ts.map +1 -1
  331. package/remote-mcp/mcp-client.service.d.ts +2 -2
  332. package/remote-mcp/mcp-client.service.d.ts.map +1 -1
  333. package/remote-mcp/mcp-client.types.d.ts +4 -4
  334. package/remote-mcp/mcp-client.types.d.ts.map +1 -1
  335. package/resource/flows/read-resource.flow.d.ts +1 -1
  336. package/resource/flows/read-resource.flow.d.ts.map +1 -1
  337. package/resource/flows/resource-templates-list.flow.d.ts.map +1 -1
  338. package/resource/flows/resources-list.flow.d.ts.map +1 -1
  339. package/resource/resource.registry.d.ts +7 -1
  340. package/resource/resource.registry.d.ts.map +1 -1
  341. package/resource/resource.utils.d.ts.map +1 -1
  342. package/scope/flows/http.request.flow.d.ts +1 -0
  343. package/scope/flows/http.request.flow.d.ts.map +1 -1
  344. package/scope/index.d.ts.map +1 -1
  345. package/scope/scope.instance.d.ts +16 -6
  346. package/scope/scope.instance.d.ts.map +1 -1
  347. package/server/adapters/polyfills/browser-express-host.d.ts +7 -0
  348. package/server/adapters/polyfills/browser-express-host.d.ts.map +1 -0
  349. package/server/adapters/polyfills/node-express-host.d.ts +2 -0
  350. package/server/adapters/polyfills/node-express-host.d.ts.map +1 -0
  351. package/server/noop-server.d.ts +15 -0
  352. package/server/noop-server.d.ts.map +1 -0
  353. package/server/server.types.d.ts +11 -9
  354. package/server/server.types.d.ts.map +1 -1
  355. package/server/server.validation.d.ts.map +1 -1
  356. package/skill/cache/index.d.ts +2 -1
  357. package/skill/cache/index.d.ts.map +1 -1
  358. package/skill/index.d.ts +3 -3
  359. package/skill/index.d.ts.map +1 -1
  360. package/skill/providers/memory-skill.provider.d.ts +5 -0
  361. package/skill/providers/memory-skill.provider.d.ts.map +1 -1
  362. package/skill/session/skill-session.manager.d.ts +1 -1
  363. package/skill/session/skill-session.manager.d.ts.map +1 -1
  364. package/skill/skill-directory-loader.d.ts.map +1 -1
  365. package/skill/skill.registry.d.ts +1 -1
  366. package/skill/skill.registry.d.ts.map +1 -1
  367. package/skill/skill.utils.d.ts.map +1 -1
  368. package/skill/tools/index.d.ts +1 -5
  369. package/skill/tools/index.d.ts.map +1 -1
  370. package/skill/tools/load-skills.tool.d.ts +1 -4
  371. package/skill/tools/load-skills.tool.d.ts.map +1 -1
  372. package/tool/flows/call-tool.flow.d.ts +12 -3
  373. package/tool/flows/call-tool.flow.d.ts.map +1 -1
  374. package/tool/flows/tools-list.flow.d.ts +12 -4
  375. package/tool/flows/tools-list.flow.d.ts.map +1 -1
  376. package/tool/tool.instance.d.ts +5 -2
  377. package/tool/tool.instance.d.ts.map +1 -1
  378. package/tool/tool.registry.d.ts +7 -1
  379. package/tool/tool.registry.d.ts.map +1 -1
  380. package/tool/tool.utils.d.ts.map +1 -1
  381. package/tool/ui/index.d.ts +29 -9
  382. package/tool/ui/index.d.ts.map +1 -1
  383. package/tool/ui/platform-adapters.d.ts +27 -5
  384. package/tool/ui/platform-adapters.d.ts.map +1 -1
  385. package/tool/ui/template-helpers.d.ts +1 -7
  386. package/tool/ui/template-helpers.d.ts.map +1 -1
  387. package/tool/ui/ui-resource-template.d.ts +1 -1
  388. package/tool/ui/ui-resource.handler.d.ts +2 -2
  389. package/tool/ui/ui-resource.handler.d.ts.map +1 -1
  390. package/tool/ui/ui-shared.d.ts +35 -0
  391. package/tool/ui/ui-shared.d.ts.map +1 -0
  392. package/transport/{legacy/legacy.sse.tranporter.d.ts → adapters/base-sse-transport.d.ts} +2 -4
  393. package/transport/adapters/base-sse-transport.d.ts.map +1 -0
  394. package/transport/adapters/polyfills/browser-sse-transport.d.ts +10 -0
  395. package/transport/adapters/polyfills/browser-sse-transport.d.ts.map +1 -0
  396. package/transport/adapters/polyfills/node-sse-transport.d.ts +2 -0
  397. package/transport/adapters/polyfills/node-sse-transport.d.ts.map +1 -0
  398. package/transport/adapters/sse-transport.d.ts +1 -1
  399. package/transport/adapters/sse-transport.d.ts.map +1 -1
  400. package/transport/adapters/streamable-http-transport.d.ts +1 -1
  401. package/transport/adapters/streamable-http-transport.d.ts.map +1 -1
  402. package/transport/adapters/transport.local.adapter.d.ts +4 -6
  403. package/transport/adapters/transport.local.adapter.d.ts.map +1 -1
  404. package/transport/adapters/transport.sse.adapter.d.ts +1 -1
  405. package/transport/adapters/transport.sse.adapter.d.ts.map +1 -1
  406. package/transport/adapters/transport.streamable-http.adapter.d.ts +1 -1
  407. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
  408. package/transport/event-stores/event-store.factory.d.ts +1 -1
  409. package/transport/event-stores/event-store.factory.d.ts.map +1 -1
  410. package/transport/event-stores/memory.event-store.d.ts +2 -2
  411. package/transport/event-stores/memory.event-store.d.ts.map +1 -1
  412. package/transport/event-stores/redis.event-store.d.ts +2 -2
  413. package/transport/event-stores/redis.event-store.d.ts.map +1 -1
  414. package/transport/in-memory-server.d.ts +3 -3
  415. package/transport/in-memory-server.d.ts.map +1 -1
  416. package/transport/index.d.ts +8 -5
  417. package/transport/index.d.ts.map +1 -1
  418. package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts +1 -1
  419. package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts.map +1 -1
  420. package/transport/mcp-handlers/call-tool-request.handler.d.ts +1 -1
  421. package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -1
  422. package/transport/mcp-handlers/complete-request.handler.d.ts +1 -1
  423. package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -1
  424. package/transport/mcp-handlers/get-prompt-request.handler.d.ts +1 -1
  425. package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -1
  426. package/transport/mcp-handlers/index.d.ts +6 -6
  427. package/transport/mcp-handlers/initialize-request.handler.d.ts +1 -1
  428. package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -1
  429. package/transport/mcp-handlers/list-prompts-request.handler.d.ts +1 -1
  430. package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -1
  431. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +1 -1
  432. package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -1
  433. package/transport/mcp-handlers/list-resources-request.handler.d.ts +1 -1
  434. package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -1
  435. package/transport/mcp-handlers/list-tools-request.handler.d.ts +1 -1
  436. package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -1
  437. package/transport/mcp-handlers/logging-set-level-request.handler.d.ts +1 -1
  438. package/transport/mcp-handlers/logging-set-level-request.handler.d.ts.map +1 -1
  439. package/transport/mcp-handlers/mcp-handlers.types.d.ts +6 -9
  440. package/transport/mcp-handlers/mcp-handlers.types.d.ts.map +1 -1
  441. package/transport/mcp-handlers/read-resource-request.handler.d.ts +1 -1
  442. package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -1
  443. package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts +2 -2
  444. package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts.map +1 -1
  445. package/transport/mcp-handlers/subscribe-request.handler.d.ts +1 -1
  446. package/transport/mcp-handlers/subscribe-request.handler.d.ts.map +1 -1
  447. package/transport/mcp-handlers/unsubscribe-request.handler.d.ts +1 -1
  448. package/transport/mcp-handlers/unsubscribe-request.handler.d.ts.map +1 -1
  449. package/transport/transport.error.d.ts +2 -2
  450. package/transport/transport.error.d.ts.map +1 -1
  451. package/transport/transport.registry.d.ts +8 -0
  452. package/transport/transport.registry.d.ts.map +1 -1
  453. package/types/drinen-hooks.types.d.ts.map +1 -1
  454. package/types/invoke.type.d.ts.map +1 -1
  455. package/types/zod.types.d.ts.map +1 -1
  456. package/utils/index.d.ts +2 -1
  457. package/utils/index.d.ts.map +1 -1
  458. package/agent/adapters/langchain.adapter.d.ts +0 -178
  459. package/agent/adapters/langchain.adapter.d.ts.map +0 -1
  460. package/esm/package.json +0 -104
  461. package/transport/legacy/legacy.sse.tranporter.d.ts.map +0 -1
@@ -1,281 +1,3 @@
1
- import { z } from 'zod';
2
- /**
3
- * Main auth options schema - discriminated by 'mode'
4
- *
5
- * Uses z.union because we have nested discriminators (orchestrated has 'type')
6
- */
7
- export declare const authOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
8
- mode: z.ZodLiteral<"public">;
9
- issuer: z.ZodOptional<z.ZodString>;
10
- sessionTtl: z.ZodDefault<z.ZodNumber>;
11
- anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
12
- publicAccess: z.ZodOptional<z.ZodObject<{
13
- tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
14
- prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
15
- rateLimit: z.ZodDefault<z.ZodNumber>;
16
- }, z.core.$strip>>;
17
- jwks: z.ZodOptional<z.ZodObject<{
18
- keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
19
- }, z.core.$strip>>;
20
- signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
21
- }, z.core.$strip>, z.ZodObject<{
22
- mode: z.ZodLiteral<"transparent">;
23
- remote: z.ZodObject<{
24
- provider: z.ZodString;
25
- name: z.ZodOptional<z.ZodString>;
26
- id: z.ZodOptional<z.ZodString>;
27
- jwks: z.ZodOptional<z.ZodObject<{
28
- keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
29
- }, z.core.$strip>>;
30
- jwksUri: z.ZodOptional<z.ZodString>;
31
- clientId: z.ZodOptional<z.ZodString>;
32
- clientSecret: z.ZodOptional<z.ZodString>;
33
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
34
- dcrEnabled: z.ZodDefault<z.ZodBoolean>;
35
- authEndpoint: z.ZodOptional<z.ZodString>;
36
- tokenEndpoint: z.ZodOptional<z.ZodString>;
37
- registrationEndpoint: z.ZodOptional<z.ZodString>;
38
- userInfoEndpoint: z.ZodOptional<z.ZodString>;
39
- }, z.core.$strip>;
40
- expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
41
- requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
42
- allowAnonymous: z.ZodDefault<z.ZodBoolean>;
43
- anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
44
- publicAccess: z.ZodOptional<z.ZodObject<{
45
- tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
46
- prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
47
- rateLimit: z.ZodDefault<z.ZodNumber>;
48
- }, z.core.$strip>>;
49
- }, z.core.$strip>, z.ZodObject<{
50
- local: z.ZodOptional<z.ZodObject<{
51
- signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
52
- jwks: z.ZodOptional<z.ZodObject<{
53
- keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
54
- }, z.core.$strip>>;
55
- issuer: z.ZodOptional<z.ZodString>;
56
- }, z.core.$strip>>;
57
- tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
58
- type: z.ZodLiteral<"memory">;
59
- }, z.core.$strip>, z.ZodObject<{
60
- type: z.ZodLiteral<"redis">;
61
- config: z.ZodObject<{
62
- host: z.ZodString;
63
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
64
- password: z.ZodOptional<z.ZodString>;
65
- db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
66
- tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
67
- keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
68
- defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
69
- }, z.core.$strip>;
70
- }, z.core.$strip>], "type">>;
71
- allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
72
- anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
73
- publicAccess: z.ZodOptional<z.ZodObject<{
74
- tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
75
- prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
76
- rateLimit: z.ZodDefault<z.ZodNumber>;
77
- }, z.core.$strip>>;
78
- consent: z.ZodOptional<z.ZodObject<{
79
- enabled: z.ZodDefault<z.ZodBoolean>;
80
- groupByApp: z.ZodDefault<z.ZodBoolean>;
81
- showDescriptions: z.ZodDefault<z.ZodBoolean>;
82
- allowSelectAll: z.ZodDefault<z.ZodBoolean>;
83
- requireSelection: z.ZodDefault<z.ZodBoolean>;
84
- customMessage: z.ZodOptional<z.ZodString>;
85
- rememberConsent: z.ZodDefault<z.ZodBoolean>;
86
- excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
- defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
88
- }, z.core.$strip>>;
89
- federatedAuth: z.ZodOptional<z.ZodObject<{
90
- stateValidation: z.ZodDefault<z.ZodEnum<{
91
- format: "format";
92
- strict: "strict";
93
- }>>;
94
- }, z.core.$strip>>;
95
- refresh: z.ZodOptional<z.ZodObject<{
96
- enabled: z.ZodDefault<z.ZodBoolean>;
97
- skewSeconds: z.ZodDefault<z.ZodNumber>;
98
- }, z.core.$strip>>;
99
- expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
100
- incrementalAuth: z.ZodOptional<z.ZodObject<{
101
- enabled: z.ZodDefault<z.ZodBoolean>;
102
- skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
103
- anonymous: "anonymous";
104
- "require-auth": "require-auth";
105
- }>>;
106
- allowSkip: z.ZodDefault<z.ZodBoolean>;
107
- showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
108
- }, z.core.$strip>>;
109
- cimd: z.ZodOptional<z.ZodObject<{
110
- enabled: z.ZodDefault<z.ZodBoolean>;
111
- cache: z.ZodOptional<z.ZodObject<{
112
- type: z.ZodDefault<z.ZodEnum<{
113
- memory: "memory";
114
- redis: "redis";
115
- }>>;
116
- defaultTtlMs: z.ZodDefault<z.ZodNumber>;
117
- maxTtlMs: z.ZodDefault<z.ZodNumber>;
118
- minTtlMs: z.ZodDefault<z.ZodNumber>;
119
- redis: z.ZodOptional<z.ZodObject<{
120
- url: z.ZodOptional<z.ZodString>;
121
- host: z.ZodOptional<z.ZodString>;
122
- port: z.ZodOptional<z.ZodNumber>;
123
- password: z.ZodOptional<z.ZodString>;
124
- db: z.ZodOptional<z.ZodNumber>;
125
- tls: z.ZodOptional<z.ZodBoolean>;
126
- keyPrefix: z.ZodDefault<z.ZodString>;
127
- }, z.core.$strip>>;
128
- }, z.core.$strip>>;
129
- security: z.ZodOptional<z.ZodObject<{
130
- blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
131
- allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
132
- blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
133
- warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
134
- allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
135
- }, z.core.$strip>>;
136
- network: z.ZodOptional<z.ZodObject<{
137
- timeoutMs: z.ZodDefault<z.ZodNumber>;
138
- maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
139
- redirectPolicy: z.ZodDefault<z.ZodEnum<{
140
- deny: "deny";
141
- "same-origin": "same-origin";
142
- allow: "allow";
143
- }>>;
144
- maxRedirects: z.ZodDefault<z.ZodNumber>;
145
- }, z.core.$strip>>;
146
- }, z.core.$strip>>;
147
- mode: z.ZodLiteral<"orchestrated">;
148
- type: z.ZodLiteral<"local">;
149
- }, z.core.$strip>, z.ZodObject<{
150
- local: z.ZodOptional<z.ZodObject<{
151
- signKey: z.ZodOptional<z.ZodUnion<[z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>, z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>]>>;
152
- jwks: z.ZodOptional<z.ZodObject<{
153
- keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
154
- }, z.core.$strip>>;
155
- issuer: z.ZodOptional<z.ZodString>;
156
- }, z.core.$strip>>;
157
- tokenStorage: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
158
- type: z.ZodLiteral<"memory">;
159
- }, z.core.$strip>, z.ZodObject<{
160
- type: z.ZodLiteral<"redis">;
161
- config: z.ZodObject<{
162
- host: z.ZodString;
163
- port: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
164
- password: z.ZodOptional<z.ZodString>;
165
- db: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
166
- tls: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
167
- keyPrefix: z.ZodDefault<z.ZodOptional<z.ZodString>>;
168
- defaultTtlMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
169
- }, z.core.$strip>;
170
- }, z.core.$strip>], "type">>;
171
- allowDefaultPublic: z.ZodDefault<z.ZodBoolean>;
172
- anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
173
- publicAccess: z.ZodOptional<z.ZodObject<{
174
- tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
175
- prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
176
- rateLimit: z.ZodDefault<z.ZodNumber>;
177
- }, z.core.$strip>>;
178
- consent: z.ZodOptional<z.ZodObject<{
179
- enabled: z.ZodDefault<z.ZodBoolean>;
180
- groupByApp: z.ZodDefault<z.ZodBoolean>;
181
- showDescriptions: z.ZodDefault<z.ZodBoolean>;
182
- allowSelectAll: z.ZodDefault<z.ZodBoolean>;
183
- requireSelection: z.ZodDefault<z.ZodBoolean>;
184
- customMessage: z.ZodOptional<z.ZodString>;
185
- rememberConsent: z.ZodDefault<z.ZodBoolean>;
186
- excludedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
187
- defaultSelectedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
188
- }, z.core.$strip>>;
189
- federatedAuth: z.ZodOptional<z.ZodObject<{
190
- stateValidation: z.ZodDefault<z.ZodEnum<{
191
- format: "format";
192
- strict: "strict";
193
- }>>;
194
- }, z.core.$strip>>;
195
- refresh: z.ZodOptional<z.ZodObject<{
196
- enabled: z.ZodDefault<z.ZodBoolean>;
197
- skewSeconds: z.ZodDefault<z.ZodNumber>;
198
- }, z.core.$strip>>;
199
- expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
200
- incrementalAuth: z.ZodOptional<z.ZodObject<{
201
- enabled: z.ZodDefault<z.ZodBoolean>;
202
- skippedAppBehavior: z.ZodDefault<z.ZodEnum<{
203
- anonymous: "anonymous";
204
- "require-auth": "require-auth";
205
- }>>;
206
- allowSkip: z.ZodDefault<z.ZodBoolean>;
207
- showAllAppsAtOnce: z.ZodDefault<z.ZodBoolean>;
208
- }, z.core.$strip>>;
209
- cimd: z.ZodOptional<z.ZodObject<{
210
- enabled: z.ZodDefault<z.ZodBoolean>;
211
- cache: z.ZodOptional<z.ZodObject<{
212
- type: z.ZodDefault<z.ZodEnum<{
213
- memory: "memory";
214
- redis: "redis";
215
- }>>;
216
- defaultTtlMs: z.ZodDefault<z.ZodNumber>;
217
- maxTtlMs: z.ZodDefault<z.ZodNumber>;
218
- minTtlMs: z.ZodDefault<z.ZodNumber>;
219
- redis: z.ZodOptional<z.ZodObject<{
220
- url: z.ZodOptional<z.ZodString>;
221
- host: z.ZodOptional<z.ZodString>;
222
- port: z.ZodOptional<z.ZodNumber>;
223
- password: z.ZodOptional<z.ZodString>;
224
- db: z.ZodOptional<z.ZodNumber>;
225
- tls: z.ZodOptional<z.ZodBoolean>;
226
- keyPrefix: z.ZodDefault<z.ZodString>;
227
- }, z.core.$strip>>;
228
- }, z.core.$strip>>;
229
- security: z.ZodOptional<z.ZodObject<{
230
- blockPrivateIPs: z.ZodDefault<z.ZodBoolean>;
231
- allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
232
- blockedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
- warnOnLocalhostRedirects: z.ZodDefault<z.ZodBoolean>;
234
- allowInsecureForTesting: z.ZodDefault<z.ZodBoolean>;
235
- }, z.core.$strip>>;
236
- network: z.ZodOptional<z.ZodObject<{
237
- timeoutMs: z.ZodDefault<z.ZodNumber>;
238
- maxResponseSizeBytes: z.ZodDefault<z.ZodNumber>;
239
- redirectPolicy: z.ZodDefault<z.ZodEnum<{
240
- deny: "deny";
241
- "same-origin": "same-origin";
242
- allow: "allow";
243
- }>>;
244
- maxRedirects: z.ZodDefault<z.ZodNumber>;
245
- }, z.core.$strip>>;
246
- }, z.core.$strip>>;
247
- mode: z.ZodLiteral<"orchestrated">;
248
- type: z.ZodLiteral<"remote">;
249
- remote: z.ZodObject<{
250
- provider: z.ZodString;
251
- name: z.ZodOptional<z.ZodString>;
252
- id: z.ZodOptional<z.ZodString>;
253
- jwks: z.ZodOptional<z.ZodObject<{
254
- keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
255
- }, z.core.$strip>>;
256
- jwksUri: z.ZodOptional<z.ZodString>;
257
- clientId: z.ZodOptional<z.ZodString>;
258
- clientSecret: z.ZodOptional<z.ZodString>;
259
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
260
- dcrEnabled: z.ZodDefault<z.ZodBoolean>;
261
- authEndpoint: z.ZodOptional<z.ZodString>;
262
- tokenEndpoint: z.ZodOptional<z.ZodString>;
263
- registrationEndpoint: z.ZodOptional<z.ZodString>;
264
- userInfoEndpoint: z.ZodOptional<z.ZodString>;
265
- }, z.core.$strip>;
266
- }, z.core.$strip>]>;
267
- /**
268
- * Auth options (output type with defaults applied)
269
- * Use this type when working with parsed/validated options
270
- */
271
- export type AuthOptions = z.infer<typeof authOptionsSchema>;
272
- /**
273
- * Auth options input (input type for user configuration)
274
- * Use this type for the @frontmcp configuration
275
- */
276
- export type AuthOptionsInput = z.input<typeof authOptionsSchema>;
277
- /**
278
- * Authentication mode
279
- */
280
- export type AuthMode = 'public' | 'transparent' | 'orchestrated';
1
+ export { authOptionsSchema } from '@frontmcp/auth';
2
+ export type { AuthOptions, AuthOptionsInput, AuthMode } from '@frontmcp/auth';
281
3
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAK5B,CAAC;AAMH;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { publicAccessConfigSchema, localSigningConfigSchema, remoteProviderConfigSchema, tokenStorageConfigSchema, tokenRefreshConfigSchema, skippedAppBehaviorSchema, consentConfigSchema, federatedAuthConfigSchema, incrementalAuthConfigSchema, cimdCacheConfigSchema, cimdSecurityConfigSchema, cimdNetworkConfigSchema, cimdConfigSchema, } from '@frontmcp/auth';
2
- export type { PublicAccessConfig, PublicAccessConfigInput, LocalSigningConfig, LocalSigningConfigInput, RemoteProviderConfig, RemoteProviderConfigInput, TokenStorageConfig, TokenStorageConfigInput, TokenRefreshConfig, TokenRefreshConfigInput, SkippedAppBehavior, ConsentConfig, ConsentConfigInput, FederatedAuthConfig, FederatedAuthConfigInput, IncrementalAuthConfig, IncrementalAuthConfigInput, CimdCacheConfig, CimdSecurityConfig, CimdNetworkConfig, CimdConfig, CimdConfigInput, RedisConfig, } from '@frontmcp/auth';
1
+ export { publicAccessConfigSchema, localSigningConfigSchema, providerConfigSchema, remoteProviderConfigSchema, flatRemoteProviderFields, tokenStorageConfigSchema, tokenRefreshConfigSchema, skippedAppBehaviorSchema, consentConfigSchema, federatedAuthConfigSchema, incrementalAuthConfigSchema, cimdCacheConfigSchema, cimdSecurityConfigSchema, cimdNetworkConfigSchema, cimdConfigSchema, } from '@frontmcp/auth';
2
+ export type { PublicAccessConfig, PublicAccessConfigInput, LocalSigningConfig, LocalSigningConfigInput, ProviderConfig, ProviderConfigInput, RemoteProviderConfig, RemoteProviderConfigInput, TokenStorageConfig, TokenStorageConfigInput, TokenRefreshConfig, TokenRefreshConfigInput, SkippedAppBehavior, ConsentConfig, ConsentConfigInput, FederatedAuthConfig, FederatedAuthConfigInput, IncrementalAuthConfig, IncrementalAuthConfigInput, CimdCacheConfig, CimdSecurityConfig, CimdNetworkConfig, CimdConfig, CimdConfigInput, RedisConfig, } from '@frontmcp/auth';
3
3
  //# sourceMappingURL=shared.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/shared.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,WAAW,GACZ,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/shared.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,WAAW,GACZ,MAAM,gBAAgB,CAAC"}
@@ -1,36 +1,3 @@
1
- import { z } from 'zod';
2
- export declare const transparentAuthOptionsSchema: z.ZodObject<{
3
- mode: z.ZodLiteral<"transparent">;
4
- remote: z.ZodObject<{
5
- provider: z.ZodString;
6
- name: z.ZodOptional<z.ZodString>;
7
- id: z.ZodOptional<z.ZodString>;
8
- jwks: z.ZodOptional<z.ZodObject<{
9
- keys: z.ZodArray<z.ZodType<import("@frontmcp/auth").JWK, unknown, z.core.$ZodTypeInternals<import("@frontmcp/auth").JWK, unknown>>>;
10
- }, z.core.$strip>>;
11
- jwksUri: z.ZodOptional<z.ZodString>;
12
- clientId: z.ZodOptional<z.ZodString>;
13
- clientSecret: z.ZodOptional<z.ZodString>;
14
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
- dcrEnabled: z.ZodDefault<z.ZodBoolean>;
16
- authEndpoint: z.ZodOptional<z.ZodString>;
17
- tokenEndpoint: z.ZodOptional<z.ZodString>;
18
- registrationEndpoint: z.ZodOptional<z.ZodString>;
19
- userInfoEndpoint: z.ZodOptional<z.ZodString>;
20
- }, z.core.$strip>;
21
- expectedAudience: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
22
- requiredScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
23
- allowAnonymous: z.ZodDefault<z.ZodBoolean>;
24
- anonymousScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
25
- publicAccess: z.ZodOptional<z.ZodObject<{
26
- tools: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
27
- prompts: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodString>]>>;
28
- rateLimit: z.ZodDefault<z.ZodNumber>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>;
31
- /**
32
- * Transparent mode options (output type with defaults applied)
33
- */
34
- export type TransparentAuthOptions = z.infer<typeof transparentAuthOptionsSchema>;
35
- export type TransparentAuthOptionsInput = z.input<typeof transparentAuthOptionsSchema>;
1
+ export { transparentAuthOptionsSchema } from '@frontmcp/auth';
2
+ export type { TransparentAuthOptions, TransparentAuthOptionsInput } from '@frontmcp/auth';
36
3
  //# sourceMappingURL=transparent.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transparent.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/transparent.schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCvC,CAAC;AAMH;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"transparent.schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/transparent.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,YAAY,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"typecheck.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/typecheck.ts"],"names":[],"mappings":"AA0GA,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"typecheck.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/typecheck.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC"}
@@ -1,33 +1,2 @@
1
- import { AuthOptions, AuthOptionsInput } from './schema';
2
- import { PublicAuthOptions } from './public.schema';
3
- import { TransparentAuthOptions } from './transparent.schema';
4
- import { OrchestratedAuthOptions, OrchestratedLocalOptions, OrchestratedRemoteOptions } from './orchestrated.schema';
5
- /**
6
- * Parse and validate auth options with defaults
7
- */
8
- export declare function parseAuthOptions(input: AuthOptionsInput): AuthOptions;
9
- /**
10
- * Check if options are public mode
11
- */
12
- export declare function isPublicMode(options: AuthOptions | AuthOptionsInput): options is PublicAuthOptions;
13
- /**
14
- * Check if options are transparent mode
15
- */
16
- export declare function isTransparentMode(options: AuthOptions | AuthOptionsInput): options is TransparentAuthOptions;
17
- /**
18
- * Check if options are orchestrated mode
19
- */
20
- export declare function isOrchestratedMode(options: AuthOptions | AuthOptionsInput): options is OrchestratedAuthOptions;
21
- /**
22
- * Check if orchestrated options are local type
23
- */
24
- export declare function isOrchestratedLocal(options: OrchestratedAuthOptions): options is OrchestratedLocalOptions;
25
- /**
26
- * Check if orchestrated options are remote type
27
- */
28
- export declare function isOrchestratedRemote(options: OrchestratedAuthOptions): options is OrchestratedRemoteOptions;
29
- /**
30
- * Check if options allow public/anonymous access
31
- */
32
- export declare function allowsPublicAccess(options: AuthOptions): boolean;
1
+ export { parseAuthOptions, isPublicMode, isTransparentMode, isLocalMode, isRemoteMode, isOrchestratedMode, isOrchestratedLocal, isOrchestratedRemote, allowsPublicAccess, } from '@frontmcp/auth';
33
2
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,WAAW,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAMrH;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB,GAAG,WAAW,CAErE;AAMD;;GAEG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB,GAAG,OAAO,IAAI,iBAAiB,CAElG;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB,GAAG,OAAO,IAAI,sBAAsB,CAE5G;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB,GAAG,OAAO,IAAI,uBAAuB,CAE9G;AAMD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,IAAI,wBAAwB,CAEzG;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,IAAI,yBAAyB,CAE3G;AAMD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAKhE"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/auth/utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,gBAAgB,CAAC"}
@@ -67,9 +67,7 @@ export declare const DEFAULT_ELICITATION_OPTIONS: Pick<Required<ElicitationOptio
67
67
  export type ElicitationOptions = z.infer<typeof elicitationOptionsSchema>;
68
68
  /**
69
69
  * Elicitation options input type (for user configuration).
70
- *
71
- * This is the type users should use when configuring elicitation
72
- * options in the `@FrontMcp` decorator.
70
+ * Uses explicit interface for better IDE autocomplete.
73
71
  */
74
- export type ElicitationOptionsInput = z.input<typeof elicitationOptionsSchema>;
72
+ export type ElicitationOptionsInput = ElicitationOptionsInterface;
75
73
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/elicitation/schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAIhE,YAAY,EAAE,2BAA2B,EAAE,CAAC;AAM5C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGgB,CAAC;AAMtD;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,IAAI,CAAC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,SAAS,CAE9F,CAAC;AAMF;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/elicitation/schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAIhE,YAAY,EAAE,2BAA2B,EAAE,CAAC;AAM5C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGgB,CAAC;AAMtD;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,IAAI,CAAC,QAAQ,CAAC,2BAA2B,CAAC,EAAE,SAAS,CAE9F,CAAC;AAMF;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export * from './schema';
2
- export * from './interfaces';
2
+ export type { ExtAppsHostCapabilities, ExtAppsHostCapabilitiesInterface, ExtAppsOptionsInterface } from './interfaces';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/index.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,YAAY,EAAE,uBAAuB,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC"}
@@ -1,2 +1,57 @@
1
1
  export type { ExtAppsHostCapabilities } from '../../../../ext-apps';
2
+ /**
3
+ * Host capabilities configuration for ext-apps.
4
+ *
5
+ * Defines which features the host advertises to widgets during the ui/initialize handshake.
6
+ */
7
+ export interface ExtAppsHostCapabilitiesInterface {
8
+ /**
9
+ * Host supports proxying tool calls to the MCP server via ui/callServerTool.
10
+ * @default true (when extApps.enabled is true)
11
+ */
12
+ serverToolProxy?: boolean;
13
+ /**
14
+ * Host supports opening links via ui/openLink.
15
+ * @default false
16
+ */
17
+ openLink?: boolean;
18
+ /**
19
+ * Host supports model context updates via ui/updateModelContext.
20
+ * @default false
21
+ */
22
+ modelContextUpdate?: boolean;
23
+ /**
24
+ * Host supports widget-defined tools via ui/registerTool and ui/unregisterTool.
25
+ * @default false
26
+ */
27
+ widgetTools?: boolean;
28
+ /**
29
+ * Supported display modes that the host can render.
30
+ * - 'inline': Widget embedded in conversation flow
31
+ * - 'fullscreen': Widget takes full screen
32
+ * - 'pip': Picture-in-picture mode
33
+ */
34
+ displayModes?: ('inline' | 'fullscreen' | 'pip')[];
35
+ /**
36
+ * Host supports widget logging via ui/log.
37
+ * @default true (when extApps.enabled is true)
38
+ */
39
+ logging?: boolean;
40
+ }
41
+ /**
42
+ * Ext-apps configuration options.
43
+ *
44
+ * Controls MCP Apps (ext-apps) widget-to-host communication over HTTP transport.
45
+ */
46
+ export interface ExtAppsOptionsInterface {
47
+ /**
48
+ * Whether ext-apps handling is enabled.
49
+ * @default true
50
+ */
51
+ enabled?: boolean;
52
+ /**
53
+ * Host capabilities to advertise to widgets during ui/initialize.
54
+ */
55
+ hostCapabilities?: ExtAppsHostCapabilitiesInterface;
56
+ }
2
57
  //# sourceMappingURL=interfaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/interfaces.ts"],"names":[],"mappings":"AAOA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/interfaces.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,QAAQ,GAAG,YAAY,GAAG,KAAK,CAAC,EAAE,CAAC;IAEnD;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gCAAgC,CAAC;CACrD"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import type { ExtAppsOptionsInterface } from './interfaces';
2
3
  /**
3
4
  * Host capabilities schema for ext-apps.
4
5
  *
@@ -75,6 +76,7 @@ export declare const extAppsOptionsSchema: z.ZodObject<{
75
76
  export type ExtAppsOptions = z.infer<typeof extAppsOptionsSchema>;
76
77
  /**
77
78
  * Ext-apps options input type (for user configuration).
79
+ * Uses explicit interface for better IDE autocomplete.
78
80
  */
79
- export type ExtAppsOptionsInput = z.input<typeof extAppsOptionsSchema>;
81
+ export type ExtAppsOptionsInput = ExtAppsOptionsInterface;
80
82
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;iBA4CxC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;iBAkB/B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAoC,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAE9F;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;iBA4CgB,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;iBAkBgB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=typecheck.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typecheck.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/ext-apps/typecheck.ts"],"names":[],"mappings":"AA4BA,OAAO,EAAE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import type { HttpOptionsInterface } from './interfaces';
2
3
  /**
3
4
  * HTTP options Zod schema.
4
5
  */
@@ -19,6 +20,7 @@ export declare const httpOptionsSchema: z.ZodObject<{
19
20
  export type HttpOptions = z.infer<typeof httpOptionsSchema>;
20
21
  /**
21
22
  * HTTP configuration input type (for user configuration).
23
+ * Uses explicit interface for better IDE autocomplete.
22
24
  */
23
- export type HttpOptionsInput = z.input<typeof httpOptionsSchema>;
25
+ export type HttpOptionsInput = HttpOptionsInterface;
24
26
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/http/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;mLAFhB,CAAC,6FAAD,CAAC;;;;iBAqBb,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/http/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAe,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAqBtE;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;mLAPZ,CAAC,6FAAD,CAAC;;;;iBA0B2B,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=typecheck.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typecheck.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/http/typecheck.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { LogLevel } from './interfaces';
2
+ import { LogLevel, LoggingOptionsInterface } from './interfaces';
3
3
  /**
4
4
  * Logging options Zod schema.
5
5
  */
@@ -19,6 +19,7 @@ export type LoggingConfigType = Omit<z.infer<typeof loggingOptionsSchema>, 'tran
19
19
  export type LoggingOptions = z.infer<typeof loggingOptionsSchema>;
20
20
  /**
21
21
  * Logging options input type (for user configuration).
22
+ * Uses explicit interface for better IDE autocomplete.
22
23
  */
23
- export type LoggingOptionsInput = z.input<typeof loggingOptionsSchema>;
24
+ export type LoggingOptionsInput = LoggingOptionsInterface;
24
25
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/logging/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAA2B,MAAM,cAAc,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;iBAKgB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,EAAE,YAAY,CAAC,CAAC;AAEzF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/logging/schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;iBAKgB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,EAAE,YAAY,CAAC,CAAC;AAEzF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,uBAAuB,CAAC"}
@@ -1,4 +1,4 @@
1
- export type { StorageProvider as StorageProviderInterface, CommonStorageOptionsInterface, RedisConnectionInterface, RedisProviderOptionsInterface, VercelKvProviderOptionsInterface, RedisOptionsInterface, } from './interfaces';
1
+ export type { StorageProvider as StorageProviderInterface, CommonStorageOptionsInterface, RedisConnectionInterface, RedisProviderOptionsInterface, VercelKvProviderOptionsInterface, RedisOptionsInterface, PubsubOptionsInterface, } from './interfaces';
2
2
  export { storageProviderSchema, redisProviderSchema, vercelKvProviderSchema, redisOptionsSchema, pubsubOptionsSchema, isRedisProvider, isVercelKvProvider, isPubsubConfigured, } from './schema';
3
3
  export type { RedisProviderOptions, VercelKvProviderOptions, RedisOptions, RedisOptionsInput, PubsubOptions, PubsubOptionsInput, } from './schema';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/redis/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,eAAe,IAAI,wBAAwB,EAC3C,6BAA6B,EAC7B,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,EAChC,qBAAqB,GACtB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAElB,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACnB,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/redis/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,eAAe,IAAI,wBAAwB,EAC3C,6BAA6B,EAC7B,wBAAwB,EACxB,6BAA6B,EAC7B,gCAAgC,EAChC,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAElB,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACnB,MAAM,UAAU,CAAC"}
@@ -78,4 +78,8 @@ export interface VercelKvProviderOptionsInterface extends CommonStorageOptionsIn
78
78
  * Combined Redis options type (union of all provider types).
79
79
  */
80
80
  export type RedisOptionsInterface = RedisProviderOptionsInterface | VercelKvProviderOptionsInterface | (RedisConnectionInterface & CommonStorageOptionsInterface);
81
+ /**
82
+ * Pub/Sub options type (Redis-only, no Vercel KV support).
83
+ */
84
+ export type PubsubOptionsInterface = RedisProviderOptionsInterface | (RedisConnectionInterface & CommonStorageOptionsInterface);
81
85
  //# sourceMappingURL=interfaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/redis/interfaces.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,WAAW,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,6BAA6B,EAAE,wBAAwB;IAC5G;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAiC,SAAQ,6BAA6B;IACrF;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC;IAEtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,6BAA6B,GAC7B,gCAAgC,GAChC,CAAC,wBAAwB,GAAG,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/common/types/options/redis/interfaces.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,WAAW,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,6BAA6B,EAAE,wBAAwB;IAC5G;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAiC,SAAQ,6BAA6B;IACrF;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC;IAEtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,6BAA6B,GAC7B,gCAAgC,GAChC,CAAC,wBAAwB,GAAG,6BAA6B,CAAC,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAC9B,6BAA6B,GAC7B,CAAC,wBAAwB,GAAG,6BAA6B,CAAC,CAAC"}