@xpert-ai/chatkit-ui 0.3.2 → 0.3.4
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-DxHYvQh5.js → _baseUniq-DOSftAYs.js} +1 -1
- package/dist/app/assets/{abap-DVajZIEh.js → abap-D8t_liei.js} +1 -1
- package/dist/app/assets/{abnf-46NjTOlf.js → abnf-jhem6Fdp.js} +1 -1
- package/dist/app/assets/{actionscript-CQpj0cg3.js → actionscript-AgAqywOC.js} +1 -1
- package/dist/app/assets/{ada-C-kX0zii.js → ada-BR3Q6K2R.js} +1 -1
- package/dist/app/assets/{agda-CCA_JAgT.js → agda-s2LPXGxr.js} +1 -1
- package/dist/app/assets/{al-Dnw0hERO.js → al-DbvPGDsA.js} +1 -1
- package/dist/app/assets/{antlr4-vIL0hfzJ.js → antlr4-Dde8A9o-.js} +1 -1
- package/dist/app/assets/{apacheconf-CsWzUs9D.js → apacheconf-XU1nZV0U.js} +1 -1
- package/dist/app/assets/{apex-QViHF4AC.js → apex-dwhJyh_8.js} +1 -1
- package/dist/app/assets/{apl-J2xZukMp.js → apl-6TVT9aj4.js} +1 -1
- package/dist/app/assets/{applescript-B3WjGs4M.js → applescript-CK6TQ3Fp.js} +1 -1
- package/dist/app/assets/{aql-NAU-bvN_.js → aql-CAitgyBw.js} +1 -1
- package/dist/app/assets/{arc-B8hwrBK1.js → arc-y7BBKPBC.js} +1 -1
- package/dist/app/assets/{architectureDiagram-Q4EWVU46-CpVpAf2q.js → architectureDiagram-Q4EWVU46-CKPXDiCw.js} +1 -1
- package/dist/app/assets/{arduino-CHYJARcG.js → arduino-BX92l-fC.js} +1 -1
- package/dist/app/assets/{arff-DqAcq_Jd.js → arff-TZ2mzCjA.js} +1 -1
- package/dist/app/assets/{asciidoc-DXFN4u3C.js → asciidoc-CbdSoDU0.js} +1 -1
- package/dist/app/assets/{asm6502-yvmvLNPw.js → asm6502-DB6lK7kM.js} +1 -1
- package/dist/app/assets/{asmatmel-BNt_bXxW.js → asmatmel-DUbAVWcI.js} +1 -1
- package/dist/app/assets/{aspnet-BMD5jkWc.js → aspnet-BJclsNGz.js} +1 -1
- package/dist/app/assets/{autohotkey-CHZS5zbL.js → autohotkey-BAHo4mzJ.js} +1 -1
- package/dist/app/assets/{autoit-DLLmQkuM.js → autoit-CpXn4Gjh.js} +1 -1
- package/dist/app/assets/{avisynth-C8BxdbSe.js → avisynth-CB7WaK_0.js} +1 -1
- package/dist/app/assets/{avro-idl-C6pwRw5e.js → avro-idl-C-DAHRE1.js} +1 -1
- package/dist/app/assets/{bash-CMOTacbo.js → bash-De_5PB_T.js} +1 -1
- package/dist/app/assets/{basic-TZKBsQ-m.js → basic-TAOzT46e.js} +1 -1
- package/dist/app/assets/{batch-CaE8zhSL.js → batch-yBjeCG2_.js} +1 -1
- package/dist/app/assets/{bbcode-DcenEstk.js → bbcode-zhuhkwPV.js} +1 -1
- package/dist/app/assets/{bicep-M0WBFGSH.js → bicep-3sditE87.js} +1 -1
- package/dist/app/assets/{birb-EkEU1ZCa.js → birb-B91lhwFM.js} +1 -1
- package/dist/app/assets/{bison-M-w8qpdO.js → bison-Zl9yhw_8.js} +1 -1
- package/dist/app/assets/{blockDiagram-DXYQGD6D-Cb71R9Wk.js → blockDiagram-DXYQGD6D-CbzYvF40.js} +1 -1
- package/dist/app/assets/{bnf-BnYdZYNM.js → bnf-BTyJWL2-.js} +1 -1
- package/dist/app/assets/{brainfuck-BjHrlOp6.js → brainfuck-D-gtcLd6.js} +1 -1
- package/dist/app/assets/{brightscript-D2KWeGkG.js → brightscript-CtoapRkx.js} +1 -1
- package/dist/app/assets/{bro-Cm3J_z1e.js → bro-MqwpLO_C.js} +1 -1
- package/dist/app/assets/{bsl-aaIhCboX.js → bsl-B51ARJIQ.js} +1 -1
- package/dist/app/assets/{c-Cromo6GX.js → c-Dd7OPCIn.js} +1 -1
- package/dist/app/assets/{c4Diagram-AHTNJAMY-CzSUyxD_.js → c4Diagram-AHTNJAMY-Cl2FGnEB.js} +1 -1
- package/dist/app/assets/{cfscript-DjqhIng2.js → cfscript-BEyB5tLd.js} +1 -1
- package/dist/app/assets/{chaiscript-Vo_Ts9eo.js → chaiscript-BEE5daDb.js} +1 -1
- package/dist/app/assets/channel-Ocy9uBDH.js +1 -0
- package/dist/app/assets/{chunk-4BX2VUAB-aAUlAQil.js → chunk-4BX2VUAB-CdWO6X3v.js} +1 -1
- package/dist/app/assets/{chunk-4TB4RGXK-8S_2Lm6g.js → chunk-4TB4RGXK-B99XSc_o.js} +1 -1
- package/dist/app/assets/{chunk-55IACEB6-Dz5quBWg.js → chunk-55IACEB6-Bf8lWYm0.js} +1 -1
- package/dist/app/assets/{chunk-EDXVE4YY-BhH3k95q.js → chunk-EDXVE4YY-D0jGhBDV.js} +1 -1
- package/dist/app/assets/{chunk-FMBD7UC4-BYUrcbwm.js → chunk-FMBD7UC4-CPVhZRqV.js} +1 -1
- package/dist/app/assets/{chunk-OYMX7WX6-DTytW7cJ.js → chunk-OYMX7WX6-B3B3qd2F.js} +1 -1
- package/dist/app/assets/{chunk-QZHKN3VN-DCg0fs-A.js → chunk-QZHKN3VN-C9zZSGTB.js} +1 -1
- package/dist/app/assets/{chunk-YZCP3GAM-Ck9WxSs5.js → chunk-YZCP3GAM-BX0g-UOY.js} +1 -1
- package/dist/app/assets/{cil-Dy9yDCJC.js → cil-DfLzhPVn.js} +1 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-DPVg45WL.js +1 -0
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-DPVg45WL.js +1 -0
- package/dist/app/assets/{clike-B3pqz2AZ.js → clike-Dd07rx25.js} +1 -1
- package/dist/app/assets/{clojure-DVRtvSwX.js → clojure-Du6gb2Do.js} +1 -1
- package/dist/app/assets/clone-AdHtfCx4.js +1 -0
- package/dist/app/assets/{cmake-13muG7rK.js → cmake-DpKAfrpv.js} +1 -1
- package/dist/app/assets/{cobol-Jbr347RJ.js → cobol-CMhyCAN0.js} +1 -1
- package/dist/app/assets/{coffeescript-B3DOm1Ne.js → coffeescript-C_hK5LrH.js} +1 -1
- package/dist/app/assets/{concurnas-CNySoRHf.js → concurnas-BzzuO0wJ.js} +1 -1
- package/dist/app/assets/{coq-K-m5AUlH.js → coq-D28Kf8H7.js} +1 -1
- package/dist/app/assets/{core-BPN6CWxM.js → core-CkMLmhj1.js} +1 -1
- package/dist/app/assets/{cose-bilkent-S5V4N54A-Dr0iADox.js → cose-bilkent-S5V4N54A-Bnbhbxn8.js} +1 -1
- package/dist/app/assets/{cpp-BCnzQvRU.js → cpp-DMtEaL9D.js} +1 -1
- package/dist/app/assets/{crystal-PCOcWoSI.js → crystal-BPv3cq00.js} +1 -1
- package/dist/app/assets/{csharp-8stZQY6C.js → csharp-CogydNTP.js} +1 -1
- package/dist/app/assets/{cshtml-DoI3CcDS.js → cshtml-DwKZdXN4.js} +1 -1
- package/dist/app/assets/{csp-BKUbys7F.js → csp-EdkmOQr2.js} +1 -1
- package/dist/app/assets/{css-0jn1p1e6.js → css-GGj7gjJp.js} +1 -1
- package/dist/app/assets/{css-extras-BjUA2auB.js → css-extras-_xrLQVK9.js} +1 -1
- package/dist/app/assets/{csv-ChtyJ7Mw.js → csv-DQnF4IQS.js} +1 -1
- package/dist/app/assets/{cypher-BSoDMy4m.js → cypher-mlTzP2DC.js} +1 -1
- package/dist/app/assets/{d-CAzhRG-Z.js → d-CA6ua4gG.js} +1 -1
- package/dist/app/assets/{dagre-KV5264BT-BSVO3dNV.js → dagre-KV5264BT-2pUvoHnZ.js} +1 -1
- package/dist/app/assets/{dart-C8bLX20e.js → dart-BSRdjoJD.js} +1 -1
- package/dist/app/assets/{dataweave-Dmo6CZIu.js → dataweave-CTK9G89H.js} +1 -1
- package/dist/app/assets/{dax-CmqnMRUH.js → dax-CLAaspXf.js} +1 -1
- package/dist/app/assets/{dhall-QKB0WE21.js → dhall-DvmFF2lw.js} +1 -1
- package/dist/app/assets/{diagram-5BDNPKRD-r0Fz26nD.js → diagram-5BDNPKRD--2m-CBif.js} +1 -1
- package/dist/app/assets/{diagram-G4DWMVQ6-tVV9XZ9V.js → diagram-G4DWMVQ6-xfTAcTBK.js} +1 -1
- package/dist/app/assets/{diagram-MMDJMWI5-B9rbYdY4.js → diagram-MMDJMWI5-DJ9-7Sko.js} +1 -1
- package/dist/app/assets/{diagram-TYMM5635-Dsm73wxz.js → diagram-TYMM5635-Dbu04dwS.js} +1 -1
- package/dist/app/assets/{diff-PAv23eqQ.js → diff-DexI-NjF.js} +1 -1
- package/dist/app/assets/{django-BIrl2Lvz.js → django-BJtz28yd.js} +1 -1
- package/dist/app/assets/{dns-zone-file-ClLpdqMT.js → dns-zone-file-C-rZlLjq.js} +1 -1
- package/dist/app/assets/{docker-BDozNG3x.js → docker-D3zkJQBB.js} +1 -1
- package/dist/app/assets/{dot-I-WZKdgb.js → dot-CYyhO0AU.js} +1 -1
- package/dist/app/assets/{ebnf-DkRUuKnr.js → ebnf-DRQkwE29.js} +1 -1
- package/dist/app/assets/{editorconfig-BmLG6Etr.js → editorconfig-BqLWNpRj.js} +1 -1
- package/dist/app/assets/{eiffel-Bm2GdSQ2.js → eiffel-C9PIq1yy.js} +1 -1
- package/dist/app/assets/{ejs-C48N5ZIG.js → ejs-B6_5mrfN.js} +1 -1
- package/dist/app/assets/{elixir-CdyVGNb8.js → elixir-jtsDOmKm.js} +1 -1
- package/dist/app/assets/{elm-CkQhPVjT.js → elm-DRbXA7ir.js} +1 -1
- package/dist/app/assets/{erDiagram-SMLLAGMA-Hyk82Vhv.js → erDiagram-SMLLAGMA-CrI2ZkzN.js} +1 -1
- package/dist/app/assets/{erb-BX1eAGBM.js → erb-G2oGuDtf.js} +1 -1
- package/dist/app/assets/{erlang-Czbnuk55.js → erlang-CT-pjUEp.js} +1 -1
- package/dist/app/assets/{etlua-i8hW4tPr.js → etlua-qmLyJp4f.js} +1 -1
- package/dist/app/assets/{excel-formula-CyZOfUTa.js → excel-formula-3pfMQM_6.js} +1 -1
- package/dist/app/assets/{factor-AjGk3DF8.js → factor-Bo9zUudA.js} +1 -1
- package/dist/app/assets/{false-GhEvxGmO.js → false-oN6u3jCd.js} +1 -1
- package/dist/app/assets/{firestore-security-rules-BjwnXyDp.js → firestore-security-rules-CtzUeAWq.js} +1 -1
- package/dist/app/assets/{flow-h4-WME33.js → flow-nzq0GfkM.js} +1 -1
- package/dist/app/assets/{flowDiagram-DWJPFMVM-BHEn2Y5w.js → flowDiagram-DWJPFMVM-CGpnDmCG.js} +1 -1
- package/dist/app/assets/{fortran-8lcbfijs.js → fortran-DVeArHMZ.js} +1 -1
- package/dist/app/assets/{fsharp-x47H8jRh.js → fsharp--fFnup68.js} +1 -1
- package/dist/app/assets/{ftl-DBidAr07.js → ftl-BMxP4X-x.js} +1 -1
- package/dist/app/assets/{ganttDiagram-T4ZO3ILL-eZ852Es7.js → ganttDiagram-T4ZO3ILL-CCTn88VZ.js} +1 -1
- package/dist/app/assets/{gap-gWkYaxLH.js → gap-B7zirCOJ.js} +1 -1
- package/dist/app/assets/{gcode-C-XTnxAD.js → gcode-CQFJN_Te.js} +1 -1
- package/dist/app/assets/{gdscript-D4fLzJ7v.js → gdscript-BTRKMIlE.js} +1 -1
- package/dist/app/assets/{gedcom-D1MSjhRT.js → gedcom-4Y3UUWcB.js} +1 -1
- package/dist/app/assets/{gherkin-BO4O8Wru.js → gherkin-DK5Y4NpK.js} +1 -1
- package/dist/app/assets/{git-ClZL4XcF.js → git-DD3NDd7U.js} +1 -1
- package/dist/app/assets/{gitGraphDiagram-UUTBAWPF-C8frR-gR.js → gitGraphDiagram-UUTBAWPF-nEeDINSI.js} +1 -1
- package/dist/app/assets/{glsl-BqI-_xG4.js → glsl-BCT9m8QS.js} +1 -1
- package/dist/app/assets/{gml-0_OiiWgt.js → gml-CCB73B6Z.js} +1 -1
- package/dist/app/assets/{gn-D1DB4wuu.js → gn-BIFCrkIE.js} +1 -1
- package/dist/app/assets/{go-DRI0xPfv.js → go-dyQD8YyU.js} +1 -1
- package/dist/app/assets/{go-module-BPPYgWaf.js → go-module-BXpIFu8x.js} +1 -1
- package/dist/app/assets/{graph-jtjuwIYJ.js → graph-wLpqxdfC.js} +1 -1
- package/dist/app/assets/{graphql-B8Ir2w1r.js → graphql-D-ZoQblr.js} +1 -1
- package/dist/app/assets/{groovy-CmNBOym9.js → groovy-CHjkA2bW.js} +1 -1
- package/dist/app/assets/{haml-Bj89_11G.js → haml-ghcX4l2W.js} +1 -1
- package/dist/app/assets/{handlebars-bpf-b1uX.js → handlebars-x0LtkeUm.js} +1 -1
- package/dist/app/assets/{haskell-BmbX5r9j.js → haskell-B-bDSuV-.js} +1 -1
- package/dist/app/assets/{haxe-KC1m6Yfs.js → haxe-Vm5mZw57.js} +1 -1
- package/dist/app/assets/{hcl-CauJ5syT.js → hcl-CGN3jDav.js} +1 -1
- package/dist/app/assets/{hlsl-E3IzTavQ.js → hlsl-DMKySN6W.js} +1 -1
- package/dist/app/assets/{hoon-DYduWlDF.js → hoon-3jplpPAg.js} +1 -1
- package/dist/app/assets/{hpkp-CPZobS10.js → hpkp-DMJ5jXpf.js} +1 -1
- package/dist/app/assets/{hsts-CdUv0r9h.js → hsts-CKBkWb38.js} +1 -1
- package/dist/app/assets/{http-UkfqLxHn.js → http-97sq51fE.js} +1 -1
- package/dist/app/assets/{ichigojam-BXaYi-NN.js → ichigojam-CZ6nOPE1.js} +1 -1
- package/dist/app/assets/{icon-DVY6xV3b.js → icon-CDqvp1g4.js} +1 -1
- package/dist/app/assets/{icu-message-format-CvZ8c2Q6.js → icu-message-format-BjYuZ-Om.js} +1 -1
- package/dist/app/assets/{idris-BzuUwcAy.js → idris-pEOqm1H_.js} +1 -1
- package/dist/app/assets/{iecst-CIwIsrrB.js → iecst-CRrTHf_1.js} +1 -1
- package/dist/app/assets/{ignore-CE_RoV3v.js → ignore-CxkUxQmB.js} +1 -1
- package/dist/app/assets/{index-Cbwlowa6.css → index-Cb5pIUJX.css} +1 -1
- package/dist/app/assets/{index-K4ACjQ4z.js → index-n0Xlprbh.js} +171 -171
- package/dist/app/assets/{infoDiagram-42DDH7IO-jLRXuR7y.js → infoDiagram-42DDH7IO-C8jVtFvE.js} +1 -1
- package/dist/app/assets/{inform7-2Ky29vPV.js → inform7-CJDC1PVH.js} +1 -1
- package/dist/app/assets/{ini-pzovWlWw.js → ini-BP8l3Q_m.js} +1 -1
- package/dist/app/assets/{io-DbXj-2n3.js → io-L3Lj4xsH.js} +1 -1
- package/dist/app/assets/{ishikawaDiagram-UXIWVN3A-CqnaMA1B.js → ishikawaDiagram-UXIWVN3A-BCChdzZf.js} +1 -1
- package/dist/app/assets/{j-BTi0-Ndk.js → j-BkUK2Ldb.js} +1 -1
- package/dist/app/assets/{java-D3h3eulz.js → java-lKbQcHmi.js} +1 -1
- package/dist/app/assets/{javadoc-BcY94P5A.js → javadoc-CkX_P5bm.js} +1 -1
- package/dist/app/assets/{javadoclike-B-oibrTg.js → javadoclike-DKo0tRDk.js} +1 -1
- package/dist/app/assets/{javascript-BO58mIYT.js → javascript-JBI-h3GD.js} +1 -1
- package/dist/app/assets/{javastacktrace-D4LNuQQI.js → javastacktrace-DuXSjAnS.js} +1 -1
- package/dist/app/assets/{jexl-BYTP-082.js → jexl-txJd9uA8.js} +1 -1
- package/dist/app/assets/{jolie-DT19e3xU.js → jolie-BHXVY7fU.js} +1 -1
- package/dist/app/assets/{journeyDiagram-VCZTEJTY-CcMgjqdN.js → journeyDiagram-VCZTEJTY-DgqozfYW.js} +1 -1
- package/dist/app/assets/{jq-BKWCQVpC.js → jq-Csyhu6Mu.js} +1 -1
- package/dist/app/assets/{js-extras-DpgaBeGa.js → js-extras-hN_zFrKs.js} +1 -1
- package/dist/app/assets/{js-templates-xh0zMX88.js → js-templates-CKV7gOwt.js} +1 -1
- package/dist/app/assets/{jsdoc-C-GvvPlU.js → jsdoc-DvQtkqGY.js} +1 -1
- package/dist/app/assets/{json-B-VU32ZP.js → json-BWJc5nIm.js} +1 -1
- package/dist/app/assets/{json5-ghPj_aB9.js → json5-SIZfmxdY.js} +1 -1
- package/dist/app/assets/{jsonp-CA6i5De0.js → jsonp-BCZTSaV5.js} +1 -1
- package/dist/app/assets/{jsstacktrace-C7QFMHEB.js → jsstacktrace-gzJEwbAz.js} +1 -1
- package/dist/app/assets/{jsx-nL-WQ214.js → jsx-CjDjGsx0.js} +1 -1
- package/dist/app/assets/{julia-Be5ZIobg.js → julia-D7oaevR9.js} +1 -1
- package/dist/app/assets/{kanban-definition-6JOO6SKY-Cq35Qt7t.js → kanban-definition-6JOO6SKY-IxcIrcgX.js} +1 -1
- package/dist/app/assets/{keepalived-D6qmVKo9.js → keepalived-Cd4E72kG.js} +1 -1
- package/dist/app/assets/{keyman-DnTqkRT5.js → keyman-CnnhX5FN.js} +1 -1
- package/dist/app/assets/{kotlin-DB6tjcPY.js → kotlin-Bb9joIt9.js} +1 -1
- package/dist/app/assets/{kumir-BjeRoKMR.js → kumir-2AUUqPdZ.js} +1 -1
- package/dist/app/assets/{kusto-kCMj8FOy.js → kusto-BYT2Y4Ec.js} +1 -1
- package/dist/app/assets/{latex-BISFNoUQ.js → latex-C7vJjHLG.js} +1 -1
- package/dist/app/assets/{latte-B_3smOZu.js → latte-B40IhbBN.js} +1 -1
- package/dist/app/assets/{layout-UzqCfMri.js → layout-JYzSZ2a2.js} +1 -1
- package/dist/app/assets/{less-qcoyfYC_.js → less-CfVevww_.js} +1 -1
- package/dist/app/assets/{lilypond-BGKf1i8c.js → lilypond-Car5OZdt.js} +1 -1
- package/dist/app/assets/{linear-C8-0wxbN.js → linear-C52-vlD3.js} +1 -1
- package/dist/app/assets/{liquid-VrWadSAy.js → liquid-B5H1JE3W.js} +1 -1
- package/dist/app/assets/{lisp-BTjWqNUW.js → lisp-CzR77rD6.js} +1 -1
- package/dist/app/assets/{livescript-vNFWwp4N.js → livescript-DaurQsHd.js} +1 -1
- package/dist/app/assets/{llvm-WK7Im8Mx.js → llvm-HQsMJlhb.js} +1 -1
- package/dist/app/assets/{log-DMYT40mt.js → log-p-v4zt5b.js} +1 -1
- package/dist/app/assets/{lolcode-CXH2FuUZ.js → lolcode-BUEwX00W.js} +1 -1
- package/dist/app/assets/{lua-DTO5WHxq.js → lua-BMmOVEjM.js} +1 -1
- package/dist/app/assets/{magma-C6sMADdo.js → magma-B8nyW6y4.js} +1 -1
- package/dist/app/assets/{makefile-MHxAMV3D.js → makefile-DcXOWSLr.js} +1 -1
- package/dist/app/assets/{markdown-DdIbK-8L.js → markdown-DLWYEU3e.js} +1 -1
- package/dist/app/assets/{markup-BpeZ9wWy.js → markup-jsuSUme0.js} +1 -1
- package/dist/app/assets/{markup-templating-XqCbme63.js → markup-templating-Dm7qXJKw.js} +1 -1
- package/dist/app/assets/{matlab-CHbXjcdv.js → matlab-C0-FOdqd.js} +1 -1
- package/dist/app/assets/{maxscript-BRuyQF1I.js → maxscript-Cfo0XQkR.js} +1 -1
- package/dist/app/assets/{mel-BcIjgiPy.js → mel-DOCIJjQg.js} +1 -1
- package/dist/app/assets/{mermaid-BwSr1PTU.js → mermaid-BflTtQG8.js} +1 -1
- package/dist/app/assets/{min-0Lnqk-bR.js → min-C1ji-XBz.js} +1 -1
- package/dist/app/assets/{mindmap-definition-QFDTVHPH-Czt6NaQN.js → mindmap-definition-QFDTVHPH-B5ikGBES.js} +1 -1
- package/dist/app/assets/{mizar-CJjkeZOv.js → mizar-Bts2s8Hn.js} +1 -1
- package/dist/app/assets/{mongodb-Bvun4Ap6.js → mongodb-DQXudfKX.js} +1 -1
- package/dist/app/assets/{monkey-DM3r0SVF.js → monkey-DrRHqOn1.js} +1 -1
- package/dist/app/assets/{moonscript-D3eFbTEw.js → moonscript-C7Xd-yhU.js} +1 -1
- package/dist/app/assets/{n1ql-BZE9FAr-.js → n1ql-B_wltsIt.js} +1 -1
- package/dist/app/assets/{n4js-CCsMwPzQ.js → n4js-BzoEPRsS.js} +1 -1
- package/dist/app/assets/{nand2tetris-hdl-CLHhLnG9.js → nand2tetris-hdl-DC6szN4I.js} +1 -1
- package/dist/app/assets/{naniscript-FORkZo6J.js → naniscript-Dtp-YV0U.js} +1 -1
- package/dist/app/assets/{nasm-BVjxa0dX.js → nasm-0VzUWfWE.js} +1 -1
- package/dist/app/assets/{neon-BerzZa9H.js → neon-7L9mJ622.js} +1 -1
- package/dist/app/assets/{nevod-C36hu5IO.js → nevod-_UYv_FLm.js} +1 -1
- package/dist/app/assets/{nginx-DLJurC-F.js → nginx-DjVc7ZO-.js} +1 -1
- package/dist/app/assets/{nim-NwqzdBl9.js → nim-DLWLAJSB.js} +1 -1
- package/dist/app/assets/{nix-BMYba5OL.js → nix-Biu8zxbr.js} +1 -1
- package/dist/app/assets/{nsis-Ujsj5qWO.js → nsis-dCQyknmT.js} +1 -1
- package/dist/app/assets/{objectivec-D9Q7nqP2.js → objectivec-CSM9DCwb.js} +1 -1
- package/dist/app/assets/{ocaml-0Gb9yc-E.js → ocaml-CH0AuJ_r.js} +1 -1
- package/dist/app/assets/{opencl-d0g4CU-6.js → opencl-JabGmje3.js} +1 -1
- package/dist/app/assets/{openqasm-DNBbFf10.js → openqasm-BGt4V7bR.js} +1 -1
- package/dist/app/assets/{oz-DeAjfWVk.js → oz-DbIu1th5.js} +1 -1
- package/dist/app/assets/{parigp-Cw6GMagO.js → parigp-xeAu0pqa.js} +1 -1
- package/dist/app/assets/{parser-Ba1N4m09.js → parser-BWTLDUYa.js} +1 -1
- package/dist/app/assets/{pascal-BljwjmQz.js → pascal-D17KeDTg.js} +1 -1
- package/dist/app/assets/{pascaligo-VB7Esces.js → pascaligo-D2OO9Rgu.js} +1 -1
- package/dist/app/assets/{pcaxis-DHF2QJXb.js → pcaxis-BcB430lz.js} +1 -1
- package/dist/app/assets/{peoplecode-BQEEpmUe.js → peoplecode-Y2S6Vb55.js} +1 -1
- package/dist/app/assets/{perl-DrBS0LCy.js → perl-DS-n0m7F.js} +1 -1
- package/dist/app/assets/{php-D370JUMP.js → php--G5fMCND.js} +1 -1
- package/dist/app/assets/{php-extras-CwDe0jZp.js → php-extras-CaqAl_Dh.js} +1 -1
- package/dist/app/assets/{phpdoc-CiOrW7MP.js → phpdoc-DLIcyuW1.js} +1 -1
- package/dist/app/assets/{pieDiagram-DEJITSTG-BRjK7KVl.js → pieDiagram-DEJITSTG-BhkQtnMG.js} +1 -1
- package/dist/app/assets/{plsql-xdpA00BW.js → plsql-Fq8oOWwI.js} +1 -1
- package/dist/app/assets/{powerquery-jWWzzeeK.js → powerquery-CeNFj3PH.js} +1 -1
- package/dist/app/assets/{powershell-8uimM5sM.js → powershell-DX9U9N7r.js} +1 -1
- package/dist/app/assets/{processing-QSbqrBCn.js → processing-DkdV2LdA.js} +1 -1
- package/dist/app/assets/{prolog-DL94VsoQ.js → prolog-BQyE7F2m.js} +1 -1
- package/dist/app/assets/{promql-CzzP70Zz.js → promql-CO35w8Xd.js} +1 -1
- package/dist/app/assets/{properties-qQG5igrW.js → properties-CD226fdu.js} +1 -1
- package/dist/app/assets/{protobuf-BMTN4S9X.js → protobuf-D44q9Zcx.js} +1 -1
- package/dist/app/assets/{psl-D-6m76lq.js → psl-BKaJpoBk.js} +1 -1
- package/dist/app/assets/{pug-DuQ38-Bu.js → pug-DXId-Es4.js} +1 -1
- package/dist/app/assets/{puppet-C9WbrmQV.js → puppet-B6U3R2i1.js} +1 -1
- package/dist/app/assets/{pure-4TCyYwSK.js → pure-C6n52fSg.js} +1 -1
- package/dist/app/assets/{purebasic-CFKj-9Sf.js → purebasic-BSRzkysO.js} +1 -1
- package/dist/app/assets/{purescript-C9U7bAYn.js → purescript-ac4_QHhP.js} +1 -1
- package/dist/app/assets/{q-CvrKcy9d.js → q-n7P06m3R.js} +1 -1
- package/dist/app/assets/{qml-BW7AUG_7.js → qml-Bsb9t-6f.js} +1 -1
- package/dist/app/assets/{qore-DRUD9M-d.js → qore-BY0sM7Wa.js} +1 -1
- package/dist/app/assets/{qsharp-D39YPxDq.js → qsharp-DwMCUEEj.js} +1 -1
- package/dist/app/assets/{quadrantDiagram-34T5L4WZ-DS1LrnIG.js → quadrantDiagram-34T5L4WZ-BciQCjKx.js} +1 -1
- package/dist/app/assets/{r-CEg2k6Yb.js → r-wuXzKN8w.js} +1 -1
- package/dist/app/assets/{racket-DRPtpMsj.js → racket-EWJYOBhv.js} +1 -1
- package/dist/app/assets/{reason-B-qXU4Et.js → reason-b1aTIbDw.js} +1 -1
- package/dist/app/assets/{regex-CsSf1Cfz.js → regex-BT-NVms-.js} +1 -1
- package/dist/app/assets/{rego-VXXsVyGE.js → rego-BkXfmH_T.js} +1 -1
- package/dist/app/assets/{renpy-DWC5VEN0.js → renpy-CWSfrITs.js} +1 -1
- package/dist/app/assets/{requirementDiagram-MS252O5E-D1yFOIdt.js → requirementDiagram-MS252O5E-Bw_GMi8G.js} +1 -1
- package/dist/app/assets/{rest-pDe65Ctt.js → rest-CSIS2oaI.js} +1 -1
- package/dist/app/assets/{rip-CorRnEGq.js → rip-DA5e5rbA.js} +1 -1
- package/dist/app/assets/{roboconf-X3eSl5BY.js → roboconf-CGLShPJZ.js} +1 -1
- package/dist/app/assets/{robotframework-CLWOblVK.js → robotframework-AuJ8NHH8.js} +1 -1
- package/dist/app/assets/{ruby-BhHizLUq.js → ruby-Dmo3oqYL.js} +1 -1
- package/dist/app/assets/{rust-KwCeAwDB.js → rust-Yh4xDsPl.js} +1 -1
- package/dist/app/assets/{sankeyDiagram-XADWPNL6-CS4A3riG.js → sankeyDiagram-XADWPNL6-CwpL5Ag9.js} +1 -1
- package/dist/app/assets/{sas-BmKpi8uz.js → sas-BajPfouh.js} +1 -1
- package/dist/app/assets/{sass-CLAJxgWV.js → sass-BZ3IyTf0.js} +1 -1
- package/dist/app/assets/{scala-4qkXqdFC.js → scala-BJGdd8vd.js} +1 -1
- package/dist/app/assets/{scheme-CTDiZrIF.js → scheme-tmXEra4U.js} +1 -1
- package/dist/app/assets/{scss-DsALC5OO.js → scss-Dz5CBs5F.js} +1 -1
- package/dist/app/assets/{sequenceDiagram-FGHM5R23-DSBN2T81.js → sequenceDiagram-FGHM5R23-Zb9ONvzy.js} +1 -1
- package/dist/app/assets/{shell-session-CqKsOgW8.js → shell-session-U_ooQzX-.js} +1 -1
- package/dist/app/assets/{smali-CYK2pUFw.js → smali-DMhdPO_F.js} +1 -1
- package/dist/app/assets/{smalltalk-DISzpnYr.js → smalltalk-CtwqxdOy.js} +1 -1
- package/dist/app/assets/{smarty-B918-r7L.js → smarty-B-_Ggfpm.js} +1 -1
- package/dist/app/assets/{sml-Bw6IzkGv.js → sml-Bvj3KzUv.js} +1 -1
- package/dist/app/assets/{solidity-DEB3Gm9H.js → solidity-CRfpXCnL.js} +1 -1
- package/dist/app/assets/{solution-file-D2zyqypa.js → solution-file-CYfvOj9X.js} +1 -1
- package/dist/app/assets/{soy-CpF2ALZg.js → soy-DoUU5YOQ.js} +1 -1
- package/dist/app/assets/{sparql-Dqur228Z.js → sparql-BRk34Rn9.js} +1 -1
- package/dist/app/assets/{splunk-spl-BO5UN_pw.js → splunk-spl-C5FnseSI.js} +1 -1
- package/dist/app/assets/{sqf-sPq7XmN4.js → sqf-BeyFDkm3.js} +1 -1
- package/dist/app/assets/{sql-BBIgkG9I.js → sql-D-HqwAd-.js} +1 -1
- package/dist/app/assets/{squirrel-C3Y2wlu3.js → squirrel-cZQ0YNSS.js} +1 -1
- package/dist/app/assets/{stan-CkTG-keH.js → stan-zqHKC64S.js} +1 -1
- package/dist/app/assets/{stateDiagram-FHFEXIEX-BYk7Q44w.js → stateDiagram-FHFEXIEX-CyoWPE1S.js} +1 -1
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-3eYSeZ9d.js +1 -0
- package/dist/app/assets/{stylus-DP6fiucU.js → stylus-jeXHFpb6.js} +1 -1
- package/dist/app/assets/{swift-BcIJhU7i.js → swift-DD5qP3LK.js} +1 -1
- package/dist/app/assets/{systemd-Bj9qapvn.js → systemd-dyYpUoVh.js} +1 -1
- package/dist/app/assets/{t4-cs-BTnkg25r.js → t4-cs-DdzwIItd.js} +1 -1
- package/dist/app/assets/{t4-templating-DiW6oGqQ.js → t4-templating-7MUBL1iq.js} +1 -1
- package/dist/app/assets/{t4-vb-UTyjg4tp.js → t4-vb-WExQNH7h.js} +1 -1
- package/dist/app/assets/{tap-Ed_xTklo.js → tap-BK66GXcT.js} +1 -1
- package/dist/app/assets/{tcl-Bk-ZoOG4.js → tcl-CX-Ne5lF.js} +1 -1
- package/dist/app/assets/{textile-CZj_khpd.js → textile-ByimrlEC.js} +1 -1
- package/dist/app/assets/{timeline-definition-GMOUNBTQ-CeAunyIF.js → timeline-definition-GMOUNBTQ-uUI7-tyD.js} +1 -1
- package/dist/app/assets/{toml-DYW5oVzI.js → toml-BLYx3Nck.js} +1 -1
- package/dist/app/assets/{tremor-DqPTkwAU.js → tremor-18nu0iOH.js} +1 -1
- package/dist/app/assets/{tt2-BD6llK6C.js → tt2-bzqhHd_O.js} +1 -1
- package/dist/app/assets/{turtle-D_VxYd_W.js → turtle-Cjm_9khs.js} +1 -1
- package/dist/app/assets/{twig-Dp8VfvZl.js → twig-D0iQcF_6.js} +1 -1
- package/dist/app/assets/{typescript-BflqNmQF.js → typescript-2OfP3mlH.js} +1 -1
- package/dist/app/assets/{typoscript-DtJO34ZB.js → typoscript-BsOytkAv.js} +1 -1
- package/dist/app/assets/{unrealscript-C8jPXtsj.js → unrealscript-BWxPoPCn.js} +1 -1
- package/dist/app/assets/{uorazor-CFPzPUXg.js → uorazor-CscffpjI.js} +1 -1
- package/dist/app/assets/{uri-DkdlxU1G.js → uri-DoCyUAH6.js} +1 -1
- package/dist/app/assets/{v-DTkby2kG.js → v-BTNlJKoZ.js} +1 -1
- package/dist/app/assets/{vala-CMDYTOwJ.js → vala-DiIqhFLn.js} +1 -1
- package/dist/app/assets/{vbnet-C_hZunWX.js → vbnet-CBoOr9B0.js} +1 -1
- package/dist/app/assets/{velocity-CnCTb2IA.js → velocity-X1I_pFrR.js} +1 -1
- package/dist/app/assets/{vennDiagram-DHZGUBPP-RtCFamqG.js → vennDiagram-DHZGUBPP-B-52fvBA.js} +1 -1
- package/dist/app/assets/{verilog-Czz1q-oU.js → verilog-LAXVYlck.js} +1 -1
- package/dist/app/assets/{vhdl-BdvfiRn7.js → vhdl-CXjkeBYt.js} +1 -1
- package/dist/app/assets/{vim-BAHRwEe_.js → vim-prtu90pQ.js} +1 -1
- package/dist/app/assets/{visual-basic-ncSLJSP6.js → visual-basic-B3Hd0Gdb.js} +1 -1
- package/dist/app/assets/{wardley-RL74JXVD-CHg_zFkP.js → wardley-RL74JXVD-BZVhJWb7.js} +1 -1
- package/dist/app/assets/{wardleyDiagram-NUSXRM2D-Dqzg24WO.js → wardleyDiagram-NUSXRM2D-Cm0ghnek.js} +1 -1
- package/dist/app/assets/{warpscript-DCQ764w0.js → warpscript-0VPXBfCe.js} +1 -1
- package/dist/app/assets/{wasm-DljWD0od.js → wasm-6RzyTp2Y.js} +1 -1
- package/dist/app/assets/{web-idl-CThAM-QS.js → web-idl-rCsaK0nr.js} +1 -1
- package/dist/app/assets/{wiki-C3uvDTr2.js → wiki-FlEbAGMc.js} +1 -1
- package/dist/app/assets/{wolfram-WsMOhYXr.js → wolfram-DFlSzi0Z.js} +1 -1
- package/dist/app/assets/{wren-DZHglD0d.js → wren-CRHW6GG3.js} +1 -1
- package/dist/app/assets/{xeora-CAu8qySL.js → xeora-BcvzW0pz.js} +1 -1
- package/dist/app/assets/{xml-doc-hgEvDErD.js → xml-doc-DzJzyzOc.js} +1 -1
- package/dist/app/assets/{xojo-DaKqUssi.js → xojo-CX4Uo-V_.js} +1 -1
- package/dist/app/assets/{xquery-BHjeD6a0.js → xquery-Cm_nyuyl.js} +1 -1
- package/dist/app/assets/{xychartDiagram-5P7HB3ND-DT88cvNy.js → xychartDiagram-5P7HB3ND-CeOBdBC2.js} +1 -1
- package/dist/app/assets/{yaml-BIt0fEmx.js → yaml-zn_2tPBx.js} +1 -1
- package/dist/app/assets/{yang-DXnDsOeM.js → yang-9OrfznQV.js} +1 -1
- package/dist/app/assets/{zig-DcqFuGKI.js → zig-DwTTGKoo.js} +1 -1
- package/dist/app/index.html +2 -2
- package/dist/index.cjs +233 -109
- package/dist/index.js +230 -106
- package/package.json +3 -3
- package/dist/app/assets/channel-B4rIZFfB.js +0 -1
- package/dist/app/assets/classDiagram-6PBFFD2Q-BOgbMClZ.js +0 -1
- package/dist/app/assets/classDiagram-v2-HSJHXN6E-BOgbMClZ.js +0 -1
- package/dist/app/assets/clone-Bdj7TN-g.js +0 -1
- package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-Dr657chO.js +0 -1
package/dist/index.cjs
CHANGED
|
@@ -88,6 +88,12 @@ var THEME_PANEL_RADIUS_PRESET_CLASS = {
|
|
|
88
88
|
soft: "rounded-lg",
|
|
89
89
|
sharp: "rounded-none"
|
|
90
90
|
};
|
|
91
|
+
var THEME_COMPOSER_INPUT_RADIUS_PRESET_CLASS = {
|
|
92
|
+
pill: "rounded-3xl",
|
|
93
|
+
round: "rounded-xl",
|
|
94
|
+
soft: "rounded-lg",
|
|
95
|
+
sharp: "rounded-none"
|
|
96
|
+
};
|
|
91
97
|
var THEME_MENU_ITEM_RADIUS_PRESET_CLASS = {
|
|
92
98
|
pill: "rounded-xl",
|
|
93
99
|
round: "rounded-lg",
|
|
@@ -100,6 +106,13 @@ function getRoundedClass(themeRadius, fallback = "rounded-full") {
|
|
|
100
106
|
function getPanelRoundedClass(themeRadius, fallback = "soft") {
|
|
101
107
|
return THEME_PANEL_RADIUS_PRESET_CLASS[themeRadius ?? fallback];
|
|
102
108
|
}
|
|
109
|
+
function getComposerInputRoundedClass(themeRadius, options = {}) {
|
|
110
|
+
const radius = themeRadius ?? options.fallback ?? "round";
|
|
111
|
+
if (radius === "pill" && options.isEmpty && !options.isStacked) {
|
|
112
|
+
return "rounded-full";
|
|
113
|
+
}
|
|
114
|
+
return THEME_COMPOSER_INPUT_RADIUS_PRESET_CLASS[radius];
|
|
115
|
+
}
|
|
103
116
|
function getMenuItemRoundedClass(themeRadius, fallback = "soft") {
|
|
104
117
|
return THEME_MENU_ITEM_RADIUS_PRESET_CLASS[themeRadius ?? fallback];
|
|
105
118
|
}
|
|
@@ -281,7 +294,7 @@ var import_react2 = require("react");
|
|
|
281
294
|
|
|
282
295
|
// src/providers/ParentMessenger.tsx
|
|
283
296
|
var import_react = require("react");
|
|
284
|
-
var
|
|
297
|
+
var import_chatkit_types3 = require("@xpert-ai/chatkit-types");
|
|
285
298
|
|
|
286
299
|
// src/hooks/useStream.ts
|
|
287
300
|
var streamRef = { current: null };
|
|
@@ -295,6 +308,9 @@ function useStreamManager() {
|
|
|
295
308
|
};
|
|
296
309
|
}
|
|
297
310
|
|
|
311
|
+
// src/lib/message-metadata.ts
|
|
312
|
+
var import_chatkit_types2 = require("@xpert-ai/chatkit-types");
|
|
313
|
+
|
|
298
314
|
// src/lib/references.ts
|
|
299
315
|
function isObjectLike(value) {
|
|
300
316
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -591,6 +607,33 @@ function buildHumanMessageInputPayload(source) {
|
|
|
591
607
|
};
|
|
592
608
|
}
|
|
593
609
|
|
|
610
|
+
// src/lib/message-metadata.ts
|
|
611
|
+
function isObjectRecord(value) {
|
|
612
|
+
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
613
|
+
}
|
|
614
|
+
function isStringArray(value) {
|
|
615
|
+
return Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
616
|
+
}
|
|
617
|
+
function isSkillSelection(value) {
|
|
618
|
+
if (!isObjectRecord(value)) {
|
|
619
|
+
return false;
|
|
620
|
+
}
|
|
621
|
+
return isStringArray(value.ids) && (value.workspaceId === void 0 || typeof value.workspaceId === "string");
|
|
622
|
+
}
|
|
623
|
+
function isNodeKeySelection(value) {
|
|
624
|
+
return isObjectRecord(value) && isStringArray(value.nodeKeys);
|
|
625
|
+
}
|
|
626
|
+
function isRuntimeCapabilitiesSelectionSet(value) {
|
|
627
|
+
return isObjectRecord(value) && isSkillSelection(value.skills) && isNodeKeySelection(value.plugins) && (value.subAgents === void 0 || isNodeKeySelection(value.subAgents));
|
|
628
|
+
}
|
|
629
|
+
function isRuntimeCapabilitiesSelection(value) {
|
|
630
|
+
if (!isObjectRecord(value)) {
|
|
631
|
+
return false;
|
|
632
|
+
}
|
|
633
|
+
const selection = value;
|
|
634
|
+
return selection.mode === "allowlist" && isRuntimeCapabilitiesSelectionSet(selection) && (selection.recommended === void 0 || isRuntimeCapabilitiesSelectionSet(selection.recommended));
|
|
635
|
+
}
|
|
636
|
+
|
|
594
637
|
// src/providers/ParentMessenger.tsx
|
|
595
638
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
596
639
|
var handledSendUserMessageNonces = /* @__PURE__ */ new Set();
|
|
@@ -694,11 +737,11 @@ function ParentMessengerProvider({
|
|
|
694
737
|
handledSendUserMessageEvents.add(event);
|
|
695
738
|
}
|
|
696
739
|
const params = payload.data;
|
|
697
|
-
const prompt = typeof params.text === "string" ? params.text.trim() : typeof params.state?.[
|
|
740
|
+
const prompt = typeof params.text === "string" ? params.text.trim() : typeof params.state?.[import_chatkit_types3.STATE_VARIABLE_HUMAN]?.input === "string" ? params.state[import_chatkit_types3.STATE_VARIABLE_HUMAN].input.trim() : "";
|
|
698
741
|
const references = normalizeReferences(
|
|
699
|
-
params.references ?? params.state?.[
|
|
742
|
+
params.references ?? params.state?.[import_chatkit_types3.STATE_VARIABLE_HUMAN]?.references
|
|
700
743
|
);
|
|
701
|
-
const referenceComposition = params.referenceComposition ?? params.state?.[
|
|
744
|
+
const referenceComposition = params.referenceComposition ?? params.state?.[import_chatkit_types3.STATE_VARIABLE_HUMAN]?.referenceComposition;
|
|
702
745
|
const humanInput = buildHumanMessageInputPayload({
|
|
703
746
|
content: prompt,
|
|
704
747
|
references,
|
|
@@ -710,12 +753,14 @@ function ParentMessengerProvider({
|
|
|
710
753
|
}
|
|
711
754
|
return;
|
|
712
755
|
}
|
|
713
|
-
const
|
|
756
|
+
const runtimeCapabilitiesCandidate = params.runtimeCapabilities ?? params.state?.[import_chatkit_types3.STATE_VARIABLE_HUMAN]?.runtimeCapabilities;
|
|
757
|
+
const runtimeCapabilities = isRuntimeCapabilitiesSelection(
|
|
758
|
+
runtimeCapabilitiesCandidate
|
|
759
|
+
) ? runtimeCapabilitiesCandidate : void 0;
|
|
760
|
+
const requestHumanInput = params.planMode === true || params.state?.[import_chatkit_types3.STATE_VARIABLE_HUMAN]?.planMode === true || runtimeCapabilities ? {
|
|
714
761
|
...humanInput,
|
|
715
|
-
...params.planMode === true || params.state?.[
|
|
716
|
-
...
|
|
717
|
-
runtimeCapabilities: params.state[import_chatkit_types2.STATE_VARIABLE_HUMAN].runtimeCapabilities
|
|
718
|
-
} : {}
|
|
762
|
+
...params.planMode === true || params.state?.[import_chatkit_types3.STATE_VARIABLE_HUMAN]?.planMode === true ? { planMode: true } : {},
|
|
763
|
+
...runtimeCapabilities ? { runtimeCapabilities } : {}
|
|
719
764
|
} : humanInput;
|
|
720
765
|
const newMessage = {
|
|
721
766
|
id: createMessageId(),
|
|
@@ -723,7 +768,8 @@ function ParentMessengerProvider({
|
|
|
723
768
|
content: prompt,
|
|
724
769
|
submittedInput: humanInput.input,
|
|
725
770
|
...humanInput.referenceComposition ? { referenceComposition: humanInput.referenceComposition } : {},
|
|
726
|
-
...references.length > 0 ? { references } : {}
|
|
771
|
+
...references.length > 0 ? { references } : {},
|
|
772
|
+
...runtimeCapabilities ? { runtimeCapabilities } : {}
|
|
727
773
|
};
|
|
728
774
|
const stream = streamRef2.current;
|
|
729
775
|
const activeFollowUpMode = stream?.isLoading ? params.followUpMode && params.followUpMode !== "default" ? params.followUpMode : stream.followUpBehavior ?? "queue" : void 0;
|
|
@@ -1013,30 +1059,6 @@ function resolveUsedContextSize(options) {
|
|
|
1013
1059
|
return normalizeContextUsageNumber(options.fallbackUsedTokens) ?? 0;
|
|
1014
1060
|
}
|
|
1015
1061
|
|
|
1016
|
-
// src/lib/message-metadata.ts
|
|
1017
|
-
var import_chatkit_types3 = require("@xpert-ai/chatkit-types");
|
|
1018
|
-
function isObjectRecord(value) {
|
|
1019
|
-
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
1020
|
-
}
|
|
1021
|
-
function isStringArray(value) {
|
|
1022
|
-
return Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
1023
|
-
}
|
|
1024
|
-
function isSkillSelection(value) {
|
|
1025
|
-
if (!isObjectRecord(value)) {
|
|
1026
|
-
return false;
|
|
1027
|
-
}
|
|
1028
|
-
return isStringArray(value.ids) && (value.workspaceId === void 0 || typeof value.workspaceId === "string");
|
|
1029
|
-
}
|
|
1030
|
-
function isNodeKeySelection(value) {
|
|
1031
|
-
return isObjectRecord(value) && isStringArray(value.nodeKeys);
|
|
1032
|
-
}
|
|
1033
|
-
function isRuntimeCapabilitiesSelection(value) {
|
|
1034
|
-
if (!isObjectRecord(value)) {
|
|
1035
|
-
return false;
|
|
1036
|
-
}
|
|
1037
|
-
return value.mode === "allowlist" && isSkillSelection(value.skills) && isNodeKeySelection(value.plugins) && (value.subAgents === void 0 || isNodeKeySelection(value.subAgents));
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
1062
|
// src/lib/follow-ups.ts
|
|
1041
1063
|
function getComposerFollowUpShortcutLabels(queueShortcutLabel) {
|
|
1042
1064
|
return {
|
|
@@ -2220,6 +2242,39 @@ function uniqueStrings(values) {
|
|
|
2220
2242
|
new Set(values.map((value) => value.trim()).filter(Boolean))
|
|
2221
2243
|
);
|
|
2222
2244
|
}
|
|
2245
|
+
function getRuntimeCapabilitiesSelectionSet(selection) {
|
|
2246
|
+
return {
|
|
2247
|
+
skills: {
|
|
2248
|
+
...selection?.skills.workspaceId ? { workspaceId: selection.skills.workspaceId } : {},
|
|
2249
|
+
ids: uniqueStrings(selection?.skills.ids ?? [])
|
|
2250
|
+
},
|
|
2251
|
+
plugins: {
|
|
2252
|
+
nodeKeys: uniqueStrings(selection?.plugins.nodeKeys ?? [])
|
|
2253
|
+
},
|
|
2254
|
+
subAgents: {
|
|
2255
|
+
nodeKeys: uniqueStrings(selection?.subAgents?.nodeKeys ?? [])
|
|
2256
|
+
}
|
|
2257
|
+
};
|
|
2258
|
+
}
|
|
2259
|
+
function mergeRuntimeCapabilitiesSelectionSets(capabilities, ...sets) {
|
|
2260
|
+
const workspaceId = sets.find((set) => set?.skills.workspaceId)?.skills.workspaceId ?? capabilities.skills[0]?.workspaceId;
|
|
2261
|
+
return {
|
|
2262
|
+
skills: {
|
|
2263
|
+
...workspaceId ? { workspaceId } : {},
|
|
2264
|
+
ids: uniqueStrings(sets.flatMap((set) => set?.skills.ids ?? []))
|
|
2265
|
+
},
|
|
2266
|
+
plugins: {
|
|
2267
|
+
nodeKeys: uniqueStrings(
|
|
2268
|
+
sets.flatMap((set) => set?.plugins.nodeKeys ?? [])
|
|
2269
|
+
)
|
|
2270
|
+
},
|
|
2271
|
+
subAgents: {
|
|
2272
|
+
nodeKeys: uniqueStrings(
|
|
2273
|
+
sets.flatMap((set) => set?.subAgents?.nodeKeys ?? [])
|
|
2274
|
+
)
|
|
2275
|
+
}
|
|
2276
|
+
};
|
|
2277
|
+
}
|
|
2223
2278
|
function createEmptyRuntimeCapabilitiesSelection(capabilities) {
|
|
2224
2279
|
const workspaceId = capabilities?.skills[0]?.workspaceId;
|
|
2225
2280
|
return {
|
|
@@ -2255,25 +2310,56 @@ function createDefaultRuntimeCapabilitiesSelection(capabilities) {
|
|
|
2255
2310
|
};
|
|
2256
2311
|
}
|
|
2257
2312
|
function mergeRuntimeCapabilitiesSelections(capabilities, ...selections) {
|
|
2258
|
-
const
|
|
2313
|
+
const merged = mergeRuntimeCapabilitiesSelectionSets(
|
|
2314
|
+
capabilities,
|
|
2315
|
+
...selections.map(
|
|
2316
|
+
(selection) => selection ? getRuntimeCapabilitiesSelectionSet(selection) : null
|
|
2317
|
+
)
|
|
2318
|
+
);
|
|
2319
|
+
const recommended = mergeRuntimeCapabilitiesSelectionSets(
|
|
2320
|
+
capabilities,
|
|
2321
|
+
...selections.map((selection) => selection?.recommended)
|
|
2322
|
+
);
|
|
2259
2323
|
return {
|
|
2260
2324
|
mode: "allowlist",
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2325
|
+
...merged,
|
|
2326
|
+
...hasRuntimeCapabilitySelectionSet(recommended) ? { recommended } : {}
|
|
2327
|
+
};
|
|
2328
|
+
}
|
|
2329
|
+
function createRuntimeCapabilitiesForSubmit({
|
|
2330
|
+
capabilities,
|
|
2331
|
+
available,
|
|
2332
|
+
recommended
|
|
2333
|
+
}) {
|
|
2334
|
+
const recommendedSet = mergeRuntimeCapabilitiesSelectionSets(
|
|
2335
|
+
capabilities,
|
|
2336
|
+
recommended,
|
|
2337
|
+
recommended?.recommended
|
|
2338
|
+
);
|
|
2339
|
+
const merged = mergeRuntimeCapabilitiesSelectionSets(
|
|
2340
|
+
capabilities,
|
|
2341
|
+
available,
|
|
2342
|
+
recommendedSet
|
|
2343
|
+
);
|
|
2344
|
+
return {
|
|
2345
|
+
mode: "allowlist",
|
|
2346
|
+
...merged,
|
|
2347
|
+
...hasRuntimeCapabilitySelectionSet(recommendedSet) ? { recommended: recommendedSet } : {}
|
|
2348
|
+
};
|
|
2349
|
+
}
|
|
2350
|
+
function getRecommendedRuntimeCapabilitiesSelection(selection) {
|
|
2351
|
+
if (!selection?.recommended) {
|
|
2352
|
+
return null;
|
|
2353
|
+
}
|
|
2354
|
+
return {
|
|
2355
|
+
mode: "allowlist",
|
|
2356
|
+
...getRuntimeCapabilitiesSelectionSet(selection.recommended)
|
|
2357
|
+
};
|
|
2358
|
+
}
|
|
2359
|
+
function getAvailableRuntimeCapabilitiesSelection(selection) {
|
|
2360
|
+
return {
|
|
2361
|
+
mode: "allowlist",
|
|
2362
|
+
...getRuntimeCapabilitiesSelectionSet(selection)
|
|
2277
2363
|
};
|
|
2278
2364
|
}
|
|
2279
2365
|
function toggleRuntimeCapabilitySelection(selection, type, id, selected) {
|
|
@@ -2332,6 +2418,12 @@ function getRuntimeCapabilityOptions(capabilities) {
|
|
|
2332
2418
|
}))
|
|
2333
2419
|
];
|
|
2334
2420
|
}
|
|
2421
|
+
function hasRuntimeCapabilitySelectionSet(selection) {
|
|
2422
|
+
if (!selection) {
|
|
2423
|
+
return false;
|
|
2424
|
+
}
|
|
2425
|
+
return selection.skills.ids.length > 0 || selection.plugins.nodeKeys.length > 0 || (selection.subAgents?.nodeKeys.length ?? 0) > 0;
|
|
2426
|
+
}
|
|
2335
2427
|
function isRuntimeCapabilitySelected(selection, type, id) {
|
|
2336
2428
|
if (type === "skill") {
|
|
2337
2429
|
return selection.skills.ids.includes(id);
|
|
@@ -6048,7 +6140,7 @@ function createSlashPaletteOptions({
|
|
|
6048
6140
|
runtimeCapabilitiesReady,
|
|
6049
6141
|
runtimeCapabilityOptions,
|
|
6050
6142
|
runtimeCapabilities,
|
|
6051
|
-
|
|
6143
|
+
recommendedRuntimeCapabilities
|
|
6052
6144
|
}) {
|
|
6053
6145
|
if (!palette) {
|
|
6054
6146
|
return [];
|
|
@@ -6058,7 +6150,7 @@ function createSlashPaletteOptions({
|
|
|
6058
6150
|
const expandedCapabilityTypes = new Set(
|
|
6059
6151
|
palette.expandedCapabilityTypes ?? []
|
|
6060
6152
|
);
|
|
6061
|
-
const selection =
|
|
6153
|
+
const selection = recommendedRuntimeCapabilities ?? createEmptyRuntimeCapabilitiesSelection(runtimeCapabilities);
|
|
6062
6154
|
const getCapabilityOptions = (capabilityTypes, capabilityQuery = query) => runtimeCapabilitiesReady ? runtimeCapabilityOptions.filter(
|
|
6063
6155
|
(option) => matchesCapability(option, capabilityQuery, capabilityTypes) && !isRuntimeCapabilitySelected(selection, option.type, option.id)
|
|
6064
6156
|
) : [];
|
|
@@ -6294,7 +6386,7 @@ function useSlashCommands({
|
|
|
6294
6386
|
runtimeCapabilities,
|
|
6295
6387
|
runtimeCapabilitiesReady,
|
|
6296
6388
|
runtimeCapabilityOptions,
|
|
6297
|
-
|
|
6389
|
+
recommendedRuntimeCapabilities,
|
|
6298
6390
|
draft,
|
|
6299
6391
|
palette,
|
|
6300
6392
|
setPalette,
|
|
@@ -6339,12 +6431,12 @@ function useSlashCommands({
|
|
|
6339
6431
|
runtimeCapabilitiesReady,
|
|
6340
6432
|
runtimeCapabilityOptions,
|
|
6341
6433
|
runtimeCapabilities,
|
|
6342
|
-
|
|
6434
|
+
recommendedRuntimeCapabilities
|
|
6343
6435
|
}),
|
|
6344
6436
|
[
|
|
6345
|
-
effectiveRuntimeCapabilitiesForSubmit,
|
|
6346
6437
|
localizedResolvedCommands,
|
|
6347
6438
|
palette,
|
|
6439
|
+
recommendedRuntimeCapabilities,
|
|
6348
6440
|
runtimeCapabilities,
|
|
6349
6441
|
runtimeCapabilitiesReady,
|
|
6350
6442
|
runtimeCapabilityOptions
|
|
@@ -7880,6 +7972,7 @@ var TOOL_GROUP_TOKEN_CATEGORY = {
|
|
|
7880
7972
|
tool: "tools",
|
|
7881
7973
|
tools: "tools"
|
|
7882
7974
|
};
|
|
7975
|
+
var TOOL_CALL_ROW_TEXT_CLASS = "text-xs leading-5 in-data-[density=compact]:text-[11px] in-data-[density=compact]:leading-4 in-data-[density=spacious]:text-[13px] in-data-[density=spacious]:leading-5";
|
|
7883
7976
|
var TOOL_CALL_OUTPUT_RENDERERS = {};
|
|
7884
7977
|
function normalizeStepCategory(category) {
|
|
7885
7978
|
if (typeof category !== "string" || category.trim() === "") {
|
|
@@ -8034,15 +8127,6 @@ function getToolGroupCategoryCounts(items) {
|
|
|
8034
8127
|
return counts;
|
|
8035
8128
|
}, {});
|
|
8036
8129
|
}
|
|
8037
|
-
function getEffectiveToolGroupDisplayStatus(items, isThreadRunning) {
|
|
8038
|
-
if (items.some((item) => {
|
|
8039
|
-
const data = getToolStepData(item);
|
|
8040
|
-
return getEffectiveToolStepStatus(data, isThreadRunning) === "fail" || Boolean(data.error);
|
|
8041
|
-
})) {
|
|
8042
|
-
return "fail";
|
|
8043
|
-
}
|
|
8044
|
-
return "success";
|
|
8045
|
-
}
|
|
8046
8130
|
function getToolActivityLabel(content, language, statusOverride) {
|
|
8047
8131
|
const data = getToolStepData(content);
|
|
8048
8132
|
const status = statusOverride ?? data.status;
|
|
@@ -8442,8 +8526,6 @@ function ToolCallRowContent({
|
|
|
8442
8526
|
const { i18n: i18n2 } = useChatkitTranslation();
|
|
8443
8527
|
const data = getToolStepData(content);
|
|
8444
8528
|
const status = getEffectiveToolStepStatus(data, isThreadRunning);
|
|
8445
|
-
const itemConfig = status ? toolStatusConfig[status] : null;
|
|
8446
|
-
const ItemStatusIcon = itemConfig?.icon;
|
|
8447
8529
|
const hasError = status === "fail" || Boolean(data.error);
|
|
8448
8530
|
const label = getToolActivityLabel(content, i18n2.language, status);
|
|
8449
8531
|
const detailsId = React28.useId();
|
|
@@ -8467,7 +8549,8 @@ function ToolCallRowContent({
|
|
|
8467
8549
|
{
|
|
8468
8550
|
type: "button",
|
|
8469
8551
|
className: cn(
|
|
8470
|
-
"group/tool-call flex w-full min-w-0 items-center gap-2 text-left text-
|
|
8552
|
+
"group/tool-call flex w-full min-w-0 items-center gap-2 text-left text-muted-foreground",
|
|
8553
|
+
TOOL_CALL_ROW_TEXT_CLASS,
|
|
8471
8554
|
hasDetails && "cursor-pointer hover:text-foreground",
|
|
8472
8555
|
hasError && "text-destructive hover:text-destructive"
|
|
8473
8556
|
),
|
|
@@ -8478,16 +8561,7 @@ function ToolCallRowContent({
|
|
|
8478
8561
|
if (hasDetails) setIsExpanded((prev) => !prev);
|
|
8479
8562
|
},
|
|
8480
8563
|
children: [
|
|
8481
|
-
status
|
|
8482
|
-
ItemStatusIcon,
|
|
8483
|
-
{
|
|
8484
|
-
className: cn(
|
|
8485
|
-
"h-3.5 w-3.5 shrink-0",
|
|
8486
|
-
itemConfig?.iconClass,
|
|
8487
|
-
"animate-spin"
|
|
8488
|
-
)
|
|
8489
|
-
}
|
|
8490
|
-
) : status ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
8564
|
+
status ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
8491
8565
|
ToolStepIcon,
|
|
8492
8566
|
{
|
|
8493
8567
|
data,
|
|
@@ -8499,7 +8573,17 @@ function ToolCallRowContent({
|
|
|
8499
8573
|
)
|
|
8500
8574
|
}
|
|
8501
8575
|
) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "h-3.5 w-3.5 shrink-0", "aria-hidden": "true" }),
|
|
8502
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
8576
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
8577
|
+
"span",
|
|
8578
|
+
{
|
|
8579
|
+
className: cn(
|
|
8580
|
+
"min-w-0 truncate",
|
|
8581
|
+
status === "running" && "ck-tool-call-running-text"
|
|
8582
|
+
),
|
|
8583
|
+
title: label,
|
|
8584
|
+
children: label
|
|
8585
|
+
}
|
|
8586
|
+
),
|
|
8503
8587
|
durationLabel ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "shrink-0 text-[11px] tabular-nums text-muted-foreground/80", children: durationLabel }) : null,
|
|
8504
8588
|
hasDetails ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
8505
8589
|
import_lucide_react16.ChevronRight,
|
|
@@ -8528,7 +8612,6 @@ function ToolComponentGroup({
|
|
|
8528
8612
|
}) {
|
|
8529
8613
|
const { t } = useChatkitTranslation();
|
|
8530
8614
|
const contentId = React28.useId();
|
|
8531
|
-
const groupStatus = getEffectiveToolGroupDisplayStatus(items, isThreadRunning);
|
|
8532
8615
|
const [isExpanded, setIsExpanded] = React28.useState(!hasFollowingItem);
|
|
8533
8616
|
const categoryCounts = getToolGroupCategoryCounts(items);
|
|
8534
8617
|
const categorySummary = TOOL_GROUP_CATEGORY_ORDER.flatMap((category) => {
|
|
@@ -8541,8 +8624,8 @@ function ToolComponentGroup({
|
|
|
8541
8624
|
)
|
|
8542
8625
|
];
|
|
8543
8626
|
}).join(t("message.toolGroup.separator"));
|
|
8544
|
-
const summary = `${t(
|
|
8545
|
-
const config = toolStatusConfig
|
|
8627
|
+
const summary = `${t("message.toolGroup.status.success")} ${categorySummary}`;
|
|
8628
|
+
const config = toolStatusConfig.success;
|
|
8546
8629
|
const StatusIcon = config.icon;
|
|
8547
8630
|
React28.useEffect(() => {
|
|
8548
8631
|
setIsExpanded(!hasFollowingItem);
|
|
@@ -10506,10 +10589,12 @@ function splitByAvailability(values, availableValues) {
|
|
|
10506
10589
|
}
|
|
10507
10590
|
return { found, missing };
|
|
10508
10591
|
}
|
|
10509
|
-
function
|
|
10510
|
-
return
|
|
10592
|
+
function uniqueStrings2(values) {
|
|
10593
|
+
return Array.from(
|
|
10594
|
+
new Set(values.map((value) => value.trim()).filter(Boolean))
|
|
10595
|
+
);
|
|
10511
10596
|
}
|
|
10512
|
-
function
|
|
10597
|
+
function getAvailableSelectionSet(selection, capabilities) {
|
|
10513
10598
|
const skillIds = splitByAvailability(
|
|
10514
10599
|
selection.skills.ids,
|
|
10515
10600
|
capabilities.skills.map((skill) => skill.id)
|
|
@@ -10543,6 +10628,42 @@ function getRuntimeCapabilitiesSelectionAvailability(selection, capabilities) {
|
|
|
10543
10628
|
}
|
|
10544
10629
|
};
|
|
10545
10630
|
}
|
|
10631
|
+
function hasMissingRuntimeCapabilityReferences(missing) {
|
|
10632
|
+
return missing.skillIds.length > 0 || missing.pluginNodeKeys.length > 0 || missing.subAgentNodeKeys.length > 0;
|
|
10633
|
+
}
|
|
10634
|
+
function getRuntimeCapabilitiesSelectionAvailability(selection, capabilities) {
|
|
10635
|
+
const available = getAvailableSelectionSet(selection, capabilities);
|
|
10636
|
+
const recommended = selection.recommended ? getAvailableSelectionSet(selection.recommended, capabilities) : null;
|
|
10637
|
+
return {
|
|
10638
|
+
selection: {
|
|
10639
|
+
mode: "allowlist",
|
|
10640
|
+
skills: available.selection.skills,
|
|
10641
|
+
plugins: available.selection.plugins,
|
|
10642
|
+
subAgents: available.selection.subAgents,
|
|
10643
|
+
...recommended && hasRuntimeCapabilitySelectionSet(recommended.selection) ? {
|
|
10644
|
+
recommended: {
|
|
10645
|
+
skills: recommended.selection.skills,
|
|
10646
|
+
plugins: recommended.selection.plugins,
|
|
10647
|
+
subAgents: recommended.selection.subAgents
|
|
10648
|
+
}
|
|
10649
|
+
} : {}
|
|
10650
|
+
},
|
|
10651
|
+
missing: {
|
|
10652
|
+
skillIds: uniqueStrings2([
|
|
10653
|
+
...available.missing.skillIds,
|
|
10654
|
+
...recommended?.missing.skillIds ?? []
|
|
10655
|
+
]),
|
|
10656
|
+
pluginNodeKeys: uniqueStrings2([
|
|
10657
|
+
...available.missing.pluginNodeKeys,
|
|
10658
|
+
...recommended?.missing.pluginNodeKeys ?? []
|
|
10659
|
+
]),
|
|
10660
|
+
subAgentNodeKeys: uniqueStrings2([
|
|
10661
|
+
...available.missing.subAgentNodeKeys,
|
|
10662
|
+
...recommended?.missing.subAgentNodeKeys ?? []
|
|
10663
|
+
])
|
|
10664
|
+
}
|
|
10665
|
+
};
|
|
10666
|
+
}
|
|
10546
10667
|
async function findConversationByThreadId(client, threadId) {
|
|
10547
10668
|
const normalizedThreadId = threadId.trim();
|
|
10548
10669
|
if (!normalizedThreadId) {
|
|
@@ -10613,7 +10734,9 @@ async function persistConversationRuntimeCapabilities({
|
|
|
10613
10734
|
await client.conversations.update(conversation.id, {
|
|
10614
10735
|
options: {
|
|
10615
10736
|
...conversation.options ?? {},
|
|
10616
|
-
runtimeCapabilities:
|
|
10737
|
+
runtimeCapabilities: getAvailableRuntimeCapabilitiesSelection(
|
|
10738
|
+
availability.selection
|
|
10739
|
+
)
|
|
10617
10740
|
}
|
|
10618
10741
|
});
|
|
10619
10742
|
return {
|
|
@@ -11314,6 +11437,11 @@ function Chat({
|
|
|
11314
11437
|
const trimmedDraft = draft.trim();
|
|
11315
11438
|
const hasReferences = references.length > 0;
|
|
11316
11439
|
const isComposerStacked = planModeEnabled || Boolean(selectedTool);
|
|
11440
|
+
const isComposerInputEmpty = getComposerEditingLength(composerParts) === 0;
|
|
11441
|
+
const composerInputRoundedClass = getComposerInputRoundedClass(theme.radius, {
|
|
11442
|
+
isEmpty: isComposerInputEmpty,
|
|
11443
|
+
isStacked: isComposerStacked
|
|
11444
|
+
});
|
|
11317
11445
|
const pendingFollowUps = React43.useMemo(
|
|
11318
11446
|
() => [...stream.pendingFollowUps ?? []].sort(
|
|
11319
11447
|
(a, b) => a.createdAt - b.createdAt
|
|
@@ -11336,19 +11464,6 @@ function Chat({
|
|
|
11336
11464
|
) : null,
|
|
11337
11465
|
[runtimeCapabilities, runtimeCapabilitiesReady, sessionRuntimeCapabilities]
|
|
11338
11466
|
);
|
|
11339
|
-
const effectiveRuntimeCapabilitiesForSubmit = React43.useMemo(
|
|
11340
|
-
() => runtimeCapabilitiesReady && runtimeCapabilities ? mergeRuntimeCapabilitiesSelections(
|
|
11341
|
-
runtimeCapabilities,
|
|
11342
|
-
sessionRuntimeCapabilities,
|
|
11343
|
-
runRuntimeCapabilities
|
|
11344
|
-
) : null,
|
|
11345
|
-
[
|
|
11346
|
-
runtimeCapabilities,
|
|
11347
|
-
runtimeCapabilitiesReady,
|
|
11348
|
-
runRuntimeCapabilities,
|
|
11349
|
-
sessionRuntimeCapabilities
|
|
11350
|
-
]
|
|
11351
|
-
);
|
|
11352
11467
|
const runRuntimeCapabilityOptions = React43.useMemo(
|
|
11353
11468
|
() => runtimeCapabilityOptions.filter(
|
|
11354
11469
|
(option) => isRuntimeCapabilitySelected(
|
|
@@ -11997,13 +12112,20 @@ function Chat({
|
|
|
11997
12112
|
if (!humanInput) {
|
|
11998
12113
|
return;
|
|
11999
12114
|
}
|
|
12000
|
-
const
|
|
12115
|
+
const recommendedRuntimeCapabilitiesForSubmit = submitOptions.runtimeCapabilities && runtimeCapabilities && runtimeCapabilitiesReady ? mergeRuntimeCapabilitiesSelections(
|
|
12001
12116
|
runtimeCapabilities,
|
|
12002
|
-
|
|
12117
|
+
runRuntimeCapabilities,
|
|
12003
12118
|
submitOptions.runtimeCapabilities
|
|
12004
|
-
) :
|
|
12119
|
+
) : runRuntimeCapabilities;
|
|
12120
|
+
const runtimeCapabilitiesForSubmit = runtimeCapabilities && runtimeCapabilitiesReady ? createRuntimeCapabilitiesForSubmit({
|
|
12121
|
+
capabilities: runtimeCapabilities,
|
|
12122
|
+
available: effectiveSessionRuntimeCapabilities,
|
|
12123
|
+
recommended: recommendedRuntimeCapabilitiesForSubmit
|
|
12124
|
+
}) : null;
|
|
12005
12125
|
const runtimeCapabilityOptionsForMessage = getSelectedRuntimeCapabilityOptions(
|
|
12006
|
-
|
|
12126
|
+
getRecommendedRuntimeCapabilitiesSelection(
|
|
12127
|
+
runtimeCapabilitiesForSubmit
|
|
12128
|
+
),
|
|
12007
12129
|
runtimeCapabilityOptions
|
|
12008
12130
|
);
|
|
12009
12131
|
const displayContent = submitOptions.displayText || contentToSubmit || (referencesToSend ? t("chat.referencedContentOnly") : "");
|
|
@@ -12079,7 +12201,6 @@ function Chat({
|
|
|
12079
12201
|
setRuntimeCapabilityPalette(null);
|
|
12080
12202
|
},
|
|
12081
12203
|
[
|
|
12082
|
-
effectiveRuntimeCapabilitiesForSubmit,
|
|
12083
12204
|
effectiveSessionRuntimeCapabilities,
|
|
12084
12205
|
isSendDisabled,
|
|
12085
12206
|
options?.request,
|
|
@@ -12088,6 +12209,7 @@ function Chat({
|
|
|
12088
12209
|
runtimeCapabilities,
|
|
12089
12210
|
runtimeCapabilitiesReady,
|
|
12090
12211
|
runtimeCapabilityOptions,
|
|
12212
|
+
runRuntimeCapabilities,
|
|
12091
12213
|
scrollToBottom,
|
|
12092
12214
|
selectedTool,
|
|
12093
12215
|
commitComposerParts,
|
|
@@ -12151,7 +12273,7 @@ function Chat({
|
|
|
12151
12273
|
runtimeCapabilities,
|
|
12152
12274
|
runtimeCapabilitiesReady,
|
|
12153
12275
|
runtimeCapabilityOptions,
|
|
12154
|
-
|
|
12276
|
+
recommendedRuntimeCapabilities: runRuntimeCapabilities,
|
|
12155
12277
|
draft,
|
|
12156
12278
|
palette: runtimeCapabilityPalette,
|
|
12157
12279
|
setPalette: setRuntimeCapabilityPalette,
|
|
@@ -12855,7 +12977,9 @@ function Chat({
|
|
|
12855
12977
|
const humanReferences = humanMessage.references ?? [];
|
|
12856
12978
|
const humanAttachments = humanMessage.attachments ?? [];
|
|
12857
12979
|
const humanRuntimeCapabilityOptions = message.type === "human" ? humanMessage.runtimeCapabilityOptions ?? getSelectedRuntimeCapabilityOptions(
|
|
12858
|
-
|
|
12980
|
+
getRecommendedRuntimeCapabilitiesSelection(
|
|
12981
|
+
humanMessage.runtimeCapabilities
|
|
12982
|
+
),
|
|
12859
12983
|
runtimeCapabilityOptions
|
|
12860
12984
|
) : [];
|
|
12861
12985
|
const hasHumanAttachments = message.type === "human" && humanAttachments.length > 0;
|
|
@@ -13216,12 +13340,12 @@ function Chat({
|
|
|
13216
13340
|
"data-slot": "composer-input-shell",
|
|
13217
13341
|
"data-layout": isComposerStacked ? "stacked" : "inline",
|
|
13218
13342
|
className: cn(
|
|
13219
|
-
"relative flex flex-1 overflow-hidden
|
|
13343
|
+
"relative flex flex-1 overflow-hidden",
|
|
13220
13344
|
"bg-background border border-border shadow-sm",
|
|
13221
13345
|
isComposerStacked ? "min-h-[5.5rem] px-1.5 pt-1.5 pb-12" : "min-h-12 px-1.5 py-1",
|
|
13222
13346
|
"focus-within:border-muted-foreground/30 focus-within:shadow-md",
|
|
13223
|
-
"transition-[min-height,padding,box-shadow,border-color] duration-300 ease-[cubic-bezier(0.2,0.8,0.2,1)]",
|
|
13224
|
-
|
|
13347
|
+
"transition-[min-height,padding,border-radius,box-shadow,border-color] duration-300 ease-[cubic-bezier(0.2,0.8,0.2,1)]",
|
|
13348
|
+
composerInputRoundedClass
|
|
13225
13349
|
),
|
|
13226
13350
|
children: [
|
|
13227
13351
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|