@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
@@ -318,7 +318,7 @@ var init_package = __esm({
318
318
  "package.json"() {
319
319
  package_default = {
320
320
  name: "@retrivora-ai/rag-engine",
321
- version: "2.5.2",
321
+ version: "2.5.3",
322
322
  description: "Retrivora AI is a plug-and-play AI engine for RAG chat experiences \u2014 generic vector DB + LLM provider, embeddable or standalone.",
323
323
  author: "Abhinav Alkuchi",
324
324
  license: "UNLICENSED",
@@ -420,18 +420,24 @@ var init_package = __esm({
420
420
  "@anthropic-ai/sdk": "^0.95.1",
421
421
  "@google/genai": "^0.8.0",
422
422
  "@google/generative-ai": "^0.24.1",
423
- "@retrivora-ai/billing-guards": "*",
424
423
  "@pinecone-database/pinecone": "^7.2.0",
424
+ "@retrivora-ai/billing-guards": "*",
425
425
  "@types/papaparse": "^5.5.2",
426
+ "framer-motion": "^13.1.0",
427
+ katex: "^0.18.4",
426
428
  "lucide-react": "^1.8.0",
427
429
  "next-themes": "^0.4.6",
428
430
  openai: "^6.34.0",
429
431
  papaparse: "^5.5.3",
430
432
  "react-is": "^18.3.1",
431
433
  "react-markdown": "^10.1.0",
434
+ "react-syntax-highlighter": "^16.1.1",
432
435
  recharts: "^3.8.1",
436
+ "rehype-katex": "^7.0.1",
433
437
  "remark-gfm": "^4.0.1",
434
- xlsx: "^0.18.5"
438
+ "remark-math": "^6.0.0",
439
+ xlsx: "^0.18.5",
440
+ zod: "^4.4.3"
435
441
  },
436
442
  optionalDependencies: {
437
443
  "@langchain/core": "^1.1.42",
@@ -448,11 +454,13 @@ var init_package = __esm({
448
454
  "@tailwindcss/postcss": "^4",
449
455
  "@types/estree": "^1.0.9",
450
456
  "@types/jest": "^30.0.0",
457
+ "@types/katex": "^0.16.8",
451
458
  "@types/node": "^20",
452
459
  "@types/pdf-parse": "^1.1.5",
453
460
  "@types/pg": "^8.20.0",
454
461
  "@types/react": "^19.2.14",
455
462
  "@types/react-dom": "^19.2.3",
463
+ "@types/react-syntax-highlighter": "^15.5.13",
456
464
  axios: "^1.15.0",
457
465
  dotenv: "^17.4.2",
458
466
  eslint: "^9",
@@ -2767,8 +2775,35 @@ function wrapError(err, defaultCode, defaultMessage) {
2767
2775
  }
2768
2776
 
2769
2777
  // src/core/LicenseVerifier.ts
2778
+ var os = __toESM(require("os"));
2779
+ var crypto = __toESM(require("crypto"));
2770
2780
  var _LicenseVerifier = class _LicenseVerifier {
2771
2781
  // Cache verified license for 5 minutes
2782
+ /**
2783
+ * Computes a deterministic hardware fingerprint to enforce node-locked licensing.
2784
+ */
2785
+ static generateMachineFingerprint() {
2786
+ try {
2787
+ const interfaces = os.networkInterfaces();
2788
+ const macAddresses = [];
2789
+ for (const name of Object.keys(interfaces)) {
2790
+ for (const iface of interfaces[name] || []) {
2791
+ if (!iface.internal && iface.mac && iface.mac !== "00:00:00:00:00:00") {
2792
+ macAddresses.push(iface.mac);
2793
+ }
2794
+ }
2795
+ }
2796
+ const rawData = [
2797
+ macAddresses.sort().join(","),
2798
+ os.platform(),
2799
+ os.arch(),
2800
+ os.hostname()
2801
+ ].join("|");
2802
+ return crypto.createHash("sha256").update(rawData).digest("hex");
2803
+ } catch (err) {
2804
+ return crypto.createHash("sha256").update(os.platform() + os.arch()).digest("hex");
2805
+ }
2806
+ }
2772
2807
  /**
2773
2808
  * Validates the license key asynchronously by calling the Retrivora backend.
2774
2809
  *
@@ -2812,6 +2847,7 @@ var _LicenseVerifier = class _LicenseVerifier {
2812
2847
  }
2813
2848
  const endpoint = `${baseUrl}/api/v1/license/validate`;
2814
2849
  let response;
2850
+ const machineFingerprint = this.generateMachineFingerprint();
2815
2851
  try {
2816
2852
  response = await fetch(endpoint, {
2817
2853
  method: "POST",
@@ -2822,7 +2858,8 @@ var _LicenseVerifier = class _LicenseVerifier {
2822
2858
  body: JSON.stringify({
2823
2859
  licenseKey,
2824
2860
  projectId: currentProjectId,
2825
- provider
2861
+ provider,
2862
+ machineFingerprint
2826
2863
  })
2827
2864
  });
2828
2865
  } catch (fetchErr) {
@@ -3030,7 +3067,6 @@ var PROVIDERS_WITH_EMBEDDINGS = [
3030
3067
  "rest",
3031
3068
  "universal_rest"
3032
3069
  ];
3033
- var UI_BORDER_RADIUS_OPTIONS = ["none", "sm", "md", "lg", "xl", "full"];
3034
3070
 
3035
3071
  // src/config/serverConfig.ts
3036
3072
  var _runtimeConfig = null;
@@ -3363,6 +3399,9 @@ var ConfigResolver = class {
3363
3399
  }
3364
3400
  };
3365
3401
 
3402
+ // src/core/ConfigValidator.ts
3403
+ var import_zod = require("zod");
3404
+
3366
3405
  // src/llm/providers/OpenAIProvider.ts
3367
3406
  var import_openai = __toESM(require("openai"));
3368
3407
 
@@ -5081,24 +5120,69 @@ ProviderRegistry.llmValidators = {};
5081
5120
  ProviderRegistry.llmHealthCheckers = {};
5082
5121
 
5083
5122
  // src/core/ConfigValidator.ts
5123
+ var UIConfigSchema = import_zod.z.object({
5124
+ primaryColor: import_zod.z.string().optional(),
5125
+ borderRadius: import_zod.z.enum(["none", "sm", "md", "lg", "xl", "full"]).optional()
5126
+ }).passthrough().optional();
5127
+ var VectorDbSchema = import_zod.z.object({
5128
+ provider: import_zod.z.string().min(1, "Vector database provider is required"),
5129
+ indexName: import_zod.z.string().min(1, "Vector database index name is required"),
5130
+ options: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional()
5131
+ }).passthrough().superRefine((val, ctx) => {
5132
+ const opts = val.options || {};
5133
+ if (val.provider === "milvus") {
5134
+ if (!opts.baseUrl && !opts.uri && !(opts.host && opts.port)) {
5135
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["options", "baseUrl"], message: "Milvus connection info required" });
5136
+ }
5137
+ } else if (val.provider === "qdrant") {
5138
+ if (!opts.baseUrl && !opts.url) {
5139
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["options", "baseUrl"], message: "Qdrant URL required" });
5140
+ }
5141
+ }
5142
+ });
5143
+ var LLMSchema = import_zod.z.object({
5144
+ provider: import_zod.z.string().min(1, "LLM provider is required"),
5145
+ model: import_zod.z.string().optional(),
5146
+ temperature: import_zod.z.number().min(0, "Temperature must be at least 0").max(2, "Temperature must be at most 2").optional()
5147
+ }).passthrough().superRefine((val, ctx) => {
5148
+ if (!val.model) {
5149
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["model"], message: "LLM model name is required" });
5150
+ }
5151
+ });
5152
+ var EmbeddingSchema = import_zod.z.object({
5153
+ provider: import_zod.z.string().min(1, "Embedding provider is required"),
5154
+ model: import_zod.z.string().optional()
5155
+ }).passthrough().superRefine((val, ctx) => {
5156
+ if (!val.model) {
5157
+ ctx.addIssue({ code: import_zod.z.ZodIssueCode.custom, path: ["model"], message: "Embedding model name is required" });
5158
+ }
5159
+ });
5160
+ var RAGSchema = import_zod.z.object({
5161
+ topK: import_zod.z.number().positive("topK must be a positive integer").optional()
5162
+ }).passthrough().optional();
5163
+ var RagConfigSchema = import_zod.z.object({
5164
+ projectId: import_zod.z.string().min(1, "projectId is required"),
5165
+ vectorDb: VectorDbSchema,
5166
+ llm: LLMSchema,
5167
+ embedding: EmbeddingSchema.optional(),
5168
+ ui: UIConfigSchema,
5169
+ rag: RAGSchema
5170
+ }).passthrough();
5084
5171
  var ConfigValidator = class {
5085
- /**
5086
- * Validates the entire RagConfig object.
5087
- */
5088
5172
  static async validate(config) {
5173
+ var _a2, _b, _c, _d, _e;
5089
5174
  const errors = [];
5090
- if (!config.projectId) {
5091
- errors.push({
5092
- field: "projectId",
5093
- message: "projectId is required",
5094
- severity: "error"
5095
- });
5175
+ const result = RagConfigSchema.safeParse(config);
5176
+ if (!result.success) {
5177
+ for (const issue of result.error.issues) {
5178
+ errors.push({
5179
+ field: issue.path.join("."),
5180
+ message: issue.message,
5181
+ severity: "error"
5182
+ });
5183
+ }
5096
5184
  }
5097
- errors.push(...await this.validateVectorDbConfig(config.vectorDb));
5098
- errors.push(...await this.validateLLMConfig(config.llm));
5099
- if (config.embedding) {
5100
- errors.push(...await this.validateEmbeddingConfig(config.embedding));
5101
- } else if (config.llm.provider === "anthropic") {
5185
+ if (((_a2 = config.llm) == null ? void 0 : _a2.provider) === "anthropic" && !config.embedding) {
5102
5186
  errors.push({
5103
5187
  field: "embedding",
5104
5188
  message: "Embedding config is required when using Anthropic LLM",
@@ -5106,113 +5190,35 @@ var ConfigValidator = class {
5106
5190
  severity: "error"
5107
5191
  });
5108
5192
  }
5109
- if (config.ui) {
5110
- errors.push(...this.validateUIConfig(config.ui));
5111
- }
5112
- if (config.rag) {
5113
- errors.push(...this.validateRAGConfig(config.rag));
5114
- }
5115
- return errors;
5116
- }
5117
- static async validateVectorDbConfig(config) {
5118
- const errors = [];
5119
- if (!config.provider) {
5120
- errors.push({ field: "vectorDb.provider", message: "Vector database provider is required", severity: "error" });
5121
- return errors;
5122
- }
5123
- if (!config.indexName) {
5124
- errors.push({ field: "vectorDb.indexName", message: "Vector database index name is required", severity: "error" });
5125
- }
5126
- const validator = await ProviderRegistry.getVectorValidator(config.provider);
5127
- if (validator) {
5128
- errors.push(...validator.validate(config));
5129
- } else {
5130
- this.fallbackVectorValidation(config, errors);
5131
- }
5132
- return errors;
5133
- }
5134
- static async validateLLMConfig(config) {
5135
- const errors = [];
5136
- if (!config.provider) {
5137
- errors.push({ field: "llm.provider", message: "LLM provider is required", severity: "error" });
5138
- return errors;
5139
- }
5140
- const validator = LLMFactory.getValidator(config.provider);
5141
- if (validator) {
5142
- errors.push(...validator.validate(config));
5143
- } else {
5144
- this.fallbackLLMValidation(config, errors);
5145
- }
5146
- if (config.temperature !== void 0 && (config.temperature < 0 || config.temperature > 2)) {
5147
- errors.push({ field: "llm.temperature", message: "Temperature must be between 0 and 2", severity: "error" });
5148
- }
5149
- return errors;
5150
- }
5151
- static async validateEmbeddingConfig(config) {
5152
- const errors = [];
5153
- if (!config.provider) {
5154
- errors.push({ field: "embedding.provider", message: "Embedding provider is required", severity: "error" });
5155
- return errors;
5156
- }
5157
- const validator = LLMFactory.getValidator(config.provider);
5158
- if (validator) {
5159
- errors.push(...validator.validate(config));
5160
- } else {
5161
- this.fallbackEmbeddingValidation(config, errors);
5162
- }
5163
- return errors;
5164
- }
5165
- /**
5166
- * Temporary fallbacks for providers not yet migrated to the pluggable architecture.
5167
- */
5168
- static fallbackVectorValidation(config, errors) {
5169
- const opts = config.options || {};
5170
- switch (config.provider) {
5171
- case "milvus":
5172
- if (!opts.baseUrl && !opts.uri && !(opts.host && opts.port)) {
5173
- errors.push({ field: "vectorDb.options.baseUrl", message: "Milvus connection info required", severity: "error" });
5174
- }
5175
- break;
5176
- case "qdrant":
5177
- if (!opts.baseUrl && !opts.url) {
5178
- errors.push({ field: "vectorDb.options.baseUrl", message: "Qdrant URL required", severity: "error" });
5179
- }
5180
- break;
5181
- }
5182
- }
5183
- static fallbackLLMValidation(config, errors) {
5184
- if (!config.model) {
5185
- errors.push({ field: "llm.model", message: "LLM model name is required", severity: "error" });
5186
- }
5187
- }
5188
- static fallbackEmbeddingValidation(config, errors) {
5189
- if (!config.model) {
5190
- errors.push({ field: "embedding.model", message: "Embedding model name is required", severity: "error" });
5193
+ if ((_b = config.ui) == null ? void 0 : _b.primaryColor) {
5194
+ const hexRegex = /^#([0-9a-f]{3}){1,2}$/i;
5195
+ const rgbRegex = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i;
5196
+ const namedColors = ["red", "blue", "green", "black", "white", "transparent"];
5197
+ const color = config.ui.primaryColor;
5198
+ if (!hexRegex.test(color) && !rgbRegex.test(color) && !namedColors.includes(color.toLowerCase())) {
5199
+ errors.push({ field: "ui.primaryColor", message: "Invalid CSS color format", severity: "warning" });
5200
+ }
5191
5201
  }
5192
- }
5193
- static validateUIConfig(config) {
5194
- const errors = [];
5195
- if (config.primaryColor && !this.isValidCSSColor(config.primaryColor)) {
5196
- errors.push({ field: "ui.primaryColor", message: "Invalid CSS color format", severity: "warning" });
5202
+ if ((_c = config.vectorDb) == null ? void 0 : _c.provider) {
5203
+ const vectorValidator = await ProviderRegistry.getVectorValidator(config.vectorDb.provider);
5204
+ if (vectorValidator) {
5205
+ errors.push(...vectorValidator.validate(config.vectorDb));
5206
+ }
5197
5207
  }
5198
- if (config.borderRadius && !UI_BORDER_RADIUS_OPTIONS.includes(config.borderRadius)) {
5199
- errors.push({ field: "ui.borderRadius", message: `borderRadius must be one of: ${UI_BORDER_RADIUS_OPTIONS.join(", ")}`, severity: "warning" });
5208
+ if ((_d = config.llm) == null ? void 0 : _d.provider) {
5209
+ const llmValidator = LLMFactory.getValidator(config.llm.provider);
5210
+ if (llmValidator) {
5211
+ errors.push(...llmValidator.validate(config.llm));
5212
+ }
5200
5213
  }
5201
- return errors;
5202
- }
5203
- static validateRAGConfig(config) {
5204
- const errors = [];
5205
- if (config.topK !== void 0 && (typeof config.topK !== "number" || config.topK <= 0)) {
5206
- errors.push({ field: "rag.topK", message: "topK must be a positive integer", severity: "error" });
5214
+ if ((_e = config.embedding) == null ? void 0 : _e.provider) {
5215
+ const embeddingValidator = LLMFactory.getValidator(config.embedding.provider);
5216
+ if (embeddingValidator) {
5217
+ errors.push(...embeddingValidator.validate(config.embedding));
5218
+ }
5207
5219
  }
5208
5220
  return errors;
5209
5221
  }
5210
- static isValidCSSColor(color) {
5211
- const hexRegex = /^#([0-9a-f]{3}){1,2}$/i;
5212
- const rgbRegex = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i;
5213
- const namedColors = ["red", "blue", "green", "black", "white", "transparent"];
5214
- return hexRegex.test(color) || rgbRegex.test(color) || namedColors.includes(color.toLowerCase());
5215
- }
5216
5222
  static async validateAndThrow(config) {
5217
5223
  const errors = await this.validate(config);
5218
5224
  const errorItems = errors.filter((e) => e.severity === "error");
@@ -5858,6 +5864,38 @@ var MCPRegistry = class {
5858
5864
  }
5859
5865
  };
5860
5866
 
5867
+ // src/utils/logger.ts
5868
+ var Logger = class {
5869
+ static format(level, message, meta) {
5870
+ if (this.isProduction) {
5871
+ return JSON.stringify(__spreadValues({
5872
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
5873
+ level,
5874
+ message
5875
+ }, meta));
5876
+ }
5877
+ const metaString = meta ? `
5878
+ ${JSON.stringify(meta, null, 2)}` : "";
5879
+ return `[${(/* @__PURE__ */ new Date()).toISOString()}] [${level}] ${message}${metaString}`;
5880
+ }
5881
+ static info(message, meta) {
5882
+ console.log(this.format("INFO", message, meta));
5883
+ }
5884
+ static warn(message, meta) {
5885
+ console.warn(this.format("WARN", message, meta));
5886
+ }
5887
+ static error(message, error, meta) {
5888
+ const errorMeta = error instanceof Error ? { errorMessage: error.message, stack: error.stack } : { error: String(error) };
5889
+ console.error(this.format("ERROR", message, __spreadValues(__spreadValues({}, meta), errorMeta)));
5890
+ }
5891
+ static debug(message, meta) {
5892
+ if (process.env.DEBUG === "true") {
5893
+ console.debug(this.format("DEBUG", message, meta));
5894
+ }
5895
+ }
5896
+ };
5897
+ Logger.isProduction = process.env.NODE_ENV === "production" || process.env.VERCEL_ENV === "production";
5898
+
5861
5899
  // src/core/MultiAgentCoordinator.ts
5862
5900
  function parseToolCall(text) {
5863
5901
  const match = text.match(/TOOL_CALL:\s*([\w-]+)\s*\(\s*([\s\S]*?)\s*\)\s*[.,;]?\s*$/m);
@@ -5875,7 +5913,7 @@ function parseToolCall(text) {
5875
5913
  } catch (e) {
5876
5914
  const pairs = [...argsRaw.matchAll(/"?([\w-]+)"?\s*:\s*"([^"]*)"/g)];
5877
5915
  if (pairs.length === 0) {
5878
- console.warn("[parseToolCall] Could not parse tool args:", argsRaw);
5916
+ Logger.warn("[parseToolCall] Could not parse tool args", { argsRaw });
5879
5917
  return null;
5880
5918
  }
5881
5919
  for (const [, k, v] of pairs) args[k] = v;
@@ -6278,7 +6316,7 @@ ${errorMessages}`
6278
6316
  static async mapWithRetry(items, mapper, options) {
6279
6317
  const result = await this.processSequential(items, mapper, options);
6280
6318
  if (result.errors.length > 0) {
6281
- console.warn(
6319
+ Logger.warn(
6282
6320
  `[BatchProcessor] mapWithRetry: ${result.errors.length} items failed`
6283
6321
  );
6284
6322
  }
@@ -9016,7 +9054,7 @@ var Pipeline = class {
9016
9054
  }
9017
9055
  await this.vectorDB.initialize();
9018
9056
  if (this.isMultiAgentMode) {
9019
- console.log("[Pipeline] Initializing MultiAgentCoordinator (multi-agent / MCP mode).");
9057
+ Logger.info("[Pipeline] Initializing MultiAgentCoordinator (multi-agent / MCP mode).");
9020
9058
  this.mcpRegistry = new MCPRegistry(this.config.mcpServers || []);
9021
9059
  this.multiAgentCoordinator = new MultiAgentCoordinator({
9022
9060
  llmProvider: this.llmProvider,
@@ -9026,7 +9064,7 @@ var Pipeline = class {
9026
9064
  maxIterations: (_a2 = this.config.rag) == null ? void 0 : _a2.agentMaxIterations
9027
9065
  });
9028
9066
  } else if (this.isLangChainAgentMode) {
9029
- console.log("[Pipeline] Initializing LangChainAgent (agentic / ReAct mode).");
9067
+ Logger.info("[Pipeline] Initializing LangChainAgent (agentic / ReAct mode).");
9030
9068
  this.agent = new LangChainAgent(this, this.config);
9031
9069
  await this.agent.initialize(this.llmProvider);
9032
9070
  }
@@ -9049,13 +9087,13 @@ var Pipeline = class {
9049
9087
  const formatted = coldMatches.map((m, i) => `[Cold Source ${i + 1}]
9050
9088
  ${m.content}`).join("\n\n---\n\n");
9051
9089
  this.coldContexts.set(ns, formatted);
9052
- console.log(`[Pipeline] Cold RAG (CAG) loaded ${coldMatches.length} documents into cached context for namespace: ${ns}`);
9090
+ Logger.info(`[Pipeline] Cold RAG (CAG) loaded ${coldMatches.length} documents into cached context for namespace: ${ns}`);
9053
9091
  } else {
9054
9092
  this.coldContexts.set(ns, "No cold context found.");
9055
- console.warn(`[Pipeline] Cold RAG (CAG) initialized but no documents were found in namespace: ${coldNs}`);
9093
+ Logger.warn(`[Pipeline] Cold RAG (CAG) initialized but no documents were found in namespace: ${coldNs}`);
9056
9094
  }
9057
9095
  } catch (err) {
9058
- console.error(`[Pipeline] Failed to load Cold RAG (CAG) context for namespace ${ns}:`, err);
9096
+ Logger.error(`[Pipeline] Failed to load Cold RAG (CAG) context for namespace ${ns}`, err);
9059
9097
  this.coldContexts.set(ns, "Failed to load cold context.");
9060
9098
  }
9061
9099
  }
@@ -9082,7 +9120,7 @@ ${m.content}`).join("\n\n---\n\n");
9082
9120
  await this.processGraphIngestion(doc.docId, chunks);
9083
9121
  }
9084
9122
  } catch (error) {
9085
- console.error(`[Pipeline] Failed to ingest document ${doc.docId}:`, error);
9123
+ Logger.error(`[Pipeline] Failed to ingest document ${doc.docId}`, error);
9086
9124
  results.push({ docId: doc.docId, chunksIngested: 0 });
9087
9125
  }
9088
9126
  }
@@ -9136,10 +9174,7 @@ ${m.content}`).join("\n\n---\n\n");
9136
9174
  upsertBatchOptions
9137
9175
  );
9138
9176
  if (upsertResult.errors.length > 0) {
9139
- console.warn(`[Pipeline] Ingestion: ${upsertResult.errors.length} batches failed. Error details:`);
9140
- upsertResult.errors.forEach((err, idx) => {
9141
- console.warn(` Batch ${idx + 1} Error: ${err.error.message || String(err.error)}`);
9142
- });
9177
+ Logger.warn(`[Pipeline] Ingestion: ${upsertResult.errors.length} batches failed.`, { errors: upsertResult.errors.map((e) => e.error.message || String(e.error)) });
9143
9178
  }
9144
9179
  return upsertResult.totalProcessed;
9145
9180
  }
@@ -9159,7 +9194,7 @@ ${m.content}`).join("\n\n---\n\n");
9159
9194
  if (nodes.length > 0) await this.graphDB.addNodes(nodes);
9160
9195
  if (edges.length > 0) await this.graphDB.addEdges(edges);
9161
9196
  } catch (err) {
9162
- console.warn(`[Pipeline] Entity extraction failed for chunk in doc ${docId}:`, err);
9197
+ Logger.warn(`[Pipeline] Entity extraction failed for chunk in doc ${docId}`, { error: String(err) });
9163
9198
  }
9164
9199
  }
9165
9200
  },
@@ -9311,8 +9346,8 @@ ${m.content}`).join("\n\n---\n\n");
9311
9346
  const embedStart = performance.now();
9312
9347
  const cacheKey = `${ns}::${searchQuery}`;
9313
9348
  const cachedVector = this.embeddingCache.get(cacheKey);
9314
- const arch = (_h = this.config.rag) == null ? void 0 : _h.architecture;
9315
- const useGraph = arch !== "naive" && arch !== "retrieve-and-rerank" && this.graphDB && ((_i = this.config.rag) == null ? void 0 : _i.useGraphRetrieval);
9349
+ const arch2 = (_h = this.config.rag) == null ? void 0 : _h.architecture;
9350
+ const useGraph = arch2 !== "naive" && arch2 !== "retrieve-and-rerank" && this.graphDB && ((_i = this.config.rag) == null ? void 0 : _i.useGraphRetrieval);
9316
9351
  const [strategyResult, embeddedVector] = yield new __await(Promise.all([
9317
9352
  QueryProcessor.determineRetrievalStrategy(
9318
9353
  searchQuery,
@@ -9345,7 +9380,7 @@ ${m.content}`).join("\n\n---\n\n");
9345
9380
  return ((_a3 = m == null ? void 0 : m.score) != null ? _a3 : 0) >= scoreThreshold;
9346
9381
  });
9347
9382
  const rerankLimit = Math.max(retrievalLimit, fullSources.length);
9348
- const useReranking = arch !== "naive" && (arch === "retrieve-and-rerank" || ((_m = this.config.rag) == null ? void 0 : _m.useReranking));
9383
+ const useReranking = arch2 !== "naive" && (arch2 === "retrieve-and-rerank" || ((_m = this.config.rag) == null ? void 0 : _m.useReranking));
9349
9384
  if (!hasNumericPredicates && useReranking) {
9350
9385
  fullSources = (yield new __await(this.reranker.rerank(fullSources, question, rerankLimit))).filter((s) => Boolean(s && typeof s === "object"));
9351
9386
  }
@@ -9420,7 +9455,7 @@ ${context}`;
9420
9455
  cachedSchema,
9421
9456
  hasNumericPredicates
9422
9457
  ).catch((uiError) => {
9423
- console.warn("[Pipeline] UI transformation failed concurrently:", uiError);
9458
+ Logger.warn("[Pipeline] UI transformation failed concurrently", { error: String(uiError) });
9424
9459
  return UITransformer.transform(question, sources, this.config, cachedSchema);
9425
9460
  });
9426
9461
  let hallucinationScoringPromise = Promise.resolve(void 0);
@@ -9622,7 +9657,9 @@ ${context}`;
9622
9657
  const tokenCount = Number(((_c2 = finalTrace == null ? void 0 : finalTrace.tokens) == null ? void 0 : _c2.totalTokens) || 0);
9623
9658
  const costEst = Number(((_d2 = finalTrace == null ? void 0 : finalTrace.tokens) == null ? void 0 : _d2.estimatedCostUsd) || 0);
9624
9659
  const latencyDuration = Number(((_e2 = finalTrace == null ? void 0 : finalTrace.latency) == null ? void 0 : _e2.totalMs) || 0);
9625
- console.log(`[Retrivora Pipeline Telemetry] \u{1F4CA} Dispatching RAG telemetry -> Project: "${ns}", Tokens: ${tokenCount}, Latency: ${latencyDuration}ms`);
9660
+ if (typeof window === "undefined") {
9661
+ Logger.info(`[Retrivora Pipeline Telemetry] \u{1F4CA} Dispatching RAG telemetry -> Project: "${ns}", Tokens: ${tokenCount}, Latency: ${latencyDuration}ms`);
9662
+ }
9626
9663
  await fetch(absoluteUrl, {
9627
9664
  method: "POST",
9628
9665
  headers: {
@@ -9646,9 +9683,11 @@ ${context}`;
9646
9683
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
9647
9684
  details: `Org: default-org | Model: ${providerName}/${modelName} | Tokens: ${tokenCount} | Latency: ${latencyDuration}ms | Cost: $${costEst} | SDK: v${SDK_VERSION} | Feature: RAG`
9648
9685
  })
9686
+ }).catch((err) => {
9687
+ Logger.warn(`[Pipeline Telemetry] Failed to send trace async to ${absoluteUrl}`, { error: err.message });
9649
9688
  });
9650
9689
  } catch (err) {
9651
- console.warn(`[Pipeline Telemetry] Failed to send trace async to ${absoluteUrl}:`, err.message);
9690
+ Logger.warn(`[Pipeline Telemetry] Failed to send trace async to ${absoluteUrl}:`, { error: err.message });
9652
9691
  }
9653
9692
  })();
9654
9693
  }
@@ -9691,7 +9730,7 @@ ${context}`;
9691
9730
  try {
9692
9731
  return await UITransformer.analyzeAndDecide(question, sources, this.llmRouter.get("fast"));
9693
9732
  } catch (err) {
9694
- console.warn("[Pipeline] generateUiTransformation failed, using heuristic fallback:", err);
9733
+ Logger.warn("[Pipeline] generateUiTransformation failed, using heuristic fallback", { error: String(err) });
9695
9734
  return UITransformer.transform(question, sources, this.config, cachedSchema);
9696
9735
  }
9697
9736
  }
@@ -9789,7 +9828,7 @@ ${context}`;
9789
9828
  query,
9790
9829
  useGraph ? this.llmRouter.get("fast") : void 0
9791
9830
  );
9792
- console.debug(`[Pipeline] Determined retrieval strategy: ${strategy}`);
9831
+ Logger.debug(`[Pipeline] Determined retrieval strategy: ${strategy}`);
9793
9832
  const [retrievedVector, graphData] = await Promise.all([
9794
9833
  // Only embed if we need vector search (strategy is 'vector' or 'both')
9795
9834
  strategy === "vector" || strategy === "both" ? queryVector ? Promise.resolve(queryVector) : this.embeddingProvider.embed(query, { taskType: "query" }) : Promise.resolve([]),
@@ -9811,8 +9850,7 @@ ${context}`;
9811
9850
  baseFilter
9812
9851
  ) : [];
9813
9852
  const resolvedSources = sources;
9814
- console.log("[Pipeline] retrieve() response:", {
9815
- query,
9853
+ Logger.info("[Pipeline] retrieve() response", {
9816
9854
  namespace: ns,
9817
9855
  count: resolvedSources.length,
9818
9856
  sample: resolvedSources.slice(0, 2).map((s) => {
@@ -9892,7 +9930,7 @@ Suggestions:`;
9892
9930
  }
9893
9931
  }
9894
9932
  } catch (error) {
9895
- console.error("[Pipeline] Failed to generate suggestions:", error);
9933
+ Logger.error("[Pipeline] Failed to generate suggestions", error);
9896
9934
  }
9897
9935
  return [];
9898
9936
  }
@@ -10260,7 +10298,7 @@ ${csv.trim()}`);
10260
10298
  // src/core/DatabaseStorage.ts
10261
10299
  var fs = __toESM(require("fs"));
10262
10300
  var path = __toESM(require("path"));
10263
- var os = __toESM(require("os"));
10301
+ var os2 = __toESM(require("os"));
10264
10302
  function validateTableName(name) {
10265
10303
  if (!/^[a-zA-Z_][a-zA-Z0-9_]{0,62}$/.test(name)) {
10266
10304
  throw new Error(
@@ -10280,7 +10318,7 @@ var _DatabaseStorage = class _DatabaseStorage {
10280
10318
  this.mongoDbName = "";
10281
10319
  // Filesystem fallback configuration
10282
10320
  this.isServerless = Boolean(process.env.VERCEL || process.env.AWS_LAMBDA_FUNCTION_NAME || process.env.LAMBDA_TASK_ROOT);
10283
- this.fallbackDir = this.isServerless ? path.join(os.tmpdir(), ".retrivora") : path.join(process.cwd(), ".retrivora");
10321
+ this.fallbackDir = this.isServerless ? path.join(os2.tmpdir(), ".retrivora") : path.join(process.cwd(), ".retrivora");
10284
10322
  this.historyFile = path.join(this.fallbackDir, "history.json");
10285
10323
  this.feedbackFile = path.join(this.fallbackDir, "feedback.json");
10286
10324
  /** Subscription check result cache (Fix PERF-1). */
@@ -10444,7 +10482,7 @@ var _DatabaseStorage = class _DatabaseStorage {
10444
10482
  } catch (err) {
10445
10483
  if (err.code === "EROFS") {
10446
10484
  try {
10447
- const tmpDir = path.join(os.tmpdir(), ".retrivora");
10485
+ const tmpDir = path.join(os2.tmpdir(), ".retrivora");
10448
10486
  if (!fs.existsSync(tmpDir)) {
10449
10487
  fs.mkdirSync(tmpDir, { recursive: true });
10450
10488
  }
@@ -10957,8 +10995,8 @@ function sanitizeTelemetryUrl(raw) {
10957
10995
  if (process.env.NODE_ENV !== "production") return raw;
10958
10996
  try {
10959
10997
  const parsed = new URL(raw);
10960
- const hostname = parsed.hostname.toLowerCase().replace(/^www\./, "");
10961
- if (!TELEMETRY_ALLOWED_HOSTS.has(`www.${hostname}`) && !TELEMETRY_ALLOWED_HOSTS.has(hostname)) {
10998
+ const hostname2 = parsed.hostname.toLowerCase().replace(/^www\./, "");
10999
+ if (!TELEMETRY_ALLOWED_HOSTS.has(`www.${hostname2}`) && !TELEMETRY_ALLOWED_HOSTS.has(hostname2)) {
10962
11000
  console.warn(
10963
11001
  `[Retrivora SDK Telemetry] Blocked non-allowlisted telemetry URL: ${parsed.hostname}. Only retrivora.com endpoints are permitted in production.`
10964
11002
  );