@frontmcp/uipack 0.6.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 (417) hide show
  1. package/CLAUDE.md +246 -0
  2. package/LICENSE +201 -0
  3. package/README.md +150 -0
  4. package/adapters/index.d.ts +13 -0
  5. package/adapters/index.d.ts.map +1 -0
  6. package/adapters/index.js +462 -0
  7. package/adapters/platform-meta.d.ts +166 -0
  8. package/adapters/platform-meta.d.ts.map +1 -0
  9. package/adapters/response-builder.d.ts +108 -0
  10. package/adapters/response-builder.d.ts.map +1 -0
  11. package/adapters/serving-mode.d.ts +107 -0
  12. package/adapters/serving-mode.d.ts.map +1 -0
  13. package/base-template/bridge.d.ts +90 -0
  14. package/base-template/bridge.d.ts.map +1 -0
  15. package/base-template/default-base-template.d.ts +92 -0
  16. package/base-template/default-base-template.d.ts.map +1 -0
  17. package/base-template/index.d.ts +15 -0
  18. package/base-template/index.d.ts.map +1 -0
  19. package/base-template/index.js +1398 -0
  20. package/base-template/polyfills.d.ts +31 -0
  21. package/base-template/polyfills.d.ts.map +1 -0
  22. package/base-template/theme-styles.d.ts +74 -0
  23. package/base-template/theme-styles.d.ts.map +1 -0
  24. package/bridge-runtime/iife-generator.d.ts +62 -0
  25. package/bridge-runtime/iife-generator.d.ts.map +1 -0
  26. package/bridge-runtime/index.d.ts +10 -0
  27. package/bridge-runtime/index.d.ts.map +1 -0
  28. package/bridge-runtime/index.js +883 -0
  29. package/build/cdn-resources.d.ts +243 -0
  30. package/build/cdn-resources.d.ts.map +1 -0
  31. package/build/index.d.ts +295 -0
  32. package/build/index.d.ts.map +1 -0
  33. package/build/index.js +6861 -0
  34. package/build/widget-manifest.d.ts +362 -0
  35. package/build/widget-manifest.d.ts.map +1 -0
  36. package/bundler/cache.d.ts +173 -0
  37. package/bundler/cache.d.ts.map +1 -0
  38. package/bundler/file-cache/component-builder.d.ts +167 -0
  39. package/bundler/file-cache/component-builder.d.ts.map +1 -0
  40. package/bundler/file-cache/hash-calculator.d.ts +155 -0
  41. package/bundler/file-cache/hash-calculator.d.ts.map +1 -0
  42. package/bundler/file-cache/index.d.ts +12 -0
  43. package/bundler/file-cache/index.d.ts.map +1 -0
  44. package/bundler/file-cache/storage/filesystem.d.ts +149 -0
  45. package/bundler/file-cache/storage/filesystem.d.ts.map +1 -0
  46. package/bundler/file-cache/storage/index.d.ts +11 -0
  47. package/bundler/file-cache/storage/index.d.ts.map +1 -0
  48. package/bundler/file-cache/storage/interface.d.ts +152 -0
  49. package/bundler/file-cache/storage/interface.d.ts.map +1 -0
  50. package/bundler/file-cache/storage/redis.d.ts +139 -0
  51. package/bundler/file-cache/storage/redis.d.ts.map +1 -0
  52. package/bundler/index.d.ts +35 -0
  53. package/bundler/index.d.ts.map +1 -0
  54. package/bundler/index.js +2947 -0
  55. package/bundler/sandbox/enclave-adapter.d.ts +121 -0
  56. package/bundler/sandbox/enclave-adapter.d.ts.map +1 -0
  57. package/bundler/sandbox/executor.d.ts +14 -0
  58. package/bundler/sandbox/executor.d.ts.map +1 -0
  59. package/bundler/sandbox/policy.d.ts +62 -0
  60. package/bundler/sandbox/policy.d.ts.map +1 -0
  61. package/bundler/types.d.ts +702 -0
  62. package/bundler/types.d.ts.map +1 -0
  63. package/dependency/cdn-registry.d.ts +98 -0
  64. package/dependency/cdn-registry.d.ts.map +1 -0
  65. package/dependency/import-map.d.ts +186 -0
  66. package/dependency/import-map.d.ts.map +1 -0
  67. package/dependency/import-parser.d.ts +82 -0
  68. package/dependency/import-parser.d.ts.map +1 -0
  69. package/dependency/index.d.ts +17 -0
  70. package/dependency/index.d.ts.map +1 -0
  71. package/dependency/index.js +3215 -0
  72. package/dependency/resolver.d.ts +164 -0
  73. package/dependency/resolver.d.ts.map +1 -0
  74. package/dependency/schemas.d.ts +486 -0
  75. package/dependency/schemas.d.ts.map +1 -0
  76. package/dependency/template-loader.d.ts +204 -0
  77. package/dependency/template-loader.d.ts.map +1 -0
  78. package/dependency/template-processor.d.ts +118 -0
  79. package/dependency/template-processor.d.ts.map +1 -0
  80. package/dependency/types.d.ts +739 -0
  81. package/dependency/types.d.ts.map +1 -0
  82. package/esm/adapters/index.d.ts +13 -0
  83. package/esm/adapters/index.d.ts.map +1 -0
  84. package/esm/adapters/index.js +427 -0
  85. package/esm/adapters/platform-meta.d.ts +166 -0
  86. package/esm/adapters/platform-meta.d.ts.map +1 -0
  87. package/esm/adapters/response-builder.d.ts +108 -0
  88. package/esm/adapters/response-builder.d.ts.map +1 -0
  89. package/esm/adapters/serving-mode.d.ts +107 -0
  90. package/esm/adapters/serving-mode.d.ts.map +1 -0
  91. package/esm/base-template/bridge.d.ts +90 -0
  92. package/esm/base-template/bridge.d.ts.map +1 -0
  93. package/esm/base-template/default-base-template.d.ts +92 -0
  94. package/esm/base-template/default-base-template.d.ts.map +1 -0
  95. package/esm/base-template/index.d.ts +15 -0
  96. package/esm/base-template/index.d.ts.map +1 -0
  97. package/esm/base-template/index.js +1364 -0
  98. package/esm/base-template/polyfills.d.ts +31 -0
  99. package/esm/base-template/polyfills.d.ts.map +1 -0
  100. package/esm/base-template/theme-styles.d.ts +74 -0
  101. package/esm/base-template/theme-styles.d.ts.map +1 -0
  102. package/esm/bridge-runtime/iife-generator.d.ts +62 -0
  103. package/esm/bridge-runtime/iife-generator.d.ts.map +1 -0
  104. package/esm/bridge-runtime/index.d.ts +10 -0
  105. package/esm/bridge-runtime/index.d.ts.map +1 -0
  106. package/esm/bridge-runtime/index.js +853 -0
  107. package/esm/build/cdn-resources.d.ts +243 -0
  108. package/esm/build/cdn-resources.d.ts.map +1 -0
  109. package/esm/build/index.d.ts +295 -0
  110. package/esm/build/index.d.ts.map +1 -0
  111. package/esm/build/index.js +6786 -0
  112. package/esm/build/widget-manifest.d.ts +362 -0
  113. package/esm/build/widget-manifest.d.ts.map +1 -0
  114. package/esm/bundler/cache.d.ts +173 -0
  115. package/esm/bundler/cache.d.ts.map +1 -0
  116. package/esm/bundler/file-cache/component-builder.d.ts +167 -0
  117. package/esm/bundler/file-cache/component-builder.d.ts.map +1 -0
  118. package/esm/bundler/file-cache/hash-calculator.d.ts +155 -0
  119. package/esm/bundler/file-cache/hash-calculator.d.ts.map +1 -0
  120. package/esm/bundler/file-cache/index.d.ts +12 -0
  121. package/esm/bundler/file-cache/index.d.ts.map +1 -0
  122. package/esm/bundler/file-cache/storage/filesystem.d.ts +149 -0
  123. package/esm/bundler/file-cache/storage/filesystem.d.ts.map +1 -0
  124. package/esm/bundler/file-cache/storage/index.d.ts +11 -0
  125. package/esm/bundler/file-cache/storage/index.d.ts.map +1 -0
  126. package/esm/bundler/file-cache/storage/interface.d.ts +152 -0
  127. package/esm/bundler/file-cache/storage/interface.d.ts.map +1 -0
  128. package/esm/bundler/file-cache/storage/redis.d.ts +139 -0
  129. package/esm/bundler/file-cache/storage/redis.d.ts.map +1 -0
  130. package/esm/bundler/index.d.ts +35 -0
  131. package/esm/bundler/index.d.ts.map +1 -0
  132. package/esm/bundler/index.js +2882 -0
  133. package/esm/bundler/sandbox/enclave-adapter.d.ts +121 -0
  134. package/esm/bundler/sandbox/enclave-adapter.d.ts.map +1 -0
  135. package/esm/bundler/sandbox/executor.d.ts +14 -0
  136. package/esm/bundler/sandbox/executor.d.ts.map +1 -0
  137. package/esm/bundler/sandbox/policy.d.ts +62 -0
  138. package/esm/bundler/sandbox/policy.d.ts.map +1 -0
  139. package/esm/bundler/types.d.ts +702 -0
  140. package/esm/bundler/types.d.ts.map +1 -0
  141. package/esm/dependency/cdn-registry.d.ts +98 -0
  142. package/esm/dependency/cdn-registry.d.ts.map +1 -0
  143. package/esm/dependency/import-map.d.ts +186 -0
  144. package/esm/dependency/import-map.d.ts.map +1 -0
  145. package/esm/dependency/import-parser.d.ts +82 -0
  146. package/esm/dependency/import-parser.d.ts.map +1 -0
  147. package/esm/dependency/index.d.ts +17 -0
  148. package/esm/dependency/index.d.ts.map +1 -0
  149. package/esm/dependency/index.js +3096 -0
  150. package/esm/dependency/resolver.d.ts +164 -0
  151. package/esm/dependency/resolver.d.ts.map +1 -0
  152. package/esm/dependency/schemas.d.ts +486 -0
  153. package/esm/dependency/schemas.d.ts.map +1 -0
  154. package/esm/dependency/template-loader.d.ts +204 -0
  155. package/esm/dependency/template-loader.d.ts.map +1 -0
  156. package/esm/dependency/template-processor.d.ts +118 -0
  157. package/esm/dependency/template-processor.d.ts.map +1 -0
  158. package/esm/dependency/types.d.ts +739 -0
  159. package/esm/dependency/types.d.ts.map +1 -0
  160. package/esm/handlebars/expression-extractor.d.ts +147 -0
  161. package/esm/handlebars/expression-extractor.d.ts.map +1 -0
  162. package/esm/handlebars/helpers.d.ts +339 -0
  163. package/esm/handlebars/helpers.d.ts.map +1 -0
  164. package/esm/handlebars/index.d.ts +195 -0
  165. package/esm/handlebars/index.d.ts.map +1 -0
  166. package/esm/handlebars/index.js +587 -0
  167. package/esm/index.d.ts +50 -0
  168. package/esm/index.d.ts.map +1 -0
  169. package/esm/index.js +12434 -0
  170. package/esm/package.json +68 -0
  171. package/esm/registry/index.d.ts +46 -0
  172. package/esm/registry/index.d.ts.map +1 -0
  173. package/esm/registry/index.js +6237 -0
  174. package/esm/registry/render-template.d.ts +91 -0
  175. package/esm/registry/render-template.d.ts.map +1 -0
  176. package/esm/registry/tool-ui.registry.d.ts +294 -0
  177. package/esm/registry/tool-ui.registry.d.ts.map +1 -0
  178. package/esm/registry/uri-utils.d.ts +56 -0
  179. package/esm/registry/uri-utils.d.ts.map +1 -0
  180. package/esm/renderers/cache.d.ts +145 -0
  181. package/esm/renderers/cache.d.ts.map +1 -0
  182. package/esm/renderers/html.renderer.d.ts +123 -0
  183. package/esm/renderers/html.renderer.d.ts.map +1 -0
  184. package/esm/renderers/index.d.ts +36 -0
  185. package/esm/renderers/index.d.ts.map +1 -0
  186. package/esm/renderers/index.js +1654 -0
  187. package/esm/renderers/mdx.renderer.d.ts +120 -0
  188. package/esm/renderers/mdx.renderer.d.ts.map +1 -0
  189. package/esm/renderers/registry.d.ts +133 -0
  190. package/esm/renderers/registry.d.ts.map +1 -0
  191. package/esm/renderers/types.d.ts +342 -0
  192. package/esm/renderers/types.d.ts.map +1 -0
  193. package/esm/renderers/utils/detect.d.ts +107 -0
  194. package/esm/renderers/utils/detect.d.ts.map +1 -0
  195. package/esm/renderers/utils/hash.d.ts +40 -0
  196. package/esm/renderers/utils/hash.d.ts.map +1 -0
  197. package/esm/renderers/utils/index.d.ts +9 -0
  198. package/esm/renderers/utils/index.d.ts.map +1 -0
  199. package/esm/renderers/utils/transpiler.d.ts +89 -0
  200. package/esm/renderers/utils/transpiler.d.ts.map +1 -0
  201. package/esm/runtime/adapters/html.adapter.d.ts +59 -0
  202. package/esm/runtime/adapters/html.adapter.d.ts.map +1 -0
  203. package/esm/runtime/adapters/index.d.ts +26 -0
  204. package/esm/runtime/adapters/index.d.ts.map +1 -0
  205. package/esm/runtime/adapters/mdx.adapter.d.ts +73 -0
  206. package/esm/runtime/adapters/mdx.adapter.d.ts.map +1 -0
  207. package/esm/runtime/adapters/types.d.ts +95 -0
  208. package/esm/runtime/adapters/types.d.ts.map +1 -0
  209. package/esm/runtime/csp.d.ts +48 -0
  210. package/esm/runtime/csp.d.ts.map +1 -0
  211. package/esm/runtime/index.d.ts +17 -0
  212. package/esm/runtime/index.d.ts.map +1 -0
  213. package/esm/runtime/index.js +4976 -0
  214. package/esm/runtime/mcp-bridge.d.ts +101 -0
  215. package/esm/runtime/mcp-bridge.d.ts.map +1 -0
  216. package/esm/runtime/renderer-runtime.d.ts +133 -0
  217. package/esm/runtime/renderer-runtime.d.ts.map +1 -0
  218. package/esm/runtime/sanitizer.d.ts +172 -0
  219. package/esm/runtime/sanitizer.d.ts.map +1 -0
  220. package/esm/runtime/types.d.ts +415 -0
  221. package/esm/runtime/types.d.ts.map +1 -0
  222. package/esm/runtime/wrapper.d.ts +421 -0
  223. package/esm/runtime/wrapper.d.ts.map +1 -0
  224. package/esm/styles/index.d.ts +8 -0
  225. package/esm/styles/index.d.ts.map +1 -0
  226. package/esm/styles/index.js +171 -0
  227. package/esm/styles/variants.d.ts +51 -0
  228. package/esm/styles/variants.d.ts.map +1 -0
  229. package/esm/theme/cdn.d.ts +195 -0
  230. package/esm/theme/cdn.d.ts.map +1 -0
  231. package/esm/theme/index.d.ts +18 -0
  232. package/esm/theme/index.d.ts.map +1 -0
  233. package/esm/theme/index.js +700 -0
  234. package/esm/theme/platforms.d.ts +107 -0
  235. package/esm/theme/platforms.d.ts.map +1 -0
  236. package/esm/theme/presets/github-openai.d.ts +50 -0
  237. package/esm/theme/presets/github-openai.d.ts.map +1 -0
  238. package/esm/theme/presets/index.d.ts +11 -0
  239. package/esm/theme/presets/index.d.ts.map +1 -0
  240. package/esm/theme/theme.d.ts +396 -0
  241. package/esm/theme/theme.d.ts.map +1 -0
  242. package/esm/tool-template/builder.d.ts +213 -0
  243. package/esm/tool-template/builder.d.ts.map +1 -0
  244. package/esm/tool-template/index.d.ts +16 -0
  245. package/esm/tool-template/index.d.ts.map +1 -0
  246. package/esm/tool-template/index.js +3518 -0
  247. package/esm/types/index.d.ts +14 -0
  248. package/esm/types/index.d.ts.map +1 -0
  249. package/esm/types/index.js +75 -0
  250. package/esm/types/ui-config.d.ts +641 -0
  251. package/esm/types/ui-config.d.ts.map +1 -0
  252. package/esm/types/ui-runtime.d.ts +1008 -0
  253. package/esm/types/ui-runtime.d.ts.map +1 -0
  254. package/esm/typings/cache/cache-adapter.d.ts +125 -0
  255. package/esm/typings/cache/cache-adapter.d.ts.map +1 -0
  256. package/esm/typings/cache/index.d.ts +10 -0
  257. package/esm/typings/cache/index.d.ts.map +1 -0
  258. package/esm/typings/cache/memory-cache.d.ts +92 -0
  259. package/esm/typings/cache/memory-cache.d.ts.map +1 -0
  260. package/esm/typings/dts-parser.d.ts +90 -0
  261. package/esm/typings/dts-parser.d.ts.map +1 -0
  262. package/esm/typings/index.d.ts +48 -0
  263. package/esm/typings/index.d.ts.map +1 -0
  264. package/esm/typings/index.js +812 -0
  265. package/esm/typings/schemas.d.ts +232 -0
  266. package/esm/typings/schemas.d.ts.map +1 -0
  267. package/esm/typings/type-fetcher.d.ts +89 -0
  268. package/esm/typings/type-fetcher.d.ts.map +1 -0
  269. package/esm/typings/types.d.ts +320 -0
  270. package/esm/typings/types.d.ts.map +1 -0
  271. package/esm/utils/escape-html.d.ts +58 -0
  272. package/esm/utils/escape-html.d.ts.map +1 -0
  273. package/esm/utils/index.d.ts +10 -0
  274. package/esm/utils/index.d.ts.map +1 -0
  275. package/esm/utils/index.js +40 -0
  276. package/esm/utils/safe-stringify.d.ts +30 -0
  277. package/esm/utils/safe-stringify.d.ts.map +1 -0
  278. package/esm/validation/error-box.d.ts +56 -0
  279. package/esm/validation/error-box.d.ts.map +1 -0
  280. package/esm/validation/index.d.ts +13 -0
  281. package/esm/validation/index.d.ts.map +1 -0
  282. package/esm/validation/index.js +542 -0
  283. package/esm/validation/schema-paths.d.ts +118 -0
  284. package/esm/validation/schema-paths.d.ts.map +1 -0
  285. package/esm/validation/template-validator.d.ts +143 -0
  286. package/esm/validation/template-validator.d.ts.map +1 -0
  287. package/esm/validation/wrapper.d.ts +97 -0
  288. package/esm/validation/wrapper.d.ts.map +1 -0
  289. package/handlebars/expression-extractor.d.ts +147 -0
  290. package/handlebars/expression-extractor.d.ts.map +1 -0
  291. package/handlebars/helpers.d.ts +339 -0
  292. package/handlebars/helpers.d.ts.map +1 -0
  293. package/handlebars/index.d.ts +195 -0
  294. package/handlebars/index.d.ts.map +1 -0
  295. package/handlebars/index.js +666 -0
  296. package/index.d.ts +50 -0
  297. package/index.d.ts.map +1 -0
  298. package/index.js +12683 -0
  299. package/package.json +66 -0
  300. package/registry/index.d.ts +46 -0
  301. package/registry/index.d.ts.map +1 -0
  302. package/registry/index.js +6280 -0
  303. package/registry/render-template.d.ts +91 -0
  304. package/registry/render-template.d.ts.map +1 -0
  305. package/registry/tool-ui.registry.d.ts +294 -0
  306. package/registry/tool-ui.registry.d.ts.map +1 -0
  307. package/registry/uri-utils.d.ts +56 -0
  308. package/registry/uri-utils.d.ts.map +1 -0
  309. package/renderers/cache.d.ts +145 -0
  310. package/renderers/cache.d.ts.map +1 -0
  311. package/renderers/html.renderer.d.ts +123 -0
  312. package/renderers/html.renderer.d.ts.map +1 -0
  313. package/renderers/index.d.ts +36 -0
  314. package/renderers/index.d.ts.map +1 -0
  315. package/renderers/index.js +1706 -0
  316. package/renderers/mdx.renderer.d.ts +120 -0
  317. package/renderers/mdx.renderer.d.ts.map +1 -0
  318. package/renderers/registry.d.ts +133 -0
  319. package/renderers/registry.d.ts.map +1 -0
  320. package/renderers/types.d.ts +342 -0
  321. package/renderers/types.d.ts.map +1 -0
  322. package/renderers/utils/detect.d.ts +107 -0
  323. package/renderers/utils/detect.d.ts.map +1 -0
  324. package/renderers/utils/hash.d.ts +40 -0
  325. package/renderers/utils/hash.d.ts.map +1 -0
  326. package/renderers/utils/index.d.ts +9 -0
  327. package/renderers/utils/index.d.ts.map +1 -0
  328. package/renderers/utils/transpiler.d.ts +89 -0
  329. package/renderers/utils/transpiler.d.ts.map +1 -0
  330. package/runtime/adapters/html.adapter.d.ts +59 -0
  331. package/runtime/adapters/html.adapter.d.ts.map +1 -0
  332. package/runtime/adapters/index.d.ts +26 -0
  333. package/runtime/adapters/index.d.ts.map +1 -0
  334. package/runtime/adapters/mdx.adapter.d.ts +73 -0
  335. package/runtime/adapters/mdx.adapter.d.ts.map +1 -0
  336. package/runtime/adapters/types.d.ts +95 -0
  337. package/runtime/adapters/types.d.ts.map +1 -0
  338. package/runtime/csp.d.ts +48 -0
  339. package/runtime/csp.d.ts.map +1 -0
  340. package/runtime/index.d.ts +17 -0
  341. package/runtime/index.d.ts.map +1 -0
  342. package/runtime/index.js +5052 -0
  343. package/runtime/mcp-bridge.d.ts +101 -0
  344. package/runtime/mcp-bridge.d.ts.map +1 -0
  345. package/runtime/renderer-runtime.d.ts +133 -0
  346. package/runtime/renderer-runtime.d.ts.map +1 -0
  347. package/runtime/sanitizer.d.ts +172 -0
  348. package/runtime/sanitizer.d.ts.map +1 -0
  349. package/runtime/types.d.ts +415 -0
  350. package/runtime/types.d.ts.map +1 -0
  351. package/runtime/wrapper.d.ts +421 -0
  352. package/runtime/wrapper.d.ts.map +1 -0
  353. package/styles/index.d.ts +8 -0
  354. package/styles/index.d.ts.map +1 -0
  355. package/styles/index.js +222 -0
  356. package/styles/variants.d.ts +51 -0
  357. package/styles/variants.d.ts.map +1 -0
  358. package/theme/cdn.d.ts +195 -0
  359. package/theme/cdn.d.ts.map +1 -0
  360. package/theme/index.d.ts +18 -0
  361. package/theme/index.d.ts.map +1 -0
  362. package/theme/index.js +757 -0
  363. package/theme/platforms.d.ts +107 -0
  364. package/theme/platforms.d.ts.map +1 -0
  365. package/theme/presets/github-openai.d.ts +50 -0
  366. package/theme/presets/github-openai.d.ts.map +1 -0
  367. package/theme/presets/index.d.ts +11 -0
  368. package/theme/presets/index.d.ts.map +1 -0
  369. package/theme/theme.d.ts +396 -0
  370. package/theme/theme.d.ts.map +1 -0
  371. package/tool-template/builder.d.ts +213 -0
  372. package/tool-template/builder.d.ts.map +1 -0
  373. package/tool-template/index.d.ts +16 -0
  374. package/tool-template/index.d.ts.map +1 -0
  375. package/tool-template/index.js +3562 -0
  376. package/types/index.d.ts +14 -0
  377. package/types/index.d.ts.map +1 -0
  378. package/types/index.js +108 -0
  379. package/types/ui-config.d.ts +641 -0
  380. package/types/ui-config.d.ts.map +1 -0
  381. package/types/ui-runtime.d.ts +1008 -0
  382. package/types/ui-runtime.d.ts.map +1 -0
  383. package/typings/cache/cache-adapter.d.ts +125 -0
  384. package/typings/cache/cache-adapter.d.ts.map +1 -0
  385. package/typings/cache/index.d.ts +10 -0
  386. package/typings/cache/index.d.ts.map +1 -0
  387. package/typings/cache/memory-cache.d.ts +92 -0
  388. package/typings/cache/memory-cache.d.ts.map +1 -0
  389. package/typings/dts-parser.d.ts +90 -0
  390. package/typings/dts-parser.d.ts.map +1 -0
  391. package/typings/index.d.ts +48 -0
  392. package/typings/index.d.ts.map +1 -0
  393. package/typings/index.js +868 -0
  394. package/typings/schemas.d.ts +232 -0
  395. package/typings/schemas.d.ts.map +1 -0
  396. package/typings/type-fetcher.d.ts +89 -0
  397. package/typings/type-fetcher.d.ts.map +1 -0
  398. package/typings/types.d.ts +320 -0
  399. package/typings/types.d.ts.map +1 -0
  400. package/utils/escape-html.d.ts +58 -0
  401. package/utils/escape-html.d.ts.map +1 -0
  402. package/utils/index.d.ts +10 -0
  403. package/utils/index.d.ts.map +1 -0
  404. package/utils/index.js +70 -0
  405. package/utils/safe-stringify.d.ts +30 -0
  406. package/utils/safe-stringify.d.ts.map +1 -0
  407. package/validation/error-box.d.ts +56 -0
  408. package/validation/error-box.d.ts.map +1 -0
  409. package/validation/index.d.ts +13 -0
  410. package/validation/index.d.ts.map +1 -0
  411. package/validation/index.js +583 -0
  412. package/validation/schema-paths.d.ts +118 -0
  413. package/validation/schema-paths.d.ts.map +1 -0
  414. package/validation/template-validator.d.ts +143 -0
  415. package/validation/template-validator.d.ts.map +1 -0
  416. package/validation/wrapper.d.ts +97 -0
  417. package/validation/wrapper.d.ts.map +1 -0
@@ -0,0 +1,143 @@
1
+ /**
2
+ * Template Validator
3
+ *
4
+ * Validates Handlebars templates against Zod schemas to catch
5
+ * references to non-existent fields.
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ import { z } from 'zod';
10
+ /**
11
+ * Validation error types.
12
+ */
13
+ export type ValidationErrorType = 'missing_field' | 'invalid_path' | 'type_mismatch';
14
+ /**
15
+ * Validation warning types.
16
+ */
17
+ export type ValidationWarningType = 'optional_field' | 'array_access' | 'deep_path' | 'dynamic_path';
18
+ /**
19
+ * A validation error for a missing or invalid field.
20
+ */
21
+ export interface TemplateValidationError {
22
+ /** Error type */
23
+ type: ValidationErrorType;
24
+ /** The invalid path (e.g., "output.city") */
25
+ path: string;
26
+ /** The full Handlebars expression */
27
+ expression: string;
28
+ /** Line number in template */
29
+ line: number;
30
+ /** Column position */
31
+ column: number;
32
+ /** Human-readable error message */
33
+ message: string;
34
+ /** Suggested similar paths */
35
+ suggestions: string[];
36
+ }
37
+ /**
38
+ * A validation warning (non-blocking).
39
+ */
40
+ export interface TemplateValidationWarning {
41
+ /** Warning type */
42
+ type: ValidationWarningType;
43
+ /** The path that triggered the warning */
44
+ path: string;
45
+ /** The full Handlebars expression */
46
+ expression: string;
47
+ /** Line number in template */
48
+ line: number;
49
+ /** Human-readable warning message */
50
+ message: string;
51
+ }
52
+ /**
53
+ * Result of template validation.
54
+ */
55
+ export interface TemplateValidationResult {
56
+ /** Whether the template is valid (no errors) */
57
+ valid: boolean;
58
+ /** Validation errors (missing fields, etc.) */
59
+ errors: TemplateValidationError[];
60
+ /** Validation warnings (optional fields, etc.) */
61
+ warnings: TemplateValidationWarning[];
62
+ /** All paths found in the template */
63
+ templatePaths: string[];
64
+ /** All valid paths from the schema */
65
+ schemaPaths: string[];
66
+ }
67
+ /**
68
+ * Options for template validation.
69
+ */
70
+ export interface ValidateTemplateOptions {
71
+ /** Schema for input.* paths (optional) */
72
+ inputSchema?: z.ZodTypeAny;
73
+ /** Warn when accessing optional fields without {{#if}} guard */
74
+ warnOnOptional?: boolean;
75
+ /** Suggest similar paths for typos */
76
+ suggestSimilar?: boolean;
77
+ /** Maximum Levenshtein distance for suggestions */
78
+ maxSuggestionDistance?: number;
79
+ /** Tool name for error messages */
80
+ toolName?: string;
81
+ }
82
+ /**
83
+ * Validate a Handlebars template against an output schema.
84
+ *
85
+ * @param template - The Handlebars template string
86
+ * @param outputSchema - Zod schema for the output
87
+ * @param options - Validation options
88
+ * @returns Validation result with errors and warnings
89
+ *
90
+ * @example
91
+ * ```typescript
92
+ * const result = validateTemplate(
93
+ * '<div>{{output.temperature}} in {{output.city}}</div>',
94
+ * z.object({ temperature: z.number() })
95
+ * );
96
+ *
97
+ * if (!result.valid) {
98
+ * console.warn('Template has issues:', result.errors);
99
+ * }
100
+ * ```
101
+ */
102
+ export declare function validateTemplate(template: string, outputSchema: z.ZodTypeAny, options?: ValidateTemplateOptions): TemplateValidationResult;
103
+ /**
104
+ * Format validation result as console warnings.
105
+ *
106
+ * @param result - Validation result
107
+ * @param toolName - Tool name for context
108
+ * @returns Formatted warning string
109
+ */
110
+ export declare function formatValidationWarnings(result: TemplateValidationResult, toolName: string): string;
111
+ /**
112
+ * Log validation warnings to console in development mode.
113
+ *
114
+ * @param result - Validation result
115
+ * @param toolName - Tool name for context
116
+ */
117
+ export declare function logValidationWarnings(result: TemplateValidationResult, toolName: string): void;
118
+ /**
119
+ * Validate template and throw if invalid.
120
+ *
121
+ * @param template - The template to validate
122
+ * @param outputSchema - Output schema
123
+ * @param toolName - Tool name for error message
124
+ * @throws Error if template has validation errors
125
+ */
126
+ export declare function assertTemplateValid(template: string, outputSchema: z.ZodTypeAny, toolName: string): void;
127
+ /**
128
+ * Quickly check if a template is valid against a schema.
129
+ *
130
+ * @param template - The template to validate
131
+ * @param outputSchema - Output schema
132
+ * @returns true if valid, false otherwise
133
+ */
134
+ export declare function isTemplateValid(template: string, outputSchema: z.ZodTypeAny): boolean;
135
+ /**
136
+ * Get missing fields from a template.
137
+ *
138
+ * @param template - The template to check
139
+ * @param outputSchema - Output schema
140
+ * @returns Array of missing field paths
141
+ */
142
+ export declare function getMissingFields(template: string, outputSchema: z.ZodTypeAny): string[];
143
+ //# sourceMappingURL=template-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-validator.d.ts","sourceRoot":"","sources":["../../../src/validation/template-validator.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,cAAc,GAAG,eAAe,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,GAAG,WAAW,GAAG,cAAc,CAAC;AAErG;;GAEG;AACH,MAAM,WA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;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,CAAC,CAAC,UAAU,EAC1B,OAAO,GAAE,uBAA4B,GACpC,wBAAwB,CAsG1B;AA4HD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,wBAAwB,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CA0CnG;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,wBAAwB,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAK9F;AAMD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAOxG;AAMD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,UAAU,GAAG,OAAO,CAGrF;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,UAAU,GAAG,MAAM,EAAE,CAGvF"}
@@ -0,0 +1,97 @@
1
+ /**
2
+ * @file wrapper.ts
3
+ * @description Validation wrapper utilities for component input validation.
4
+ *
5
+ * Provides functions to validate component options against Zod schemas
6
+ * and return either the validated data or an error box HTML string.
7
+ *
8
+ * @example
9
+ * ```typescript
10
+ * import { validateOptions } from '@frontmcp/ui';
11
+ * import { z } from 'zod';
12
+ *
13
+ * const schema = z.object({ variant: z.enum(['primary', 'secondary']) });
14
+ *
15
+ * const result = validateOptions(options, {
16
+ * componentName: 'Button',
17
+ * schema,
18
+ * });
19
+ *
20
+ * if (!result.success) return result.error; // Returns error box HTML
21
+ *
22
+ * // Use result.data safely
23
+ * ```
24
+ *
25
+ * @module @frontmcp/ui/validation/wrapper
26
+ */
27
+ import { type ZodSchema } from 'zod';
28
+ /**
29
+ * Configuration for validation
30
+ */
31
+ export interface ValidationConfig {
32
+ /** Name of the component being validated */
33
+ componentName: string;
34
+ /** Zod schema to validate against */
35
+ schema: ZodSchema;
36
+ }
37
+ /**
38
+ * Result of validation - either success with data or failure with error HTML
39
+ */
40
+ export type ValidationResult<T> = {
41
+ success: true;
42
+ data: T;
43
+ } | {
44
+ success: false;
45
+ error: string;
46
+ };
47
+ /**
48
+ * Validates input against a Zod schema
49
+ *
50
+ * Returns either:
51
+ * - `{ success: true, data: T }` with validated/parsed data
52
+ * - `{ success: false, error: string }` with error box HTML
53
+ *
54
+ * @param options - The options object to validate
55
+ * @param config - Validation configuration (component name and schema)
56
+ * @returns ValidationResult with either data or error HTML
57
+ *
58
+ * @example
59
+ * ```typescript
60
+ * const result = validateOptions({ variant: 'invalid' }, {
61
+ * componentName: 'Button',
62
+ * schema: ButtonOptionsSchema,
63
+ * });
64
+ *
65
+ * if (!result.success) {
66
+ * return result.error; // Error box HTML
67
+ * }
68
+ *
69
+ * // result.data is typed and validated
70
+ * ```
71
+ */
72
+ export declare function validateOptions<T>(options: unknown, config: ValidationConfig): ValidationResult<T>;
73
+ /**
74
+ * Higher-order function to wrap a component function with validation
75
+ *
76
+ * Creates a new function that validates the options before calling the
77
+ * original component. If validation fails, returns the error box HTML
78
+ * instead of calling the component.
79
+ *
80
+ * @param componentFn - The original component function
81
+ * @param config - Validation configuration
82
+ * @returns Wrapped function that validates before calling
83
+ *
84
+ * @example
85
+ * ```typescript
86
+ * const buttonImpl = (text: string, opts: ButtonOptions) => `<button>...</button>`;
87
+ *
88
+ * const button = withValidation(buttonImpl, {
89
+ * componentName: 'Button',
90
+ * schema: ButtonOptionsSchema,
91
+ * });
92
+ *
93
+ * // button() now validates options before rendering
94
+ * ```
95
+ */
96
+ export declare function withValidation<TInput, TOptions>(componentFn: (input: TInput, options: TOptions) => string, config: ValidationConfig): (input: TInput, options: unknown) => string;
97
+ //# sourceMappingURL=wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../../src/validation/wrapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAOrC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,4CAA4C;IAC5C,aAAa,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,MAAM,EAAE,SAAS,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAiBjG;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAiBlG;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,QAAQ,EAC7C,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,KAAK,MAAM,EACzD,MAAM,EAAE,gBAAgB,GACvB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,MAAM,CAU7C"}
@@ -0,0 +1,147 @@
1
+ /**
2
+ * Handlebars Expression Extractor
3
+ *
4
+ * Extracts variable paths from Handlebars templates for validation
5
+ * against schemas.
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ /**
10
+ * Type of Handlebars expression.
11
+ */
12
+ export type ExpressionType = 'variable' | 'helper' | 'block' | 'block-close';
13
+ /**
14
+ * Extracted expression with metadata.
15
+ */
16
+ export interface ExtractedExpression {
17
+ /** The variable path (e.g., "output.temperature") */
18
+ path: string;
19
+ /** The full expression (e.g., "{{output.temperature}}") */
20
+ fullExpression: string;
21
+ /** Line number in template (1-indexed) */
22
+ line: number;
23
+ /** Column position (1-indexed) */
24
+ column: number;
25
+ /** Type of expression */
26
+ type: ExpressionType;
27
+ /** For helpers, the helper name */
28
+ helperName?: string;
29
+ }
30
+ /**
31
+ * Result of expression extraction.
32
+ */
33
+ export interface ExtractionResult {
34
+ /** All extracted expressions */
35
+ expressions: ExtractedExpression[];
36
+ /** Unique variable paths */
37
+ paths: string[];
38
+ /** Paths starting with "output." */
39
+ outputPaths: string[];
40
+ /** Paths starting with "input." */
41
+ inputPaths: string[];
42
+ /** Paths starting with "structuredContent." */
43
+ structuredContentPaths: string[];
44
+ }
45
+ /**
46
+ * Extract all Handlebars expressions from a template.
47
+ *
48
+ * @param template - Handlebars template string
49
+ * @returns Array of extracted expressions with metadata
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * const expressions = extractExpressions('<div>{{output.name}}</div>');
54
+ * // [{ path: 'output.name', fullExpression: '{{output.name}}', ... }]
55
+ * ```
56
+ */
57
+ export declare function extractExpressions(template: string): ExtractedExpression[];
58
+ /**
59
+ * Extract all variable paths from a template.
60
+ *
61
+ * @param template - Handlebars template string
62
+ * @returns Array of unique variable paths
63
+ *
64
+ * @example
65
+ * ```typescript
66
+ * const paths = extractVariablePaths('<div>{{output.a}} {{input.b}}</div>');
67
+ * // ['output.a', 'input.b']
68
+ * ```
69
+ */
70
+ export declare function extractVariablePaths(template: string): string[];
71
+ /**
72
+ * Extract only output.* paths from a template.
73
+ *
74
+ * @param template - Handlebars template string
75
+ * @returns Array of unique output paths
76
+ *
77
+ * @example
78
+ * ```typescript
79
+ * const paths = extractOutputPaths('<div>{{output.temp}} {{input.city}}</div>');
80
+ * // ['output.temp']
81
+ * ```
82
+ */
83
+ export declare function extractOutputPaths(template: string): string[];
84
+ /**
85
+ * Extract only input.* paths from a template.
86
+ *
87
+ * @param template - Handlebars template string
88
+ * @returns Array of unique input paths
89
+ */
90
+ export declare function extractInputPaths(template: string): string[];
91
+ /**
92
+ * Extract only structuredContent.* paths from a template.
93
+ *
94
+ * @param template - Handlebars template string
95
+ * @returns Array of unique structuredContent paths
96
+ */
97
+ export declare function extractStructuredContentPaths(template: string): string[];
98
+ /**
99
+ * Comprehensive extraction returning all path categories.
100
+ *
101
+ * @param template - Handlebars template string
102
+ * @returns Extraction result with categorized paths
103
+ *
104
+ * @example
105
+ * ```typescript
106
+ * const result = extractAll('<div>{{output.a}} {{input.b}}</div>');
107
+ * // {
108
+ * // expressions: [...],
109
+ * // paths: ['output.a', 'input.b'],
110
+ * // outputPaths: ['output.a'],
111
+ * // inputPaths: ['input.b'],
112
+ * // structuredContentPaths: []
113
+ * // }
114
+ * ```
115
+ */
116
+ export declare function extractAll(template: string): ExtractionResult;
117
+ /**
118
+ * Check if a template contains any Handlebars expressions with variable paths.
119
+ *
120
+ * @param template - Handlebars template string
121
+ * @returns true if template contains variable paths
122
+ */
123
+ export declare function hasVariablePaths(template: string): boolean;
124
+ /**
125
+ * Get expression details at a specific line and column.
126
+ *
127
+ * @param template - Handlebars template string
128
+ * @param line - Line number (1-indexed)
129
+ * @param column - Column number (1-indexed)
130
+ * @returns Expression at position or undefined
131
+ */
132
+ export declare function getExpressionAt(template: string, line: number, column: number): ExtractedExpression | undefined;
133
+ /**
134
+ * Normalize a path for comparison.
135
+ * Converts array index access to wildcard format.
136
+ *
137
+ * @param path - Variable path
138
+ * @returns Normalized path
139
+ *
140
+ * @example
141
+ * ```typescript
142
+ * normalizePath('output.items.0.name'); // 'output.items.[].name'
143
+ * normalizePath('output.data[0].value'); // 'output.data.[].value'
144
+ * ```
145
+ */
146
+ export declare function normalizePath(path: string): string;
147
+ //# sourceMappingURL=expression-extractor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-extractor.d.ts","sourceRoot":"","sources":["../../src/handlebars/expression-extractor.ts"],"names":[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