@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.cjs
CHANGED
|
@@ -2152,6 +2152,17 @@ var en_US_default = {
|
|
|
2152
2152
|
entryUnavailable: "Remote view content is unavailable.",
|
|
2153
2153
|
missingAssistant: "An assistant is required to load views.",
|
|
2154
2154
|
retry: "Retry",
|
|
2155
|
+
sideChat: {
|
|
2156
|
+
title: "Side chat",
|
|
2157
|
+
threadRequired: "Start a conversation before opening a side chat.",
|
|
2158
|
+
closeDialog: {
|
|
2159
|
+
title: "Close side chat?",
|
|
2160
|
+
description: "This side chat will be removed from the current workbench and cannot be restored on this page. Its conversation data will be retained.",
|
|
2161
|
+
dontAskAgain: "Don't ask again",
|
|
2162
|
+
cancel: "Cancel",
|
|
2163
|
+
confirm: "Close side chat"
|
|
2164
|
+
}
|
|
2165
|
+
},
|
|
2155
2166
|
errors: {
|
|
2156
2167
|
contextKeyRequired: "Context key is required.",
|
|
2157
2168
|
messageRequired: "Message text is required.",
|
|
@@ -2327,6 +2338,7 @@ var en_US_default = {
|
|
|
2327
2338
|
disablePlanMode: "Turn off plan mode",
|
|
2328
2339
|
removeReference: "Remove reference",
|
|
2329
2340
|
quoteSelection: "Quote selection",
|
|
2341
|
+
askInSideChat: "Ask in side chat",
|
|
2330
2342
|
requestUserInput: {
|
|
2331
2343
|
title: "Input requested",
|
|
2332
2344
|
recommended: "Recommended",
|
|
@@ -2652,6 +2664,17 @@ var zh_CN_default = {
|
|
|
2652
2664
|
entryUnavailable: "\u8FDC\u7A0B\u89C6\u56FE\u5185\u5BB9\u4E0D\u53EF\u7528\u3002",
|
|
2653
2665
|
missingAssistant: "\u9700\u8981 Assistant \u624D\u80FD\u52A0\u8F7D\u89C6\u56FE\u3002",
|
|
2654
2666
|
retry: "\u91CD\u8BD5",
|
|
2667
|
+
sideChat: {
|
|
2668
|
+
title: "\u4FA7\u8FB9\u804A\u5929",
|
|
2669
|
+
threadRequired: "\u8BF7\u5148\u5F00\u59CB\u4E3B\u5BF9\u8BDD\uFF0C\u518D\u6253\u5F00\u4FA7\u8FB9\u804A\u5929\u3002",
|
|
2670
|
+
closeDialog: {
|
|
2671
|
+
title: "\u5173\u95ED\u4FA7\u8FB9\u804A\u5929\uFF1F",
|
|
2672
|
+
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",
|
|
2673
|
+
dontAskAgain: "\u4E0D\u518D\u8BE2\u95EE",
|
|
2674
|
+
cancel: "\u53D6\u6D88",
|
|
2675
|
+
confirm: "\u5173\u95ED\u4FA7\u8FB9\u804A\u5929"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2655
2678
|
errors: {
|
|
2656
2679
|
contextKeyRequired: "\u5FC5\u987B\u63D0\u4F9B\u4E0A\u4E0B\u6587\u952E\u3002",
|
|
2657
2680
|
messageRequired: "\u5FC5\u987B\u63D0\u4F9B\u6D88\u606F\u5185\u5BB9\u3002",
|
|
@@ -2827,6 +2850,7 @@ var zh_CN_default = {
|
|
|
2827
2850
|
disablePlanMode: "\u5173\u95ED\u8BA1\u5212\u6A21\u5F0F",
|
|
2828
2851
|
removeReference: "\u79FB\u9664\u5F15\u7528",
|
|
2829
2852
|
quoteSelection: "\u5F15\u7528\u9009\u4E2D\u5185\u5BB9",
|
|
2853
|
+
askInSideChat: "\u5728\u4FA7\u8FB9\u804A\u5929\u4E2D\u63D0\u95EE",
|
|
2830
2854
|
requestUserInput: {
|
|
2831
2855
|
title: "\u9700\u8981\u4F60\u7684\u8F93\u5165",
|
|
2832
2856
|
recommended: "\u63A8\u8350",
|
|
@@ -4964,6 +4988,7 @@ function SheetOverlay({
|
|
|
4964
4988
|
function SheetContent({
|
|
4965
4989
|
side = "right",
|
|
4966
4990
|
showCloseButton = true,
|
|
4991
|
+
forceMount,
|
|
4967
4992
|
className,
|
|
4968
4993
|
children,
|
|
4969
4994
|
...props
|
|
@@ -4975,11 +5000,18 @@ function SheetContent({
|
|
|
4975
5000
|
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",
|
|
4976
5001
|
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"
|
|
4977
5002
|
};
|
|
4978
|
-
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(SheetPortal, { children: [
|
|
4979
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
5003
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(SheetPortal, { forceMount, children: [
|
|
5004
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
5005
|
+
SheetOverlay,
|
|
5006
|
+
{
|
|
5007
|
+
forceMount,
|
|
5008
|
+
className: forceMount ? "data-[state=closed]:hidden" : void 0
|
|
5009
|
+
}
|
|
5010
|
+
),
|
|
4980
5011
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
4981
5012
|
SheetPrimitive.Content,
|
|
4982
5013
|
{
|
|
5014
|
+
forceMount,
|
|
4983
5015
|
className: cn(
|
|
4984
5016
|
"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",
|
|
4985
5017
|
sideVariants[side],
|
|
@@ -10957,7 +10989,7 @@ function AgentRunGroup({
|
|
|
10957
10989
|
].filter(
|
|
10958
10990
|
(item) => Boolean(item)
|
|
10959
10991
|
);
|
|
10960
|
-
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("border
|
|
10992
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: cn("border border-border/70 pl-2 rounded-lg", depth > 0 ? "ml-1" : "-mx-2.5"), children: [
|
|
10961
10993
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
10962
10994
|
"button",
|
|
10963
10995
|
{
|
|
@@ -16022,7 +16054,7 @@ var sortThreadRecords = (threadRecords) => {
|
|
|
16022
16054
|
return (Number.isNaN(bTime) ? 0 : bTime) - (Number.isNaN(aTime) ? 0 : aTime);
|
|
16023
16055
|
});
|
|
16024
16056
|
};
|
|
16025
|
-
function useThreads(limit = DEFAULT_LIMIT) {
|
|
16057
|
+
function useThreads(limit = DEFAULT_LIMIT, enabled = true) {
|
|
16026
16058
|
const {
|
|
16027
16059
|
client,
|
|
16028
16060
|
threadId,
|
|
@@ -16042,6 +16074,7 @@ function useThreads(limit = DEFAULT_LIMIT) {
|
|
|
16042
16074
|
});
|
|
16043
16075
|
}, []);
|
|
16044
16076
|
const refreshThreads = React42.useCallback(async () => {
|
|
16077
|
+
if (!enabled) return;
|
|
16045
16078
|
setIsLoading(true);
|
|
16046
16079
|
setError(null);
|
|
16047
16080
|
try {
|
|
@@ -16056,7 +16089,7 @@ function useThreads(limit = DEFAULT_LIMIT) {
|
|
|
16056
16089
|
} finally {
|
|
16057
16090
|
setIsLoading(false);
|
|
16058
16091
|
}
|
|
16059
|
-
}, [client, limit, assistantId, projectId]);
|
|
16092
|
+
}, [client, enabled, limit, assistantId, projectId]);
|
|
16060
16093
|
const createThread = React42.useCallback(
|
|
16061
16094
|
async (input) => {
|
|
16062
16095
|
setError(null);
|
|
@@ -16092,9 +16125,9 @@ function useThreads(limit = DEFAULT_LIMIT) {
|
|
|
16092
16125
|
[client]
|
|
16093
16126
|
);
|
|
16094
16127
|
React42.useEffect(() => {
|
|
16095
|
-
if (!isReady) return;
|
|
16128
|
+
if (!enabled || !isReady) return;
|
|
16096
16129
|
void refreshThreads();
|
|
16097
|
-
}, [refreshThreads, isReady]);
|
|
16130
|
+
}, [enabled, refreshThreads, isReady]);
|
|
16098
16131
|
React42.useEffect(() => {
|
|
16099
16132
|
if (!threadId || !isStreamLoading) return;
|
|
16100
16133
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -17858,9 +17891,8 @@ function findDomPointForComposerOffset(root, offset) {
|
|
|
17858
17891
|
return result ?? { node: lastNode, offset: lastOffset };
|
|
17859
17892
|
}
|
|
17860
17893
|
|
|
17861
|
-
// src/workbench/
|
|
17894
|
+
// src/workbench/context.tsx
|
|
17862
17895
|
var React52 = __toESM(require("react"), 1);
|
|
17863
|
-
var import_xpert_sdk2 = require("@xpert-ai/xpert-sdk");
|
|
17864
17896
|
var import_lucide_react30 = require("lucide-react");
|
|
17865
17897
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
17866
17898
|
var WorkbenchContext = React52.createContext({
|
|
@@ -17868,7 +17900,9 @@ var WorkbenchContext = React52.createContext({
|
|
|
17868
17900
|
open: false,
|
|
17869
17901
|
loading: false,
|
|
17870
17902
|
available: false,
|
|
17871
|
-
toggle: () => void 0
|
|
17903
|
+
toggle: () => void 0,
|
|
17904
|
+
sideChatEnabled: false,
|
|
17905
|
+
askInSideChat: async () => void 0
|
|
17872
17906
|
});
|
|
17873
17907
|
function useWorkbench() {
|
|
17874
17908
|
return React52.useContext(WorkbenchContext);
|
|
@@ -19399,7 +19433,9 @@ function Chat({
|
|
|
19399
19433
|
title,
|
|
19400
19434
|
placeholder,
|
|
19401
19435
|
clientSecret = "",
|
|
19402
|
-
isClientSecretInitializing = false
|
|
19436
|
+
isClientSecretInitializing = false,
|
|
19437
|
+
surface = "main",
|
|
19438
|
+
referenceRequest
|
|
19403
19439
|
}) {
|
|
19404
19440
|
const { t, i18n: i18n2 } = useChatkitTranslation();
|
|
19405
19441
|
const composer = options?.composer;
|
|
@@ -19410,6 +19446,7 @@ function Chat({
|
|
|
19410
19446
|
const messageNavigationEnabled = options?.messageNavigation?.enabled !== false;
|
|
19411
19447
|
const { setStream } = useStreamManager();
|
|
19412
19448
|
const stream = useStreamContext();
|
|
19449
|
+
const workbench = useWorkbench();
|
|
19413
19450
|
const { theme } = useTheme();
|
|
19414
19451
|
const effectiveClientSecret = stream.apiKey?.trim() ? stream.apiKey : clientSecret;
|
|
19415
19452
|
const missingConfigKind = getMissingApiConfigurationKind({
|
|
@@ -19458,8 +19495,8 @@ function Chat({
|
|
|
19458
19495
|
const loadingStartTimeRef = React56.useRef(null);
|
|
19459
19496
|
const lastStreamOutputAtRef = React56.useRef(null);
|
|
19460
19497
|
React56.useEffect(() => {
|
|
19461
|
-
setStream(stream);
|
|
19462
|
-
}, [setStream, stream]);
|
|
19498
|
+
if (surface === "main") setStream(stream);
|
|
19499
|
+
}, [setStream, stream, surface]);
|
|
19463
19500
|
React56.useEffect(() => {
|
|
19464
19501
|
if (stream.isLoading) {
|
|
19465
19502
|
if (!loadingStartTimeRef.current) {
|
|
@@ -19534,6 +19571,8 @@ function Chat({
|
|
|
19534
19571
|
const [references, setReferences] = React56.useState([]);
|
|
19535
19572
|
const [isUploadingReferenceImages, setIsUploadingReferenceImages] = React56.useState(false);
|
|
19536
19573
|
const [quoteSelection, setQuoteSelection] = React56.useState(null);
|
|
19574
|
+
const [isOpeningSideChat, setIsOpeningSideChat] = React56.useState(false);
|
|
19575
|
+
const [sideChatError, setSideChatError] = React56.useState(null);
|
|
19537
19576
|
const [isAtBottom, setIsAtBottom] = React56.useState(true);
|
|
19538
19577
|
const [hasUpdatesBelow, setHasUpdatesBelow] = React56.useState(false);
|
|
19539
19578
|
const {
|
|
@@ -19541,7 +19580,7 @@ function Chat({
|
|
|
19541
19580
|
deleteThread,
|
|
19542
19581
|
refreshThreads,
|
|
19543
19582
|
isLoading: isThreadsLoading
|
|
19544
|
-
} = useThreads();
|
|
19583
|
+
} = useThreads(void 0, surface === "main" && history?.enabled !== false);
|
|
19545
19584
|
const viewportRef = React56.useRef(null);
|
|
19546
19585
|
const chatColumnRef = React56.useRef(null);
|
|
19547
19586
|
const messageNavigationAnchorsRef = React56.useRef(
|
|
@@ -19549,6 +19588,7 @@ function Chat({
|
|
|
19549
19588
|
);
|
|
19550
19589
|
const attachmentsRef = React56.useRef(null);
|
|
19551
19590
|
const composerInputRef = React56.useRef(null);
|
|
19591
|
+
const appliedReferenceRequestRef = React56.useRef(null);
|
|
19552
19592
|
const isComposerComposingRef = React56.useRef(false);
|
|
19553
19593
|
const slashPaletteRef = React56.useRef(null);
|
|
19554
19594
|
const slashPaletteOptionRefs = React56.useRef(
|
|
@@ -19709,15 +19749,16 @@ function Chat({
|
|
|
19709
19749
|
const hasPendingInteractiveRequest = hasPendingRequestUserInput || hasPendingHITLRequest;
|
|
19710
19750
|
const hasPendingTodos = Boolean(stream.todos?.items.length);
|
|
19711
19751
|
const goalAdapter = React56.useMemo(() => {
|
|
19752
|
+
if (surface !== "main") return null;
|
|
19712
19753
|
if (isGoalAdapter(options?.goal)) {
|
|
19713
19754
|
return options.goal;
|
|
19714
19755
|
}
|
|
19715
19756
|
return supportsXpertThreadGoalAdapter(stream.client) ? createXpertThreadGoalAdapter(stream.client) : null;
|
|
19716
|
-
}, [options?.goal, stream.client]);
|
|
19757
|
+
}, [options?.goal, stream.client, surface]);
|
|
19717
19758
|
const displayedGoalElapsedSeconds = threadGoal ? (threadGoal.elapsedSeconds ?? 0) + (goalElapsedStartedAt ? Math.max(0, Math.floor((streamingNow - goalElapsedStartedAt) / 1e3)) : 0) : 0;
|
|
19718
19759
|
const goalCommandAvailable = hasSelectedRuntimeSlashCommand(
|
|
19719
|
-
runtimeCapabilities,
|
|
19720
|
-
effectiveSessionRuntimeCapabilities,
|
|
19760
|
+
surface === "main" ? runtimeCapabilities : null,
|
|
19761
|
+
surface === "main" ? effectiveSessionRuntimeCapabilities : null,
|
|
19721
19762
|
"goal"
|
|
19722
19763
|
);
|
|
19723
19764
|
const showGoalStatus = goalCommandAvailable && !hasCompletedGoal && (Boolean(goalError) || threadGoal?.status === "active" && stream.isLoading);
|
|
@@ -19775,6 +19816,16 @@ function Chat({
|
|
|
19775
19816
|
setComposerSelectionOffset(input, nextPosition);
|
|
19776
19817
|
});
|
|
19777
19818
|
}, []);
|
|
19819
|
+
React56.useEffect(() => {
|
|
19820
|
+
if (!referenceRequest || appliedReferenceRequestRef.current === referenceRequest.id) {
|
|
19821
|
+
return;
|
|
19822
|
+
}
|
|
19823
|
+
appliedReferenceRequestRef.current = referenceRequest.id;
|
|
19824
|
+
setReferences(
|
|
19825
|
+
(previous) => mergeReferences(previous, [referenceRequest.reference])
|
|
19826
|
+
);
|
|
19827
|
+
requestAnimationFrame(() => composerInputRef.current?.focus());
|
|
19828
|
+
}, [referenceRequest]);
|
|
19778
19829
|
const {
|
|
19779
19830
|
applyComposerValueRuntimeCapabilities,
|
|
19780
19831
|
updateRuntimeCapabilityPalette,
|
|
@@ -19792,62 +19843,63 @@ function Chat({
|
|
|
19792
19843
|
commitComposerParts,
|
|
19793
19844
|
focusComposerAt
|
|
19794
19845
|
});
|
|
19795
|
-
const
|
|
19796
|
-
|
|
19797
|
-
(payload)
|
|
19798
|
-
|
|
19799
|
-
|
|
19800
|
-
|
|
19801
|
-
const
|
|
19802
|
-
|
|
19803
|
-
|
|
19804
|
-
}
|
|
19805
|
-
if (Array.isArray(payload.references)) {
|
|
19806
|
-
const nextReferences = normalizeReferences(payload.references);
|
|
19807
|
-
setReferences(
|
|
19808
|
-
(previous) => payload.appendReferences ? mergeReferences(previous, nextReferences) : nextReferences
|
|
19809
|
-
);
|
|
19810
|
-
}
|
|
19811
|
-
if (payload.selectedToolId !== void 0) {
|
|
19812
|
-
const nextTool = payload.selectedToolId === null ? null : (composer?.tools ?? []).find(
|
|
19813
|
-
(tool) => tool.id === payload.selectedToolId
|
|
19814
|
-
) ?? null;
|
|
19815
|
-
setSelectedTool(nextTool);
|
|
19816
|
-
}
|
|
19817
|
-
applyComposerValueRuntimeCapabilities(
|
|
19818
|
-
payload,
|
|
19819
|
-
shouldInsertRuntimeCapabilitiesBeforeText ? { insertAt: 0 } : void 0
|
|
19846
|
+
const handleSetComposerValue = React56.useCallback(
|
|
19847
|
+
(payload) => {
|
|
19848
|
+
if (!payload) return;
|
|
19849
|
+
const shouldInsertRuntimeCapabilitiesBeforeText = typeof payload.text === "string" && payload.insertRuntimeCapabilities === true;
|
|
19850
|
+
if (typeof payload.text === "string") setComposerText(payload.text);
|
|
19851
|
+
if (Array.isArray(payload.references)) {
|
|
19852
|
+
const nextReferences = normalizeReferences(payload.references);
|
|
19853
|
+
setReferences(
|
|
19854
|
+
(previous) => payload.appendReferences ? mergeReferences(previous, nextReferences) : nextReferences
|
|
19820
19855
|
);
|
|
19821
|
-
}
|
|
19822
|
-
|
|
19823
|
-
|
|
19824
|
-
|
|
19825
|
-
|
|
19826
|
-
|
|
19827
|
-
}
|
|
19828
|
-
|
|
19829
|
-
|
|
19830
|
-
|
|
19831
|
-
|
|
19832
|
-
},
|
|
19833
|
-
|
|
19834
|
-
|
|
19835
|
-
|
|
19836
|
-
|
|
19837
|
-
|
|
19838
|
-
|
|
19839
|
-
|
|
19840
|
-
|
|
19841
|
-
|
|
19842
|
-
|
|
19843
|
-
|
|
19844
|
-
|
|
19845
|
-
|
|
19856
|
+
}
|
|
19857
|
+
if (payload.selectedToolId !== void 0) {
|
|
19858
|
+
const nextTool = payload.selectedToolId === null ? null : (composer?.tools ?? []).find(
|
|
19859
|
+
(tool) => tool.id === payload.selectedToolId
|
|
19860
|
+
) ?? null;
|
|
19861
|
+
setSelectedTool(nextTool);
|
|
19862
|
+
}
|
|
19863
|
+
applyComposerValueRuntimeCapabilities(
|
|
19864
|
+
payload,
|
|
19865
|
+
shouldInsertRuntimeCapabilitiesBeforeText ? { insertAt: 0 } : void 0
|
|
19866
|
+
);
|
|
19867
|
+
},
|
|
19868
|
+
[applyComposerValueRuntimeCapabilities, composer?.tools, setComposerText]
|
|
19869
|
+
);
|
|
19870
|
+
const handleSetRuntimeCapabilities = React56.useCallback(
|
|
19871
|
+
(selection) => {
|
|
19872
|
+
applyExternalRuntimeCapabilities(selection);
|
|
19873
|
+
},
|
|
19874
|
+
[applyExternalRuntimeCapabilities]
|
|
19875
|
+
);
|
|
19876
|
+
const handleFocusComposer = React56.useCallback(() => {
|
|
19877
|
+
composerInputRef.current?.focus();
|
|
19878
|
+
}, []);
|
|
19879
|
+
const handleSetPetEnabled = React56.useCallback(
|
|
19880
|
+
(enabled) => {
|
|
19881
|
+
if (petRequired) return;
|
|
19882
|
+
savePetLocalSettings({ ...displayedPetSettings, enabled });
|
|
19883
|
+
},
|
|
19884
|
+
[displayedPetSettings, petRequired, savePetLocalSettings]
|
|
19885
|
+
);
|
|
19886
|
+
const parentMessenger = useParentMessenger(
|
|
19887
|
+
surface === "main" ? {
|
|
19888
|
+
onSetComposerValue: handleSetComposerValue,
|
|
19889
|
+
onSetRuntimeCapabilities: handleSetRuntimeCapabilities,
|
|
19890
|
+
onFocusComposer: handleFocusComposer,
|
|
19891
|
+
onSetPetEnabled: handleSetPetEnabled
|
|
19892
|
+
} : {}
|
|
19893
|
+
);
|
|
19846
19894
|
const canMinimizeToPet = parentMessenger?.isParentAvailable === true && isPetEnabled(effectivePet);
|
|
19847
19895
|
const handleMinimizeToPet = React56.useCallback(() => {
|
|
19848
19896
|
parentMessenger?.sendEvent("chat_minimize_change", { minimized: true });
|
|
19849
19897
|
}, [parentMessenger]);
|
|
19850
19898
|
const syncQuoteSelection = React56.useCallback(() => {
|
|
19899
|
+
if (surface !== "main") {
|
|
19900
|
+
clearQuoteSelection();
|
|
19901
|
+
return;
|
|
19902
|
+
}
|
|
19851
19903
|
if (typeof window === "undefined") {
|
|
19852
19904
|
clearQuoteSelection();
|
|
19853
19905
|
return;
|
|
@@ -19891,7 +19943,7 @@ function Chat({
|
|
|
19891
19943
|
top,
|
|
19892
19944
|
left
|
|
19893
19945
|
});
|
|
19894
|
-
}, [clearQuoteSelection]);
|
|
19946
|
+
}, [clearQuoteSelection, surface]);
|
|
19895
19947
|
const cancelPendingAutoScroll = React56.useCallback(() => {
|
|
19896
19948
|
if (autoScrollFrameRef.current !== null) {
|
|
19897
19949
|
cancelAnimationFrame(autoScrollFrameRef.current);
|
|
@@ -20741,6 +20793,27 @@ function Chat({
|
|
|
20741
20793
|
}
|
|
20742
20794
|
composerInputRef.current?.focus();
|
|
20743
20795
|
}, [clearQuoteSelection, quoteSelection]);
|
|
20796
|
+
const handleAskInSideChat = React56.useCallback(async () => {
|
|
20797
|
+
if (!quoteSelection || !workbench.sideChatEnabled || !stream.threadId || stream.isLoading)
|
|
20798
|
+
return;
|
|
20799
|
+
setIsOpeningSideChat(true);
|
|
20800
|
+
setSideChatError(null);
|
|
20801
|
+
try {
|
|
20802
|
+
await workbench.askInSideChat(quoteSelection.reference);
|
|
20803
|
+
clearQuoteSelection();
|
|
20804
|
+
window.getSelection()?.removeAllRanges();
|
|
20805
|
+
} catch (error) {
|
|
20806
|
+
setSideChatError(error instanceof Error ? error.message : String(error));
|
|
20807
|
+
} finally {
|
|
20808
|
+
setIsOpeningSideChat(false);
|
|
20809
|
+
}
|
|
20810
|
+
}, [
|
|
20811
|
+
clearQuoteSelection,
|
|
20812
|
+
quoteSelection,
|
|
20813
|
+
stream.isLoading,
|
|
20814
|
+
stream.threadId,
|
|
20815
|
+
workbench
|
|
20816
|
+
]);
|
|
20744
20817
|
const handleAttachmentClick = () => {
|
|
20745
20818
|
attachmentsRef.current?.openFilePicker();
|
|
20746
20819
|
};
|
|
@@ -20995,7 +21068,7 @@ function Chat({
|
|
|
20995
21068
|
[focusComposerAt, isPromptEditDisabled, setComposerText]
|
|
20996
21069
|
);
|
|
20997
21070
|
const loadConversationMessages = React56.useCallback(
|
|
20998
|
-
async (recordId) => {
|
|
21071
|
+
async (recordId, threadId) => {
|
|
20999
21072
|
if (missingConfig) {
|
|
21000
21073
|
setHistoryError(missingConfigShortMessage);
|
|
21001
21074
|
return;
|
|
@@ -21003,7 +21076,7 @@ function Chat({
|
|
|
21003
21076
|
setHistoryError(null);
|
|
21004
21077
|
setIsHistoryLoading(true);
|
|
21005
21078
|
try {
|
|
21006
|
-
await stream.loadConversationMessages(recordId);
|
|
21079
|
+
await stream.loadConversationMessages(recordId, threadId);
|
|
21007
21080
|
} catch (err) {
|
|
21008
21081
|
console.warn("Failed to load thread messages", err);
|
|
21009
21082
|
setHistoryError(
|
|
@@ -21068,13 +21141,13 @@ function Chat({
|
|
|
21068
21141
|
if (!thread) return;
|
|
21069
21142
|
if (id === stream.threadId) {
|
|
21070
21143
|
if (thread.status === "interrupted" && thread.recordId && !stream.pendingHITLRequest) {
|
|
21071
|
-
void loadConversationMessages(thread.recordId);
|
|
21144
|
+
void loadConversationMessages(thread.recordId, thread.id);
|
|
21072
21145
|
}
|
|
21073
21146
|
return;
|
|
21074
21147
|
}
|
|
21075
21148
|
stream.reset(id, []);
|
|
21076
21149
|
if (thread.recordId) {
|
|
21077
|
-
void loadConversationMessages(thread.recordId);
|
|
21150
|
+
void loadConversationMessages(thread.recordId, thread.id);
|
|
21078
21151
|
}
|
|
21079
21152
|
};
|
|
21080
21153
|
const handleDeleteThread = (id) => {
|
|
@@ -21271,12 +21344,12 @@ function Chat({
|
|
|
21271
21344
|
className
|
|
21272
21345
|
),
|
|
21273
21346
|
children: [
|
|
21274
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
21347
|
+
surface === "main" && options?.header?.enabled !== false && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
21275
21348
|
"div",
|
|
21276
21349
|
{
|
|
21277
21350
|
ref: chatColumnRef,
|
|
21278
21351
|
"data-slot": "chatkit-chat-header",
|
|
21279
|
-
className: "mx-auto flex w-full items-center justify-between border-b
|
|
21352
|
+
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",
|
|
21280
21353
|
style: chatColumnStyle,
|
|
21281
21354
|
children: [
|
|
21282
21355
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex min-w-0 items-center gap-3 overflow-hidden", children: [
|
|
@@ -21425,7 +21498,7 @@ function Chat({
|
|
|
21425
21498
|
promptSendDisabled: isSubmissionBlocked,
|
|
21426
21499
|
promptEditDisabled: isPromptEditDisabled
|
|
21427
21500
|
}
|
|
21428
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "space-y-
|
|
21501
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "space-y-1", children: [
|
|
21429
21502
|
canLoadMoreMessages && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex items-center gap-3 py-1", children: [
|
|
21430
21503
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "h-px min-w-8 flex-1 bg-border" }),
|
|
21431
21504
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
@@ -21637,32 +21710,55 @@ function Chat({
|
|
|
21637
21710
|
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react33.ArrowDown, { size: 16 })
|
|
21638
21711
|
}
|
|
21639
21712
|
) }),
|
|
21640
|
-
quoteSelection && /* @__PURE__ */ (0, import_jsx_runtime60.
|
|
21713
|
+
quoteSelection && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
21641
21714
|
"div",
|
|
21642
21715
|
{
|
|
21643
|
-
className: "pointer-events-none fixed z-50",
|
|
21716
|
+
className: "pointer-events-none fixed z-50 flex flex-col items-center gap-1",
|
|
21644
21717
|
style: {
|
|
21645
21718
|
top: `${quoteSelection.top}px`,
|
|
21646
21719
|
left: `${quoteSelection.left}px`,
|
|
21647
21720
|
transform: "translateX(-50%)"
|
|
21648
21721
|
},
|
|
21649
|
-
children:
|
|
21650
|
-
|
|
21651
|
-
|
|
21652
|
-
|
|
21653
|
-
|
|
21654
|
-
|
|
21655
|
-
|
|
21656
|
-
|
|
21657
|
-
|
|
21658
|
-
|
|
21659
|
-
|
|
21660
|
-
|
|
21661
|
-
|
|
21662
|
-
|
|
21663
|
-
|
|
21664
|
-
|
|
21665
|
-
|
|
21722
|
+
children: [
|
|
21723
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "pointer-events-auto flex overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg", children: [
|
|
21724
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
21725
|
+
Button,
|
|
21726
|
+
{
|
|
21727
|
+
type: "button",
|
|
21728
|
+
size: "sm",
|
|
21729
|
+
variant: "ghost",
|
|
21730
|
+
className: "rounded-none border-r",
|
|
21731
|
+
onMouseDown: (event) => event.preventDefault(),
|
|
21732
|
+
onClick: handleQuoteSelection,
|
|
21733
|
+
"aria-label": t("composer.quoteSelection"),
|
|
21734
|
+
title: t("composer.quoteSelection"),
|
|
21735
|
+
children: [
|
|
21736
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react33.Quote, { size: 14 }),
|
|
21737
|
+
t("composer.quoteSelection")
|
|
21738
|
+
]
|
|
21739
|
+
}
|
|
21740
|
+
),
|
|
21741
|
+
workbench.sideChatEnabled && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
21742
|
+
Button,
|
|
21743
|
+
{
|
|
21744
|
+
type: "button",
|
|
21745
|
+
size: "sm",
|
|
21746
|
+
variant: "ghost",
|
|
21747
|
+
className: "rounded-none",
|
|
21748
|
+
disabled: isOpeningSideChat || stream.isLoading || !stream.threadId,
|
|
21749
|
+
onMouseDown: (event) => event.preventDefault(),
|
|
21750
|
+
onClick: () => void handleAskInSideChat(),
|
|
21751
|
+
"aria-label": t("composer.askInSideChat"),
|
|
21752
|
+
title: t("composer.askInSideChat"),
|
|
21753
|
+
children: [
|
|
21754
|
+
isOpeningSideChat ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react33.Loader2, { size: 14, className: "animate-spin" }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_lucide_react33.MessageSquarePlus, { size: 14 }),
|
|
21755
|
+
t("composer.askInSideChat")
|
|
21756
|
+
]
|
|
21757
|
+
}
|
|
21758
|
+
)
|
|
21759
|
+
] }),
|
|
21760
|
+
sideChatError && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "pointer-events-auto max-w-72 rounded-md bg-destructive px-2 py-1 text-xs text-destructive-foreground shadow", children: sideChatError })
|
|
21761
|
+
]
|
|
21666
21762
|
}
|
|
21667
21763
|
),
|
|
21668
21764
|
/* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ChatKitOptions,
|
|
2
|
+
import { ChatKitOptions, ChatKitReference, Attachment, SendUserMessageParams, ToolOutputAttachmentPreviewRequest, ChatKitPetAnimationName, ChatKitTheme, ColorScheme } from '@xpert-ai/chatkit-types';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
@@ -16,8 +16,14 @@ type ChatProps = {
|
|
|
16
16
|
clientSecret?: string;
|
|
17
17
|
options?: ChatKitOptions | null;
|
|
18
18
|
isClientSecretInitializing?: boolean;
|
|
19
|
+
surface?: 'main' | 'side';
|
|
20
|
+
referenceRequest?: ChatReferenceRequest | null;
|
|
19
21
|
};
|
|
20
|
-
|
|
22
|
+
type ChatReferenceRequest = {
|
|
23
|
+
id: string;
|
|
24
|
+
reference: ChatKitReference;
|
|
25
|
+
};
|
|
26
|
+
declare function Chat({ className, options, title, placeholder, clientSecret, isClientSecretInitializing, surface, referenceRequest, }: ChatProps): react_jsx_runtime.JSX.Element;
|
|
21
27
|
|
|
22
28
|
declare const buttonVariants: (props?: ({
|
|
23
29
|
variant?: "secondary" | "outline" | "ghost" | "default" | "link" | "destructive" | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ChatKitOptions,
|
|
2
|
+
import { ChatKitOptions, ChatKitReference, Attachment, SendUserMessageParams, ToolOutputAttachmentPreviewRequest, ChatKitPetAnimationName, ChatKitTheme, ColorScheme } from '@xpert-ai/chatkit-types';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
@@ -16,8 +16,14 @@ type ChatProps = {
|
|
|
16
16
|
clientSecret?: string;
|
|
17
17
|
options?: ChatKitOptions | null;
|
|
18
18
|
isClientSecretInitializing?: boolean;
|
|
19
|
+
surface?: 'main' | 'side';
|
|
20
|
+
referenceRequest?: ChatReferenceRequest | null;
|
|
19
21
|
};
|
|
20
|
-
|
|
22
|
+
type ChatReferenceRequest = {
|
|
23
|
+
id: string;
|
|
24
|
+
reference: ChatKitReference;
|
|
25
|
+
};
|
|
26
|
+
declare function Chat({ className, options, title, placeholder, clientSecret, isClientSecretInitializing, surface, referenceRequest, }: ChatProps): react_jsx_runtime.JSX.Element;
|
|
21
27
|
|
|
22
28
|
declare const buttonVariants: (props?: ({
|
|
23
29
|
variant?: "secondary" | "outline" | "ghost" | "default" | "link" | "destructive" | null | undefined;
|