@xpert-ai/chatkit-ui 0.5.4 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/assets/{_baseUniq-DMOCw35x.js → _baseUniq-BMCqWfgA.js} +1 -1
- package/dist/app/assets/{abap-Bwac32zp.js → abap-BITk3Jt_.js} +1 -1
- package/dist/app/assets/{abnf-XuDqV3sf.js → abnf-BvC3dC08.js} +1 -1
- package/dist/app/assets/{actionscript-CWEQruXL.js → actionscript-crsAUb88.js} +1 -1
- package/dist/app/assets/{ada-BeyOoTNZ.js → ada-C5_oTrxY.js} +1 -1
- package/dist/app/assets/{agda-DM2nELzN.js → agda-BsGxYoSi.js} +1 -1
- package/dist/app/assets/{al-BoMzGy9R.js → al-Lgs1uvQq.js} +1 -1
- package/dist/app/assets/{antlr4-Bjlafc2T.js → antlr4-DY_QkyMs.js} +1 -1
- package/dist/app/assets/{apacheconf-CDbPiwWC.js → apacheconf-DgiDqboI.js} +1 -1
- package/dist/app/assets/{apex-E4CSbA6l.js → apex-kNnLe_NT.js} +1 -1
- package/dist/app/assets/{apl-DndAMDM0.js → apl-BfmtMaij.js} +1 -1
- package/dist/app/assets/{applescript-CF_1Snqu.js → applescript-C4XJsKdP.js} +1 -1
- package/dist/app/assets/{aql-BaOiUvRD.js → aql-DYrVSBR5.js} +1 -1
- package/dist/app/assets/{arc-Clg4el_l.js → arc-CzQ3zvn7.js} +1 -1
- package/dist/app/assets/{architectureDiagram-Q4EWVU46-BQjH7jPS.js → architectureDiagram-Q4EWVU46-DIQCnrEl.js} +1 -1
- package/dist/app/assets/{arduino-B_RAK_0k.js → arduino-D5wp_Ytj.js} +1 -1
- package/dist/app/assets/{arff-ALjJPG-v.js → arff-D4Squ5Th.js} +1 -1
- package/dist/app/assets/{asciidoc-C5DKyBG_.js → asciidoc-C62k_z5u.js} +1 -1
- package/dist/app/assets/{asm6502-B3Mlc96p.js → asm6502-BHpO2XiQ.js} +1 -1
- package/dist/app/assets/{asmatmel-C1tzeqyn.js → asmatmel-BqsyeDBx.js} +1 -1
- package/dist/app/assets/{aspnet-FJjQJZ-l.js → aspnet--LeuGZEu.js} +1 -1
- package/dist/app/assets/{autohotkey-Ba-oQsKG.js → autohotkey-CbOtA9Zr.js} +1 -1
- package/dist/app/assets/{autoit-gdQ0fcTW.js → autoit-DURAQtEN.js} +1 -1
- package/dist/app/assets/{avisynth-D8feN2CN.js → avisynth-DUr0LV7a.js} +1 -1
- package/dist/app/assets/{avro-idl-BvOZAG1C.js → avro-idl-ghHqoAQi.js} +1 -1
- package/dist/app/assets/{bash-CWG_jeOA.js → bash-BqcMimxs.js} +1 -1
- package/dist/app/assets/{basic-B8xqGayQ.js → basic-PorE3PYu.js} +1 -1
- package/dist/app/assets/{batch-DL8dfZHp.js → batch-XayYK11A.js} +1 -1
- package/dist/app/assets/{bbcode-BshzRgA_.js → bbcode-Dg5vgcil.js} +1 -1
- package/dist/app/assets/{bicep-Bfl07x5z.js → bicep-xul0Z5k3.js} +1 -1
- package/dist/app/assets/{birb-hQTWt4gT.js → birb-CNI54ftA.js} +1 -1
- package/dist/app/assets/{bison-BZqgUQ29.js → bison-VidC1SJ-.js} +1 -1
- package/dist/app/assets/{blockDiagram-DXYQGD6D-YShqaJER.js → blockDiagram-DXYQGD6D-CDJbm4s2.js} +1 -1
- package/dist/app/assets/{bnf-DUVse2KP.js → bnf-fedNuAF3.js} +1 -1
- package/dist/app/assets/{brainfuck-Bu3NW3aS.js → brainfuck-B9YdJo2v.js} +1 -1
- package/dist/app/assets/{brightscript-C0GeKHI_.js → brightscript-Bhbx-Sc0.js} +1 -1
- package/dist/app/assets/{bro-BLds2A1m.js → bro-DvpaWDcI.js} +1 -1
- package/dist/app/assets/{bsl-DmHvdU2a.js → bsl-7xDnStwL.js} +1 -1
- package/dist/app/assets/{c-BS2cF__m.js → c-Dvi_aHwU.js} +1 -1
- package/dist/app/assets/{c4Diagram-AHTNJAMY-BXzNi2Xz.js → c4Diagram-AHTNJAMY-CvUdVGiB.js} +1 -1
- package/dist/app/assets/{cfscript-BYSTy-me.js → cfscript-wSwhUShj.js} +1 -1
- package/dist/app/assets/{chaiscript-DgP4hQHX.js → chaiscript-B0gQwbq3.js} +1 -1
- package/dist/app/assets/channel-CMDLhUtX.js +1 -0
- package/dist/app/assets/{chunk-4BX2VUAB-DExUwpHa.js → chunk-4BX2VUAB-EfN0tlBd.js} +1 -1
- package/dist/app/assets/{chunk-4TB4RGXK-BOkQHv8_.js → chunk-4TB4RGXK-Cl-SDjy-.js} +1 -1
- package/dist/app/assets/{chunk-55IACEB6-CLQ6xN1-.js → chunk-55IACEB6-fB-UIiXE.js} +1 -1
- package/dist/app/assets/{chunk-EDXVE4YY-BeUFxqxB.js → chunk-EDXVE4YY-CVsk0dZ_.js} +1 -1
- package/dist/app/assets/{chunk-FMBD7UC4-DQbOG9LT.js → chunk-FMBD7UC4-BuzWm6Z7.js} +1 -1
- package/dist/app/assets/{chunk-OYMX7WX6-BOWS5K_U.js → chunk-OYMX7WX6-BE_YToGo.js} +1 -1
- package/dist/app/assets/{chunk-QZHKN3VN-B7BYmIon.js → chunk-QZHKN3VN-BnEL4AxW.js} +1 -1
- package/dist/app/assets/{chunk-YZCP3GAM-DsHse404.js → chunk-YZCP3GAM-Dmk5QjH8.js} +1 -1
- package/dist/app/assets/{cil-w2QHvA4j.js → cil-CQxnSJ9E.js} +1 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-BWbVx6v3.js +1 -0
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-BWbVx6v3.js +1 -0
- package/dist/app/assets/{clike-Br9rvy8L.js → clike-CP83ighl.js} +1 -1
- package/dist/app/assets/{clojure-8ZXdIPPq.js → clojure-VWCUZ5WZ.js} +1 -1
- package/dist/app/assets/clone-DaFwzQ-L.js +1 -0
- package/dist/app/assets/{cmake-CvEaJy7h.js → cmake-Dc7R1o_M.js} +1 -1
- package/dist/app/assets/{cobol-M72fZmMC.js → cobol-Ce1J2pqN.js} +1 -1
- package/dist/app/assets/{coffeescript-C5xJdhaj.js → coffeescript-CeEAB534.js} +1 -1
- package/dist/app/assets/{concurnas-CdlNXgIt.js → concurnas-Bh4-abc-.js} +1 -1
- package/dist/app/assets/{coq-BYQTyuV-.js → coq-C_H8AuNe.js} +1 -1
- package/dist/app/assets/{core-DnOolKys.js → core-DwGdMA-y.js} +1 -1
- package/dist/app/assets/{cose-bilkent-S5V4N54A-sFy0HB_g.js → cose-bilkent-S5V4N54A-BrXwWxov.js} +1 -1
- package/dist/app/assets/{cpp-CZphUwmQ.js → cpp-DpPKPdHS.js} +1 -1
- package/dist/app/assets/{crystal-CUe5clIL.js → crystal-Fuhe2OE6.js} +1 -1
- package/dist/app/assets/{csharp-BJgKnlvC.js → csharp-wpCE0nEo.js} +1 -1
- package/dist/app/assets/{cshtml-C9vsKRks.js → cshtml-F-xmChtp.js} +1 -1
- package/dist/app/assets/{csp-DIXOXJub.js → csp-CxC5jxHW.js} +1 -1
- package/dist/app/assets/{css-mB1wvHfo.js → css-L_F4d51L.js} +1 -1
- package/dist/app/assets/{css-extras-DjOIy_vc.js → css-extras-BwZnZEu1.js} +1 -1
- package/dist/app/assets/{csv-DXsT9LhL.js → csv-C74oCGIa.js} +1 -1
- package/dist/app/assets/{cypher-YE9UQm-0.js → cypher-COyWv3va.js} +1 -1
- package/dist/app/assets/{d-BnVGSkU6.js → d-B65TnuTe.js} +1 -1
- package/dist/app/assets/{dagre-KV5264BT-Qs4OIWYq.js → dagre-KV5264BT-ChgLBE-T.js} +1 -1
- package/dist/app/assets/{dart-DBwvOqyJ.js → dart-CpDUfitf.js} +1 -1
- package/dist/app/assets/{dataweave-DDd-NH0e.js → dataweave-CX7Qa1n1.js} +1 -1
- package/dist/app/assets/{dax-BWU_B3kH.js → dax-ZkNL61zw.js} +1 -1
- package/dist/app/assets/{dhall-BBvMj82b.js → dhall-DNjyksqY.js} +1 -1
- package/dist/app/assets/{diagram-5BDNPKRD-RXruFkHY.js → diagram-5BDNPKRD-BcPwD8Kj.js} +1 -1
- package/dist/app/assets/{diagram-G4DWMVQ6-Bzx7lA4J.js → diagram-G4DWMVQ6-LnY4PFsc.js} +1 -1
- package/dist/app/assets/{diagram-MMDJMWI5-B8rWkSor.js → diagram-MMDJMWI5-aa8Vhu2F.js} +1 -1
- package/dist/app/assets/{diagram-TYMM5635-EZPdbp6x.js → diagram-TYMM5635-Jz5pzpKI.js} +1 -1
- package/dist/app/assets/{diff-jE6nXQ7L.js → diff-WVoPKUmv.js} +1 -1
- package/dist/app/assets/{django-Brhbv2JO.js → django-DI3sOVdK.js} +1 -1
- package/dist/app/assets/{dns-zone-file-Ce5cMsLg.js → dns-zone-file-B1W7kh1x.js} +1 -1
- package/dist/app/assets/{docker-Bfq4doN7.js → docker-hRBkoPjj.js} +1 -1
- package/dist/app/assets/{dot-DMWN4mEC.js → dot-Dv1MABF9.js} +1 -1
- package/dist/app/assets/{ebnf-DYXRLHUG.js → ebnf-C30PMC4p.js} +1 -1
- package/dist/app/assets/{editorconfig-CbJknMcb.js → editorconfig-DAr3YnEC.js} +1 -1
- package/dist/app/assets/{eiffel-B4EZvlGs.js → eiffel-CiFHBF_B.js} +1 -1
- package/dist/app/assets/{ejs-BEU-qjf7.js → ejs-DqKhaaVB.js} +1 -1
- package/dist/app/assets/{elixir-B_a2ycY4.js → elixir-CCSuSI4O.js} +1 -1
- package/dist/app/assets/{elm-leMW8E0P.js → elm-DR4HIlv8.js} +1 -1
- package/dist/app/assets/{erDiagram-SMLLAGMA-LzJyKDT4.js → erDiagram-SMLLAGMA-Dl0knKmC.js} +1 -1
- package/dist/app/assets/{erb-D3vrulF7.js → erb-CzDVBAbw.js} +1 -1
- package/dist/app/assets/{erlang-RNH0tzGN.js → erlang-DVgBLqEJ.js} +1 -1
- package/dist/app/assets/{etlua-BFVTp3-T.js → etlua-DF61eWL_.js} +1 -1
- package/dist/app/assets/{excel-formula-DlSyXE4L.js → excel-formula-BjOYKoXw.js} +1 -1
- package/dist/app/assets/{factor-uwksoWD7.js → factor-BYlgtT88.js} +1 -1
- package/dist/app/assets/{false-BpdJd_Yz.js → false-VpD50GQd.js} +1 -1
- package/dist/app/assets/{firestore-security-rules-C5uPMG3k.js → firestore-security-rules-CXjNgiqw.js} +1 -1
- package/dist/app/assets/{flow-BL5s74Nr.js → flow-UCBwYj4g.js} +1 -1
- package/dist/app/assets/{flowDiagram-DWJPFMVM-D0X8qkzm.js → flowDiagram-DWJPFMVM-DLqa5bCT.js} +1 -1
- package/dist/app/assets/{fortran-B9uAh6kv.js → fortran-B-VF6DSD.js} +1 -1
- package/dist/app/assets/{fsharp-CFUi3hZF.js → fsharp-Cfa53HRV.js} +1 -1
- package/dist/app/assets/{ftl-BmFITVHz.js → ftl-S9XnBYZE.js} +1 -1
- package/dist/app/assets/{ganttDiagram-T4ZO3ILL-BumD1IN7.js → ganttDiagram-T4ZO3ILL-xkcpESb-.js} +1 -1
- package/dist/app/assets/{gap-eoD5aEtL.js → gap-DxWyiJyd.js} +1 -1
- package/dist/app/assets/{gcode-Ct0C6tkJ.js → gcode-I3TnotdP.js} +1 -1
- package/dist/app/assets/{gdscript-IAeaSiET.js → gdscript-DwmqcMfp.js} +1 -1
- package/dist/app/assets/{gedcom-Cp6ETPlx.js → gedcom-wk25u4tk.js} +1 -1
- package/dist/app/assets/{gherkin-gQBC5_Tm.js → gherkin-CmyQpRR3.js} +1 -1
- package/dist/app/assets/{git-BUb2Ef5G.js → git-2fPv4icm.js} +1 -1
- package/dist/app/assets/{gitGraphDiagram-UUTBAWPF-CwIjnG1f.js → gitGraphDiagram-UUTBAWPF-BWO5yamZ.js} +1 -1
- package/dist/app/assets/{glsl-ha500tad.js → glsl-DhdeRPUr.js} +1 -1
- package/dist/app/assets/{gml-D9UKe8HS.js → gml-C9Rp-vdi.js} +1 -1
- package/dist/app/assets/{gn-BSitOcQd.js → gn-sdpsdb_1.js} +1 -1
- package/dist/app/assets/{go-DMF0ihJu.js → go-cX_tr1iE.js} +1 -1
- package/dist/app/assets/{go-module-DMB1tWdY.js → go-module-BEq1Vgmm.js} +1 -1
- package/dist/app/assets/{graph-DLHVWCQv.js → graph-aH3Tj20-.js} +1 -1
- package/dist/app/assets/{graphql-CEPu_6ph.js → graphql-US2hovIL.js} +1 -1
- package/dist/app/assets/{groovy-eBWL80CL.js → groovy-D-RU_8Ov.js} +1 -1
- package/dist/app/assets/{haml-BCDJxgmu.js → haml-D6DPh9Fz.js} +1 -1
- package/dist/app/assets/{handlebars-CapCjGml.js → handlebars-DbUAZVat.js} +1 -1
- package/dist/app/assets/{haskell-HSDXTiY3.js → haskell-HL-nThgK.js} +1 -1
- package/dist/app/assets/{haxe-CYhicWLF.js → haxe-DwGFr-vT.js} +1 -1
- package/dist/app/assets/{hcl-DaEJ63gk.js → hcl-Bx2jsjMJ.js} +1 -1
- package/dist/app/assets/{hlsl-R7suMNE4.js → hlsl-BtPVfKcX.js} +1 -1
- package/dist/app/assets/{hoon-Bv-chbF9.js → hoon-DpKpFgdR.js} +1 -1
- package/dist/app/assets/{hpkp-C4ADGtou.js → hpkp-C3IPUrYT.js} +1 -1
- package/dist/app/assets/{hsts-CB5oK3VS.js → hsts-BXUSL0Uw.js} +1 -1
- package/dist/app/assets/{http-C1PyXYUv.js → http-DWQae60m.js} +1 -1
- package/dist/app/assets/{ichigojam-CE_ZgXG6.js → ichigojam-IE3fX27V.js} +1 -1
- package/dist/app/assets/{icon-uu24hWNu.js → icon-DcQB3JhE.js} +1 -1
- package/dist/app/assets/{icu-message-format-Cp77XkuC.js → icu-message-format-Blb7heef.js} +1 -1
- package/dist/app/assets/{idris-Wy9aFZCq.js → idris-Dd5-rtkp.js} +1 -1
- package/dist/app/assets/{iecst-BaML-dA3.js → iecst-gy7LbUFO.js} +1 -1
- package/dist/app/assets/{ignore-DZVOppkK.js → ignore-CyYyW5-g.js} +1 -1
- package/dist/app/assets/index-CXm_XByQ.css +1 -0
- package/dist/app/assets/index-IOhU4-W6.js +791 -0
- package/dist/app/assets/{infoDiagram-42DDH7IO-CKVpsNj5.js → infoDiagram-42DDH7IO-fROPG8_1.js} +1 -1
- package/dist/app/assets/{inform7-B3imwI6a.js → inform7-F6Ip2hlp.js} +1 -1
- package/dist/app/assets/{ini-Dr_5Tj7S.js → ini--3blLJvm.js} +1 -1
- package/dist/app/assets/{io-Dd7l3Ejv.js → io-0G865U20.js} +1 -1
- package/dist/app/assets/{ishikawaDiagram-UXIWVN3A-CtXPpTJL.js → ishikawaDiagram-UXIWVN3A-seYp8a9Z.js} +1 -1
- package/dist/app/assets/{j-Bl30FFSs.js → j-DhayNq9O.js} +1 -1
- package/dist/app/assets/{java-p9valxE9.js → java-B6j2ClTV.js} +1 -1
- package/dist/app/assets/{javadoc-BdL9LnX5.js → javadoc-hoGv-qgI.js} +1 -1
- package/dist/app/assets/{javadoclike-CySMyw18.js → javadoclike-yqygIGpT.js} +1 -1
- package/dist/app/assets/{javascript-C48aNs7d.js → javascript-CNZ9X09R.js} +1 -1
- package/dist/app/assets/{javastacktrace-6b_tZrg9.js → javastacktrace-CKG9auUr.js} +1 -1
- package/dist/app/assets/{jexl-B3GBQzoE.js → jexl-CR8OmrfU.js} +1 -1
- package/dist/app/assets/{jolie-Btit-ayQ.js → jolie-fS6VUF2C.js} +1 -1
- package/dist/app/assets/{journeyDiagram-VCZTEJTY-DMKzhP-U.js → journeyDiagram-VCZTEJTY-ge9fmUsx.js} +1 -1
- package/dist/app/assets/{jq-n-PpCC5g.js → jq-Dd5vzlZ2.js} +1 -1
- package/dist/app/assets/{js-extras-B4ul5r_s.js → js-extras-CEjE_sw9.js} +1 -1
- package/dist/app/assets/{js-templates-C6x6N4O8.js → js-templates-Bs_q-mFW.js} +1 -1
- package/dist/app/assets/{jsdoc-RY0uysf7.js → jsdoc-CmRWGQBg.js} +1 -1
- package/dist/app/assets/{json-CoYnVzf7.js → json-B3WtMqxE.js} +1 -1
- package/dist/app/assets/{json5-wfhl3hVZ.js → json5-B35VDHIE.js} +1 -1
- package/dist/app/assets/{jsonp-D7odwsds.js → jsonp-BSAuIBIk.js} +1 -1
- package/dist/app/assets/{jsstacktrace-CIqOyedq.js → jsstacktrace-BVnszM9n.js} +1 -1
- package/dist/app/assets/{jsx-CA2INXPZ.js → jsx-Ulk1xmaf.js} +1 -1
- package/dist/app/assets/{julia-DRAXTapb.js → julia-wAegROxA.js} +1 -1
- package/dist/app/assets/{kanban-definition-6JOO6SKY-CSlAUcL1.js → kanban-definition-6JOO6SKY-Dt82KiI-.js} +1 -1
- package/dist/app/assets/{keepalived-dklp9jjH.js → keepalived-D-8Fkb5_.js} +1 -1
- package/dist/app/assets/{keyman-meTz7YQ0.js → keyman-CMwETd_q.js} +1 -1
- package/dist/app/assets/{kotlin-lzQH4oZA.js → kotlin-Dvdn8vfk.js} +1 -1
- package/dist/app/assets/{kumir-BVPwdvkd.js → kumir-Cw3eJErW.js} +1 -1
- package/dist/app/assets/{kusto-CCesvOw9.js → kusto-B50-ACHb.js} +1 -1
- package/dist/app/assets/{latex-C0A08YOT.js → latex-B32EHvXj.js} +1 -1
- package/dist/app/assets/{latte-DRyPL0o_.js → latte-24U9Gwk2.js} +1 -1
- package/dist/app/assets/{layout-Ft7nrLFj.js → layout-B42p62_a.js} +1 -1
- package/dist/app/assets/{less-0YGaK1Ny.js → less-BC5uCSSJ.js} +1 -1
- package/dist/app/assets/{lilypond-xc0GRZDM.js → lilypond-DA9ijLUg.js} +1 -1
- package/dist/app/assets/{linear-C0AD7ApO.js → linear-D7k5TriK.js} +1 -1
- package/dist/app/assets/{liquid-CAIlXM7k.js → liquid-CMWpAUrU.js} +1 -1
- package/dist/app/assets/{lisp-CWIf4a4E.js → lisp-uq_t7VQ0.js} +1 -1
- package/dist/app/assets/{livescript-W1wch9_n.js → livescript-rXe_0rnu.js} +1 -1
- package/dist/app/assets/{llvm-D35zJvME.js → llvm-CFpKeGcG.js} +1 -1
- package/dist/app/assets/{log-B35gSywI.js → log-CrFg7_GJ.js} +1 -1
- package/dist/app/assets/{lolcode-CXJWr_kr.js → lolcode-5t6AdMcG.js} +1 -1
- package/dist/app/assets/{lua-DZP9Jv1z.js → lua-DJH8NYbV.js} +1 -1
- package/dist/app/assets/{magma-DqAgLAeM.js → magma-D8t_fqVr.js} +1 -1
- package/dist/app/assets/{makefile-D33QCWzY.js → makefile-xeiRxxOf.js} +1 -1
- package/dist/app/assets/{markdown-hEkMDik6.js → markdown-DF3vOSCM.js} +1 -1
- package/dist/app/assets/{markup-B_53o2jo.js → markup-bE2X4wC8.js} +1 -1
- package/dist/app/assets/{markup-templating-D1WOoUgZ.js → markup-templating-DED2gOIo.js} +1 -1
- package/dist/app/assets/{matlab-Dqmrg6Ws.js → matlab-B7X6-kVy.js} +1 -1
- package/dist/app/assets/{maxscript-CimjIQuJ.js → maxscript-DSdYVbA7.js} +1 -1
- package/dist/app/assets/{mel-ofsHC9z3.js → mel-BO4WVBll.js} +1 -1
- package/dist/app/assets/{mermaid-XfHMFgmD.js → mermaid-BP4GUY4H.js} +1 -1
- package/dist/app/assets/{min-BYbIgXZp.js → min-V1PQNI6q.js} +1 -1
- package/dist/app/assets/{mindmap-definition-QFDTVHPH-a6Q2rDfi.js → mindmap-definition-QFDTVHPH-CZ6ona8k.js} +1 -1
- package/dist/app/assets/{mizar-BNQ6o-Bx.js → mizar-FWa_raHf.js} +1 -1
- package/dist/app/assets/{mongodb-lpxH5Xg9.js → mongodb-DD8_dDht.js} +1 -1
- package/dist/app/assets/{monkey-Bba_gZQn.js → monkey-Dt0m2Zb5.js} +1 -1
- package/dist/app/assets/{moonscript-DWR-S8NH.js → moonscript-BoXc6FQi.js} +1 -1
- package/dist/app/assets/{n1ql-ChFtbfC1.js → n1ql-CrirIwOq.js} +1 -1
- package/dist/app/assets/{n4js-ubMYO9Op.js → n4js-BGjyzq1k.js} +1 -1
- package/dist/app/assets/{nand2tetris-hdl-BMx7J0Cm.js → nand2tetris-hdl-BI4CKoYd.js} +1 -1
- package/dist/app/assets/{naniscript-B94tammc.js → naniscript-7GbIvKW8.js} +1 -1
- package/dist/app/assets/{nasm-Bw4v9N74.js → nasm-DrYMlX0m.js} +1 -1
- package/dist/app/assets/{neon-BPjulnW3.js → neon-CC_AE4_j.js} +1 -1
- package/dist/app/assets/{nevod-BLFD8Hth.js → nevod-C5zbhlet.js} +1 -1
- package/dist/app/assets/{nginx-NgR-A9p9.js → nginx-COnP5veC.js} +1 -1
- package/dist/app/assets/{nim-2UMsJk0h.js → nim-Bimev9j5.js} +1 -1
- package/dist/app/assets/{nix-DzhMPUNa.js → nix-Bkpogm6s.js} +1 -1
- package/dist/app/assets/{nsis-D5JKfUzv.js → nsis-CWWvCzwV.js} +1 -1
- package/dist/app/assets/{objectivec-BFcK3aFm.js → objectivec-CI9F-hmE.js} +1 -1
- package/dist/app/assets/{ocaml-cs-S8ytT.js → ocaml-CfTpJ0jq.js} +1 -1
- package/dist/app/assets/{opencl-BR0vmM-J.js → opencl-B05YiLIb.js} +1 -1
- package/dist/app/assets/{openqasm-DjYO7UoV.js → openqasm-CsAV_7C1.js} +1 -1
- package/dist/app/assets/{oz-vHrTzEJX.js → oz-BHiLYYl_.js} +1 -1
- package/dist/app/assets/{parigp-Br7qKWCs.js → parigp-6QUmmFTv.js} +1 -1
- package/dist/app/assets/{parser-DhDTWFrT.js → parser-Mdqtx5i0.js} +1 -1
- package/dist/app/assets/{pascal-kENE5zmU.js → pascal-DZgkOKaZ.js} +1 -1
- package/dist/app/assets/{pascaligo-BAPxnaBd.js → pascaligo-BrdsXPa7.js} +1 -1
- package/dist/app/assets/{pcaxis-BA1b4CIO.js → pcaxis-Ct6yTXHn.js} +1 -1
- package/dist/app/assets/{peoplecode-p7XS_-Wa.js → peoplecode-BQleLytH.js} +1 -1
- package/dist/app/assets/{perl-D5mJsCLY.js → perl-DGPr--KX.js} +1 -1
- package/dist/app/assets/{php-DUBpHLia.js → php-BZdELfRg.js} +1 -1
- package/dist/app/assets/{php-extras-BWnVpw6t.js → php-extras-DRUygll3.js} +1 -1
- package/dist/app/assets/{phpdoc-DM85q7ja.js → phpdoc-BWPaQ5aL.js} +1 -1
- package/dist/app/assets/{pieDiagram-DEJITSTG-Dg7k6vMC.js → pieDiagram-DEJITSTG-GnisibOc.js} +1 -1
- package/dist/app/assets/{plsql-CcON0sDP.js → plsql-B-axWEnd.js} +1 -1
- package/dist/app/assets/{powerquery-w3urf2s7.js → powerquery-DBu_nYIE.js} +1 -1
- package/dist/app/assets/{powershell-RBZ_T_y0.js → powershell-Kyg_XGYJ.js} +1 -1
- package/dist/app/assets/{processing-CE_dP2y5.js → processing-BCH64X2E.js} +1 -1
- package/dist/app/assets/{prolog-CCjdx3vK.js → prolog-BwsJzSpU.js} +1 -1
- package/dist/app/assets/{promql-DF2l993Q.js → promql-BD6SCtxu.js} +1 -1
- package/dist/app/assets/{properties-Dz9yMKdu.js → properties-CjLcIGgH.js} +1 -1
- package/dist/app/assets/{protobuf-DpCG-FTC.js → protobuf-DHl_TDp-.js} +1 -1
- package/dist/app/assets/{psl-DiIv5-zc.js → psl-BX8f_5Fm.js} +1 -1
- package/dist/app/assets/{pug-CBSV-T7k.js → pug-DkC8-gpH.js} +1 -1
- package/dist/app/assets/{puppet-CoJZxRyQ.js → puppet-BxCjGLCs.js} +1 -1
- package/dist/app/assets/{pure-DDJg8__Y.js → pure-YXSvr1oq.js} +1 -1
- package/dist/app/assets/{purebasic-Do52PcJ6.js → purebasic-BtANC5US.js} +1 -1
- package/dist/app/assets/{purescript-CseI23J6.js → purescript-BRmYew9s.js} +1 -1
- package/dist/app/assets/{q-CQ0Fi_W7.js → q-qMeVKej2.js} +1 -1
- package/dist/app/assets/{qml-tusJIup1.js → qml-CzQ0_17a.js} +1 -1
- package/dist/app/assets/{qore-BtvvaJR_.js → qore-DwKsIUAf.js} +1 -1
- package/dist/app/assets/{qsharp-BfVEvXBF.js → qsharp-Dzv2ddoV.js} +1 -1
- package/dist/app/assets/{quadrantDiagram-34T5L4WZ-eEHJOsLr.js → quadrantDiagram-34T5L4WZ-Ccz5qvcS.js} +1 -1
- package/dist/app/assets/{r-CFBNVcXJ.js → r-YY0rX2Fg.js} +1 -1
- package/dist/app/assets/{racket-CvgNN1WQ.js → racket-DQ-iUkE5.js} +1 -1
- package/dist/app/assets/{reason-CUswFuTE.js → reason-Cjhe8Z_n.js} +1 -1
- package/dist/app/assets/{regex-DnbwmfQN.js → regex-D6o05mSl.js} +1 -1
- package/dist/app/assets/{rego-DpVCunB6.js → rego-g70BDcHY.js} +1 -1
- package/dist/app/assets/{renpy-B0lK40hX.js → renpy-BaQZldp-.js} +1 -1
- package/dist/app/assets/{requirementDiagram-MS252O5E-CoedzQM0.js → requirementDiagram-MS252O5E-CPa1ce3e.js} +1 -1
- package/dist/app/assets/{rest-tHxDA5UT.js → rest-5qmWToDM.js} +1 -1
- package/dist/app/assets/{rip-DHl6JkL5.js → rip-ZEEk2fEL.js} +1 -1
- package/dist/app/assets/{roboconf-BUo2Guju.js → roboconf-BtgyXJKu.js} +1 -1
- package/dist/app/assets/{robotframework-k6_Fb56G.js → robotframework-BOYxsKuq.js} +1 -1
- package/dist/app/assets/{ruby-CLb5Fz0R.js → ruby-Ct3dhEle.js} +1 -1
- package/dist/app/assets/{rust-BXLrPbwf.js → rust-CQMSZOQW.js} +1 -1
- package/dist/app/assets/{sankeyDiagram-XADWPNL6-CqaF9kZ3.js → sankeyDiagram-XADWPNL6-ATErDvu1.js} +1 -1
- package/dist/app/assets/{sas-Bpgnp1ig.js → sas-DCf9MLvQ.js} +1 -1
- package/dist/app/assets/{sass-Cgz-UsH3.js → sass-DVA9OI0k.js} +1 -1
- package/dist/app/assets/{scala-Dmm3REVa.js → scala-BfZyHW5h.js} +1 -1
- package/dist/app/assets/{scheme-CQmKio0N.js → scheme-CwMuNF1M.js} +1 -1
- package/dist/app/assets/{scss-BLP0nDvE.js → scss-CJdhLSZp.js} +1 -1
- package/dist/app/assets/{sequenceDiagram-FGHM5R23-B5MJ9gfZ.js → sequenceDiagram-FGHM5R23-BkbO0Scj.js} +1 -1
- package/dist/app/assets/{shell-session-BWkQN5bW.js → shell-session-vHTgPhiW.js} +1 -1
- package/dist/app/assets/{smali-DP-sUoIm.js → smali-B5RIaXX6.js} +1 -1
- package/dist/app/assets/{smalltalk-j0aPXd7c.js → smalltalk-DdCjaJpb.js} +1 -1
- package/dist/app/assets/{smarty-DP8LPkcc.js → smarty-C03Borcw.js} +1 -1
- package/dist/app/assets/{sml-Cu-zdNr3.js → sml-AOXYXMyG.js} +1 -1
- package/dist/app/assets/{solidity-Xjl7eHDy.js → solidity-BUfMc4bt.js} +1 -1
- package/dist/app/assets/{solution-file-BNt1IPOz.js → solution-file-D2fkraeh.js} +1 -1
- package/dist/app/assets/{soy-DyX2-Hmb.js → soy-CCe9Oz9Z.js} +1 -1
- package/dist/app/assets/{sparql-7i1KmBR3.js → sparql-r2A9npIs.js} +1 -1
- package/dist/app/assets/{splunk-spl-CO-w6uHT.js → splunk-spl-BLJ7LIMc.js} +1 -1
- package/dist/app/assets/{sqf-fZNyI68i.js → sqf-CF9U0BVS.js} +1 -1
- package/dist/app/assets/{sql-CLyoIc_c.js → sql-ByRrR3JK.js} +1 -1
- package/dist/app/assets/{squirrel-DrAMhT71.js → squirrel-ibnqUhbv.js} +1 -1
- package/dist/app/assets/{stan-BypwYcFh.js → stan-shDBkVpE.js} +1 -1
- package/dist/app/assets/{stateDiagram-FHFEXIEX-oJFgiWhq.js → stateDiagram-FHFEXIEX-DsBVqEQ8.js} +1 -1
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-DwNISjCA.js +1 -0
- package/dist/app/assets/{stylus-BidBaX29.js → stylus-x9BPU4fj.js} +1 -1
- package/dist/app/assets/{swift-Bn0pagVh.js → swift-CeApZvIL.js} +1 -1
- package/dist/app/assets/{systemd-CZ1o-JQg.js → systemd-CHwYAy8N.js} +1 -1
- package/dist/app/assets/{t4-cs-Bkh2kv5Q.js → t4-cs-7t9W6Xyg.js} +1 -1
- package/dist/app/assets/{t4-templating-8Qw7j-Xz.js → t4-templating-DAsen3Wi.js} +1 -1
- package/dist/app/assets/{t4-vb-C60BV6kL.js → t4-vb-zh9Spwor.js} +1 -1
- package/dist/app/assets/{tap-D822RxOA.js → tap-CKplrrNi.js} +1 -1
- package/dist/app/assets/{tcl-C2D2mZvS.js → tcl-CCgbmbOw.js} +1 -1
- package/dist/app/assets/{textile-CI5t3Qqr.js → textile-04XOhOjd.js} +1 -1
- package/dist/app/assets/{timeline-definition-GMOUNBTQ-SDBaeRi8.js → timeline-definition-GMOUNBTQ-BwHfdHIv.js} +1 -1
- package/dist/app/assets/{toml-B_Eg4X8A.js → toml-BGmTZBPA.js} +1 -1
- package/dist/app/assets/{tremor-CHIIVOuv.js → tremor-B8872n6v.js} +1 -1
- package/dist/app/assets/{tt2-BYHSEepO.js → tt2-aZiGOlKK.js} +1 -1
- package/dist/app/assets/{turtle-Dt6tpQUG.js → turtle-BSNUwacz.js} +1 -1
- package/dist/app/assets/{twig-_HFRCYxa.js → twig-ptdE7Q2Z.js} +1 -1
- package/dist/app/assets/{typescript-BnPtnkdK.js → typescript-Khd69_WJ.js} +1 -1
- package/dist/app/assets/{typoscript-C7j6S0bP.js → typoscript-CfYT1lKW.js} +1 -1
- package/dist/app/assets/{unrealscript-CZlqMla5.js → unrealscript-JRtn5WV4.js} +1 -1
- package/dist/app/assets/{uorazor-Csue52-p.js → uorazor-CaNt3nj0.js} +1 -1
- package/dist/app/assets/{uri-BiN1ta3O.js → uri-DF_akl0r.js} +1 -1
- package/dist/app/assets/{v-BtfXUB0f.js → v-GxHLGbau.js} +1 -1
- package/dist/app/assets/{vala-CE2F_wJv.js → vala-BbqXQP8w.js} +1 -1
- package/dist/app/assets/{vbnet-BU5QIJlD.js → vbnet-CnRrKN7C.js} +1 -1
- package/dist/app/assets/{velocity-CmWxHoQq.js → velocity-DlBz1165.js} +1 -1
- package/dist/app/assets/{vennDiagram-DHZGUBPP-C9fT-XZa.js → vennDiagram-DHZGUBPP-BkTv9Hp8.js} +1 -1
- package/dist/app/assets/{verilog-ls1aPPY9.js → verilog-TMYqM5LN.js} +1 -1
- package/dist/app/assets/{vhdl-Bu0bjyCA.js → vhdl-9KK9QW2R.js} +1 -1
- package/dist/app/assets/{vim-BJl0TEm7.js → vim-D8mr58we.js} +1 -1
- package/dist/app/assets/{visual-basic-BrKILmGh.js → visual-basic-CtbJ6635.js} +1 -1
- package/dist/app/assets/{wardley-RL74JXVD-DvBkFeP9.js → wardley-RL74JXVD-Q0QjweO3.js} +1 -1
- package/dist/app/assets/{wardleyDiagram-NUSXRM2D-Bv8biw-m.js → wardleyDiagram-NUSXRM2D-tMIiAqRy.js} +1 -1
- package/dist/app/assets/{warpscript-L4xE7joB.js → warpscript-DQVy2Tvj.js} +1 -1
- package/dist/app/assets/{wasm-sBd3DoVe.js → wasm-BV-fD8Xt.js} +1 -1
- package/dist/app/assets/{web-idl-N21KHGKr.js → web-idl-BDAJ8-I9.js} +1 -1
- package/dist/app/assets/{wiki-Cch7G73V.js → wiki-B2QtmzwE.js} +1 -1
- package/dist/app/assets/{wolfram-TjVuyqlD.js → wolfram-DjIjB5dd.js} +1 -1
- package/dist/app/assets/{wren-DTY3PAiS.js → wren-DIVMYwvI.js} +1 -1
- package/dist/app/assets/{xeora-C4v3g3wC.js → xeora-MKFHkr6j.js} +1 -1
- package/dist/app/assets/{xml-doc-auzoR3BG.js → xml-doc-Q7xM1lOj.js} +1 -1
- package/dist/app/assets/{xojo-DybgyESv.js → xojo-Dt1zgTjo.js} +1 -1
- package/dist/app/assets/{xquery-UwgeP1gv.js → xquery-DJieRY_f.js} +1 -1
- package/dist/app/assets/{xychartDiagram-5P7HB3ND-Cv9o5KMB.js → xychartDiagram-5P7HB3ND-sb3QOqo6.js} +1 -1
- package/dist/app/assets/{yaml-BU5qIDxs.js → yaml-BSxLpBjL.js} +1 -1
- package/dist/app/assets/{yang-vmPGVjAI.js → yang-G_xeq_R4.js} +1 -1
- package/dist/app/assets/{zig-Cxu7_0qW.js → zig-CpabVzlr.js} +1 -1
- package/dist/app/index.html +2 -2
- package/dist/index.cjs +190 -94
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +203 -116
- package/package.json +2 -2
- package/dist/app/assets/channel-ZWsVuMuK.js +0 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-lDdKGvxc.js +0 -1
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-lDdKGvxc.js +0 -1
- package/dist/app/assets/clone-CS3cnCuu.js +0 -1
- package/dist/app/assets/index-LG2WR4hb.css +0 -1
- package/dist/app/assets/index-_eY4MICm.js +0 -785
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-Dyl4RScY.js +0 -1
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
FileText as FileText5,
|
|
7
7
|
ImageIcon as ImageIcon2,
|
|
8
8
|
Loader2 as Loader212,
|
|
9
|
+
MessageSquarePlus,
|
|
9
10
|
Minus,
|
|
10
11
|
Pause,
|
|
11
12
|
Pencil as Pencil4,
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
Settings as Settings2,
|
|
15
16
|
Target as Target3,
|
|
16
17
|
Trash2 as Trash23,
|
|
17
|
-
X as
|
|
18
|
+
X as X9
|
|
18
19
|
} from "lucide-react";
|
|
19
20
|
import { CHATKIT_TASK_SUMMARY_OPEN_RESOURCE_EFFECT } from "@xpert-ai/chatkit-types";
|
|
20
21
|
|
|
@@ -2154,6 +2155,17 @@ var en_US_default = {
|
|
|
2154
2155
|
entryUnavailable: "Remote view content is unavailable.",
|
|
2155
2156
|
missingAssistant: "An assistant is required to load views.",
|
|
2156
2157
|
retry: "Retry",
|
|
2158
|
+
sideChat: {
|
|
2159
|
+
title: "Side chat",
|
|
2160
|
+
threadRequired: "Start a conversation before opening a side chat.",
|
|
2161
|
+
closeDialog: {
|
|
2162
|
+
title: "Close side chat?",
|
|
2163
|
+
description: "This side chat will be removed from the current workbench and cannot be restored on this page. Its conversation data will be retained.",
|
|
2164
|
+
dontAskAgain: "Don't ask again",
|
|
2165
|
+
cancel: "Cancel",
|
|
2166
|
+
confirm: "Close side chat"
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2157
2169
|
errors: {
|
|
2158
2170
|
contextKeyRequired: "Context key is required.",
|
|
2159
2171
|
messageRequired: "Message text is required.",
|
|
@@ -2329,6 +2341,7 @@ var en_US_default = {
|
|
|
2329
2341
|
disablePlanMode: "Turn off plan mode",
|
|
2330
2342
|
removeReference: "Remove reference",
|
|
2331
2343
|
quoteSelection: "Quote selection",
|
|
2344
|
+
askInSideChat: "Ask in side chat",
|
|
2332
2345
|
requestUserInput: {
|
|
2333
2346
|
title: "Input requested",
|
|
2334
2347
|
recommended: "Recommended",
|
|
@@ -2654,6 +2667,17 @@ var zh_CN_default = {
|
|
|
2654
2667
|
entryUnavailable: "\u8FDC\u7A0B\u89C6\u56FE\u5185\u5BB9\u4E0D\u53EF\u7528\u3002",
|
|
2655
2668
|
missingAssistant: "\u9700\u8981 Assistant \u624D\u80FD\u52A0\u8F7D\u89C6\u56FE\u3002",
|
|
2656
2669
|
retry: "\u91CD\u8BD5",
|
|
2670
|
+
sideChat: {
|
|
2671
|
+
title: "\u4FA7\u8FB9\u804A\u5929",
|
|
2672
|
+
threadRequired: "\u8BF7\u5148\u5F00\u59CB\u4E3B\u5BF9\u8BDD\uFF0C\u518D\u6253\u5F00\u4FA7\u8FB9\u804A\u5929\u3002",
|
|
2673
|
+
closeDialog: {
|
|
2674
|
+
title: "\u5173\u95ED\u4FA7\u8FB9\u804A\u5929\uFF1F",
|
|
2675
|
+
description: "\u5173\u95ED\u540E\uFF0C\u6B64\u4FA7\u8FB9\u804A\u5929\u5C06\u4ECE\u5F53\u524D\u5DE5\u4F5C\u53F0\u79FB\u9664\uFF0C\u5F53\u524D\u9875\u9762\u65E0\u6CD5\u6062\u590D\uFF1B\u5BF9\u8BDD\u6570\u636E\u4ECD\u4F1A\u4FDD\u7559\u3002",
|
|
2676
|
+
dontAskAgain: "\u4E0D\u518D\u8BE2\u95EE",
|
|
2677
|
+
cancel: "\u53D6\u6D88",
|
|
2678
|
+
confirm: "\u5173\u95ED\u4FA7\u8FB9\u804A\u5929"
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2657
2681
|
errors: {
|
|
2658
2682
|
contextKeyRequired: "\u5FC5\u987B\u63D0\u4F9B\u4E0A\u4E0B\u6587\u952E\u3002",
|
|
2659
2683
|
messageRequired: "\u5FC5\u987B\u63D0\u4F9B\u6D88\u606F\u5185\u5BB9\u3002",
|
|
@@ -2829,6 +2853,7 @@ var zh_CN_default = {
|
|
|
2829
2853
|
disablePlanMode: "\u5173\u95ED\u8BA1\u5212\u6A21\u5F0F",
|
|
2830
2854
|
removeReference: "\u79FB\u9664\u5F15\u7528",
|
|
2831
2855
|
quoteSelection: "\u5F15\u7528\u9009\u4E2D\u5185\u5BB9",
|
|
2856
|
+
askInSideChat: "\u5728\u4FA7\u8FB9\u804A\u5929\u4E2D\u63D0\u95EE",
|
|
2832
2857
|
requestUserInput: {
|
|
2833
2858
|
title: "\u9700\u8981\u4F60\u7684\u8F93\u5165",
|
|
2834
2859
|
recommended: "\u63A8\u8350",
|
|
@@ -4981,6 +5006,7 @@ function SheetOverlay({
|
|
|
4981
5006
|
function SheetContent({
|
|
4982
5007
|
side = "right",
|
|
4983
5008
|
showCloseButton = true,
|
|
5009
|
+
forceMount,
|
|
4984
5010
|
className,
|
|
4985
5011
|
children,
|
|
4986
5012
|
...props
|
|
@@ -4992,11 +5018,18 @@ function SheetContent({
|
|
|
4992
5018
|
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
4993
5019
|
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
4994
5020
|
};
|
|
4995
|
-
return /* @__PURE__ */ jsxs8(SheetPortal, { children: [
|
|
4996
|
-
/* @__PURE__ */ jsx15(
|
|
5021
|
+
return /* @__PURE__ */ jsxs8(SheetPortal, { forceMount, children: [
|
|
5022
|
+
/* @__PURE__ */ jsx15(
|
|
5023
|
+
SheetOverlay,
|
|
5024
|
+
{
|
|
5025
|
+
forceMount,
|
|
5026
|
+
className: forceMount ? "data-[state=closed]:hidden" : void 0
|
|
5027
|
+
}
|
|
5028
|
+
),
|
|
4997
5029
|
/* @__PURE__ */ jsxs8(
|
|
4998
5030
|
SheetPrimitive.Content,
|
|
4999
5031
|
{
|
|
5032
|
+
forceMount,
|
|
5000
5033
|
className: cn(
|
|
5001
5034
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
5002
5035
|
sideVariants[side],
|
|
@@ -11040,7 +11073,7 @@ function AgentRunGroup({
|
|
|
11040
11073
|
].filter(
|
|
11041
11074
|
(item) => Boolean(item)
|
|
11042
11075
|
);
|
|
11043
|
-
return /* @__PURE__ */ jsxs21("div", { className: cn("border
|
|
11076
|
+
return /* @__PURE__ */ jsxs21("div", { className: cn("border border-border/70 pl-2 rounded-lg", depth > 0 ? "ml-1" : "-mx-2.5"), children: [
|
|
11044
11077
|
/* @__PURE__ */ jsxs21(
|
|
11045
11078
|
"button",
|
|
11046
11079
|
{
|
|
@@ -16155,7 +16188,7 @@ var sortThreadRecords = (threadRecords) => {
|
|
|
16155
16188
|
return (Number.isNaN(bTime) ? 0 : bTime) - (Number.isNaN(aTime) ? 0 : aTime);
|
|
16156
16189
|
});
|
|
16157
16190
|
};
|
|
16158
|
-
function useThreads(limit = DEFAULT_LIMIT) {
|
|
16191
|
+
function useThreads(limit = DEFAULT_LIMIT, enabled = true) {
|
|
16159
16192
|
const {
|
|
16160
16193
|
client,
|
|
16161
16194
|
threadId,
|
|
@@ -16175,6 +16208,7 @@ function useThreads(limit = DEFAULT_LIMIT) {
|
|
|
16175
16208
|
});
|
|
16176
16209
|
}, []);
|
|
16177
16210
|
const refreshThreads = React42.useCallback(async () => {
|
|
16211
|
+
if (!enabled) return;
|
|
16178
16212
|
setIsLoading(true);
|
|
16179
16213
|
setError(null);
|
|
16180
16214
|
try {
|
|
@@ -16189,7 +16223,7 @@ function useThreads(limit = DEFAULT_LIMIT) {
|
|
|
16189
16223
|
} finally {
|
|
16190
16224
|
setIsLoading(false);
|
|
16191
16225
|
}
|
|
16192
|
-
}, [client, limit, assistantId, projectId]);
|
|
16226
|
+
}, [client, enabled, limit, assistantId, projectId]);
|
|
16193
16227
|
const createThread = React42.useCallback(
|
|
16194
16228
|
async (input) => {
|
|
16195
16229
|
setError(null);
|
|
@@ -16225,9 +16259,9 @@ function useThreads(limit = DEFAULT_LIMIT) {
|
|
|
16225
16259
|
[client]
|
|
16226
16260
|
);
|
|
16227
16261
|
React42.useEffect(() => {
|
|
16228
|
-
if (!isReady) return;
|
|
16262
|
+
if (!enabled || !isReady) return;
|
|
16229
16263
|
void refreshThreads();
|
|
16230
|
-
}, [refreshThreads, isReady]);
|
|
16264
|
+
}, [enabled, refreshThreads, isReady]);
|
|
16231
16265
|
React42.useEffect(() => {
|
|
16232
16266
|
if (!threadId || !isStreamLoading) return;
|
|
16233
16267
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -17995,27 +18029,18 @@ function findDomPointForComposerOffset(root, offset) {
|
|
|
17995
18029
|
return result ?? { node: lastNode, offset: lastOffset };
|
|
17996
18030
|
}
|
|
17997
18031
|
|
|
17998
|
-
// src/workbench/
|
|
18032
|
+
// src/workbench/context.tsx
|
|
17999
18033
|
import * as React52 from "react";
|
|
18000
|
-
import {
|
|
18001
|
-
|
|
18002
|
-
ASSISTANT_CONTEXT_SET_COMMAND
|
|
18003
|
-
} from "@xpert-ai/xpert-sdk";
|
|
18004
|
-
import {
|
|
18005
|
-
Loader2 as Loader210,
|
|
18006
|
-
Maximize2 as Maximize22,
|
|
18007
|
-
Minimize2 as Minimize22,
|
|
18008
|
-
PanelRight,
|
|
18009
|
-
RotateCcw,
|
|
18010
|
-
X as X8
|
|
18011
|
-
} from "lucide-react";
|
|
18012
|
-
import { Fragment as Fragment10, jsx as jsx57, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
18034
|
+
import { Loader2 as Loader210, PanelRight } from "lucide-react";
|
|
18035
|
+
import { jsx as jsx57, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
18013
18036
|
var WorkbenchContext = React52.createContext({
|
|
18014
18037
|
enabled: false,
|
|
18015
18038
|
open: false,
|
|
18016
18039
|
loading: false,
|
|
18017
18040
|
available: false,
|
|
18018
|
-
toggle: () => void 0
|
|
18041
|
+
toggle: () => void 0,
|
|
18042
|
+
sideChatEnabled: false,
|
|
18043
|
+
askInSideChat: async () => void 0
|
|
18019
18044
|
});
|
|
18020
18045
|
function useWorkbench() {
|
|
18021
18046
|
return React52.useContext(WorkbenchContext);
|
|
@@ -18049,7 +18074,7 @@ function WorkbenchToggleButton() {
|
|
|
18049
18074
|
|
|
18050
18075
|
// src/components/chat/runtime-capabilities.tsx
|
|
18051
18076
|
import * as React53 from "react";
|
|
18052
|
-
import { X as
|
|
18077
|
+
import { X as X8 } from "lucide-react";
|
|
18053
18078
|
import { jsx as jsx58, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
18054
18079
|
function createComposerCapabilityInsertionParts(options) {
|
|
18055
18080
|
return options.flatMap((option) => [
|
|
@@ -18655,7 +18680,7 @@ function DetachedRunRuntimeCapabilities({
|
|
|
18655
18680
|
className: "rounded-full p-0.5 hover:bg-primary/15",
|
|
18656
18681
|
title: removeLabel,
|
|
18657
18682
|
"aria-label": removeLabel,
|
|
18658
|
-
children: /* @__PURE__ */ jsx58(
|
|
18683
|
+
children: /* @__PURE__ */ jsx58(X8, { size: 11 })
|
|
18659
18684
|
}
|
|
18660
18685
|
)
|
|
18661
18686
|
]
|
|
@@ -19067,7 +19092,7 @@ import {
|
|
|
19067
19092
|
ListChecks as ListChecks3,
|
|
19068
19093
|
Loader2 as Loader211,
|
|
19069
19094
|
PlayCircle,
|
|
19070
|
-
RotateCcw
|
|
19095
|
+
RotateCcw,
|
|
19071
19096
|
Target as Target2
|
|
19072
19097
|
} from "lucide-react";
|
|
19073
19098
|
import { jsx as jsx59, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
@@ -19211,7 +19236,7 @@ function TaskSummaryContent({
|
|
|
19211
19236
|
className: "inline-flex shrink-0 items-center gap-1 font-medium hover:underline",
|
|
19212
19237
|
onClick: onRetryHistory,
|
|
19213
19238
|
children: [
|
|
19214
|
-
/* @__PURE__ */ jsx59(
|
|
19239
|
+
/* @__PURE__ */ jsx59(RotateCcw, { className: "size-3" }),
|
|
19215
19240
|
t("taskSummary.retry")
|
|
19216
19241
|
]
|
|
19217
19242
|
}
|
|
@@ -19385,7 +19410,7 @@ function formatElapsed(value) {
|
|
|
19385
19410
|
}
|
|
19386
19411
|
|
|
19387
19412
|
// src/components/chat.tsx
|
|
19388
|
-
import { Fragment as
|
|
19413
|
+
import { Fragment as Fragment11, jsx as jsx60, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
19389
19414
|
var defaultApiUrl2 = import.meta.env.VITE_XPERTAI_API_URL;
|
|
19390
19415
|
var COMPOSER_INPUT_MAX_HEIGHT = 128;
|
|
19391
19416
|
var LONG_TEXT_REFERENCE_THRESHOLD = 5e3;
|
|
@@ -19544,7 +19569,7 @@ function ReferenceChip({
|
|
|
19544
19569
|
),
|
|
19545
19570
|
title: removeLabel,
|
|
19546
19571
|
"aria-label": removeLabel,
|
|
19547
|
-
children: /* @__PURE__ */ jsx60(
|
|
19572
|
+
children: /* @__PURE__ */ jsx60(X9, { size: 12 })
|
|
19548
19573
|
}
|
|
19549
19574
|
)
|
|
19550
19575
|
]
|
|
@@ -19557,7 +19582,9 @@ function Chat({
|
|
|
19557
19582
|
title,
|
|
19558
19583
|
placeholder,
|
|
19559
19584
|
clientSecret = "",
|
|
19560
|
-
isClientSecretInitializing = false
|
|
19585
|
+
isClientSecretInitializing = false,
|
|
19586
|
+
surface = "main",
|
|
19587
|
+
referenceRequest
|
|
19561
19588
|
}) {
|
|
19562
19589
|
const { t, i18n: i18n2 } = useChatkitTranslation();
|
|
19563
19590
|
const composer = options?.composer;
|
|
@@ -19568,6 +19595,7 @@ function Chat({
|
|
|
19568
19595
|
const messageNavigationEnabled = options?.messageNavigation?.enabled !== false;
|
|
19569
19596
|
const { setStream } = useStreamManager();
|
|
19570
19597
|
const stream = useStreamContext();
|
|
19598
|
+
const workbench = useWorkbench();
|
|
19571
19599
|
const { theme } = useTheme();
|
|
19572
19600
|
const effectiveClientSecret = stream.apiKey?.trim() ? stream.apiKey : clientSecret;
|
|
19573
19601
|
const missingConfigKind = getMissingApiConfigurationKind({
|
|
@@ -19616,8 +19644,8 @@ function Chat({
|
|
|
19616
19644
|
const loadingStartTimeRef = React56.useRef(null);
|
|
19617
19645
|
const lastStreamOutputAtRef = React56.useRef(null);
|
|
19618
19646
|
React56.useEffect(() => {
|
|
19619
|
-
setStream(stream);
|
|
19620
|
-
}, [setStream, stream]);
|
|
19647
|
+
if (surface === "main") setStream(stream);
|
|
19648
|
+
}, [setStream, stream, surface]);
|
|
19621
19649
|
React56.useEffect(() => {
|
|
19622
19650
|
if (stream.isLoading) {
|
|
19623
19651
|
if (!loadingStartTimeRef.current) {
|
|
@@ -19692,6 +19720,8 @@ function Chat({
|
|
|
19692
19720
|
const [references, setReferences] = React56.useState([]);
|
|
19693
19721
|
const [isUploadingReferenceImages, setIsUploadingReferenceImages] = React56.useState(false);
|
|
19694
19722
|
const [quoteSelection, setQuoteSelection] = React56.useState(null);
|
|
19723
|
+
const [isOpeningSideChat, setIsOpeningSideChat] = React56.useState(false);
|
|
19724
|
+
const [sideChatError, setSideChatError] = React56.useState(null);
|
|
19695
19725
|
const [isAtBottom, setIsAtBottom] = React56.useState(true);
|
|
19696
19726
|
const [hasUpdatesBelow, setHasUpdatesBelow] = React56.useState(false);
|
|
19697
19727
|
const {
|
|
@@ -19699,7 +19729,7 @@ function Chat({
|
|
|
19699
19729
|
deleteThread,
|
|
19700
19730
|
refreshThreads,
|
|
19701
19731
|
isLoading: isThreadsLoading
|
|
19702
|
-
} = useThreads();
|
|
19732
|
+
} = useThreads(void 0, surface === "main" && history?.enabled !== false);
|
|
19703
19733
|
const viewportRef = React56.useRef(null);
|
|
19704
19734
|
const chatColumnRef = React56.useRef(null);
|
|
19705
19735
|
const messageNavigationAnchorsRef = React56.useRef(
|
|
@@ -19707,6 +19737,7 @@ function Chat({
|
|
|
19707
19737
|
);
|
|
19708
19738
|
const attachmentsRef = React56.useRef(null);
|
|
19709
19739
|
const composerInputRef = React56.useRef(null);
|
|
19740
|
+
const appliedReferenceRequestRef = React56.useRef(null);
|
|
19710
19741
|
const isComposerComposingRef = React56.useRef(false);
|
|
19711
19742
|
const slashPaletteRef = React56.useRef(null);
|
|
19712
19743
|
const slashPaletteOptionRefs = React56.useRef(
|
|
@@ -19867,15 +19898,16 @@ function Chat({
|
|
|
19867
19898
|
const hasPendingInteractiveRequest = hasPendingRequestUserInput || hasPendingHITLRequest;
|
|
19868
19899
|
const hasPendingTodos = Boolean(stream.todos?.items.length);
|
|
19869
19900
|
const goalAdapter = React56.useMemo(() => {
|
|
19901
|
+
if (surface !== "main") return null;
|
|
19870
19902
|
if (isGoalAdapter(options?.goal)) {
|
|
19871
19903
|
return options.goal;
|
|
19872
19904
|
}
|
|
19873
19905
|
return supportsXpertThreadGoalAdapter(stream.client) ? createXpertThreadGoalAdapter(stream.client) : null;
|
|
19874
|
-
}, [options?.goal, stream.client]);
|
|
19906
|
+
}, [options?.goal, stream.client, surface]);
|
|
19875
19907
|
const displayedGoalElapsedSeconds = threadGoal ? (threadGoal.elapsedSeconds ?? 0) + (goalElapsedStartedAt ? Math.max(0, Math.floor((streamingNow - goalElapsedStartedAt) / 1e3)) : 0) : 0;
|
|
19876
19908
|
const goalCommandAvailable = hasSelectedRuntimeSlashCommand(
|
|
19877
|
-
runtimeCapabilities,
|
|
19878
|
-
effectiveSessionRuntimeCapabilities,
|
|
19909
|
+
surface === "main" ? runtimeCapabilities : null,
|
|
19910
|
+
surface === "main" ? effectiveSessionRuntimeCapabilities : null,
|
|
19879
19911
|
"goal"
|
|
19880
19912
|
);
|
|
19881
19913
|
const showGoalStatus = goalCommandAvailable && !hasCompletedGoal && (Boolean(goalError) || threadGoal?.status === "active" && stream.isLoading);
|
|
@@ -19933,6 +19965,16 @@ function Chat({
|
|
|
19933
19965
|
setComposerSelectionOffset(input, nextPosition);
|
|
19934
19966
|
});
|
|
19935
19967
|
}, []);
|
|
19968
|
+
React56.useEffect(() => {
|
|
19969
|
+
if (!referenceRequest || appliedReferenceRequestRef.current === referenceRequest.id) {
|
|
19970
|
+
return;
|
|
19971
|
+
}
|
|
19972
|
+
appliedReferenceRequestRef.current = referenceRequest.id;
|
|
19973
|
+
setReferences(
|
|
19974
|
+
(previous) => mergeReferences(previous, [referenceRequest.reference])
|
|
19975
|
+
);
|
|
19976
|
+
requestAnimationFrame(() => composerInputRef.current?.focus());
|
|
19977
|
+
}, [referenceRequest]);
|
|
19936
19978
|
const {
|
|
19937
19979
|
applyComposerValueRuntimeCapabilities,
|
|
19938
19980
|
updateRuntimeCapabilityPalette,
|
|
@@ -19950,62 +19992,63 @@ function Chat({
|
|
|
19950
19992
|
commitComposerParts,
|
|
19951
19993
|
focusComposerAt
|
|
19952
19994
|
});
|
|
19953
|
-
const
|
|
19954
|
-
|
|
19955
|
-
(payload)
|
|
19956
|
-
|
|
19957
|
-
|
|
19958
|
-
|
|
19959
|
-
const
|
|
19960
|
-
|
|
19961
|
-
|
|
19962
|
-
}
|
|
19963
|
-
if (Array.isArray(payload.references)) {
|
|
19964
|
-
const nextReferences = normalizeReferences(payload.references);
|
|
19965
|
-
setReferences(
|
|
19966
|
-
(previous) => payload.appendReferences ? mergeReferences(previous, nextReferences) : nextReferences
|
|
19967
|
-
);
|
|
19968
|
-
}
|
|
19969
|
-
if (payload.selectedToolId !== void 0) {
|
|
19970
|
-
const nextTool = payload.selectedToolId === null ? null : (composer?.tools ?? []).find(
|
|
19971
|
-
(tool) => tool.id === payload.selectedToolId
|
|
19972
|
-
) ?? null;
|
|
19973
|
-
setSelectedTool(nextTool);
|
|
19974
|
-
}
|
|
19975
|
-
applyComposerValueRuntimeCapabilities(
|
|
19976
|
-
payload,
|
|
19977
|
-
shouldInsertRuntimeCapabilitiesBeforeText ? { insertAt: 0 } : void 0
|
|
19995
|
+
const handleSetComposerValue = React56.useCallback(
|
|
19996
|
+
(payload) => {
|
|
19997
|
+
if (!payload) return;
|
|
19998
|
+
const shouldInsertRuntimeCapabilitiesBeforeText = typeof payload.text === "string" && payload.insertRuntimeCapabilities === true;
|
|
19999
|
+
if (typeof payload.text === "string") setComposerText(payload.text);
|
|
20000
|
+
if (Array.isArray(payload.references)) {
|
|
20001
|
+
const nextReferences = normalizeReferences(payload.references);
|
|
20002
|
+
setReferences(
|
|
20003
|
+
(previous) => payload.appendReferences ? mergeReferences(previous, nextReferences) : nextReferences
|
|
19978
20004
|
);
|
|
19979
|
-
}
|
|
19980
|
-
|
|
19981
|
-
|
|
19982
|
-
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
}
|
|
19986
|
-
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19990
|
-
},
|
|
19991
|
-
|
|
19992
|
-
|
|
19993
|
-
|
|
19994
|
-
|
|
19995
|
-
|
|
19996
|
-
|
|
19997
|
-
|
|
19998
|
-
|
|
19999
|
-
|
|
20000
|
-
|
|
20001
|
-
|
|
20002
|
-
|
|
20003
|
-
|
|
20005
|
+
}
|
|
20006
|
+
if (payload.selectedToolId !== void 0) {
|
|
20007
|
+
const nextTool = payload.selectedToolId === null ? null : (composer?.tools ?? []).find(
|
|
20008
|
+
(tool) => tool.id === payload.selectedToolId
|
|
20009
|
+
) ?? null;
|
|
20010
|
+
setSelectedTool(nextTool);
|
|
20011
|
+
}
|
|
20012
|
+
applyComposerValueRuntimeCapabilities(
|
|
20013
|
+
payload,
|
|
20014
|
+
shouldInsertRuntimeCapabilitiesBeforeText ? { insertAt: 0 } : void 0
|
|
20015
|
+
);
|
|
20016
|
+
},
|
|
20017
|
+
[applyComposerValueRuntimeCapabilities, composer?.tools, setComposerText]
|
|
20018
|
+
);
|
|
20019
|
+
const handleSetRuntimeCapabilities = React56.useCallback(
|
|
20020
|
+
(selection) => {
|
|
20021
|
+
applyExternalRuntimeCapabilities(selection);
|
|
20022
|
+
},
|
|
20023
|
+
[applyExternalRuntimeCapabilities]
|
|
20024
|
+
);
|
|
20025
|
+
const handleFocusComposer = React56.useCallback(() => {
|
|
20026
|
+
composerInputRef.current?.focus();
|
|
20027
|
+
}, []);
|
|
20028
|
+
const handleSetPetEnabled = React56.useCallback(
|
|
20029
|
+
(enabled) => {
|
|
20030
|
+
if (petRequired) return;
|
|
20031
|
+
savePetLocalSettings({ ...displayedPetSettings, enabled });
|
|
20032
|
+
},
|
|
20033
|
+
[displayedPetSettings, petRequired, savePetLocalSettings]
|
|
20034
|
+
);
|
|
20035
|
+
const parentMessenger = useParentMessenger(
|
|
20036
|
+
surface === "main" ? {
|
|
20037
|
+
onSetComposerValue: handleSetComposerValue,
|
|
20038
|
+
onSetRuntimeCapabilities: handleSetRuntimeCapabilities,
|
|
20039
|
+
onFocusComposer: handleFocusComposer,
|
|
20040
|
+
onSetPetEnabled: handleSetPetEnabled
|
|
20041
|
+
} : {}
|
|
20042
|
+
);
|
|
20004
20043
|
const canMinimizeToPet = parentMessenger?.isParentAvailable === true && isPetEnabled(effectivePet);
|
|
20005
20044
|
const handleMinimizeToPet = React56.useCallback(() => {
|
|
20006
20045
|
parentMessenger?.sendEvent("chat_minimize_change", { minimized: true });
|
|
20007
20046
|
}, [parentMessenger]);
|
|
20008
20047
|
const syncQuoteSelection = React56.useCallback(() => {
|
|
20048
|
+
if (surface !== "main") {
|
|
20049
|
+
clearQuoteSelection();
|
|
20050
|
+
return;
|
|
20051
|
+
}
|
|
20009
20052
|
if (typeof window === "undefined") {
|
|
20010
20053
|
clearQuoteSelection();
|
|
20011
20054
|
return;
|
|
@@ -20049,7 +20092,7 @@ function Chat({
|
|
|
20049
20092
|
top,
|
|
20050
20093
|
left
|
|
20051
20094
|
});
|
|
20052
|
-
}, [clearQuoteSelection]);
|
|
20095
|
+
}, [clearQuoteSelection, surface]);
|
|
20053
20096
|
const cancelPendingAutoScroll = React56.useCallback(() => {
|
|
20054
20097
|
if (autoScrollFrameRef.current !== null) {
|
|
20055
20098
|
cancelAnimationFrame(autoScrollFrameRef.current);
|
|
@@ -20899,6 +20942,27 @@ function Chat({
|
|
|
20899
20942
|
}
|
|
20900
20943
|
composerInputRef.current?.focus();
|
|
20901
20944
|
}, [clearQuoteSelection, quoteSelection]);
|
|
20945
|
+
const handleAskInSideChat = React56.useCallback(async () => {
|
|
20946
|
+
if (!quoteSelection || !workbench.sideChatEnabled || !stream.threadId || stream.isLoading)
|
|
20947
|
+
return;
|
|
20948
|
+
setIsOpeningSideChat(true);
|
|
20949
|
+
setSideChatError(null);
|
|
20950
|
+
try {
|
|
20951
|
+
await workbench.askInSideChat(quoteSelection.reference);
|
|
20952
|
+
clearQuoteSelection();
|
|
20953
|
+
window.getSelection()?.removeAllRanges();
|
|
20954
|
+
} catch (error) {
|
|
20955
|
+
setSideChatError(error instanceof Error ? error.message : String(error));
|
|
20956
|
+
} finally {
|
|
20957
|
+
setIsOpeningSideChat(false);
|
|
20958
|
+
}
|
|
20959
|
+
}, [
|
|
20960
|
+
clearQuoteSelection,
|
|
20961
|
+
quoteSelection,
|
|
20962
|
+
stream.isLoading,
|
|
20963
|
+
stream.threadId,
|
|
20964
|
+
workbench
|
|
20965
|
+
]);
|
|
20902
20966
|
const handleAttachmentClick = () => {
|
|
20903
20967
|
attachmentsRef.current?.openFilePicker();
|
|
20904
20968
|
};
|
|
@@ -21153,7 +21217,7 @@ function Chat({
|
|
|
21153
21217
|
[focusComposerAt, isPromptEditDisabled, setComposerText]
|
|
21154
21218
|
);
|
|
21155
21219
|
const loadConversationMessages = React56.useCallback(
|
|
21156
|
-
async (recordId) => {
|
|
21220
|
+
async (recordId, threadId) => {
|
|
21157
21221
|
if (missingConfig) {
|
|
21158
21222
|
setHistoryError(missingConfigShortMessage);
|
|
21159
21223
|
return;
|
|
@@ -21161,7 +21225,7 @@ function Chat({
|
|
|
21161
21225
|
setHistoryError(null);
|
|
21162
21226
|
setIsHistoryLoading(true);
|
|
21163
21227
|
try {
|
|
21164
|
-
await stream.loadConversationMessages(recordId);
|
|
21228
|
+
await stream.loadConversationMessages(recordId, threadId);
|
|
21165
21229
|
} catch (err) {
|
|
21166
21230
|
console.warn("Failed to load thread messages", err);
|
|
21167
21231
|
setHistoryError(
|
|
@@ -21226,13 +21290,13 @@ function Chat({
|
|
|
21226
21290
|
if (!thread) return;
|
|
21227
21291
|
if (id === stream.threadId) {
|
|
21228
21292
|
if (thread.status === "interrupted" && thread.recordId && !stream.pendingHITLRequest) {
|
|
21229
|
-
void loadConversationMessages(thread.recordId);
|
|
21293
|
+
void loadConversationMessages(thread.recordId, thread.id);
|
|
21230
21294
|
}
|
|
21231
21295
|
return;
|
|
21232
21296
|
}
|
|
21233
21297
|
stream.reset(id, []);
|
|
21234
21298
|
if (thread.recordId) {
|
|
21235
|
-
void loadConversationMessages(thread.recordId);
|
|
21299
|
+
void loadConversationMessages(thread.recordId, thread.id);
|
|
21236
21300
|
}
|
|
21237
21301
|
};
|
|
21238
21302
|
const handleDeleteThread = (id) => {
|
|
@@ -21429,12 +21493,12 @@ function Chat({
|
|
|
21429
21493
|
className
|
|
21430
21494
|
),
|
|
21431
21495
|
children: [
|
|
21432
|
-
/* @__PURE__ */ jsxs42(
|
|
21496
|
+
surface === "main" && options?.header?.enabled !== false && /* @__PURE__ */ jsxs42(
|
|
21433
21497
|
"div",
|
|
21434
21498
|
{
|
|
21435
21499
|
ref: chatColumnRef,
|
|
21436
21500
|
"data-slot": "chatkit-chat-header",
|
|
21437
|
-
className: "mx-auto flex w-full items-center justify-between border-b
|
|
21501
|
+
className: "mx-auto flex w-full items-center justify-between border-b border-secondary px-2 py-1 sticky top-0 z-10 bg-background",
|
|
21438
21502
|
style: chatColumnStyle,
|
|
21439
21503
|
children: [
|
|
21440
21504
|
/* @__PURE__ */ jsxs42("div", { className: "flex min-w-0 items-center gap-3 overflow-hidden", children: [
|
|
@@ -21513,7 +21577,7 @@ function Chat({
|
|
|
21513
21577
|
) }) }),
|
|
21514
21578
|
/* @__PURE__ */ jsx60(TooltipContent, { side: "bottom", children: t("settings.open") })
|
|
21515
21579
|
] }),
|
|
21516
|
-
history?.enabled !== false && /* @__PURE__ */ jsxs42(
|
|
21580
|
+
history?.enabled !== false && /* @__PURE__ */ jsxs42(Fragment11, { children: [
|
|
21517
21581
|
/* @__PURE__ */ jsxs42(Tooltip, { children: [
|
|
21518
21582
|
/* @__PURE__ */ jsx60(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx60("span", { className: "inline-flex h-8 w-8", children: /* @__PURE__ */ jsx60(
|
|
21519
21583
|
"button",
|
|
@@ -21583,7 +21647,7 @@ function Chat({
|
|
|
21583
21647
|
promptSendDisabled: isSubmissionBlocked,
|
|
21584
21648
|
promptEditDisabled: isPromptEditDisabled
|
|
21585
21649
|
}
|
|
21586
|
-
) : /* @__PURE__ */ jsxs42("div", { className: "space-y-
|
|
21650
|
+
) : /* @__PURE__ */ jsxs42("div", { className: "space-y-1", children: [
|
|
21587
21651
|
canLoadMoreMessages && /* @__PURE__ */ jsxs42("div", { className: "flex items-center gap-3 py-1", children: [
|
|
21588
21652
|
/* @__PURE__ */ jsx60("div", { className: "h-px min-w-8 flex-1 bg-border" }),
|
|
21589
21653
|
/* @__PURE__ */ jsx60(
|
|
@@ -21693,7 +21757,7 @@ function Chat({
|
|
|
21693
21757
|
pet: effectivePet,
|
|
21694
21758
|
mcpApps: options?.mcpApps
|
|
21695
21759
|
}
|
|
21696
|
-
) : /* @__PURE__ */ jsxs42(
|
|
21760
|
+
) : /* @__PURE__ */ jsxs42(Fragment11, { children: [
|
|
21697
21761
|
message.type === "human" && humanRuntimeCapabilityOptions.length > 0 && /* @__PURE__ */ jsx60(
|
|
21698
21762
|
HumanRuntimeCapabilityChips,
|
|
21699
21763
|
{
|
|
@@ -21795,32 +21859,55 @@ function Chat({
|
|
|
21795
21859
|
children: /* @__PURE__ */ jsx60(ArrowDown2, { size: 16 })
|
|
21796
21860
|
}
|
|
21797
21861
|
) }),
|
|
21798
|
-
quoteSelection && /* @__PURE__ */
|
|
21862
|
+
quoteSelection && /* @__PURE__ */ jsxs42(
|
|
21799
21863
|
"div",
|
|
21800
21864
|
{
|
|
21801
|
-
className: "pointer-events-none fixed z-50",
|
|
21865
|
+
className: "pointer-events-none fixed z-50 flex flex-col items-center gap-1",
|
|
21802
21866
|
style: {
|
|
21803
21867
|
top: `${quoteSelection.top}px`,
|
|
21804
21868
|
left: `${quoteSelection.left}px`,
|
|
21805
21869
|
transform: "translateX(-50%)"
|
|
21806
21870
|
},
|
|
21807
|
-
children:
|
|
21808
|
-
|
|
21809
|
-
|
|
21810
|
-
|
|
21811
|
-
|
|
21812
|
-
|
|
21813
|
-
|
|
21814
|
-
|
|
21815
|
-
|
|
21816
|
-
|
|
21817
|
-
|
|
21818
|
-
|
|
21819
|
-
|
|
21820
|
-
|
|
21821
|
-
|
|
21822
|
-
|
|
21823
|
-
|
|
21871
|
+
children: [
|
|
21872
|
+
/* @__PURE__ */ jsxs42("div", { className: "pointer-events-auto flex overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg", children: [
|
|
21873
|
+
/* @__PURE__ */ jsxs42(
|
|
21874
|
+
Button,
|
|
21875
|
+
{
|
|
21876
|
+
type: "button",
|
|
21877
|
+
size: "sm",
|
|
21878
|
+
variant: "ghost",
|
|
21879
|
+
className: "rounded-none border-r",
|
|
21880
|
+
onMouseDown: (event) => event.preventDefault(),
|
|
21881
|
+
onClick: handleQuoteSelection,
|
|
21882
|
+
"aria-label": t("composer.quoteSelection"),
|
|
21883
|
+
title: t("composer.quoteSelection"),
|
|
21884
|
+
children: [
|
|
21885
|
+
/* @__PURE__ */ jsx60(Quote, { size: 14 }),
|
|
21886
|
+
t("composer.quoteSelection")
|
|
21887
|
+
]
|
|
21888
|
+
}
|
|
21889
|
+
),
|
|
21890
|
+
workbench.sideChatEnabled && /* @__PURE__ */ jsxs42(
|
|
21891
|
+
Button,
|
|
21892
|
+
{
|
|
21893
|
+
type: "button",
|
|
21894
|
+
size: "sm",
|
|
21895
|
+
variant: "ghost",
|
|
21896
|
+
className: "rounded-none",
|
|
21897
|
+
disabled: isOpeningSideChat || stream.isLoading || !stream.threadId,
|
|
21898
|
+
onMouseDown: (event) => event.preventDefault(),
|
|
21899
|
+
onClick: () => void handleAskInSideChat(),
|
|
21900
|
+
"aria-label": t("composer.askInSideChat"),
|
|
21901
|
+
title: t("composer.askInSideChat"),
|
|
21902
|
+
children: [
|
|
21903
|
+
isOpeningSideChat ? /* @__PURE__ */ jsx60(Loader212, { size: 14, className: "animate-spin" }) : /* @__PURE__ */ jsx60(MessageSquarePlus, { size: 14 }),
|
|
21904
|
+
t("composer.askInSideChat")
|
|
21905
|
+
]
|
|
21906
|
+
}
|
|
21907
|
+
)
|
|
21908
|
+
] }),
|
|
21909
|
+
sideChatError && /* @__PURE__ */ jsx60("div", { className: "pointer-events-auto max-w-72 rounded-md bg-destructive px-2 py-1 text-xs text-destructive-foreground shadow", children: sideChatError })
|
|
21910
|
+
]
|
|
21824
21911
|
}
|
|
21825
21912
|
),
|
|
21826
21913
|
/* @__PURE__ */ jsxs42(
|
|
@@ -22131,7 +22218,7 @@ function Chat({
|
|
|
22131
22218
|
type: "button",
|
|
22132
22219
|
onClick: () => setSelectedTool(null),
|
|
22133
22220
|
className: "shrink-0 rounded-full p-0.5 text-primary/70 hover:bg-primary/10 hover:text-primary",
|
|
22134
|
-
children: /* @__PURE__ */ jsx60(
|
|
22221
|
+
children: /* @__PURE__ */ jsx60(X9, { size: 12 })
|
|
22135
22222
|
}
|
|
22136
22223
|
)
|
|
22137
22224
|
] })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpert-ai/chatkit-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
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.5.4",
|
|
62
63
|
"@xpert-ai/a2ui-react": "~0.1.0",
|
|
63
|
-
"@xpert-ai/chatkit-types": "~0.5.3",
|
|
64
64
|
"@xpert-ai/chatkit-web-shared": "~0.4.3"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aq as o,ar as n}from"./index-_eY4MICm.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-BOkQHv8_.js";import{_ as i}from"./index-_eY4MICm.js";import"./chunk-FMBD7UC4-DQbOG9LT.js";import"./chunk-YZCP3GAM-DsHse404.js";import"./chunk-55IACEB6-CLQ6xN1-.js";import"./chunk-EDXVE4YY-BeUFxqxB.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-BOkQHv8_.js";import{_ as i}from"./index-_eY4MICm.js";import"./chunk-FMBD7UC4-DQbOG9LT.js";import"./chunk-YZCP3GAM-DsHse404.js";import"./chunk-55IACEB6-CLQ6xN1-.js";import"./chunk-EDXVE4YY-BeUFxqxB.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-DLHVWCQv.js";var e=4;function a(o){return r(o,e)}export{a as c};
|