@retrivora-ai/rag-engine 2.5.2 → 2.5.3

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 (861) hide show
  1. package/dist/1c-EBREIWTW.mjs +146 -0
  2. package/dist/ChromaDBProvider-4RPJN7Y3.mjs +8 -0
  3. package/dist/ChromaDBProvider-G2V6SE7V.mjs +8 -0
  4. package/dist/MilvusProvider-FWDM6SB6.mjs +8 -0
  5. package/dist/MilvusProvider-WJLLZ6TW.mjs +8 -0
  6. package/dist/MongoDBProvider-QSERELZX.mjs +8 -0
  7. package/dist/MongoDBProvider-QXKT6PP6.mjs +8 -0
  8. package/dist/MultiTablePostgresProvider-2X2DMRKH.mjs +9 -0
  9. package/dist/MultiTablePostgresProvider-JF2HEUDZ.mjs +9 -0
  10. package/dist/PineconeProvider-Q5SD254K.mjs +10 -0
  11. package/dist/PineconeProvider-SM6ULSYT.mjs +10 -0
  12. package/dist/PostgreSQLProvider-JQMCNHRO.mjs +8 -0
  13. package/dist/PostgreSQLProvider-YET2HBKQ.mjs +8 -0
  14. package/dist/QdrantProvider-6MNFPEVC.mjs +8 -0
  15. package/dist/QdrantProvider-OHKKKERB.mjs +8 -0
  16. package/dist/RedisProvider-ERQL6AEB.mjs +8 -0
  17. package/dist/RedisProvider-XXXBWC4L.mjs +8 -0
  18. package/dist/SimpleGraphProvider-3FBIK4SP.mjs +70 -0
  19. package/dist/SimpleGraphProvider-OP3HAJJM.mjs +70 -0
  20. package/dist/UniversalVectorProvider-INM3KH5F.mjs +9 -0
  21. package/dist/UniversalVectorProvider-JNGYSY6K.mjs +9 -0
  22. package/dist/WeaviateProvider-VHWWICCC.mjs +8 -0
  23. package/dist/WeaviateProvider-WILDWYCU.mjs +8 -0
  24. package/dist/abap-WNGGW2VB.mjs +7 -0
  25. package/dist/abnf-BGGAKJOG.mjs +80 -0
  26. package/dist/abnf-CLVQL7IW.mjs +7 -0
  27. package/dist/accesslog-AW4TMVBR.mjs +102 -0
  28. package/dist/actionscript-LDBW7DZN.mjs +9 -0
  29. package/dist/actionscript-SJQA7YO2.mjs +92 -0
  30. package/dist/ada-5NUV4FXL.mjs +7 -0
  31. package/dist/ada-C4SZDD2N.mjs +153 -0
  32. package/dist/agda-UD47ECFZ.mjs +7 -0
  33. package/dist/al-TFIDG74E.mjs +7 -0
  34. package/dist/all-XHREXETZ.mjs +305 -0
  35. package/dist/angelscript-ACNK4CYA.mjs +124 -0
  36. package/dist/antlr4-G6CQUZ2D.mjs +7 -0
  37. package/dist/apache-XDWBIP3F.mjs +84 -0
  38. package/dist/apacheconf-Y65Q5KSY.mjs +7 -0
  39. package/dist/apex-EWTMFSY5.mjs +9 -0
  40. package/dist/apl-ZJEOL4BM.mjs +7 -0
  41. package/dist/applescript-LSSKJYWQ.mjs +146 -0
  42. package/dist/applescript-TDKWHEBN.mjs +7 -0
  43. package/dist/aql-C7I3QNPK.mjs +7 -0
  44. package/dist/arcade-EYNEVUEM.mjs +154 -0
  45. package/dist/arduino-JOVHFA3R.mjs +10 -0
  46. package/dist/arduino-WPJOZF2Q.mjs +430 -0
  47. package/dist/arff-KZ7QGS44.mjs +7 -0
  48. package/dist/armasm-AEPI2UBM.mjs +101 -0
  49. package/dist/armasm-I36FUMNF.mjs +7 -0
  50. package/dist/arturo-BQ3VRFKF.mjs +7 -0
  51. package/dist/asciidoc-7THCKEEE.mjs +7 -0
  52. package/dist/asciidoc-FCEOLYRF.mjs +283 -0
  53. package/dist/asm6502-MQSXKVKX.mjs +7 -0
  54. package/dist/asmatmel-VYPLCNX4.mjs +7 -0
  55. package/dist/aspectj-K3JIUMID.mjs +161 -0
  56. package/dist/aspnet-YIFISSHD.mjs +10 -0
  57. package/dist/autohotkey-3FUCNGDY.mjs +7 -0
  58. package/dist/autohotkey-S675MA75.mjs +84 -0
  59. package/dist/autoit-6EC4LIFF.mjs +7 -0
  60. package/dist/autoit-OYRPIUEX.mjs +168 -0
  61. package/dist/avisynth-SJN5SPLC.mjs +7 -0
  62. package/dist/avrasm-6YKZF5NN.mjs +69 -0
  63. package/dist/avro-idl-DU6N3NTX.mjs +7 -0
  64. package/dist/awk-DFHXRUGP.mjs +74 -0
  65. package/dist/awk-EHJ72KGN.mjs +7 -0
  66. package/dist/axapta-J6O4OPTW.mjs +175 -0
  67. package/dist/bash-L47TFVTQ.mjs +144 -0
  68. package/dist/bash-RW5QGICG.mjs +7 -0
  69. package/dist/basic-KRHBUH4Q.mjs +7 -0
  70. package/dist/basic-XCFCUNQJ.mjs +54 -0
  71. package/dist/batch-XOXCYEL4.mjs +7 -0
  72. package/dist/bbcode-HGCFVVJQ.mjs +7 -0
  73. package/dist/bbj-MFUEOWFL.mjs +7 -0
  74. package/dist/bicep-COPGQHAW.mjs +7 -0
  75. package/dist/birb-RNKSLPQ7.mjs +8 -0
  76. package/dist/bison-P5JHD2NT.mjs +9 -0
  77. package/dist/bnf-22GAP3DX.mjs +40 -0
  78. package/dist/bnf-CZNGBIRM.mjs +7 -0
  79. package/dist/bqn-C72UTBAF.mjs +7 -0
  80. package/dist/brainfuck-RX67ZTKJ.mjs +7 -0
  81. package/dist/brainfuck-XOLDR7KM.mjs +48 -0
  82. package/dist/brightscript-7QASPOYI.mjs +7 -0
  83. package/dist/bro-AI3KSENM.mjs +7 -0
  84. package/dist/bsl-DRVDLKP6.mjs +7 -0
  85. package/dist/c-L6PNSVOV.mjs +253 -0
  86. package/dist/c-VSCSOGCO.mjs +8 -0
  87. package/dist/c-like-3HOZD2N5.mjs +430 -0
  88. package/dist/cal-I27UVPAA.mjs +101 -0
  89. package/dist/capnproto-OHUPLF3N.mjs +62 -0
  90. package/dist/ceylon-HGLYEJK7.mjs +73 -0
  91. package/dist/cfscript-MFVE7RSZ.mjs +8 -0
  92. package/dist/chaiscript-JMR44JSQ.mjs +10 -0
  93. package/dist/chunk-24KBROYU.mjs +64 -0
  94. package/dist/chunk-2AL6NDUD.mjs +69 -0
  95. package/dist/chunk-2ZGMRLS2.mjs +73 -0
  96. package/dist/chunk-353NWWBK.mjs +79 -0
  97. package/dist/chunk-36GPRAF6.mjs +102 -0
  98. package/dist/chunk-37YNNB3W.mjs +61 -0
  99. package/dist/chunk-3B67MLYC.mjs +197 -0
  100. package/dist/chunk-3JZPJ5J4.mjs +82 -0
  101. package/dist/chunk-3LVEBYSC.mjs +374 -0
  102. package/dist/chunk-3P2MI7HF.mjs +336 -0
  103. package/dist/chunk-3RZAZFEU.mjs +177 -0
  104. package/dist/chunk-3SIHJKB4.mjs +34 -0
  105. package/dist/chunk-3YYX3D4T.mjs +156 -0
  106. package/dist/chunk-425XUIWE.mjs +61 -0
  107. package/dist/chunk-44M35G7Z.mjs +54 -0
  108. package/dist/chunk-45ZOXJFQ.mjs +29 -0
  109. package/dist/chunk-46PPCH2N.mjs +52 -0
  110. package/dist/chunk-4GPCGAFU.mjs +318 -0
  111. package/dist/chunk-4H4VBYBC.mjs +31 -0
  112. package/dist/chunk-4MS5JQEH.mjs +49 -0
  113. package/dist/chunk-4RZ3ACXD.mjs +30 -0
  114. package/dist/chunk-4S53M4C4.mjs +83 -0
  115. package/dist/chunk-4VWIH6DQ.mjs +47 -0
  116. package/dist/chunk-4X2CL3IQ.mjs +109 -0
  117. package/dist/chunk-4XWE2SWC.mjs +52 -0
  118. package/dist/chunk-53KZDXRW.mjs +143 -0
  119. package/dist/chunk-53Q6ESIL.mjs +41 -0
  120. package/dist/chunk-54WCNRZJ.mjs +29 -0
  121. package/dist/chunk-56226XXM.mjs +165 -0
  122. package/dist/chunk-56OI6W4H.mjs +29 -0
  123. package/dist/chunk-5BDPKJ6Y.mjs +306 -0
  124. package/dist/chunk-5F42BHTW.mjs +112 -0
  125. package/dist/chunk-5ID4EPQA.mjs +131 -0
  126. package/dist/chunk-5IXLUSDV.mjs +53 -0
  127. package/dist/chunk-5RROYZHX.mjs +28 -0
  128. package/dist/chunk-5UV7M5EU.mjs +41 -0
  129. package/dist/chunk-5XDBEAKK.mjs +48 -0
  130. package/dist/chunk-62WBBPBE.mjs +651 -0
  131. package/dist/chunk-6CLUTKPO.mjs +57 -0
  132. package/dist/chunk-6J2OLOZQ.mjs +56 -0
  133. package/dist/chunk-6J5SU6C7.mjs +73 -0
  134. package/dist/chunk-6OIK4NDX.mjs +20 -0
  135. package/dist/chunk-6TDWOHUA.mjs +112 -0
  136. package/dist/chunk-6WEP476E.mjs +129 -0
  137. package/dist/chunk-6WT5UGSS.mjs +64 -0
  138. package/dist/chunk-6YA4NYTY.mjs +41 -0
  139. package/dist/chunk-7ACPC4WG.mjs +105 -0
  140. package/dist/chunk-7EKXO46A.mjs +39 -0
  141. package/dist/chunk-7EWVBXEM.mjs +29 -0
  142. package/dist/chunk-7JAAWZ6M.mjs +22 -0
  143. package/dist/chunk-7K2L66XX.mjs +73 -0
  144. package/dist/chunk-7NFKVMAZ.mjs +98 -0
  145. package/dist/chunk-7PUPFWKS.mjs +68 -0
  146. package/dist/chunk-7YES2STE.mjs +34 -0
  147. package/dist/chunk-AD5VQQXO.mjs +28 -0
  148. package/dist/chunk-AGBAETQL.mjs +50 -0
  149. package/dist/chunk-ARO6I5WR.mjs +122 -0
  150. package/dist/chunk-ATH2U2VT.mjs +38 -0
  151. package/dist/chunk-AVHZ6YNV.mjs +39 -0
  152. package/dist/chunk-AZNYSXF2.mjs +283 -0
  153. package/dist/chunk-AZR3CC74.mjs +23305 -0
  154. package/dist/chunk-AZVF7NXO.mjs +107 -0
  155. package/dist/chunk-B36KGPR3.mjs +36 -0
  156. package/dist/chunk-B4AXIUM7.mjs +49 -0
  157. package/dist/chunk-B5SMFA6Y.mjs +356 -0
  158. package/dist/chunk-BAOD4KDW.mjs +21 -0
  159. package/dist/chunk-BEPLYQBS.mjs +89 -0
  160. package/dist/chunk-BMS3P73V.mjs +80 -0
  161. package/dist/chunk-BNOPQCZW.mjs +238 -0
  162. package/dist/chunk-BNUG5H34.mjs +40 -0
  163. package/dist/chunk-BR6K55MU.mjs +36 -0
  164. package/dist/chunk-BTVRNVQM.mjs +55 -0
  165. package/dist/chunk-BZCXV3LG.mjs +107 -0
  166. package/dist/chunk-C2A43JHI.mjs +37 -0
  167. package/dist/chunk-C2S4QV4U.mjs +87 -0
  168. package/dist/chunk-C32XOSS6.mjs +88 -0
  169. package/dist/chunk-C5ALZKTS.mjs +72 -0
  170. package/dist/chunk-C7KTMGHZ.mjs +29 -0
  171. package/dist/chunk-CASPYOUV.mjs +33 -0
  172. package/dist/chunk-CJLO3EDH.mjs +157 -0
  173. package/dist/chunk-CKTJQRFM.mjs +30 -0
  174. package/dist/chunk-COLGDCFR.mjs +37 -0
  175. package/dist/chunk-CX776XAS.mjs +70 -0
  176. package/dist/chunk-CYBAJKNA.mjs +96 -0
  177. package/dist/chunk-CYHP3BTO.mjs +43 -0
  178. package/dist/chunk-D2X6GS5O.mjs +138 -0
  179. package/dist/chunk-DA7JAJTU.mjs +37 -0
  180. package/dist/chunk-DABY3J56.mjs +22 -0
  181. package/dist/chunk-DDAURLDF.mjs +66 -0
  182. package/dist/chunk-DGDYNWYR.mjs +65 -0
  183. package/dist/chunk-DGRKZN3X.mjs +158 -0
  184. package/dist/chunk-DI4VFT7Q.mjs +41 -0
  185. package/dist/chunk-DM36CSZO.mjs +191 -0
  186. package/dist/chunk-DOENMU66.mjs +58 -0
  187. package/dist/chunk-DPLQGHIH.mjs +281 -0
  188. package/dist/chunk-DRJEECIQ.mjs +72 -0
  189. package/dist/chunk-DT2OSTVS.mjs +54 -0
  190. package/dist/chunk-DXT2K7WR.mjs +56 -0
  191. package/dist/chunk-E2526GUT.mjs +30 -0
  192. package/dist/chunk-E26IAM43.mjs +145 -0
  193. package/dist/chunk-ECEYM4LR.mjs +55 -0
  194. package/dist/chunk-ECP2LGXT.mjs +35 -0
  195. package/dist/chunk-EFECPLWP.mjs +18 -0
  196. package/dist/chunk-EM77UBEU.mjs +68 -0
  197. package/dist/chunk-ENBRIH7E.mjs +60 -0
  198. package/dist/chunk-EPFSENEW.mjs +28 -0
  199. package/dist/chunk-EVS3BFHU.mjs +156 -0
  200. package/dist/chunk-EZZI6VVY.mjs +134 -0
  201. package/dist/chunk-F5A7WWU7.mjs +31 -0
  202. package/dist/chunk-F5BFQTNM.mjs +207 -0
  203. package/dist/chunk-F6MFGVUD.mjs +69 -0
  204. package/dist/chunk-FGXIA3R7.mjs +37 -0
  205. package/dist/chunk-FHVJNAYD.mjs +100 -0
  206. package/dist/chunk-FKSBUL4E.mjs +74 -0
  207. package/dist/chunk-FLJJMJSJ.mjs +87 -0
  208. package/dist/chunk-FLOHZEYO.mjs +36 -0
  209. package/dist/chunk-FNLDG434.mjs +72 -0
  210. package/dist/chunk-FOVZHPLR.mjs +27 -0
  211. package/dist/chunk-FWGKSVXV.mjs +34 -0
  212. package/dist/chunk-FZF3BLSB.mjs +96 -0
  213. package/dist/chunk-G3ZDT4R5.mjs +318 -0
  214. package/dist/chunk-G5XSLDAB.mjs +234 -0
  215. package/dist/chunk-G73FQRRH.mjs +4720 -0
  216. package/dist/chunk-GFAAOIJ7.mjs +56 -0
  217. package/dist/chunk-GKTJV6TW.mjs +81 -0
  218. package/dist/chunk-GLIHIGNW.mjs +52 -0
  219. package/dist/chunk-GMDOMJ2U.mjs +89 -0
  220. package/dist/chunk-GP2AJQRQ.mjs +107 -0
  221. package/dist/chunk-GUI4PF6W.mjs +59 -0
  222. package/dist/chunk-GW3C7ZEN.mjs +44 -0
  223. package/dist/chunk-GWULZIAC.mjs +49 -0
  224. package/dist/chunk-GYHTSAUQ.mjs +64 -0
  225. package/dist/chunk-GYN4DEP4.mjs +58 -0
  226. package/dist/chunk-HAWFTDSB.mjs +20 -0
  227. package/dist/chunk-HIFPVOLS.mjs +88 -0
  228. package/dist/chunk-HMDPGJHZ.mjs +33 -0
  229. package/dist/chunk-HRB4D3AQ.mjs +40 -0
  230. package/dist/chunk-HSKFBW5N.mjs +35 -0
  231. package/dist/chunk-HTNRSSPJ.mjs +145 -0
  232. package/dist/chunk-HUMYU6YT.mjs +107 -0
  233. package/dist/chunk-HV7ENVP6.mjs +53 -0
  234. package/dist/chunk-HWKTI4K5.mjs +58 -0
  235. package/dist/chunk-HZDVG65R.mjs +211 -0
  236. package/dist/chunk-IJARWX2J.mjs +31 -0
  237. package/dist/chunk-IKEYRVNO.mjs +146 -0
  238. package/dist/chunk-IKTUEH2L.mjs +54 -0
  239. package/dist/chunk-IKXNCR5M.mjs +40 -0
  240. package/dist/chunk-ILV4WMVY.mjs +144 -0
  241. package/dist/chunk-IMP6FUCY.mjs +30 -0
  242. package/dist/chunk-IN7MHMT7.mjs +152 -0
  243. package/dist/chunk-IOSXMLA3.mjs +51 -0
  244. package/dist/chunk-IZBADY66.mjs +141 -0
  245. package/dist/chunk-J4ZJ66CR.mjs +35 -0
  246. package/dist/chunk-J5HJOWHG.mjs +89 -0
  247. package/dist/chunk-J6TZWF5T.mjs +28 -0
  248. package/dist/chunk-J74VV3TW.mjs +90 -0
  249. package/dist/chunk-JEEODZGS.mjs +106 -0
  250. package/dist/chunk-JL6ZSWZP.mjs +37 -0
  251. package/dist/chunk-JRQWSJNF.mjs +202 -0
  252. package/dist/chunk-JS7TBJC3.mjs +50 -0
  253. package/dist/chunk-JWQFZ37Q.mjs +27 -0
  254. package/dist/chunk-JYZAXNEX.mjs +72 -0
  255. package/dist/chunk-JZDXZFTC.mjs +19 -0
  256. package/dist/chunk-K24TPR3X.mjs +72 -0
  257. package/dist/chunk-K4PNNFZZ.mjs +98 -0
  258. package/dist/chunk-KCTI32UG.mjs +57 -0
  259. package/dist/chunk-KD7Y3NQE.mjs +70 -0
  260. package/dist/chunk-KHAAYTKK.mjs +107 -0
  261. package/dist/chunk-KJWL6BH2.mjs +63 -0
  262. package/dist/chunk-KK3VUFRU.mjs +65 -0
  263. package/dist/chunk-KLF6W6OK.mjs +96 -0
  264. package/dist/chunk-KO2RCBMO.mjs +53 -0
  265. package/dist/chunk-KUL33RN6.mjs +23 -0
  266. package/dist/chunk-KUPY2M4R.mjs +39 -0
  267. package/dist/chunk-KWN4H2SK.mjs +78 -0
  268. package/dist/chunk-KYHHBFFU.mjs +43 -0
  269. package/dist/chunk-L5J5BRSV.mjs +26 -0
  270. package/dist/chunk-LAL4U5ZY.mjs +87 -0
  271. package/dist/chunk-LF5D4CD4.mjs +94 -0
  272. package/dist/chunk-LHSMOUWA.mjs +36 -0
  273. package/dist/chunk-LL5HM2IL.mjs +22 -0
  274. package/dist/chunk-LONF3WLA.mjs +61 -0
  275. package/dist/chunk-LPIMB7BN.mjs +33 -0
  276. package/dist/chunk-LSSEZBDR.mjs +37 -0
  277. package/dist/chunk-LYHCKUNF.mjs +112 -0
  278. package/dist/chunk-M5IOO2NE.mjs +77 -0
  279. package/dist/chunk-MBCXE2JX.mjs +43 -0
  280. package/dist/chunk-MBEKXI2X.mjs +23 -0
  281. package/dist/chunk-MFIWWUC7.mjs +152 -0
  282. package/dist/chunk-MGWM63L3.mjs +92 -0
  283. package/dist/chunk-MQASXSQP.mjs +113 -0
  284. package/dist/chunk-MS4V6IZO.mjs +931 -0
  285. package/dist/chunk-MSLEAWCD.mjs +21 -0
  286. package/dist/chunk-MU2WX5MJ.mjs +116 -0
  287. package/dist/chunk-MUVFBHMZ.mjs +97 -0
  288. package/dist/chunk-MWICNCB2.mjs +157 -0
  289. package/dist/chunk-MZJMWUUV.mjs +81 -0
  290. package/dist/chunk-N2KO4GER.mjs +127 -0
  291. package/dist/chunk-N54YTFBN.mjs +76 -0
  292. package/dist/chunk-ND3IPLH2.mjs +95 -0
  293. package/dist/chunk-NF5WZDWP.mjs +105 -0
  294. package/dist/chunk-NFOQ23PO.mjs +67 -0
  295. package/dist/chunk-NLAJ7DKF.mjs +36 -0
  296. package/dist/chunk-NNDFANAN.mjs +38 -0
  297. package/dist/chunk-NRA5D7QO.mjs +93 -0
  298. package/dist/chunk-NROFUE73.mjs +50 -0
  299. package/dist/chunk-NTUTBJ7Y.mjs +72 -0
  300. package/dist/chunk-NXICO2UA.mjs +64 -0
  301. package/dist/chunk-NYBB6PRX.mjs +31 -0
  302. package/dist/chunk-O2ZYAHJD.mjs +51 -0
  303. package/dist/chunk-O3H6GV3Y.mjs +65 -0
  304. package/dist/chunk-OB4PPPH2.mjs +42 -0
  305. package/dist/chunk-OKIWJ7FA.mjs +236 -0
  306. package/dist/chunk-ORVO4EZJ.mjs +21 -0
  307. package/dist/chunk-OUYML22K.mjs +57 -0
  308. package/dist/chunk-OZYKOI26.mjs +91 -0
  309. package/dist/chunk-P3ELVMCC.mjs +152 -0
  310. package/dist/chunk-P6TDRTZQ.mjs +57 -0
  311. package/dist/chunk-PG7O6BY6.mjs +60 -0
  312. package/dist/chunk-PGCE2UE5.mjs +22 -0
  313. package/dist/chunk-PIMBXK6H.mjs +51 -0
  314. package/dist/chunk-PL6S4P4B.mjs +73 -0
  315. package/dist/chunk-POOWU2HR.mjs +211 -0
  316. package/dist/chunk-PQDAGF45.mjs +93 -0
  317. package/dist/chunk-PVILVBTP.mjs +29 -0
  318. package/dist/chunk-PYI2JMTB.mjs +96 -0
  319. package/dist/chunk-Q2QAZZT2.mjs +31 -0
  320. package/dist/chunk-QAOPNIPD.mjs +34 -0
  321. package/dist/chunk-QEMWQTNW.mjs +98 -0
  322. package/dist/chunk-QGVNUT2H.mjs +59 -0
  323. package/dist/chunk-QHF5K7KB.mjs +107 -0
  324. package/dist/chunk-QJWOEPXO.mjs +238 -0
  325. package/dist/chunk-QOBL2CCS.mjs +30 -0
  326. package/dist/chunk-QOGP6RKQ.mjs +145 -0
  327. package/dist/chunk-QOPA32CS.mjs +57 -0
  328. package/dist/chunk-QOSBCNOL.mjs +76 -0
  329. package/dist/chunk-QP7Q6T4D.mjs +146 -0
  330. package/dist/chunk-QUC5WXRL.mjs +61 -0
  331. package/dist/chunk-R2ACZM6S.mjs +39 -0
  332. package/dist/chunk-R4HNDMW7.mjs +36 -0
  333. package/dist/chunk-R5QMEYGM.mjs +105 -0
  334. package/dist/chunk-RBXXHJS3.mjs +44 -0
  335. package/dist/chunk-RFWLCVJI.mjs +53 -0
  336. package/dist/chunk-RJHP2TRO.mjs +342 -0
  337. package/dist/chunk-RL545ZDL.mjs +57 -0
  338. package/dist/chunk-RM2AN4WX.mjs +19 -0
  339. package/dist/chunk-RV2EV72B.mjs +17 -0
  340. package/dist/chunk-RV63XGV4.mjs +33 -0
  341. package/dist/chunk-RVXIWAZN.mjs +50 -0
  342. package/dist/chunk-RYEHGIGZ.mjs +37 -0
  343. package/dist/chunk-S45OTSGB.mjs +33 -0
  344. package/dist/chunk-S4AFUAMK.mjs +46 -0
  345. package/dist/chunk-SA7NQFBH.mjs +55 -0
  346. package/dist/chunk-SBC7VBZN.mjs +229 -0
  347. package/dist/chunk-SCH4R4AJ.mjs +154 -0
  348. package/dist/chunk-SCXMB3X3.mjs +93 -0
  349. package/dist/chunk-SK64537N.mjs +51 -0
  350. package/dist/chunk-SKR2H5PP.mjs +49 -0
  351. package/dist/chunk-SNL4I326.mjs +100 -0
  352. package/dist/chunk-SPLIZTXR.mjs +32 -0
  353. package/dist/chunk-SRYYJW6L.mjs +124 -0
  354. package/dist/chunk-T37HUHMP.mjs +89 -0
  355. package/dist/chunk-T5QKF6NH.mjs +41 -0
  356. package/dist/chunk-TDYA7OZL.mjs +141 -0
  357. package/dist/chunk-TK3ZBYU3.mjs +81 -0
  358. package/dist/chunk-TNDIFWEF.mjs +46 -0
  359. package/dist/chunk-TYOOLW7O.mjs +86 -0
  360. package/dist/chunk-TZDJJPDB.mjs +97 -0
  361. package/dist/chunk-U2Y2KG4V.mjs +38 -0
  362. package/dist/chunk-U33ZZ3Q5.mjs +1193 -0
  363. package/dist/chunk-U766TQKY.mjs +66 -0
  364. package/dist/chunk-UAMSMWXX.mjs +26 -0
  365. package/dist/chunk-UBG4IN2Y.mjs +152 -0
  366. package/dist/chunk-UFW3LUKC.mjs +25 -0
  367. package/dist/chunk-UM4DIO3H.mjs +19 -0
  368. package/dist/chunk-UP4YFQ5C.mjs +186 -0
  369. package/dist/chunk-UP6R6FXP.mjs +46 -0
  370. package/dist/chunk-USYLX2KE.mjs +8691 -0
  371. package/dist/chunk-UUIR3O4R.mjs +24 -0
  372. package/dist/chunk-UYNKZWSI.mjs +49 -0
  373. package/dist/chunk-UZ64LFY3.mjs +19 -0
  374. package/dist/chunk-V5FEJO5H.mjs +203 -0
  375. package/dist/chunk-V6KLBTID.mjs +47 -0
  376. package/dist/chunk-VAWLUSHA.mjs +62 -0
  377. package/dist/chunk-VCRH6KHB.mjs +43 -0
  378. package/dist/chunk-VKUTQHLL.mjs +69 -0
  379. package/dist/chunk-VLTOV7HT.mjs +81 -0
  380. package/dist/chunk-VO56WRKB.mjs +29 -0
  381. package/dist/chunk-VOEQS3R4.mjs +54 -0
  382. package/dist/chunk-VRQ6DRFR.mjs +66 -0
  383. package/dist/chunk-VXIVRVUP.mjs +74 -0
  384. package/dist/chunk-VY6R5EWX.mjs +29 -0
  385. package/dist/chunk-VZAGOPXK.mjs +129 -0
  386. package/dist/chunk-VZTB23JU.mjs +29 -0
  387. package/dist/chunk-W2DKVD3G.mjs +81 -0
  388. package/dist/chunk-W4FIJVDH.mjs +192 -0
  389. package/dist/chunk-WAIRETE3.mjs +111 -0
  390. package/dist/chunk-WBZ7QUFI.mjs +44 -0
  391. package/dist/chunk-WDJODUZW.mjs +89 -0
  392. package/dist/chunk-WG7TKVBL.mjs +72 -0
  393. package/dist/chunk-WGKQSSVM.mjs +34 -0
  394. package/dist/chunk-WSFQS3WJ.mjs +17 -0
  395. package/dist/chunk-X4RRHV3M.mjs +41 -0
  396. package/dist/chunk-X5WFUYZB.mjs +31 -0
  397. package/dist/chunk-X6TJKD4J.mjs +69 -0
  398. package/dist/chunk-X6Z6T7ZP.mjs +40 -0
  399. package/dist/chunk-XHSDHPKI.mjs +336 -0
  400. package/dist/chunk-XJCKDBMP.mjs +37 -0
  401. package/dist/chunk-XLH3B3GV.mjs +65 -0
  402. package/dist/chunk-XMF4PKWZ.mjs +37 -0
  403. package/dist/chunk-XTMKISZY.mjs +130 -0
  404. package/dist/chunk-Y6CL6A3V.mjs +43 -0
  405. package/dist/chunk-YCZHGF5L.mjs +121 -0
  406. package/dist/chunk-YDIELCJS.mjs +91 -0
  407. package/dist/chunk-YEUDGGMZ.mjs +96 -0
  408. package/dist/chunk-YEXGYK57.mjs +92 -0
  409. package/dist/chunk-YI3LY73Z.mjs +17 -0
  410. package/dist/chunk-YI4DBSAT.mjs +28 -0
  411. package/dist/chunk-YKMHUGN4.mjs +651 -0
  412. package/dist/chunk-YSPBV2YN.mjs +421 -0
  413. package/dist/chunk-YVVDPSKP.mjs +197 -0
  414. package/dist/chunk-YYSN3YCL.mjs +26 -0
  415. package/dist/chunk-Z3AKA3KE.mjs +30 -0
  416. package/dist/chunk-Z6JJIYMP.mjs +34 -0
  417. package/dist/chunk-ZA465M4H.mjs +46 -0
  418. package/dist/chunk-ZC367C4K.mjs +281 -0
  419. package/dist/chunk-ZCJNV2WB.mjs +90 -0
  420. package/dist/chunk-ZH2VDUC2.mjs +34 -0
  421. package/dist/chunk-ZHBKXVTG.mjs +53 -0
  422. package/dist/chunk-ZJ2FMMA4.mjs +31 -0
  423. package/dist/chunk-ZKOCHX43.mjs +140 -0
  424. package/dist/chunk-ZTTIDD57.mjs +72 -0
  425. package/dist/chunk-ZUW5WWT6.mjs +13 -0
  426. package/dist/cil-OX77PIZP.mjs +7 -0
  427. package/dist/cilkc-BDYOXZY5.mjs +9 -0
  428. package/dist/cilkcpp-KZN7MPWX.mjs +10 -0
  429. package/dist/clean-BLPANDN4.mjs +36 -0
  430. package/dist/clike-UUOWHDIR.mjs +7 -0
  431. package/dist/clojure-4MK5ONG5.mjs +127 -0
  432. package/dist/clojure-KTYQ4S7G.mjs +7 -0
  433. package/dist/clojure-repl-HWYI7CXM.mjs +26 -0
  434. package/dist/cmake-WHHZR2V7.mjs +7 -0
  435. package/dist/cmake-X2SGPNAG.mjs +34 -0
  436. package/dist/cobol-3CRTQG4X.mjs +7 -0
  437. package/dist/coffeescript-2BBF2PM5.mjs +9 -0
  438. package/dist/coffeescript-6KMIBZTX.mjs +348 -0
  439. package/dist/concurnas-CMH2MQMO.mjs +7 -0
  440. package/dist/cooklang-XPZDBZRQ.mjs +7 -0
  441. package/dist/coq-VPBWZI4H.mjs +7 -0
  442. package/dist/coq-XHEDPREY.mjs +35 -0
  443. package/dist/core-53TVE6ED.mjs +1811 -0
  444. package/dist/core-EFA5INDY.mjs +7 -0
  445. package/dist/cos-MTQDQCSA.mjs +98 -0
  446. package/dist/cpp-22ZXPFI6.mjs +409 -0
  447. package/dist/cpp-3QCYFNK6.mjs +9 -0
  448. package/dist/crmsh-3WRNVSTP.mjs +97 -0
  449. package/dist/crystal-2EHE2T46.mjs +322 -0
  450. package/dist/crystal-NWCQSLUO.mjs +9 -0
  451. package/dist/csharp-O3I3SJ3U.mjs +8 -0
  452. package/dist/csharp-ZV6YFQOP.mjs +438 -0
  453. package/dist/cshtml-LHWACG2S.mjs +10 -0
  454. package/dist/csp-35EVUMH3.mjs +7 -0
  455. package/dist/csp-VGB42C4V.mjs +34 -0
  456. package/dist/css-MNNVIBFJ.mjs +7 -0
  457. package/dist/css-SEV6MHRT.mjs +597 -0
  458. package/dist/css-extras-VESJUQ7R.mjs +8 -0
  459. package/dist/csv-Q6LVKY6B.mjs +7 -0
  460. package/dist/cue-4HRQJQ3R.mjs +7 -0
  461. package/dist/cypher-GT3MK3QV.mjs +7 -0
  462. package/dist/d-3DEZYWVP.mjs +8 -0
  463. package/dist/d-3ZCSNCJV.mjs +121 -0
  464. package/dist/dart-QALF24GY.mjs +8 -0
  465. package/dist/dart-XRFXD5NS.mjs +189 -0
  466. package/dist/dataweave-CEXE5S2M.mjs +7 -0
  467. package/dist/dax-7F67K7YK.mjs +7 -0
  468. package/dist/delphi-WFNKQ6WQ.mjs +118 -0
  469. package/dist/dhall-IBEFEXHW.mjs +7 -0
  470. package/dist/diff-FMR6ALMO.mjs +7 -0
  471. package/dist/diff-YPVRB2CU.mjs +85 -0
  472. package/dist/django-5YUPXABX.mjs +9 -0
  473. package/dist/django-LT2HNZGS.mjs +57 -0
  474. package/dist/dns-IFOJ77LV.mjs +45 -0
  475. package/dist/dns-zone-file-2CGVUUHD.mjs +7 -0
  476. package/dist/docker-QUSAJHC2.mjs +7 -0
  477. package/dist/dockerfile-ZB7LFK2K.mjs +33 -0
  478. package/dist/dos-GS4GLAUA.mjs +61 -0
  479. package/dist/dot-EJOMR6ES.mjs +7 -0
  480. package/dist/dsconfig-VJKRFJYE.mjs +66 -0
  481. package/dist/dts-ACRDLUDL.mjs +144 -0
  482. package/dist/dust-PTJ3DDBL.mjs +44 -0
  483. package/dist/ebnf-B3NDJ47R.mjs +51 -0
  484. package/dist/ebnf-XR4NJT5O.mjs +7 -0
  485. package/dist/editorconfig-YIXKX6PC.mjs +7 -0
  486. package/dist/eiffel-Z3NTT5RG.mjs +7 -0
  487. package/dist/ejs-HSSKSQKD.mjs +11 -0
  488. package/dist/elixir-DUZIZIJE.mjs +7 -0
  489. package/dist/elixir-FE2WKL6Y.mjs +260 -0
  490. package/dist/elm-5LDDVRJS.mjs +120 -0
  491. package/dist/elm-LI4XTQ6E.mjs +7 -0
  492. package/dist/erb-ANDNIMHK.mjs +11 -0
  493. package/dist/erb-SYU7FYSK.mjs +27 -0
  494. package/dist/erlang-KDEF4DYJ.mjs +7 -0
  495. package/dist/erlang-WDL2I3MK.mjs +192 -0
  496. package/dist/erlang-repl-NFUOVYAF.mjs +70 -0
  497. package/dist/etlua-X55UO5HM.mjs +10 -0
  498. package/dist/excel-IXNS4PYL.mjs +69 -0
  499. package/dist/excel-formula-MCOXGT6C.mjs +7 -0
  500. package/dist/factor-YNYKUWUH.mjs +7 -0
  501. package/dist/false-DPAUHKI5.mjs +7 -0
  502. package/dist/firestore-security-rules-A7WORSBC.mjs +8 -0
  503. package/dist/fix-NLAEEWWO.mjs +40 -0
  504. package/dist/flix-ZSHQ5XTB.mjs +51 -0
  505. package/dist/flow-6FFTX3ZP.mjs +9 -0
  506. package/dist/fortran-3AEDT6XT.mjs +102 -0
  507. package/dist/fortran-B3P5B7ES.mjs +7 -0
  508. package/dist/fsharp-BC5JMMR2.mjs +8 -0
  509. package/dist/fsharp-JITTJ54M.mjs +79 -0
  510. package/dist/ftl-AGA3I4XJ.mjs +9 -0
  511. package/dist/gams-WAPNC62I.mjs +177 -0
  512. package/dist/gap-NQYBQZ2B.mjs +7 -0
  513. package/dist/gauss-MECLGUAT.mjs +206 -0
  514. package/dist/gcode-MG7JXQ7V.mjs +88 -0
  515. package/dist/gcode-RRRVAYT2.mjs +7 -0
  516. package/dist/gdscript-ENR6AP4E.mjs +7 -0
  517. package/dist/gedcom-XBQGOHZ3.mjs +7 -0
  518. package/dist/gettext-6PGLS7V5.mjs +7 -0
  519. package/dist/gherkin-2H4XSYV4.mjs +7 -0
  520. package/dist/gherkin-3GRG53ES.mjs +51 -0
  521. package/dist/git-TYFIJXO4.mjs +7 -0
  522. package/dist/glsl-D26NB6J3.mjs +9 -0
  523. package/dist/glsl-LL7DU4TU.mjs +39 -0
  524. package/dist/gml-B52KPF4C.mjs +8 -0
  525. package/dist/gml-SI5MSGKE.mjs +32 -0
  526. package/dist/gn-3SZRXCF5.mjs +7 -0
  527. package/dist/go-ILRFIZP3.mjs +8 -0
  528. package/dist/go-QV2RBBLW.mjs +69 -0
  529. package/dist/go-module-RS3DPE3U.mjs +7 -0
  530. package/dist/golo-CIYAWEC6.mjs +29 -0
  531. package/dist/gradle-FT5KGOKN.mjs +28 -0
  532. package/dist/gradle-JDKJRVUN.mjs +8 -0
  533. package/dist/graphql-ARI5GIJV.mjs +7 -0
  534. package/dist/groovy-EITVUB7G.mjs +8 -0
  535. package/dist/groovy-VNBLNCR2.mjs +147 -0
  536. package/dist/haml-2ASE7KCG.mjs +9 -0
  537. package/dist/haml-WK3PC3I5.mjs +117 -0
  538. package/dist/handlebars-VVNCKCG2.mjs +9 -0
  539. package/dist/handlebars-ZL76DGI2.mjs +270 -0
  540. package/dist/handlers/index.d.mts +1 -1
  541. package/dist/handlers/index.d.ts +1 -1
  542. package/dist/handlers/index.js +187 -149
  543. package/dist/handlers/index.mjs +24 -11803
  544. package/dist/haskell-6ILWUO7I.mjs +7 -0
  545. package/dist/haskell-NTK5RBZP.mjs +163 -0
  546. package/dist/haxe-4QQCCPVH.mjs +8 -0
  547. package/dist/haxe-5MW6GLB2.mjs +162 -0
  548. package/dist/hcl-73BIQ3M4.mjs +7 -0
  549. package/dist/hlsl-OULX4HA6.mjs +9 -0
  550. package/dist/hoon-LUXS3O2A.mjs +7 -0
  551. package/dist/hpkp-ML5FM4Q7.mjs +7 -0
  552. package/dist/hsp-IAWLPXBG.mjs +62 -0
  553. package/dist/hsts-Y7BGEHZR.mjs +7 -0
  554. package/dist/htmlbars-S6FRWYPY.mjs +278 -0
  555. package/dist/http-TJ7OZI2Q.mjs +106 -0
  556. package/dist/http-XL3ZNGIY.mjs +7 -0
  557. package/dist/hy-FUJRHAQL.mjs +82 -0
  558. package/dist/ichigojam-UFIQSIDS.mjs +7 -0
  559. package/dist/icon-L3WTN2K2.mjs +7 -0
  560. package/dist/icu-message-format-BQRWIPGH.mjs +7 -0
  561. package/dist/idris-ZDQ4PXMA.mjs +8 -0
  562. package/dist/iecst-TD53KMLC.mjs +7 -0
  563. package/dist/ignore-YJEHPWMH.mjs +7 -0
  564. package/dist/{index-D2mY1CrY.d.mts → index-BSzhBMdH.d.mts} +2 -16
  565. package/dist/{index-BC635WW-.d.ts → index-T-TH-wJd.d.ts} +2 -16
  566. package/dist/index.css +0 -3
  567. package/dist/index.js +330 -173
  568. package/dist/index.min.css +1 -1
  569. package/dist/index.mjs +291 -1477
  570. package/dist/inform7-3RY726UI.mjs +66 -0
  571. package/dist/inform7-YPPQWHLN.mjs +7 -0
  572. package/dist/ini-CETYIAUM.mjs +7 -0
  573. package/dist/ini-SPOLXKBK.mjs +148 -0
  574. package/dist/io-EYJW7VN6.mjs +7 -0
  575. package/dist/irpf90-6SBM76YD.mjs +81 -0
  576. package/dist/isbl-FSGOKI4V.mjs +268 -0
  577. package/dist/j-Q5JQ4SLX.mjs +7 -0
  578. package/dist/java-DJQZUC6R.mjs +177 -0
  579. package/dist/java-YR4IU5BM.mjs +8 -0
  580. package/dist/javadoc-BRJNCLP6.mjs +11 -0
  581. package/dist/javadoclike-TFSRBPQM.mjs +7 -0
  582. package/dist/javascript-2ZEIO6XD.mjs +552 -0
  583. package/dist/javascript-QTUJKQHC.mjs +8 -0
  584. package/dist/javastacktrace-GGTEZXE3.mjs +7 -0
  585. package/dist/jboss-cli-77LKGYS3.mjs +62 -0
  586. package/dist/jexl-BTJOELHK.mjs +7 -0
  587. package/dist/jolie-FSJACUDX.mjs +8 -0
  588. package/dist/jq-ZM5F7ZDK.mjs +7 -0
  589. package/dist/js-extras-4DGOZNV7.mjs +9 -0
  590. package/dist/js-templates-NCH5GDOS.mjs +9 -0
  591. package/dist/jsdoc-RVRQ2ONF.mjs +11 -0
  592. package/dist/json-ROTEBQRJ.mjs +7 -0
  593. package/dist/json-YZZOVRBO.mjs +65 -0
  594. package/dist/json5-UP2ZOKOQ.mjs +8 -0
  595. package/dist/jsonp-DR56NR56.mjs +8 -0
  596. package/dist/jsstacktrace-VDL5T4D5.mjs +7 -0
  597. package/dist/jsx-SXP6XKYC.mjs +10 -0
  598. package/dist/julia-HTJ7H7C7.mjs +7 -0
  599. package/dist/julia-Q4ZVHRDI.mjs +356 -0
  600. package/dist/julia-repl-BTX3J3NJ.mjs +35 -0
  601. package/dist/keepalived-QZJZ5HOV.mjs +7 -0
  602. package/dist/keyman-ZGSFJPGK.mjs +7 -0
  603. package/dist/kotlin-IGZZRCGC.mjs +264 -0
  604. package/dist/kotlin-JJZ52WH7.mjs +8 -0
  605. package/dist/kumir-7GXMJK3V.mjs +7 -0
  606. package/dist/kusto-WG6JJXRJ.mjs +7 -0
  607. package/dist/lasso-WWTZY5UH.mjs +170 -0
  608. package/dist/latex-2YADPEPI.mjs +7 -0
  609. package/dist/latex-WRAYL6SG.mjs +259 -0
  610. package/dist/latte-SLTLZ42G.mjs +11 -0
  611. package/dist/ldif-6UEPZ3X4.mjs +45 -0
  612. package/dist/leaf-NI5FUQC2.mjs +52 -0
  613. package/dist/less-IZNHBS3M.mjs +8 -0
  614. package/dist/less-NIE4VYT6.mjs +659 -0
  615. package/dist/lilypond-5Q7S6AWI.mjs +8 -0
  616. package/dist/linker-script-U2G3YT6Y.mjs +7 -0
  617. package/dist/liquid-APSL6YSQ.mjs +9 -0
  618. package/dist/lisp-66VVBLOV.mjs +118 -0
  619. package/dist/lisp-VKANOWYN.mjs +7 -0
  620. package/dist/livecodeserver-DUT3Q46F.mjs +119 -0
  621. package/dist/livescript-747Z7BTF.mjs +366 -0
  622. package/dist/livescript-Q5U2BMW5.mjs +7 -0
  623. package/dist/llvm-GL4XTW5Y.mjs +7 -0
  624. package/dist/llvm-QVOA6LPG.mjs +100 -0
  625. package/dist/log-WZTVEF6C.mjs +7 -0
  626. package/dist/lolcode-4MINGUJV.mjs +7 -0
  627. package/dist/lsl-QPPMC5D4.mjs +90 -0
  628. package/dist/lua-L6OBT7JV.mjs +71 -0
  629. package/dist/lua-ZSJIAUOH.mjs +7 -0
  630. package/dist/magma-XCJJFWJR.mjs +7 -0
  631. package/dist/makefile-OOWCTVQ7.mjs +82 -0
  632. package/dist/makefile-QIYFPW2R.mjs +7 -0
  633. package/dist/markdown-DAR7DPFL.mjs +8 -0
  634. package/dist/markdown-N3SY7XVC.mjs +239 -0
  635. package/dist/markup-OXVKDD47.mjs +7 -0
  636. package/dist/markup-templating-J4DO7422.mjs +8 -0
  637. package/dist/mata-765PWMBX.mjs +7 -0
  638. package/dist/mathematica-LT6GQUHF.mjs +6751 -0
  639. package/dist/matlab-4GFLVE2P.mjs +87 -0
  640. package/dist/matlab-6HITLEEC.mjs +7 -0
  641. package/dist/maxima-Z3RYDEQB.mjs +63 -0
  642. package/dist/maxscript-WQI6JYAB.mjs +7 -0
  643. package/dist/mel-27RKMW7S.mjs +7 -0
  644. package/dist/mel-SFVB3IOI.mjs +35 -0
  645. package/dist/mercury-CKPXMMW7.mjs +99 -0
  646. package/dist/mermaid-XHBPQM2B.mjs +7 -0
  647. package/dist/metafont-7AGXCDBQ.mjs +7 -0
  648. package/dist/mipsasm-3NYLGAR6.mjs +85 -0
  649. package/dist/mizar-64NH7HJA.mjs +20 -0
  650. package/dist/mizar-U2HYXZIV.mjs +7 -0
  651. package/dist/mojolicious-P7XXJCR3.mjs +37 -0
  652. package/dist/mongodb-WUNFEENG.mjs +9 -0
  653. package/dist/monkey-PPCGIXWW.mjs +84 -0
  654. package/dist/monkey-QLUD3OXB.mjs +7 -0
  655. package/dist/moonscript-4CWFAPGN.mjs +7 -0
  656. package/dist/moonscript-A2M4GDBP.mjs +148 -0
  657. package/dist/n1ql-JCXANXED.mjs +7 -0
  658. package/dist/n1ql-SDCT2EHR.mjs +56 -0
  659. package/dist/n4js-XYYHI2EG.mjs +9 -0
  660. package/dist/nand2tetris-hdl-EFYRZT6S.mjs +7 -0
  661. package/dist/naniscript-MA6QESE2.mjs +7 -0
  662. package/dist/nasm-VHY6J4EF.mjs +7 -0
  663. package/dist/neon-QCP2WSBT.mjs +7 -0
  664. package/dist/nevod-EFXVYLVX.mjs +7 -0
  665. package/dist/nginx-TGT7EO4X.mjs +7 -0
  666. package/dist/nginx-WW7TAPC7.mjs +138 -0
  667. package/dist/nim-HL4DQ5UH.mjs +70 -0
  668. package/dist/nim-YWSIL2DE.mjs +7 -0
  669. package/dist/nix-2AR5CCIH.mjs +63 -0
  670. package/dist/nix-E3D77UG6.mjs +7 -0
  671. package/dist/node-repl-NKLTAWN7.mjs +38 -0
  672. package/dist/nsis-33NHQMB7.mjs +7 -0
  673. package/dist/nsis-3IEZ3YJJ.mjs +110 -0
  674. package/dist/objectivec-3IFCJWCA.mjs +9 -0
  675. package/dist/objectivec-KOG52TJY.mjs +96 -0
  676. package/dist/ocaml-KY5FDADX.mjs +7 -0
  677. package/dist/ocaml-VAM3KDWB.mjs +74 -0
  678. package/dist/odin-A2IE76HA.mjs +7 -0
  679. package/dist/opencl-4S3HASAT.mjs +9 -0
  680. package/dist/openqasm-AWQKXLGZ.mjs +7 -0
  681. package/dist/openscad-HHFIEWVA.mjs +82 -0
  682. package/dist/oxygene-66TQWGHU.mjs +95 -0
  683. package/dist/oz-ZITDMMHD.mjs +7 -0
  684. package/dist/parigp-VBT7UQG5.mjs +7 -0
  685. package/dist/parser-YEZVTKJT.mjs +8 -0
  686. package/dist/parser3-NMC257GM.mjs +58 -0
  687. package/dist/pascal-XXANPKBW.mjs +7 -0
  688. package/dist/pascaligo-4AUPQUM4.mjs +7 -0
  689. package/dist/pcaxis-XLPP7YFP.mjs +7 -0
  690. package/dist/peoplecode-2JPUOZ5D.mjs +7 -0
  691. package/dist/perl-J6SU2KAK.mjs +480 -0
  692. package/dist/perl-XPOI3VE2.mjs +7 -0
  693. package/dist/pf-L6J5TXP5.mjs +44 -0
  694. package/dist/pgsql-CXOXGLSM.mjs +388 -0
  695. package/dist/php-7COQUIL6.mjs +9 -0
  696. package/dist/php-THQHZWBK.mjs +192 -0
  697. package/dist/php-extras-KXCGVKVT.mjs +10 -0
  698. package/dist/php-template-MDQ7YQYU.mjs +55 -0
  699. package/dist/phpdoc-P3J4KDLP.mjs +11 -0
  700. package/dist/plaintext-FOX4HEYD.mjs +21 -0
  701. package/dist/plant-uml-HLQGLS6L.mjs +7 -0
  702. package/dist/plsql-S52OSJ2U.mjs +8 -0
  703. package/dist/pony-W4DRRBBC.mjs +65 -0
  704. package/dist/powerquery-YHSDPEFX.mjs +7 -0
  705. package/dist/powershell-FLJWJJQQ.mjs +7 -0
  706. package/dist/powershell-P6JU2TP5.mjs +280 -0
  707. package/dist/processing-GGDIH7QS.mjs +29 -0
  708. package/dist/processing-LTLRX2F5.mjs +8 -0
  709. package/dist/profile-SWN3ONGX.mjs +46 -0
  710. package/dist/prolog-22I55WFQ.mjs +90 -0
  711. package/dist/prolog-NTHCGAGP.mjs +7 -0
  712. package/dist/promql-WFSRW4IG.mjs +7 -0
  713. package/dist/properties-WFMQKC4W.mjs +7 -0
  714. package/dist/properties-WSAVMNCN.mjs +82 -0
  715. package/dist/protobuf-6IXRTNB4.mjs +51 -0
  716. package/dist/protobuf-HKASI7GQ.mjs +8 -0
  717. package/dist/psl-IOI6QPHM.mjs +7 -0
  718. package/dist/pug-347NHF34.mjs +10 -0
  719. package/dist/puppet-VTVLTBI2.mjs +121 -0
  720. package/dist/puppet-YOC76H6Z.mjs +7 -0
  721. package/dist/pure-JBAF6TB6.mjs +7 -0
  722. package/dist/purebasic-C3YNOS5P.mjs +70 -0
  723. package/dist/purebasic-JWVWWWJD.mjs +8 -0
  724. package/dist/purescript-N3Q4R3YA.mjs +8 -0
  725. package/dist/python-A4CFGSSI.mjs +7 -0
  726. package/dist/python-NT5AD4JY.mjs +412 -0
  727. package/dist/python-repl-LHNIOXJX.mjs +38 -0
  728. package/dist/q-FMB4DBLN.mjs +7 -0
  729. package/dist/q-UTM7ZTW7.mjs +33 -0
  730. package/dist/qml-MJHPGC4V.mjs +9 -0
  731. package/dist/qml-WIGTJGI4.mjs +177 -0
  732. package/dist/qore-NTRR7XWO.mjs +8 -0
  733. package/dist/qsharp-SDEJFN7R.mjs +8 -0
  734. package/dist/r-RELSGV5I.mjs +7 -0
  735. package/dist/r-WY7E4G62.mjs +175 -0
  736. package/dist/racket-QSCJEQRD.mjs +8 -0
  737. package/dist/reason-TTF6YRJC.mjs +8 -0
  738. package/dist/reasonml-XPP4N3QO.mjs +294 -0
  739. package/dist/regex-PRGZTHZL.mjs +7 -0
  740. package/dist/rego-EPT6TBBG.mjs +7 -0
  741. package/dist/renpy-TIIZPWPG.mjs +7 -0
  742. package/dist/rescript-4KMHHGJS.mjs +7 -0
  743. package/dist/rest-CAP5QXCA.mjs +7 -0
  744. package/dist/rib-7TW3PGSO.mjs +24 -0
  745. package/dist/rip-U3OVF6I5.mjs +7 -0
  746. package/dist/roboconf-DXZX2XRS.mjs +7 -0
  747. package/dist/roboconf-EWDKJ5LM.mjs +78 -0
  748. package/dist/robotframework-5MDZVXUI.mjs +7 -0
  749. package/dist/routeros-F63X5ZIY.mjs +163 -0
  750. package/dist/rsl-KI4U6V76.mjs +42 -0
  751. package/dist/ruby-RXY2RLEY.mjs +346 -0
  752. package/dist/ruby-SRVPHZXE.mjs +8 -0
  753. package/dist/ruleslanguage-CW4QBLC4.mjs +40 -0
  754. package/dist/rust-CA3GNIOD.mjs +7 -0
  755. package/dist/rust-PMGZCFRY.mjs +123 -0
  756. package/dist/sas-7FFW2O23.mjs +7 -0
  757. package/dist/sas-PMTXHOIS.mjs +66 -0
  758. package/dist/sass-YWHWQAUT.mjs +8 -0
  759. package/dist/scala-4SFCTX6I.mjs +9 -0
  760. package/dist/scala-5GJ43JLG.mjs +131 -0
  761. package/dist/scheme-6GQTRHJH.mjs +7 -0
  762. package/dist/scheme-LAM5SAF2.mjs +159 -0
  763. package/dist/scilab-YCB5BINJ.mjs +69 -0
  764. package/dist/scss-GQSUZCJS.mjs +8 -0
  765. package/dist/scss-QK2HU2CK.mjs +551 -0
  766. package/dist/server.d.mts +6 -2
  767. package/dist/server.d.ts +6 -2
  768. package/dist/server.js +189 -151
  769. package/dist/server.mjs +373 -12341
  770. package/dist/shell-UOPX2W7I.mjs +30 -0
  771. package/dist/shell-session-6VKIJ4UE.mjs +8 -0
  772. package/dist/smali-5FECMKNA.mjs +137 -0
  773. package/dist/smali-J3GXN3CR.mjs +7 -0
  774. package/dist/smalltalk-DJMU7FZQ.mjs +7 -0
  775. package/dist/smalltalk-VRGDZA3W.mjs +66 -0
  776. package/dist/smarty-R6DOPNCK.mjs +9 -0
  777. package/dist/sml-2F2GSLBP.mjs +7 -0
  778. package/dist/sml-NYPT675T.mjs +81 -0
  779. package/dist/solidity-PFRSAYM6.mjs +8 -0
  780. package/dist/solution-file-U4FZFD55.mjs +7 -0
  781. package/dist/soy-Y4XP2HZR.mjs +9 -0
  782. package/dist/sparql-FNWGIQ7N.mjs +8 -0
  783. package/dist/splunk-spl-JXVVU3X5.mjs +7 -0
  784. package/dist/sqf-5I2ZD7YO.mjs +8 -0
  785. package/dist/sqf-QDIV7VDQ.mjs +86 -0
  786. package/dist/sql-GBCT2QB4.mjs +7 -0
  787. package/dist/sql-WF5COLPY.mjs +655 -0
  788. package/dist/sql_more-OYKA6JQY.mjs +60 -0
  789. package/dist/squirrel-5LI5TRO2.mjs +8 -0
  790. package/dist/stan-LHT2ZONH.mjs +7 -0
  791. package/dist/stan-NZHR4RTX.mjs +547 -0
  792. package/dist/stata-L5S3GROB.mjs +11 -0
  793. package/dist/stata-M24CXK7H.mjs +54 -0
  794. package/dist/step21-R2GQ3VPU.mjs +68 -0
  795. package/dist/stylus-7JEVD63H.mjs +7 -0
  796. package/dist/stylus-EGU6YPC7.mjs +605 -0
  797. package/dist/subunit-TBVEFCZ4.mjs +54 -0
  798. package/dist/supercollider-DQRFF2ZM.mjs +7 -0
  799. package/dist/swift-KF3IM6ZM.mjs +7 -0
  800. package/dist/swift-Z37BBBV6.mjs +799 -0
  801. package/dist/systemd-MN3J4ZZP.mjs +7 -0
  802. package/dist/t4-cs-4VGLEZ3E.mjs +10 -0
  803. package/dist/t4-templating-Z5UNC7NL.mjs +7 -0
  804. package/dist/t4-vb-WND6NL7I.mjs +10 -0
  805. package/dist/taggerscript-E4K2IWZI.mjs +53 -0
  806. package/dist/tap-CHINMJXZ.mjs +8 -0
  807. package/dist/tap-SOP3LUUF.mjs +56 -0
  808. package/dist/tcl-KFAY3Y76.mjs +83 -0
  809. package/dist/tcl-RYS635Z3.mjs +7 -0
  810. package/dist/textile-K4LIB2S4.mjs +8 -0
  811. package/dist/thrift-CD3DUU44.mjs +49 -0
  812. package/dist/toml-H32BR4RA.mjs +7 -0
  813. package/dist/tp-YEGGGPV6.mjs +91 -0
  814. package/dist/tremor-KW3FV3KC.mjs +7 -0
  815. package/dist/tsx-5J5VXZS5.mjs +12 -0
  816. package/dist/tt2-HGSBIVQ4.mjs +10 -0
  817. package/dist/turtle-3BXU77UR.mjs +7 -0
  818. package/dist/twig-BHEIMS2I.mjs +70 -0
  819. package/dist/twig-WPWEOXUJ.mjs +9 -0
  820. package/dist/typescript-G3NW53G6.mjs +9 -0
  821. package/dist/typescript-XCHCHZTB.mjs +628 -0
  822. package/dist/typoscript-JAVNW6VK.mjs +7 -0
  823. package/dist/unrealscript-42PWKY6Q.mjs +7 -0
  824. package/dist/uorazor-JCCJPUCB.mjs +7 -0
  825. package/dist/uri-6TOG7EQ3.mjs +7 -0
  826. package/dist/v-U43HBEJL.mjs +8 -0
  827. package/dist/vala-DG57MCH7.mjs +8 -0
  828. package/dist/vala-SOJ7ADYF.mjs +51 -0
  829. package/dist/vbnet-NANZ6YNZ.mjs +164 -0
  830. package/dist/vbnet-VGGYD7UL.mjs +8 -0
  831. package/dist/vbscript-ZGKTU75O.mjs +68 -0
  832. package/dist/vbscript-html-IXDLQQWA.mjs +24 -0
  833. package/dist/velocity-I7WPNNRT.mjs +8 -0
  834. package/dist/verilog-Q2SCWKH6.mjs +7 -0
  835. package/dist/verilog-TOWZGWW5.mjs +72 -0
  836. package/dist/vhdl-LMAC2JYU.mjs +51 -0
  837. package/dist/vhdl-UMPVMOXL.mjs +7 -0
  838. package/dist/vim-2YLACCEH.mjs +74 -0
  839. package/dist/vim-B5DEGKND.mjs +7 -0
  840. package/dist/visual-basic-TH2SIMKY.mjs +7 -0
  841. package/dist/warpscript-DRY2GDSF.mjs +7 -0
  842. package/dist/wasm-5A4VSDDR.mjs +7 -0
  843. package/dist/web-idl-DDXJ6PB7.mjs +7 -0
  844. package/dist/wgsl-BTSX35ZR.mjs +7 -0
  845. package/dist/wiki-7DBBSDZ4.mjs +8 -0
  846. package/dist/wolfram-GZXM3VCU.mjs +7 -0
  847. package/dist/wren-67TXQCEN.mjs +7 -0
  848. package/dist/x86asm-SBYXVAPW.mjs +106 -0
  849. package/dist/xeora-DPVBEV2S.mjs +8 -0
  850. package/dist/xl-MJ5LQ7IG.mjs +77 -0
  851. package/dist/xml-FLJSLCB4.mjs +254 -0
  852. package/dist/xml-doc-3NHESP5E.mjs +8 -0
  853. package/dist/xojo-AKFOJ5KB.mjs +7 -0
  854. package/dist/xquery-KPNYT5DH.mjs +161 -0
  855. package/dist/xquery-WALO52IF.mjs +8 -0
  856. package/dist/yaml-CDPEVNU3.mjs +7 -0
  857. package/dist/yaml-GBY4TVPN.mjs +173 -0
  858. package/dist/yang-W5ZMJ3A7.mjs +7 -0
  859. package/dist/zephir-Y2H2MA66.mjs +118 -0
  860. package/dist/zig-7XFLDRZS.mjs +7 -0
  861. package/package.json +12 -4
package/dist/server.js CHANGED
@@ -332,7 +332,7 @@ var init_package = __esm({
332
332
  "package.json"() {
333
333
  package_default = {
334
334
  name: "@retrivora-ai/rag-engine",
335
- version: "2.5.2",
335
+ version: "2.5.3",
336
336
  description: "Retrivora AI is a plug-and-play AI engine for RAG chat experiences \u2014 generic vector DB + LLM provider, embeddable or standalone.",
337
337
  author: "Abhinav Alkuchi",
338
338
  license: "UNLICENSED",
@@ -434,18 +434,24 @@ var init_package = __esm({
434
434
  "@anthropic-ai/sdk": "^0.95.1",
435
435
  "@google/genai": "^0.8.0",
436
436
  "@google/generative-ai": "^0.24.1",
437
- "@retrivora-ai/billing-guards": "*",
438
437
  "@pinecone-database/pinecone": "^7.2.0",
438
+ "@retrivora-ai/billing-guards": "*",
439
439
  "@types/papaparse": "^5.5.2",
440
+ "framer-motion": "^13.1.0",
441
+ katex: "^0.18.4",
440
442
  "lucide-react": "^1.8.0",
441
443
  "next-themes": "^0.4.6",
442
444
  openai: "^6.34.0",
443
445
  papaparse: "^5.5.3",
444
446
  "react-is": "^18.3.1",
445
447
  "react-markdown": "^10.1.0",
448
+ "react-syntax-highlighter": "^16.1.1",
446
449
  recharts: "^3.8.1",
450
+ "rehype-katex": "^7.0.1",
447
451
  "remark-gfm": "^4.0.1",
448
- xlsx: "^0.18.5"
452
+ "remark-math": "^6.0.0",
453
+ xlsx: "^0.18.5",
454
+ zod: "^4.4.3"
449
455
  },
450
456
  optionalDependencies: {
451
457
  "@langchain/core": "^1.1.42",
@@ -462,11 +468,13 @@ var init_package = __esm({
462
468
  "@tailwindcss/postcss": "^4",
463
469
  "@types/estree": "^1.0.9",
464
470
  "@types/jest": "^30.0.0",
471
+ "@types/katex": "^0.16.8",
465
472
  "@types/node": "^20",
466
473
  "@types/pdf-parse": "^1.1.5",
467
474
  "@types/pg": "^8.20.0",
468
475
  "@types/react": "^19.2.14",
469
476
  "@types/react-dom": "^19.2.3",
477
+ "@types/react-syntax-highlighter": "^15.5.13",
470
478
  axios: "^1.15.0",
471
479
  dotenv: "^17.4.2",
472
480
  eslint: "^9",
@@ -2866,8 +2874,35 @@ function wrapError(err, defaultCode, defaultMessage) {
2866
2874
  }
2867
2875
 
2868
2876
  // src/core/LicenseVerifier.ts
2877
+ var os = __toESM(require("os"));
2878
+ var crypto = __toESM(require("crypto"));
2869
2879
  var _LicenseVerifier = class _LicenseVerifier {
2870
2880
  // Cache verified license for 5 minutes
2881
+ /**
2882
+ * Computes a deterministic hardware fingerprint to enforce node-locked licensing.
2883
+ */
2884
+ static generateMachineFingerprint() {
2885
+ try {
2886
+ const interfaces = os.networkInterfaces();
2887
+ const macAddresses = [];
2888
+ for (const name of Object.keys(interfaces)) {
2889
+ for (const iface of interfaces[name] || []) {
2890
+ if (!iface.internal && iface.mac && iface.mac !== "00:00:00:00:00:00") {
2891
+ macAddresses.push(iface.mac);
2892
+ }
2893
+ }
2894
+ }
2895
+ const rawData = [
2896
+ macAddresses.sort().join(","),
2897
+ os.platform(),
2898
+ os.arch(),
2899
+ os.hostname()
2900
+ ].join("|");
2901
+ return crypto.createHash("sha256").update(rawData).digest("hex");
2902
+ } catch (err) {
2903
+ return crypto.createHash("sha256").update(os.platform() + os.arch()).digest("hex");
2904
+ }
2905
+ }
2871
2906
  /**
2872
2907
  * Validates the license key asynchronously by calling the Retrivora backend.
2873
2908
  *
@@ -2911,6 +2946,7 @@ var _LicenseVerifier = class _LicenseVerifier {
2911
2946
  }
2912
2947
  const endpoint = `${baseUrl}/api/v1/license/validate`;
2913
2948
  let response;
2949
+ const machineFingerprint = this.generateMachineFingerprint();
2914
2950
  try {
2915
2951
  response = await fetch(endpoint, {
2916
2952
  method: "POST",
@@ -2921,7 +2957,8 @@ var _LicenseVerifier = class _LicenseVerifier {
2921
2957
  body: JSON.stringify({
2922
2958
  licenseKey,
2923
2959
  projectId: currentProjectId,
2924
- provider
2960
+ provider,
2961
+ machineFingerprint
2925
2962
  })
2926
2963
  });
2927
2964
  } catch (fetchErr) {
@@ -3129,7 +3166,6 @@ var PROVIDERS_WITH_EMBEDDINGS = [
3129
3166
  "rest",
3130
3167
  "universal_rest"
3131
3168
  ];
3132
- var UI_BORDER_RADIUS_OPTIONS = ["none", "sm", "md", "lg", "xl", "full"];
3133
3169
 
3134
3170
  // src/config/serverConfig.ts
3135
3171
  var _runtimeConfig = null;
@@ -3471,6 +3507,9 @@ var ConfigResolver = class {
3471
3507
  }
3472
3508
  };
3473
3509
 
3510
+ // src/core/ConfigValidator.ts
3511
+ var import_zod = require("zod");
3512
+
3474
3513
  // src/llm/providers/OpenAIProvider.ts
3475
3514
  var import_openai = __toESM(require("openai"));
3476
3515
 
@@ -5228,24 +5267,69 @@ ProviderRegistry.llmValidators = {};
5228
5267
  ProviderRegistry.llmHealthCheckers = {};
5229
5268
 
5230
5269
  // src/core/ConfigValidator.ts
5270
+ var UIConfigSchema = import_zod.z.object({
5271
+ primaryColor: import_zod.z.string().optional(),
5272
+ borderRadius: import_zod.z.enum(["none", "sm", "md", "lg", "xl", "full"]).optional()
5273
+ }).passthrough().optional();
5274
+ var VectorDbSchema = import_zod.z.object({
5275
+ provider: import_zod.z.string().min(1, "Vector database provider is required"),
5276
+ indexName: import_zod.z.string().min(1, "Vector database index name is required"),
5277
+ options: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional()
5278
+ }).passthrough().superRefine((val, ctx) => {
5279
+ const opts = val.options || {};
5280
+ if (val.provider === "milvus") {
5281
+ if (!opts.baseUrl && !opts.uri && !(opts.host && opts.port)) {
5282
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["options", "baseUrl"], message: "Milvus connection info required" });
5283
+ }
5284
+ } else if (val.provider === "qdrant") {
5285
+ if (!opts.baseUrl && !opts.url) {
5286
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["options", "baseUrl"], message: "Qdrant URL required" });
5287
+ }
5288
+ }
5289
+ });
5290
+ var LLMSchema = import_zod.z.object({
5291
+ provider: import_zod.z.string().min(1, "LLM provider is required"),
5292
+ model: import_zod.z.string().optional(),
5293
+ temperature: import_zod.z.number().min(0, "Temperature must be at least 0").max(2, "Temperature must be at most 2").optional()
5294
+ }).passthrough().superRefine((val, ctx) => {
5295
+ if (!val.model) {
5296
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["model"], message: "LLM model name is required" });
5297
+ }
5298
+ });
5299
+ var EmbeddingSchema = import_zod.z.object({
5300
+ provider: import_zod.z.string().min(1, "Embedding provider is required"),
5301
+ model: import_zod.z.string().optional()
5302
+ }).passthrough().superRefine((val, ctx) => {
5303
+ if (!val.model) {
5304
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["model"], message: "Embedding model name is required" });
5305
+ }
5306
+ });
5307
+ var RAGSchema = import_zod.z.object({
5308
+ topK: import_zod.z.number().positive("topK must be a positive integer").optional()
5309
+ }).passthrough().optional();
5310
+ var RagConfigSchema = import_zod.z.object({
5311
+ projectId: import_zod.z.string().min(1, "projectId is required"),
5312
+ vectorDb: VectorDbSchema,
5313
+ llm: LLMSchema,
5314
+ embedding: EmbeddingSchema.optional(),
5315
+ ui: UIConfigSchema,
5316
+ rag: RAGSchema
5317
+ }).passthrough();
5231
5318
  var ConfigValidator = class {
5232
- /**
5233
- * Validates the entire RagConfig object.
5234
- */
5235
5319
  static async validate(config) {
5320
+ var _a2, _b, _c, _d, _e;
5236
5321
  const errors = [];
5237
- if (!config.projectId) {
5238
- errors.push({
5239
- field: "projectId",
5240
- message: "projectId is required",
5241
- severity: "error"
5242
- });
5322
+ const result = RagConfigSchema.safeParse(config);
5323
+ if (!result.success) {
5324
+ for (const issue of result.error.issues) {
5325
+ errors.push({
5326
+ field: issue.path.join("."),
5327
+ message: issue.message,
5328
+ severity: "error"
5329
+ });
5330
+ }
5243
5331
  }
5244
- errors.push(...await this.validateVectorDbConfig(config.vectorDb));
5245
- errors.push(...await this.validateLLMConfig(config.llm));
5246
- if (config.embedding) {
5247
- errors.push(...await this.validateEmbeddingConfig(config.embedding));
5248
- } else if (config.llm.provider === "anthropic") {
5332
+ if (((_a2 = config.llm) == null ? void 0 : _a2.provider) === "anthropic" && !config.embedding) {
5249
5333
  errors.push({
5250
5334
  field: "embedding",
5251
5335
  message: "Embedding config is required when using Anthropic LLM",
@@ -5253,113 +5337,35 @@ var ConfigValidator = class {
5253
5337
  severity: "error"
5254
5338
  });
5255
5339
  }
5256
- if (config.ui) {
5257
- errors.push(...this.validateUIConfig(config.ui));
5258
- }
5259
- if (config.rag) {
5260
- errors.push(...this.validateRAGConfig(config.rag));
5261
- }
5262
- return errors;
5263
- }
5264
- static async validateVectorDbConfig(config) {
5265
- const errors = [];
5266
- if (!config.provider) {
5267
- errors.push({ field: "vectorDb.provider", message: "Vector database provider is required", severity: "error" });
5268
- return errors;
5269
- }
5270
- if (!config.indexName) {
5271
- errors.push({ field: "vectorDb.indexName", message: "Vector database index name is required", severity: "error" });
5272
- }
5273
- const validator = await ProviderRegistry.getVectorValidator(config.provider);
5274
- if (validator) {
5275
- errors.push(...validator.validate(config));
5276
- } else {
5277
- this.fallbackVectorValidation(config, errors);
5278
- }
5279
- return errors;
5280
- }
5281
- static async validateLLMConfig(config) {
5282
- const errors = [];
5283
- if (!config.provider) {
5284
- errors.push({ field: "llm.provider", message: "LLM provider is required", severity: "error" });
5285
- return errors;
5286
- }
5287
- const validator = LLMFactory.getValidator(config.provider);
5288
- if (validator) {
5289
- errors.push(...validator.validate(config));
5290
- } else {
5291
- this.fallbackLLMValidation(config, errors);
5292
- }
5293
- if (config.temperature !== void 0 && (config.temperature < 0 || config.temperature > 2)) {
5294
- errors.push({ field: "llm.temperature", message: "Temperature must be between 0 and 2", severity: "error" });
5295
- }
5296
- return errors;
5297
- }
5298
- static async validateEmbeddingConfig(config) {
5299
- const errors = [];
5300
- if (!config.provider) {
5301
- errors.push({ field: "embedding.provider", message: "Embedding provider is required", severity: "error" });
5302
- return errors;
5303
- }
5304
- const validator = LLMFactory.getValidator(config.provider);
5305
- if (validator) {
5306
- errors.push(...validator.validate(config));
5307
- } else {
5308
- this.fallbackEmbeddingValidation(config, errors);
5309
- }
5310
- return errors;
5311
- }
5312
- /**
5313
- * Temporary fallbacks for providers not yet migrated to the pluggable architecture.
5314
- */
5315
- static fallbackVectorValidation(config, errors) {
5316
- const opts = config.options || {};
5317
- switch (config.provider) {
5318
- case "milvus":
5319
- if (!opts.baseUrl && !opts.uri && !(opts.host && opts.port)) {
5320
- errors.push({ field: "vectorDb.options.baseUrl", message: "Milvus connection info required", severity: "error" });
5321
- }
5322
- break;
5323
- case "qdrant":
5324
- if (!opts.baseUrl && !opts.url) {
5325
- errors.push({ field: "vectorDb.options.baseUrl", message: "Qdrant URL required", severity: "error" });
5326
- }
5327
- break;
5328
- }
5329
- }
5330
- static fallbackLLMValidation(config, errors) {
5331
- if (!config.model) {
5332
- errors.push({ field: "llm.model", message: "LLM model name is required", severity: "error" });
5333
- }
5334
- }
5335
- static fallbackEmbeddingValidation(config, errors) {
5336
- if (!config.model) {
5337
- errors.push({ field: "embedding.model", message: "Embedding model name is required", severity: "error" });
5340
+ if ((_b = config.ui) == null ? void 0 : _b.primaryColor) {
5341
+ const hexRegex = /^#([0-9a-f]{3}){1,2}$/i;
5342
+ const rgbRegex = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i;
5343
+ const namedColors = ["red", "blue", "green", "black", "white", "transparent"];
5344
+ const color = config.ui.primaryColor;
5345
+ if (!hexRegex.test(color) && !rgbRegex.test(color) && !namedColors.includes(color.toLowerCase())) {
5346
+ errors.push({ field: "ui.primaryColor", message: "Invalid CSS color format", severity: "warning" });
5347
+ }
5338
5348
  }
5339
- }
5340
- static validateUIConfig(config) {
5341
- const errors = [];
5342
- if (config.primaryColor && !this.isValidCSSColor(config.primaryColor)) {
5343
- errors.push({ field: "ui.primaryColor", message: "Invalid CSS color format", severity: "warning" });
5349
+ if ((_c = config.vectorDb) == null ? void 0 : _c.provider) {
5350
+ const vectorValidator = await ProviderRegistry.getVectorValidator(config.vectorDb.provider);
5351
+ if (vectorValidator) {
5352
+ errors.push(...vectorValidator.validate(config.vectorDb));
5353
+ }
5344
5354
  }
5345
- if (config.borderRadius && !UI_BORDER_RADIUS_OPTIONS.includes(config.borderRadius)) {
5346
- errors.push({ field: "ui.borderRadius", message: `borderRadius must be one of: ${UI_BORDER_RADIUS_OPTIONS.join(", ")}`, severity: "warning" });
5355
+ if ((_d = config.llm) == null ? void 0 : _d.provider) {
5356
+ const llmValidator = LLMFactory.getValidator(config.llm.provider);
5357
+ if (llmValidator) {
5358
+ errors.push(...llmValidator.validate(config.llm));
5359
+ }
5347
5360
  }
5348
- return errors;
5349
- }
5350
- static validateRAGConfig(config) {
5351
- const errors = [];
5352
- if (config.topK !== void 0 && (typeof config.topK !== "number" || config.topK <= 0)) {
5353
- errors.push({ field: "rag.topK", message: "topK must be a positive integer", severity: "error" });
5361
+ if ((_e = config.embedding) == null ? void 0 : _e.provider) {
5362
+ const embeddingValidator = LLMFactory.getValidator(config.embedding.provider);
5363
+ if (embeddingValidator) {
5364
+ errors.push(...embeddingValidator.validate(config.embedding));
5365
+ }
5354
5366
  }
5355
5367
  return errors;
5356
5368
  }
5357
- static isValidCSSColor(color) {
5358
- const hexRegex = /^#([0-9a-f]{3}){1,2}$/i;
5359
- const rgbRegex = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i;
5360
- const namedColors = ["red", "blue", "green", "black", "white", "transparent"];
5361
- return hexRegex.test(color) || rgbRegex.test(color) || namedColors.includes(color.toLowerCase());
5362
- }
5363
5369
  static async validateAndThrow(config) {
5364
5370
  const errors = await this.validate(config);
5365
5371
  const errorItems = errors.filter((e) => e.severity === "error");
@@ -6005,6 +6011,38 @@ var MCPRegistry = class {
6005
6011
  }
6006
6012
  };
6007
6013
 
6014
+ // src/utils/logger.ts
6015
+ var Logger = class {
6016
+ static format(level, message, meta) {
6017
+ if (this.isProduction) {
6018
+ return JSON.stringify(__spreadValues({
6019
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
6020
+ level,
6021
+ message
6022
+ }, meta));
6023
+ }
6024
+ const metaString = meta ? `
6025
+ ${JSON.stringify(meta, null, 2)}` : "";
6026
+ return `[${(/* @__PURE__ */ new Date()).toISOString()}] [${level}] ${message}${metaString}`;
6027
+ }
6028
+ static info(message, meta) {
6029
+ console.log(this.format("INFO", message, meta));
6030
+ }
6031
+ static warn(message, meta) {
6032
+ console.warn(this.format("WARN", message, meta));
6033
+ }
6034
+ static error(message, error, meta) {
6035
+ const errorMeta = error instanceof Error ? { errorMessage: error.message, stack: error.stack } : { error: String(error) };
6036
+ console.error(this.format("ERROR", message, __spreadValues(__spreadValues({}, meta), errorMeta)));
6037
+ }
6038
+ static debug(message, meta) {
6039
+ if (process.env.DEBUG === "true") {
6040
+ console.debug(this.format("DEBUG", message, meta));
6041
+ }
6042
+ }
6043
+ };
6044
+ Logger.isProduction = process.env.NODE_ENV === "production" || process.env.VERCEL_ENV === "production";
6045
+
6008
6046
  // src/core/MultiAgentCoordinator.ts
6009
6047
  function parseToolCall(text) {
6010
6048
  const match = text.match(/TOOL_CALL:\s*([\w-]+)\s*\(\s*([\s\S]*?)\s*\)\s*[.,;]?\s*$/m);
@@ -6022,7 +6060,7 @@ function parseToolCall(text) {
6022
6060
  } catch (e) {
6023
6061
  const pairs = [...argsRaw.matchAll(/"?([\w-]+)"?\s*:\s*"([^"]*)"/g)];
6024
6062
  if (pairs.length === 0) {
6025
- console.warn("[parseToolCall] Could not parse tool args:", argsRaw);
6063
+ Logger.warn("[parseToolCall] Could not parse tool args", { argsRaw });
6026
6064
  return null;
6027
6065
  }
6028
6066
  for (const [, k, v] of pairs) args[k] = v;
@@ -6425,7 +6463,7 @@ ${errorMessages}`
6425
6463
  static async mapWithRetry(items, mapper, options) {
6426
6464
  const result = await this.processSequential(items, mapper, options);
6427
6465
  if (result.errors.length > 0) {
6428
- console.warn(
6466
+ Logger.warn(
6429
6467
  `[BatchProcessor] mapWithRetry: ${result.errors.length} items failed`
6430
6468
  );
6431
6469
  }
@@ -9177,7 +9215,7 @@ var Pipeline = class {
9177
9215
  }
9178
9216
  await this.vectorDB.initialize();
9179
9217
  if (this.isMultiAgentMode) {
9180
- console.log("[Pipeline] Initializing MultiAgentCoordinator (multi-agent / MCP mode).");
9218
+ Logger.info("[Pipeline] Initializing MultiAgentCoordinator (multi-agent / MCP mode).");
9181
9219
  this.mcpRegistry = new MCPRegistry(this.config.mcpServers || []);
9182
9220
  this.multiAgentCoordinator = new MultiAgentCoordinator({
9183
9221
  llmProvider: this.llmProvider,
@@ -9187,7 +9225,7 @@ var Pipeline = class {
9187
9225
  maxIterations: (_a2 = this.config.rag) == null ? void 0 : _a2.agentMaxIterations
9188
9226
  });
9189
9227
  } else if (this.isLangChainAgentMode) {
9190
- console.log("[Pipeline] Initializing LangChainAgent (agentic / ReAct mode).");
9228
+ Logger.info("[Pipeline] Initializing LangChainAgent (agentic / ReAct mode).");
9191
9229
  this.agent = new LangChainAgent(this, this.config);
9192
9230
  await this.agent.initialize(this.llmProvider);
9193
9231
  }
@@ -9210,13 +9248,13 @@ var Pipeline = class {
9210
9248
  const formatted = coldMatches.map((m, i) => `[Cold Source ${i + 1}]
9211
9249
  ${m.content}`).join("\n\n---\n\n");
9212
9250
  this.coldContexts.set(ns, formatted);
9213
- console.log(`[Pipeline] Cold RAG (CAG) loaded ${coldMatches.length} documents into cached context for namespace: ${ns}`);
9251
+ Logger.info(`[Pipeline] Cold RAG (CAG) loaded ${coldMatches.length} documents into cached context for namespace: ${ns}`);
9214
9252
  } else {
9215
9253
  this.coldContexts.set(ns, "No cold context found.");
9216
- console.warn(`[Pipeline] Cold RAG (CAG) initialized but no documents were found in namespace: ${coldNs}`);
9254
+ Logger.warn(`[Pipeline] Cold RAG (CAG) initialized but no documents were found in namespace: ${coldNs}`);
9217
9255
  }
9218
9256
  } catch (err) {
9219
- console.error(`[Pipeline] Failed to load Cold RAG (CAG) context for namespace ${ns}:`, err);
9257
+ Logger.error(`[Pipeline] Failed to load Cold RAG (CAG) context for namespace ${ns}`, err);
9220
9258
  this.coldContexts.set(ns, "Failed to load cold context.");
9221
9259
  }
9222
9260
  }
@@ -9243,7 +9281,7 @@ ${m.content}`).join("\n\n---\n\n");
9243
9281
  await this.processGraphIngestion(doc.docId, chunks);
9244
9282
  }
9245
9283
  } catch (error) {
9246
- console.error(`[Pipeline] Failed to ingest document ${doc.docId}:`, error);
9284
+ Logger.error(`[Pipeline] Failed to ingest document ${doc.docId}`, error);
9247
9285
  results.push({ docId: doc.docId, chunksIngested: 0 });
9248
9286
  }
9249
9287
  }
@@ -9297,10 +9335,7 @@ ${m.content}`).join("\n\n---\n\n");
9297
9335
  upsertBatchOptions
9298
9336
  );
9299
9337
  if (upsertResult.errors.length > 0) {
9300
- console.warn(`[Pipeline] Ingestion: ${upsertResult.errors.length} batches failed. Error details:`);
9301
- upsertResult.errors.forEach((err, idx) => {
9302
- console.warn(` Batch ${idx + 1} Error: ${err.error.message || String(err.error)}`);
9303
- });
9338
+ Logger.warn(`[Pipeline] Ingestion: ${upsertResult.errors.length} batches failed.`, { errors: upsertResult.errors.map((e) => e.error.message || String(e.error)) });
9304
9339
  }
9305
9340
  return upsertResult.totalProcessed;
9306
9341
  }
@@ -9320,7 +9355,7 @@ ${m.content}`).join("\n\n---\n\n");
9320
9355
  if (nodes.length > 0) await this.graphDB.addNodes(nodes);
9321
9356
  if (edges.length > 0) await this.graphDB.addEdges(edges);
9322
9357
  } catch (err) {
9323
- console.warn(`[Pipeline] Entity extraction failed for chunk in doc ${docId}:`, err);
9358
+ Logger.warn(`[Pipeline] Entity extraction failed for chunk in doc ${docId}`, { error: String(err) });
9324
9359
  }
9325
9360
  }
9326
9361
  },
@@ -9472,8 +9507,8 @@ ${m.content}`).join("\n\n---\n\n");
9472
9507
  const embedStart = performance.now();
9473
9508
  const cacheKey = `${ns}::${searchQuery}`;
9474
9509
  const cachedVector = this.embeddingCache.get(cacheKey);
9475
- const arch = (_h = this.config.rag) == null ? void 0 : _h.architecture;
9476
- const useGraph = arch !== "naive" && arch !== "retrieve-and-rerank" && this.graphDB && ((_i = this.config.rag) == null ? void 0 : _i.useGraphRetrieval);
9510
+ const arch2 = (_h = this.config.rag) == null ? void 0 : _h.architecture;
9511
+ const useGraph = arch2 !== "naive" && arch2 !== "retrieve-and-rerank" && this.graphDB && ((_i = this.config.rag) == null ? void 0 : _i.useGraphRetrieval);
9477
9512
  const [strategyResult, embeddedVector] = yield new __await(Promise.all([
9478
9513
  QueryProcessor.determineRetrievalStrategy(
9479
9514
  searchQuery,
@@ -9506,7 +9541,7 @@ ${m.content}`).join("\n\n---\n\n");
9506
9541
  return ((_a3 = m == null ? void 0 : m.score) != null ? _a3 : 0) >= scoreThreshold;
9507
9542
  });
9508
9543
  const rerankLimit = Math.max(retrievalLimit, fullSources.length);
9509
- const useReranking = arch !== "naive" && (arch === "retrieve-and-rerank" || ((_m = this.config.rag) == null ? void 0 : _m.useReranking));
9544
+ const useReranking = arch2 !== "naive" && (arch2 === "retrieve-and-rerank" || ((_m = this.config.rag) == null ? void 0 : _m.useReranking));
9510
9545
  if (!hasNumericPredicates && useReranking) {
9511
9546
  fullSources = (yield new __await(this.reranker.rerank(fullSources, question, rerankLimit))).filter((s) => Boolean(s && typeof s === "object"));
9512
9547
  }
@@ -9581,7 +9616,7 @@ ${context}`;
9581
9616
  cachedSchema,
9582
9617
  hasNumericPredicates
9583
9618
  ).catch((uiError) => {
9584
- console.warn("[Pipeline] UI transformation failed concurrently:", uiError);
9619
+ Logger.warn("[Pipeline] UI transformation failed concurrently", { error: String(uiError) });
9585
9620
  return UITransformer.transform(question, sources, this.config, cachedSchema);
9586
9621
  });
9587
9622
  let hallucinationScoringPromise = Promise.resolve(void 0);
@@ -9783,7 +9818,9 @@ ${context}`;
9783
9818
  const tokenCount = Number(((_c2 = finalTrace == null ? void 0 : finalTrace.tokens) == null ? void 0 : _c2.totalTokens) || 0);
9784
9819
  const costEst = Number(((_d2 = finalTrace == null ? void 0 : finalTrace.tokens) == null ? void 0 : _d2.estimatedCostUsd) || 0);
9785
9820
  const latencyDuration = Number(((_e2 = finalTrace == null ? void 0 : finalTrace.latency) == null ? void 0 : _e2.totalMs) || 0);
9786
- console.log(`[Retrivora Pipeline Telemetry] \u{1F4CA} Dispatching RAG telemetry -> Project: "${ns}", Tokens: ${tokenCount}, Latency: ${latencyDuration}ms`);
9821
+ if (typeof window === "undefined") {
9822
+ Logger.info(`[Retrivora Pipeline Telemetry] \u{1F4CA} Dispatching RAG telemetry -> Project: "${ns}", Tokens: ${tokenCount}, Latency: ${latencyDuration}ms`);
9823
+ }
9787
9824
  await fetch(absoluteUrl, {
9788
9825
  method: "POST",
9789
9826
  headers: {
@@ -9807,9 +9844,11 @@ ${context}`;
9807
9844
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
9808
9845
  details: `Org: default-org | Model: ${providerName}/${modelName} | Tokens: ${tokenCount} | Latency: ${latencyDuration}ms | Cost: $${costEst} | SDK: v${SDK_VERSION} | Feature: RAG`
9809
9846
  })
9847
+ }).catch((err) => {
9848
+ Logger.warn(`[Pipeline Telemetry] Failed to send trace async to ${absoluteUrl}`, { error: err.message });
9810
9849
  });
9811
9850
  } catch (err) {
9812
- console.warn(`[Pipeline Telemetry] Failed to send trace async to ${absoluteUrl}:`, err.message);
9851
+ Logger.warn(`[Pipeline Telemetry] Failed to send trace async to ${absoluteUrl}:`, { error: err.message });
9813
9852
  }
9814
9853
  })();
9815
9854
  }
@@ -9852,7 +9891,7 @@ ${context}`;
9852
9891
  try {
9853
9892
  return await UITransformer.analyzeAndDecide(question, sources, this.llmRouter.get("fast"));
9854
9893
  } catch (err) {
9855
- console.warn("[Pipeline] generateUiTransformation failed, using heuristic fallback:", err);
9894
+ Logger.warn("[Pipeline] generateUiTransformation failed, using heuristic fallback", { error: String(err) });
9856
9895
  return UITransformer.transform(question, sources, this.config, cachedSchema);
9857
9896
  }
9858
9897
  }
@@ -9950,7 +9989,7 @@ ${context}`;
9950
9989
  query,
9951
9990
  useGraph ? this.llmRouter.get("fast") : void 0
9952
9991
  );
9953
- console.debug(`[Pipeline] Determined retrieval strategy: ${strategy}`);
9992
+ Logger.debug(`[Pipeline] Determined retrieval strategy: ${strategy}`);
9954
9993
  const [retrievedVector, graphData] = await Promise.all([
9955
9994
  // Only embed if we need vector search (strategy is 'vector' or 'both')
9956
9995
  strategy === "vector" || strategy === "both" ? queryVector ? Promise.resolve(queryVector) : this.embeddingProvider.embed(query, { taskType: "query" }) : Promise.resolve([]),
@@ -9972,8 +10011,7 @@ ${context}`;
9972
10011
  baseFilter
9973
10012
  ) : [];
9974
10013
  const resolvedSources = sources;
9975
- console.log("[Pipeline] retrieve() response:", {
9976
- query,
10014
+ Logger.info("[Pipeline] retrieve() response", {
9977
10015
  namespace: ns,
9978
10016
  count: resolvedSources.length,
9979
10017
  sample: resolvedSources.slice(0, 2).map((s) => {
@@ -10053,7 +10091,7 @@ Suggestions:`;
10053
10091
  }
10054
10092
  }
10055
10093
  } catch (error) {
10056
- console.error("[Pipeline] Failed to generate suggestions:", error);
10094
+ Logger.error("[Pipeline] Failed to generate suggestions", error);
10057
10095
  }
10058
10096
  return [];
10059
10097
  }
@@ -10725,7 +10763,7 @@ var import_server = require("next/server");
10725
10763
  // src/core/DatabaseStorage.ts
10726
10764
  var fs = __toESM(require("fs"));
10727
10765
  var path = __toESM(require("path"));
10728
- var os = __toESM(require("os"));
10766
+ var os2 = __toESM(require("os"));
10729
10767
  function validateTableName(name) {
10730
10768
  if (!/^[a-zA-Z_][a-zA-Z0-9_]{0,62}$/.test(name)) {
10731
10769
  throw new Error(
@@ -10745,7 +10783,7 @@ var _DatabaseStorage = class _DatabaseStorage {
10745
10783
  this.mongoDbName = "";
10746
10784
  // Filesystem fallback configuration
10747
10785
  this.isServerless = Boolean(process.env.VERCEL || process.env.AWS_LAMBDA_FUNCTION_NAME || process.env.LAMBDA_TASK_ROOT);
10748
- this.fallbackDir = this.isServerless ? path.join(os.tmpdir(), ".retrivora") : path.join(process.cwd(), ".retrivora");
10786
+ this.fallbackDir = this.isServerless ? path.join(os2.tmpdir(), ".retrivora") : path.join(process.cwd(), ".retrivora");
10749
10787
  this.historyFile = path.join(this.fallbackDir, "history.json");
10750
10788
  this.feedbackFile = path.join(this.fallbackDir, "feedback.json");
10751
10789
  /** Subscription check result cache (Fix PERF-1). */
@@ -10909,7 +10947,7 @@ var _DatabaseStorage = class _DatabaseStorage {
10909
10947
  } catch (err) {
10910
10948
  if (err.code === "EROFS") {
10911
10949
  try {
10912
- const tmpDir = path.join(os.tmpdir(), ".retrivora");
10950
+ const tmpDir = path.join(os2.tmpdir(), ".retrivora");
10913
10951
  if (!fs.existsSync(tmpDir)) {
10914
10952
  fs.mkdirSync(tmpDir, { recursive: true });
10915
10953
  }
@@ -11422,8 +11460,8 @@ function sanitizeTelemetryUrl(raw) {
11422
11460
  if (process.env.NODE_ENV !== "production") return raw;
11423
11461
  try {
11424
11462
  const parsed = new URL(raw);
11425
- const hostname = parsed.hostname.toLowerCase().replace(/^www\./, "");
11426
- if (!TELEMETRY_ALLOWED_HOSTS.has(`www.${hostname}`) && !TELEMETRY_ALLOWED_HOSTS.has(hostname)) {
11463
+ const hostname2 = parsed.hostname.toLowerCase().replace(/^www\./, "");
11464
+ if (!TELEMETRY_ALLOWED_HOSTS.has(`www.${hostname2}`) && !TELEMETRY_ALLOWED_HOSTS.has(hostname2)) {
11427
11465
  console.warn(
11428
11466
  `[Retrivora SDK Telemetry] Blocked non-allowlisted telemetry URL: ${parsed.hostname}. Only retrivora.com endpoints are permitted in production.`
11429
11467
  );
@@ -12349,7 +12387,7 @@ var _LicenseValidator = class _LicenseValidator {
12349
12387
  projectId,
12350
12388
  sdkVersion = SDK_VERSION,
12351
12389
  sdk = "@retrivora-ai/rag-engine",
12352
- platform = typeof window !== "undefined" ? "browser" : "node",
12390
+ platform: platform2 = typeof window !== "undefined" ? "browser" : "node",
12353
12391
  retrivoraApiBase,
12354
12392
  headers: customHeaders
12355
12393
  } = request;
@@ -12404,7 +12442,7 @@ var _LicenseValidator = class _LicenseValidator {
12404
12442
  projectId: effectiveProjectId,
12405
12443
  sdkVersion,
12406
12444
  sdk,
12407
- platform
12445
+ platform: platform2
12408
12446
  })
12409
12447
  });
12410
12448
  } catch (err) {