@distri/react 0.2.7 → 0.2.8
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.
- package/dist/1c-2YH7WZEI.js +147 -0
- package/dist/abap-2E6FD6UM.js +6 -0
- package/dist/abnf-DTHGNPWA.js +81 -0
- package/dist/abnf-EQ2EQNMD.js +6 -0
- package/dist/accesslog-OXVH23VB.js +103 -0
- package/dist/actionscript-ET7ZSAQE.js +93 -0
- package/dist/actionscript-HY6HF3PK.js +6 -0
- package/dist/ada-FYSJBBKX.js +154 -0
- package/dist/ada-YIAPUA6Y.js +6 -0
- package/dist/agda-2S3QKIIQ.js +6 -0
- package/dist/al-K6VQB6U5.js +6 -0
- package/dist/angelscript-BNZ3LBKN.js +125 -0
- package/dist/antlr4-BTV7OTRY.js +6 -0
- package/dist/apache-XJP2D6HB.js +85 -0
- package/dist/apacheconf-TBVJNNAT.js +6 -0
- package/dist/apex-D7OMX2EB.js +7 -0
- package/dist/apl-4EJXPJSD.js +6 -0
- package/dist/applescript-J5GCFFUG.js +6 -0
- package/dist/applescript-SKJJ2FZC.js +147 -0
- package/dist/aql-Y3KTDBGX.js +6 -0
- package/dist/arcade-CY3X3QYD.js +155 -0
- package/dist/arduino-6V5KO7YA.js +431 -0
- package/dist/arduino-R55JMQT5.js +8 -0
- package/dist/arff-SVJCCOQL.js +6 -0
- package/dist/armasm-VRMSGYIS.js +102 -0
- package/dist/asciidoc-CW3L73RM.js +6 -0
- package/dist/asciidoc-FQ5LUNNR.js +284 -0
- package/dist/asm6502-LB4P66FI.js +6 -0
- package/dist/asmatmel-6ZDKQ3X6.js +6 -0
- package/dist/aspectj-HNDTQEPY.js +162 -0
- package/dist/aspnet-XM7CZDKV.js +7 -0
- package/dist/autohotkey-4HVH3263.js +6 -0
- package/dist/autohotkey-DPG2VG4A.js +85 -0
- package/dist/autoit-MFCBG2D2.js +169 -0
- package/dist/autoit-UMF5VNJ6.js +6 -0
- package/dist/avisynth-I5RAJYMS.js +6 -0
- package/dist/avrasm-WMPLDORW.js +70 -0
- package/dist/avro-idl-RVCXS3RF.js +6 -0
- package/dist/awk-TZ2EZBJY.js +75 -0
- package/dist/axapta-JHOYS5HS.js +176 -0
- package/dist/bash-6VMOROZO.js +6 -0
- package/dist/bash-SNIULQZM.js +145 -0
- package/dist/basic-WBLGJBZS.js +55 -0
- package/dist/basic-YYCIXV77.js +6 -0
- package/dist/batch-JUP4GVAU.js +6 -0
- package/dist/bbcode-6IALBDYG.js +6 -0
- package/dist/bicep-5Q3ZMQA2.js +6 -0
- package/dist/birb-NFCG4K4R.js +6 -0
- package/dist/bison-2LI2YQF5.js +7 -0
- package/dist/bnf-6ORTMFIN.js +6 -0
- package/dist/bnf-PBYAMK7P.js +41 -0
- package/dist/brainfuck-C6ODHU3N.js +6 -0
- package/dist/brainfuck-XW3AVWEW.js +49 -0
- package/dist/brightscript-QS23GEH5.js +6 -0
- package/dist/bro-KOK3VSWG.js +6 -0
- package/dist/bsl-PJUDWPSR.js +6 -0
- package/dist/c-FP7QIOU7.js +6 -0
- package/dist/c-M26WOP35.js +254 -0
- package/dist/c-like-H6XZALCF.js +431 -0
- package/dist/cal-S4EYYQTM.js +102 -0
- package/dist/capnproto-2Q7KBI3R.js +63 -0
- package/dist/ceylon-V33GPKQJ.js +74 -0
- package/dist/cfscript-QNHYEQQ6.js +6 -0
- package/dist/chaiscript-7HH2YQUT.js +8 -0
- package/dist/chunk-24VYMNIF.js +137 -0
- package/dist/chunk-25D4C7RW.js +47 -0
- package/dist/chunk-25FROOH6.js +151 -0
- package/dist/chunk-27CW3EDR.js +110 -0
- package/dist/chunk-2IKWR5BD.js +136 -0
- package/dist/chunk-2OUDGY74.js +69 -0
- package/dist/chunk-2QPRZKG7.js +35 -0
- package/dist/chunk-33VUG2QM.js +79 -0
- package/dist/chunk-3CTY5M4I.js +76 -0
- package/dist/chunk-3F6K75JF.js +60 -0
- package/dist/chunk-3JA2W53Z.js +47 -0
- package/dist/chunk-3JNYM26W.js +94 -0
- package/dist/chunk-3M74OURW.js +30 -0
- package/dist/chunk-3NKUT7TH.js +68 -0
- package/dist/chunk-3NZA4542.js +197 -0
- package/dist/chunk-3REW723S.js +49 -0
- package/dist/chunk-3WE5FOC4.js +39 -0
- package/dist/chunk-3XA6VTHO.js +40 -0
- package/dist/chunk-3YPIA64V.js +50 -0
- package/dist/chunk-426IPYWB.js +158 -0
- package/dist/chunk-44ZZWXGU.js +61 -0
- package/dist/chunk-45XBO57H.js +75 -0
- package/dist/chunk-47VKELNA.js +26 -0
- package/dist/chunk-4BINGQXR.js +64 -0
- package/dist/chunk-4K6U3KST.js +97 -0
- package/dist/chunk-4LPMZE4K.js +50 -0
- package/dist/chunk-4LROSNN7.js +239 -0
- package/dist/chunk-4TEDW65X.js +101 -0
- package/dist/chunk-4TTFS7AE.js +156 -0
- package/dist/chunk-4WZAWVVD.js +47 -0
- package/dist/chunk-4ZSHUF27.js +139 -0
- package/dist/chunk-53MOB7QD.js +111 -0
- package/dist/chunk-53TH3G7L.js +187 -0
- package/dist/chunk-55TJCXPI.js +34 -0
- package/dist/chunk-5BE7MV5Y.js +62 -0
- package/dist/chunk-5MBEKVFI.js +51 -0
- package/dist/chunk-5ME2UIV2.js +61 -0
- package/dist/chunk-5NFJPAWG.js +65 -0
- package/dist/chunk-5OHRFMBB.js +67 -0
- package/dist/chunk-5ONN2BWW.js +74 -0
- package/dist/chunk-5SUD76JK.js +67 -0
- package/dist/chunk-5U3JUGOR.js +55 -0
- package/dist/chunk-5WGGQBDN.js +30 -0
- package/dist/chunk-65KJS5T6.js +112 -0
- package/dist/chunk-6ADGDPPW.js +79 -0
- package/dist/chunk-6F34AU46.js +74 -0
- package/dist/chunk-6GAA6YLP.js +75 -0
- package/dist/chunk-6LOQWZPI.js +68 -0
- package/dist/chunk-6YISWBMA.js +942 -0
- package/dist/chunk-75PP7PI6.js +82 -0
- package/dist/chunk-76OIATWI.js +82 -0
- package/dist/chunk-7GX444GM.js +46 -0
- package/dist/chunk-7VWJOW6P.js +62 -0
- package/dist/chunk-7WBWN6D5.js +94 -0
- package/dist/chunk-A2TJMJHB.js +155 -0
- package/dist/chunk-ADKDXJMX.js +119 -0
- package/dist/chunk-AHHMCY2J.js +108 -0
- package/dist/chunk-AKXYCA25.js +82 -0
- package/dist/chunk-AOICOBAF.js +41 -0
- package/dist/chunk-AXOTEEYA.js +205 -0
- package/dist/chunk-BA736DVE.js +88 -0
- package/dist/chunk-BAVP462O.js +240 -0
- package/dist/chunk-BB7U4H7S.js +103 -0
- package/dist/chunk-BBQV2JXP.js +94 -0
- package/dist/chunk-BFG2SVED.js +71 -0
- package/dist/chunk-BTRWHRUR.js +66 -0
- package/dist/chunk-BU4UGOKB.js +60 -0
- package/dist/chunk-BYU5NTFP.js +77 -0
- package/dist/chunk-C475R4FS.js +41 -0
- package/dist/chunk-C4VUAB44.js +52 -0
- package/dist/chunk-C7D4KPR4.js +79 -0
- package/dist/chunk-C7DN7SOA.js +88 -0
- package/dist/chunk-CGQKUOBK.js +166 -0
- package/dist/chunk-CNXZNSZ6.js +73 -0
- package/dist/chunk-CPE7WTCO.js +87 -0
- package/dist/chunk-CU76RRBI.js +40 -0
- package/dist/chunk-D2R2ZRRH.js +139 -0
- package/dist/chunk-D63D46H6.js +84 -0
- package/dist/chunk-D7CBXSDT.js +168 -0
- package/dist/chunk-DKM437DZ.js +30 -0
- package/dist/chunk-DL5KKDDX.js +41 -0
- package/dist/chunk-DMH4XPXJ.js +60 -0
- package/dist/chunk-DNPOVTXW.js +57 -0
- package/dist/chunk-DRQ7XDNB.js +74 -0
- package/dist/chunk-DSAUO3FT.js +36 -0
- package/dist/chunk-DWJTQN4Q.js +39 -0
- package/dist/chunk-DXN657MG.js +54 -0
- package/dist/chunk-DXOFOLMO.js +28 -0
- package/dist/chunk-DYCT6UGG.js +118 -0
- package/dist/chunk-E2GZUORL.js +38 -0
- package/dist/chunk-E2NMFAHM.js +51 -0
- package/dist/chunk-EAKZVVVK.js +38 -0
- package/dist/chunk-EDED7GO2.js +28 -0
- package/dist/chunk-EFDDCP6E.js +61 -0
- package/dist/chunk-EG5ENAMF.js +54 -0
- package/dist/chunk-ERCJ2723.js +166 -0
- package/dist/chunk-ETSWXID3.js +108 -0
- package/dist/chunk-EVWTNGR2.js +66 -0
- package/dist/chunk-EYSUQCKU.js +58 -0
- package/dist/chunk-EYYK5DWC.js +61 -0
- package/dist/chunk-F4GOSIEU.js +48 -0
- package/dist/chunk-FAV4X3VE.js +65 -0
- package/dist/chunk-FDJQNDUI.js +82 -0
- package/dist/chunk-FOMZNBFC.js +52 -0
- package/dist/chunk-FRTB7SKA.js +59 -0
- package/dist/chunk-FU6GDCL4.js +70 -0
- package/dist/chunk-FUNANJQD.js +148 -0
- package/dist/chunk-FYZGIFIR.js +4903 -0
- package/dist/chunk-G3RVOSQS.js +47 -0
- package/dist/chunk-GBDND3J7.js +31 -0
- package/dist/chunk-GHHVUAN4.js +39 -0
- package/dist/chunk-GKYHP5DM.js +46 -0
- package/dist/chunk-GN5JY4ON.js +108 -0
- package/dist/chunk-GSJ4ZPME.js +44 -0
- package/dist/chunk-HA25XUMO.js +51 -0
- package/dist/chunk-HB5YQXW7.js +41 -0
- package/dist/chunk-HBR63ZQM.js +83 -0
- package/dist/chunk-HENRLFPS.js +130 -0
- package/dist/chunk-HI5JB7PA.js +43 -0
- package/dist/chunk-HPUECJDJ.js +77 -0
- package/dist/chunk-HQ25WWHW.js +30 -0
- package/dist/chunk-IDCGS2LG.js +67 -0
- package/dist/chunk-IGC26U6E.js +91 -0
- package/dist/chunk-IHY66EFI.js +46 -0
- package/dist/chunk-IOV4LKPF.js +132 -0
- package/dist/chunk-IRYK7EBW.js +80 -0
- package/dist/chunk-ITUYRI56.js +53 -0
- package/dist/chunk-IYWSMRMM.js +91 -0
- package/dist/chunk-IZCOKOL4.js +29 -0
- package/dist/chunk-IZLK5PA4.js +427 -0
- package/dist/chunk-J2I2GALQ.js +62 -0
- package/dist/chunk-J5NTCYRJ.js +78 -0
- package/dist/chunk-J7PDPSEI.js +95 -0
- package/dist/chunk-JIMMMDQX.js +40 -0
- package/dist/chunk-JLIGTJAV.js +40 -0
- package/dist/chunk-JM6YFZCJ.js +366 -0
- package/dist/chunk-JXFYYAWX.js +41 -0
- package/dist/chunk-JY4VLYST.js +44 -0
- package/dist/chunk-K4XC3DN3.js +46 -0
- package/dist/chunk-KFXYXJEI.js +74 -0
- package/dist/chunk-KMVKUGEN.js +32 -0
- package/dist/chunk-KSDU7X3Q.js +97 -0
- package/dist/chunk-L2OROVEO.js +59 -0
- package/dist/chunk-L35GVMS6.js +39 -0
- package/dist/chunk-L4KT7DFF.js +49 -0
- package/dist/chunk-L4OBEVKY.js +117 -0
- package/dist/chunk-L7KTXJ5T.js +42 -0
- package/dist/chunk-LNJTL4XT.js +59 -0
- package/dist/chunk-LP6PAX6W.js +162 -0
- package/dist/chunk-LQIUIOZD.js +312 -0
- package/dist/chunk-LSJCH55S.js +38 -0
- package/dist/chunk-LSJTRURW.js +153 -0
- package/dist/chunk-LSXW7LL3.js +76 -0
- package/dist/chunk-LW7TKM5V.js +35 -0
- package/dist/chunk-M2XF7C43.js +147 -0
- package/dist/chunk-MLZ6Z4NJ.js +59 -0
- package/dist/chunk-MQ4JGNKV.js +82 -0
- package/dist/chunk-MR5GJJCD.js +59 -0
- package/dist/chunk-MSFD2P6X.js +33 -0
- package/dist/chunk-N2HL4FSP.js +115 -0
- package/dist/chunk-N4CDNUSI.js +131 -0
- package/dist/chunk-NAIFU37T.js +29 -0
- package/dist/chunk-NF3K6UKW.js +71 -0
- package/dist/chunk-NHLJH2QU.js +33 -0
- package/dist/chunk-NNKKBIBH.js +57 -0
- package/dist/chunk-NO3DNLIA.js +71 -0
- package/dist/chunk-NOH3VCUN.js +47 -0
- package/dist/chunk-NQVYKPWZ.js +62 -0
- package/dist/chunk-NSD6XBVX.js +48 -0
- package/dist/chunk-NSMEMFKE.js +217 -0
- package/dist/chunk-NY53DQIO.js +93 -0
- package/dist/chunk-NZY5EZK5.js +43 -0
- package/dist/chunk-O2OFPBPK.js +42 -0
- package/dist/chunk-O374MFIY.js +238 -0
- package/dist/chunk-OA6YIRHQ.js +47 -0
- package/dist/chunk-OBW6XSZ6.js +121 -0
- package/dist/chunk-OD2UFFIF.js +56 -0
- package/dist/chunk-OHGHYIQD.js +106 -0
- package/dist/chunk-OI7PZLYM.js +101 -0
- package/dist/chunk-ONRSXHI4.js +38 -0
- package/dist/chunk-P2R24TGR.js +32 -0
- package/dist/chunk-P4DAHZUQ.js +71 -0
- package/dist/chunk-P5HX2PL4.js +33 -0
- package/dist/chunk-P7POYAWI.js +39 -0
- package/dist/chunk-P7WAXOIZ.js +122 -0
- package/dist/chunk-PAB77QMV.js +64 -0
- package/dist/chunk-PC37JIIX.js +77 -0
- package/dist/chunk-PO4QV4WT.js +68 -0
- package/dist/chunk-Q7YUTUXA.js +96 -0
- package/dist/chunk-QCTJEID3.js +60 -0
- package/dist/chunk-QINIWGYX.js +51 -0
- package/dist/chunk-QL55MSIZ.js +49 -0
- package/dist/chunk-QLTOG4MT.js +27 -0
- package/dist/chunk-QPFIT7U6.js +54 -0
- package/dist/chunk-QQOZXGR3.js +47 -0
- package/dist/chunk-QUWJFCWK.js +38 -0
- package/dist/chunk-R4PER7NZ.js +51 -0
- package/dist/chunk-R4WHSRPM.js +51 -0
- package/dist/chunk-R7LE6OT4.js +45 -0
- package/dist/chunk-RNTTNM5P.js +37 -0
- package/dist/chunk-RQJWBEFF.js +62 -0
- package/dist/chunk-RSMTA6GK.js +95 -0
- package/dist/chunk-RWBIPKOM.js +39 -0
- package/dist/chunk-RYLEEMHX.js +45 -0
- package/dist/chunk-S22XTUNB.js +72 -0
- package/dist/chunk-SBMAYFHQ.js +112 -0
- package/dist/chunk-SJSNOISF.js +83 -0
- package/dist/chunk-SMATBXJT.js +78 -0
- package/dist/chunk-SVY64O64.js +42 -0
- package/dist/chunk-SY2RM5AY.js +71 -0
- package/dist/chunk-T27V63VN.js +39 -0
- package/dist/chunk-T2JKOELM.js +50 -0
- package/dist/chunk-T4XULMNE.js +27 -0
- package/dist/chunk-T4XZBJRX.js +63 -0
- package/dist/chunk-TEUCS7CC.js +41 -0
- package/dist/chunk-TEVPUTJN.js +116 -0
- package/dist/chunk-TMPJ5OQC.js +39 -0
- package/dist/chunk-TPASKEDY.js +71 -0
- package/dist/chunk-TUWKJH67.js +141 -0
- package/dist/chunk-TVWUYRIS.js +69 -0
- package/dist/chunk-TWAI6FLP.js +46 -0
- package/dist/chunk-TWMU5FT4.js +98 -0
- package/dist/chunk-TYBQXIHB.js +132 -0
- package/dist/chunk-U6KZOUWP.js +97 -0
- package/dist/chunk-UAYBD6YK.js +53 -0
- package/dist/chunk-UBBKEK2F.js +43 -0
- package/dist/chunk-UBOVR4MJ.js +55 -0
- package/dist/chunk-UCYAOIJX.js +106 -0
- package/dist/chunk-UDSEA732.js +89 -0
- package/dist/chunk-UICM7ISL.js +97 -0
- package/dist/chunk-UJBVRUTD.js +98 -0
- package/dist/chunk-UTCKMPAI.js +289 -0
- package/dist/chunk-UU73JDYM.js +144 -0
- package/dist/chunk-UVOTXBDD.js +123 -0
- package/dist/chunk-UZ37NXAL.js +199 -0
- package/dist/chunk-V3DTC5F2.js +36 -0
- package/dist/chunk-V3FVSCNQ.js +82 -0
- package/dist/chunk-VBFCRLKP.js +39 -0
- package/dist/chunk-VFSK564P.js +44 -0
- package/dist/chunk-VI76WLBB.js +1111 -0
- package/dist/chunk-VPWIZK3L.js +38 -0
- package/dist/chunk-VPYZQMFC.js +41 -0
- package/dist/chunk-VTG5OLQE.js +23 -0
- package/dist/chunk-VW26B25E.js +27 -0
- package/dist/chunk-VWKIXPFH.js +150 -0
- package/dist/chunk-VXO6WZ3Z.js +352 -0
- package/dist/chunk-VYRJGD3W.js +44 -0
- package/dist/chunk-W3M6SKHX.js +84 -0
- package/dist/chunk-WDVOU5L7.js +75 -0
- package/dist/chunk-WS7EBKQB.js +46 -0
- package/dist/chunk-WWAUXGX2.js +196 -0
- package/dist/chunk-X6QBUAE7.js +31 -0
- package/dist/chunk-XA3YT5Q2.js +150 -0
- package/dist/chunk-XBB3NKEU.js +47 -0
- package/dist/chunk-XG2I3QRD.js +44 -0
- package/dist/chunk-XGCRUIXG.js +89 -0
- package/dist/chunk-XHYSFKTX.js +110 -0
- package/dist/chunk-XI3JRDGR.js +117 -0
- package/dist/chunk-XUECR2ZA.js +63 -0
- package/dist/chunk-XWUA27ZN.js +48 -0
- package/dist/chunk-XY6WLMUK.js +382 -0
- package/dist/chunk-XZLPFOLS.js +52 -0
- package/dist/chunk-Y7ITLLSE.js +67 -0
- package/dist/chunk-Y7YE4V4F.js +37 -0
- package/dist/chunk-YFWG72PF.js +102 -0
- package/dist/chunk-YPI6DSCZ.js +70 -0
- package/dist/chunk-YRU55K5G.js +84 -0
- package/dist/chunk-YS7PQUUJ.js +75 -0
- package/dist/chunk-YST6AG5L.js +96 -0
- package/dist/chunk-YTXJD5GL.js +115 -0
- package/dist/chunk-YX5EOMYE.js +146 -0
- package/dist/chunk-YY7FQURC.js +49 -0
- package/dist/chunk-Z7PWFZG5.js +31 -0
- package/dist/chunk-ZCYJW4VO.js +43 -0
- package/dist/chunk-ZDJILSU6.js +114 -0
- package/dist/chunk-ZF2QXXYV.js +49 -0
- package/dist/chunk-ZRVN7ENY.js +103 -0
- package/dist/chunk-ZZ67TT2L.js +65 -0
- package/dist/chunk-ZZBLTQMV.js +93 -0
- package/dist/chunk-ZZZGVQP2.js +90 -0
- package/dist/cil-4NTRZMJQ.js +6 -0
- package/dist/clean-KUOOU53X.js +37 -0
- package/dist/clike-4A47CONC.js +6 -0
- package/dist/clojure-75KJQHOT.js +128 -0
- package/dist/clojure-GPYUML3G.js +6 -0
- package/dist/clojure-repl-27PTLHND.js +27 -0
- package/dist/cmake-43UHNPVU.js +35 -0
- package/dist/cmake-XHQVRSQ5.js +6 -0
- package/dist/cobol-64KWYBJK.js +6 -0
- package/dist/coffeescript-4JZ4I4DJ.js +6 -0
- package/dist/coffeescript-5ISB4K2B.js +349 -0
- package/dist/concurnas-DEE5DK27.js +6 -0
- package/dist/coq-GCRWPPFV.js +6 -0
- package/dist/coq-I3MU43NM.js +36 -0
- package/dist/core-M7ZJ2T57.js +10 -0
- package/dist/core-PAF7XGL2.js +1812 -0
- package/dist/cos-BDS3BNLY.js +99 -0
- package/dist/cpp-WMMTB6Z5.js +7 -0
- package/dist/cpp-X7LHXYAC.js +410 -0
- package/dist/crmsh-NPCKI4XF.js +98 -0
- package/dist/crystal-6MLOCV2T.js +323 -0
- package/dist/crystal-QZNH3LTF.js +7 -0
- package/dist/csharp-6RC5RCHA.js +439 -0
- package/dist/csharp-JZQCFZ2W.js +6 -0
- package/dist/cshtml-Q3AEUCYO.js +7 -0
- package/dist/csp-63VXOBC6.js +6 -0
- package/dist/csp-HD534BNA.js +35 -0
- package/dist/css-CXTI7TAR.js +598 -0
- package/dist/css-DKIVWFWX.js +6 -0
- package/dist/css-extras-RFAQNL3I.js +6 -0
- package/dist/csv-UJQ7UNRS.js +6 -0
- package/dist/cypher-5OQNQZNY.js +6 -0
- package/dist/d-LB4S5ATW.js +122 -0
- package/dist/d-RO2SZ76A.js +6 -0
- package/dist/dart-SVXWFLRM.js +190 -0
- package/dist/dart-TX6ZWZJK.js +6 -0
- package/dist/dataweave-C63LGLUQ.js +6 -0
- package/dist/dax-LQO6GCPQ.js +6 -0
- package/dist/delphi-RZOGMBY2.js +119 -0
- package/dist/dhall-CWFBXH7J.js +6 -0
- package/dist/diff-5MQAJQDA.js +6 -0
- package/dist/diff-CNAQOB5T.js +86 -0
- package/dist/django-DO5A2BBG.js +58 -0
- package/dist/django-LDNPHKUL.js +7 -0
- package/dist/dns-3IEXY633.js +46 -0
- package/dist/dns-zone-file-IIOR6QPC.js +6 -0
- package/dist/docker-QHQSXWWE.js +6 -0
- package/dist/dockerfile-XCAM6RBC.js +34 -0
- package/dist/dos-353XQSPF.js +62 -0
- package/dist/dot-FZFNGGN4.js +6 -0
- package/dist/dsconfig-EL4H4BHC.js +67 -0
- package/dist/dts-PRAKWBHZ.js +145 -0
- package/dist/dust-K3XHDGD4.js +45 -0
- package/dist/ebnf-2I7WUAT6.js +6 -0
- package/dist/ebnf-7QWQH7U6.js +52 -0
- package/dist/editorconfig-5HL3ZBZ5.js +6 -0
- package/dist/eiffel-BXXJYVTD.js +6 -0
- package/dist/ejs-V23EGYZI.js +7 -0
- package/dist/elixir-4BXU7IWB.js +6 -0
- package/dist/elixir-YHCVHC4M.js +261 -0
- package/dist/elm-2PBJKJ5V.js +6 -0
- package/dist/elm-OBOS27Y5.js +121 -0
- package/dist/erb-KX4TUK25.js +8 -0
- package/dist/erb-PJNWCTHM.js +28 -0
- package/dist/erlang-4KHSXFRF.js +193 -0
- package/dist/erlang-TN5LAKO6.js +6 -0
- package/dist/erlang-repl-EIHHHRXL.js +71 -0
- package/dist/etlua-NZZ6VCFT.js +8 -0
- package/dist/excel-LG5PZNRY.js +70 -0
- package/dist/excel-formula-HM7AKF6W.js +6 -0
- package/dist/factor-RKUWQZSU.js +6 -0
- package/dist/false-NJNIJSO2.js +6 -0
- package/dist/firestore-security-rules-SBDPUL3P.js +6 -0
- package/dist/fix-JYGRXV2Y.js +41 -0
- package/dist/flix-CQCLWT33.js +52 -0
- package/dist/flow-Y55VHKDC.js +6 -0
- package/dist/fortran-2IHBO5MK.js +6 -0
- package/dist/fortran-IQ2XFJHI.js +103 -0
- package/dist/fsharp-J7D6JLGZ.js +80 -0
- package/dist/fsharp-WF5FZ7LA.js +6 -0
- package/dist/ftl-LJCJN7Q4.js +7 -0
- package/dist/gams-PR2YGF7X.js +178 -0
- package/dist/gap-Y4AO2KLQ.js +6 -0
- package/dist/gauss-JMPXYK2E.js +207 -0
- package/dist/gcode-EK5CT2F5.js +89 -0
- package/dist/gcode-ZSC2QT4W.js +6 -0
- package/dist/gdscript-JGK7ULGX.js +6 -0
- package/dist/gedcom-JAF2MTGV.js +6 -0
- package/dist/gherkin-ATPBN2I6.js +6 -0
- package/dist/gherkin-BR23VY6T.js +52 -0
- package/dist/git-SV5YOCHP.js +6 -0
- package/dist/globals.css +83 -0
- package/dist/glsl-RHLZ7EKY.js +7 -0
- package/dist/glsl-U5D2UFIG.js +40 -0
- package/dist/gml-C6VBD7IK.js +33 -0
- package/dist/gml-O6EMUU2A.js +6 -0
- package/dist/gn-OHYYO5RM.js +6 -0
- package/dist/go-F4XHE42I.js +70 -0
- package/dist/go-UT2RGVDA.js +6 -0
- package/dist/go-module-QIQ5R6GQ.js +6 -0
- package/dist/golo-ZQBS6DDL.js +30 -0
- package/dist/gradle-MQQPZV6O.js +29 -0
- package/dist/graphql-NBCTEMOM.js +6 -0
- package/dist/groovy-PWRNS4BH.js +6 -0
- package/dist/groovy-YE6LYQM2.js +148 -0
- package/dist/haml-ITEJGDAC.js +7 -0
- package/dist/haml-W64OGSGS.js +118 -0
- package/dist/handlebars-LFFHW3IR.js +271 -0
- package/dist/handlebars-ZPGPITLL.js +7 -0
- package/dist/haskell-BIZ4QX3J.js +164 -0
- package/dist/haskell-C6C7ZUBH.js +6 -0
- package/dist/haxe-6UYXTAGY.js +6 -0
- package/dist/haxe-YHKPBE6F.js +163 -0
- package/dist/hcl-H4J5WPVW.js +6 -0
- package/dist/hlsl-TUCZYFXH.js +7 -0
- package/dist/hoon-C72UYEHY.js +6 -0
- package/dist/hpkp-4EW432RJ.js +6 -0
- package/dist/hsp-LXHEYCGN.js +63 -0
- package/dist/hsts-LVDH7HSP.js +6 -0
- package/dist/htmlbars-5KWEJZGR.js +279 -0
- package/dist/http-PQTBDD2Y.js +6 -0
- package/dist/http-XGZV4XNH.js +107 -0
- package/dist/hy-LNAQE6EH.js +83 -0
- package/dist/ichigojam-O6JNIK22.js +6 -0
- package/dist/icon-E47SAPYS.js +6 -0
- package/dist/icu-message-format-XVNBRCFA.js +6 -0
- package/dist/idris-N4YK67TT.js +7 -0
- package/dist/iecst-RFCI6KVG.js +6 -0
- package/dist/ignore-ZEHMIXWJ.js +6 -0
- package/dist/index.cjs +45233 -6108
- package/dist/index.css +591 -0
- package/dist/index.d.cts +135 -9
- package/dist/index.d.ts +135 -9
- package/dist/index.js +18591 -5911
- package/dist/inform7-V4RKQGYH.js +6 -0
- package/dist/inform7-V7MLPHUF.js +67 -0
- package/dist/ini-7GVFDZIN.js +149 -0
- package/dist/ini-WBFKRGCL.js +6 -0
- package/dist/io-J4QCHPK3.js +6 -0
- package/dist/irpf90-YM777KDU.js +82 -0
- package/dist/isbl-6UAZRVKL.js +269 -0
- package/dist/j-PPJZQQBV.js +6 -0
- package/dist/java-A6STBPJJ.js +178 -0
- package/dist/java-V4HKAR6U.js +6 -0
- package/dist/javadoc-IDO5IKKL.js +8 -0
- package/dist/javadoclike-RPHCI2IN.js +6 -0
- package/dist/javascript-HTBF3FXX.js +553 -0
- package/dist/javascript-VDWQYVQH.js +6 -0
- package/dist/javastacktrace-WAF42WNS.js +6 -0
- package/dist/jboss-cli-BXTWKRQB.js +63 -0
- package/dist/jexl-BDHF6EJ2.js +6 -0
- package/dist/jolie-PBYJRXEA.js +6 -0
- package/dist/jq-DWQFRBJQ.js +6 -0
- package/dist/js-extras-ZI7JBSYM.js +6 -0
- package/dist/js-templates-FXU6EPLQ.js +6 -0
- package/dist/jsdoc-AD6H7JYV.js +8 -0
- package/dist/json-2UBYQPYJ.js +6 -0
- package/dist/json-E5CSPKYL.js +66 -0
- package/dist/json5-DZRXL5LX.js +7 -0
- package/dist/jsonp-TQ3MTXTC.js +7 -0
- package/dist/jsstacktrace-PNLNOWKR.js +6 -0
- package/dist/jsx-TISJL234.js +6 -0
- package/dist/julia-NU5U7AGU.js +357 -0
- package/dist/julia-TX6ZVBF3.js +6 -0
- package/dist/julia-repl-OIDBGXCM.js +36 -0
- package/dist/keepalived-G5XCZPI3.js +6 -0
- package/dist/keyman-HXWRQQP5.js +6 -0
- package/dist/kotlin-DJ3A72A6.js +6 -0
- package/dist/kotlin-L7ACKMAK.js +265 -0
- package/dist/kumir-U7KR2CQL.js +6 -0
- package/dist/kusto-5V3MSTPA.js +6 -0
- package/dist/lasso-YCATBJLV.js +171 -0
- package/dist/latex-AG7CLUJR.js +260 -0
- package/dist/latex-WK7V4NEZ.js +6 -0
- package/dist/latte-HSTQPFKZ.js +8 -0
- package/dist/ldif-HEYL24X3.js +46 -0
- package/dist/leaf-TY56R55I.js +53 -0
- package/dist/less-BC5SBETQ.js +6 -0
- package/dist/less-FZLTHHQV.js +660 -0
- package/dist/lilypond-CEW2QO6F.js +7 -0
- package/dist/liquid-ZNYBOERX.js +7 -0
- package/dist/lisp-L2GJEHWA.js +6 -0
- package/dist/lisp-TWECV5KM.js +119 -0
- package/dist/livecodeserver-PDTS4VIL.js +120 -0
- package/dist/livescript-77OE7WDY.js +6 -0
- package/dist/livescript-ERXBO32F.js +367 -0
- package/dist/llvm-LC55WM6D.js +6 -0
- package/dist/llvm-RIX5A76Y.js +101 -0
- package/dist/log-QBGRVCXJ.js +6 -0
- package/dist/lolcode-SKUCYA5L.js +6 -0
- package/dist/lsl-HDLVDN5M.js +91 -0
- package/dist/lua-KAU53C2Y.js +6 -0
- package/dist/lua-TMUVBFS4.js +72 -0
- package/dist/magma-Q7UJZMAX.js +6 -0
- package/dist/makefile-DVLKHDQC.js +6 -0
- package/dist/makefile-RQEUBZE6.js +83 -0
- package/dist/markdown-4AMULLQZ.js +6 -0
- package/dist/markdown-H3RECS26.js +240 -0
- package/dist/markup-EZA5IZAQ.js +6 -0
- package/dist/markup-templating-5I4OWDQZ.js +6 -0
- package/dist/mathematica-X2CV2ORJ.js +6752 -0
- package/dist/matlab-HA2ZDOW5.js +6 -0
- package/dist/matlab-JHY3GUQF.js +88 -0
- package/dist/maxima-SCZDOUUP.js +64 -0
- package/dist/maxscript-PBLHKBYN.js +6 -0
- package/dist/mel-NNBJB4RX.js +6 -0
- package/dist/mel-YPIRI2ZF.js +36 -0
- package/dist/mercury-ZBCJ5QA5.js +100 -0
- package/dist/mermaid-CB75MOVI.js +6 -0
- package/dist/mipsasm-N2MMP3H5.js +86 -0
- package/dist/mizar-BGU4QAFJ.js +6 -0
- package/dist/mizar-QFX527OZ.js +21 -0
- package/dist/mojolicious-OHNOQFOT.js +38 -0
- package/dist/mongodb-6DIGE7PI.js +6 -0
- package/dist/monkey-23XCKAV4.js +85 -0
- package/dist/monkey-6PAD36I7.js +6 -0
- package/dist/moonscript-ANM24Q5F.js +6 -0
- package/dist/moonscript-DILF2N52.js +149 -0
- package/dist/n1ql-FPKTMALR.js +57 -0
- package/dist/n1ql-HFHLNSMI.js +6 -0
- package/dist/n4js-65HWN4LE.js +6 -0
- package/dist/nand2tetris-hdl-BAYGJJU5.js +6 -0
- package/dist/naniscript-IAUL5QB4.js +6 -0
- package/dist/nasm-6DTULDRK.js +6 -0
- package/dist/neon-HJDQAIXX.js +6 -0
- package/dist/nevod-TM27OJCF.js +6 -0
- package/dist/nginx-ATN5OWPX.js +6 -0
- package/dist/nginx-UDXYH6SK.js +139 -0
- package/dist/nim-3MXH37F6.js +71 -0
- package/dist/nim-7VJFGRSS.js +6 -0
- package/dist/nix-3UP2KQJV.js +64 -0
- package/dist/nix-L46VYGL7.js +6 -0
- package/dist/node-repl-TDWJP2US.js +39 -0
- package/dist/nsis-OLCKM2OQ.js +6 -0
- package/dist/nsis-XJEGWX52.js +111 -0
- package/dist/objectivec-DWNHB664.js +7 -0
- package/dist/objectivec-XCKTZ233.js +97 -0
- package/dist/ocaml-NFAHUCBR.js +6 -0
- package/dist/ocaml-VWCLQE3R.js +75 -0
- package/dist/opencl-NFBQ67K2.js +7 -0
- package/dist/openqasm-AATACU3S.js +6 -0
- package/dist/openscad-CPQUHPMH.js +83 -0
- package/dist/oxygene-MQABTQDT.js +96 -0
- package/dist/oz-IGEG4MKG.js +6 -0
- package/dist/parigp-WD2OYHYA.js +6 -0
- package/dist/parser-EC46CL5Z.js +6 -0
- package/dist/parser3-4U7VXY4D.js +59 -0
- package/dist/pascal-ZM7N7XI6.js +6 -0
- package/dist/pascaligo-VOW2F5TM.js +6 -0
- package/dist/pcaxis-DLFOVSI2.js +6 -0
- package/dist/peoplecode-6ITX2ZCX.js +6 -0
- package/dist/perl-CGUEEATA.js +6 -0
- package/dist/perl-UBL4OJLX.js +481 -0
- package/dist/pf-76A4A5PB.js +45 -0
- package/dist/pgsql-LIK5ZS5L.js +389 -0
- package/dist/php-7EQLL4WE.js +193 -0
- package/dist/php-XSQL7GRW.js +7 -0
- package/dist/php-extras-RRKQEQEL.js +8 -0
- package/dist/php-template-57AZD2Z7.js +56 -0
- package/dist/phpdoc-QDI6M4LY.js +9 -0
- package/dist/plaintext-WYWBF6Z2.js +22 -0
- package/dist/plsql-FHUXY3OA.js +7 -0
- package/dist/pony-74VLQBEB.js +66 -0
- package/dist/powerquery-S3HCZIVJ.js +6 -0
- package/dist/powershell-ITFSVUDU.js +281 -0
- package/dist/powershell-WXHZDFBQ.js +6 -0
- package/dist/processing-2HYZ4N2E.js +30 -0
- package/dist/processing-ZUXSK7VV.js +6 -0
- package/dist/profile-II54ZAM3.js +47 -0
- package/dist/prolog-6OLSKU6J.js +91 -0
- package/dist/prolog-ZA7S6MDA.js +6 -0
- package/dist/promql-NHWND3Y3.js +6 -0
- package/dist/properties-2XQOUKOY.js +83 -0
- package/dist/properties-RDIAXEEX.js +6 -0
- package/dist/protobuf-3SZ2I6CS.js +6 -0
- package/dist/protobuf-NIGMSZSW.js +52 -0
- package/dist/psl-XWM2TMD7.js +6 -0
- package/dist/pug-WXB4BWXX.js +6 -0
- package/dist/puppet-J4C3OTZJ.js +6 -0
- package/dist/puppet-RQLT7M2K.js +122 -0
- package/dist/pure-FBTHGZOO.js +6 -0
- package/dist/purebasic-2LTLHQ64.js +71 -0
- package/dist/purebasic-WVV7DOIB.js +6 -0
- package/dist/purescript-RXOXLHTJ.js +7 -0
- package/dist/python-2OWIXTS2.js +413 -0
- package/dist/python-Q7PQQBXF.js +6 -0
- package/dist/python-repl-4363EJU6.js +39 -0
- package/dist/q-WQHQ74HI.js +34 -0
- package/dist/q-XMCEWZHZ.js +6 -0
- package/dist/qml-MB4NQ4EN.js +178 -0
- package/dist/qml-TDTX2FOX.js +6 -0
- package/dist/qore-QFFKXLHX.js +6 -0
- package/dist/qsharp-QLDDINHN.js +6 -0
- package/dist/r-DBAVHB65.js +6 -0
- package/dist/r-GLK6S5LG.js +176 -0
- package/dist/racket-UEHPRU3V.js +7 -0
- package/dist/reason-XNIFFI7W.js +6 -0
- package/dist/reasonml-A3EFSD7I.js +295 -0
- package/dist/refractor-QSDT2DOR.js +284 -0
- package/dist/regex-4CQ7USX5.js +6 -0
- package/dist/rego-PLUAE5QB.js +6 -0
- package/dist/renpy-7EMYQZZ6.js +6 -0
- package/dist/rest-225MBRYC.js +6 -0
- package/dist/rib-KFPTWPSI.js +25 -0
- package/dist/rip-AXYWLNUV.js +6 -0
- package/dist/roboconf-LKZYOFZA.js +6 -0
- package/dist/roboconf-PELBKCRB.js +79 -0
- package/dist/robotframework-ZCHW4YTZ.js +6 -0
- package/dist/routeros-SFKQCZA7.js +164 -0
- package/dist/rsl-OHPWEDAF.js +43 -0
- package/dist/ruby-HAPPD2FX.js +6 -0
- package/dist/ruby-KMU4CFZI.js +347 -0
- package/dist/ruleslanguage-JRVEML72.js +41 -0
- package/dist/rust-GWPZ6K6F.js +124 -0
- package/dist/rust-II3IKW3A.js +6 -0
- package/dist/sas-REDCJ4GG.js +67 -0
- package/dist/sas-U7J6HVZ7.js +6 -0
- package/dist/sass-TKBUIBAH.js +6 -0
- package/dist/scala-BKM3HJ5P.js +132 -0
- package/dist/scala-YXYZXYU3.js +7 -0
- package/dist/scheme-L2XII7OS.js +6 -0
- package/dist/scheme-L5GI4534.js +160 -0
- package/dist/scilab-RDGG5TEY.js +70 -0
- package/dist/scss-KSCTK36Q.js +6 -0
- package/dist/scss-L2L5VPD4.js +552 -0
- package/dist/shell-YX5ZTB5V.js +31 -0
- package/dist/shell-session-2WVSNYB5.js +7 -0
- package/dist/smali-WMNIVHFT.js +6 -0
- package/dist/smali-YFVVIBQ7.js +138 -0
- package/dist/smalltalk-EPAXI7XI.js +6 -0
- package/dist/smalltalk-XP7QOZSK.js +67 -0
- package/dist/smarty-C74U5JCX.js +7 -0
- package/dist/sml-HPHZCXQF.js +82 -0
- package/dist/sml-NT457TPS.js +6 -0
- package/dist/solidity-ACQWP5D6.js +6 -0
- package/dist/solution-file-4BXI7NIR.js +6 -0
- package/dist/soy-X6AH2CEC.js +7 -0
- package/dist/sparql-MBUGV6LB.js +7 -0
- package/dist/splunk-spl-YQIAFL2U.js +6 -0
- package/dist/sqf-I3Z5XE6D.js +87 -0
- package/dist/sqf-S43C6245.js +6 -0
- package/dist/sql-432HMRQP.js +656 -0
- package/dist/sql-SJDNUHWK.js +6 -0
- package/dist/sql_more-CR57S3OV.js +61 -0
- package/dist/squirrel-HIKXYBM5.js +6 -0
- package/dist/stan-LWH7F5QB.js +6 -0
- package/dist/stan-MGV33MGT.js +548 -0
- package/dist/stata-C5PO4VDN.js +55 -0
- package/dist/step21-6KLQSVCR.js +69 -0
- package/dist/stylus-C2OYB6XW.js +6 -0
- package/dist/stylus-TOJOIULS.js +606 -0
- package/dist/subunit-FT4R2GX5.js +55 -0
- package/dist/swift-S3BIHCLS.js +800 -0
- package/dist/swift-Y7DRPFM3.js +6 -0
- package/dist/systemd-VLODGDWH.js +6 -0
- package/dist/t4-cs-MUM3N5J2.js +8 -0
- package/dist/t4-templating-ID2TOIZK.js +6 -0
- package/dist/t4-vb-I76OANZQ.js +9 -0
- package/dist/taggerscript-NEJM45HC.js +54 -0
- package/dist/tap-I4XIHTZU.js +57 -0
- package/dist/tap-K7GU7T4S.js +7 -0
- package/dist/tcl-2QDJCLVU.js +6 -0
- package/dist/tcl-E5GCJ2NX.js +84 -0
- package/dist/textile-DFNGZE2P.js +6 -0
- package/dist/thrift-RJET6KXH.js +50 -0
- package/dist/toml-OMHCCMZV.js +6 -0
- package/dist/tp-Y6IP6BUB.js +92 -0
- package/dist/tremor-LQA3C3TX.js +6 -0
- package/dist/tsx-PJL2YKP4.js +8 -0
- package/dist/tt2-AKGJU23V.js +7 -0
- package/dist/turtle-KOSR4ZJD.js +6 -0
- package/dist/twig-6JW3X2R4.js +7 -0
- package/dist/twig-VPSU2YYX.js +71 -0
- package/dist/typescript-6RGJN4BM.js +6 -0
- package/dist/typescript-OSGZS73E.js +629 -0
- package/dist/typoscript-YMWBVMGB.js +6 -0
- package/dist/unrealscript-SFZWOE4Y.js +6 -0
- package/dist/uorazor-HPGH2F4R.js +6 -0
- package/dist/uri-5RVLM6ZT.js +6 -0
- package/dist/v-RGI67KNZ.js +6 -0
- package/dist/vala-RFHWJ2XD.js +6 -0
- package/dist/vala-VBKBPL2T.js +52 -0
- package/dist/vbnet-73BMJ32Q.js +7 -0
- package/dist/vbnet-GXDSKTB2.js +165 -0
- package/dist/vbscript-3YM27JHE.js +69 -0
- package/dist/vbscript-html-S4JWBUVY.js +25 -0
- package/dist/velocity-JGUCMDQC.js +6 -0
- package/dist/verilog-AOZBVIGG.js +73 -0
- package/dist/verilog-ECF3DTV5.js +6 -0
- package/dist/vhdl-2VMGPF4Q.js +52 -0
- package/dist/vhdl-3V57YTN6.js +6 -0
- package/dist/vim-5J7HNV6Q.js +75 -0
- package/dist/vim-RSAFGBTG.js +6 -0
- package/dist/visual-basic-QHHGT3G3.js +6 -0
- package/dist/warpscript-CTWWWESY.js +6 -0
- package/dist/wasm-BXZNTGY5.js +6 -0
- package/dist/web-idl-S56AIP2L.js +6 -0
- package/dist/wiki-IP4EB6OT.js +6 -0
- package/dist/wolfram-6FDC4H6V.js +6 -0
- package/dist/wren-CYRENO5A.js +6 -0
- package/dist/x86asm-KHJQ6Z7A.js +107 -0
- package/dist/xeora-ZL5JDTGS.js +6 -0
- package/dist/xl-GATB5PE5.js +78 -0
- package/dist/xml-Z3UJSKI2.js +255 -0
- package/dist/xml-doc-JJND6TRR.js +6 -0
- package/dist/xojo-3NN6L4QN.js +6 -0
- package/dist/xquery-65PTA4AL.js +6 -0
- package/dist/xquery-BZOAA7PO.js +162 -0
- package/dist/yaml-36VYSGA7.js +174 -0
- package/dist/yaml-AECYHYE6.js +6 -0
- package/dist/yang-UZZMQYXU.js +6 -0
- package/dist/zephir-AUYZC5ZD.js +119 -0
- package/dist/zig-VBI3G2PD.js +6 -0
- package/package.json +9 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Agent as Agent$1, DistriChatMessage, DistriBaseTool, ToolExecutionOptions, DistriMessage, DistriPart, AgentDefinition, DistriThread, DistriFnTool, ToolCall, ToolResult, PlanStep, DistriConfiguration,
|
|
1
|
+
import { Agent as Agent$1, DistriChatMessage, DistriBaseTool, ToolExecutionOptions, DistriMessage, DistriPart, AgentDefinition, DistriThread, DistriFnTool, ToolCall, ToolResult, PlanStep, DistriConfiguration, DistriClient, DistriClientConfig, SpeechToTextConfig, StreamingTranscriptionOptions, ConfigurationMeta, ConfigurationResponse, DistriEvent, ImagePart } from '@distri/core';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactNode } from 'react';
|
|
4
4
|
import * as zustand from 'zustand';
|
|
@@ -13,7 +13,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
13
13
|
|
|
14
14
|
interface UseChatOptions {
|
|
15
15
|
threadId: string;
|
|
16
|
-
agent
|
|
16
|
+
agent: Agent$1 | null;
|
|
17
17
|
onMessage?: (message: DistriChatMessage) => void;
|
|
18
18
|
onError?: (error: Error) => void;
|
|
19
19
|
getMetadata?: () => Promise<Record<string, unknown>>;
|
|
@@ -37,6 +37,7 @@ declare function useChat({ threadId, onError, getMetadata, agent, externalTools,
|
|
|
37
37
|
|
|
38
38
|
interface UseAgentOptions {
|
|
39
39
|
agentIdOrDef: string | AgentDefinition;
|
|
40
|
+
enabled?: boolean;
|
|
40
41
|
}
|
|
41
42
|
interface UseAgentResult {
|
|
42
43
|
agent: Agent$1 | null;
|
|
@@ -47,7 +48,7 @@ interface UseAgentResult {
|
|
|
47
48
|
* useAgent is for agent configuration and invocation.
|
|
48
49
|
* For chat UIs, use useChat instead.
|
|
49
50
|
*/
|
|
50
|
-
declare function useAgent({ agentIdOrDef, }: UseAgentOptions): UseAgentResult;
|
|
51
|
+
declare function useAgent({ agentIdOrDef, enabled, }: UseAgentOptions): UseAgentResult;
|
|
51
52
|
|
|
52
53
|
interface UseAgentsResult {
|
|
53
54
|
agents: AgentDefinition[];
|
|
@@ -67,11 +68,51 @@ interface UseThreadsResult {
|
|
|
67
68
|
fetchThread: (threadId: string) => Promise<DistriThread>;
|
|
68
69
|
updateThread: (threadId: string, localId?: string) => Promise<void>;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
+
interface UseThreadsOptions {
|
|
72
|
+
enabled?: boolean;
|
|
73
|
+
}
|
|
74
|
+
declare function useThreads(options?: UseThreadsOptions): UseThreadsResult;
|
|
71
75
|
interface UseThreadMessagesOptions {
|
|
72
76
|
threadId: string | null;
|
|
73
77
|
}
|
|
74
78
|
|
|
79
|
+
type LoadingAnimationPreset = 'typing-dots' | 'pulse-ring' | 'teacher-typing' | 'spinner' | 'wave';
|
|
80
|
+
interface LoadingAnimationConfig {
|
|
81
|
+
/** Preset animation style */
|
|
82
|
+
preset?: LoadingAnimationPreset;
|
|
83
|
+
/** Custom CSS class for the container */
|
|
84
|
+
className?: string;
|
|
85
|
+
/** Primary color (CSS color value) */
|
|
86
|
+
primaryColor?: string;
|
|
87
|
+
/** Secondary color for gradients (CSS color value) */
|
|
88
|
+
secondaryColor?: string;
|
|
89
|
+
/** Avatar emoji/icon for teacher-typing preset */
|
|
90
|
+
avatar?: string;
|
|
91
|
+
/** Label text shown alongside animation */
|
|
92
|
+
label?: string;
|
|
93
|
+
/** Size variant */
|
|
94
|
+
size?: 'sm' | 'md' | 'lg';
|
|
95
|
+
}
|
|
96
|
+
interface LoadingAnimationProps {
|
|
97
|
+
config?: LoadingAnimationConfig;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* LoadingAnimation component that renders various loading indicator styles.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* // Default typing dots
|
|
104
|
+
* <LoadingAnimation />
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* // Teacher typing style with avatar
|
|
108
|
+
* <LoadingAnimation config={{ preset: 'teacher-typing', avatar: '🎓', label: 'Teacher is typing...' }} />
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* // Custom colored pulse ring
|
|
112
|
+
* <LoadingAnimation config={{ preset: 'pulse-ring', primaryColor: '#6366F1' }} />
|
|
113
|
+
*/
|
|
114
|
+
declare const LoadingAnimation: React__default.FC<LoadingAnimationProps>;
|
|
115
|
+
|
|
75
116
|
type ToolCallStatus = 'pending' | 'running' | 'completed' | 'error' | 'user_action_required';
|
|
76
117
|
type DistriAnyTool = DistriFnTool | DistriUiTool;
|
|
77
118
|
interface DistriUiTool extends DistriBaseTool {
|
|
@@ -222,16 +263,28 @@ declare const useChatStateStore: zustand.UseBoundStore<zustand.StoreApi<ChatStat
|
|
|
222
263
|
|
|
223
264
|
interface ChatEmptyStateStarter {
|
|
224
265
|
id?: string;
|
|
266
|
+
/** Display label for the starter button */
|
|
225
267
|
label: string;
|
|
268
|
+
/** The prompt text to send (defaults to label if not provided) */
|
|
226
269
|
prompt?: string;
|
|
270
|
+
/** Optional description shown below the label */
|
|
227
271
|
description?: string;
|
|
272
|
+
/** Whether to auto-send when clicked (defaults to true) */
|
|
228
273
|
autoSend?: boolean;
|
|
274
|
+
/** Optional icon/emoji to display before the label */
|
|
275
|
+
icon?: string;
|
|
276
|
+
/** Optional variant for different styling */
|
|
277
|
+
variant?: 'default' | 'outline' | 'ghost';
|
|
229
278
|
}
|
|
230
279
|
interface ChatEmptyStateCategory {
|
|
231
280
|
id: string;
|
|
232
281
|
title?: string;
|
|
233
282
|
description?: string;
|
|
283
|
+
/** Icon for the category header */
|
|
284
|
+
icon?: string;
|
|
234
285
|
starters?: ChatEmptyStateStarter[];
|
|
286
|
+
/** Layout for starters: 'list' (default) or 'grid' */
|
|
287
|
+
layout?: 'list' | 'grid';
|
|
235
288
|
}
|
|
236
289
|
interface ChatEmptyStateOptions {
|
|
237
290
|
eyebrow?: string;
|
|
@@ -242,6 +295,8 @@ interface ChatEmptyStateOptions {
|
|
|
242
295
|
startersLabel?: string;
|
|
243
296
|
categories?: ChatEmptyStateCategory[];
|
|
244
297
|
autoSendOnStarterClick?: boolean;
|
|
298
|
+
/** Default layout for all categories: 'list' (default) or 'grid' */
|
|
299
|
+
layout?: 'list' | 'grid';
|
|
245
300
|
}
|
|
246
301
|
|
|
247
302
|
interface ModelOption {
|
|
@@ -269,7 +324,7 @@ interface ChatEmptyStateController {
|
|
|
269
324
|
}
|
|
270
325
|
interface ChatProps {
|
|
271
326
|
threadId: string;
|
|
272
|
-
agent?: Agent$1;
|
|
327
|
+
agent?: Agent$1 | null;
|
|
273
328
|
onMessage?: (message: DistriChatMessage) => void;
|
|
274
329
|
beforeSendMessage?: (content: DistriMessage) => Promise<DistriMessage>;
|
|
275
330
|
onError?: (error: Error) => void;
|
|
@@ -287,6 +342,22 @@ interface ChatProps {
|
|
|
287
342
|
onTaskFinish?: (task: TaskState) => void;
|
|
288
343
|
renderEmptyState?: (controller: ChatEmptyStateController) => React__default.ReactNode;
|
|
289
344
|
emptyState?: ChatEmptyStateOptions;
|
|
345
|
+
/**
|
|
346
|
+
* Starter commands shown in empty state. These are quick-action buttons
|
|
347
|
+
* that users can click to send predefined prompts.
|
|
348
|
+
* Alternative to emptyState.categories - if provided, these will be merged.
|
|
349
|
+
*/
|
|
350
|
+
starterCommands?: ChatEmptyStateStarter[];
|
|
351
|
+
/**
|
|
352
|
+
* Configuration for the loading/typing animation shown while waiting for responses.
|
|
353
|
+
* Supports presets like 'typing-dots', 'teacher-typing', 'pulse-ring', 'spinner', 'wave'.
|
|
354
|
+
*/
|
|
355
|
+
loadingAnimation?: LoadingAnimationConfig;
|
|
356
|
+
/**
|
|
357
|
+
* Custom render function for the loading animation.
|
|
358
|
+
* If provided, overrides loadingAnimation config.
|
|
359
|
+
*/
|
|
360
|
+
renderLoadingAnimation?: () => React__default.ReactNode;
|
|
290
361
|
voiceEnabled?: boolean;
|
|
291
362
|
useSpeechRecognition?: boolean;
|
|
292
363
|
ttsConfig?: {
|
|
@@ -297,7 +368,16 @@ interface ChatProps {
|
|
|
297
368
|
initialInput?: string;
|
|
298
369
|
allowBrowserPreview?: boolean;
|
|
299
370
|
maxWidth?: string;
|
|
371
|
+
className?: string;
|
|
372
|
+
agentId?: string;
|
|
373
|
+
enableHistory?: boolean;
|
|
374
|
+
}
|
|
375
|
+
declare const ChatInner: React__default.ForwardRefExoticComponent<ChatProps & React__default.RefAttributes<ChatInstance>>;
|
|
376
|
+
interface ChatContainerProps extends ChatProps {
|
|
300
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* The main Chat component that handles authentication via AuthLoading guardian.
|
|
380
|
+
*/
|
|
301
381
|
declare const Chat: React__default.ForwardRefExoticComponent<ChatProps & React__default.RefAttributes<ChatInstance>>;
|
|
302
382
|
|
|
303
383
|
interface Agent {
|
|
@@ -404,24 +484,70 @@ declare const useTheme: () => ThemeProviderState;
|
|
|
404
484
|
|
|
405
485
|
declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
|
|
406
486
|
|
|
487
|
+
interface AuthLoadingProps {
|
|
488
|
+
children?: React__default.ReactNode;
|
|
489
|
+
className?: string;
|
|
490
|
+
}
|
|
491
|
+
declare const AuthLoading: React__default.FC<AuthLoadingProps>;
|
|
492
|
+
|
|
407
493
|
interface DistriContextValue {
|
|
408
494
|
client: DistriClient | null;
|
|
409
495
|
error: Error | null;
|
|
410
496
|
isLoading: boolean;
|
|
497
|
+
token?: string | null;
|
|
411
498
|
}
|
|
499
|
+
declare const DistriContext: React$1.Context<DistriContextValue>;
|
|
412
500
|
interface DistriProviderProps {
|
|
413
501
|
config: DistriClientConfig;
|
|
414
502
|
children: ReactNode;
|
|
415
503
|
defaultTheme?: 'dark' | 'light' | 'system';
|
|
416
504
|
}
|
|
417
|
-
|
|
505
|
+
/**
|
|
506
|
+
* Core provider for Distri SDK. Initializes the DistriClient and handles authentication.
|
|
507
|
+
*
|
|
508
|
+
* If `config.clientId` is provided, it will automatically handle cloud authentication
|
|
509
|
+
* using a dedicated headless provisioner.
|
|
510
|
+
*/
|
|
511
|
+
declare function DistriProvider(props: DistriProviderProps): react_jsx_runtime.JSX.Element;
|
|
418
512
|
declare function useDistri(): DistriContextValue;
|
|
513
|
+
declare function useDistriToken(): {
|
|
514
|
+
token: string | null | undefined;
|
|
515
|
+
isLoading: boolean;
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
type AuthStatus = 'idle' | 'loading' | 'authenticated' | 'error';
|
|
519
|
+
interface DistriAuthContextValue {
|
|
520
|
+
token: string | null;
|
|
521
|
+
status: AuthStatus;
|
|
522
|
+
error: string | null;
|
|
523
|
+
requestAuth: () => Promise<string | null>;
|
|
524
|
+
setToken: (token: string | null) => void;
|
|
525
|
+
setStatus: (status: AuthStatus) => void;
|
|
526
|
+
setError: (error: string | null) => void;
|
|
527
|
+
resolveAuth: (token: string | null) => void;
|
|
528
|
+
config: {
|
|
529
|
+
clientId: string;
|
|
530
|
+
theme: 'dark' | 'light';
|
|
531
|
+
baseUrl: string;
|
|
532
|
+
debug: boolean;
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
interface DistriAuthProviderProps {
|
|
536
|
+
clientId: string;
|
|
537
|
+
theme?: 'dark' | 'light';
|
|
538
|
+
children: ReactNode;
|
|
539
|
+
debug?: boolean;
|
|
540
|
+
baseUrl?: string;
|
|
541
|
+
}
|
|
542
|
+
declare function DistriAuthProvider({ clientId, theme, children, debug, baseUrl }: DistriAuthProviderProps): react_jsx_runtime.JSX.Element;
|
|
543
|
+
declare function useDistriAuth(): DistriAuthContextValue;
|
|
419
544
|
|
|
420
545
|
interface UseChatMessagesOptions {
|
|
421
546
|
initialMessages?: DistriChatMessage[];
|
|
422
547
|
agent?: Agent$1;
|
|
423
548
|
threadId?: string;
|
|
424
549
|
onError?: (error: Error) => void;
|
|
550
|
+
enabled?: boolean;
|
|
425
551
|
}
|
|
426
552
|
interface UseChatMessagesReturn {
|
|
427
553
|
messages: DistriChatMessage[];
|
|
@@ -431,7 +557,7 @@ interface UseChatMessagesReturn {
|
|
|
431
557
|
isLoading: boolean;
|
|
432
558
|
error: Error | null;
|
|
433
559
|
}
|
|
434
|
-
declare function useChatMessages({ initialMessages, threadId, onError, }?: UseChatMessagesOptions): UseChatMessagesReturn;
|
|
560
|
+
declare function useChatMessages({ initialMessages, threadId, onError, enabled, }?: UseChatMessagesOptions): UseChatMessagesReturn;
|
|
435
561
|
|
|
436
562
|
interface TtsRequest {
|
|
437
563
|
text: string;
|
|
@@ -626,7 +752,7 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_
|
|
|
626
752
|
|
|
627
753
|
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
628
754
|
declare const sheetVariants: (props?: ({
|
|
629
|
-
side?: "
|
|
755
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
630
756
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
631
757
|
interface SheetContentProps extends React$1.ComponentProps<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
632
758
|
}
|
|
@@ -735,4 +861,4 @@ interface UserMessageRendererProps {
|
|
|
735
861
|
}
|
|
736
862
|
declare const UserMessageRenderer: React__default.FC<UserMessageRendererProps>;
|
|
737
863
|
|
|
738
|
-
export { AgentSelect, AppSidebar, AssistantMessageRenderer, type AssistantMessageRendererProps, type AttachedImage, Badge, BrowserPreviewPanel, BrowserViewport, type BrowserViewportProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chat, type ChatCustomRenderers, type ChatEmptyStateCategory, type ChatEmptyStateController, type ChatEmptyStateOptions, type ChatEmptyStateStarter, ChatInput, type ChatInputProps, type ChatInstance, type ChatProps, type ChatState, type ChatStateStore, ConfigurationPanel, DialogRoot as Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, type DistriAnyTool, DistriProvider, type DistriUiTool, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type ExtractedContent, ImageRenderer, type ImageRendererProps, Input, LoadingShimmer, MessageRenderer, type MessageRendererProps, type ModelOption, type PlanState, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, StepBasedRenderer, type StepBasedRendererProps, type StepState, type StreamingIndicator, StreamingTextRenderer, type StreamingTtsOptions, type TaskState, Textarea, ThemeProvider, ThemeToggle, ThinkingRenderer, type ThinkingRendererProps, type ToolCallState, type ToolCallStatus, type ToolRendererMap, type ToolRendererProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TtsConfig, type TtsRequest, TypingIndicator, type UiToolProps, type UseAgentOptions, type UseAgentResult, type UseAgentsResult, type UseChatMessagesOptions, type UseChatMessagesReturn, type UseChatOptions, type UseChatReturn, type UseConfigurationResult, type UseThreadMessagesOptions, type UseThreadsResult, UserMessageRenderer, type UserMessageRendererProps, VoiceInput, type VoiceInputProps, extractContent, useAgent, useAgentDefinitions, useChat, useChatMessages, useChatStateStore, useConfiguration, useDistri, useSidebar, useSpeechToText, useTheme, useThreads, useTts, wrapFnToolAsUiTool, wrapTools };
|
|
864
|
+
export { AgentSelect, AppSidebar, AssistantMessageRenderer, type AssistantMessageRendererProps, type AttachedImage, AuthLoading, type AuthStatus, Badge, BrowserPreviewPanel, BrowserViewport, type BrowserViewportProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chat, type ChatContainerProps, type ChatCustomRenderers, type ChatEmptyStateCategory, type ChatEmptyStateController, type ChatEmptyStateOptions, type ChatEmptyStateStarter, ChatInner, ChatInput, type ChatInputProps, type ChatInstance, type ChatProps, type ChatState, type ChatStateStore, ConfigurationPanel, DialogRoot as Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, type DistriAnyTool, DistriAuthProvider, DistriContext, DistriProvider, type DistriUiTool, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type ExtractedContent, ImageRenderer, type ImageRendererProps, Input, LoadingAnimation, type LoadingAnimationConfig, type LoadingAnimationPreset, type LoadingAnimationProps, LoadingShimmer, MessageRenderer, type MessageRendererProps, type ModelOption, type PlanState, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, StepBasedRenderer, type StepBasedRendererProps, type StepState, type StreamingIndicator, StreamingTextRenderer, type StreamingTtsOptions, type TaskState, Textarea, ThemeProvider, ThemeToggle, ThinkingRenderer, type ThinkingRendererProps, type ToolCallState, type ToolCallStatus, type ToolRendererMap, type ToolRendererProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TtsConfig, type TtsRequest, TypingIndicator, type UiToolProps, type UseAgentOptions, type UseAgentResult, type UseAgentsResult, type UseChatMessagesOptions, type UseChatMessagesReturn, type UseChatOptions, type UseChatReturn, type UseConfigurationResult, type UseThreadMessagesOptions, type UseThreadsOptions, type UseThreadsResult, UserMessageRenderer, type UserMessageRendererProps, VoiceInput, type VoiceInputProps, extractContent, useAgent, useAgentDefinitions, useChat, useChatMessages, useChatStateStore, useConfiguration, useDistri, useDistriAuth, useDistriToken, useSidebar, useSpeechToText, useTheme, useThreads, useTts, wrapFnToolAsUiTool, wrapTools };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Agent as Agent$1, DistriChatMessage, DistriBaseTool, ToolExecutionOptions, DistriMessage, DistriPart, AgentDefinition, DistriThread, DistriFnTool, ToolCall, ToolResult, PlanStep, DistriConfiguration,
|
|
1
|
+
import { Agent as Agent$1, DistriChatMessage, DistriBaseTool, ToolExecutionOptions, DistriMessage, DistriPart, AgentDefinition, DistriThread, DistriFnTool, ToolCall, ToolResult, PlanStep, DistriConfiguration, DistriClient, DistriClientConfig, SpeechToTextConfig, StreamingTranscriptionOptions, ConfigurationMeta, ConfigurationResponse, DistriEvent, ImagePart } from '@distri/core';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactNode } from 'react';
|
|
4
4
|
import * as zustand from 'zustand';
|
|
@@ -13,7 +13,7 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
13
13
|
|
|
14
14
|
interface UseChatOptions {
|
|
15
15
|
threadId: string;
|
|
16
|
-
agent
|
|
16
|
+
agent: Agent$1 | null;
|
|
17
17
|
onMessage?: (message: DistriChatMessage) => void;
|
|
18
18
|
onError?: (error: Error) => void;
|
|
19
19
|
getMetadata?: () => Promise<Record<string, unknown>>;
|
|
@@ -37,6 +37,7 @@ declare function useChat({ threadId, onError, getMetadata, agent, externalTools,
|
|
|
37
37
|
|
|
38
38
|
interface UseAgentOptions {
|
|
39
39
|
agentIdOrDef: string | AgentDefinition;
|
|
40
|
+
enabled?: boolean;
|
|
40
41
|
}
|
|
41
42
|
interface UseAgentResult {
|
|
42
43
|
agent: Agent$1 | null;
|
|
@@ -47,7 +48,7 @@ interface UseAgentResult {
|
|
|
47
48
|
* useAgent is for agent configuration and invocation.
|
|
48
49
|
* For chat UIs, use useChat instead.
|
|
49
50
|
*/
|
|
50
|
-
declare function useAgent({ agentIdOrDef, }: UseAgentOptions): UseAgentResult;
|
|
51
|
+
declare function useAgent({ agentIdOrDef, enabled, }: UseAgentOptions): UseAgentResult;
|
|
51
52
|
|
|
52
53
|
interface UseAgentsResult {
|
|
53
54
|
agents: AgentDefinition[];
|
|
@@ -67,11 +68,51 @@ interface UseThreadsResult {
|
|
|
67
68
|
fetchThread: (threadId: string) => Promise<DistriThread>;
|
|
68
69
|
updateThread: (threadId: string, localId?: string) => Promise<void>;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
+
interface UseThreadsOptions {
|
|
72
|
+
enabled?: boolean;
|
|
73
|
+
}
|
|
74
|
+
declare function useThreads(options?: UseThreadsOptions): UseThreadsResult;
|
|
71
75
|
interface UseThreadMessagesOptions {
|
|
72
76
|
threadId: string | null;
|
|
73
77
|
}
|
|
74
78
|
|
|
79
|
+
type LoadingAnimationPreset = 'typing-dots' | 'pulse-ring' | 'teacher-typing' | 'spinner' | 'wave';
|
|
80
|
+
interface LoadingAnimationConfig {
|
|
81
|
+
/** Preset animation style */
|
|
82
|
+
preset?: LoadingAnimationPreset;
|
|
83
|
+
/** Custom CSS class for the container */
|
|
84
|
+
className?: string;
|
|
85
|
+
/** Primary color (CSS color value) */
|
|
86
|
+
primaryColor?: string;
|
|
87
|
+
/** Secondary color for gradients (CSS color value) */
|
|
88
|
+
secondaryColor?: string;
|
|
89
|
+
/** Avatar emoji/icon for teacher-typing preset */
|
|
90
|
+
avatar?: string;
|
|
91
|
+
/** Label text shown alongside animation */
|
|
92
|
+
label?: string;
|
|
93
|
+
/** Size variant */
|
|
94
|
+
size?: 'sm' | 'md' | 'lg';
|
|
95
|
+
}
|
|
96
|
+
interface LoadingAnimationProps {
|
|
97
|
+
config?: LoadingAnimationConfig;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* LoadingAnimation component that renders various loading indicator styles.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* // Default typing dots
|
|
104
|
+
* <LoadingAnimation />
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* // Teacher typing style with avatar
|
|
108
|
+
* <LoadingAnimation config={{ preset: 'teacher-typing', avatar: '🎓', label: 'Teacher is typing...' }} />
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* // Custom colored pulse ring
|
|
112
|
+
* <LoadingAnimation config={{ preset: 'pulse-ring', primaryColor: '#6366F1' }} />
|
|
113
|
+
*/
|
|
114
|
+
declare const LoadingAnimation: React__default.FC<LoadingAnimationProps>;
|
|
115
|
+
|
|
75
116
|
type ToolCallStatus = 'pending' | 'running' | 'completed' | 'error' | 'user_action_required';
|
|
76
117
|
type DistriAnyTool = DistriFnTool | DistriUiTool;
|
|
77
118
|
interface DistriUiTool extends DistriBaseTool {
|
|
@@ -222,16 +263,28 @@ declare const useChatStateStore: zustand.UseBoundStore<zustand.StoreApi<ChatStat
|
|
|
222
263
|
|
|
223
264
|
interface ChatEmptyStateStarter {
|
|
224
265
|
id?: string;
|
|
266
|
+
/** Display label for the starter button */
|
|
225
267
|
label: string;
|
|
268
|
+
/** The prompt text to send (defaults to label if not provided) */
|
|
226
269
|
prompt?: string;
|
|
270
|
+
/** Optional description shown below the label */
|
|
227
271
|
description?: string;
|
|
272
|
+
/** Whether to auto-send when clicked (defaults to true) */
|
|
228
273
|
autoSend?: boolean;
|
|
274
|
+
/** Optional icon/emoji to display before the label */
|
|
275
|
+
icon?: string;
|
|
276
|
+
/** Optional variant for different styling */
|
|
277
|
+
variant?: 'default' | 'outline' | 'ghost';
|
|
229
278
|
}
|
|
230
279
|
interface ChatEmptyStateCategory {
|
|
231
280
|
id: string;
|
|
232
281
|
title?: string;
|
|
233
282
|
description?: string;
|
|
283
|
+
/** Icon for the category header */
|
|
284
|
+
icon?: string;
|
|
234
285
|
starters?: ChatEmptyStateStarter[];
|
|
286
|
+
/** Layout for starters: 'list' (default) or 'grid' */
|
|
287
|
+
layout?: 'list' | 'grid';
|
|
235
288
|
}
|
|
236
289
|
interface ChatEmptyStateOptions {
|
|
237
290
|
eyebrow?: string;
|
|
@@ -242,6 +295,8 @@ interface ChatEmptyStateOptions {
|
|
|
242
295
|
startersLabel?: string;
|
|
243
296
|
categories?: ChatEmptyStateCategory[];
|
|
244
297
|
autoSendOnStarterClick?: boolean;
|
|
298
|
+
/** Default layout for all categories: 'list' (default) or 'grid' */
|
|
299
|
+
layout?: 'list' | 'grid';
|
|
245
300
|
}
|
|
246
301
|
|
|
247
302
|
interface ModelOption {
|
|
@@ -269,7 +324,7 @@ interface ChatEmptyStateController {
|
|
|
269
324
|
}
|
|
270
325
|
interface ChatProps {
|
|
271
326
|
threadId: string;
|
|
272
|
-
agent?: Agent$1;
|
|
327
|
+
agent?: Agent$1 | null;
|
|
273
328
|
onMessage?: (message: DistriChatMessage) => void;
|
|
274
329
|
beforeSendMessage?: (content: DistriMessage) => Promise<DistriMessage>;
|
|
275
330
|
onError?: (error: Error) => void;
|
|
@@ -287,6 +342,22 @@ interface ChatProps {
|
|
|
287
342
|
onTaskFinish?: (task: TaskState) => void;
|
|
288
343
|
renderEmptyState?: (controller: ChatEmptyStateController) => React__default.ReactNode;
|
|
289
344
|
emptyState?: ChatEmptyStateOptions;
|
|
345
|
+
/**
|
|
346
|
+
* Starter commands shown in empty state. These are quick-action buttons
|
|
347
|
+
* that users can click to send predefined prompts.
|
|
348
|
+
* Alternative to emptyState.categories - if provided, these will be merged.
|
|
349
|
+
*/
|
|
350
|
+
starterCommands?: ChatEmptyStateStarter[];
|
|
351
|
+
/**
|
|
352
|
+
* Configuration for the loading/typing animation shown while waiting for responses.
|
|
353
|
+
* Supports presets like 'typing-dots', 'teacher-typing', 'pulse-ring', 'spinner', 'wave'.
|
|
354
|
+
*/
|
|
355
|
+
loadingAnimation?: LoadingAnimationConfig;
|
|
356
|
+
/**
|
|
357
|
+
* Custom render function for the loading animation.
|
|
358
|
+
* If provided, overrides loadingAnimation config.
|
|
359
|
+
*/
|
|
360
|
+
renderLoadingAnimation?: () => React__default.ReactNode;
|
|
290
361
|
voiceEnabled?: boolean;
|
|
291
362
|
useSpeechRecognition?: boolean;
|
|
292
363
|
ttsConfig?: {
|
|
@@ -297,7 +368,16 @@ interface ChatProps {
|
|
|
297
368
|
initialInput?: string;
|
|
298
369
|
allowBrowserPreview?: boolean;
|
|
299
370
|
maxWidth?: string;
|
|
371
|
+
className?: string;
|
|
372
|
+
agentId?: string;
|
|
373
|
+
enableHistory?: boolean;
|
|
374
|
+
}
|
|
375
|
+
declare const ChatInner: React__default.ForwardRefExoticComponent<ChatProps & React__default.RefAttributes<ChatInstance>>;
|
|
376
|
+
interface ChatContainerProps extends ChatProps {
|
|
300
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* The main Chat component that handles authentication via AuthLoading guardian.
|
|
380
|
+
*/
|
|
301
381
|
declare const Chat: React__default.ForwardRefExoticComponent<ChatProps & React__default.RefAttributes<ChatInstance>>;
|
|
302
382
|
|
|
303
383
|
interface Agent {
|
|
@@ -404,24 +484,70 @@ declare const useTheme: () => ThemeProviderState;
|
|
|
404
484
|
|
|
405
485
|
declare function ThemeToggle(): react_jsx_runtime.JSX.Element;
|
|
406
486
|
|
|
487
|
+
interface AuthLoadingProps {
|
|
488
|
+
children?: React__default.ReactNode;
|
|
489
|
+
className?: string;
|
|
490
|
+
}
|
|
491
|
+
declare const AuthLoading: React__default.FC<AuthLoadingProps>;
|
|
492
|
+
|
|
407
493
|
interface DistriContextValue {
|
|
408
494
|
client: DistriClient | null;
|
|
409
495
|
error: Error | null;
|
|
410
496
|
isLoading: boolean;
|
|
497
|
+
token?: string | null;
|
|
411
498
|
}
|
|
499
|
+
declare const DistriContext: React$1.Context<DistriContextValue>;
|
|
412
500
|
interface DistriProviderProps {
|
|
413
501
|
config: DistriClientConfig;
|
|
414
502
|
children: ReactNode;
|
|
415
503
|
defaultTheme?: 'dark' | 'light' | 'system';
|
|
416
504
|
}
|
|
417
|
-
|
|
505
|
+
/**
|
|
506
|
+
* Core provider for Distri SDK. Initializes the DistriClient and handles authentication.
|
|
507
|
+
*
|
|
508
|
+
* If `config.clientId` is provided, it will automatically handle cloud authentication
|
|
509
|
+
* using a dedicated headless provisioner.
|
|
510
|
+
*/
|
|
511
|
+
declare function DistriProvider(props: DistriProviderProps): react_jsx_runtime.JSX.Element;
|
|
418
512
|
declare function useDistri(): DistriContextValue;
|
|
513
|
+
declare function useDistriToken(): {
|
|
514
|
+
token: string | null | undefined;
|
|
515
|
+
isLoading: boolean;
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
type AuthStatus = 'idle' | 'loading' | 'authenticated' | 'error';
|
|
519
|
+
interface DistriAuthContextValue {
|
|
520
|
+
token: string | null;
|
|
521
|
+
status: AuthStatus;
|
|
522
|
+
error: string | null;
|
|
523
|
+
requestAuth: () => Promise<string | null>;
|
|
524
|
+
setToken: (token: string | null) => void;
|
|
525
|
+
setStatus: (status: AuthStatus) => void;
|
|
526
|
+
setError: (error: string | null) => void;
|
|
527
|
+
resolveAuth: (token: string | null) => void;
|
|
528
|
+
config: {
|
|
529
|
+
clientId: string;
|
|
530
|
+
theme: 'dark' | 'light';
|
|
531
|
+
baseUrl: string;
|
|
532
|
+
debug: boolean;
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
interface DistriAuthProviderProps {
|
|
536
|
+
clientId: string;
|
|
537
|
+
theme?: 'dark' | 'light';
|
|
538
|
+
children: ReactNode;
|
|
539
|
+
debug?: boolean;
|
|
540
|
+
baseUrl?: string;
|
|
541
|
+
}
|
|
542
|
+
declare function DistriAuthProvider({ clientId, theme, children, debug, baseUrl }: DistriAuthProviderProps): react_jsx_runtime.JSX.Element;
|
|
543
|
+
declare function useDistriAuth(): DistriAuthContextValue;
|
|
419
544
|
|
|
420
545
|
interface UseChatMessagesOptions {
|
|
421
546
|
initialMessages?: DistriChatMessage[];
|
|
422
547
|
agent?: Agent$1;
|
|
423
548
|
threadId?: string;
|
|
424
549
|
onError?: (error: Error) => void;
|
|
550
|
+
enabled?: boolean;
|
|
425
551
|
}
|
|
426
552
|
interface UseChatMessagesReturn {
|
|
427
553
|
messages: DistriChatMessage[];
|
|
@@ -431,7 +557,7 @@ interface UseChatMessagesReturn {
|
|
|
431
557
|
isLoading: boolean;
|
|
432
558
|
error: Error | null;
|
|
433
559
|
}
|
|
434
|
-
declare function useChatMessages({ initialMessages, threadId, onError, }?: UseChatMessagesOptions): UseChatMessagesReturn;
|
|
560
|
+
declare function useChatMessages({ initialMessages, threadId, onError, enabled, }?: UseChatMessagesOptions): UseChatMessagesReturn;
|
|
435
561
|
|
|
436
562
|
interface TtsRequest {
|
|
437
563
|
text: string;
|
|
@@ -626,7 +752,7 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_
|
|
|
626
752
|
|
|
627
753
|
declare const Sheet: React$1.FC<SheetPrimitive.DialogProps>;
|
|
628
754
|
declare const sheetVariants: (props?: ({
|
|
629
|
-
side?: "
|
|
755
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
630
756
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
631
757
|
interface SheetContentProps extends React$1.ComponentProps<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
632
758
|
}
|
|
@@ -735,4 +861,4 @@ interface UserMessageRendererProps {
|
|
|
735
861
|
}
|
|
736
862
|
declare const UserMessageRenderer: React__default.FC<UserMessageRendererProps>;
|
|
737
863
|
|
|
738
|
-
export { AgentSelect, AppSidebar, AssistantMessageRenderer, type AssistantMessageRendererProps, type AttachedImage, Badge, BrowserPreviewPanel, BrowserViewport, type BrowserViewportProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chat, type ChatCustomRenderers, type ChatEmptyStateCategory, type ChatEmptyStateController, type ChatEmptyStateOptions, type ChatEmptyStateStarter, ChatInput, type ChatInputProps, type ChatInstance, type ChatProps, type ChatState, type ChatStateStore, ConfigurationPanel, DialogRoot as Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, type DistriAnyTool, DistriProvider, type DistriUiTool, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type ExtractedContent, ImageRenderer, type ImageRendererProps, Input, LoadingShimmer, MessageRenderer, type MessageRendererProps, type ModelOption, type PlanState, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, StepBasedRenderer, type StepBasedRendererProps, type StepState, type StreamingIndicator, StreamingTextRenderer, type StreamingTtsOptions, type TaskState, Textarea, ThemeProvider, ThemeToggle, ThinkingRenderer, type ThinkingRendererProps, type ToolCallState, type ToolCallStatus, type ToolRendererMap, type ToolRendererProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TtsConfig, type TtsRequest, TypingIndicator, type UiToolProps, type UseAgentOptions, type UseAgentResult, type UseAgentsResult, type UseChatMessagesOptions, type UseChatMessagesReturn, type UseChatOptions, type UseChatReturn, type UseConfigurationResult, type UseThreadMessagesOptions, type UseThreadsResult, UserMessageRenderer, type UserMessageRendererProps, VoiceInput, type VoiceInputProps, extractContent, useAgent, useAgentDefinitions, useChat, useChatMessages, useChatStateStore, useConfiguration, useDistri, useSidebar, useSpeechToText, useTheme, useThreads, useTts, wrapFnToolAsUiTool, wrapTools };
|
|
864
|
+
export { AgentSelect, AppSidebar, AssistantMessageRenderer, type AssistantMessageRendererProps, type AttachedImage, AuthLoading, type AuthStatus, Badge, BrowserPreviewPanel, BrowserViewport, type BrowserViewportProps, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Chat, type ChatContainerProps, type ChatCustomRenderers, type ChatEmptyStateCategory, type ChatEmptyStateController, type ChatEmptyStateOptions, type ChatEmptyStateStarter, ChatInner, ChatInput, type ChatInputProps, type ChatInstance, type ChatProps, type ChatState, type ChatStateStore, ConfigurationPanel, DialogRoot as Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger, type DistriAnyTool, DistriAuthProvider, DistriContext, DistriProvider, type DistriUiTool, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type ExtractedContent, ImageRenderer, type ImageRendererProps, Input, LoadingAnimation, type LoadingAnimationConfig, type LoadingAnimationPreset, type LoadingAnimationProps, LoadingShimmer, MessageRenderer, type MessageRendererProps, type ModelOption, type PlanState, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, StepBasedRenderer, type StepBasedRendererProps, type StepState, type StreamingIndicator, StreamingTextRenderer, type StreamingTtsOptions, type TaskState, Textarea, ThemeProvider, ThemeToggle, ThinkingRenderer, type ThinkingRendererProps, type ToolCallState, type ToolCallStatus, type ToolRendererMap, type ToolRendererProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TtsConfig, type TtsRequest, TypingIndicator, type UiToolProps, type UseAgentOptions, type UseAgentResult, type UseAgentsResult, type UseChatMessagesOptions, type UseChatMessagesReturn, type UseChatOptions, type UseChatReturn, type UseConfigurationResult, type UseThreadMessagesOptions, type UseThreadsOptions, type UseThreadsResult, UserMessageRenderer, type UserMessageRendererProps, VoiceInput, type VoiceInputProps, extractContent, useAgent, useAgentDefinitions, useChat, useChatMessages, useChatStateStore, useConfiguration, useDistri, useDistriAuth, useDistriToken, useSidebar, useSpeechToText, useTheme, useThreads, useTts, wrapFnToolAsUiTool, wrapTools };
|