@xpert-ai/chatkit-ui 0.4.8 → 0.4.10
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/app/assets/{_baseUniq-C6U_mLmt.js → _baseUniq-L_C0UtBf.js} +1 -1
- package/dist/app/assets/{abap-CcH23nd8.js → abap-BpnyPh6e.js} +1 -1
- package/dist/app/assets/{abnf-CcTozIAH.js → abnf-CePQrE9v.js} +1 -1
- package/dist/app/assets/{actionscript-CoivGHtF.js → actionscript-CEbXXYWC.js} +1 -1
- package/dist/app/assets/{ada-C9rMfFQ2.js → ada-6ojm7R_Z.js} +1 -1
- package/dist/app/assets/{agda-Bz9A_vdo.js → agda-BJJMgT72.js} +1 -1
- package/dist/app/assets/{al-Bt-02J-s.js → al-CjM03tR4.js} +1 -1
- package/dist/app/assets/{antlr4-BNx5A1Xt.js → antlr4-CN9DxFQq.js} +1 -1
- package/dist/app/assets/{apacheconf-DSKCb2ki.js → apacheconf-DIP0dEtR.js} +1 -1
- package/dist/app/assets/{apex-DINStiCL.js → apex-Dk0IZjGB.js} +1 -1
- package/dist/app/assets/{apl-AO49PfU1.js → apl-Bzb4FgpE.js} +1 -1
- package/dist/app/assets/{applescript-BC9fwUi_.js → applescript-B0UaluN5.js} +1 -1
- package/dist/app/assets/{aql-oBSTXQFj.js → aql-CUf7Ed1z.js} +1 -1
- package/dist/app/assets/{arc-DavEcsQh.js → arc-CAj2CWKM.js} +1 -1
- package/dist/app/assets/{architectureDiagram-Q4EWVU46-CtkK_g0L.js → architectureDiagram-Q4EWVU46-BOSyiusQ.js} +1 -1
- package/dist/app/assets/{arduino-1fv4jo7s.js → arduino-B1HB_jXM.js} +1 -1
- package/dist/app/assets/{arff-LW8sOGDM.js → arff-CPQ25yN1.js} +1 -1
- package/dist/app/assets/{asciidoc-703-ScGE.js → asciidoc-DV5p79UO.js} +1 -1
- package/dist/app/assets/{asm6502-DB8JZa03.js → asm6502-CpY5r4lk.js} +1 -1
- package/dist/app/assets/{asmatmel-Btlc_tzy.js → asmatmel-CxbyxEbb.js} +1 -1
- package/dist/app/assets/{aspnet-wQ_HhpYf.js → aspnet-CJaAnWH-.js} +1 -1
- package/dist/app/assets/{autohotkey-D15yjPMp.js → autohotkey-C582BAaU.js} +1 -1
- package/dist/app/assets/{autoit-DuEk6Vrw.js → autoit-Ct1i1FKr.js} +1 -1
- package/dist/app/assets/{avisynth-8PXPQqJm.js → avisynth-DtDpdH0z.js} +1 -1
- package/dist/app/assets/{avro-idl-B4LHX7lx.js → avro-idl-B_TsIBE2.js} +1 -1
- package/dist/app/assets/{bash-CAl-DTFS.js → bash-DwYhdU-w.js} +1 -1
- package/dist/app/assets/{basic-6_zI9xWs.js → basic-C07QA6Vo.js} +1 -1
- package/dist/app/assets/{batch-CkIHxOb5.js → batch-DjR7VTRm.js} +1 -1
- package/dist/app/assets/{bbcode-DdH_7cN9.js → bbcode-CwHqfRZe.js} +1 -1
- package/dist/app/assets/{bicep-C2D-5P3M.js → bicep-C1vVTkRE.js} +1 -1
- package/dist/app/assets/{birb-BxPQYdER.js → birb-CBTuHWN7.js} +1 -1
- package/dist/app/assets/{bison-DVhbkcwM.js → bison-C08f83AH.js} +1 -1
- package/dist/app/assets/{blockDiagram-DXYQGD6D-uAEDUNeD.js → blockDiagram-DXYQGD6D-BwfXbVr_.js} +1 -1
- package/dist/app/assets/{bnf-BDcDik47.js → bnf-eixMjfhu.js} +1 -1
- package/dist/app/assets/{brainfuck-DvwxcSfp.js → brainfuck-OXBW4BZH.js} +1 -1
- package/dist/app/assets/{brightscript-DrC2sVzH.js → brightscript-BSDqAE-U.js} +1 -1
- package/dist/app/assets/{bro-CdiB8Vjz.js → bro-Bi8eHVX-.js} +1 -1
- package/dist/app/assets/{bsl--EGACD0d.js → bsl-CEhRIRY7.js} +1 -1
- package/dist/app/assets/{c-T5LJVYFQ.js → c-Czzvuksm.js} +1 -1
- package/dist/app/assets/{c4Diagram-AHTNJAMY-Cy7BexXy.js → c4Diagram-AHTNJAMY-BGp37t4h.js} +1 -1
- package/dist/app/assets/{cfscript-CkvoB6kq.js → cfscript-BDye0SUz.js} +1 -1
- package/dist/app/assets/{chaiscript-D8YjRpTE.js → chaiscript-DapUhojE.js} +1 -1
- package/dist/app/assets/channel-CKs0hRBa.js +1 -0
- package/dist/app/assets/{chunk-4BX2VUAB-BLOHlOIE.js → chunk-4BX2VUAB-xQQ1b4Co.js} +1 -1
- package/dist/app/assets/{chunk-4TB4RGXK-GGVNH0HE.js → chunk-4TB4RGXK-ChvEc_zS.js} +1 -1
- package/dist/app/assets/{chunk-55IACEB6-Dt53EJCz.js → chunk-55IACEB6-CSgtZuqU.js} +1 -1
- package/dist/app/assets/{chunk-EDXVE4YY-DA8yCpS4.js → chunk-EDXVE4YY-D6bAHfe-.js} +1 -1
- package/dist/app/assets/{chunk-FMBD7UC4-D3NDzGii.js → chunk-FMBD7UC4-CfqAGzwt.js} +1 -1
- package/dist/app/assets/{chunk-OYMX7WX6-BEFBL2ui.js → chunk-OYMX7WX6-DppYEx9e.js} +1 -1
- package/dist/app/assets/{chunk-QZHKN3VN-BLRkTao2.js → chunk-QZHKN3VN-OcXmUBXK.js} +1 -1
- package/dist/app/assets/{chunk-YZCP3GAM-Ln8KYG-C.js → chunk-YZCP3GAM-DEM4F_gM.js} +1 -1
- package/dist/app/assets/{cil-BMOdiOTj.js → cil-CkS5pr8z.js} +1 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-BSlTfNc_.js +1 -0
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-BSlTfNc_.js +1 -0
- package/dist/app/assets/{clike-BKmn_NGD.js → clike-BnesBfd1.js} +1 -1
- package/dist/app/assets/{clojure-JNOvV7IM.js → clojure-CMTJuYgr.js} +1 -1
- package/dist/app/assets/clone-Qytsv1Ng.js +1 -0
- package/dist/app/assets/{cmake-DH8Q92q8.js → cmake-Bad4-rPE.js} +1 -1
- package/dist/app/assets/{cobol-BriCC1-T.js → cobol-BVGOaTIA.js} +1 -1
- package/dist/app/assets/{coffeescript-C3QDcrFj.js → coffeescript-BfGXelSK.js} +1 -1
- package/dist/app/assets/{concurnas-cn0Ztzwi.js → concurnas-CIwpz7d6.js} +1 -1
- package/dist/app/assets/{coq-pVa-qWuT.js → coq-DSIeTmBw.js} +1 -1
- package/dist/app/assets/{core-CO_hkCHt.js → core-aBCdKGFg.js} +1 -1
- package/dist/app/assets/{cose-bilkent-S5V4N54A-IvqOuEw1.js → cose-bilkent-S5V4N54A-BsOe3ZRA.js} +1 -1
- package/dist/app/assets/{cpp-DHlUNzHO.js → cpp-6tyvrJuf.js} +1 -1
- package/dist/app/assets/{crystal-BxytmI3X.js → crystal-CiyZx3nA.js} +1 -1
- package/dist/app/assets/{csharp-CABZUnw0.js → csharp-aV-8z_7S.js} +1 -1
- package/dist/app/assets/{cshtml-hPk8iuT1.js → cshtml-DXQwMOL2.js} +1 -1
- package/dist/app/assets/{csp-BUUc6ABa.js → csp-QFnPub4X.js} +1 -1
- package/dist/app/assets/{css-Cr-rqtQ9.js → css-NG8SQHFd.js} +1 -1
- package/dist/app/assets/{css-extras-Bful3yLw.js → css-extras-BYOlAC_J.js} +1 -1
- package/dist/app/assets/{csv-BNROrvsS.js → csv-CRVKaEXK.js} +1 -1
- package/dist/app/assets/{cypher-CQHYzOO2.js → cypher-N4lavBWi.js} +1 -1
- package/dist/app/assets/{d-D0mPNje9.js → d-CXsOP2vo.js} +1 -1
- package/dist/app/assets/{dagre-KV5264BT-t9M87--R.js → dagre-KV5264BT-DeGuPXts.js} +1 -1
- package/dist/app/assets/{dart-DgLSuOUy.js → dart-QuR1URa-.js} +1 -1
- package/dist/app/assets/{dataweave-DUSnVjPj.js → dataweave-DSZsHkWW.js} +1 -1
- package/dist/app/assets/{dax-CdYNzYFY.js → dax-316zZNcC.js} +1 -1
- package/dist/app/assets/{dhall-TjMKe2aM.js → dhall-RmKM9GKI.js} +1 -1
- package/dist/app/assets/{diagram-5BDNPKRD-CRqiAZ2u.js → diagram-5BDNPKRD-rnVFbmh_.js} +1 -1
- package/dist/app/assets/{diagram-G4DWMVQ6-DSq-1jRd.js → diagram-G4DWMVQ6-C_06tcEj.js} +1 -1
- package/dist/app/assets/{diagram-MMDJMWI5-vijnkKl_.js → diagram-MMDJMWI5-CU4PzLKC.js} +1 -1
- package/dist/app/assets/{diagram-TYMM5635-CKwsSqRR.js → diagram-TYMM5635-B6DWOJFf.js} +1 -1
- package/dist/app/assets/{diff-RTBTqfpO.js → diff-D1VyyUNE.js} +1 -1
- package/dist/app/assets/{django-CKug-XpS.js → django-1g5s3FD9.js} +1 -1
- package/dist/app/assets/{dns-zone-file-CsSAkNKg.js → dns-zone-file-DPyAfyNh.js} +1 -1
- package/dist/app/assets/{docker-B5S-QETH.js → docker-B6Ppya8s.js} +1 -1
- package/dist/app/assets/{dot-C9Lx6Pap.js → dot-qEA9Iscp.js} +1 -1
- package/dist/app/assets/{ebnf-D-x85hBH.js → ebnf-Dq27JvcF.js} +1 -1
- package/dist/app/assets/{editorconfig-CE6n_qeK.js → editorconfig-DTKOOxka.js} +1 -1
- package/dist/app/assets/{eiffel-DHdg0bSF.js → eiffel-M573bWnZ.js} +1 -1
- package/dist/app/assets/{ejs-CZB-fGTN.js → ejs-5_NMM1D1.js} +1 -1
- package/dist/app/assets/{elixir-OdfgIE90.js → elixir-Czvfyjv_.js} +1 -1
- package/dist/app/assets/{elm-v6XgiDmz.js → elm-B8ew8DwL.js} +1 -1
- package/dist/app/assets/{erDiagram-SMLLAGMA-BJgsWqEg.js → erDiagram-SMLLAGMA-CLBUx2BT.js} +1 -1
- package/dist/app/assets/{erb-BMC1ZtTs.js → erb-B6kN8bOV.js} +1 -1
- package/dist/app/assets/{erlang-B-S555FZ.js → erlang-DB9zwFPB.js} +1 -1
- package/dist/app/assets/{etlua-BHDYZtNc.js → etlua-BO-uDffT.js} +1 -1
- package/dist/app/assets/{excel-formula-pWfrX2zg.js → excel-formula-DggXv9UI.js} +1 -1
- package/dist/app/assets/{factor-DZ3GbHyA.js → factor-DyMYAmFt.js} +1 -1
- package/dist/app/assets/{false-iqL9BHU1.js → false-D6qsKvn8.js} +1 -1
- package/dist/app/assets/{firestore-security-rules-Bl7uTal3.js → firestore-security-rules-CmxC6hqr.js} +1 -1
- package/dist/app/assets/{flow-GUjKSDGw.js → flow-CuYyVwSm.js} +1 -1
- package/dist/app/assets/{flowDiagram-DWJPFMVM-CkZQBdZr.js → flowDiagram-DWJPFMVM-BXqpXcQj.js} +1 -1
- package/dist/app/assets/{fortran-BeqpuFCA.js → fortran-B9VZ0rBH.js} +1 -1
- package/dist/app/assets/{fsharp-DZSHGb7H.js → fsharp-GO7xyDtk.js} +1 -1
- package/dist/app/assets/{ftl-DmEWSMUl.js → ftl-miAH75V3.js} +1 -1
- package/dist/app/assets/{ganttDiagram-T4ZO3ILL-DBltjUCi.js → ganttDiagram-T4ZO3ILL-Dwt1tgUY.js} +1 -1
- package/dist/app/assets/{gap-BjqhWB_-.js → gap-CId1dUrj.js} +1 -1
- package/dist/app/assets/{gcode-AKkUkh18.js → gcode-C59Bc_Q_.js} +1 -1
- package/dist/app/assets/{gdscript-CXkLDcqy.js → gdscript-fCaxiH5y.js} +1 -1
- package/dist/app/assets/{gedcom-zomiHg3l.js → gedcom-Fz0PyMGL.js} +1 -1
- package/dist/app/assets/{gherkin-CeMVXbM6.js → gherkin-DpCy-yO5.js} +1 -1
- package/dist/app/assets/{git-DpCni8L5.js → git-CDabPQd8.js} +1 -1
- package/dist/app/assets/{gitGraphDiagram-UUTBAWPF-DGVplyDN.js → gitGraphDiagram-UUTBAWPF-DKdTEA1Q.js} +1 -1
- package/dist/app/assets/{glsl-zoUbbmGA.js → glsl-CAuBdubM.js} +1 -1
- package/dist/app/assets/{gml-CuzTrbLx.js → gml-B1-KFSC-.js} +1 -1
- package/dist/app/assets/{gn-DDqAM2Nt.js → gn-z9JlBynS.js} +1 -1
- package/dist/app/assets/{go-DfGlh_fI.js → go-Bh8RVnCA.js} +1 -1
- package/dist/app/assets/{go-module-B43_pol8.js → go-module-BxEHBAUj.js} +1 -1
- package/dist/app/assets/{graph-CTHXWjkl.js → graph-C5VCXRja.js} +1 -1
- package/dist/app/assets/{graphql-BD4WHbDL.js → graphql-UVwaZqUP.js} +1 -1
- package/dist/app/assets/{groovy-D1mwDBPA.js → groovy-Bm3Dr_U_.js} +1 -1
- package/dist/app/assets/{haml-DQ1ifuh3.js → haml-BQkZhweN.js} +1 -1
- package/dist/app/assets/{handlebars-BbKVi9k7.js → handlebars-UliZj7od.js} +1 -1
- package/dist/app/assets/{haskell-DR3U9E3I.js → haskell-EGerwJvN.js} +1 -1
- package/dist/app/assets/{haxe-DxuWxMdv.js → haxe-f4j0SE6I.js} +1 -1
- package/dist/app/assets/{hcl-BlmRVySH.js → hcl-CuuY0fvP.js} +1 -1
- package/dist/app/assets/{hlsl-b70nK4nC.js → hlsl-C4nrcroF.js} +1 -1
- package/dist/app/assets/{hoon-CFk_83C2.js → hoon-YAf2AIOr.js} +1 -1
- package/dist/app/assets/{hpkp-CXk7yU3y.js → hpkp-ClJhCK_W.js} +1 -1
- package/dist/app/assets/{hsts-Cn-v3YAw.js → hsts-CEpwd5fr.js} +1 -1
- package/dist/app/assets/{http-CJ3HdMDk.js → http-BR64Nyk9.js} +1 -1
- package/dist/app/assets/{ichigojam-CEG-TsR7.js → ichigojam-DTWmfCcD.js} +1 -1
- package/dist/app/assets/{icon-BjSINS6k.js → icon-D0qxhzhu.js} +1 -1
- package/dist/app/assets/{icu-message-format-C19IL-8o.js → icu-message-format-Cr2MhD47.js} +1 -1
- package/dist/app/assets/{idris-CTFj0zyA.js → idris-D6urX37y.js} +1 -1
- package/dist/app/assets/{iecst-DczabB55.js → iecst-D9PNLpyA.js} +1 -1
- package/dist/app/assets/{ignore-DWfEQzDI.js → ignore-hxaHGT6e.js} +1 -1
- package/dist/app/assets/index-CIhQPDQc.css +1 -0
- package/dist/app/assets/{index-81T8nJoC.js → index-Ca6boVeh.js} +149 -149
- package/dist/app/assets/{infoDiagram-42DDH7IO-D42FAKXi.js → infoDiagram-42DDH7IO-CCZ9EqBH.js} +1 -1
- package/dist/app/assets/{inform7-Bt3cWsOU.js → inform7-DGwJlX9w.js} +1 -1
- package/dist/app/assets/{ini-DpFDn41X.js → ini-HbQ_pZ9w.js} +1 -1
- package/dist/app/assets/{io-CgGAFAHi.js → io-Dhyv4fqE.js} +1 -1
- package/dist/app/assets/{ishikawaDiagram-UXIWVN3A-C8zjjQQw.js → ishikawaDiagram-UXIWVN3A-CnOAK-IZ.js} +1 -1
- package/dist/app/assets/{j-BJV61y_I.js → j-DAcUG2zB.js} +1 -1
- package/dist/app/assets/{java-BmdQrLLO.js → java-CdeMY3IG.js} +1 -1
- package/dist/app/assets/{javadoc-G5yNdvan.js → javadoc-BeQ0Pg6D.js} +1 -1
- package/dist/app/assets/{javadoclike-BRhUyCMI.js → javadoclike-DPYVfShk.js} +1 -1
- package/dist/app/assets/{javascript-X5fFJKSj.js → javascript-BGlZ4jdn.js} +1 -1
- package/dist/app/assets/{javastacktrace-D95RSPmw.js → javastacktrace-Jex9eXtr.js} +1 -1
- package/dist/app/assets/{jexl-Bahcu24V.js → jexl-BFt920Jf.js} +1 -1
- package/dist/app/assets/{jolie-BbdL97sV.js → jolie-YCJV5cqd.js} +1 -1
- package/dist/app/assets/{journeyDiagram-VCZTEJTY-fQoNAiQs.js → journeyDiagram-VCZTEJTY-C5RrtwyC.js} +1 -1
- package/dist/app/assets/{jq-BJaVY7-k.js → jq-BlHh9d3G.js} +1 -1
- package/dist/app/assets/{js-extras-CzHFPwB7.js → js-extras-DqpdICye.js} +1 -1
- package/dist/app/assets/{js-templates-D9Jze0AG.js → js-templates-CvnMgk4Z.js} +1 -1
- package/dist/app/assets/{jsdoc-CwJWJCwH.js → jsdoc-D4a3LTWc.js} +1 -1
- package/dist/app/assets/{json-BfOH7ju9.js → json-Deb7FFLA.js} +1 -1
- package/dist/app/assets/{json5-DkNVWQsa.js → json5-BJMK5K1n.js} +1 -1
- package/dist/app/assets/{jsonp-B9H6yTcQ.js → jsonp-C04DhIsm.js} +1 -1
- package/dist/app/assets/{jsstacktrace-DB1HESYr.js → jsstacktrace-dnLb08RQ.js} +1 -1
- package/dist/app/assets/{jsx-BZEoAwNB.js → jsx-qoVtXIf0.js} +1 -1
- package/dist/app/assets/{julia-Du0-OWWc.js → julia-Din5szlb.js} +1 -1
- package/dist/app/assets/{kanban-definition-6JOO6SKY-D9G630CO.js → kanban-definition-6JOO6SKY-CbNOvC3e.js} +1 -1
- package/dist/app/assets/{keepalived-D2o2MKOk.js → keepalived-B4pmJFAA.js} +1 -1
- package/dist/app/assets/{keyman-CQNdJfg5.js → keyman-GZkMiOR4.js} +1 -1
- package/dist/app/assets/{kotlin-BdGy0G3D.js → kotlin-BaVFlKSj.js} +1 -1
- package/dist/app/assets/{kumir-W9XS3J-N.js → kumir-BYgnVncN.js} +1 -1
- package/dist/app/assets/{kusto-U5GL2okH.js → kusto-iC0N6VZB.js} +1 -1
- package/dist/app/assets/{latex-DjywwdZn.js → latex-DJsq4A7S.js} +1 -1
- package/dist/app/assets/{latte-CWlwFAGC.js → latte-4-D5JQy6.js} +1 -1
- package/dist/app/assets/{layout-CJ5sbb4i.js → layout-woS_Ptld.js} +1 -1
- package/dist/app/assets/{less-B_-Y8EIj.js → less-BEGF0T8s.js} +1 -1
- package/dist/app/assets/{lilypond-de2Bbq8o.js → lilypond-DaScaqz9.js} +1 -1
- package/dist/app/assets/{linear-cpVyzYBv.js → linear-BihMu0qn.js} +1 -1
- package/dist/app/assets/{liquid-B7YoglCS.js → liquid-D0JwjezM.js} +1 -1
- package/dist/app/assets/{lisp-rkefVxKe.js → lisp-Ba08UZ8Y.js} +1 -1
- package/dist/app/assets/{livescript-Dthz2vuR.js → livescript-Ba6INIPm.js} +1 -1
- package/dist/app/assets/{llvm-CdkfgaFY.js → llvm-B0HbpJgY.js} +1 -1
- package/dist/app/assets/{log-DKL--ZdV.js → log-CUZTDc-a.js} +1 -1
- package/dist/app/assets/{lolcode-DZMyfvHz.js → lolcode-D40bzDOF.js} +1 -1
- package/dist/app/assets/{lua-BozQlwCm.js → lua-jHZMGpQf.js} +1 -1
- package/dist/app/assets/{magma-Bo1HQ3yw.js → magma-BMKUCiAE.js} +1 -1
- package/dist/app/assets/{makefile-Cd7k8M7c.js → makefile-CrnMbIy3.js} +1 -1
- package/dist/app/assets/{markdown-CyEGGExX.js → markdown-BpxRx0s_.js} +1 -1
- package/dist/app/assets/{markup-C6j7maqE.js → markup-D_2bSIGF.js} +1 -1
- package/dist/app/assets/{markup-templating-zo98qosd.js → markup-templating-BQJ4eRFE.js} +1 -1
- package/dist/app/assets/{matlab-7DGA36_N.js → matlab-uyhAjnN1.js} +1 -1
- package/dist/app/assets/{maxscript-BXhKpjV3.js → maxscript-H8QAZVCr.js} +1 -1
- package/dist/app/assets/{mel-DzuwbU9S.js → mel-Os9gRUqz.js} +1 -1
- package/dist/app/assets/{mermaid-Fxy9aqV6.js → mermaid-B2iIz3n5.js} +1 -1
- package/dist/app/assets/{min-iRYxaflu.js → min-BTBcsdCC.js} +1 -1
- package/dist/app/assets/{mindmap-definition-QFDTVHPH-CDhGnvWF.js → mindmap-definition-QFDTVHPH-Dvj885ud.js} +1 -1
- package/dist/app/assets/{mizar-C6LRd3BH.js → mizar-D9MjA9UN.js} +1 -1
- package/dist/app/assets/{mongodb-PpRT4row.js → mongodb-Dn0muF6d.js} +1 -1
- package/dist/app/assets/{monkey-BtPIcibQ.js → monkey-DOTSILMn.js} +1 -1
- package/dist/app/assets/{moonscript-B2sOvzdl.js → moonscript-DfQiWdI-.js} +1 -1
- package/dist/app/assets/{n1ql-BUgP-sLq.js → n1ql-Di7PgXpN.js} +1 -1
- package/dist/app/assets/{n4js-DitGNUV9.js → n4js-4FGHhLWQ.js} +1 -1
- package/dist/app/assets/{nand2tetris-hdl-C4eb-97E.js → nand2tetris-hdl-RPNTjDij.js} +1 -1
- package/dist/app/assets/{naniscript-C76x5pWn.js → naniscript-DlBeU5rv.js} +1 -1
- package/dist/app/assets/{nasm-DY15scmn.js → nasm-DOfW-U1c.js} +1 -1
- package/dist/app/assets/{neon-XUFSke3O.js → neon-DIaK0ba7.js} +1 -1
- package/dist/app/assets/{nevod-D-O5x2vT.js → nevod-MZznxw70.js} +1 -1
- package/dist/app/assets/{nginx-C1LAx9GQ.js → nginx-B_evwEEx.js} +1 -1
- package/dist/app/assets/{nim-BIB3hils.js → nim-CKV8H1in.js} +1 -1
- package/dist/app/assets/{nix-Cp83P7Ah.js → nix-snnJAJ52.js} +1 -1
- package/dist/app/assets/{nsis-BEIuRoEV.js → nsis-BkQHvfnw.js} +1 -1
- package/dist/app/assets/{objectivec-DvCOEh_z.js → objectivec-MasMMXjt.js} +1 -1
- package/dist/app/assets/{ocaml-C8YXwmdc.js → ocaml-DfMICclm.js} +1 -1
- package/dist/app/assets/{opencl-sPESon4V.js → opencl-DMGsaXz-.js} +1 -1
- package/dist/app/assets/{openqasm-BCiw5qy5.js → openqasm-HESEWwwi.js} +1 -1
- package/dist/app/assets/{oz-F9dEXSFB.js → oz-Dnbv1xyS.js} +1 -1
- package/dist/app/assets/{parigp-BZl0w0Sc.js → parigp-BA7vMMvc.js} +1 -1
- package/dist/app/assets/{parser-C9sPAbgK.js → parser-CpgehIIr.js} +1 -1
- package/dist/app/assets/{pascal-BUnXeRKA.js → pascal-CHpGLduo.js} +1 -1
- package/dist/app/assets/{pascaligo-BBA1mDzk.js → pascaligo-gC_Fmy9X.js} +1 -1
- package/dist/app/assets/{pcaxis-CE-kTu54.js → pcaxis-ClUcRdeO.js} +1 -1
- package/dist/app/assets/{peoplecode-Cavd8OkS.js → peoplecode-DQzgxy54.js} +1 -1
- package/dist/app/assets/{perl-rub0iNje.js → perl-oGp9SxLw.js} +1 -1
- package/dist/app/assets/{php-Dh1U-FUh.js → php-DgxqR0GZ.js} +1 -1
- package/dist/app/assets/{php-extras-BIJCxnPs.js → php-extras-BfS-aY8o.js} +1 -1
- package/dist/app/assets/{phpdoc-CCJjW2TW.js → phpdoc-BmMoLBHI.js} +1 -1
- package/dist/app/assets/{pieDiagram-DEJITSTG-RYQuMD8b.js → pieDiagram-DEJITSTG-DZ0yFuk7.js} +1 -1
- package/dist/app/assets/{plsql-5_KwCAwn.js → plsql-CPXmCYYW.js} +1 -1
- package/dist/app/assets/{powerquery-52u5POE8.js → powerquery-FtFYTUVW.js} +1 -1
- package/dist/app/assets/{powershell-BHLNENsC.js → powershell-DuDoHsht.js} +1 -1
- package/dist/app/assets/{processing-DI_nysTy.js → processing-CjEmSLbF.js} +1 -1
- package/dist/app/assets/{prolog-DqF8gKCU.js → prolog-BrB4XKYQ.js} +1 -1
- package/dist/app/assets/{promql-Be65e_se.js → promql-Bo3Yo-85.js} +1 -1
- package/dist/app/assets/{properties-BKITDSLH.js → properties-C12E8Vrx.js} +1 -1
- package/dist/app/assets/{protobuf-CJaLUYPZ.js → protobuf-ZSbyt_tp.js} +1 -1
- package/dist/app/assets/{psl-B2zDw4FQ.js → psl-C8BZ04EB.js} +1 -1
- package/dist/app/assets/{pug-BLNDkbe-.js → pug-tFtksCnz.js} +1 -1
- package/dist/app/assets/{puppet-CYkyNd7_.js → puppet-DIKGEmsp.js} +1 -1
- package/dist/app/assets/{pure-aHZtfBs8.js → pure-Dl1I5Uf9.js} +1 -1
- package/dist/app/assets/{purebasic-Chreb9G1.js → purebasic-BKUq9_IV.js} +1 -1
- package/dist/app/assets/{purescript-BrDQpBsd.js → purescript-BfKdBG7f.js} +1 -1
- package/dist/app/assets/{q-CG-Uw9fW.js → q-Bc-J6oNm.js} +1 -1
- package/dist/app/assets/{qml-D7JdcaL5.js → qml-CtblfTL-.js} +1 -1
- package/dist/app/assets/{qore-DTAFeEzJ.js → qore-C_WhRfpS.js} +1 -1
- package/dist/app/assets/{qsharp-KMk1VB77.js → qsharp-CkQWjHnz.js} +1 -1
- package/dist/app/assets/{quadrantDiagram-34T5L4WZ-kcs3XBjB.js → quadrantDiagram-34T5L4WZ-BFAfZEAg.js} +1 -1
- package/dist/app/assets/{r-Mcc_meDu.js → r-BLXGPVPD.js} +1 -1
- package/dist/app/assets/{racket-Bi1SH8gG.js → racket-E6RQ7R9a.js} +1 -1
- package/dist/app/assets/{reason-BkN_evMO.js → reason-DCm-poIN.js} +1 -1
- package/dist/app/assets/{regex-BpPSlJan.js → regex-BQMYuSFJ.js} +1 -1
- package/dist/app/assets/{rego-CFPB8a0W.js → rego-kN2r0Pui.js} +1 -1
- package/dist/app/assets/{renpy-C10TEcfx.js → renpy-ifyhyky1.js} +1 -1
- package/dist/app/assets/{requirementDiagram-MS252O5E-Da2Rot0k.js → requirementDiagram-MS252O5E-Cy6vLX6y.js} +1 -1
- package/dist/app/assets/{rest-jaxR3Nwi.js → rest-sNHXO2Rp.js} +1 -1
- package/dist/app/assets/{rip-BIYDMCQi.js → rip-DiG06njh.js} +1 -1
- package/dist/app/assets/{roboconf-D3YJW0OU.js → roboconf-Go3FkVXZ.js} +1 -1
- package/dist/app/assets/{robotframework-Cl5CDWUM.js → robotframework-B0KjSDge.js} +1 -1
- package/dist/app/assets/{ruby-BAtxbduJ.js → ruby-lembbibU.js} +1 -1
- package/dist/app/assets/{rust-j3d_4yXH.js → rust-lLanU6M8.js} +1 -1
- package/dist/app/assets/{sankeyDiagram-XADWPNL6-CHYndDqh.js → sankeyDiagram-XADWPNL6-CHNcaRfC.js} +1 -1
- package/dist/app/assets/{sas-B7xuz-f8.js → sas-CepPfFuK.js} +1 -1
- package/dist/app/assets/{sass-CPSHzvOP.js → sass-CJ9PFEHC.js} +1 -1
- package/dist/app/assets/{scala-XzuQPU4U.js → scala-BOTmxIAg.js} +1 -1
- package/dist/app/assets/{scheme-CZDNceJr.js → scheme-DebY6fXZ.js} +1 -1
- package/dist/app/assets/{scss-ByPGJ9oR.js → scss-I831DfbF.js} +1 -1
- package/dist/app/assets/{sequenceDiagram-FGHM5R23-Bqf-MI3-.js → sequenceDiagram-FGHM5R23-B262jGYI.js} +1 -1
- package/dist/app/assets/{shell-session-DkYs23hw.js → shell-session-Bc2Vf63x.js} +1 -1
- package/dist/app/assets/{smali-8ta0pDs5.js → smali-BvHZ9KC5.js} +1 -1
- package/dist/app/assets/{smalltalk-CL3O-9hG.js → smalltalk-CnJHUQDi.js} +1 -1
- package/dist/app/assets/{smarty-DptYuPV-.js → smarty-C52pWLjT.js} +1 -1
- package/dist/app/assets/{sml-DL5Ntsze.js → sml-BIsAmqJZ.js} +1 -1
- package/dist/app/assets/{solidity-DLjXKpH8.js → solidity-CmIQhZ4P.js} +1 -1
- package/dist/app/assets/{solution-file-BGEYO2UZ.js → solution-file-BIQSOYlV.js} +1 -1
- package/dist/app/assets/{soy-C_hNpojZ.js → soy-3fx5uUfg.js} +1 -1
- package/dist/app/assets/{sparql-DpyP9nSL.js → sparql-BVOpxY0k.js} +1 -1
- package/dist/app/assets/{splunk-spl-CMqLBBNV.js → splunk-spl-BY78MSNc.js} +1 -1
- package/dist/app/assets/{sqf-Bjd7tODT.js → sqf-C829Cqkw.js} +1 -1
- package/dist/app/assets/{sql-DaOPtORA.js → sql-BjXleg-C.js} +1 -1
- package/dist/app/assets/{squirrel-BmkSCHAM.js → squirrel-hVXB9A_k.js} +1 -1
- package/dist/app/assets/{stan-BQDOZ5BG.js → stan-DR8-Ksro.js} +1 -1
- package/dist/app/assets/{stateDiagram-FHFEXIEX-DomIxG6V.js → stateDiagram-FHFEXIEX-DASFzkGA.js} +1 -1
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-VSJXuK_v.js +1 -0
- package/dist/app/assets/{stylus-D9zxJMZd.js → stylus-BLgROJFn.js} +1 -1
- package/dist/app/assets/{swift-ChDi7zm1.js → swift-BFiTbikL.js} +1 -1
- package/dist/app/assets/{systemd-DrHR6OtL.js → systemd-BH7-HakT.js} +1 -1
- package/dist/app/assets/{t4-cs-BK7AaUNw.js → t4-cs-BhRgiInj.js} +1 -1
- package/dist/app/assets/{t4-templating-DyWWFL-2.js → t4-templating-DVcctKts.js} +1 -1
- package/dist/app/assets/{t4-vb-ImonnXyV.js → t4-vb-BWdGVqZt.js} +1 -1
- package/dist/app/assets/{tap-gG3Miq0y.js → tap-O_XkewC5.js} +1 -1
- package/dist/app/assets/{tcl-CPOB0Qpi.js → tcl-yX1XNQSP.js} +1 -1
- package/dist/app/assets/{textile-DUS100rB.js → textile-BLezi3e1.js} +1 -1
- package/dist/app/assets/{timeline-definition-GMOUNBTQ-B9xACmrN.js → timeline-definition-GMOUNBTQ-BNGwgyTF.js} +1 -1
- package/dist/app/assets/{toml-Br-z_Jni.js → toml-Eph7qw5M.js} +1 -1
- package/dist/app/assets/{tremor-CUpHsqn-.js → tremor-CSl2ZVP1.js} +1 -1
- package/dist/app/assets/{tt2-CwqefxcQ.js → tt2-0Brdd3gb.js} +1 -1
- package/dist/app/assets/{turtle-C-8311-l.js → turtle-Cc0fFjp3.js} +1 -1
- package/dist/app/assets/{twig-6K8m9JZO.js → twig-Dt5yL5pH.js} +1 -1
- package/dist/app/assets/{typescript-D-ov05ni.js → typescript-gPQes0uv.js} +1 -1
- package/dist/app/assets/{typoscript-GY6i6lok.js → typoscript-J9BtBWlv.js} +1 -1
- package/dist/app/assets/{unrealscript-BWUIUQQm.js → unrealscript-g2cMrNeY.js} +1 -1
- package/dist/app/assets/{uorazor-BnpMbbKh.js → uorazor-ChupejQE.js} +1 -1
- package/dist/app/assets/{uri-BTJvCkTQ.js → uri-DKyJK53l.js} +1 -1
- package/dist/app/assets/{v-ClrvUxC7.js → v-gE-bfjKA.js} +1 -1
- package/dist/app/assets/{vala-QMoS4Hez.js → vala-COAZWYR5.js} +1 -1
- package/dist/app/assets/{vbnet-BhW2Anfz.js → vbnet-Bu2O5wTQ.js} +1 -1
- package/dist/app/assets/{velocity-65hYA_Fv.js → velocity-QORnuopg.js} +1 -1
- package/dist/app/assets/{vennDiagram-DHZGUBPP-CLUcaL0s.js → vennDiagram-DHZGUBPP-7IQLntaa.js} +1 -1
- package/dist/app/assets/{verilog-XFjWUf7Y.js → verilog-qxGjqHLf.js} +1 -1
- package/dist/app/assets/{vhdl-BR397r1w.js → vhdl-cIq_dULQ.js} +1 -1
- package/dist/app/assets/{vim-Bmv-wH4S.js → vim-DY-IJIKY.js} +1 -1
- package/dist/app/assets/{visual-basic-Ek4Wcu5h.js → visual-basic-Coo2C3Qj.js} +1 -1
- package/dist/app/assets/{wardley-RL74JXVD-DUvVrvQ2.js → wardley-RL74JXVD-D5caMcOT.js} +1 -1
- package/dist/app/assets/{wardleyDiagram-NUSXRM2D-B0G-KJsH.js → wardleyDiagram-NUSXRM2D-BbTN3RD2.js} +1 -1
- package/dist/app/assets/{warpscript-CLIqJxp0.js → warpscript-BaMVI_Yi.js} +1 -1
- package/dist/app/assets/{wasm-CXr1clzP.js → wasm-C1KcjV4l.js} +1 -1
- package/dist/app/assets/{web-idl-zfka4Lik.js → web-idl-C1V0GjBc.js} +1 -1
- package/dist/app/assets/{wiki-09K2_Yl-.js → wiki-QJuJkorv.js} +1 -1
- package/dist/app/assets/{wolfram-ZVF__pfW.js → wolfram-fbFFHeKH.js} +1 -1
- package/dist/app/assets/{wren-CiCJbNJW.js → wren-CZ1XKEHc.js} +1 -1
- package/dist/app/assets/{xeora-CC6uLYDD.js → xeora-O0sY3eom.js} +1 -1
- package/dist/app/assets/{xml-doc-BcU55lcM.js → xml-doc-Bs1K40y6.js} +1 -1
- package/dist/app/assets/{xojo-BO8S8YTP.js → xojo-DsepgQ0E.js} +1 -1
- package/dist/app/assets/{xquery-iEr-F5Ux.js → xquery-C2-xF6LZ.js} +1 -1
- package/dist/app/assets/{xychartDiagram-5P7HB3ND-cDfO6IE-.js → xychartDiagram-5P7HB3ND-D_u6cobc.js} +1 -1
- package/dist/app/assets/{yaml-PzXxTEay.js → yaml-CSCOF77O.js} +1 -1
- package/dist/app/assets/{yang-d0o4_4YD.js → yang-Dupiqe8o.js} +1 -1
- package/dist/app/assets/{zig-C_1JL5rU.js → zig-BVtaAQ9o.js} +1 -1
- package/dist/app/index.html +2 -2
- package/dist/index.cjs +226 -73
- package/dist/index.js +250 -91
- package/package.json +2 -2
- package/dist/app/assets/channel-CpiXauIP.js +0 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-CMyc6UTy.js +0 -1
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-CMyc6UTy.js +0 -1
- package/dist/app/assets/clone-S4ogDYsl.js +0 -1
- package/dist/app/assets/index-BuZAXEsU.css +0 -1
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-BIm6BAJU.js +0 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
Settings as Settings2,
|
|
15
15
|
Target as Target3,
|
|
16
16
|
Trash2 as Trash23,
|
|
17
|
-
X as
|
|
17
|
+
X as X8
|
|
18
18
|
} from "lucide-react";
|
|
19
19
|
import { CHATKIT_TASK_SUMMARY_OPEN_RESOURCE_EFFECT } from "@xpert-ai/chatkit-types";
|
|
20
20
|
|
|
@@ -1756,7 +1756,7 @@ function collectLiveTaskSummary({
|
|
|
1756
1756
|
(message) => extractPlan(message) ?? []
|
|
1757
1757
|
);
|
|
1758
1758
|
const agentRuns = messages.flatMap(
|
|
1759
|
-
(message) => (message.agentRuns ?? []).map((run) => ({
|
|
1759
|
+
(message) => (message.agentRuns ?? []).filter((run) => Boolean(run.parentId)).map((run) => ({
|
|
1760
1760
|
id: run.id,
|
|
1761
1761
|
parentId: run.parentId,
|
|
1762
1762
|
level: agentRunLevel(run, messages),
|
|
@@ -1815,7 +1815,9 @@ function mergeTaskSummary(history, live, historySections) {
|
|
|
1815
1815
|
...live.sources
|
|
1816
1816
|
]);
|
|
1817
1817
|
const agents = mergeAgents([
|
|
1818
|
-
...historySections?.agents ?? history?.agents.items ?? []
|
|
1818
|
+
...(historySections?.agents ?? history?.agents.items ?? []).filter(
|
|
1819
|
+
(agent) => Boolean(agent.parentId)
|
|
1820
|
+
),
|
|
1819
1821
|
...live.agents
|
|
1820
1822
|
]);
|
|
1821
1823
|
const pending = mergePending([
|
|
@@ -2203,6 +2205,9 @@ var en_US_default = {
|
|
|
2203
2205
|
history: {
|
|
2204
2206
|
threadHistory: "Thread history",
|
|
2205
2207
|
title: "Threads",
|
|
2208
|
+
refresh: "Refresh threads",
|
|
2209
|
+
updatedAt: "Updated {{time}}",
|
|
2210
|
+
deleteThread: "Delete {{title}}",
|
|
2206
2211
|
newThread: "New Thread",
|
|
2207
2212
|
empty: "No threads yet",
|
|
2208
2213
|
newThreadTitle: "New thread",
|
|
@@ -2644,6 +2649,9 @@ var zh_CN_default = {
|
|
|
2644
2649
|
history: {
|
|
2645
2650
|
threadHistory: "\u7EBF\u7A0B\u5386\u53F2",
|
|
2646
2651
|
title: "\u7EBF\u7A0B",
|
|
2652
|
+
refresh: "\u5237\u65B0\u7EBF\u7A0B",
|
|
2653
|
+
updatedAt: "\u66F4\u65B0\u4E8E {{time}}",
|
|
2654
|
+
deleteThread: "\u5220\u9664 {{title}}",
|
|
2647
2655
|
newThread: "\u65B0\u7EBF\u7A0B",
|
|
2648
2656
|
empty: "\u6682\u65E0\u7EBF\u7A0B",
|
|
2649
2657
|
newThreadTitle: "\u65B0\u7EBF\u7A0B",
|
|
@@ -4756,7 +4764,14 @@ function SlashPalette({
|
|
|
4756
4764
|
|
|
4757
4765
|
// src/components/history/HistorySidebar.tsx
|
|
4758
4766
|
import * as React13 from "react";
|
|
4759
|
-
import {
|
|
4767
|
+
import {
|
|
4768
|
+
History,
|
|
4769
|
+
MessageSquare,
|
|
4770
|
+
PlusCircle,
|
|
4771
|
+
RefreshCw,
|
|
4772
|
+
Trash2,
|
|
4773
|
+
X as X3
|
|
4774
|
+
} from "lucide-react";
|
|
4760
4775
|
|
|
4761
4776
|
// src/components/ui/scroll-area.tsx
|
|
4762
4777
|
import * as React11 from "react";
|
|
@@ -4766,10 +4781,10 @@ var ScrollArea = React11.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
4766
4781
|
ScrollAreaPrimitive.Root,
|
|
4767
4782
|
{
|
|
4768
4783
|
ref,
|
|
4769
|
-
className: cn("relative overflow-hidden", className),
|
|
4784
|
+
className: cn("relative min-w-0 overflow-hidden", className),
|
|
4770
4785
|
...props,
|
|
4771
4786
|
children: [
|
|
4772
|
-
/* @__PURE__ */ jsx14(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
|
|
4787
|
+
/* @__PURE__ */ jsx14(ScrollAreaPrimitive.Viewport, { className: "h-full w-full min-w-0 max-w-full rounded-[inherit] [&>div]:!block [&>div]:!w-full", children }),
|
|
4773
4788
|
/* @__PURE__ */ jsx14(ScrollBar, {}),
|
|
4774
4789
|
/* @__PURE__ */ jsx14(ScrollAreaPrimitive.Corner, {})
|
|
4775
4790
|
]
|
|
@@ -4804,6 +4819,9 @@ function Sheet({ ...props }) {
|
|
|
4804
4819
|
function SheetTrigger({ ...props }) {
|
|
4805
4820
|
return /* @__PURE__ */ jsx15(SheetPrimitive.Trigger, { ...props });
|
|
4806
4821
|
}
|
|
4822
|
+
function SheetClose({ ...props }) {
|
|
4823
|
+
return /* @__PURE__ */ jsx15(SheetPrimitive.Close, { ...props });
|
|
4824
|
+
}
|
|
4807
4825
|
function SheetPortal({ ...props }) {
|
|
4808
4826
|
return /* @__PURE__ */ jsx15(SheetPrimitive.Portal, { ...props });
|
|
4809
4827
|
}
|
|
@@ -4824,6 +4842,7 @@ function SheetOverlay({
|
|
|
4824
4842
|
}
|
|
4825
4843
|
function SheetContent({
|
|
4826
4844
|
side = "right",
|
|
4845
|
+
showCloseButton = true,
|
|
4827
4846
|
className,
|
|
4828
4847
|
children,
|
|
4829
4848
|
...props
|
|
@@ -4848,7 +4867,7 @@ function SheetContent({
|
|
|
4848
4867
|
...props,
|
|
4849
4868
|
children: [
|
|
4850
4869
|
children,
|
|
4851
|
-
/* @__PURE__ */ jsxs8(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
4870
|
+
showCloseButton && /* @__PURE__ */ jsxs8(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
4852
4871
|
/* @__PURE__ */ jsx15(X2, { size: 16 }),
|
|
4853
4872
|
/* @__PURE__ */ jsx15("span", { className: "sr-only", children: t("sheet.close") })
|
|
4854
4873
|
] })
|
|
@@ -4887,17 +4906,51 @@ function SheetTitle({
|
|
|
4887
4906
|
|
|
4888
4907
|
// src/components/history/HistorySidebar.tsx
|
|
4889
4908
|
import { jsx as jsx16, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
4909
|
+
var formatThreadUpdatedAt = (value, formatters, now = /* @__PURE__ */ new Date()) => {
|
|
4910
|
+
if (Number.isNaN(value.getTime())) return null;
|
|
4911
|
+
const isSameYear = value.getFullYear() === now.getFullYear();
|
|
4912
|
+
const isSameDay = isSameYear && value.getMonth() === now.getMonth() && value.getDate() === now.getDate();
|
|
4913
|
+
return {
|
|
4914
|
+
compact: isSameDay ? formatters.time.format(value) : isSameYear ? formatters.date.format(value) : formatters.dateWithYear.format(value),
|
|
4915
|
+
full: formatters.full.format(value)
|
|
4916
|
+
};
|
|
4917
|
+
};
|
|
4890
4918
|
function HistorySidebar({
|
|
4891
4919
|
threads = [],
|
|
4892
4920
|
currentThreadId,
|
|
4893
4921
|
onNewThread,
|
|
4922
|
+
onRefresh,
|
|
4894
4923
|
onSelectThread,
|
|
4895
4924
|
onDeleteThread,
|
|
4925
|
+
isRefreshing = false,
|
|
4896
4926
|
showDelete = true,
|
|
4897
4927
|
disabled = false
|
|
4898
4928
|
}) {
|
|
4899
|
-
const { t } = useChatkitTranslation();
|
|
4929
|
+
const { t, i18n: i18n2 } = useChatkitTranslation();
|
|
4900
4930
|
const [open, setOpen] = React13.useState(false);
|
|
4931
|
+
const language = i18n2.resolvedLanguage ?? i18n2.language;
|
|
4932
|
+
const threadTimeFormatters = React13.useMemo(
|
|
4933
|
+
() => ({
|
|
4934
|
+
time: new Intl.DateTimeFormat(language, {
|
|
4935
|
+
hour: "2-digit",
|
|
4936
|
+
minute: "2-digit"
|
|
4937
|
+
}),
|
|
4938
|
+
date: new Intl.DateTimeFormat(language, {
|
|
4939
|
+
month: "numeric",
|
|
4940
|
+
day: "numeric"
|
|
4941
|
+
}),
|
|
4942
|
+
dateWithYear: new Intl.DateTimeFormat(language, {
|
|
4943
|
+
year: "numeric",
|
|
4944
|
+
month: "numeric",
|
|
4945
|
+
day: "numeric"
|
|
4946
|
+
}),
|
|
4947
|
+
full: new Intl.DateTimeFormat(language, {
|
|
4948
|
+
dateStyle: "medium",
|
|
4949
|
+
timeStyle: "short"
|
|
4950
|
+
})
|
|
4951
|
+
}),
|
|
4952
|
+
[language]
|
|
4953
|
+
);
|
|
4901
4954
|
const handleNewThread = () => {
|
|
4902
4955
|
onNewThread?.();
|
|
4903
4956
|
setOpen(false);
|
|
@@ -4924,49 +4977,118 @@ function HistorySidebar({
|
|
|
4924
4977
|
) }) }) }),
|
|
4925
4978
|
/* @__PURE__ */ jsx16(TooltipContent, { side: "bottom", children: t("history.threadHistory") })
|
|
4926
4979
|
] }),
|
|
4927
|
-
/* @__PURE__ */ jsxs9(
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
children: [
|
|
4936
|
-
/* @__PURE__ */ jsx16(
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4980
|
+
/* @__PURE__ */ jsxs9(
|
|
4981
|
+
SheetContent,
|
|
4982
|
+
{
|
|
4983
|
+
side: "right",
|
|
4984
|
+
className: "w-80 p-0",
|
|
4985
|
+
showCloseButton: false,
|
|
4986
|
+
"aria-describedby": void 0,
|
|
4987
|
+
children: [
|
|
4988
|
+
/* @__PURE__ */ jsxs9(SheetHeader, { className: "grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center space-y-0 border-b px-3 py-4", children: [
|
|
4989
|
+
/* @__PURE__ */ jsx16(SheetTitle, { className: "col-start-2 text-center", children: t("history.title") }),
|
|
4990
|
+
/* @__PURE__ */ jsxs9("div", { className: "col-start-3 row-start-1 flex min-w-max items-center gap-1 justify-self-end", children: [
|
|
4991
|
+
onRefresh && /* @__PURE__ */ jsxs9(Tooltip, { children: [
|
|
4992
|
+
/* @__PURE__ */ jsx16(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx16(
|
|
4993
|
+
Button,
|
|
4994
|
+
{
|
|
4995
|
+
type: "button",
|
|
4996
|
+
variant: "ghost",
|
|
4997
|
+
size: "icon-sm",
|
|
4998
|
+
onClick: () => void onRefresh(),
|
|
4999
|
+
disabled: disabled || isRefreshing,
|
|
5000
|
+
className: "cursor-pointer text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
5001
|
+
"aria-label": t("history.refresh"),
|
|
5002
|
+
"aria-busy": isRefreshing,
|
|
5003
|
+
children: /* @__PURE__ */ jsx16(
|
|
5004
|
+
RefreshCw,
|
|
5005
|
+
{
|
|
5006
|
+
size: 16,
|
|
5007
|
+
className: cn(isRefreshing && "animate-spin")
|
|
5008
|
+
}
|
|
5009
|
+
)
|
|
5010
|
+
}
|
|
5011
|
+
) }),
|
|
5012
|
+
/* @__PURE__ */ jsx16(TooltipContent, { side: "bottom", children: t("history.refresh") })
|
|
5013
|
+
] }),
|
|
5014
|
+
/* @__PURE__ */ jsx16(SheetClose, { asChild: true, children: /* @__PURE__ */ jsx16(
|
|
5015
|
+
Button,
|
|
5016
|
+
{
|
|
5017
|
+
type: "button",
|
|
5018
|
+
variant: "ghost",
|
|
5019
|
+
size: "icon-sm",
|
|
5020
|
+
className: "cursor-pointer text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
|
5021
|
+
"aria-label": t("sheet.close"),
|
|
5022
|
+
children: /* @__PURE__ */ jsx16(X3, { size: 16 })
|
|
5023
|
+
}
|
|
5024
|
+
) })
|
|
5025
|
+
] })
|
|
5026
|
+
] }),
|
|
5027
|
+
/* @__PURE__ */ jsx16("div", { className: "p-4", children: /* @__PURE__ */ jsxs9(
|
|
5028
|
+
Button,
|
|
5029
|
+
{
|
|
5030
|
+
onClick: handleNewThread,
|
|
5031
|
+
className: "w-full justify-start gap-2",
|
|
5032
|
+
variant: "secondary",
|
|
5033
|
+
children: [
|
|
5034
|
+
/* @__PURE__ */ jsx16(PlusCircle, { size: 16 }),
|
|
5035
|
+
t("history.newThread")
|
|
5036
|
+
]
|
|
5037
|
+
}
|
|
5038
|
+
) }),
|
|
5039
|
+
/* @__PURE__ */ jsx16(ScrollArea, { className: "h-[calc(100vh-140px)]", children: /* @__PURE__ */ jsx16("div", { className: "px-4 pb-4", children: threads.length === 0 ? /* @__PURE__ */ jsx16("div", { className: "py-8 text-center text-sm text-muted-foreground", children: t("history.empty") }) : /* @__PURE__ */ jsx16("div", { children: threads.map((thread) => {
|
|
5040
|
+
const updatedAt = thread.lastMessageAt ? formatThreadUpdatedAt(
|
|
5041
|
+
thread.lastMessageAt,
|
|
5042
|
+
threadTimeFormatters
|
|
5043
|
+
) : null;
|
|
5044
|
+
return /* @__PURE__ */ jsxs9(
|
|
5045
|
+
"div",
|
|
4955
5046
|
{
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
5047
|
+
"data-active": currentThreadId === thread.id,
|
|
5048
|
+
className: cn(
|
|
5049
|
+
"group flex items-center gap-2 rounded-lg px-3 py-2 text-sm transition-colors",
|
|
5050
|
+
"cursor-pointer hover:bg-accent hover:text-accent-foreground",
|
|
5051
|
+
"data-[active=true]:bg-accent data-[active=true]:text-accent-foreground"
|
|
5052
|
+
),
|
|
5053
|
+
onClick: () => handleSelectThread(thread.id),
|
|
5054
|
+
children: [
|
|
5055
|
+
/* @__PURE__ */ jsx16("span", { className: "shrink-0 text-muted-foreground transition-colors group-hover:text-accent-foreground group-data-[active=true]:text-accent-foreground", children: /* @__PURE__ */ jsx16(MessageSquare, { size: 16 }) }),
|
|
5056
|
+
/* @__PURE__ */ jsx16("span", { className: "min-w-0 flex-1 truncate", children: thread.title }),
|
|
5057
|
+
updatedAt && /* @__PURE__ */ jsx16(
|
|
5058
|
+
"time",
|
|
5059
|
+
{
|
|
5060
|
+
dateTime: thread.lastMessageAt?.toISOString(),
|
|
5061
|
+
title: updatedAt.full,
|
|
5062
|
+
"aria-label": t("history.updatedAt", {
|
|
5063
|
+
time: updatedAt.full
|
|
5064
|
+
}),
|
|
5065
|
+
className: "hidden shrink-0 whitespace-nowrap text-xs text-muted-foreground transition-colors group-hover:inline group-hover:text-accent-foreground group-focus-within:inline group-data-[active=true]:text-accent-foreground",
|
|
5066
|
+
children: updatedAt.compact
|
|
5067
|
+
}
|
|
5068
|
+
),
|
|
5069
|
+
showDelete && onDeleteThread && /* @__PURE__ */ jsx16(
|
|
5070
|
+
"button",
|
|
5071
|
+
{
|
|
5072
|
+
type: "button",
|
|
5073
|
+
onClick: (e) => {
|
|
5074
|
+
e.stopPropagation();
|
|
5075
|
+
onDeleteThread(thread.id);
|
|
5076
|
+
},
|
|
5077
|
+
className: "shrink-0 rounded p-1 opacity-0 transition-all hover:bg-destructive/10 hover:text-destructive group-hover:opacity-100 group-focus-within:opacity-100",
|
|
5078
|
+
"aria-label": t("history.deleteThread", {
|
|
5079
|
+
title: thread.title
|
|
5080
|
+
}),
|
|
5081
|
+
children: /* @__PURE__ */ jsx16(Trash2, { size: 14 })
|
|
5082
|
+
}
|
|
5083
|
+
)
|
|
5084
|
+
]
|
|
5085
|
+
},
|
|
5086
|
+
thread.id
|
|
5087
|
+
);
|
|
5088
|
+
}) }) }) })
|
|
5089
|
+
]
|
|
5090
|
+
}
|
|
5091
|
+
)
|
|
4970
5092
|
] });
|
|
4971
5093
|
}
|
|
4972
5094
|
|
|
@@ -5511,7 +5633,7 @@ import {
|
|
|
5511
5633
|
MessageSquare as MessageSquare2,
|
|
5512
5634
|
Pencil as Pencil2,
|
|
5513
5635
|
ShieldCheck,
|
|
5514
|
-
X as
|
|
5636
|
+
X as X4
|
|
5515
5637
|
} from "lucide-react";
|
|
5516
5638
|
|
|
5517
5639
|
// src/components/thread/json-tree-view.tsx
|
|
@@ -5706,7 +5828,7 @@ var decisionOrder = [
|
|
|
5706
5828
|
var decisionMeta = {
|
|
5707
5829
|
approve: { icon: Check, labelKey: "composer.hitl.approve" },
|
|
5708
5830
|
edit: { icon: Pencil2, labelKey: "composer.hitl.edit" },
|
|
5709
|
-
reject: { icon:
|
|
5831
|
+
reject: { icon: X4, labelKey: "composer.hitl.reject" },
|
|
5710
5832
|
respond: { icon: MessageSquare2, labelKey: "composer.hitl.respond" }
|
|
5711
5833
|
};
|
|
5712
5834
|
var emptyActions = [];
|
|
@@ -7082,7 +7204,7 @@ function useConversationSummaryEvent({
|
|
|
7082
7204
|
|
|
7083
7205
|
// src/components/chat/attachments.tsx
|
|
7084
7206
|
import * as React22 from "react";
|
|
7085
|
-
import { FileText as FileText2, Loader2 as Loader22, RefreshCw, X as
|
|
7207
|
+
import { FileText as FileText2, Loader2 as Loader22, RefreshCw as RefreshCw2, X as X5 } from "lucide-react";
|
|
7086
7208
|
import { Fragment as Fragment3, jsx as jsx24, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
7087
7209
|
var ACTIVE_PARSE_STATUSES = /* @__PURE__ */ new Set([
|
|
7088
7210
|
"uploaded",
|
|
@@ -7424,7 +7546,7 @@ var ChatAttachments = React22.forwardRef(function ChatAttachments2({
|
|
|
7424
7546
|
onClick: () => retryUpload(item.localId),
|
|
7425
7547
|
className: "ml-1 rounded-full p-0.5 text-destructive hover:bg-destructive/20",
|
|
7426
7548
|
title: retryUploadLabel,
|
|
7427
|
-
children: /* @__PURE__ */ jsx24(
|
|
7549
|
+
children: /* @__PURE__ */ jsx24(RefreshCw2, { size: 12 })
|
|
7428
7550
|
}
|
|
7429
7551
|
),
|
|
7430
7552
|
/* @__PURE__ */ jsx24(
|
|
@@ -7436,7 +7558,7 @@ var ChatAttachments = React22.forwardRef(function ChatAttachments2({
|
|
|
7436
7558
|
"ml-1 rounded-full p-0.5",
|
|
7437
7559
|
item.status === "error" ? "text-destructive hover:bg-destructive/20" : "hover:bg-muted-foreground/20"
|
|
7438
7560
|
),
|
|
7439
|
-
children: /* @__PURE__ */ jsx24(
|
|
7561
|
+
children: /* @__PURE__ */ jsx24(X5, { size: 12 })
|
|
7440
7562
|
}
|
|
7441
7563
|
)
|
|
7442
7564
|
]
|
|
@@ -7638,6 +7760,59 @@ var UploadDroppedFiles = React23.forwardRef(function UploadDroppedFiles2({
|
|
|
7638
7760
|
);
|
|
7639
7761
|
});
|
|
7640
7762
|
|
|
7763
|
+
// src/components/chat/message-files.ts
|
|
7764
|
+
function addIdentity(identities, value) {
|
|
7765
|
+
const identity = value?.trim();
|
|
7766
|
+
if (identity) {
|
|
7767
|
+
identities.add(identity);
|
|
7768
|
+
}
|
|
7769
|
+
}
|
|
7770
|
+
function getAttachmentIdentities(file) {
|
|
7771
|
+
const identities = /* @__PURE__ */ new Set();
|
|
7772
|
+
addIdentity(identities, file.id);
|
|
7773
|
+
addIdentity(identities, file.fileId);
|
|
7774
|
+
addIdentity(identities, file.storageFileId);
|
|
7775
|
+
addIdentity(identities, file.url);
|
|
7776
|
+
addIdentity(identities, file.fileUrl);
|
|
7777
|
+
addIdentity(identities, file.thumbUrl);
|
|
7778
|
+
return identities;
|
|
7779
|
+
}
|
|
7780
|
+
function getImageReferenceIdentities(references) {
|
|
7781
|
+
const identities = /* @__PURE__ */ new Set();
|
|
7782
|
+
references.forEach((reference) => {
|
|
7783
|
+
if (reference.type !== "image") {
|
|
7784
|
+
return;
|
|
7785
|
+
}
|
|
7786
|
+
addIdentity(identities, reference.id);
|
|
7787
|
+
addIdentity(identities, reference.fileId);
|
|
7788
|
+
addIdentity(identities, reference.url);
|
|
7789
|
+
});
|
|
7790
|
+
return identities;
|
|
7791
|
+
}
|
|
7792
|
+
function getVisibleHumanAttachments(attachments, references) {
|
|
7793
|
+
const imageReferenceIdentities = getImageReferenceIdentities(references);
|
|
7794
|
+
const visibleAttachmentIdentities = /* @__PURE__ */ new Set();
|
|
7795
|
+
return attachments.filter((attachment) => {
|
|
7796
|
+
const identities = getAttachmentIdentities(attachment);
|
|
7797
|
+
const isImageReference = [...identities].some(
|
|
7798
|
+
(identity) => imageReferenceIdentities.has(identity)
|
|
7799
|
+
);
|
|
7800
|
+
if (isImageReference) {
|
|
7801
|
+
return false;
|
|
7802
|
+
}
|
|
7803
|
+
const isDuplicate = [...identities].some(
|
|
7804
|
+
(identity) => visibleAttachmentIdentities.has(identity)
|
|
7805
|
+
);
|
|
7806
|
+
if (isDuplicate) {
|
|
7807
|
+
return false;
|
|
7808
|
+
}
|
|
7809
|
+
identities.forEach(
|
|
7810
|
+
(identity) => visibleAttachmentIdentities.add(identity)
|
|
7811
|
+
);
|
|
7812
|
+
return true;
|
|
7813
|
+
});
|
|
7814
|
+
}
|
|
7815
|
+
|
|
7641
7816
|
// src/components/chat/usePetAutoState.ts
|
|
7642
7817
|
import * as React24 from "react";
|
|
7643
7818
|
function usePetAutoState({
|
|
@@ -9148,7 +9323,7 @@ import {
|
|
|
9148
9323
|
ExpandIcon,
|
|
9149
9324
|
Loader2 as Loader23,
|
|
9150
9325
|
TriangleAlert,
|
|
9151
|
-
X as
|
|
9326
|
+
X as X6
|
|
9152
9327
|
} from "lucide-react";
|
|
9153
9328
|
import * as React30 from "react";
|
|
9154
9329
|
|
|
@@ -9436,7 +9611,7 @@ function MermaidPreviewDialog({
|
|
|
9436
9611
|
type: "button",
|
|
9437
9612
|
className: "inline-flex size-10 items-center justify-center rounded-full border border-border bg-card text-muted-foreground transition-colors hover:text-foreground",
|
|
9438
9613
|
children: [
|
|
9439
|
-
/* @__PURE__ */ jsx32(
|
|
9614
|
+
/* @__PURE__ */ jsx32(X6, { className: "size-4" }),
|
|
9440
9615
|
/* @__PURE__ */ jsx32("span", { className: "sr-only", children: closeLabel })
|
|
9441
9616
|
]
|
|
9442
9617
|
}
|
|
@@ -12296,7 +12471,7 @@ function RequestUserInputResultCard({
|
|
|
12296
12471
|
}
|
|
12297
12472
|
|
|
12298
12473
|
// src/components/thread/messages/widget.tsx
|
|
12299
|
-
import { useEffect as useEffect17, useMemo as
|
|
12474
|
+
import { useEffect as useEffect17, useMemo as useMemo12, useState as useState18 } from "react";
|
|
12300
12475
|
import {
|
|
12301
12476
|
A2UIRenderer,
|
|
12302
12477
|
SurfaceRenderer,
|
|
@@ -12340,7 +12515,7 @@ function FlatWidgetSurface({
|
|
|
12340
12515
|
}) {
|
|
12341
12516
|
const { processMessages } = useA2UI();
|
|
12342
12517
|
const [renderError, setRenderError] = useState18(false);
|
|
12343
|
-
const normalizedMessages =
|
|
12518
|
+
const normalizedMessages = useMemo12(
|
|
12344
12519
|
() => normalizeFlatWidgetMessages(messages, surfaceId),
|
|
12345
12520
|
[messages, surfaceId]
|
|
12346
12521
|
);
|
|
@@ -14323,7 +14498,7 @@ function MessageNavigator({
|
|
|
14323
14498
|
|
|
14324
14499
|
// src/components/thread/MessageActions.tsx
|
|
14325
14500
|
import * as React39 from "react";
|
|
14326
|
-
import { Check as Check5, Copy as Copy3, RefreshCw as
|
|
14501
|
+
import { Check as Check5, Copy as Copy3, RefreshCw as RefreshCw3 } from "lucide-react";
|
|
14327
14502
|
import { jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
14328
14503
|
function MessageActions({
|
|
14329
14504
|
content,
|
|
@@ -14374,7 +14549,7 @@ function MessageActions({
|
|
|
14374
14549
|
onClick: onRetry,
|
|
14375
14550
|
className: "p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",
|
|
14376
14551
|
title: t("messageActions.regenerate"),
|
|
14377
|
-
children: /* @__PURE__ */ jsx45(
|
|
14552
|
+
children: /* @__PURE__ */ jsx45(RefreshCw3, { size: 14 })
|
|
14378
14553
|
}
|
|
14379
14554
|
)
|
|
14380
14555
|
]
|
|
@@ -16364,7 +16539,7 @@ function findDomPointForComposerOffset(root, offset) {
|
|
|
16364
16539
|
|
|
16365
16540
|
// src/components/chat/runtime-capabilities.tsx
|
|
16366
16541
|
import * as React51 from "react";
|
|
16367
|
-
import { X as
|
|
16542
|
+
import { X as X7 } from "lucide-react";
|
|
16368
16543
|
import { jsx as jsx56, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
16369
16544
|
function createComposerCapabilityInsertionParts(options) {
|
|
16370
16545
|
return options.flatMap((option) => [
|
|
@@ -16970,7 +17145,7 @@ function DetachedRunRuntimeCapabilities({
|
|
|
16970
17145
|
className: "rounded-full p-0.5 hover:bg-primary/15",
|
|
16971
17146
|
title: removeLabel,
|
|
16972
17147
|
"aria-label": removeLabel,
|
|
16973
|
-
children: /* @__PURE__ */ jsx56(
|
|
17148
|
+
children: /* @__PURE__ */ jsx56(X7, { size: 11 })
|
|
16974
17149
|
}
|
|
16975
17150
|
)
|
|
16976
17151
|
]
|
|
@@ -17382,7 +17557,6 @@ import {
|
|
|
17382
17557
|
ListChecks as ListChecks3,
|
|
17383
17558
|
Loader2 as Loader29,
|
|
17384
17559
|
PlayCircle,
|
|
17385
|
-
Plus as Plus2,
|
|
17386
17560
|
RotateCcw,
|
|
17387
17561
|
Target as Target2
|
|
17388
17562
|
} from "lucide-react";
|
|
@@ -17537,8 +17711,6 @@ function TaskSummaryContent({
|
|
|
17537
17711
|
SummarySection,
|
|
17538
17712
|
{
|
|
17539
17713
|
title: t("taskSummary.sections.outputs"),
|
|
17540
|
-
actionLabel: t("taskSummary.addOutput"),
|
|
17541
|
-
onAction: onFocusComposer,
|
|
17542
17714
|
children: [
|
|
17543
17715
|
summary.outputs.length === 0 ? /* @__PURE__ */ jsx57(SummaryPrompt, { onClick: onFocusComposer, children: t("taskSummary.createOutput") }) : sectionItems("outputs", summary.outputs).map((item) => /* @__PURE__ */ jsx57(
|
|
17544
17716
|
SummaryButton,
|
|
@@ -17559,8 +17731,6 @@ function TaskSummaryContent({
|
|
|
17559
17731
|
SummarySection,
|
|
17560
17732
|
{
|
|
17561
17733
|
title: t("taskSummary.sections.sources"),
|
|
17562
|
-
actionLabel: t("taskSummary.addSource"),
|
|
17563
|
-
onAction: onFocusComposer,
|
|
17564
17734
|
children: [
|
|
17565
17735
|
sectionItems("sources", summary.sources).map((item) => /* @__PURE__ */ jsx57(
|
|
17566
17736
|
SummaryButton,
|
|
@@ -17648,26 +17818,10 @@ function TaskSummaryContent({
|
|
|
17648
17818
|
}
|
|
17649
17819
|
function SummarySection({
|
|
17650
17820
|
title,
|
|
17651
|
-
actionLabel,
|
|
17652
|
-
onAction,
|
|
17653
17821
|
children
|
|
17654
17822
|
}) {
|
|
17655
17823
|
return /* @__PURE__ */ jsxs39("section", { "aria-label": title, className: "px-4 py-3", children: [
|
|
17656
|
-
/* @__PURE__ */
|
|
17657
|
-
/* @__PURE__ */ jsx57("h3", { className: "text-sm font-medium text-muted-foreground", children: title }),
|
|
17658
|
-
onAction && actionLabel && /* @__PURE__ */ jsx57(
|
|
17659
|
-
Button,
|
|
17660
|
-
{
|
|
17661
|
-
type: "button",
|
|
17662
|
-
variant: "ghost",
|
|
17663
|
-
size: "icon-xs",
|
|
17664
|
-
className: "size-7 rounded-lg bg-muted/60 text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
17665
|
-
"aria-label": actionLabel,
|
|
17666
|
-
onClick: onAction,
|
|
17667
|
-
children: /* @__PURE__ */ jsx57(Plus2, { className: "size-4" })
|
|
17668
|
-
}
|
|
17669
|
-
)
|
|
17670
|
-
] }),
|
|
17824
|
+
/* @__PURE__ */ jsx57("div", { className: "flex min-h-7 items-center justify-between gap-3", children: /* @__PURE__ */ jsx57("h3", { className: "text-sm font-medium text-muted-foreground", children: title }) }),
|
|
17671
17825
|
/* @__PURE__ */ jsx57("div", { className: "mt-1 space-y-0.5", children })
|
|
17672
17826
|
] });
|
|
17673
17827
|
}
|
|
@@ -17880,7 +18034,7 @@ function ReferenceChip({
|
|
|
17880
18034
|
),
|
|
17881
18035
|
title: removeLabel,
|
|
17882
18036
|
"aria-label": removeLabel,
|
|
17883
|
-
children: /* @__PURE__ */ jsx58(
|
|
18037
|
+
children: /* @__PURE__ */ jsx58(X8, { size: 12 })
|
|
17884
18038
|
}
|
|
17885
18039
|
)
|
|
17886
18040
|
]
|
|
@@ -19868,8 +20022,10 @@ function Chat({
|
|
|
19868
20022
|
threads,
|
|
19869
20023
|
currentThreadId: stream.threadId ?? void 0,
|
|
19870
20024
|
onNewThread: handleNewThread,
|
|
20025
|
+
onRefresh: refreshThreads,
|
|
19871
20026
|
onSelectThread: handleSelectThread,
|
|
19872
20027
|
onDeleteThread: handleDeleteThread,
|
|
20028
|
+
isRefreshing: isThreadsLoading,
|
|
19873
20029
|
showDelete: history?.showDelete !== false,
|
|
19874
20030
|
disabled: missingConfig || isThreadsLoading || isHistoryLoading
|
|
19875
20031
|
}
|
|
@@ -19946,10 +20102,13 @@ function Chat({
|
|
|
19946
20102
|
const hasPlainRenderableContent = messageContent.trim().length > 0;
|
|
19947
20103
|
const humanMessage = message;
|
|
19948
20104
|
const humanReferences = humanMessage.references ?? [];
|
|
19949
|
-
const humanAttachments =
|
|
19950
|
-
|
|
19951
|
-
|
|
19952
|
-
|
|
20105
|
+
const humanAttachments = getVisibleHumanAttachments(
|
|
20106
|
+
[
|
|
20107
|
+
...humanMessage.fileAssets ?? [],
|
|
20108
|
+
...humanMessage.attachments ?? []
|
|
20109
|
+
],
|
|
20110
|
+
humanReferences
|
|
20111
|
+
);
|
|
19953
20112
|
const humanRuntimeCapabilityOptions = message.type === "human" ? humanMessage.runtimeCapabilityOptions ?? getRuntimeCapabilityOptionsForSelection(
|
|
19954
20113
|
getRecommendedRuntimeCapabilitiesSelection(
|
|
19955
20114
|
humanMessage.runtimeCapabilities
|
|
@@ -20453,7 +20612,7 @@ function Chat({
|
|
|
20453
20612
|
type: "button",
|
|
20454
20613
|
onClick: () => setSelectedTool(null),
|
|
20455
20614
|
className: "shrink-0 rounded-full p-0.5 text-primary/70 hover:bg-primary/10 hover:text-primary",
|
|
20456
|
-
children: /* @__PURE__ */ jsx58(
|
|
20615
|
+
children: /* @__PURE__ */ jsx58(X8, { size: 12 })
|
|
20457
20616
|
}
|
|
20458
20617
|
)
|
|
20459
20618
|
] })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpert-ai/chatkit-ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"description": "ChatKit UI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"tw-animate-css": "^1.4.0",
|
|
60
60
|
"uuid": "^11.1.0",
|
|
61
61
|
"zod": "^4.1.12",
|
|
62
|
-
"@xpert-ai/chatkit-types": "~0.4.6",
|
|
63
62
|
"@xpert-ai/a2ui-react": "~0.1.0",
|
|
63
|
+
"@xpert-ai/chatkit-types": "~0.4.6",
|
|
64
64
|
"@xpert-ai/chatkit-web-shared": "~0.4.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aq as o,ar as n}from"./index-81T8nJoC.js";const t=(r,a)=>o.lang.round(n.parse(r)[a]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-4TB4RGXK-GGVNH0HE.js";import{_ as i}from"./index-81T8nJoC.js";import"./chunk-FMBD7UC4-D3NDzGii.js";import"./chunk-YZCP3GAM-Ln8KYG-C.js";import"./chunk-55IACEB6-Dt53EJCz.js";import"./chunk-EDXVE4YY-DA8yCpS4.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-4TB4RGXK-GGVNH0HE.js";import{_ as i}from"./index-81T8nJoC.js";import"./chunk-FMBD7UC4-D3NDzGii.js";import"./chunk-YZCP3GAM-Ln8KYG-C.js";import"./chunk-55IACEB6-Dt53EJCz.js";import"./chunk-EDXVE4YY-DA8yCpS4.js";var u={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as r}from"./graph-CTHXWjkl.js";var e=4;function a(o){return r(o,e)}export{a as c};
|