@retrivora-ai/rag-engine 2.5.3 → 2.5.5

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 (869) hide show
  1. package/FREE_TIER_ARCHITECTURE.md +232 -232
  2. package/README.md +206 -206
  3. package/dist/handlers/index.d.mts +2 -2
  4. package/dist/handlers/index.d.ts +2 -2
  5. package/dist/handlers/index.js +129 -82
  6. package/dist/handlers/index.mjs +11888 -24
  7. package/dist/{BatchProcessor-B8OLSahY.d.ts → index-8vijDPfT.d.ts} +395 -379
  8. package/dist/{BatchProcessor-OVOIlNfK.d.mts → index-BKOyhayB.d.mts} +395 -379
  9. package/dist/{index-BSzhBMdH.d.mts → index-DE8qPWpI.d.mts} +1 -1
  10. package/dist/{index-T-TH-wJd.d.ts → index-DkOhRqEc.d.ts} +1 -1
  11. package/dist/index.css +851 -1352
  12. package/dist/index.d.mts +54 -30
  13. package/dist/index.d.ts +54 -30
  14. package/dist/index.js +3779 -3790
  15. package/dist/index.min.css +2 -2
  16. package/dist/index.mjs +1641 -310
  17. package/dist/server.d.mts +32 -31
  18. package/dist/server.d.ts +32 -31
  19. package/dist/server.js +151 -84
  20. package/dist/server.mjs +12444 -371
  21. package/package.json +157 -157
  22. package/dist/1c-EBREIWTW.mjs +0 -146
  23. package/dist/ChromaDBProvider-4RPJN7Y3.mjs +0 -8
  24. package/dist/ChromaDBProvider-G2V6SE7V.mjs +0 -8
  25. package/dist/MilvusProvider-FWDM6SB6.mjs +0 -8
  26. package/dist/MilvusProvider-WJLLZ6TW.mjs +0 -8
  27. package/dist/MongoDBProvider-QSERELZX.mjs +0 -8
  28. package/dist/MongoDBProvider-QXKT6PP6.mjs +0 -8
  29. package/dist/MultiTablePostgresProvider-2X2DMRKH.mjs +0 -9
  30. package/dist/MultiTablePostgresProvider-JF2HEUDZ.mjs +0 -9
  31. package/dist/PineconeProvider-Q5SD254K.mjs +0 -10
  32. package/dist/PineconeProvider-SM6ULSYT.mjs +0 -10
  33. package/dist/PostgreSQLProvider-JQMCNHRO.mjs +0 -8
  34. package/dist/PostgreSQLProvider-YET2HBKQ.mjs +0 -8
  35. package/dist/QdrantProvider-6MNFPEVC.mjs +0 -8
  36. package/dist/QdrantProvider-OHKKKERB.mjs +0 -8
  37. package/dist/RedisProvider-ERQL6AEB.mjs +0 -8
  38. package/dist/RedisProvider-XXXBWC4L.mjs +0 -8
  39. package/dist/SimpleGraphProvider-3FBIK4SP.mjs +0 -70
  40. package/dist/SimpleGraphProvider-OP3HAJJM.mjs +0 -70
  41. package/dist/UniversalVectorProvider-INM3KH5F.mjs +0 -9
  42. package/dist/UniversalVectorProvider-JNGYSY6K.mjs +0 -9
  43. package/dist/WeaviateProvider-VHWWICCC.mjs +0 -8
  44. package/dist/WeaviateProvider-WILDWYCU.mjs +0 -8
  45. package/dist/abap-WNGGW2VB.mjs +0 -7
  46. package/dist/abnf-BGGAKJOG.mjs +0 -80
  47. package/dist/abnf-CLVQL7IW.mjs +0 -7
  48. package/dist/accesslog-AW4TMVBR.mjs +0 -102
  49. package/dist/actionscript-LDBW7DZN.mjs +0 -9
  50. package/dist/actionscript-SJQA7YO2.mjs +0 -92
  51. package/dist/ada-5NUV4FXL.mjs +0 -7
  52. package/dist/ada-C4SZDD2N.mjs +0 -153
  53. package/dist/agda-UD47ECFZ.mjs +0 -7
  54. package/dist/al-TFIDG74E.mjs +0 -7
  55. package/dist/all-XHREXETZ.mjs +0 -305
  56. package/dist/angelscript-ACNK4CYA.mjs +0 -124
  57. package/dist/antlr4-G6CQUZ2D.mjs +0 -7
  58. package/dist/apache-XDWBIP3F.mjs +0 -84
  59. package/dist/apacheconf-Y65Q5KSY.mjs +0 -7
  60. package/dist/apex-EWTMFSY5.mjs +0 -9
  61. package/dist/apl-ZJEOL4BM.mjs +0 -7
  62. package/dist/applescript-LSSKJYWQ.mjs +0 -146
  63. package/dist/applescript-TDKWHEBN.mjs +0 -7
  64. package/dist/aql-C7I3QNPK.mjs +0 -7
  65. package/dist/arcade-EYNEVUEM.mjs +0 -154
  66. package/dist/arduino-JOVHFA3R.mjs +0 -10
  67. package/dist/arduino-WPJOZF2Q.mjs +0 -430
  68. package/dist/arff-KZ7QGS44.mjs +0 -7
  69. package/dist/armasm-AEPI2UBM.mjs +0 -101
  70. package/dist/armasm-I36FUMNF.mjs +0 -7
  71. package/dist/arturo-BQ3VRFKF.mjs +0 -7
  72. package/dist/asciidoc-7THCKEEE.mjs +0 -7
  73. package/dist/asciidoc-FCEOLYRF.mjs +0 -283
  74. package/dist/asm6502-MQSXKVKX.mjs +0 -7
  75. package/dist/asmatmel-VYPLCNX4.mjs +0 -7
  76. package/dist/aspectj-K3JIUMID.mjs +0 -161
  77. package/dist/aspnet-YIFISSHD.mjs +0 -10
  78. package/dist/autohotkey-3FUCNGDY.mjs +0 -7
  79. package/dist/autohotkey-S675MA75.mjs +0 -84
  80. package/dist/autoit-6EC4LIFF.mjs +0 -7
  81. package/dist/autoit-OYRPIUEX.mjs +0 -168
  82. package/dist/avisynth-SJN5SPLC.mjs +0 -7
  83. package/dist/avrasm-6YKZF5NN.mjs +0 -69
  84. package/dist/avro-idl-DU6N3NTX.mjs +0 -7
  85. package/dist/awk-DFHXRUGP.mjs +0 -74
  86. package/dist/awk-EHJ72KGN.mjs +0 -7
  87. package/dist/axapta-J6O4OPTW.mjs +0 -175
  88. package/dist/bash-L47TFVTQ.mjs +0 -144
  89. package/dist/bash-RW5QGICG.mjs +0 -7
  90. package/dist/basic-KRHBUH4Q.mjs +0 -7
  91. package/dist/basic-XCFCUNQJ.mjs +0 -54
  92. package/dist/batch-XOXCYEL4.mjs +0 -7
  93. package/dist/bbcode-HGCFVVJQ.mjs +0 -7
  94. package/dist/bbj-MFUEOWFL.mjs +0 -7
  95. package/dist/bicep-COPGQHAW.mjs +0 -7
  96. package/dist/birb-RNKSLPQ7.mjs +0 -8
  97. package/dist/bison-P5JHD2NT.mjs +0 -9
  98. package/dist/bnf-22GAP3DX.mjs +0 -40
  99. package/dist/bnf-CZNGBIRM.mjs +0 -7
  100. package/dist/bqn-C72UTBAF.mjs +0 -7
  101. package/dist/brainfuck-RX67ZTKJ.mjs +0 -7
  102. package/dist/brainfuck-XOLDR7KM.mjs +0 -48
  103. package/dist/brightscript-7QASPOYI.mjs +0 -7
  104. package/dist/bro-AI3KSENM.mjs +0 -7
  105. package/dist/bsl-DRVDLKP6.mjs +0 -7
  106. package/dist/c-L6PNSVOV.mjs +0 -253
  107. package/dist/c-VSCSOGCO.mjs +0 -8
  108. package/dist/c-like-3HOZD2N5.mjs +0 -430
  109. package/dist/cal-I27UVPAA.mjs +0 -101
  110. package/dist/capnproto-OHUPLF3N.mjs +0 -62
  111. package/dist/ceylon-HGLYEJK7.mjs +0 -73
  112. package/dist/cfscript-MFVE7RSZ.mjs +0 -8
  113. package/dist/chaiscript-JMR44JSQ.mjs +0 -10
  114. package/dist/chunk-24KBROYU.mjs +0 -64
  115. package/dist/chunk-2AL6NDUD.mjs +0 -69
  116. package/dist/chunk-2ZGMRLS2.mjs +0 -73
  117. package/dist/chunk-353NWWBK.mjs +0 -79
  118. package/dist/chunk-36GPRAF6.mjs +0 -102
  119. package/dist/chunk-37YNNB3W.mjs +0 -61
  120. package/dist/chunk-3B67MLYC.mjs +0 -197
  121. package/dist/chunk-3JZPJ5J4.mjs +0 -82
  122. package/dist/chunk-3LVEBYSC.mjs +0 -374
  123. package/dist/chunk-3P2MI7HF.mjs +0 -336
  124. package/dist/chunk-3RZAZFEU.mjs +0 -177
  125. package/dist/chunk-3SIHJKB4.mjs +0 -34
  126. package/dist/chunk-3YYX3D4T.mjs +0 -156
  127. package/dist/chunk-425XUIWE.mjs +0 -61
  128. package/dist/chunk-44M35G7Z.mjs +0 -54
  129. package/dist/chunk-45ZOXJFQ.mjs +0 -29
  130. package/dist/chunk-46PPCH2N.mjs +0 -52
  131. package/dist/chunk-4GPCGAFU.mjs +0 -318
  132. package/dist/chunk-4H4VBYBC.mjs +0 -31
  133. package/dist/chunk-4MS5JQEH.mjs +0 -49
  134. package/dist/chunk-4RZ3ACXD.mjs +0 -30
  135. package/dist/chunk-4S53M4C4.mjs +0 -83
  136. package/dist/chunk-4VWIH6DQ.mjs +0 -47
  137. package/dist/chunk-4X2CL3IQ.mjs +0 -109
  138. package/dist/chunk-4XWE2SWC.mjs +0 -52
  139. package/dist/chunk-53KZDXRW.mjs +0 -143
  140. package/dist/chunk-53Q6ESIL.mjs +0 -41
  141. package/dist/chunk-54WCNRZJ.mjs +0 -29
  142. package/dist/chunk-56226XXM.mjs +0 -165
  143. package/dist/chunk-56OI6W4H.mjs +0 -29
  144. package/dist/chunk-5BDPKJ6Y.mjs +0 -306
  145. package/dist/chunk-5F42BHTW.mjs +0 -112
  146. package/dist/chunk-5ID4EPQA.mjs +0 -131
  147. package/dist/chunk-5IXLUSDV.mjs +0 -53
  148. package/dist/chunk-5RROYZHX.mjs +0 -28
  149. package/dist/chunk-5UV7M5EU.mjs +0 -41
  150. package/dist/chunk-5XDBEAKK.mjs +0 -48
  151. package/dist/chunk-62WBBPBE.mjs +0 -651
  152. package/dist/chunk-6CLUTKPO.mjs +0 -57
  153. package/dist/chunk-6J2OLOZQ.mjs +0 -56
  154. package/dist/chunk-6J5SU6C7.mjs +0 -73
  155. package/dist/chunk-6OIK4NDX.mjs +0 -20
  156. package/dist/chunk-6TDWOHUA.mjs +0 -112
  157. package/dist/chunk-6WEP476E.mjs +0 -129
  158. package/dist/chunk-6WT5UGSS.mjs +0 -64
  159. package/dist/chunk-6YA4NYTY.mjs +0 -41
  160. package/dist/chunk-7ACPC4WG.mjs +0 -105
  161. package/dist/chunk-7EKXO46A.mjs +0 -39
  162. package/dist/chunk-7EWVBXEM.mjs +0 -29
  163. package/dist/chunk-7JAAWZ6M.mjs +0 -22
  164. package/dist/chunk-7K2L66XX.mjs +0 -73
  165. package/dist/chunk-7NFKVMAZ.mjs +0 -98
  166. package/dist/chunk-7PUPFWKS.mjs +0 -68
  167. package/dist/chunk-7YES2STE.mjs +0 -34
  168. package/dist/chunk-AD5VQQXO.mjs +0 -28
  169. package/dist/chunk-AGBAETQL.mjs +0 -50
  170. package/dist/chunk-ARO6I5WR.mjs +0 -122
  171. package/dist/chunk-ATH2U2VT.mjs +0 -38
  172. package/dist/chunk-AVHZ6YNV.mjs +0 -39
  173. package/dist/chunk-AZNYSXF2.mjs +0 -283
  174. package/dist/chunk-AZR3CC74.mjs +0 -23305
  175. package/dist/chunk-AZVF7NXO.mjs +0 -107
  176. package/dist/chunk-B36KGPR3.mjs +0 -36
  177. package/dist/chunk-B4AXIUM7.mjs +0 -49
  178. package/dist/chunk-B5SMFA6Y.mjs +0 -356
  179. package/dist/chunk-BAOD4KDW.mjs +0 -21
  180. package/dist/chunk-BEPLYQBS.mjs +0 -89
  181. package/dist/chunk-BMS3P73V.mjs +0 -80
  182. package/dist/chunk-BNOPQCZW.mjs +0 -238
  183. package/dist/chunk-BNUG5H34.mjs +0 -40
  184. package/dist/chunk-BR6K55MU.mjs +0 -36
  185. package/dist/chunk-BTVRNVQM.mjs +0 -55
  186. package/dist/chunk-BZCXV3LG.mjs +0 -107
  187. package/dist/chunk-C2A43JHI.mjs +0 -37
  188. package/dist/chunk-C2S4QV4U.mjs +0 -87
  189. package/dist/chunk-C32XOSS6.mjs +0 -88
  190. package/dist/chunk-C5ALZKTS.mjs +0 -72
  191. package/dist/chunk-C7KTMGHZ.mjs +0 -29
  192. package/dist/chunk-CASPYOUV.mjs +0 -33
  193. package/dist/chunk-CJLO3EDH.mjs +0 -157
  194. package/dist/chunk-CKTJQRFM.mjs +0 -30
  195. package/dist/chunk-COLGDCFR.mjs +0 -37
  196. package/dist/chunk-CX776XAS.mjs +0 -70
  197. package/dist/chunk-CYBAJKNA.mjs +0 -96
  198. package/dist/chunk-CYHP3BTO.mjs +0 -43
  199. package/dist/chunk-D2X6GS5O.mjs +0 -138
  200. package/dist/chunk-DA7JAJTU.mjs +0 -37
  201. package/dist/chunk-DABY3J56.mjs +0 -22
  202. package/dist/chunk-DDAURLDF.mjs +0 -66
  203. package/dist/chunk-DGDYNWYR.mjs +0 -65
  204. package/dist/chunk-DGRKZN3X.mjs +0 -158
  205. package/dist/chunk-DI4VFT7Q.mjs +0 -41
  206. package/dist/chunk-DM36CSZO.mjs +0 -191
  207. package/dist/chunk-DOENMU66.mjs +0 -58
  208. package/dist/chunk-DPLQGHIH.mjs +0 -281
  209. package/dist/chunk-DRJEECIQ.mjs +0 -72
  210. package/dist/chunk-DT2OSTVS.mjs +0 -54
  211. package/dist/chunk-DXT2K7WR.mjs +0 -56
  212. package/dist/chunk-E2526GUT.mjs +0 -30
  213. package/dist/chunk-E26IAM43.mjs +0 -145
  214. package/dist/chunk-ECEYM4LR.mjs +0 -55
  215. package/dist/chunk-ECP2LGXT.mjs +0 -35
  216. package/dist/chunk-EFECPLWP.mjs +0 -18
  217. package/dist/chunk-EM77UBEU.mjs +0 -68
  218. package/dist/chunk-ENBRIH7E.mjs +0 -60
  219. package/dist/chunk-EPFSENEW.mjs +0 -28
  220. package/dist/chunk-EVS3BFHU.mjs +0 -156
  221. package/dist/chunk-EZZI6VVY.mjs +0 -134
  222. package/dist/chunk-F5A7WWU7.mjs +0 -31
  223. package/dist/chunk-F5BFQTNM.mjs +0 -207
  224. package/dist/chunk-F6MFGVUD.mjs +0 -69
  225. package/dist/chunk-FGXIA3R7.mjs +0 -37
  226. package/dist/chunk-FHVJNAYD.mjs +0 -100
  227. package/dist/chunk-FKSBUL4E.mjs +0 -74
  228. package/dist/chunk-FLJJMJSJ.mjs +0 -87
  229. package/dist/chunk-FLOHZEYO.mjs +0 -36
  230. package/dist/chunk-FNLDG434.mjs +0 -72
  231. package/dist/chunk-FOVZHPLR.mjs +0 -27
  232. package/dist/chunk-FWGKSVXV.mjs +0 -34
  233. package/dist/chunk-FZF3BLSB.mjs +0 -96
  234. package/dist/chunk-G3ZDT4R5.mjs +0 -318
  235. package/dist/chunk-G5XSLDAB.mjs +0 -234
  236. package/dist/chunk-G73FQRRH.mjs +0 -4720
  237. package/dist/chunk-GFAAOIJ7.mjs +0 -56
  238. package/dist/chunk-GKTJV6TW.mjs +0 -81
  239. package/dist/chunk-GLIHIGNW.mjs +0 -52
  240. package/dist/chunk-GMDOMJ2U.mjs +0 -89
  241. package/dist/chunk-GP2AJQRQ.mjs +0 -107
  242. package/dist/chunk-GUI4PF6W.mjs +0 -59
  243. package/dist/chunk-GW3C7ZEN.mjs +0 -44
  244. package/dist/chunk-GWULZIAC.mjs +0 -49
  245. package/dist/chunk-GYHTSAUQ.mjs +0 -64
  246. package/dist/chunk-GYN4DEP4.mjs +0 -58
  247. package/dist/chunk-HAWFTDSB.mjs +0 -20
  248. package/dist/chunk-HIFPVOLS.mjs +0 -88
  249. package/dist/chunk-HMDPGJHZ.mjs +0 -33
  250. package/dist/chunk-HRB4D3AQ.mjs +0 -40
  251. package/dist/chunk-HSKFBW5N.mjs +0 -35
  252. package/dist/chunk-HTNRSSPJ.mjs +0 -145
  253. package/dist/chunk-HUMYU6YT.mjs +0 -107
  254. package/dist/chunk-HV7ENVP6.mjs +0 -53
  255. package/dist/chunk-HWKTI4K5.mjs +0 -58
  256. package/dist/chunk-HZDVG65R.mjs +0 -211
  257. package/dist/chunk-IJARWX2J.mjs +0 -31
  258. package/dist/chunk-IKEYRVNO.mjs +0 -146
  259. package/dist/chunk-IKTUEH2L.mjs +0 -54
  260. package/dist/chunk-IKXNCR5M.mjs +0 -40
  261. package/dist/chunk-ILV4WMVY.mjs +0 -144
  262. package/dist/chunk-IMP6FUCY.mjs +0 -30
  263. package/dist/chunk-IN7MHMT7.mjs +0 -152
  264. package/dist/chunk-IOSXMLA3.mjs +0 -51
  265. package/dist/chunk-IZBADY66.mjs +0 -141
  266. package/dist/chunk-J4ZJ66CR.mjs +0 -35
  267. package/dist/chunk-J5HJOWHG.mjs +0 -89
  268. package/dist/chunk-J6TZWF5T.mjs +0 -28
  269. package/dist/chunk-J74VV3TW.mjs +0 -90
  270. package/dist/chunk-JEEODZGS.mjs +0 -106
  271. package/dist/chunk-JL6ZSWZP.mjs +0 -37
  272. package/dist/chunk-JRQWSJNF.mjs +0 -202
  273. package/dist/chunk-JS7TBJC3.mjs +0 -50
  274. package/dist/chunk-JWQFZ37Q.mjs +0 -27
  275. package/dist/chunk-JYZAXNEX.mjs +0 -72
  276. package/dist/chunk-JZDXZFTC.mjs +0 -19
  277. package/dist/chunk-K24TPR3X.mjs +0 -72
  278. package/dist/chunk-K4PNNFZZ.mjs +0 -98
  279. package/dist/chunk-KCTI32UG.mjs +0 -57
  280. package/dist/chunk-KD7Y3NQE.mjs +0 -70
  281. package/dist/chunk-KHAAYTKK.mjs +0 -107
  282. package/dist/chunk-KJWL6BH2.mjs +0 -63
  283. package/dist/chunk-KK3VUFRU.mjs +0 -65
  284. package/dist/chunk-KLF6W6OK.mjs +0 -96
  285. package/dist/chunk-KO2RCBMO.mjs +0 -53
  286. package/dist/chunk-KUL33RN6.mjs +0 -23
  287. package/dist/chunk-KUPY2M4R.mjs +0 -39
  288. package/dist/chunk-KWN4H2SK.mjs +0 -78
  289. package/dist/chunk-KYHHBFFU.mjs +0 -43
  290. package/dist/chunk-L5J5BRSV.mjs +0 -26
  291. package/dist/chunk-LAL4U5ZY.mjs +0 -87
  292. package/dist/chunk-LF5D4CD4.mjs +0 -94
  293. package/dist/chunk-LHSMOUWA.mjs +0 -36
  294. package/dist/chunk-LL5HM2IL.mjs +0 -22
  295. package/dist/chunk-LONF3WLA.mjs +0 -61
  296. package/dist/chunk-LPIMB7BN.mjs +0 -33
  297. package/dist/chunk-LSSEZBDR.mjs +0 -37
  298. package/dist/chunk-LYHCKUNF.mjs +0 -112
  299. package/dist/chunk-M5IOO2NE.mjs +0 -77
  300. package/dist/chunk-MBCXE2JX.mjs +0 -43
  301. package/dist/chunk-MBEKXI2X.mjs +0 -23
  302. package/dist/chunk-MFIWWUC7.mjs +0 -152
  303. package/dist/chunk-MGWM63L3.mjs +0 -92
  304. package/dist/chunk-MQASXSQP.mjs +0 -113
  305. package/dist/chunk-MS4V6IZO.mjs +0 -931
  306. package/dist/chunk-MSLEAWCD.mjs +0 -21
  307. package/dist/chunk-MU2WX5MJ.mjs +0 -116
  308. package/dist/chunk-MUVFBHMZ.mjs +0 -97
  309. package/dist/chunk-MWICNCB2.mjs +0 -157
  310. package/dist/chunk-MZJMWUUV.mjs +0 -81
  311. package/dist/chunk-N2KO4GER.mjs +0 -127
  312. package/dist/chunk-N54YTFBN.mjs +0 -76
  313. package/dist/chunk-ND3IPLH2.mjs +0 -95
  314. package/dist/chunk-NF5WZDWP.mjs +0 -105
  315. package/dist/chunk-NFOQ23PO.mjs +0 -67
  316. package/dist/chunk-NLAJ7DKF.mjs +0 -36
  317. package/dist/chunk-NNDFANAN.mjs +0 -38
  318. package/dist/chunk-NRA5D7QO.mjs +0 -93
  319. package/dist/chunk-NROFUE73.mjs +0 -50
  320. package/dist/chunk-NTUTBJ7Y.mjs +0 -72
  321. package/dist/chunk-NXICO2UA.mjs +0 -64
  322. package/dist/chunk-NYBB6PRX.mjs +0 -31
  323. package/dist/chunk-O2ZYAHJD.mjs +0 -51
  324. package/dist/chunk-O3H6GV3Y.mjs +0 -65
  325. package/dist/chunk-OB4PPPH2.mjs +0 -42
  326. package/dist/chunk-OKIWJ7FA.mjs +0 -236
  327. package/dist/chunk-ORVO4EZJ.mjs +0 -21
  328. package/dist/chunk-OUYML22K.mjs +0 -57
  329. package/dist/chunk-OZYKOI26.mjs +0 -91
  330. package/dist/chunk-P3ELVMCC.mjs +0 -152
  331. package/dist/chunk-P6TDRTZQ.mjs +0 -57
  332. package/dist/chunk-PG7O6BY6.mjs +0 -60
  333. package/dist/chunk-PGCE2UE5.mjs +0 -22
  334. package/dist/chunk-PIMBXK6H.mjs +0 -51
  335. package/dist/chunk-PL6S4P4B.mjs +0 -73
  336. package/dist/chunk-POOWU2HR.mjs +0 -211
  337. package/dist/chunk-PQDAGF45.mjs +0 -93
  338. package/dist/chunk-PVILVBTP.mjs +0 -29
  339. package/dist/chunk-PYI2JMTB.mjs +0 -96
  340. package/dist/chunk-Q2QAZZT2.mjs +0 -31
  341. package/dist/chunk-QAOPNIPD.mjs +0 -34
  342. package/dist/chunk-QEMWQTNW.mjs +0 -98
  343. package/dist/chunk-QGVNUT2H.mjs +0 -59
  344. package/dist/chunk-QHF5K7KB.mjs +0 -107
  345. package/dist/chunk-QJWOEPXO.mjs +0 -238
  346. package/dist/chunk-QOBL2CCS.mjs +0 -30
  347. package/dist/chunk-QOGP6RKQ.mjs +0 -145
  348. package/dist/chunk-QOPA32CS.mjs +0 -57
  349. package/dist/chunk-QOSBCNOL.mjs +0 -76
  350. package/dist/chunk-QP7Q6T4D.mjs +0 -146
  351. package/dist/chunk-QUC5WXRL.mjs +0 -61
  352. package/dist/chunk-R2ACZM6S.mjs +0 -39
  353. package/dist/chunk-R4HNDMW7.mjs +0 -36
  354. package/dist/chunk-R5QMEYGM.mjs +0 -105
  355. package/dist/chunk-RBXXHJS3.mjs +0 -44
  356. package/dist/chunk-RFWLCVJI.mjs +0 -53
  357. package/dist/chunk-RJHP2TRO.mjs +0 -342
  358. package/dist/chunk-RL545ZDL.mjs +0 -57
  359. package/dist/chunk-RM2AN4WX.mjs +0 -19
  360. package/dist/chunk-RV2EV72B.mjs +0 -17
  361. package/dist/chunk-RV63XGV4.mjs +0 -33
  362. package/dist/chunk-RVXIWAZN.mjs +0 -50
  363. package/dist/chunk-RYEHGIGZ.mjs +0 -37
  364. package/dist/chunk-S45OTSGB.mjs +0 -33
  365. package/dist/chunk-S4AFUAMK.mjs +0 -46
  366. package/dist/chunk-SA7NQFBH.mjs +0 -55
  367. package/dist/chunk-SBC7VBZN.mjs +0 -229
  368. package/dist/chunk-SCH4R4AJ.mjs +0 -154
  369. package/dist/chunk-SCXMB3X3.mjs +0 -93
  370. package/dist/chunk-SK64537N.mjs +0 -51
  371. package/dist/chunk-SKR2H5PP.mjs +0 -49
  372. package/dist/chunk-SNL4I326.mjs +0 -100
  373. package/dist/chunk-SPLIZTXR.mjs +0 -32
  374. package/dist/chunk-SRYYJW6L.mjs +0 -124
  375. package/dist/chunk-T37HUHMP.mjs +0 -89
  376. package/dist/chunk-T5QKF6NH.mjs +0 -41
  377. package/dist/chunk-TDYA7OZL.mjs +0 -141
  378. package/dist/chunk-TK3ZBYU3.mjs +0 -81
  379. package/dist/chunk-TNDIFWEF.mjs +0 -46
  380. package/dist/chunk-TYOOLW7O.mjs +0 -86
  381. package/dist/chunk-TZDJJPDB.mjs +0 -97
  382. package/dist/chunk-U2Y2KG4V.mjs +0 -38
  383. package/dist/chunk-U33ZZ3Q5.mjs +0 -1193
  384. package/dist/chunk-U766TQKY.mjs +0 -66
  385. package/dist/chunk-UAMSMWXX.mjs +0 -26
  386. package/dist/chunk-UBG4IN2Y.mjs +0 -152
  387. package/dist/chunk-UFW3LUKC.mjs +0 -25
  388. package/dist/chunk-UM4DIO3H.mjs +0 -19
  389. package/dist/chunk-UP4YFQ5C.mjs +0 -186
  390. package/dist/chunk-UP6R6FXP.mjs +0 -46
  391. package/dist/chunk-USYLX2KE.mjs +0 -8691
  392. package/dist/chunk-UUIR3O4R.mjs +0 -24
  393. package/dist/chunk-UYNKZWSI.mjs +0 -49
  394. package/dist/chunk-UZ64LFY3.mjs +0 -19
  395. package/dist/chunk-V5FEJO5H.mjs +0 -203
  396. package/dist/chunk-V6KLBTID.mjs +0 -47
  397. package/dist/chunk-VAWLUSHA.mjs +0 -62
  398. package/dist/chunk-VCRH6KHB.mjs +0 -43
  399. package/dist/chunk-VKUTQHLL.mjs +0 -69
  400. package/dist/chunk-VLTOV7HT.mjs +0 -81
  401. package/dist/chunk-VO56WRKB.mjs +0 -29
  402. package/dist/chunk-VOEQS3R4.mjs +0 -54
  403. package/dist/chunk-VRQ6DRFR.mjs +0 -66
  404. package/dist/chunk-VXIVRVUP.mjs +0 -74
  405. package/dist/chunk-VY6R5EWX.mjs +0 -29
  406. package/dist/chunk-VZAGOPXK.mjs +0 -129
  407. package/dist/chunk-VZTB23JU.mjs +0 -29
  408. package/dist/chunk-W2DKVD3G.mjs +0 -81
  409. package/dist/chunk-W4FIJVDH.mjs +0 -192
  410. package/dist/chunk-WAIRETE3.mjs +0 -111
  411. package/dist/chunk-WBZ7QUFI.mjs +0 -44
  412. package/dist/chunk-WDJODUZW.mjs +0 -89
  413. package/dist/chunk-WG7TKVBL.mjs +0 -72
  414. package/dist/chunk-WGKQSSVM.mjs +0 -34
  415. package/dist/chunk-WSFQS3WJ.mjs +0 -17
  416. package/dist/chunk-X4RRHV3M.mjs +0 -41
  417. package/dist/chunk-X5WFUYZB.mjs +0 -31
  418. package/dist/chunk-X6TJKD4J.mjs +0 -69
  419. package/dist/chunk-X6Z6T7ZP.mjs +0 -40
  420. package/dist/chunk-XHSDHPKI.mjs +0 -336
  421. package/dist/chunk-XJCKDBMP.mjs +0 -37
  422. package/dist/chunk-XLH3B3GV.mjs +0 -65
  423. package/dist/chunk-XMF4PKWZ.mjs +0 -37
  424. package/dist/chunk-XTMKISZY.mjs +0 -130
  425. package/dist/chunk-Y6CL6A3V.mjs +0 -43
  426. package/dist/chunk-YCZHGF5L.mjs +0 -121
  427. package/dist/chunk-YDIELCJS.mjs +0 -91
  428. package/dist/chunk-YEUDGGMZ.mjs +0 -96
  429. package/dist/chunk-YEXGYK57.mjs +0 -92
  430. package/dist/chunk-YI3LY73Z.mjs +0 -17
  431. package/dist/chunk-YI4DBSAT.mjs +0 -28
  432. package/dist/chunk-YKMHUGN4.mjs +0 -651
  433. package/dist/chunk-YSPBV2YN.mjs +0 -421
  434. package/dist/chunk-YVVDPSKP.mjs +0 -197
  435. package/dist/chunk-YYSN3YCL.mjs +0 -26
  436. package/dist/chunk-Z3AKA3KE.mjs +0 -30
  437. package/dist/chunk-Z6JJIYMP.mjs +0 -34
  438. package/dist/chunk-ZA465M4H.mjs +0 -46
  439. package/dist/chunk-ZC367C4K.mjs +0 -281
  440. package/dist/chunk-ZCJNV2WB.mjs +0 -90
  441. package/dist/chunk-ZH2VDUC2.mjs +0 -34
  442. package/dist/chunk-ZHBKXVTG.mjs +0 -53
  443. package/dist/chunk-ZJ2FMMA4.mjs +0 -31
  444. package/dist/chunk-ZKOCHX43.mjs +0 -140
  445. package/dist/chunk-ZTTIDD57.mjs +0 -72
  446. package/dist/chunk-ZUW5WWT6.mjs +0 -13
  447. package/dist/cil-OX77PIZP.mjs +0 -7
  448. package/dist/cilkc-BDYOXZY5.mjs +0 -9
  449. package/dist/cilkcpp-KZN7MPWX.mjs +0 -10
  450. package/dist/clean-BLPANDN4.mjs +0 -36
  451. package/dist/clike-UUOWHDIR.mjs +0 -7
  452. package/dist/clojure-4MK5ONG5.mjs +0 -127
  453. package/dist/clojure-KTYQ4S7G.mjs +0 -7
  454. package/dist/clojure-repl-HWYI7CXM.mjs +0 -26
  455. package/dist/cmake-WHHZR2V7.mjs +0 -7
  456. package/dist/cmake-X2SGPNAG.mjs +0 -34
  457. package/dist/cobol-3CRTQG4X.mjs +0 -7
  458. package/dist/coffeescript-2BBF2PM5.mjs +0 -9
  459. package/dist/coffeescript-6KMIBZTX.mjs +0 -348
  460. package/dist/concurnas-CMH2MQMO.mjs +0 -7
  461. package/dist/cooklang-XPZDBZRQ.mjs +0 -7
  462. package/dist/coq-VPBWZI4H.mjs +0 -7
  463. package/dist/coq-XHEDPREY.mjs +0 -35
  464. package/dist/core-53TVE6ED.mjs +0 -1811
  465. package/dist/core-EFA5INDY.mjs +0 -7
  466. package/dist/cos-MTQDQCSA.mjs +0 -98
  467. package/dist/cpp-22ZXPFI6.mjs +0 -409
  468. package/dist/cpp-3QCYFNK6.mjs +0 -9
  469. package/dist/crmsh-3WRNVSTP.mjs +0 -97
  470. package/dist/crystal-2EHE2T46.mjs +0 -322
  471. package/dist/crystal-NWCQSLUO.mjs +0 -9
  472. package/dist/csharp-O3I3SJ3U.mjs +0 -8
  473. package/dist/csharp-ZV6YFQOP.mjs +0 -438
  474. package/dist/cshtml-LHWACG2S.mjs +0 -10
  475. package/dist/csp-35EVUMH3.mjs +0 -7
  476. package/dist/csp-VGB42C4V.mjs +0 -34
  477. package/dist/css-MNNVIBFJ.mjs +0 -7
  478. package/dist/css-SEV6MHRT.mjs +0 -597
  479. package/dist/css-extras-VESJUQ7R.mjs +0 -8
  480. package/dist/csv-Q6LVKY6B.mjs +0 -7
  481. package/dist/cue-4HRQJQ3R.mjs +0 -7
  482. package/dist/cypher-GT3MK3QV.mjs +0 -7
  483. package/dist/d-3DEZYWVP.mjs +0 -8
  484. package/dist/d-3ZCSNCJV.mjs +0 -121
  485. package/dist/dart-QALF24GY.mjs +0 -8
  486. package/dist/dart-XRFXD5NS.mjs +0 -189
  487. package/dist/dataweave-CEXE5S2M.mjs +0 -7
  488. package/dist/dax-7F67K7YK.mjs +0 -7
  489. package/dist/delphi-WFNKQ6WQ.mjs +0 -118
  490. package/dist/dhall-IBEFEXHW.mjs +0 -7
  491. package/dist/diff-FMR6ALMO.mjs +0 -7
  492. package/dist/diff-YPVRB2CU.mjs +0 -85
  493. package/dist/django-5YUPXABX.mjs +0 -9
  494. package/dist/django-LT2HNZGS.mjs +0 -57
  495. package/dist/dns-IFOJ77LV.mjs +0 -45
  496. package/dist/dns-zone-file-2CGVUUHD.mjs +0 -7
  497. package/dist/docker-QUSAJHC2.mjs +0 -7
  498. package/dist/dockerfile-ZB7LFK2K.mjs +0 -33
  499. package/dist/dos-GS4GLAUA.mjs +0 -61
  500. package/dist/dot-EJOMR6ES.mjs +0 -7
  501. package/dist/dsconfig-VJKRFJYE.mjs +0 -66
  502. package/dist/dts-ACRDLUDL.mjs +0 -144
  503. package/dist/dust-PTJ3DDBL.mjs +0 -44
  504. package/dist/ebnf-B3NDJ47R.mjs +0 -51
  505. package/dist/ebnf-XR4NJT5O.mjs +0 -7
  506. package/dist/editorconfig-YIXKX6PC.mjs +0 -7
  507. package/dist/eiffel-Z3NTT5RG.mjs +0 -7
  508. package/dist/ejs-HSSKSQKD.mjs +0 -11
  509. package/dist/elixir-DUZIZIJE.mjs +0 -7
  510. package/dist/elixir-FE2WKL6Y.mjs +0 -260
  511. package/dist/elm-5LDDVRJS.mjs +0 -120
  512. package/dist/elm-LI4XTQ6E.mjs +0 -7
  513. package/dist/erb-ANDNIMHK.mjs +0 -11
  514. package/dist/erb-SYU7FYSK.mjs +0 -27
  515. package/dist/erlang-KDEF4DYJ.mjs +0 -7
  516. package/dist/erlang-WDL2I3MK.mjs +0 -192
  517. package/dist/erlang-repl-NFUOVYAF.mjs +0 -70
  518. package/dist/etlua-X55UO5HM.mjs +0 -10
  519. package/dist/excel-IXNS4PYL.mjs +0 -69
  520. package/dist/excel-formula-MCOXGT6C.mjs +0 -7
  521. package/dist/factor-YNYKUWUH.mjs +0 -7
  522. package/dist/false-DPAUHKI5.mjs +0 -7
  523. package/dist/firestore-security-rules-A7WORSBC.mjs +0 -8
  524. package/dist/fix-NLAEEWWO.mjs +0 -40
  525. package/dist/flix-ZSHQ5XTB.mjs +0 -51
  526. package/dist/flow-6FFTX3ZP.mjs +0 -9
  527. package/dist/fortran-3AEDT6XT.mjs +0 -102
  528. package/dist/fortran-B3P5B7ES.mjs +0 -7
  529. package/dist/fsharp-BC5JMMR2.mjs +0 -8
  530. package/dist/fsharp-JITTJ54M.mjs +0 -79
  531. package/dist/ftl-AGA3I4XJ.mjs +0 -9
  532. package/dist/gams-WAPNC62I.mjs +0 -177
  533. package/dist/gap-NQYBQZ2B.mjs +0 -7
  534. package/dist/gauss-MECLGUAT.mjs +0 -206
  535. package/dist/gcode-MG7JXQ7V.mjs +0 -88
  536. package/dist/gcode-RRRVAYT2.mjs +0 -7
  537. package/dist/gdscript-ENR6AP4E.mjs +0 -7
  538. package/dist/gedcom-XBQGOHZ3.mjs +0 -7
  539. package/dist/gettext-6PGLS7V5.mjs +0 -7
  540. package/dist/gherkin-2H4XSYV4.mjs +0 -7
  541. package/dist/gherkin-3GRG53ES.mjs +0 -51
  542. package/dist/git-TYFIJXO4.mjs +0 -7
  543. package/dist/glsl-D26NB6J3.mjs +0 -9
  544. package/dist/glsl-LL7DU4TU.mjs +0 -39
  545. package/dist/gml-B52KPF4C.mjs +0 -8
  546. package/dist/gml-SI5MSGKE.mjs +0 -32
  547. package/dist/gn-3SZRXCF5.mjs +0 -7
  548. package/dist/go-ILRFIZP3.mjs +0 -8
  549. package/dist/go-QV2RBBLW.mjs +0 -69
  550. package/dist/go-module-RS3DPE3U.mjs +0 -7
  551. package/dist/golo-CIYAWEC6.mjs +0 -29
  552. package/dist/gradle-FT5KGOKN.mjs +0 -28
  553. package/dist/gradle-JDKJRVUN.mjs +0 -8
  554. package/dist/graphql-ARI5GIJV.mjs +0 -7
  555. package/dist/groovy-EITVUB7G.mjs +0 -8
  556. package/dist/groovy-VNBLNCR2.mjs +0 -147
  557. package/dist/haml-2ASE7KCG.mjs +0 -9
  558. package/dist/haml-WK3PC3I5.mjs +0 -117
  559. package/dist/handlebars-VVNCKCG2.mjs +0 -9
  560. package/dist/handlebars-ZL76DGI2.mjs +0 -270
  561. package/dist/haskell-6ILWUO7I.mjs +0 -7
  562. package/dist/haskell-NTK5RBZP.mjs +0 -163
  563. package/dist/haxe-4QQCCPVH.mjs +0 -8
  564. package/dist/haxe-5MW6GLB2.mjs +0 -162
  565. package/dist/hcl-73BIQ3M4.mjs +0 -7
  566. package/dist/hlsl-OULX4HA6.mjs +0 -9
  567. package/dist/hoon-LUXS3O2A.mjs +0 -7
  568. package/dist/hpkp-ML5FM4Q7.mjs +0 -7
  569. package/dist/hsp-IAWLPXBG.mjs +0 -62
  570. package/dist/hsts-Y7BGEHZR.mjs +0 -7
  571. package/dist/htmlbars-S6FRWYPY.mjs +0 -278
  572. package/dist/http-TJ7OZI2Q.mjs +0 -106
  573. package/dist/http-XL3ZNGIY.mjs +0 -7
  574. package/dist/hy-FUJRHAQL.mjs +0 -82
  575. package/dist/ichigojam-UFIQSIDS.mjs +0 -7
  576. package/dist/icon-L3WTN2K2.mjs +0 -7
  577. package/dist/icu-message-format-BQRWIPGH.mjs +0 -7
  578. package/dist/idris-ZDQ4PXMA.mjs +0 -8
  579. package/dist/iecst-TD53KMLC.mjs +0 -7
  580. package/dist/ignore-YJEHPWMH.mjs +0 -7
  581. package/dist/inform7-3RY726UI.mjs +0 -66
  582. package/dist/inform7-YPPQWHLN.mjs +0 -7
  583. package/dist/ini-CETYIAUM.mjs +0 -7
  584. package/dist/ini-SPOLXKBK.mjs +0 -148
  585. package/dist/io-EYJW7VN6.mjs +0 -7
  586. package/dist/irpf90-6SBM76YD.mjs +0 -81
  587. package/dist/isbl-FSGOKI4V.mjs +0 -268
  588. package/dist/j-Q5JQ4SLX.mjs +0 -7
  589. package/dist/java-DJQZUC6R.mjs +0 -177
  590. package/dist/java-YR4IU5BM.mjs +0 -8
  591. package/dist/javadoc-BRJNCLP6.mjs +0 -11
  592. package/dist/javadoclike-TFSRBPQM.mjs +0 -7
  593. package/dist/javascript-2ZEIO6XD.mjs +0 -552
  594. package/dist/javascript-QTUJKQHC.mjs +0 -8
  595. package/dist/javastacktrace-GGTEZXE3.mjs +0 -7
  596. package/dist/jboss-cli-77LKGYS3.mjs +0 -62
  597. package/dist/jexl-BTJOELHK.mjs +0 -7
  598. package/dist/jolie-FSJACUDX.mjs +0 -8
  599. package/dist/jq-ZM5F7ZDK.mjs +0 -7
  600. package/dist/js-extras-4DGOZNV7.mjs +0 -9
  601. package/dist/js-templates-NCH5GDOS.mjs +0 -9
  602. package/dist/jsdoc-RVRQ2ONF.mjs +0 -11
  603. package/dist/json-ROTEBQRJ.mjs +0 -7
  604. package/dist/json-YZZOVRBO.mjs +0 -65
  605. package/dist/json5-UP2ZOKOQ.mjs +0 -8
  606. package/dist/jsonp-DR56NR56.mjs +0 -8
  607. package/dist/jsstacktrace-VDL5T4D5.mjs +0 -7
  608. package/dist/jsx-SXP6XKYC.mjs +0 -10
  609. package/dist/julia-HTJ7H7C7.mjs +0 -7
  610. package/dist/julia-Q4ZVHRDI.mjs +0 -356
  611. package/dist/julia-repl-BTX3J3NJ.mjs +0 -35
  612. package/dist/keepalived-QZJZ5HOV.mjs +0 -7
  613. package/dist/keyman-ZGSFJPGK.mjs +0 -7
  614. package/dist/kotlin-IGZZRCGC.mjs +0 -264
  615. package/dist/kotlin-JJZ52WH7.mjs +0 -8
  616. package/dist/kumir-7GXMJK3V.mjs +0 -7
  617. package/dist/kusto-WG6JJXRJ.mjs +0 -7
  618. package/dist/lasso-WWTZY5UH.mjs +0 -170
  619. package/dist/latex-2YADPEPI.mjs +0 -7
  620. package/dist/latex-WRAYL6SG.mjs +0 -259
  621. package/dist/latte-SLTLZ42G.mjs +0 -11
  622. package/dist/ldif-6UEPZ3X4.mjs +0 -45
  623. package/dist/leaf-NI5FUQC2.mjs +0 -52
  624. package/dist/less-IZNHBS3M.mjs +0 -8
  625. package/dist/less-NIE4VYT6.mjs +0 -659
  626. package/dist/lilypond-5Q7S6AWI.mjs +0 -8
  627. package/dist/linker-script-U2G3YT6Y.mjs +0 -7
  628. package/dist/liquid-APSL6YSQ.mjs +0 -9
  629. package/dist/lisp-66VVBLOV.mjs +0 -118
  630. package/dist/lisp-VKANOWYN.mjs +0 -7
  631. package/dist/livecodeserver-DUT3Q46F.mjs +0 -119
  632. package/dist/livescript-747Z7BTF.mjs +0 -366
  633. package/dist/livescript-Q5U2BMW5.mjs +0 -7
  634. package/dist/llvm-GL4XTW5Y.mjs +0 -7
  635. package/dist/llvm-QVOA6LPG.mjs +0 -100
  636. package/dist/log-WZTVEF6C.mjs +0 -7
  637. package/dist/lolcode-4MINGUJV.mjs +0 -7
  638. package/dist/lsl-QPPMC5D4.mjs +0 -90
  639. package/dist/lua-L6OBT7JV.mjs +0 -71
  640. package/dist/lua-ZSJIAUOH.mjs +0 -7
  641. package/dist/magma-XCJJFWJR.mjs +0 -7
  642. package/dist/makefile-OOWCTVQ7.mjs +0 -82
  643. package/dist/makefile-QIYFPW2R.mjs +0 -7
  644. package/dist/markdown-DAR7DPFL.mjs +0 -8
  645. package/dist/markdown-N3SY7XVC.mjs +0 -239
  646. package/dist/markup-OXVKDD47.mjs +0 -7
  647. package/dist/markup-templating-J4DO7422.mjs +0 -8
  648. package/dist/mata-765PWMBX.mjs +0 -7
  649. package/dist/mathematica-LT6GQUHF.mjs +0 -6751
  650. package/dist/matlab-4GFLVE2P.mjs +0 -87
  651. package/dist/matlab-6HITLEEC.mjs +0 -7
  652. package/dist/maxima-Z3RYDEQB.mjs +0 -63
  653. package/dist/maxscript-WQI6JYAB.mjs +0 -7
  654. package/dist/mel-27RKMW7S.mjs +0 -7
  655. package/dist/mel-SFVB3IOI.mjs +0 -35
  656. package/dist/mercury-CKPXMMW7.mjs +0 -99
  657. package/dist/mermaid-XHBPQM2B.mjs +0 -7
  658. package/dist/metafont-7AGXCDBQ.mjs +0 -7
  659. package/dist/mipsasm-3NYLGAR6.mjs +0 -85
  660. package/dist/mizar-64NH7HJA.mjs +0 -20
  661. package/dist/mizar-U2HYXZIV.mjs +0 -7
  662. package/dist/mojolicious-P7XXJCR3.mjs +0 -37
  663. package/dist/mongodb-WUNFEENG.mjs +0 -9
  664. package/dist/monkey-PPCGIXWW.mjs +0 -84
  665. package/dist/monkey-QLUD3OXB.mjs +0 -7
  666. package/dist/moonscript-4CWFAPGN.mjs +0 -7
  667. package/dist/moonscript-A2M4GDBP.mjs +0 -148
  668. package/dist/n1ql-JCXANXED.mjs +0 -7
  669. package/dist/n1ql-SDCT2EHR.mjs +0 -56
  670. package/dist/n4js-XYYHI2EG.mjs +0 -9
  671. package/dist/nand2tetris-hdl-EFYRZT6S.mjs +0 -7
  672. package/dist/naniscript-MA6QESE2.mjs +0 -7
  673. package/dist/nasm-VHY6J4EF.mjs +0 -7
  674. package/dist/neon-QCP2WSBT.mjs +0 -7
  675. package/dist/nevod-EFXVYLVX.mjs +0 -7
  676. package/dist/nginx-TGT7EO4X.mjs +0 -7
  677. package/dist/nginx-WW7TAPC7.mjs +0 -138
  678. package/dist/nim-HL4DQ5UH.mjs +0 -70
  679. package/dist/nim-YWSIL2DE.mjs +0 -7
  680. package/dist/nix-2AR5CCIH.mjs +0 -63
  681. package/dist/nix-E3D77UG6.mjs +0 -7
  682. package/dist/node-repl-NKLTAWN7.mjs +0 -38
  683. package/dist/nsis-33NHQMB7.mjs +0 -7
  684. package/dist/nsis-3IEZ3YJJ.mjs +0 -110
  685. package/dist/objectivec-3IFCJWCA.mjs +0 -9
  686. package/dist/objectivec-KOG52TJY.mjs +0 -96
  687. package/dist/ocaml-KY5FDADX.mjs +0 -7
  688. package/dist/ocaml-VAM3KDWB.mjs +0 -74
  689. package/dist/odin-A2IE76HA.mjs +0 -7
  690. package/dist/opencl-4S3HASAT.mjs +0 -9
  691. package/dist/openqasm-AWQKXLGZ.mjs +0 -7
  692. package/dist/openscad-HHFIEWVA.mjs +0 -82
  693. package/dist/oxygene-66TQWGHU.mjs +0 -95
  694. package/dist/oz-ZITDMMHD.mjs +0 -7
  695. package/dist/parigp-VBT7UQG5.mjs +0 -7
  696. package/dist/parser-YEZVTKJT.mjs +0 -8
  697. package/dist/parser3-NMC257GM.mjs +0 -58
  698. package/dist/pascal-XXANPKBW.mjs +0 -7
  699. package/dist/pascaligo-4AUPQUM4.mjs +0 -7
  700. package/dist/pcaxis-XLPP7YFP.mjs +0 -7
  701. package/dist/peoplecode-2JPUOZ5D.mjs +0 -7
  702. package/dist/perl-J6SU2KAK.mjs +0 -480
  703. package/dist/perl-XPOI3VE2.mjs +0 -7
  704. package/dist/pf-L6J5TXP5.mjs +0 -44
  705. package/dist/pgsql-CXOXGLSM.mjs +0 -388
  706. package/dist/php-7COQUIL6.mjs +0 -9
  707. package/dist/php-THQHZWBK.mjs +0 -192
  708. package/dist/php-extras-KXCGVKVT.mjs +0 -10
  709. package/dist/php-template-MDQ7YQYU.mjs +0 -55
  710. package/dist/phpdoc-P3J4KDLP.mjs +0 -11
  711. package/dist/plaintext-FOX4HEYD.mjs +0 -21
  712. package/dist/plant-uml-HLQGLS6L.mjs +0 -7
  713. package/dist/plsql-S52OSJ2U.mjs +0 -8
  714. package/dist/pony-W4DRRBBC.mjs +0 -65
  715. package/dist/powerquery-YHSDPEFX.mjs +0 -7
  716. package/dist/powershell-FLJWJJQQ.mjs +0 -7
  717. package/dist/powershell-P6JU2TP5.mjs +0 -280
  718. package/dist/processing-GGDIH7QS.mjs +0 -29
  719. package/dist/processing-LTLRX2F5.mjs +0 -8
  720. package/dist/profile-SWN3ONGX.mjs +0 -46
  721. package/dist/prolog-22I55WFQ.mjs +0 -90
  722. package/dist/prolog-NTHCGAGP.mjs +0 -7
  723. package/dist/promql-WFSRW4IG.mjs +0 -7
  724. package/dist/properties-WFMQKC4W.mjs +0 -7
  725. package/dist/properties-WSAVMNCN.mjs +0 -82
  726. package/dist/protobuf-6IXRTNB4.mjs +0 -51
  727. package/dist/protobuf-HKASI7GQ.mjs +0 -8
  728. package/dist/psl-IOI6QPHM.mjs +0 -7
  729. package/dist/pug-347NHF34.mjs +0 -10
  730. package/dist/puppet-VTVLTBI2.mjs +0 -121
  731. package/dist/puppet-YOC76H6Z.mjs +0 -7
  732. package/dist/pure-JBAF6TB6.mjs +0 -7
  733. package/dist/purebasic-C3YNOS5P.mjs +0 -70
  734. package/dist/purebasic-JWVWWWJD.mjs +0 -8
  735. package/dist/purescript-N3Q4R3YA.mjs +0 -8
  736. package/dist/python-A4CFGSSI.mjs +0 -7
  737. package/dist/python-NT5AD4JY.mjs +0 -412
  738. package/dist/python-repl-LHNIOXJX.mjs +0 -38
  739. package/dist/q-FMB4DBLN.mjs +0 -7
  740. package/dist/q-UTM7ZTW7.mjs +0 -33
  741. package/dist/qml-MJHPGC4V.mjs +0 -9
  742. package/dist/qml-WIGTJGI4.mjs +0 -177
  743. package/dist/qore-NTRR7XWO.mjs +0 -8
  744. package/dist/qsharp-SDEJFN7R.mjs +0 -8
  745. package/dist/r-RELSGV5I.mjs +0 -7
  746. package/dist/r-WY7E4G62.mjs +0 -175
  747. package/dist/racket-QSCJEQRD.mjs +0 -8
  748. package/dist/reason-TTF6YRJC.mjs +0 -8
  749. package/dist/reasonml-XPP4N3QO.mjs +0 -294
  750. package/dist/regex-PRGZTHZL.mjs +0 -7
  751. package/dist/rego-EPT6TBBG.mjs +0 -7
  752. package/dist/renpy-TIIZPWPG.mjs +0 -7
  753. package/dist/rescript-4KMHHGJS.mjs +0 -7
  754. package/dist/rest-CAP5QXCA.mjs +0 -7
  755. package/dist/rib-7TW3PGSO.mjs +0 -24
  756. package/dist/rip-U3OVF6I5.mjs +0 -7
  757. package/dist/roboconf-DXZX2XRS.mjs +0 -7
  758. package/dist/roboconf-EWDKJ5LM.mjs +0 -78
  759. package/dist/robotframework-5MDZVXUI.mjs +0 -7
  760. package/dist/routeros-F63X5ZIY.mjs +0 -163
  761. package/dist/rsl-KI4U6V76.mjs +0 -42
  762. package/dist/ruby-RXY2RLEY.mjs +0 -346
  763. package/dist/ruby-SRVPHZXE.mjs +0 -8
  764. package/dist/ruleslanguage-CW4QBLC4.mjs +0 -40
  765. package/dist/rust-CA3GNIOD.mjs +0 -7
  766. package/dist/rust-PMGZCFRY.mjs +0 -123
  767. package/dist/sas-7FFW2O23.mjs +0 -7
  768. package/dist/sas-PMTXHOIS.mjs +0 -66
  769. package/dist/sass-YWHWQAUT.mjs +0 -8
  770. package/dist/scala-4SFCTX6I.mjs +0 -9
  771. package/dist/scala-5GJ43JLG.mjs +0 -131
  772. package/dist/scheme-6GQTRHJH.mjs +0 -7
  773. package/dist/scheme-LAM5SAF2.mjs +0 -159
  774. package/dist/scilab-YCB5BINJ.mjs +0 -69
  775. package/dist/scss-GQSUZCJS.mjs +0 -8
  776. package/dist/scss-QK2HU2CK.mjs +0 -551
  777. package/dist/shell-UOPX2W7I.mjs +0 -30
  778. package/dist/shell-session-6VKIJ4UE.mjs +0 -8
  779. package/dist/smali-5FECMKNA.mjs +0 -137
  780. package/dist/smali-J3GXN3CR.mjs +0 -7
  781. package/dist/smalltalk-DJMU7FZQ.mjs +0 -7
  782. package/dist/smalltalk-VRGDZA3W.mjs +0 -66
  783. package/dist/smarty-R6DOPNCK.mjs +0 -9
  784. package/dist/sml-2F2GSLBP.mjs +0 -7
  785. package/dist/sml-NYPT675T.mjs +0 -81
  786. package/dist/solidity-PFRSAYM6.mjs +0 -8
  787. package/dist/solution-file-U4FZFD55.mjs +0 -7
  788. package/dist/soy-Y4XP2HZR.mjs +0 -9
  789. package/dist/sparql-FNWGIQ7N.mjs +0 -8
  790. package/dist/splunk-spl-JXVVU3X5.mjs +0 -7
  791. package/dist/sqf-5I2ZD7YO.mjs +0 -8
  792. package/dist/sqf-QDIV7VDQ.mjs +0 -86
  793. package/dist/sql-GBCT2QB4.mjs +0 -7
  794. package/dist/sql-WF5COLPY.mjs +0 -655
  795. package/dist/sql_more-OYKA6JQY.mjs +0 -60
  796. package/dist/squirrel-5LI5TRO2.mjs +0 -8
  797. package/dist/stan-LHT2ZONH.mjs +0 -7
  798. package/dist/stan-NZHR4RTX.mjs +0 -547
  799. package/dist/stata-L5S3GROB.mjs +0 -11
  800. package/dist/stata-M24CXK7H.mjs +0 -54
  801. package/dist/step21-R2GQ3VPU.mjs +0 -68
  802. package/dist/stylus-7JEVD63H.mjs +0 -7
  803. package/dist/stylus-EGU6YPC7.mjs +0 -605
  804. package/dist/subunit-TBVEFCZ4.mjs +0 -54
  805. package/dist/supercollider-DQRFF2ZM.mjs +0 -7
  806. package/dist/swift-KF3IM6ZM.mjs +0 -7
  807. package/dist/swift-Z37BBBV6.mjs +0 -799
  808. package/dist/systemd-MN3J4ZZP.mjs +0 -7
  809. package/dist/t4-cs-4VGLEZ3E.mjs +0 -10
  810. package/dist/t4-templating-Z5UNC7NL.mjs +0 -7
  811. package/dist/t4-vb-WND6NL7I.mjs +0 -10
  812. package/dist/taggerscript-E4K2IWZI.mjs +0 -53
  813. package/dist/tap-CHINMJXZ.mjs +0 -8
  814. package/dist/tap-SOP3LUUF.mjs +0 -56
  815. package/dist/tcl-KFAY3Y76.mjs +0 -83
  816. package/dist/tcl-RYS635Z3.mjs +0 -7
  817. package/dist/textile-K4LIB2S4.mjs +0 -8
  818. package/dist/thrift-CD3DUU44.mjs +0 -49
  819. package/dist/toml-H32BR4RA.mjs +0 -7
  820. package/dist/tp-YEGGGPV6.mjs +0 -91
  821. package/dist/tremor-KW3FV3KC.mjs +0 -7
  822. package/dist/tsx-5J5VXZS5.mjs +0 -12
  823. package/dist/tt2-HGSBIVQ4.mjs +0 -10
  824. package/dist/turtle-3BXU77UR.mjs +0 -7
  825. package/dist/twig-BHEIMS2I.mjs +0 -70
  826. package/dist/twig-WPWEOXUJ.mjs +0 -9
  827. package/dist/typescript-G3NW53G6.mjs +0 -9
  828. package/dist/typescript-XCHCHZTB.mjs +0 -628
  829. package/dist/typoscript-JAVNW6VK.mjs +0 -7
  830. package/dist/unrealscript-42PWKY6Q.mjs +0 -7
  831. package/dist/uorazor-JCCJPUCB.mjs +0 -7
  832. package/dist/uri-6TOG7EQ3.mjs +0 -7
  833. package/dist/v-U43HBEJL.mjs +0 -8
  834. package/dist/vala-DG57MCH7.mjs +0 -8
  835. package/dist/vala-SOJ7ADYF.mjs +0 -51
  836. package/dist/vbnet-NANZ6YNZ.mjs +0 -164
  837. package/dist/vbnet-VGGYD7UL.mjs +0 -8
  838. package/dist/vbscript-ZGKTU75O.mjs +0 -68
  839. package/dist/vbscript-html-IXDLQQWA.mjs +0 -24
  840. package/dist/velocity-I7WPNNRT.mjs +0 -8
  841. package/dist/verilog-Q2SCWKH6.mjs +0 -7
  842. package/dist/verilog-TOWZGWW5.mjs +0 -72
  843. package/dist/vhdl-LMAC2JYU.mjs +0 -51
  844. package/dist/vhdl-UMPVMOXL.mjs +0 -7
  845. package/dist/vim-2YLACCEH.mjs +0 -74
  846. package/dist/vim-B5DEGKND.mjs +0 -7
  847. package/dist/visual-basic-TH2SIMKY.mjs +0 -7
  848. package/dist/warpscript-DRY2GDSF.mjs +0 -7
  849. package/dist/wasm-5A4VSDDR.mjs +0 -7
  850. package/dist/web-idl-DDXJ6PB7.mjs +0 -7
  851. package/dist/wgsl-BTSX35ZR.mjs +0 -7
  852. package/dist/wiki-7DBBSDZ4.mjs +0 -8
  853. package/dist/wolfram-GZXM3VCU.mjs +0 -7
  854. package/dist/wren-67TXQCEN.mjs +0 -7
  855. package/dist/x86asm-SBYXVAPW.mjs +0 -106
  856. package/dist/xeora-DPVBEV2S.mjs +0 -8
  857. package/dist/xl-MJ5LQ7IG.mjs +0 -77
  858. package/dist/xml-FLJSLCB4.mjs +0 -254
  859. package/dist/xml-doc-3NHESP5E.mjs +0 -8
  860. package/dist/xojo-AKFOJ5KB.mjs +0 -7
  861. package/dist/xquery-KPNYT5DH.mjs +0 -161
  862. package/dist/xquery-WALO52IF.mjs +0 -8
  863. package/dist/yaml-CDPEVNU3.mjs +0 -7
  864. package/dist/yaml-GBY4TVPN.mjs +0 -173
  865. package/dist/yang-W5ZMJ3A7.mjs +0 -7
  866. package/dist/zephir-Y2H2MA66.mjs +0 -118
  867. package/dist/zig-7XFLDRZS.mjs +0 -7
  868. package/dist/{ILLMProvider-BynaFBpy.d.mts → ILLMProvider-DO5gj-e5.d.mts} +83 -83
  869. package/dist/{ILLMProvider-BynaFBpy.d.ts → ILLMProvider-DO5gj-e5.d.ts} +83 -83
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, MouseEvent, ReactNode, ElementType } from 'react';
2
- import { W as WidgetPosition, P as Product, u as UIConfig, c as ProjectChatSettings, q as RagMessage, y as VectorMatch, L as LLMConfig, f as EmbeddingConfig, V as VectorDBConfig, U as UITransformationResponse, p as RagConfig, I as ILLMProvider, h as IngestDocument, C as ChatMessage, e as ChatResponse, _ as RetrievalResult, v as UniversalRagConfig } from './ILLMProvider-BynaFBpy.js';
2
+ import { W as WidgetPosition, P as Product, u as UIConfig, c as ProjectChatSettings, q as RagMessage, y as VectorMatch, p as RagConfig, I as ILLMProvider, h as IngestDocument, C as ChatMessage, e as ChatResponse, _ as RetrievalResult, v as UniversalRagConfig, U as UITransformationResponse, L as LLMConfig, f as EmbeddingConfig, V as VectorDBConfig } from './ILLMProvider-DO5gj-e5.js';
3
3
 
4
4
  interface ArchitectureCardProps {
5
5
  icon: ReactNode;
@@ -134,7 +134,14 @@ interface ClientConfig {
134
134
  retrivoraApiBase?: string;
135
135
  projectSettings?: ProjectChatSettings;
136
136
  autoLoadProjectSettings?: boolean;
137
+ /** True while validate + /config are still in-flight. ChatWidget shows nothing until false. */
137
138
  isProjectSettingsLoading?: boolean;
139
+ /** True once /validate succeeds. False if license is expired/invalid/revoked. */
140
+ isLicenseValid?: boolean;
141
+ /** True once /config returns 200 and config is populated. False if /config call failed. */
142
+ isConfigLoaded?: boolean;
143
+ /** Human-readable error from the init sequence (license error or config fetch error). */
144
+ initError?: string;
138
145
  }
139
146
  interface ConfigProviderProps {
140
147
  config?: {
@@ -159,246 +166,6 @@ interface ConfigProviderProps {
159
166
  children: ReactNode;
160
167
  }
161
168
 
162
- /**
163
- * Dynamically resolved SDK Version from package.json
164
- */
165
- declare const SDK_VERSION: string;
166
-
167
- /**
168
- * ConfigFetcher.ts — Dynamically fetches project credentials from Retrivora Control Plane
169
- * without hardcoding plain-text master keys in NPM package binaries.
170
- *
171
- * SECURITY: The SDK must ONLY call the Retrivora Control Plane at https://www.retrivora.com.
172
- * It must never call the end user's own localhost or any other endpoint.
173
- * LLM and embedding calls are proxied through https://www.retrivora.com/api/v1 which
174
- * forwards to https://llm.retrivora.com with the server-side LITELLM_MASTER_KEY.
175
- */
176
-
177
- interface RemoteVectorConfig {
178
- apiKey: string;
179
- indexName: string;
180
- provider: string;
181
- projectId?: string;
182
- namespace?: string;
183
- }
184
- interface RemoteEmbeddingConfig {
185
- provider: string;
186
- model: string;
187
- baseUrl: string;
188
- apiKey: string;
189
- profile?: string;
190
- }
191
- interface RemoteLLMConfig {
192
- provider: string;
193
- model: string;
194
- baseUrl: string;
195
- apiKey: string;
196
- profile?: string;
197
- }
198
- interface RemoteConfig {
199
- projectId?: string;
200
- tier?: string;
201
- isActive?: boolean;
202
- expiresAt?: string;
203
- vectorDb: RemoteVectorConfig;
204
- embedding: RemoteEmbeddingConfig;
205
- llm: RemoteLLMConfig;
206
- workspace?: {
207
- namespace: string;
208
- indexName: string;
209
- };
210
- projectSettings?: ProjectChatSettings;
211
- }
212
-
213
- declare class ConfigFetcher {
214
- private static cache;
215
- private static readonly TTL_MS;
216
- /**
217
- * Fetch full project configuration (vectorDb + embedding + llm + workspace) from Retrivora Control Plane.
218
- *
219
- * The SDK calls https://www.retrivora.com/api/v1/config with the project ID and license key.
220
- * The server validates the license against the database and returns:
221
- * - validity (tier, isActive, expiresAt)
222
- * - LLM model info
223
- * - embedding model info
224
- * - Pinecone index name and workspace/namespace
225
- *
226
- * The Pinecone API key is NOT returned (server-only). The SDK uses local
227
- * PINECONE_API_KEY if available, or vector operations are handled server-side.
228
- */
229
- static fetchRemoteConfig(projectId: string, licenseKey?: string): Promise<RemoteConfig | null>;
230
- /** Convenience: fetch only vector DB config (backwards compat). */
231
- static fetchRemoteVectorConfig(projectId: string, licenseKey?: string): Promise<RemoteVectorConfig | null>;
232
- }
233
-
234
- /**
235
- * LicenseConfigResolver — Resolves LLM and embedding configuration
236
- * based on the user's license tier from Retrivora admin dashboard.
237
- *
238
- * The end-user SDK only needs:
239
- * - licenseKey (JWT token from Retrivora)
240
- * - projectId (workspace identifier)
241
- *
242
- * Configuration includes:
243
- * 1. Tier-based model selection (/api/v1/config)
244
- * 2. Provider API credentials (/api/v1/credentials)
245
- * 3. Vector DB and rate limit settings
246
- *
247
- * All provider API keys (Gemini, Groq, Pinecone) are stored on Retrivora backend
248
- * and never exposed to end-users directly.
249
- */
250
-
251
- interface LicenseTierConfig {
252
- tier: 'free_trial' | 'free' | 'hobby' | 'pro' | 'enterprise';
253
- llmModel: string;
254
- embeddingModel: string;
255
- embeddingDimensions: number;
256
- maxTokens: number;
257
- chunkSize: number;
258
- chunkOverlap: number;
259
- topK: number;
260
- vectorDb: {
261
- provider: string;
262
- indexName: string;
263
- };
264
- rateLimit?: {
265
- requestsPerMinute: number;
266
- tokensPerDay: number;
267
- };
268
- systemPrompt?: string;
269
- }
270
- interface ProviderCredentials {
271
- geminiApiKey?: string;
272
- groqApiKey?: string;
273
- pineconeApiKey?: string;
274
- textEmbeddingProvider?: string;
275
- }
276
- interface ProviderCredentials {
277
- geminiApiKey?: string;
278
- groqApiKey?: string;
279
- pineconeApiKey?: string;
280
- textEmbeddingProvider?: string;
281
- }
282
- /**
283
- * Resolver for license-based configuration.
284
- * This is called by the end-user SDK after they instantiate with licenseKey + projectId.
285
- */
286
- declare class LicenseConfigResolver {
287
- private static readonly RETRIVORA_CONFIG_URL;
288
- private static readonly RETRIVORA_CREDENTIALS_URL;
289
- private static readonly CACHE_TTL_MS;
290
- private static configCache;
291
- /**
292
- * Validate and resolve configuration from license key
293
- * @param licenseKey JWT token from Retrivora (format: rtv_eyJ...)
294
- * @param projectId Workspace identifier
295
- * @returns Resolved LLM and embedding configs with provider credentials
296
- */
297
- static resolveFromLicense(licenseKey: string, projectId: string): Promise<{
298
- llmConfig: LLMConfig;
299
- embeddingConfig: EmbeddingConfig;
300
- vectorDbConfig: VectorDBConfig;
301
- tierConfig: LicenseTierConfig;
302
- credentials: ProviderCredentials;
303
- }>;
304
- /**
305
- * Fetch tier configuration from Retrivora config API
306
- */
307
- private static fetchTierConfig;
308
- /**
309
- * Fetch provider credentials from Retrivora credentials API
310
- */
311
- private static fetchProviderCredentials;
312
- /**
313
- * Build LLM, embedding, and vector DB configs from tier and credentials
314
- */
315
- private static buildConfigs;
316
- /**
317
- * Get provider-specific vector DB options
318
- */
319
- private static getVectorDbOptions;
320
- /**
321
- * Clear configuration cache (useful for testing or manual refresh)
322
- */
323
- static clearCache(): void;
324
- /**
325
- * Get cache stats for debugging
326
- */
327
- static getCacheStats(): {
328
- size: number;
329
- entries: string[];
330
- };
331
- }
332
-
333
- /**
334
- * Primary rendering outcome types supported by the decision engine.
335
- */
336
- type RenderType = 'text' | 'table' | 'carousel' | 'chart' | 'mixed' | 'card' | 'none';
337
- /**
338
- * Chart sub-types available when renderType === 'chart'.
339
- */
340
- type ChartType = 'bar' | 'line' | 'pie' | 'scatter';
341
- /**
342
- * High-level intent classification categories.
343
- */
344
- type IntentCategory = 'information_lookup' | 'product_search' | 'recommendation' | 'comparison' | 'analytics' | 'trend_analysis' | 'ranking' | 'summarization';
345
- /**
346
- * Individual section specifier for multi-section (mixed) responses.
347
- */
348
- interface RenderSectionDecision {
349
- type: RenderType;
350
- chartType?: ChartType;
351
- title?: string;
352
- }
353
- /**
354
- * Final decision produced by the Visualization Decision Engine.
355
- */
356
- interface RenderDecision {
357
- /** Primary rendering format selected */
358
- renderType: RenderType;
359
- /** Specific chart sub-type if renderType === 'chart' */
360
- chartType?: ChartType;
361
- /** Confidence score between 0.0 and 1.0 */
362
- confidence: number;
363
- /** Human-readable explanation of why this decision was reached */
364
- reason: string;
365
- /** Sub-sections if renderType === 'mixed' */
366
- sections?: RenderSectionDecision[];
367
- }
368
- /**
369
- * Context provided to the intent classifier & decision engine rules.
370
- */
371
- interface DecisionContext {
372
- /** Original user prompt/query string */
373
- userQuery: string;
374
- /** Vector DB retrieved documents / context records */
375
- retrievedDocuments?: VectorMatch[];
376
- /** Optional LLM text response if already available */
377
- llmResponse?: string;
378
- /** Additional custom metadata or config settings */
379
- metadata?: Record<string, unknown>;
380
- }
381
- /**
382
- * Interface implemented by rule strategies in the Rule Engine.
383
- */
384
- interface IRenderRule {
385
- /** Unique name of the decision rule */
386
- name: string;
387
- /** Precedence score (higher priority rules run first) */
388
- priority: number;
389
- /** Evaluate the rule against current query context and classified intent */
390
- evaluate(context: DecisionContext, intent: IntentCategory): RenderDecision | null;
391
- }
392
- /**
393
- * Interface implemented by pluggable Renderer Strategies in RendererRegistry.
394
- */
395
- interface IRendererStrategy {
396
- /** Render type identifier handled by this strategy */
397
- type: RenderType | string;
398
- /** Transform input data into a standardized UITransformationResponse payload */
399
- render(data: unknown, options?: Record<string, unknown>): UITransformationResponse;
400
- }
401
-
402
169
  /**
403
170
  * DocumentChunker — splits long text into overlapping chunks
404
171
  * suitable for vector embedding and retrieval.
@@ -443,6 +210,141 @@ declare class DocumentChunker {
443
210
  }>): Chunk[];
444
211
  }
445
212
 
213
+ type CircuitState = 'closed' | 'open' | 'half-open';
214
+ interface CircuitBreakerOptions {
215
+ failureThreshold?: number;
216
+ resetTimeoutMs?: number;
217
+ halfOpenMaxCalls?: number;
218
+ }
219
+ declare class CircuitBreaker {
220
+ private state;
221
+ private failureCount;
222
+ private successCount;
223
+ private lastFailureAt;
224
+ private halfOpenCalls;
225
+ private readonly failureThreshold;
226
+ readonly resetTimeoutMs: number;
227
+ private readonly halfOpenMaxCalls;
228
+ constructor(options?: CircuitBreakerOptions);
229
+ record(success: boolean): void;
230
+ canExecute(): boolean;
231
+ /**
232
+ * Increments the half-open probe counter when a call is attempted in
233
+ * half-open state. Must be called after `canExecute()` returns true and
234
+ * the state is half-open. Safe to call in other states (no-op).
235
+ */
236
+ incrementHalfOpen(): void;
237
+ /**
238
+ * Returns the number of milliseconds the caller should wait before retrying.
239
+ * Returns 0 when the circuit is closed or half-open (i.e., calls are allowed).
240
+ *
241
+ * Fix TYPE-1: replaces direct access to private `lastFailureAt` field via
242
+ * `(cb as any).lastFailureAt` in BatchProcessor.
243
+ */
244
+ retryAfterMs(): number;
245
+ wrap<T>(fn: () => Promise<T>): Promise<T>;
246
+ getState(): CircuitState;
247
+ getFailureCount(): number;
248
+ reset(): void;
249
+ }
250
+
251
+ /**
252
+ * BatchProcessor.ts — Handles batch operations with retry logic.
253
+ *
254
+ * Provides exponential backoff, partial failure tracking, and
255
+ * configurable batch sizing for efficient bulk operations.
256
+ *
257
+ * Fix ARCH-3: BatchProcessor no longer holds a static module-level
258
+ * CircuitBreaker that was shared across all callers. Each call site
259
+ * that needs circuit-breaking should create its own CircuitBreaker
260
+ * and pass it via BatchOptions.circuitBreaker so failures in one
261
+ * upstream (e.g., Pinecone) do not trip the breaker for unrelated
262
+ * upstreams (e.g., PostgreSQL).
263
+ */
264
+
265
+ interface BatchOptions {
266
+ /** Maximum number of items per batch */
267
+ batchSize?: number;
268
+ /** Maximum number of retries for transient failures */
269
+ maxRetries?: number;
270
+ /** Initial delay before retry in milliseconds */
271
+ initialDelayMs?: number;
272
+ /** Maximum delay between retries in milliseconds */
273
+ maxDelayMs?: number;
274
+ /** Multiplier for exponential backoff */
275
+ backoffMultiplier?: number;
276
+ /** Whether to throw on any partial failure */
277
+ throwOnPartialFailure?: boolean;
278
+ /**
279
+ * Optional circuit breaker scoped to the upstream being called.
280
+ *
281
+ * Fix ARCH-3: provide your own CircuitBreaker instance per upstream so
282
+ * failures in one provider (e.g., Pinecone) do not trip the breaker for
283
+ * unrelated providers (e.g., PostgreSQL). When omitted, calls are made
284
+ * directly without circuit-breaking.
285
+ */
286
+ circuitBreaker?: CircuitBreaker;
287
+ }
288
+ interface BatchResult<T> {
289
+ results: T[];
290
+ errors: Array<{
291
+ index: number;
292
+ error: Error;
293
+ itemCount?: number;
294
+ }>;
295
+ totalProcessed: number;
296
+ totalFailed: number;
297
+ }
298
+ /**
299
+ * Determines if an error is transient (should retry)
300
+ */
301
+ declare function isTransientError(error: unknown): boolean;
302
+ declare class BatchProcessor {
303
+ /**
304
+ * Execute a processor call, optionally through a caller-provided circuit
305
+ * breaker. Only transient failures count toward opening the circuit.
306
+ *
307
+ * Fix ARCH-3: removed the static module-level `cb` field. Callers must
308
+ * supply their own CircuitBreaker via BatchOptions.circuitBreaker.
309
+ * Fix TYPE-1: uses the public retryAfterMs() and incrementHalfOpen()
310
+ * API instead of accessing private fields via `as any`.
311
+ */
312
+ private static executeWithCircuitBreaker;
313
+ /**
314
+ * Processes an array of items in configurable batches with retry logic.
315
+ *
316
+ * @param items - Items to process
317
+ * @param processor - Async function that processes a batch of items
318
+ * @param options - Configuration for batch size, retries, etc.
319
+ * @returns Object with results, errors, and statistics
320
+ *
321
+ * @example
322
+ * const docs = [...];
323
+ * const result = await BatchProcessor.processBatch(
324
+ * docs,
325
+ * (batch) => vectorDB.batchUpsert(batch),
326
+ * { batchSize: 100, maxRetries: 3 }
327
+ * );
328
+ */
329
+ static processBatch<T, R>(items: T[], processor: (batch: T[]) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
330
+ /**
331
+ * Processes items sequentially (one at a time) with retry logic.
332
+ * Useful for operations that don't support batching or when granular
333
+ * error tracking is needed.
334
+ */
335
+ static processSequential<T, R>(items: T[], processor: (item: T) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
336
+ /**
337
+ * Maps over items with retry logic, returning results in order.
338
+ * Like Array.map() but with async processing and automatic retries.
339
+ */
340
+ static mapWithRetry<T, R>(items: T[], mapper: (item: T) => Promise<R>, options?: BatchOptions): Promise<R[]>;
341
+ /**
342
+ * Parallel processor with concurrency limit.
343
+ * Processes up to `concurrency` items at the same time.
344
+ */
345
+ static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
346
+ }
347
+
446
348
  /**
447
349
  * Pipeline — orchestrates the RAG flow: Embed → Search → Augment → Generate.
448
350
  *
@@ -576,42 +478,150 @@ declare class Retrivora {
576
478
  }
577
479
 
578
480
  /**
579
- * Named SDK exceptions make failures machine-readable for host applications.
481
+ * Dynamically resolved SDK Version from package.json
580
482
  */
581
- type RetrivoraErrorCode = 'PROVIDER_NOT_FOUND' | 'EMBEDDING_FAILED' | 'RETRIEVAL_FAILED' | 'RATE_LIMITED' | 'CONFIGURATION_ERROR' | 'AUTHENTICATION_ERROR' | 'SDK_VERSION_UNSUPPORTED' | 'LICENSE_VALIDATION_ERROR';
582
- declare class RetrivoraError extends Error {
583
- readonly code: RetrivoraErrorCode;
584
- readonly details?: unknown;
585
- constructor(message: string, code: RetrivoraErrorCode, details?: unknown);
483
+ declare const SDK_VERSION: string;
484
+
485
+ /**
486
+ * ConfigFetcher.ts — Dynamically fetches project credentials from Retrivora Control Plane
487
+ * without hardcoding plain-text master keys in NPM package binaries.
488
+ *
489
+ * SECURITY: The SDK must ONLY call the Retrivora Control Plane at https://www.retrivora.com.
490
+ * It must never call the end user's own localhost or any other endpoint.
491
+ * LLM and embedding calls are proxied through https://www.retrivora.com/api/v1 which
492
+ * forwards to https://llm.retrivora.com with the server-side LITELLM_MASTER_KEY.
493
+ */
494
+
495
+ interface RemoteVectorConfig {
496
+ apiKey: string;
497
+ indexName: string;
498
+ provider: string;
499
+ projectId?: string;
500
+ namespace?: string;
586
501
  }
587
- declare class ProviderNotFoundException extends RetrivoraError {
588
- constructor(providerType: string, provider: string, details?: unknown);
502
+ interface RemoteEmbeddingConfig {
503
+ provider: string;
504
+ model: string;
505
+ baseUrl: string;
506
+ apiKey: string;
507
+ profile?: string;
589
508
  }
590
- declare class EmbeddingFailedException extends RetrivoraError {
591
- constructor(message?: string, details?: unknown);
509
+ interface RemoteLLMConfig {
510
+ provider: string;
511
+ model: string;
512
+ baseUrl: string;
513
+ apiKey: string;
514
+ profile?: string;
592
515
  }
593
- declare class RetrievalException extends RetrivoraError {
594
- constructor(message?: string, details?: unknown);
516
+ interface RemoteConfig {
517
+ projectId?: string;
518
+ tier?: string;
519
+ isActive?: boolean;
520
+ expiresAt?: string;
521
+ allowedModels?: string[];
522
+ vectorDb: RemoteVectorConfig;
523
+ embedding: RemoteEmbeddingConfig;
524
+ llm: RemoteLLMConfig;
525
+ workspace?: {
526
+ namespace: string;
527
+ indexName: string;
528
+ };
529
+ projectSettings?: ProjectChatSettings;
595
530
  }
596
- declare class RateLimitException extends RetrivoraError {
597
- constructor(message?: string, details?: unknown);
531
+
532
+ declare class ConfigFetcher {
533
+ private static cache;
534
+ /** In-flight deduplication: concurrent callers for the same key share one network request */
535
+ private static inflight;
536
+ private static readonly TTL_MS;
537
+ /**
538
+ * Fetch full project configuration (vectorDb + embedding + llm + workspace) from Retrivora Control Plane.
539
+ *
540
+ * The SDK calls https://www.retrivora.com/api/v1/config with the project ID and license key.
541
+ * The server validates the license against the database and returns:
542
+ * - validity (tier, isActive, expiresAt)
543
+ * - LLM model info
544
+ * - embedding model info
545
+ * - Pinecone index name and workspace/namespace
546
+ *
547
+ * The Pinecone API key is NOT returned (server-only). The SDK uses local
548
+ * PINECONE_API_KEY if available, or vector operations are handled server-side.
549
+ */
550
+ static fetchRemoteConfig(projectId: string, licenseKey?: string): Promise<RemoteConfig | null>;
551
+ /** Internal: performs the actual HTTP fetch. Shared by all callers via inflight dedup. */
552
+ private static _doFetch;
553
+ /** Convenience: fetch only vector DB config (backwards compat). */
554
+ static fetchRemoteVectorConfig(projectId: string, licenseKey?: string): Promise<RemoteVectorConfig | null>;
598
555
  }
599
- declare class ConfigurationException extends RetrivoraError {
600
- constructor(message: string, details?: unknown);
556
+
557
+ /**
558
+ * Primary rendering outcome types supported by the decision engine.
559
+ */
560
+ type RenderType = 'text' | 'table' | 'carousel' | 'chart' | 'mixed' | 'card' | 'none';
561
+ /**
562
+ * Chart sub-types available when renderType === 'chart'.
563
+ */
564
+ type ChartType = 'bar' | 'line' | 'pie' | 'scatter';
565
+ /**
566
+ * High-level intent classification categories.
567
+ */
568
+ type IntentCategory = 'information_lookup' | 'product_search' | 'recommendation' | 'comparison' | 'analytics' | 'trend_analysis' | 'ranking' | 'summarization';
569
+ /**
570
+ * Individual section specifier for multi-section (mixed) responses.
571
+ */
572
+ interface RenderSectionDecision {
573
+ type: RenderType;
574
+ chartType?: ChartType;
575
+ title?: string;
601
576
  }
602
- declare class AuthenticationException extends RetrivoraError {
603
- constructor(message?: string, details?: unknown);
577
+ /**
578
+ * Final decision produced by the Visualization Decision Engine.
579
+ */
580
+ interface RenderDecision {
581
+ /** Primary rendering format selected */
582
+ renderType: RenderType;
583
+ /** Specific chart sub-type if renderType === 'chart' */
584
+ chartType?: ChartType;
585
+ /** Confidence score between 0.0 and 1.0 */
586
+ confidence: number;
587
+ /** Human-readable explanation of why this decision was reached */
588
+ reason: string;
589
+ /** Sub-sections if renderType === 'mixed' */
590
+ sections?: RenderSectionDecision[];
604
591
  }
605
- declare class SDKVersionUnsupportedError extends RetrivoraError {
606
- constructor(message?: string, details?: unknown);
592
+ /**
593
+ * Context provided to the intent classifier & decision engine rules.
594
+ */
595
+ interface DecisionContext {
596
+ /** Original user prompt/query string */
597
+ userQuery: string;
598
+ /** Vector DB retrieved documents / context records */
599
+ retrievedDocuments?: VectorMatch[];
600
+ /** Optional LLM text response if already available */
601
+ llmResponse?: string;
602
+ /** Additional custom metadata or config settings */
603
+ metadata?: Record<string, unknown>;
607
604
  }
608
- declare class LicenseValidationError extends RetrivoraError {
609
- constructor(message?: string, details?: unknown);
605
+ /**
606
+ * Interface implemented by rule strategies in the Rule Engine.
607
+ */
608
+ interface IRenderRule {
609
+ /** Unique name of the decision rule */
610
+ name: string;
611
+ /** Precedence score (higher priority rules run first) */
612
+ priority: number;
613
+ /** Evaluate the rule against current query context and classified intent */
614
+ evaluate(context: DecisionContext, intent: IntentCategory): RenderDecision | null;
610
615
  }
611
616
  /**
612
- * Wraps any unknown error into an appropriate RetrivoraError subclass.
617
+ * Interface implemented by pluggable Renderer Strategies in RendererRegistry.
613
618
  */
614
- declare function wrapError(err: unknown, defaultCode: RetrivoraErrorCode, defaultMessage?: string): RetrivoraError;
619
+ interface IRendererStrategy {
620
+ /** Render type identifier handled by this strategy */
621
+ type: RenderType | string;
622
+ /** Transform input data into a standardized UITransformationResponse payload */
623
+ render(data: unknown, options?: Record<string, unknown>): UITransformationResponse;
624
+ }
615
625
 
616
626
  /**
617
627
  * Input contract for `LicenseValidator.validate()`.
@@ -681,6 +691,8 @@ interface LicenseValidationResponse {
681
691
  declare class LicenseValidator {
682
692
  private static instance;
683
693
  private cache;
694
+ /** In-flight deduplication: concurrent calls for same key share one network request */
695
+ private inflight;
684
696
  private static readonly SUCCESS_CACHE_TTL_MS;
685
697
  private constructor();
686
698
  /** @returns Singleton instance of the validator (shared cache across all consumers). */
@@ -708,141 +720,145 @@ declare class LicenseValidator {
708
720
  * lock the chat widget.
709
721
  */
710
722
  validate(request: LicenseValidationRequest): Promise<LicenseValidationResponse>;
711
- }
712
-
713
- type CircuitState = 'closed' | 'open' | 'half-open';
714
- interface CircuitBreakerOptions {
715
- failureThreshold?: number;
716
- resetTimeoutMs?: number;
717
- halfOpenMaxCalls?: number;
718
- }
719
- declare class CircuitBreaker {
720
- private state;
721
- private failureCount;
722
- private successCount;
723
- private lastFailureAt;
724
- private halfOpenCalls;
725
- private readonly failureThreshold;
726
- readonly resetTimeoutMs: number;
727
- private readonly halfOpenMaxCalls;
728
- constructor(options?: CircuitBreakerOptions);
729
- record(success: boolean): void;
730
- canExecute(): boolean;
731
- /**
732
- * Increments the half-open probe counter when a call is attempted in
733
- * half-open state. Must be called after `canExecute()` returns true and
734
- * the state is half-open. Safe to call in other states (no-op).
735
- */
736
- incrementHalfOpen(): void;
737
- /**
738
- * Returns the number of milliseconds the caller should wait before retrying.
739
- * Returns 0 when the circuit is closed or half-open (i.e., calls are allowed).
740
- *
741
- * Fix TYPE-1: replaces direct access to private `lastFailureAt` field via
742
- * `(cb as any).lastFailureAt` in BatchProcessor.
743
- */
744
- retryAfterMs(): number;
745
- wrap<T>(fn: () => Promise<T>): Promise<T>;
746
- getState(): CircuitState;
747
- getFailureCount(): number;
748
- reset(): void;
723
+ /** Performs the actual network request. Called once; result shared by in-flight dedup. */
724
+ private _doNetworkValidate;
749
725
  }
750
726
 
751
727
  /**
752
- * BatchProcessor.ts — Handles batch operations with retry logic.
728
+ * LicenseConfigResolver — Resolves LLM and embedding configuration
729
+ * based on the user's license tier from Retrivora admin dashboard.
753
730
  *
754
- * Provides exponential backoff, partial failure tracking, and
755
- * configurable batch sizing for efficient bulk operations.
731
+ * The end-user SDK only needs:
732
+ * - licenseKey (JWT token from Retrivora)
733
+ * - projectId (workspace identifier)
756
734
  *
757
- * Fix ARCH-3: BatchProcessor no longer holds a static module-level
758
- * CircuitBreaker that was shared across all callers. Each call site
759
- * that needs circuit-breaking should create its own CircuitBreaker
760
- * and pass it via BatchOptions.circuitBreaker so failures in one
761
- * upstream (e.g., Pinecone) do not trip the breaker for unrelated
762
- * upstreams (e.g., PostgreSQL).
735
+ * Configuration includes:
736
+ * 1. Tier-based model selection (/api/v1/config)
737
+ * 2. Provider API credentials (/api/v1/credentials)
738
+ * 3. Vector DB and rate limit settings
739
+ *
740
+ * All provider API keys (Gemini, Groq, Pinecone) are stored on Retrivora backend
741
+ * and never exposed to end-users directly.
763
742
  */
764
743
 
765
- interface BatchOptions {
766
- /** Maximum number of items per batch */
767
- batchSize?: number;
768
- /** Maximum number of retries for transient failures */
769
- maxRetries?: number;
770
- /** Initial delay before retry in milliseconds */
771
- initialDelayMs?: number;
772
- /** Maximum delay between retries in milliseconds */
773
- maxDelayMs?: number;
774
- /** Multiplier for exponential backoff */
775
- backoffMultiplier?: number;
776
- /** Whether to throw on any partial failure */
777
- throwOnPartialFailure?: boolean;
778
- /**
779
- * Optional circuit breaker scoped to the upstream being called.
780
- *
781
- * Fix ARCH-3: provide your own CircuitBreaker instance per upstream so
782
- * failures in one provider (e.g., Pinecone) do not trip the breaker for
783
- * unrelated providers (e.g., PostgreSQL). When omitted, calls are made
784
- * directly without circuit-breaking.
785
- */
786
- circuitBreaker?: CircuitBreaker;
744
+ interface LicenseTierConfig {
745
+ tier: 'free_trial' | 'free' | 'hobby' | 'pro' | 'enterprise';
746
+ llmModel: string;
747
+ embeddingModel: string;
748
+ embeddingDimensions: number;
749
+ maxTokens: number;
750
+ chunkSize: number;
751
+ chunkOverlap: number;
752
+ topK: number;
753
+ vectorDb: {
754
+ provider: string;
755
+ indexName: string;
756
+ };
757
+ rateLimit?: {
758
+ requestsPerMinute: number;
759
+ tokensPerDay: number;
760
+ };
761
+ systemPrompt?: string;
787
762
  }
788
- interface BatchResult<T> {
789
- results: T[];
790
- errors: Array<{
791
- index: number;
792
- error: Error;
793
- itemCount?: number;
794
- }>;
795
- totalProcessed: number;
796
- totalFailed: number;
763
+ interface ProviderCredentials {
764
+ geminiApiKey?: string;
765
+ groqApiKey?: string;
766
+ pineconeApiKey?: string;
767
+ textEmbeddingProvider?: string;
768
+ }
769
+ interface ProviderCredentials {
770
+ geminiApiKey?: string;
771
+ groqApiKey?: string;
772
+ pineconeApiKey?: string;
773
+ textEmbeddingProvider?: string;
797
774
  }
798
775
  /**
799
- * Determines if an error is transient (should retry)
776
+ * Resolver for license-based configuration.
777
+ * This is called by the end-user SDK after they instantiate with licenseKey + projectId.
800
778
  */
801
- declare function isTransientError(error: unknown): boolean;
802
- declare class BatchProcessor {
779
+ declare class LicenseConfigResolver {
780
+ private static readonly RETRIVORA_CONFIG_URL;
781
+ private static readonly RETRIVORA_CREDENTIALS_URL;
782
+ private static readonly CACHE_TTL_MS;
783
+ private static configCache;
803
784
  /**
804
- * Execute a processor call, optionally through a caller-provided circuit
805
- * breaker. Only transient failures count toward opening the circuit.
806
- *
807
- * Fix ARCH-3: removed the static module-level `cb` field. Callers must
808
- * supply their own CircuitBreaker via BatchOptions.circuitBreaker.
809
- * Fix TYPE-1: uses the public retryAfterMs() and incrementHalfOpen()
810
- * API instead of accessing private fields via `as any`.
785
+ * Validate and resolve configuration from license key
786
+ * @param licenseKey JWT token from Retrivora (format: rtv_eyJ...)
787
+ * @param projectId Workspace identifier
788
+ * @returns Resolved LLM and embedding configs with provider credentials
811
789
  */
812
- private static executeWithCircuitBreaker;
790
+ static resolveFromLicense(licenseKey: string, projectId: string): Promise<{
791
+ llmConfig: LLMConfig;
792
+ embeddingConfig: EmbeddingConfig;
793
+ vectorDbConfig: VectorDBConfig;
794
+ tierConfig: LicenseTierConfig;
795
+ credentials: ProviderCredentials;
796
+ }>;
813
797
  /**
814
- * Processes an array of items in configurable batches with retry logic.
815
- *
816
- * @param items - Items to process
817
- * @param processor - Async function that processes a batch of items
818
- * @param options - Configuration for batch size, retries, etc.
819
- * @returns Object with results, errors, and statistics
820
- *
821
- * @example
822
- * const docs = [...];
823
- * const result = await BatchProcessor.processBatch(
824
- * docs,
825
- * (batch) => vectorDB.batchUpsert(batch),
826
- * { batchSize: 100, maxRetries: 3 }
827
- * );
798
+ * Fetch tier configuration from Retrivora config API
828
799
  */
829
- static processBatch<T, R>(items: T[], processor: (batch: T[]) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
800
+ private static fetchTierConfig;
830
801
  /**
831
- * Processes items sequentially (one at a time) with retry logic.
832
- * Useful for operations that don't support batching or when granular
833
- * error tracking is needed.
802
+ * Fetch provider credentials from Retrivora credentials API
834
803
  */
835
- static processSequential<T, R>(items: T[], processor: (item: T) => Promise<R>, options?: BatchOptions): Promise<BatchResult<R>>;
804
+ private static fetchProviderCredentials;
836
805
  /**
837
- * Maps over items with retry logic, returning results in order.
838
- * Like Array.map() but with async processing and automatic retries.
806
+ * Build LLM, embedding, and vector DB configs from tier and credentials
839
807
  */
840
- static mapWithRetry<T, R>(items: T[], mapper: (item: T) => Promise<R>, options?: BatchOptions): Promise<R[]>;
808
+ private static buildConfigs;
841
809
  /**
842
- * Parallel processor with concurrency limit.
843
- * Processes up to `concurrency` items at the same time.
810
+ * Get provider-specific vector DB options
844
811
  */
845
- static processConcurrent<T, R>(items: T[], processor: (item: T) => Promise<R>, concurrency?: number, options?: BatchOptions): Promise<BatchResult<R>>;
812
+ private static getVectorDbOptions;
813
+ /**
814
+ * Clear configuration cache (useful for testing or manual refresh)
815
+ */
816
+ static clearCache(): void;
817
+ /**
818
+ * Get cache stats for debugging
819
+ */
820
+ static getCacheStats(): {
821
+ size: number;
822
+ entries: string[];
823
+ };
824
+ }
825
+
826
+ /**
827
+ * Named SDK exceptions make failures machine-readable for host applications.
828
+ */
829
+ type RetrivoraErrorCode = 'PROVIDER_NOT_FOUND' | 'EMBEDDING_FAILED' | 'RETRIEVAL_FAILED' | 'RATE_LIMITED' | 'CONFIGURATION_ERROR' | 'AUTHENTICATION_ERROR' | 'SDK_VERSION_UNSUPPORTED' | 'LICENSE_VALIDATION_ERROR';
830
+ declare class RetrivoraError extends Error {
831
+ readonly code: RetrivoraErrorCode;
832
+ readonly details?: unknown;
833
+ constructor(message: string, code: RetrivoraErrorCode, details?: unknown);
834
+ }
835
+ declare class ProviderNotFoundException extends RetrivoraError {
836
+ constructor(providerType: string, provider: string, details?: unknown);
837
+ }
838
+ declare class EmbeddingFailedException extends RetrivoraError {
839
+ constructor(message?: string, details?: unknown);
840
+ }
841
+ declare class RetrievalException extends RetrivoraError {
842
+ constructor(message?: string, details?: unknown);
843
+ }
844
+ declare class RateLimitException extends RetrivoraError {
845
+ constructor(message?: string, details?: unknown);
846
846
  }
847
+ declare class ConfigurationException extends RetrivoraError {
848
+ constructor(message: string, details?: unknown);
849
+ }
850
+ declare class AuthenticationException extends RetrivoraError {
851
+ constructor(message?: string, details?: unknown);
852
+ }
853
+ declare class SDKVersionUnsupportedError extends RetrivoraError {
854
+ constructor(message?: string, details?: unknown);
855
+ }
856
+ declare class LicenseValidationError extends RetrivoraError {
857
+ constructor(message?: string, details?: unknown);
858
+ }
859
+ /**
860
+ * Wraps any unknown error into an appropriate RetrivoraError subclass.
861
+ */
862
+ declare function wrapError(err: unknown, defaultCode: RetrivoraErrorCode, defaultMessage?: string): RetrivoraError;
847
863
 
848
864
  export { type RenderSectionDecision as $, AuthenticationException as A, type BatchOptions as B, type ChatWidgetProps as C, type DocumentUploadProps as D, EmbeddingFailedException as E, type RemoteVectorConfig as F, type RenderDecision as G, type RenderType as H, type IRenderRule as I, RetrievalException as J, Retrivora as K, type LicenseTierConfig as L, type MessageBubbleProps as M, RetrivoraError as N, type RetrivoraErrorCode as O, type ProductCardProps as P, SDKVersionUnsupportedError as Q, type RemoteConfig as R, type SourceCardProps as S, SDK_VERSION as T, isTransientError as U, type ArchitectureCardProps as V, DocumentChunker as W, LicenseConfigResolver as X, Pipeline as Y, type PipelineStep as Z, type ProviderPill as _, type ChatWindowProps as a, type Snippet as a0, wrapError as a1, type ConfigProviderProps as b, type ClientConfig as c, type ProductCarouselProps as d, type ChatViewportSize as e, BatchProcessor as f, type BatchResult as g, type ChartType as h, type Chunk as i, type ChunkOptions as j, CircuitBreaker as k, type CircuitBreakerOptions as l, ConfigFetcher as m, ConfigurationException as n, type DecisionContext as o, type IRendererStrategy as p, type IntentCategory as q, LicenseValidationError as r, type LicenseValidationRequest as s, type LicenseValidationResponse as t, LicenseValidator as u, type ProviderCredentials as v, ProviderNotFoundException as w, RateLimitException as x, type RemoteEmbeddingConfig as y, type RemoteLLMConfig as z };