@distri/react 0.3.3 → 0.3.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.
- package/dist/globals.css +44 -18
- package/dist/index.cjs +23998 -32150
- package/dist/index.d.cts +203 -19
- package/dist/index.d.ts +203 -19
- package/dist/index.js +24900 -6622
- package/package.json +2 -2
- package/dist/1c-7AW3GV5D.js +0 -147
- package/dist/abap-RZXDBO34.js +0 -6
- package/dist/abnf-LFXKYPTE.js +0 -6
- package/dist/abnf-Z3TAQEJM.js +0 -81
- package/dist/accesslog-ZOOCBMRV.js +0 -103
- package/dist/actionscript-NMEPFW6V.js +0 -6
- package/dist/actionscript-XW26GMAR.js +0 -93
- package/dist/ada-GQX6RQYW.js +0 -154
- package/dist/ada-KAP2BIRN.js +0 -6
- package/dist/agda-LXVI5IVP.js +0 -6
- package/dist/al-IMSCV32T.js +0 -6
- package/dist/angelscript-AMBXX62E.js +0 -125
- package/dist/antlr4-OVLMRHYB.js +0 -6
- package/dist/apache-XZ5RWPDR.js +0 -85
- package/dist/apacheconf-HKQJ5NJO.js +0 -6
- package/dist/apex-LVR5JPPF.js +0 -7
- package/dist/apl-VU6W4QO6.js +0 -6
- package/dist/applescript-6LG66P27.js +0 -6
- package/dist/applescript-YAWUZCIV.js +0 -147
- package/dist/aql-USJOB6TF.js +0 -6
- package/dist/arcade-TO5IZCKQ.js +0 -155
- package/dist/arduino-AZG4BUSE.js +0 -8
- package/dist/arduino-L3JZ66FT.js +0 -431
- package/dist/arff-APNCEISG.js +0 -6
- package/dist/armasm-NCB2R7NX.js +0 -102
- package/dist/asciidoc-46ADNNWO.js +0 -284
- package/dist/asciidoc-QYD5TVDD.js +0 -6
- package/dist/asm6502-BEBRXA7M.js +0 -6
- package/dist/asmatmel-XQIGLRVK.js +0 -6
- package/dist/aspectj-D4Y76SIE.js +0 -162
- package/dist/aspnet-UHTCQSDH.js +0 -7
- package/dist/autohotkey-IIHBJECF.js +0 -6
- package/dist/autohotkey-ZUFB3UUH.js +0 -85
- package/dist/autoit-D6LIFZPB.js +0 -6
- package/dist/autoit-V5NWCIC4.js +0 -169
- package/dist/avisynth-3VCDFKCZ.js +0 -6
- package/dist/avrasm-PGRJU5JU.js +0 -70
- package/dist/avro-idl-FXSGLMXK.js +0 -6
- package/dist/awk-4WPZLZKG.js +0 -75
- package/dist/axapta-WNNTUV55.js +0 -176
- package/dist/bash-5Y6UH3SS.js +0 -6
- package/dist/bash-RRUQWWXM.js +0 -145
- package/dist/basic-NWKGTJOC.js +0 -6
- package/dist/basic-O4LF5G3R.js +0 -55
- package/dist/batch-XKBL5OHU.js +0 -6
- package/dist/bbcode-QPF5GYGO.js +0 -6
- package/dist/bicep-TOQX26UQ.js +0 -6
- package/dist/birb-36ZVMI7E.js +0 -6
- package/dist/bison-IYKBMW4P.js +0 -7
- package/dist/bnf-LDELCAVY.js +0 -6
- package/dist/bnf-RHY5XNKD.js +0 -41
- package/dist/brainfuck-4DRXHKWI.js +0 -49
- package/dist/brainfuck-J4DKROO7.js +0 -6
- package/dist/brightscript-35QVNLUS.js +0 -6
- package/dist/bro-NUVRYFRO.js +0 -6
- package/dist/bsl-QM7MAAHT.js +0 -6
- package/dist/c-DOKPHOFP.js +0 -254
- package/dist/c-TEKQ4DGS.js +0 -6
- package/dist/c-like-Y5QETBOY.js +0 -431
- package/dist/cal-TDJDGX2M.js +0 -102
- package/dist/capnproto-HGWKNXJA.js +0 -63
- package/dist/ceylon-D3HMJW7U.js +0 -74
- package/dist/cfscript-R7KHTNNX.js +0 -6
- package/dist/chaiscript-GJKTRGUM.js +0 -8
- package/dist/chunk-224YY5NT.js +0 -108
- package/dist/chunk-2327UYDO.js +0 -46
- package/dist/chunk-25POKMV6.js +0 -51
- package/dist/chunk-2AV3EFZE.js +0 -79
- package/dist/chunk-2CLX53E2.js +0 -78
- package/dist/chunk-2DN3IOCQ.js +0 -84
- package/dist/chunk-2ERERLEL.js +0 -38
- package/dist/chunk-2FISFK3J.js +0 -47
- package/dist/chunk-2GZAL6UU.js +0 -29
- package/dist/chunk-2JUB4ICW.js +0 -88
- package/dist/chunk-2OZIJ3G7.js +0 -155
- package/dist/chunk-2Q77FUPY.js +0 -39
- package/dist/chunk-2RJEAAD5.js +0 -132
- package/dist/chunk-2WWHQC2T.js +0 -62
- package/dist/chunk-32BGMHI3.js +0 -75
- package/dist/chunk-33ATF6VZ.js +0 -71
- package/dist/chunk-3B6YHKRZ.js +0 -102
- package/dist/chunk-3G4LB4ZS.js +0 -23
- package/dist/chunk-3LFBVHQS.js +0 -41
- package/dist/chunk-3XLN3CQP.js +0 -46
- package/dist/chunk-3XQSRPIY.js +0 -55
- package/dist/chunk-3ZXR46SV.js +0 -59
- package/dist/chunk-44CFNXPV.js +0 -131
- package/dist/chunk-46UDBQ4N.js +0 -44
- package/dist/chunk-4FQ7CIOW.js +0 -55
- package/dist/chunk-4MGSP4TC.js +0 -97
- package/dist/chunk-4PTEB3IM.js +0 -78
- package/dist/chunk-4QNMEJF3.js +0 -59
- package/dist/chunk-4U2VUXPS.js +0 -90
- package/dist/chunk-4VWP7BGD.js +0 -32
- package/dist/chunk-56HGBXBL.js +0 -77
- package/dist/chunk-5BU6V2BX.js +0 -39
- package/dist/chunk-5C74WHTB.js +0 -39
- package/dist/chunk-5EG2VRYF.js +0 -151
- package/dist/chunk-5FRG2PAT.js +0 -33
- package/dist/chunk-5GDFB4UH.js +0 -58
- package/dist/chunk-5HV4RQQT.js +0 -69
- package/dist/chunk-5KUC6XAA.js +0 -166
- package/dist/chunk-5WQRG6G3.js +0 -70
- package/dist/chunk-5YMAHHDK.js +0 -312
- package/dist/chunk-6A7JQBY6.js +0 -54
- package/dist/chunk-6D5CMJVA.js +0 -34
- package/dist/chunk-6QYKEPEB.js +0 -39
- package/dist/chunk-6SCK5FOO.js +0 -33
- package/dist/chunk-6SVXOPAI.js +0 -62
- package/dist/chunk-6TXPHO25.js +0 -45
- package/dist/chunk-6V5ORWUQ.js +0 -59
- package/dist/chunk-72ZMT6AW.js +0 -74
- package/dist/chunk-74JQLVAI.js +0 -53
- package/dist/chunk-7LE5EHO2.js +0 -103
- package/dist/chunk-7VE4EHQE.js +0 -32
- package/dist/chunk-7WCISJEQ.js +0 -39
- package/dist/chunk-A4QKLBGO.js +0 -42
- package/dist/chunk-AAY72PHZ.js +0 -96
- package/dist/chunk-AG5QUY4G.js +0 -205
- package/dist/chunk-AH6RNPD4.js +0 -74
- package/dist/chunk-AKPQ2QSW.js +0 -51
- package/dist/chunk-AL5F2RG6.js +0 -75
- package/dist/chunk-ANJSFC3S.js +0 -139
- package/dist/chunk-ANN6ENLU.js +0 -95
- package/dist/chunk-AQ2A5SM2.js +0 -147
- package/dist/chunk-AQ3MKUYO.js +0 -43
- package/dist/chunk-AQJYYOAC.js +0 -51
- package/dist/chunk-B2OKL64P.js +0 -37
- package/dist/chunk-B3AXIWKC.js +0 -44
- package/dist/chunk-B46PX26X.js +0 -46
- package/dist/chunk-B473FUV4.js +0 -48
- package/dist/chunk-B4R5D6RX.js +0 -61
- package/dist/chunk-B6FTZZUW.js +0 -141
- package/dist/chunk-BADY4QJT.js +0 -108
- package/dist/chunk-BFWT5TFF.js +0 -289
- package/dist/chunk-BMGDNO7Z.js +0 -47
- package/dist/chunk-BMXVOIML.js +0 -68
- package/dist/chunk-BRBFR6ZG.js +0 -63
- package/dist/chunk-BSMFHVLJ.js +0 -27
- package/dist/chunk-BZICFOAT.js +0 -30
- package/dist/chunk-C2AUXPBE.js +0 -197
- package/dist/chunk-C2OQKTHF.js +0 -68
- package/dist/chunk-C42ZRXEU.js +0 -95
- package/dist/chunk-C5GZKZ5Y.js +0 -62
- package/dist/chunk-C6WP5G3P.js +0 -50
- package/dist/chunk-C74WNJ2N.js +0 -36
- package/dist/chunk-CJ3LCOGO.js +0 -54
- package/dist/chunk-CLMBD4JD.js +0 -62
- package/dist/chunk-CMKP4B37.js +0 -114
- package/dist/chunk-CN4R4LEB.js +0 -139
- package/dist/chunk-CNOSY7CM.js +0 -98
- package/dist/chunk-COEBQGAB.js +0 -52
- package/dist/chunk-CXLY5AKA.js +0 -42
- package/dist/chunk-D376GLYK.js +0 -153
- package/dist/chunk-DARM25ZV.js +0 -240
- package/dist/chunk-DB5PI577.js +0 -38
- package/dist/chunk-DCAPJSFU.js +0 -110
- package/dist/chunk-DCJU76MU.js +0 -47
- package/dist/chunk-DCKHR7CW.js +0 -150
- package/dist/chunk-DHUOF54O.js +0 -168
- package/dist/chunk-DIPKDKOW.js +0 -52
- package/dist/chunk-DKZMCKWJ.js +0 -112
- package/dist/chunk-DM4V5JFL.js +0 -146
- package/dist/chunk-DRPQ5HML.js +0 -87
- package/dist/chunk-DVS47EX7.js +0 -71
- package/dist/chunk-DYKZ7WAD.js +0 -122
- package/dist/chunk-E3MMTLT7.js +0 -93
- package/dist/chunk-E4OGXPQD.js +0 -41
- package/dist/chunk-E4WYTZCV.js +0 -27
- package/dist/chunk-E5VEHLSN.js +0 -117
- package/dist/chunk-ECQZQ46F.js +0 -196
- package/dist/chunk-EJSYBCND.js +0 -60
- package/dist/chunk-EJWUQTF5.js +0 -148
- package/dist/chunk-EL5SRABP.js +0 -79
- package/dist/chunk-EQDG6AMZ.js +0 -88
- package/dist/chunk-EQTNSL53.js +0 -101
- package/dist/chunk-EUKMYSUQ.js +0 -46
- package/dist/chunk-EY2HVCBS.js +0 -76
- package/dist/chunk-EYDLVF7H.js +0 -74
- package/dist/chunk-F3IVXEVB.js +0 -66
- package/dist/chunk-F62JS3FM.js +0 -110
- package/dist/chunk-FGIZ2S6U.js +0 -40
- package/dist/chunk-FGMUBJ4A.js +0 -35
- package/dist/chunk-FPVNS6TI.js +0 -36
- package/dist/chunk-FZXXJOLY.js +0 -89
- package/dist/chunk-GAYPKEUG.js +0 -217
- package/dist/chunk-GBJDIK2H.js +0 -942
- package/dist/chunk-GEYTWOXL.js +0 -71
- package/dist/chunk-GHKONZF7.js +0 -43
- package/dist/chunk-GHZQDGEH.js +0 -74
- package/dist/chunk-GIGNBEK3.js +0 -69
- package/dist/chunk-GJM2DZXG.js +0 -47
- package/dist/chunk-GJXZBETM.js +0 -61
- package/dist/chunk-GZZQH4I7.js +0 -67
- package/dist/chunk-H52A7GGB.js +0 -71
- package/dist/chunk-HBQOI7QH.js +0 -382
- package/dist/chunk-HKGVZYQL.js +0 -48
- package/dist/chunk-HPFVUGXV.js +0 -47
- package/dist/chunk-HSNQ3GJK.js +0 -30
- package/dist/chunk-HWOE366M.js +0 -38
- package/dist/chunk-HWZH5O43.js +0 -43
- package/dist/chunk-HXFULKRD.js +0 -98
- package/dist/chunk-I4T33AAE.js +0 -106
- package/dist/chunk-IGHFZEZN.js +0 -187
- package/dist/chunk-IKJLE5M7.js +0 -366
- package/dist/chunk-IR7VL7RD.js +0 -82
- package/dist/chunk-IRD7U5ZU.js +0 -51
- package/dist/chunk-IYFR4CDA.js +0 -44
- package/dist/chunk-J7AEKJ46.js +0 -144
- package/dist/chunk-JEUPR533.js +0 -150
- package/dist/chunk-JX27E7Z7.js +0 -28
- package/dist/chunk-JZBGRMXH.js +0 -137
- package/dist/chunk-K7N3TO3V.js +0 -57
- package/dist/chunk-KDLA7HDC.js +0 -46
- package/dist/chunk-KEWYGECE.js +0 -82
- package/dist/chunk-KFN445LW.js +0 -67
- package/dist/chunk-KKSPKZZM.js +0 -82
- package/dist/chunk-KOMNWMW6.js +0 -50
- package/dist/chunk-KVLLQAIY.js +0 -132
- package/dist/chunk-LAIV7V4D.js +0 -72
- package/dist/chunk-LB3N6HYU.js +0 -60
- package/dist/chunk-LDSSSJQI.js +0 -38
- package/dist/chunk-LKU2HB7I.js +0 -108
- package/dist/chunk-LONXLQIZ.js +0 -66
- package/dist/chunk-LSGY64ZA.js +0 -59
- package/dist/chunk-M36ANKM4.js +0 -63
- package/dist/chunk-M7IOWAP5.js +0 -89
- package/dist/chunk-M7UI667O.js +0 -4903
- package/dist/chunk-MI6VDBLM.js +0 -93
- package/dist/chunk-MRLBYC4E.js +0 -47
- package/dist/chunk-MU3ZP5L5.js +0 -91
- package/dist/chunk-MUOOCQ2U.js +0 -56
- package/dist/chunk-MVYKGSQQ.js +0 -65
- package/dist/chunk-NC6NC3VB.js +0 -94
- package/dist/chunk-NCAE746Z.js +0 -115
- package/dist/chunk-NF3NJF7X.js +0 -162
- package/dist/chunk-NH3HO3D4.js +0 -101
- package/dist/chunk-NMF5JCGX.js +0 -49
- package/dist/chunk-NMYFSUVO.js +0 -106
- package/dist/chunk-NOBI3JZF.js +0 -49
- package/dist/chunk-NQS5H6QB.js +0 -31
- package/dist/chunk-O7AAH5I3.js +0 -45
- package/dist/chunk-OI7FVI7R.js +0 -42
- package/dist/chunk-OIU6EBEL.js +0 -59
- package/dist/chunk-OKSPRUPW.js +0 -64
- package/dist/chunk-OPCW4BZG.js +0 -39
- package/dist/chunk-OTSTAJ2K.js +0 -77
- package/dist/chunk-P5GU767W.js +0 -28
- package/dist/chunk-P5ISSLEN.js +0 -83
- package/dist/chunk-P6E6SOVE.js +0 -43
- package/dist/chunk-PHXLGKXA.js +0 -117
- package/dist/chunk-PHZLT2J6.js +0 -61
- package/dist/chunk-PNSB4ZAL.js +0 -52
- package/dist/chunk-PSILHWIJ.js +0 -84
- package/dist/chunk-PSSNU4KS.js +0 -121
- package/dist/chunk-PU3XOBI7.js +0 -111
- package/dist/chunk-PVUHXI4V.js +0 -123
- package/dist/chunk-Q2EUB6IK.js +0 -41
- package/dist/chunk-Q6JXYTWV.js +0 -115
- package/dist/chunk-QHKGD7XU.js +0 -199
- package/dist/chunk-QK37NBUF.js +0 -68
- package/dist/chunk-QN4RHWLR.js +0 -239
- package/dist/chunk-QOBICMKH.js +0 -83
- package/dist/chunk-QRKZ53CV.js +0 -40
- package/dist/chunk-QU7D23ZR.js +0 -67
- package/dist/chunk-QW4QWRT5.js +0 -96
- package/dist/chunk-QXUKW3CC.js +0 -48
- package/dist/chunk-R2ZTLRVI.js +0 -70
- package/dist/chunk-R4GP4YGH.js +0 -49
- package/dist/chunk-R7OMI6H4.js +0 -91
- package/dist/chunk-RAQSSUDV.js +0 -158
- package/dist/chunk-RCE7QLLU.js +0 -75
- package/dist/chunk-RDF5QBXB.js +0 -44
- package/dist/chunk-RGS24K3W.js +0 -116
- package/dist/chunk-RKDF6JST.js +0 -30
- package/dist/chunk-RM2ULDSD.js +0 -94
- package/dist/chunk-RNK6SZJU.js +0 -47
- package/dist/chunk-RRRLL4DX.js +0 -82
- package/dist/chunk-RRXZFUCR.js +0 -39
- package/dist/chunk-SIUAQ32X.js +0 -53
- package/dist/chunk-SKD2A5KV.js +0 -54
- package/dist/chunk-SROV7A53.js +0 -61
- package/dist/chunk-SRRJNGRB.js +0 -60
- package/dist/chunk-STJVQCXY.js +0 -38
- package/dist/chunk-SWTN5ODE.js +0 -79
- package/dist/chunk-SYQSK3H2.js +0 -46
- package/dist/chunk-TEZZGNU2.js +0 -49
- package/dist/chunk-TK5GU4JT.js +0 -38
- package/dist/chunk-TQ3TRIZB.js +0 -71
- package/dist/chunk-TR5CHC4X.js +0 -427
- package/dist/chunk-U5SCPMNY.js +0 -82
- package/dist/chunk-UDWMCI4M.js +0 -26
- package/dist/chunk-UFBSSE4W.js +0 -112
- package/dist/chunk-UFJ2C45G.js +0 -119
- package/dist/chunk-UFNY555Q.js +0 -136
- package/dist/chunk-UI2KHTYZ.js +0 -60
- package/dist/chunk-UI7KT2WN.js +0 -82
- package/dist/chunk-UNBZUSFM.js +0 -41
- package/dist/chunk-UNYOTTJS.js +0 -97
- package/dist/chunk-UOGIGWWZ.js +0 -40
- package/dist/chunk-UPDA4XPV.js +0 -65
- package/dist/chunk-UPOA7A7K.js +0 -84
- package/dist/chunk-UR3RVG2E.js +0 -47
- package/dist/chunk-UXDI4352.js +0 -238
- package/dist/chunk-UYAK2IKF.js +0 -94
- package/dist/chunk-V6AWCJO5.js +0 -97
- package/dist/chunk-VDMFDRVD.js +0 -67
- package/dist/chunk-VHW7K2YZ.js +0 -1111
- package/dist/chunk-VIBEIY5K.js +0 -73
- package/dist/chunk-VJYOOKEI.js +0 -37
- package/dist/chunk-VRJ72GMO.js +0 -166
- package/dist/chunk-VUCUUNVX.js +0 -30
- package/dist/chunk-W23BPRNS.js +0 -77
- package/dist/chunk-W344P3PI.js +0 -65
- package/dist/chunk-W5UXHXCI.js +0 -71
- package/dist/chunk-WA6NBVF4.js +0 -39
- package/dist/chunk-WC3TRKEX.js +0 -97
- package/dist/chunk-WEJOCBAM.js +0 -41
- package/dist/chunk-WOTM2ZAV.js +0 -27
- package/dist/chunk-WRUJ627J.js +0 -44
- package/dist/chunk-WVU43QNT.js +0 -39
- package/dist/chunk-WY7CUUDW.js +0 -33
- package/dist/chunk-X2UFYMER.js +0 -76
- package/dist/chunk-XJW3ZV3N.js +0 -64
- package/dist/chunk-XUQ4ZZPG.js +0 -118
- package/dist/chunk-XZW7BF6N.js +0 -41
- package/dist/chunk-Y2TQJEJ7.js +0 -40
- package/dist/chunk-Y4NA3I35.js +0 -49
- package/dist/chunk-YGITEW2P.js +0 -41
- package/dist/chunk-YIOEYE2X.js +0 -156
- package/dist/chunk-YNW4BJ45.js +0 -51
- package/dist/chunk-YO7WLWGB.js +0 -75
- package/dist/chunk-YOXZIFQJ.js +0 -62
- package/dist/chunk-YQ6WULUZ.js +0 -50
- package/dist/chunk-YRUKJYF2.js +0 -29
- package/dist/chunk-YXLPUUQE.js +0 -352
- package/dist/chunk-Z7PWFZG5.js +0 -31
- package/dist/chunk-ZFT3ZS7W.js +0 -51
- package/dist/chunk-ZJPNZEZR.js +0 -103
- package/dist/chunk-ZJRUSLCY.js +0 -35
- package/dist/chunk-ZN7VL73E.js +0 -80
- package/dist/chunk-ZNLDDQAM.js +0 -57
- package/dist/chunk-ZVKNGILG.js +0 -31
- package/dist/chunk-ZXGEIR3V.js +0 -130
- package/dist/cil-O326CWQA.js +0 -6
- package/dist/clean-6OVZ7TGQ.js +0 -37
- package/dist/clike-33YPGZVE.js +0 -6
- package/dist/clojure-K2UAB5BZ.js +0 -128
- package/dist/clojure-QXKOOUQF.js +0 -6
- package/dist/clojure-repl-SBX7UJZC.js +0 -27
- package/dist/cmake-4MFUHBSL.js +0 -6
- package/dist/cmake-JTMWHHYS.js +0 -35
- package/dist/cobol-WJFEYT7Q.js +0 -6
- package/dist/coffeescript-4N4QM7GI.js +0 -349
- package/dist/coffeescript-VZJUGYED.js +0 -6
- package/dist/concurnas-BNKK5KQI.js +0 -6
- package/dist/coq-XCIL3AK2.js +0 -6
- package/dist/coq-XPCF633I.js +0 -36
- package/dist/core-AN43BUAS.js +0 -10
- package/dist/core-OM67CLGB.js +0 -1812
- package/dist/cos-TZY7GUR5.js +0 -99
- package/dist/cpp-GCTEAWAA.js +0 -7
- package/dist/cpp-SAHJ7F7B.js +0 -410
- package/dist/crmsh-N4M5XFKQ.js +0 -98
- package/dist/crystal-4G4I3J74.js +0 -323
- package/dist/crystal-XBTNSQ5K.js +0 -7
- package/dist/csharp-DIBIDG36.js +0 -6
- package/dist/csharp-YSQBTLLS.js +0 -439
- package/dist/cshtml-7B6DGO76.js +0 -7
- package/dist/csp-5Y7ET6AB.js +0 -35
- package/dist/csp-XIZL4EBX.js +0 -6
- package/dist/css-RWDL67C4.js +0 -6
- package/dist/css-XMZ4N74J.js +0 -598
- package/dist/css-extras-CWTWKDVC.js +0 -6
- package/dist/csv-VMGEWQNY.js +0 -6
- package/dist/cypher-XQEB4CZZ.js +0 -6
- package/dist/d-6ACCZLPX.js +0 -122
- package/dist/d-LWBSC7CC.js +0 -6
- package/dist/dart-GOFOUVNC.js +0 -190
- package/dist/dart-MFIM6VAZ.js +0 -6
- package/dist/dataweave-7CVQMOMN.js +0 -6
- package/dist/dax-AAT6BTH4.js +0 -6
- package/dist/delphi-L3QM36MP.js +0 -119
- package/dist/dhall-HZ5MHEIB.js +0 -6
- package/dist/diff-FLIDNR5Z.js +0 -6
- package/dist/diff-OKX6DFC7.js +0 -86
- package/dist/django-RFMPVXTB.js +0 -7
- package/dist/django-RPTOQCW7.js +0 -58
- package/dist/dns-77IP2XFY.js +0 -46
- package/dist/dns-zone-file-2RL5U2PY.js +0 -6
- package/dist/docker-4XHXGDH7.js +0 -6
- package/dist/dockerfile-MIETANCG.js +0 -34
- package/dist/dos-BBAJZVGU.js +0 -62
- package/dist/dot-TR6BGNXO.js +0 -6
- package/dist/dsconfig-KFCMOYPJ.js +0 -67
- package/dist/dts-NUYXJ7FG.js +0 -145
- package/dist/dust-6XDJNOJC.js +0 -45
- package/dist/ebnf-F7FBQHHH.js +0 -52
- package/dist/ebnf-R75FBZIX.js +0 -6
- package/dist/editorconfig-VPA6JQ6B.js +0 -6
- package/dist/eiffel-VXV62L3M.js +0 -6
- package/dist/ejs-WGAN7C6O.js +0 -7
- package/dist/elixir-7HTA4EKT.js +0 -261
- package/dist/elixir-Y5Z7CTDD.js +0 -6
- package/dist/elm-3YBGBCGD.js +0 -6
- package/dist/elm-JDDJBWMC.js +0 -121
- package/dist/erb-BTPSGKBC.js +0 -28
- package/dist/erb-HSTW4R5K.js +0 -8
- package/dist/erlang-CG22ZL7A.js +0 -6
- package/dist/erlang-PUNSB4KR.js +0 -193
- package/dist/erlang-repl-PKI3CJB6.js +0 -71
- package/dist/etlua-BMQWGYG7.js +0 -8
- package/dist/excel-N35KGQKQ.js +0 -70
- package/dist/excel-formula-EA6D7XXV.js +0 -6
- package/dist/factor-QSPSTCRL.js +0 -6
- package/dist/false-HYKKPCZZ.js +0 -6
- package/dist/firestore-security-rules-BX3L2HCR.js +0 -6
- package/dist/fix-MTQQED3W.js +0 -41
- package/dist/flix-ATCRKO3C.js +0 -52
- package/dist/flow-NLGHRL25.js +0 -6
- package/dist/fortran-4BLBSZTY.js +0 -103
- package/dist/fortran-BV3N5E6Z.js +0 -6
- package/dist/fsharp-IO3NGHVH.js +0 -6
- package/dist/fsharp-YAKEQOUL.js +0 -80
- package/dist/ftl-UUJQPJEN.js +0 -7
- package/dist/gams-TKSKQ363.js +0 -178
- package/dist/gap-2YXVXYOT.js +0 -6
- package/dist/gauss-NP233ZOP.js +0 -207
- package/dist/gcode-R2KUXWWM.js +0 -6
- package/dist/gcode-YNACDETH.js +0 -89
- package/dist/gdscript-N7LTKIOX.js +0 -6
- package/dist/gedcom-7ORO7C4C.js +0 -6
- package/dist/gherkin-BEOBZ2TP.js +0 -52
- package/dist/gherkin-L7GTFBNK.js +0 -6
- package/dist/git-63YFQSQE.js +0 -6
- package/dist/glsl-A472JJRK.js +0 -7
- package/dist/glsl-CC6BRQ4R.js +0 -40
- package/dist/gml-CU3CTZVM.js +0 -6
- package/dist/gml-YN66WFSY.js +0 -33
- package/dist/gn-3P2WYUAT.js +0 -6
- package/dist/go-4O5XDJ22.js +0 -70
- package/dist/go-FBMSLERD.js +0 -6
- package/dist/go-module-XRAEATKG.js +0 -6
- package/dist/golo-Y36VOWUK.js +0 -30
- package/dist/gradle-R2TYEFOT.js +0 -29
- package/dist/graphql-WKLI57K6.js +0 -6
- package/dist/groovy-7JQ74JSK.js +0 -148
- package/dist/groovy-VD3K5JSR.js +0 -6
- package/dist/haml-4SORDJJF.js +0 -118
- package/dist/haml-HUBZW3CC.js +0 -7
- package/dist/handlebars-BKAMNV3T.js +0 -271
- package/dist/handlebars-D6N24VL6.js +0 -7
- package/dist/haskell-HYPGBX2X.js +0 -6
- package/dist/haskell-OXNBLMTA.js +0 -164
- package/dist/haxe-JTSZSCAJ.js +0 -163
- package/dist/haxe-L7I5OYJ2.js +0 -6
- package/dist/hcl-KIS5AZ7Z.js +0 -6
- package/dist/hlsl-2DTDMOY7.js +0 -7
- package/dist/hoon-AL5K7USY.js +0 -6
- package/dist/hpkp-EKQKSNVB.js +0 -6
- package/dist/hsp-UF2OSXNE.js +0 -63
- package/dist/hsts-EJXOSKVQ.js +0 -6
- package/dist/htmlbars-42ZOC2D6.js +0 -279
- package/dist/http-2MRRAID3.js +0 -6
- package/dist/http-OGE25RBR.js +0 -107
- package/dist/hy-YV4X3GBV.js +0 -83
- package/dist/ichigojam-NXT7F7X3.js +0 -6
- package/dist/icon-4ADGUCRV.js +0 -6
- package/dist/icu-message-format-VO54B5YP.js +0 -6
- package/dist/idris-ZF6WGDMZ.js +0 -7
- package/dist/iecst-WNULMFOZ.js +0 -6
- package/dist/ignore-CYPT7YDE.js +0 -6
- package/dist/index.css +0 -2921
- package/dist/inform7-6UXJUDWJ.js +0 -67
- package/dist/inform7-CDLT2WLA.js +0 -6
- package/dist/ini-RKNKROPR.js +0 -6
- package/dist/ini-WRUPK6GQ.js +0 -149
- package/dist/io-3XBLIY2S.js +0 -6
- package/dist/irpf90-OE4SIADT.js +0 -82
- package/dist/isbl-YATA2TPX.js +0 -269
- package/dist/j-UVZBTOG6.js +0 -6
- package/dist/java-GQAOFJIC.js +0 -6
- package/dist/java-VSMB3XJ4.js +0 -178
- package/dist/javadoc-TTVWJC5W.js +0 -8
- package/dist/javadoclike-FHEXEDGQ.js +0 -6
- package/dist/javascript-A6MZHESW.js +0 -553
- package/dist/javascript-THHHQF3V.js +0 -6
- package/dist/javastacktrace-IQU5IHCT.js +0 -6
- package/dist/jboss-cli-IUTBAZJB.js +0 -63
- package/dist/jexl-BAWIHKKY.js +0 -6
- package/dist/jolie-SQNWFOWN.js +0 -6
- package/dist/jq-S5UQHNRW.js +0 -6
- package/dist/js-extras-UUET4H75.js +0 -6
- package/dist/js-templates-FZ6V73KN.js +0 -6
- package/dist/jsdoc-3SC2P7PN.js +0 -8
- package/dist/json-DZFRIBFX.js +0 -6
- package/dist/json-KBL46RVP.js +0 -66
- package/dist/json5-STBRMQ2S.js +0 -7
- package/dist/jsonp-NBRJS6C6.js +0 -7
- package/dist/jsstacktrace-DHXPZYMF.js +0 -6
- package/dist/jsx-EIXN7WI4.js +0 -6
- package/dist/julia-MU3Z5224.js +0 -357
- package/dist/julia-PE6EVLNM.js +0 -6
- package/dist/julia-repl-X5HSI3TX.js +0 -36
- package/dist/keepalived-MY6EM2C3.js +0 -6
- package/dist/keyman-2YYUBN76.js +0 -6
- package/dist/kotlin-O435RUO6.js +0 -6
- package/dist/kotlin-RIIQVJYL.js +0 -265
- package/dist/kumir-BKQHUTJM.js +0 -6
- package/dist/kusto-DIVZNNWG.js +0 -6
- package/dist/lasso-YQAMZ34U.js +0 -171
- package/dist/latex-446N7AKU.js +0 -260
- package/dist/latex-6KGKRLSM.js +0 -6
- package/dist/latte-N6CW2T72.js +0 -8
- package/dist/ldif-BNNBTMGX.js +0 -46
- package/dist/leaf-QLDKGXC6.js +0 -53
- package/dist/less-OPBIOS4A.js +0 -660
- package/dist/less-W6V4JI42.js +0 -6
- package/dist/lilypond-U73SKNUR.js +0 -7
- package/dist/liquid-L7MISQOA.js +0 -7
- package/dist/lisp-PVLILRLH.js +0 -6
- package/dist/lisp-ZDEG6DX5.js +0 -119
- package/dist/livecodeserver-EVEY2S46.js +0 -120
- package/dist/livescript-RUAKOGHV.js +0 -367
- package/dist/livescript-UPW7JUSD.js +0 -6
- package/dist/llvm-DCNWQNJE.js +0 -101
- package/dist/llvm-RLDKQGUW.js +0 -6
- package/dist/log-55HSC75G.js +0 -6
- package/dist/lolcode-7CO4RSH4.js +0 -6
- package/dist/lsl-P6IYFQNG.js +0 -91
- package/dist/lua-4XIOFYMQ.js +0 -6
- package/dist/lua-HPFSUVUF.js +0 -72
- package/dist/magma-EE3VS3IR.js +0 -6
- package/dist/makefile-CZ4YFTLF.js +0 -6
- package/dist/makefile-DRKGNO3P.js +0 -83
- package/dist/markdown-I3T5BTVH.js +0 -240
- package/dist/markdown-J47CEYKA.js +0 -6
- package/dist/markup-DSVFDWPT.js +0 -6
- package/dist/markup-templating-OAVXWHPK.js +0 -6
- package/dist/mathematica-WKLBTKID.js +0 -6752
- package/dist/matlab-4ANV5ZBM.js +0 -6
- package/dist/matlab-PZCF5O6V.js +0 -88
- package/dist/maxima-PV4BAZWK.js +0 -64
- package/dist/maxscript-F2YC3KDG.js +0 -6
- package/dist/mel-KXZPRQRN.js +0 -36
- package/dist/mel-ZJK6R7PH.js +0 -6
- package/dist/mercury-IGJMIEXB.js +0 -100
- package/dist/mermaid-NEAIHK4Y.js +0 -6
- package/dist/mipsasm-7JNUQAL3.js +0 -86
- package/dist/mizar-2HS25BYN.js +0 -6
- package/dist/mizar-UAHPLIEZ.js +0 -21
- package/dist/mojolicious-2NMQM4MR.js +0 -38
- package/dist/mongodb-JX47Y675.js +0 -6
- package/dist/monkey-LCXHDHMY.js +0 -6
- package/dist/monkey-WX2KGGXI.js +0 -85
- package/dist/moonscript-25QFVA2K.js +0 -6
- package/dist/moonscript-2P6DAOMC.js +0 -149
- package/dist/n1ql-IHNBRAEL.js +0 -6
- package/dist/n1ql-UFCN2QNU.js +0 -57
- package/dist/n4js-XSRAWSLD.js +0 -6
- package/dist/nand2tetris-hdl-IEWHBLUX.js +0 -6
- package/dist/naniscript-MQFBBG75.js +0 -6
- package/dist/nasm-PMJA3GKY.js +0 -6
- package/dist/neon-MC4UIRZV.js +0 -6
- package/dist/nevod-ZYWD7ETJ.js +0 -6
- package/dist/nginx-3RDFSJFY.js +0 -139
- package/dist/nginx-3YO7YUT6.js +0 -6
- package/dist/nim-LEQE2KMR.js +0 -6
- package/dist/nim-VLAOU6CD.js +0 -71
- package/dist/nix-APGWMNL4.js +0 -6
- package/dist/nix-CJKVWX44.js +0 -64
- package/dist/node-repl-4IGO4CVF.js +0 -39
- package/dist/nsis-2SCDB5O5.js +0 -111
- package/dist/nsis-5HBAQIG3.js +0 -6
- package/dist/objectivec-RQEAB6D4.js +0 -7
- package/dist/objectivec-UDZTZPRF.js +0 -97
- package/dist/ocaml-4G6MROKG.js +0 -6
- package/dist/ocaml-WX5ZA7P3.js +0 -75
- package/dist/opencl-EA7CVAZL.js +0 -7
- package/dist/openqasm-R4AD4MRN.js +0 -6
- package/dist/openscad-ICGXMPRT.js +0 -83
- package/dist/oxygene-FZVZLZ6D.js +0 -96
- package/dist/oz-XHFVDUFI.js +0 -6
- package/dist/parigp-4G3KV5LH.js +0 -6
- package/dist/parser-WBFWFAFW.js +0 -6
- package/dist/parser3-E32FK5OC.js +0 -59
- package/dist/pascal-NOHW52AH.js +0 -6
- package/dist/pascaligo-TBYFODYY.js +0 -6
- package/dist/pcaxis-RHKLRFM6.js +0 -6
- package/dist/peoplecode-F3C5MGWM.js +0 -6
- package/dist/perl-HIDQF2O5.js +0 -6
- package/dist/perl-KRJNSWHD.js +0 -481
- package/dist/pf-OJGOPUDV.js +0 -45
- package/dist/pgsql-ECX4EOOW.js +0 -389
- package/dist/php-QDLOSGJT.js +0 -193
- package/dist/php-Z6YMJYGB.js +0 -7
- package/dist/php-extras-SCVXP75V.js +0 -8
- package/dist/php-template-7N4LQKYM.js +0 -56
- package/dist/phpdoc-TH65GVFM.js +0 -9
- package/dist/plaintext-RBZUK7TL.js +0 -22
- package/dist/plsql-NNNDEN5K.js +0 -7
- package/dist/pony-CNQ4KQWJ.js +0 -66
- package/dist/powerquery-RKIODW4Z.js +0 -6
- package/dist/powershell-73ONBPQ7.js +0 -281
- package/dist/powershell-QS4RDJ6J.js +0 -6
- package/dist/processing-5THDN4UV.js +0 -6
- package/dist/processing-YU42ML2I.js +0 -30
- package/dist/profile-BT75NUJL.js +0 -47
- package/dist/prolog-J2HZA653.js +0 -91
- package/dist/prolog-LHLMDDSD.js +0 -6
- package/dist/promql-LUBGY7DJ.js +0 -6
- package/dist/properties-46STONTA.js +0 -83
- package/dist/properties-FOYLMPAV.js +0 -6
- package/dist/protobuf-44TWAD4E.js +0 -6
- package/dist/protobuf-EQVG2QVY.js +0 -52
- package/dist/psl-D72D6EWT.js +0 -6
- package/dist/pug-NWKTYVMK.js +0 -6
- package/dist/puppet-6NUQHRHI.js +0 -122
- package/dist/puppet-UFNEDL2A.js +0 -6
- package/dist/pure-EDP3UYTA.js +0 -6
- package/dist/purebasic-2DOKMFL5.js +0 -71
- package/dist/purebasic-4O7N7T7N.js +0 -6
- package/dist/purescript-J4DSA62W.js +0 -7
- package/dist/python-FTT2PIKP.js +0 -6
- package/dist/python-TS2ACJSS.js +0 -413
- package/dist/python-repl-WUB7RWM6.js +0 -39
- package/dist/q-HJSWPPHV.js +0 -34
- package/dist/q-V4Y7U3JC.js +0 -6
- package/dist/qml-EGPAFLB2.js +0 -6
- package/dist/qml-XKBW6PEL.js +0 -178
- package/dist/qore-XDF7LURG.js +0 -6
- package/dist/qsharp-4XMDREFU.js +0 -6
- package/dist/r-47HXZXMW.js +0 -6
- package/dist/r-6ZKCKBBF.js +0 -176
- package/dist/racket-AU7LDZ4M.js +0 -7
- package/dist/reason-PX5TGG3N.js +0 -6
- package/dist/reasonml-CKV7PRLI.js +0 -295
- package/dist/refractor-B5L4TWLD.js +0 -284
- package/dist/regex-LWDNCFFA.js +0 -6
- package/dist/rego-44E2NRNP.js +0 -6
- package/dist/renpy-AAAKUZWA.js +0 -6
- package/dist/rest-SWCMDFFK.js +0 -6
- package/dist/rib-UVTB2JRB.js +0 -25
- package/dist/rip-F2ISAETZ.js +0 -6
- package/dist/roboconf-KEAQLNBI.js +0 -79
- package/dist/roboconf-X7U7WWM2.js +0 -6
- package/dist/robotframework-CXEO2WAA.js +0 -6
- package/dist/routeros-MVGGIODD.js +0 -164
- package/dist/rsl-3H64A324.js +0 -43
- package/dist/ruby-7SMB66HO.js +0 -347
- package/dist/ruby-BGCJ6MY2.js +0 -6
- package/dist/ruleslanguage-L3WECYZ4.js +0 -41
- package/dist/rust-ISDM6BAM.js +0 -124
- package/dist/rust-NYA4RZRC.js +0 -6
- package/dist/sas-KIQXE2LA.js +0 -6
- package/dist/sas-WJ3ECKBR.js +0 -67
- package/dist/sass-MGXNVRLF.js +0 -6
- package/dist/scala-LT7OL3WW.js +0 -7
- package/dist/scala-ONJJQZS6.js +0 -132
- package/dist/scheme-QPIFL46P.js +0 -160
- package/dist/scheme-W3VZM3UG.js +0 -6
- package/dist/scilab-RXHCT6DB.js +0 -70
- package/dist/scss-RVJCWB2P.js +0 -6
- package/dist/scss-V6XQ4K3L.js +0 -552
- package/dist/shell-JXCZ67JB.js +0 -31
- package/dist/shell-session-XQJ6HMB4.js +0 -7
- package/dist/smali-27UFXI4H.js +0 -6
- package/dist/smali-ALHKOSP2.js +0 -138
- package/dist/smalltalk-5ZD3PYLO.js +0 -6
- package/dist/smalltalk-HHGSBNBT.js +0 -67
- package/dist/smarty-ROILVKM2.js +0 -7
- package/dist/sml-GLD7IQ4J.js +0 -82
- package/dist/sml-UDZ3CU3O.js +0 -6
- package/dist/solidity-NIYEP6QM.js +0 -6
- package/dist/solution-file-755HIYVX.js +0 -6
- package/dist/soy-QVG7HTK3.js +0 -7
- package/dist/sparql-MUWNWIXE.js +0 -7
- package/dist/splunk-spl-6PEDD5P7.js +0 -6
- package/dist/sqf-CAGPEGHC.js +0 -87
- package/dist/sqf-GSS4MTYY.js +0 -6
- package/dist/sql-STBZJVII.js +0 -656
- package/dist/sql-ZHH7ZHBG.js +0 -6
- package/dist/sql_more-XDQGUTAS.js +0 -61
- package/dist/squirrel-C2ZULM5W.js +0 -6
- package/dist/stan-6HIYOY52.js +0 -6
- package/dist/stan-G64IQMIT.js +0 -548
- package/dist/stata-LAGCQQKY.js +0 -55
- package/dist/step21-YQKYAUKD.js +0 -69
- package/dist/stylus-LOSRNKOT.js +0 -606
- package/dist/stylus-NTT2SKYA.js +0 -6
- package/dist/subunit-RVTPQSIA.js +0 -55
- package/dist/swift-MVQRVICC.js +0 -800
- package/dist/swift-RME6R4ZI.js +0 -6
- package/dist/systemd-SAOMEJVZ.js +0 -6
- package/dist/t4-cs-IRI3YXSG.js +0 -8
- package/dist/t4-templating-AIOH6H7T.js +0 -6
- package/dist/t4-vb-URZMJE4Z.js +0 -9
- package/dist/taggerscript-TY57TCFT.js +0 -54
- package/dist/tap-IISM5Q2V.js +0 -7
- package/dist/tap-UKY24LA5.js +0 -57
- package/dist/tcl-5USNUPYZ.js +0 -6
- package/dist/tcl-W5ZQ64HI.js +0 -84
- package/dist/textile-UK3YOALH.js +0 -6
- package/dist/thrift-DO4A2JSZ.js +0 -50
- package/dist/toml-PQ3QO4X7.js +0 -6
- package/dist/tp-IWMEEQ7L.js +0 -92
- package/dist/tremor-V6VFOJ47.js +0 -6
- package/dist/tsx-YAYDDMF6.js +0 -8
- package/dist/tt2-LTMMGNTC.js +0 -7
- package/dist/turtle-GYPQXNJP.js +0 -6
- package/dist/twig-4YZ65GMX.js +0 -7
- package/dist/twig-H6M7SANN.js +0 -71
- package/dist/typescript-FE7OYJ6I.js +0 -629
- package/dist/typescript-QD4UC6QE.js +0 -6
- package/dist/typoscript-IW4JWQN7.js +0 -6
- package/dist/unrealscript-WG3NY6GJ.js +0 -6
- package/dist/uorazor-B72PNPB6.js +0 -6
- package/dist/uri-VM2EXH6W.js +0 -6
- package/dist/v-KQVEVXBZ.js +0 -6
- package/dist/vala-3644SCSM.js +0 -52
- package/dist/vala-NMIZYBSO.js +0 -6
- package/dist/vbnet-HGXLY5ZE.js +0 -7
- package/dist/vbnet-JRCGM6IS.js +0 -165
- package/dist/vbscript-2MZXH4GP.js +0 -69
- package/dist/vbscript-html-G4HCFPPG.js +0 -25
- package/dist/velocity-MCYIEAD4.js +0 -6
- package/dist/verilog-EFP6O6PK.js +0 -6
- package/dist/verilog-IFYMJ3DQ.js +0 -73
- package/dist/vhdl-NLIJ277M.js +0 -52
- package/dist/vhdl-SPJEI32C.js +0 -6
- package/dist/vim-YBYNDJ6Z.js +0 -75
- package/dist/vim-ZQLALH2E.js +0 -6
- package/dist/visual-basic-VUJRVC55.js +0 -6
- package/dist/warpscript-BWN4LRLJ.js +0 -6
- package/dist/wasm-GCFQ2LGI.js +0 -6
- package/dist/web-idl-RKYC74WM.js +0 -6
- package/dist/wiki-NK567JRH.js +0 -6
- package/dist/wolfram-44A7RKCB.js +0 -6
- package/dist/wren-N3KE6W4F.js +0 -6
- package/dist/x86asm-7MDJ6XTG.js +0 -107
- package/dist/xeora-O2NIYWDT.js +0 -6
- package/dist/xl-BESMU7F7.js +0 -78
- package/dist/xml-ZV7IWTI2.js +0 -255
- package/dist/xml-doc-PFDICLXC.js +0 -6
- package/dist/xojo-DFN5PWUN.js +0 -6
- package/dist/xquery-JR7NW4V7.js +0 -162
- package/dist/xquery-M3TN6AON.js +0 -6
- package/dist/yaml-6LWL6NO5.js +0 -6
- package/dist/yaml-RON4M36J.js +0 -174
- package/dist/yang-WEUHSW6K.js +0 -6
- package/dist/zephir-G2ZHEZR7.js +0 -119
- package/dist/zig-TQ37PBJX.js +0 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Agent as Agent$1, DistriChatMessage, DistriBaseTool, ToolExecutionOptions, DistriMessage, DistriPart, AgentDefinition, DistriThread, ThreadListParams, AgentUsageInfo, DistriFnTool, ToolCall, ToolResult, PlanStep, DistriConfiguration, DistriClient, DistriClientConfig, SpeechToTextConfig, StreamingTranscriptionOptions, ConfigurationMeta, ConfigurationResponse, DistriEvent, ImagePart } from '@distri/core';
|
|
1
|
+
import { Agent as Agent$1, DistriChatMessage, DistriBaseTool, ToolExecutionOptions, DistriMessage, DistriPart, AgentDefinition, DistriThread, ThreadListParams, AgentUsageInfo, DistriFnTool, ToolCall, ToolResult, PlanStep, TodoItem, DistriConfiguration, DistriClient, DistriClientConfig, SpeechToTextConfig, StreamingTranscriptionOptions, ConfigurationMeta, ConfigurationResponse, MessageReadStatus, MessageVoteSummary, MessageVote, 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';
|
|
@@ -83,15 +83,22 @@ interface UseThreadsOptions {
|
|
|
83
83
|
}
|
|
84
84
|
declare function useThreads(options?: UseThreadsOptions): UseThreadsResult;
|
|
85
85
|
/**
|
|
86
|
-
* Hook to get agents sorted by usage (thread count)
|
|
86
|
+
* Hook to get agents sorted by usage (thread count).
|
|
87
|
+
* Includes all registered agents, even those with 0 threads.
|
|
87
88
|
*/
|
|
88
89
|
interface UseAgentsByUsageResult {
|
|
89
90
|
agents: AgentUsageInfo[];
|
|
90
91
|
loading: boolean;
|
|
91
92
|
error: Error | null;
|
|
92
93
|
refetch: () => Promise<void>;
|
|
94
|
+
search: string;
|
|
95
|
+
setSearch: (search: string) => void;
|
|
93
96
|
}
|
|
94
|
-
|
|
97
|
+
interface UseAgentsByUsageOptions {
|
|
98
|
+
/** Initial search query */
|
|
99
|
+
search?: string;
|
|
100
|
+
}
|
|
101
|
+
declare function useAgentsByUsage(options?: UseAgentsByUsageOptions): UseAgentsByUsageResult;
|
|
95
102
|
interface UseThreadMessagesOptions {
|
|
96
103
|
threadId: string | null;
|
|
97
104
|
}
|
|
@@ -235,6 +242,7 @@ interface ChatState {
|
|
|
235
242
|
browserSessionId?: string;
|
|
236
243
|
browserViewerUrl?: string;
|
|
237
244
|
browserStreamUrl?: string;
|
|
245
|
+
todos: TodoItem[];
|
|
238
246
|
}
|
|
239
247
|
type ChatStateTool = DistriAnyTool & {
|
|
240
248
|
executionType: 'backend' | 'external';
|
|
@@ -248,6 +256,7 @@ interface ChatStateStore extends ChatState {
|
|
|
248
256
|
setCurrentThought: (thought: string | undefined) => void;
|
|
249
257
|
setBrowserSession: (sessionId: string, viewerUrl?: string, streamUrl?: string) => void;
|
|
250
258
|
clearBrowserSession: () => void;
|
|
259
|
+
setTodos: (todos: TodoItem[]) => void;
|
|
251
260
|
addMessage: (message: DistriChatMessage) => void;
|
|
252
261
|
processMessage: (message: DistriChatMessage, isFromStream?: boolean) => void;
|
|
253
262
|
clearAllStates: () => void;
|
|
@@ -397,6 +406,11 @@ interface ChatProps {
|
|
|
397
406
|
* Developer messages are hidden by default.
|
|
398
407
|
*/
|
|
399
408
|
debug?: boolean;
|
|
409
|
+
/**
|
|
410
|
+
* Enable message feedback (voting) UI on assistant messages.
|
|
411
|
+
* Shows thumbs up/down buttons for rating responses.
|
|
412
|
+
*/
|
|
413
|
+
enableFeedback?: boolean;
|
|
400
414
|
}
|
|
401
415
|
declare const ChatInner: React__default.ForwardRefExoticComponent<ChatProps & React__default.RefAttributes<ChatInstance>>;
|
|
402
416
|
interface ChatContainerProps extends ChatProps {
|
|
@@ -421,18 +435,6 @@ interface AgentSelectProps {
|
|
|
421
435
|
}
|
|
422
436
|
declare const AgentSelect: React__default.FC<AgentSelectProps>;
|
|
423
437
|
|
|
424
|
-
interface AppSidebarProps {
|
|
425
|
-
selectedThreadId: string;
|
|
426
|
-
currentPage: 'chat' | 'agents';
|
|
427
|
-
onNewChat: () => void;
|
|
428
|
-
onThreadSelect: (threadId: string) => void;
|
|
429
|
-
onThreadDelete: (threadId: string) => void;
|
|
430
|
-
onThreadRename: (threadId: string, newTitle: string) => void;
|
|
431
|
-
onLogoClick?: () => void;
|
|
432
|
-
onPageChange: (page: 'chat' | 'agents') => void;
|
|
433
|
-
}
|
|
434
|
-
declare function AppSidebar({ selectedThreadId, currentPage, onNewChat, onThreadSelect, onThreadDelete, onThreadRename, onLogoClick, onPageChange, }: AppSidebarProps): react_jsx_runtime.JSX.Element;
|
|
435
|
-
|
|
436
438
|
interface AttachedImage {
|
|
437
439
|
id: string;
|
|
438
440
|
file: File;
|
|
@@ -511,7 +513,11 @@ interface ThemeProviderState {
|
|
|
511
513
|
declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
512
514
|
declare const useTheme: () => ThemeProviderState;
|
|
513
515
|
|
|
514
|
-
|
|
516
|
+
interface ThemeToggleProps {
|
|
517
|
+
theme?: 'dark' | 'light';
|
|
518
|
+
onThemeChange?: (theme: 'dark' | 'light') => void;
|
|
519
|
+
}
|
|
520
|
+
declare function ThemeToggle({ theme, onThemeChange }: ThemeToggleProps): react_jsx_runtime.JSX.Element;
|
|
515
521
|
|
|
516
522
|
interface AuthLoadingProps {
|
|
517
523
|
children?: React__default.ReactNode;
|
|
@@ -577,6 +583,7 @@ interface DistriProviderProps {
|
|
|
577
583
|
authReady?: boolean;
|
|
578
584
|
};
|
|
579
585
|
children: ReactNode;
|
|
586
|
+
/** @deprecated Theme is no longer managed by DistriProvider. Use ThemeProvider at app level instead. */
|
|
580
587
|
defaultTheme?: 'dark' | 'light' | 'system';
|
|
581
588
|
}
|
|
582
589
|
/**
|
|
@@ -612,6 +619,7 @@ interface DistriAuthContextValue {
|
|
|
612
619
|
theme: 'dark' | 'light';
|
|
613
620
|
baseUrl: string;
|
|
614
621
|
debug: boolean;
|
|
622
|
+
workspaceId?: string;
|
|
615
623
|
};
|
|
616
624
|
}
|
|
617
625
|
interface DistriAuthProviderProps {
|
|
@@ -620,8 +628,9 @@ interface DistriAuthProviderProps {
|
|
|
620
628
|
children: ReactNode;
|
|
621
629
|
debug?: boolean;
|
|
622
630
|
baseUrl?: string;
|
|
631
|
+
workspaceId?: string;
|
|
623
632
|
}
|
|
624
|
-
declare function DistriAuthProvider({ clientId, theme, children, debug, baseUrl }: DistriAuthProviderProps): react_jsx_runtime.JSX.Element;
|
|
633
|
+
declare function DistriAuthProvider({ clientId, theme, children, debug, baseUrl, workspaceId, }: DistriAuthProviderProps): react_jsx_runtime.JSX.Element;
|
|
625
634
|
declare function useDistriAuth(): DistriAuthContextValue;
|
|
626
635
|
|
|
627
636
|
interface UseChatMessagesOptions {
|
|
@@ -699,6 +708,106 @@ type UseConfigurationResult = {
|
|
|
699
708
|
};
|
|
700
709
|
declare function useConfiguration(): UseConfigurationResult;
|
|
701
710
|
|
|
711
|
+
interface UseMessageReadStatusOptions {
|
|
712
|
+
threadId: string;
|
|
713
|
+
messageId: string;
|
|
714
|
+
/**
|
|
715
|
+
* Whether to fetch the read status automatically on mount.
|
|
716
|
+
* Default: false
|
|
717
|
+
*/
|
|
718
|
+
autoFetch?: boolean;
|
|
719
|
+
}
|
|
720
|
+
interface UseMessageReadStatusResult {
|
|
721
|
+
readStatus: MessageReadStatus | null;
|
|
722
|
+
loading: boolean;
|
|
723
|
+
error: Error | null;
|
|
724
|
+
markAsRead: () => Promise<MessageReadStatus | null>;
|
|
725
|
+
refetch: () => Promise<void>;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* Hook to manage read status for a specific message
|
|
729
|
+
*/
|
|
730
|
+
declare function useMessageReadStatus(options: UseMessageReadStatusOptions): UseMessageReadStatusResult;
|
|
731
|
+
interface UseThreadReadStatusOptions {
|
|
732
|
+
threadId: string;
|
|
733
|
+
/**
|
|
734
|
+
* Whether to fetch the read status automatically on mount.
|
|
735
|
+
* Default: true
|
|
736
|
+
*/
|
|
737
|
+
enabled?: boolean;
|
|
738
|
+
}
|
|
739
|
+
interface UseThreadReadStatusResult {
|
|
740
|
+
readStatuses: MessageReadStatus[];
|
|
741
|
+
loading: boolean;
|
|
742
|
+
error: Error | null;
|
|
743
|
+
/**
|
|
744
|
+
* Check if a specific message has been read
|
|
745
|
+
*/
|
|
746
|
+
isRead: (messageId: string) => boolean;
|
|
747
|
+
/**
|
|
748
|
+
* Mark a specific message as read
|
|
749
|
+
*/
|
|
750
|
+
markAsRead: (messageId: string) => Promise<MessageReadStatus | null>;
|
|
751
|
+
refetch: () => Promise<void>;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Hook to manage read status for all messages in a thread
|
|
755
|
+
*/
|
|
756
|
+
declare function useThreadReadStatus(options: UseThreadReadStatusOptions): UseThreadReadStatusResult;
|
|
757
|
+
interface UseMessageVoteOptions {
|
|
758
|
+
threadId: string;
|
|
759
|
+
messageId: string;
|
|
760
|
+
/**
|
|
761
|
+
* Whether to fetch the vote summary automatically on mount.
|
|
762
|
+
* Default: false
|
|
763
|
+
*/
|
|
764
|
+
autoFetch?: boolean;
|
|
765
|
+
}
|
|
766
|
+
interface UseMessageVoteResult {
|
|
767
|
+
summary: MessageVoteSummary | null;
|
|
768
|
+
loading: boolean;
|
|
769
|
+
error: Error | null;
|
|
770
|
+
/**
|
|
771
|
+
* Upvote the message
|
|
772
|
+
*/
|
|
773
|
+
upvote: () => Promise<MessageVote | null>;
|
|
774
|
+
/**
|
|
775
|
+
* Downvote the message with a required comment
|
|
776
|
+
*/
|
|
777
|
+
downvote: (comment: string) => Promise<MessageVote | null>;
|
|
778
|
+
/**
|
|
779
|
+
* Remove the current user's vote
|
|
780
|
+
*/
|
|
781
|
+
removeVote: () => Promise<void>;
|
|
782
|
+
/**
|
|
783
|
+
* Refetch the vote summary
|
|
784
|
+
*/
|
|
785
|
+
refetch: () => Promise<void>;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Hook to manage voting on a specific message
|
|
789
|
+
*/
|
|
790
|
+
declare function useMessageVote(options: UseMessageVoteOptions): UseMessageVoteResult;
|
|
791
|
+
interface UseMessageVotesOptions {
|
|
792
|
+
threadId: string;
|
|
793
|
+
messageId: string;
|
|
794
|
+
/**
|
|
795
|
+
* Whether to fetch the votes automatically on mount.
|
|
796
|
+
* Default: false
|
|
797
|
+
*/
|
|
798
|
+
enabled?: boolean;
|
|
799
|
+
}
|
|
800
|
+
interface UseMessageVotesResult {
|
|
801
|
+
votes: MessageVote[];
|
|
802
|
+
loading: boolean;
|
|
803
|
+
error: Error | null;
|
|
804
|
+
refetch: () => Promise<void>;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Hook to get all votes for a message (useful for admin/analytics)
|
|
808
|
+
*/
|
|
809
|
+
declare function useMessageVotes(options: UseMessageVotesOptions): UseMessageVotesResult;
|
|
810
|
+
|
|
702
811
|
/**
|
|
703
812
|
* Wraps a DistriFnTool as a DistriUiTool with DefaultToolActions component
|
|
704
813
|
*/
|
|
@@ -902,6 +1011,66 @@ interface ImageRendererProps {
|
|
|
902
1011
|
}
|
|
903
1012
|
declare const ImageRenderer: React__default.FC<ImageRendererProps>;
|
|
904
1013
|
|
|
1014
|
+
interface MessageFeedbackProps {
|
|
1015
|
+
threadId: string;
|
|
1016
|
+
messageId: string;
|
|
1017
|
+
/** Show the component in compact mode (icons only) */
|
|
1018
|
+
compact?: boolean;
|
|
1019
|
+
/** CSS class name */
|
|
1020
|
+
className?: string;
|
|
1021
|
+
/** Called when a vote is submitted */
|
|
1022
|
+
onVote?: (voteType: 'upvote' | 'downvote', comment?: string) => void;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* Message feedback component with thumbs up/down voting.
|
|
1026
|
+
* Downvotes require a comment explaining the issue.
|
|
1027
|
+
*/
|
|
1028
|
+
declare const MessageFeedback: React__default.FC<MessageFeedbackProps>;
|
|
1029
|
+
|
|
1030
|
+
interface MessageReadContextValue {
|
|
1031
|
+
/** Check if a message has been read */
|
|
1032
|
+
isRead: (messageId: string) => boolean;
|
|
1033
|
+
/** Mark a message as read (will skip if already read) */
|
|
1034
|
+
markAsRead: (messageId: string) => Promise<void>;
|
|
1035
|
+
/** Set of message IDs that have been read */
|
|
1036
|
+
readMessageIds: Set<string>;
|
|
1037
|
+
/** Whether the initial fetch is loading */
|
|
1038
|
+
isLoading: boolean;
|
|
1039
|
+
}
|
|
1040
|
+
interface MessageReadProviderProps {
|
|
1041
|
+
threadId: string;
|
|
1042
|
+
/** Whether to enable read tracking */
|
|
1043
|
+
enabled?: boolean;
|
|
1044
|
+
children: React__default.ReactNode;
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Provider that manages read status for all messages in a thread.
|
|
1048
|
+
* Fetches existing read statuses on mount and provides methods to check/mark messages as read.
|
|
1049
|
+
*/
|
|
1050
|
+
declare const MessageReadProvider: React__default.FC<MessageReadProviderProps>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Hook to access message read context
|
|
1053
|
+
*/
|
|
1054
|
+
declare const useMessageReadContext: () => MessageReadContextValue | null;
|
|
1055
|
+
|
|
1056
|
+
interface MessageReadTrackerProps {
|
|
1057
|
+
messageId: string;
|
|
1058
|
+
/** Only track read status for this message if enabled */
|
|
1059
|
+
enabled?: boolean;
|
|
1060
|
+
/** Threshold for intersection (0-1). Default 0.5 means 50% visible */
|
|
1061
|
+
threshold?: number;
|
|
1062
|
+
/** Delay in ms before marking as read (prevents marking during fast scroll) */
|
|
1063
|
+
delay?: number;
|
|
1064
|
+
children: React__default.ReactNode;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* Wrapper component that tracks when a message comes into view
|
|
1068
|
+
* and automatically marks it as read using the MessageReadContext.
|
|
1069
|
+
*
|
|
1070
|
+
* Must be used inside a MessageReadProvider.
|
|
1071
|
+
*/
|
|
1072
|
+
declare const MessageReadTracker: React__default.FC<MessageReadTrackerProps>;
|
|
1073
|
+
|
|
905
1074
|
interface MessageRendererProps {
|
|
906
1075
|
message: DistriChatMessage;
|
|
907
1076
|
index: number;
|
|
@@ -910,11 +1079,19 @@ interface MessageRendererProps {
|
|
|
910
1079
|
toolRenderers?: ToolRendererMap;
|
|
911
1080
|
/** Enable debug mode to show developer messages */
|
|
912
1081
|
debug?: boolean;
|
|
1082
|
+
/** Thread ID for feedback functionality */
|
|
1083
|
+
threadId?: string;
|
|
1084
|
+
/** Enable message feedback (voting) UI */
|
|
1085
|
+
enableFeedback?: boolean;
|
|
913
1086
|
}
|
|
914
|
-
declare function MessageRenderer({ message, index, toolRenderers, debug, }: MessageRendererProps): React__default.ReactNode;
|
|
1087
|
+
declare function MessageRenderer({ message, index, toolRenderers, debug, threadId, enableFeedback, }: MessageRendererProps): React__default.ReactNode;
|
|
915
1088
|
|
|
916
1089
|
interface StepBasedRendererProps {
|
|
917
1090
|
message: DistriMessage;
|
|
1091
|
+
/** Thread ID for feedback functionality */
|
|
1092
|
+
threadId?: string;
|
|
1093
|
+
/** Enable message feedback (voting) UI */
|
|
1094
|
+
enableFeedback?: boolean;
|
|
918
1095
|
}
|
|
919
1096
|
declare const StepBasedRenderer: React__default.FC<StepBasedRendererProps>;
|
|
920
1097
|
|
|
@@ -936,6 +1113,13 @@ interface ExtractedContent {
|
|
|
936
1113
|
}
|
|
937
1114
|
declare function extractContent(message: DistriMessage | DistriEvent): ExtractedContent;
|
|
938
1115
|
|
|
1116
|
+
interface TodosDisplayProps {
|
|
1117
|
+
todos: TodoItem[];
|
|
1118
|
+
className?: string;
|
|
1119
|
+
title?: string;
|
|
1120
|
+
}
|
|
1121
|
+
declare const TodosDisplay: React__default.FC<TodosDisplayProps>;
|
|
1122
|
+
|
|
939
1123
|
declare const TypingIndicator: React__default.FC;
|
|
940
1124
|
|
|
941
1125
|
interface UserMessageRendererProps {
|
|
@@ -945,4 +1129,4 @@ interface UserMessageRendererProps {
|
|
|
945
1129
|
}
|
|
946
1130
|
declare const UserMessageRenderer: React__default.FC<UserMessageRendererProps>;
|
|
947
1131
|
|
|
948
|
-
export { ASK_FOLLOW_UP_TOOL_NAME, AgentSelect,
|
|
1132
|
+
export { ASK_FOLLOW_UP_TOOL_NAME, AgentSelect, type AskFollowUpInput, type AskFollowUpOutput, 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, type FollowUpQuestion, ImageRenderer, type ImageRendererProps, Input, LoadingAnimation, type LoadingAnimationConfig, type LoadingAnimationPreset, type LoadingAnimationProps, LoadingShimmer, MessageFeedback, type MessageFeedbackProps, MessageReadProvider, type MessageReadProviderProps, MessageReadTracker, type MessageReadTrackerProps, 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, TodosDisplay, type TodosDisplayProps, type ToolCallState, type ToolCallStatus, type ToolRendererMap, type ToolRendererProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TtsConfig, type TtsRequest, TypingIndicator, type UiToolProps, type UseAgentOptions, type UseAgentResult, type UseAgentsByUsageOptions, type UseAgentsByUsageResult, type UseAgentsResult, type UseChatMessagesOptions, type UseChatMessagesReturn, type UseChatOptions, type UseChatReturn, type UseConfigurationResult, type UseMessageReadStatusOptions, type UseMessageReadStatusResult, type UseMessageVoteOptions, type UseMessageVoteResult, type UseMessageVotesOptions, type UseMessageVotesResult, type UseThreadMessagesOptions, type UseThreadReadStatusOptions, type UseThreadReadStatusResult, type UseThreadsOptions, type UseThreadsResult, UserMessageRenderer, type UserMessageRendererProps, VoiceInput, type VoiceInputProps, createAskFollowUpTool, extractContent, useAgent, useAgentDefinitions, useAgentsByUsage, useChat, useChatMessages, useChatStateStore, useConfiguration, useDistri, useDistriAuth, useDistriToken, useMessageReadContext, useMessageReadStatus, useMessageVote, useMessageVotes, useSidebar, useSpeechToText, useTheme, useThreadReadStatus, useThreads, useTts, useWorkspace, 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, ThreadListParams, AgentUsageInfo, DistriFnTool, ToolCall, ToolResult, PlanStep, DistriConfiguration, DistriClient, DistriClientConfig, SpeechToTextConfig, StreamingTranscriptionOptions, ConfigurationMeta, ConfigurationResponse, DistriEvent, ImagePart } from '@distri/core';
|
|
1
|
+
import { Agent as Agent$1, DistriChatMessage, DistriBaseTool, ToolExecutionOptions, DistriMessage, DistriPart, AgentDefinition, DistriThread, ThreadListParams, AgentUsageInfo, DistriFnTool, ToolCall, ToolResult, PlanStep, TodoItem, DistriConfiguration, DistriClient, DistriClientConfig, SpeechToTextConfig, StreamingTranscriptionOptions, ConfigurationMeta, ConfigurationResponse, MessageReadStatus, MessageVoteSummary, MessageVote, 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';
|
|
@@ -83,15 +83,22 @@ interface UseThreadsOptions {
|
|
|
83
83
|
}
|
|
84
84
|
declare function useThreads(options?: UseThreadsOptions): UseThreadsResult;
|
|
85
85
|
/**
|
|
86
|
-
* Hook to get agents sorted by usage (thread count)
|
|
86
|
+
* Hook to get agents sorted by usage (thread count).
|
|
87
|
+
* Includes all registered agents, even those with 0 threads.
|
|
87
88
|
*/
|
|
88
89
|
interface UseAgentsByUsageResult {
|
|
89
90
|
agents: AgentUsageInfo[];
|
|
90
91
|
loading: boolean;
|
|
91
92
|
error: Error | null;
|
|
92
93
|
refetch: () => Promise<void>;
|
|
94
|
+
search: string;
|
|
95
|
+
setSearch: (search: string) => void;
|
|
93
96
|
}
|
|
94
|
-
|
|
97
|
+
interface UseAgentsByUsageOptions {
|
|
98
|
+
/** Initial search query */
|
|
99
|
+
search?: string;
|
|
100
|
+
}
|
|
101
|
+
declare function useAgentsByUsage(options?: UseAgentsByUsageOptions): UseAgentsByUsageResult;
|
|
95
102
|
interface UseThreadMessagesOptions {
|
|
96
103
|
threadId: string | null;
|
|
97
104
|
}
|
|
@@ -235,6 +242,7 @@ interface ChatState {
|
|
|
235
242
|
browserSessionId?: string;
|
|
236
243
|
browserViewerUrl?: string;
|
|
237
244
|
browserStreamUrl?: string;
|
|
245
|
+
todos: TodoItem[];
|
|
238
246
|
}
|
|
239
247
|
type ChatStateTool = DistriAnyTool & {
|
|
240
248
|
executionType: 'backend' | 'external';
|
|
@@ -248,6 +256,7 @@ interface ChatStateStore extends ChatState {
|
|
|
248
256
|
setCurrentThought: (thought: string | undefined) => void;
|
|
249
257
|
setBrowserSession: (sessionId: string, viewerUrl?: string, streamUrl?: string) => void;
|
|
250
258
|
clearBrowserSession: () => void;
|
|
259
|
+
setTodos: (todos: TodoItem[]) => void;
|
|
251
260
|
addMessage: (message: DistriChatMessage) => void;
|
|
252
261
|
processMessage: (message: DistriChatMessage, isFromStream?: boolean) => void;
|
|
253
262
|
clearAllStates: () => void;
|
|
@@ -397,6 +406,11 @@ interface ChatProps {
|
|
|
397
406
|
* Developer messages are hidden by default.
|
|
398
407
|
*/
|
|
399
408
|
debug?: boolean;
|
|
409
|
+
/**
|
|
410
|
+
* Enable message feedback (voting) UI on assistant messages.
|
|
411
|
+
* Shows thumbs up/down buttons for rating responses.
|
|
412
|
+
*/
|
|
413
|
+
enableFeedback?: boolean;
|
|
400
414
|
}
|
|
401
415
|
declare const ChatInner: React__default.ForwardRefExoticComponent<ChatProps & React__default.RefAttributes<ChatInstance>>;
|
|
402
416
|
interface ChatContainerProps extends ChatProps {
|
|
@@ -421,18 +435,6 @@ interface AgentSelectProps {
|
|
|
421
435
|
}
|
|
422
436
|
declare const AgentSelect: React__default.FC<AgentSelectProps>;
|
|
423
437
|
|
|
424
|
-
interface AppSidebarProps {
|
|
425
|
-
selectedThreadId: string;
|
|
426
|
-
currentPage: 'chat' | 'agents';
|
|
427
|
-
onNewChat: () => void;
|
|
428
|
-
onThreadSelect: (threadId: string) => void;
|
|
429
|
-
onThreadDelete: (threadId: string) => void;
|
|
430
|
-
onThreadRename: (threadId: string, newTitle: string) => void;
|
|
431
|
-
onLogoClick?: () => void;
|
|
432
|
-
onPageChange: (page: 'chat' | 'agents') => void;
|
|
433
|
-
}
|
|
434
|
-
declare function AppSidebar({ selectedThreadId, currentPage, onNewChat, onThreadSelect, onThreadDelete, onThreadRename, onLogoClick, onPageChange, }: AppSidebarProps): react_jsx_runtime.JSX.Element;
|
|
435
|
-
|
|
436
438
|
interface AttachedImage {
|
|
437
439
|
id: string;
|
|
438
440
|
file: File;
|
|
@@ -511,7 +513,11 @@ interface ThemeProviderState {
|
|
|
511
513
|
declare function ThemeProvider({ children, defaultTheme, storageKey, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
512
514
|
declare const useTheme: () => ThemeProviderState;
|
|
513
515
|
|
|
514
|
-
|
|
516
|
+
interface ThemeToggleProps {
|
|
517
|
+
theme?: 'dark' | 'light';
|
|
518
|
+
onThemeChange?: (theme: 'dark' | 'light') => void;
|
|
519
|
+
}
|
|
520
|
+
declare function ThemeToggle({ theme, onThemeChange }: ThemeToggleProps): react_jsx_runtime.JSX.Element;
|
|
515
521
|
|
|
516
522
|
interface AuthLoadingProps {
|
|
517
523
|
children?: React__default.ReactNode;
|
|
@@ -577,6 +583,7 @@ interface DistriProviderProps {
|
|
|
577
583
|
authReady?: boolean;
|
|
578
584
|
};
|
|
579
585
|
children: ReactNode;
|
|
586
|
+
/** @deprecated Theme is no longer managed by DistriProvider. Use ThemeProvider at app level instead. */
|
|
580
587
|
defaultTheme?: 'dark' | 'light' | 'system';
|
|
581
588
|
}
|
|
582
589
|
/**
|
|
@@ -612,6 +619,7 @@ interface DistriAuthContextValue {
|
|
|
612
619
|
theme: 'dark' | 'light';
|
|
613
620
|
baseUrl: string;
|
|
614
621
|
debug: boolean;
|
|
622
|
+
workspaceId?: string;
|
|
615
623
|
};
|
|
616
624
|
}
|
|
617
625
|
interface DistriAuthProviderProps {
|
|
@@ -620,8 +628,9 @@ interface DistriAuthProviderProps {
|
|
|
620
628
|
children: ReactNode;
|
|
621
629
|
debug?: boolean;
|
|
622
630
|
baseUrl?: string;
|
|
631
|
+
workspaceId?: string;
|
|
623
632
|
}
|
|
624
|
-
declare function DistriAuthProvider({ clientId, theme, children, debug, baseUrl }: DistriAuthProviderProps): react_jsx_runtime.JSX.Element;
|
|
633
|
+
declare function DistriAuthProvider({ clientId, theme, children, debug, baseUrl, workspaceId, }: DistriAuthProviderProps): react_jsx_runtime.JSX.Element;
|
|
625
634
|
declare function useDistriAuth(): DistriAuthContextValue;
|
|
626
635
|
|
|
627
636
|
interface UseChatMessagesOptions {
|
|
@@ -699,6 +708,106 @@ type UseConfigurationResult = {
|
|
|
699
708
|
};
|
|
700
709
|
declare function useConfiguration(): UseConfigurationResult;
|
|
701
710
|
|
|
711
|
+
interface UseMessageReadStatusOptions {
|
|
712
|
+
threadId: string;
|
|
713
|
+
messageId: string;
|
|
714
|
+
/**
|
|
715
|
+
* Whether to fetch the read status automatically on mount.
|
|
716
|
+
* Default: false
|
|
717
|
+
*/
|
|
718
|
+
autoFetch?: boolean;
|
|
719
|
+
}
|
|
720
|
+
interface UseMessageReadStatusResult {
|
|
721
|
+
readStatus: MessageReadStatus | null;
|
|
722
|
+
loading: boolean;
|
|
723
|
+
error: Error | null;
|
|
724
|
+
markAsRead: () => Promise<MessageReadStatus | null>;
|
|
725
|
+
refetch: () => Promise<void>;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* Hook to manage read status for a specific message
|
|
729
|
+
*/
|
|
730
|
+
declare function useMessageReadStatus(options: UseMessageReadStatusOptions): UseMessageReadStatusResult;
|
|
731
|
+
interface UseThreadReadStatusOptions {
|
|
732
|
+
threadId: string;
|
|
733
|
+
/**
|
|
734
|
+
* Whether to fetch the read status automatically on mount.
|
|
735
|
+
* Default: true
|
|
736
|
+
*/
|
|
737
|
+
enabled?: boolean;
|
|
738
|
+
}
|
|
739
|
+
interface UseThreadReadStatusResult {
|
|
740
|
+
readStatuses: MessageReadStatus[];
|
|
741
|
+
loading: boolean;
|
|
742
|
+
error: Error | null;
|
|
743
|
+
/**
|
|
744
|
+
* Check if a specific message has been read
|
|
745
|
+
*/
|
|
746
|
+
isRead: (messageId: string) => boolean;
|
|
747
|
+
/**
|
|
748
|
+
* Mark a specific message as read
|
|
749
|
+
*/
|
|
750
|
+
markAsRead: (messageId: string) => Promise<MessageReadStatus | null>;
|
|
751
|
+
refetch: () => Promise<void>;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Hook to manage read status for all messages in a thread
|
|
755
|
+
*/
|
|
756
|
+
declare function useThreadReadStatus(options: UseThreadReadStatusOptions): UseThreadReadStatusResult;
|
|
757
|
+
interface UseMessageVoteOptions {
|
|
758
|
+
threadId: string;
|
|
759
|
+
messageId: string;
|
|
760
|
+
/**
|
|
761
|
+
* Whether to fetch the vote summary automatically on mount.
|
|
762
|
+
* Default: false
|
|
763
|
+
*/
|
|
764
|
+
autoFetch?: boolean;
|
|
765
|
+
}
|
|
766
|
+
interface UseMessageVoteResult {
|
|
767
|
+
summary: MessageVoteSummary | null;
|
|
768
|
+
loading: boolean;
|
|
769
|
+
error: Error | null;
|
|
770
|
+
/**
|
|
771
|
+
* Upvote the message
|
|
772
|
+
*/
|
|
773
|
+
upvote: () => Promise<MessageVote | null>;
|
|
774
|
+
/**
|
|
775
|
+
* Downvote the message with a required comment
|
|
776
|
+
*/
|
|
777
|
+
downvote: (comment: string) => Promise<MessageVote | null>;
|
|
778
|
+
/**
|
|
779
|
+
* Remove the current user's vote
|
|
780
|
+
*/
|
|
781
|
+
removeVote: () => Promise<void>;
|
|
782
|
+
/**
|
|
783
|
+
* Refetch the vote summary
|
|
784
|
+
*/
|
|
785
|
+
refetch: () => Promise<void>;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Hook to manage voting on a specific message
|
|
789
|
+
*/
|
|
790
|
+
declare function useMessageVote(options: UseMessageVoteOptions): UseMessageVoteResult;
|
|
791
|
+
interface UseMessageVotesOptions {
|
|
792
|
+
threadId: string;
|
|
793
|
+
messageId: string;
|
|
794
|
+
/**
|
|
795
|
+
* Whether to fetch the votes automatically on mount.
|
|
796
|
+
* Default: false
|
|
797
|
+
*/
|
|
798
|
+
enabled?: boolean;
|
|
799
|
+
}
|
|
800
|
+
interface UseMessageVotesResult {
|
|
801
|
+
votes: MessageVote[];
|
|
802
|
+
loading: boolean;
|
|
803
|
+
error: Error | null;
|
|
804
|
+
refetch: () => Promise<void>;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Hook to get all votes for a message (useful for admin/analytics)
|
|
808
|
+
*/
|
|
809
|
+
declare function useMessageVotes(options: UseMessageVotesOptions): UseMessageVotesResult;
|
|
810
|
+
|
|
702
811
|
/**
|
|
703
812
|
* Wraps a DistriFnTool as a DistriUiTool with DefaultToolActions component
|
|
704
813
|
*/
|
|
@@ -902,6 +1011,66 @@ interface ImageRendererProps {
|
|
|
902
1011
|
}
|
|
903
1012
|
declare const ImageRenderer: React__default.FC<ImageRendererProps>;
|
|
904
1013
|
|
|
1014
|
+
interface MessageFeedbackProps {
|
|
1015
|
+
threadId: string;
|
|
1016
|
+
messageId: string;
|
|
1017
|
+
/** Show the component in compact mode (icons only) */
|
|
1018
|
+
compact?: boolean;
|
|
1019
|
+
/** CSS class name */
|
|
1020
|
+
className?: string;
|
|
1021
|
+
/** Called when a vote is submitted */
|
|
1022
|
+
onVote?: (voteType: 'upvote' | 'downvote', comment?: string) => void;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* Message feedback component with thumbs up/down voting.
|
|
1026
|
+
* Downvotes require a comment explaining the issue.
|
|
1027
|
+
*/
|
|
1028
|
+
declare const MessageFeedback: React__default.FC<MessageFeedbackProps>;
|
|
1029
|
+
|
|
1030
|
+
interface MessageReadContextValue {
|
|
1031
|
+
/** Check if a message has been read */
|
|
1032
|
+
isRead: (messageId: string) => boolean;
|
|
1033
|
+
/** Mark a message as read (will skip if already read) */
|
|
1034
|
+
markAsRead: (messageId: string) => Promise<void>;
|
|
1035
|
+
/** Set of message IDs that have been read */
|
|
1036
|
+
readMessageIds: Set<string>;
|
|
1037
|
+
/** Whether the initial fetch is loading */
|
|
1038
|
+
isLoading: boolean;
|
|
1039
|
+
}
|
|
1040
|
+
interface MessageReadProviderProps {
|
|
1041
|
+
threadId: string;
|
|
1042
|
+
/** Whether to enable read tracking */
|
|
1043
|
+
enabled?: boolean;
|
|
1044
|
+
children: React__default.ReactNode;
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Provider that manages read status for all messages in a thread.
|
|
1048
|
+
* Fetches existing read statuses on mount and provides methods to check/mark messages as read.
|
|
1049
|
+
*/
|
|
1050
|
+
declare const MessageReadProvider: React__default.FC<MessageReadProviderProps>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Hook to access message read context
|
|
1053
|
+
*/
|
|
1054
|
+
declare const useMessageReadContext: () => MessageReadContextValue | null;
|
|
1055
|
+
|
|
1056
|
+
interface MessageReadTrackerProps {
|
|
1057
|
+
messageId: string;
|
|
1058
|
+
/** Only track read status for this message if enabled */
|
|
1059
|
+
enabled?: boolean;
|
|
1060
|
+
/** Threshold for intersection (0-1). Default 0.5 means 50% visible */
|
|
1061
|
+
threshold?: number;
|
|
1062
|
+
/** Delay in ms before marking as read (prevents marking during fast scroll) */
|
|
1063
|
+
delay?: number;
|
|
1064
|
+
children: React__default.ReactNode;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* Wrapper component that tracks when a message comes into view
|
|
1068
|
+
* and automatically marks it as read using the MessageReadContext.
|
|
1069
|
+
*
|
|
1070
|
+
* Must be used inside a MessageReadProvider.
|
|
1071
|
+
*/
|
|
1072
|
+
declare const MessageReadTracker: React__default.FC<MessageReadTrackerProps>;
|
|
1073
|
+
|
|
905
1074
|
interface MessageRendererProps {
|
|
906
1075
|
message: DistriChatMessage;
|
|
907
1076
|
index: number;
|
|
@@ -910,11 +1079,19 @@ interface MessageRendererProps {
|
|
|
910
1079
|
toolRenderers?: ToolRendererMap;
|
|
911
1080
|
/** Enable debug mode to show developer messages */
|
|
912
1081
|
debug?: boolean;
|
|
1082
|
+
/** Thread ID for feedback functionality */
|
|
1083
|
+
threadId?: string;
|
|
1084
|
+
/** Enable message feedback (voting) UI */
|
|
1085
|
+
enableFeedback?: boolean;
|
|
913
1086
|
}
|
|
914
|
-
declare function MessageRenderer({ message, index, toolRenderers, debug, }: MessageRendererProps): React__default.ReactNode;
|
|
1087
|
+
declare function MessageRenderer({ message, index, toolRenderers, debug, threadId, enableFeedback, }: MessageRendererProps): React__default.ReactNode;
|
|
915
1088
|
|
|
916
1089
|
interface StepBasedRendererProps {
|
|
917
1090
|
message: DistriMessage;
|
|
1091
|
+
/** Thread ID for feedback functionality */
|
|
1092
|
+
threadId?: string;
|
|
1093
|
+
/** Enable message feedback (voting) UI */
|
|
1094
|
+
enableFeedback?: boolean;
|
|
918
1095
|
}
|
|
919
1096
|
declare const StepBasedRenderer: React__default.FC<StepBasedRendererProps>;
|
|
920
1097
|
|
|
@@ -936,6 +1113,13 @@ interface ExtractedContent {
|
|
|
936
1113
|
}
|
|
937
1114
|
declare function extractContent(message: DistriMessage | DistriEvent): ExtractedContent;
|
|
938
1115
|
|
|
1116
|
+
interface TodosDisplayProps {
|
|
1117
|
+
todos: TodoItem[];
|
|
1118
|
+
className?: string;
|
|
1119
|
+
title?: string;
|
|
1120
|
+
}
|
|
1121
|
+
declare const TodosDisplay: React__default.FC<TodosDisplayProps>;
|
|
1122
|
+
|
|
939
1123
|
declare const TypingIndicator: React__default.FC;
|
|
940
1124
|
|
|
941
1125
|
interface UserMessageRendererProps {
|
|
@@ -945,4 +1129,4 @@ interface UserMessageRendererProps {
|
|
|
945
1129
|
}
|
|
946
1130
|
declare const UserMessageRenderer: React__default.FC<UserMessageRendererProps>;
|
|
947
1131
|
|
|
948
|
-
export { ASK_FOLLOW_UP_TOOL_NAME, AgentSelect,
|
|
1132
|
+
export { ASK_FOLLOW_UP_TOOL_NAME, AgentSelect, type AskFollowUpInput, type AskFollowUpOutput, 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, type FollowUpQuestion, ImageRenderer, type ImageRendererProps, Input, LoadingAnimation, type LoadingAnimationConfig, type LoadingAnimationPreset, type LoadingAnimationProps, LoadingShimmer, MessageFeedback, type MessageFeedbackProps, MessageReadProvider, type MessageReadProviderProps, MessageReadTracker, type MessageReadTrackerProps, 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, TodosDisplay, type TodosDisplayProps, type ToolCallState, type ToolCallStatus, type ToolRendererMap, type ToolRendererProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TtsConfig, type TtsRequest, TypingIndicator, type UiToolProps, type UseAgentOptions, type UseAgentResult, type UseAgentsByUsageOptions, type UseAgentsByUsageResult, type UseAgentsResult, type UseChatMessagesOptions, type UseChatMessagesReturn, type UseChatOptions, type UseChatReturn, type UseConfigurationResult, type UseMessageReadStatusOptions, type UseMessageReadStatusResult, type UseMessageVoteOptions, type UseMessageVoteResult, type UseMessageVotesOptions, type UseMessageVotesResult, type UseThreadMessagesOptions, type UseThreadReadStatusOptions, type UseThreadReadStatusResult, type UseThreadsOptions, type UseThreadsResult, UserMessageRenderer, type UserMessageRendererProps, VoiceInput, type VoiceInputProps, createAskFollowUpTool, extractContent, useAgent, useAgentDefinitions, useAgentsByUsage, useChat, useChatMessages, useChatStateStore, useConfiguration, useDistri, useDistriAuth, useDistriToken, useMessageReadContext, useMessageReadStatus, useMessageVote, useMessageVotes, useSidebar, useSpeechToText, useTheme, useThreadReadStatus, useThreads, useTts, useWorkspace, wrapFnToolAsUiTool, wrapTools };
|