@xpert-ai/chatkit-ui 0.3.16 → 0.3.18

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.
Files changed (335) hide show
  1. package/dist/app/assets/{_baseUniq-U5K_xAMH.js → _baseUniq-D0QWjKsx.js} +1 -1
  2. package/dist/app/assets/{abap-BQPZNM71.js → abap-CZpzd_n-.js} +1 -1
  3. package/dist/app/assets/{abnf-CLY7CKO2.js → abnf-BkZxiZV-.js} +1 -1
  4. package/dist/app/assets/{actionscript-BxhLVjVY.js → actionscript-lom7G2Ch.js} +1 -1
  5. package/dist/app/assets/{ada-BLfdJJFu.js → ada-DOqxPnii.js} +1 -1
  6. package/dist/app/assets/{agda-CcPqaBhi.js → agda-D_NItjNC.js} +1 -1
  7. package/dist/app/assets/{al-DM6lJqXu.js → al-CSRsCKGE.js} +1 -1
  8. package/dist/app/assets/{antlr4--dUJRuG4.js → antlr4-Bq0QMnZu.js} +1 -1
  9. package/dist/app/assets/{apacheconf-B05oQ5fb.js → apacheconf-DQvlxkdv.js} +1 -1
  10. package/dist/app/assets/{apex-DIm7LWiX.js → apex-CKJxTX6l.js} +1 -1
  11. package/dist/app/assets/{apl-DecZUU_1.js → apl-BiEqGaey.js} +1 -1
  12. package/dist/app/assets/{applescript-Du7X7155.js → applescript-DCEvG7DI.js} +1 -1
  13. package/dist/app/assets/{aql-DN4Tmpxx.js → aql-BuFNO7D9.js} +1 -1
  14. package/dist/app/assets/{arc-CvYKF1jN.js → arc-D8hHIrHm.js} +1 -1
  15. package/dist/app/assets/{architectureDiagram-Q4EWVU46-DoFtD6N6.js → architectureDiagram-Q4EWVU46-CLhyb4nW.js} +1 -1
  16. package/dist/app/assets/{arduino-Vt8TlSKq.js → arduino-RTn-Ta0X.js} +1 -1
  17. package/dist/app/assets/{arff-85pSuvZu.js → arff-BX26_lhy.js} +1 -1
  18. package/dist/app/assets/{asciidoc-CM-gRuuP.js → asciidoc-DjaZW1IY.js} +1 -1
  19. package/dist/app/assets/{asm6502-BzviHLRf.js → asm6502-DweNZEI5.js} +1 -1
  20. package/dist/app/assets/{asmatmel-Cs897bAD.js → asmatmel-DSJ4MaLF.js} +1 -1
  21. package/dist/app/assets/{aspnet-DRixl_JC.js → aspnet-Bqxj8rUF.js} +1 -1
  22. package/dist/app/assets/{autohotkey-S7KH7GAx.js → autohotkey-DwN-vRLI.js} +1 -1
  23. package/dist/app/assets/{autoit-B2zBL97E.js → autoit-DmaKLtra.js} +1 -1
  24. package/dist/app/assets/{avisynth-4WHMZfJ1.js → avisynth-TfTNI5Jh.js} +1 -1
  25. package/dist/app/assets/{avro-idl-C8zo2SRZ.js → avro-idl-BMl39ClO.js} +1 -1
  26. package/dist/app/assets/{bash-C_t0-f82.js → bash-BL8Wr16b.js} +1 -1
  27. package/dist/app/assets/{basic-CG2VnK46.js → basic-DRgjzuhu.js} +1 -1
  28. package/dist/app/assets/{batch-BJ51HTeP.js → batch-B0F3WEBi.js} +1 -1
  29. package/dist/app/assets/{bbcode-DeTXBHTJ.js → bbcode-FiQxHi6h.js} +1 -1
  30. package/dist/app/assets/{bicep-CO_U4FS9.js → bicep-D8HO5zjF.js} +1 -1
  31. package/dist/app/assets/{birb-CmLWIA8x.js → birb-DhMcYYsj.js} +1 -1
  32. package/dist/app/assets/{bison-qzdmasAk.js → bison-Cin6wY4N.js} +1 -1
  33. package/dist/app/assets/{blockDiagram-DXYQGD6D-wC-QW5xN.js → blockDiagram-DXYQGD6D-HCr3yXJI.js} +1 -1
  34. package/dist/app/assets/{bnf-BLX-XN3r.js → bnf-COE4RYA6.js} +1 -1
  35. package/dist/app/assets/{brainfuck-CMps1eD_.js → brainfuck-CjedmhHx.js} +1 -1
  36. package/dist/app/assets/{brightscript-BspG9dXI.js → brightscript-DQZTle85.js} +1 -1
  37. package/dist/app/assets/{bro-06NoPmcH.js → bro-YtAth1PJ.js} +1 -1
  38. package/dist/app/assets/{bsl-9PyY5OsQ.js → bsl-DmdUN1WI.js} +1 -1
  39. package/dist/app/assets/{c-CW2iJOc_.js → c-CkuI0-9w.js} +1 -1
  40. package/dist/app/assets/{c4Diagram-AHTNJAMY-Hr69jb_o.js → c4Diagram-AHTNJAMY-BUVYp0Ut.js} +1 -1
  41. package/dist/app/assets/{cfscript-DGPk482s.js → cfscript-D2qpX-Sr.js} +1 -1
  42. package/dist/app/assets/{chaiscript-BCkhvVWo.js → chaiscript-CarRzcrb.js} +1 -1
  43. package/dist/app/assets/channel-D5NsBRq7.js +1 -0
  44. package/dist/app/assets/{chunk-4BX2VUAB-CJ-9NtPN.js → chunk-4BX2VUAB-DhGE1ZFH.js} +1 -1
  45. package/dist/app/assets/{chunk-4TB4RGXK-B3qkiX2L.js → chunk-4TB4RGXK-BEUUWAcZ.js} +1 -1
  46. package/dist/app/assets/{chunk-55IACEB6-CnBWGq6G.js → chunk-55IACEB6-ck04xuIL.js} +1 -1
  47. package/dist/app/assets/{chunk-EDXVE4YY-CDHv162l.js → chunk-EDXVE4YY-B-xbn47D.js} +1 -1
  48. package/dist/app/assets/{chunk-FMBD7UC4-BAfcG0-N.js → chunk-FMBD7UC4-DqlLafVB.js} +1 -1
  49. package/dist/app/assets/{chunk-OYMX7WX6-B0WqmfnM.js → chunk-OYMX7WX6-CnxkISRo.js} +1 -1
  50. package/dist/app/assets/{chunk-QZHKN3VN-Cvh4tTQj.js → chunk-QZHKN3VN-BZCqROC6.js} +1 -1
  51. package/dist/app/assets/{chunk-YZCP3GAM-DUwUr549.js → chunk-YZCP3GAM-CS8tpU-B.js} +1 -1
  52. package/dist/app/assets/{cil-BRw5TLmK.js → cil-DJ8V1XkW.js} +1 -1
  53. package/dist/app/assets/classDiagram-6PBFFD2Q-pGVLD9Ix.js +1 -0
  54. package/dist/app/assets/classDiagram-v2-HSJHXN6E-pGVLD9Ix.js +1 -0
  55. package/dist/app/assets/{clike-CcHRj61d.js → clike-C-DkSPvO.js} +1 -1
  56. package/dist/app/assets/{clojure-Bk_UPkE9.js → clojure-woUl7x0t.js} +1 -1
  57. package/dist/app/assets/clone-Bma5UCo8.js +1 -0
  58. package/dist/app/assets/{cmake-BVp_5usr.js → cmake-DfXMWqVV.js} +1 -1
  59. package/dist/app/assets/{cobol-C-S3dP0V.js → cobol-DCc6dAiW.js} +1 -1
  60. package/dist/app/assets/{coffeescript-BXdSmFBU.js → coffeescript-CVkzhm24.js} +1 -1
  61. package/dist/app/assets/{concurnas-DYRN04jP.js → concurnas-DucY-v95.js} +1 -1
  62. package/dist/app/assets/{coq-BvIl_ASN.js → coq-DiLVaor5.js} +1 -1
  63. package/dist/app/assets/{core-VCA1aJfp.js → core-BZrOvGMG.js} +1 -1
  64. package/dist/app/assets/{cose-bilkent-S5V4N54A-LlTkfCsS.js → cose-bilkent-S5V4N54A-D_Vzb0Bj.js} +1 -1
  65. package/dist/app/assets/{cpp-DVPoqb4b.js → cpp-BsuoZsEC.js} +1 -1
  66. package/dist/app/assets/{crystal-zbx5Nqxn.js → crystal-C8VluDKN.js} +1 -1
  67. package/dist/app/assets/{csharp-Dl3XyHrn.js → csharp-Ds6aqVUQ.js} +1 -1
  68. package/dist/app/assets/{cshtml-BScERcM_.js → cshtml-BSBc7i0r.js} +1 -1
  69. package/dist/app/assets/{csp-IZqTA9HP.js → csp-B05fznhr.js} +1 -1
  70. package/dist/app/assets/{css-Dv8pCDuH.js → css-DJPP4Z8A.js} +1 -1
  71. package/dist/app/assets/{css-extras-BRpm7jsI.js → css-extras-D7VrJ4dc.js} +1 -1
  72. package/dist/app/assets/{csv-B6QYrdae.js → csv-DnjINxTk.js} +1 -1
  73. package/dist/app/assets/{cypher-CQSTIE_1.js → cypher-B6Kchb2O.js} +1 -1
  74. package/dist/app/assets/{d-DYLr3PwQ.js → d-DTEcpQpQ.js} +1 -1
  75. package/dist/app/assets/{dagre-KV5264BT-BuRMFln5.js → dagre-KV5264BT-D3TzdaKR.js} +1 -1
  76. package/dist/app/assets/{dart-BSLbckV2.js → dart-DvzWV4gq.js} +1 -1
  77. package/dist/app/assets/{dataweave-D4d62yH0.js → dataweave-SvsJv6s8.js} +1 -1
  78. package/dist/app/assets/{dax-BPNQcGTv.js → dax-hJUJ6K7l.js} +1 -1
  79. package/dist/app/assets/{dhall-EFJkKCNP.js → dhall-C1k_uxvY.js} +1 -1
  80. package/dist/app/assets/{diagram-5BDNPKRD-DbaU-g3n.js → diagram-5BDNPKRD-jeiuimP_.js} +1 -1
  81. package/dist/app/assets/{diagram-G4DWMVQ6-DSBwJY81.js → diagram-G4DWMVQ6-75jI0aka.js} +1 -1
  82. package/dist/app/assets/{diagram-MMDJMWI5-CdEbHc5z.js → diagram-MMDJMWI5-CFfz8Sm3.js} +1 -1
  83. package/dist/app/assets/{diagram-TYMM5635-BUZRHCBi.js → diagram-TYMM5635-DH2lbUTC.js} +1 -1
  84. package/dist/app/assets/{diff-DBZzPuN-.js → diff-BwLflHil.js} +1 -1
  85. package/dist/app/assets/{django-wCcZj3pc.js → django-BaSpPEOE.js} +1 -1
  86. package/dist/app/assets/{dns-zone-file-BjcMjrrn.js → dns-zone-file-CVW0RkqX.js} +1 -1
  87. package/dist/app/assets/{docker-t2q8JCAU.js → docker-CEFjdznt.js} +1 -1
  88. package/dist/app/assets/{dot-D6Xlw932.js → dot-9XjPfg4V.js} +1 -1
  89. package/dist/app/assets/{ebnf-ButfpEuX.js → ebnf-DfHJr-Yo.js} +1 -1
  90. package/dist/app/assets/{editorconfig-D3jnzqII.js → editorconfig-zPHY_SOt.js} +1 -1
  91. package/dist/app/assets/{eiffel-DSrP3oRQ.js → eiffel-CY-ceAPf.js} +1 -1
  92. package/dist/app/assets/{ejs-DjO0iq7l.js → ejs-B9kUBMIM.js} +1 -1
  93. package/dist/app/assets/{elixir-Cgiq5uwe.js → elixir-Dv2I-B4L.js} +1 -1
  94. package/dist/app/assets/{elm-DNqkR0AK.js → elm-BgtDFSks.js} +1 -1
  95. package/dist/app/assets/{erDiagram-SMLLAGMA-D8j75naP.js → erDiagram-SMLLAGMA-DFg05Dgn.js} +1 -1
  96. package/dist/app/assets/{erb-E5n61MS7.js → erb-C4gUj5tu.js} +1 -1
  97. package/dist/app/assets/{erlang-DJH5JDPw.js → erlang-c56ZE8X2.js} +1 -1
  98. package/dist/app/assets/{etlua-V3Oyiflf.js → etlua-BriWi48Q.js} +1 -1
  99. package/dist/app/assets/{excel-formula-gzzq_csC.js → excel-formula-BjjhXLHp.js} +1 -1
  100. package/dist/app/assets/{factor-BW8TxUiW.js → factor-C65iXl2s.js} +1 -1
  101. package/dist/app/assets/{false-28d1Cvff.js → false-B4J7LvOI.js} +1 -1
  102. package/dist/app/assets/{firestore-security-rules-C0auMkms.js → firestore-security-rules-BSMqKpQx.js} +1 -1
  103. package/dist/app/assets/{flow-ComNszn-.js → flow-DvSzmNK4.js} +1 -1
  104. package/dist/app/assets/{flowDiagram-DWJPFMVM-DFUacZw6.js → flowDiagram-DWJPFMVM-CbJ6CyYB.js} +1 -1
  105. package/dist/app/assets/{fortran-7kYGnrnv.js → fortran-DRediubc.js} +1 -1
  106. package/dist/app/assets/{fsharp-CWSmjMI7.js → fsharp-CSuGtDNZ.js} +1 -1
  107. package/dist/app/assets/{ftl-CO1mzzsH.js → ftl-Dk0kTLkr.js} +1 -1
  108. package/dist/app/assets/{ganttDiagram-T4ZO3ILL-BqnV147Q.js → ganttDiagram-T4ZO3ILL-CzADpq2Q.js} +1 -1
  109. package/dist/app/assets/{gap-buASepAH.js → gap-C2HPuY5y.js} +1 -1
  110. package/dist/app/assets/{gcode-BpF4VeNp.js → gcode-CNkJDW12.js} +1 -1
  111. package/dist/app/assets/{gdscript-Dfz-VNg1.js → gdscript-Ddbm10Eo.js} +1 -1
  112. package/dist/app/assets/{gedcom-znH5r8dd.js → gedcom-DGWECxHt.js} +1 -1
  113. package/dist/app/assets/{gherkin-DUyqBxEJ.js → gherkin-DkZoqva3.js} +1 -1
  114. package/dist/app/assets/{git-CohiM6Mv.js → git-CaBgh_A6.js} +1 -1
  115. package/dist/app/assets/{gitGraphDiagram-UUTBAWPF-Dym7w36b.js → gitGraphDiagram-UUTBAWPF-DMHTaVFF.js} +1 -1
  116. package/dist/app/assets/{glsl-D7BZzSq4.js → glsl-C9lJAkhH.js} +1 -1
  117. package/dist/app/assets/{gml-DSwCvOVA.js → gml-DfDwXu-s.js} +1 -1
  118. package/dist/app/assets/{gn-CB-QT4G3.js → gn-DcAjwOWf.js} +1 -1
  119. package/dist/app/assets/{go-D7TdmZXh.js → go-DvFw0DJZ.js} +1 -1
  120. package/dist/app/assets/{go-module-3p_Z_Nvv.js → go-module-C_-7e9U7.js} +1 -1
  121. package/dist/app/assets/{graph-VkviDXZM.js → graph-DEk6BWGL.js} +1 -1
  122. package/dist/app/assets/{graphql-CI150CFa.js → graphql-C-rTTHtJ.js} +1 -1
  123. package/dist/app/assets/{groovy-DLVCTNlH.js → groovy-DFMbERuk.js} +1 -1
  124. package/dist/app/assets/{haml-CEcoYGI-.js → haml-CDFAmkh0.js} +1 -1
  125. package/dist/app/assets/{handlebars-CGMkvKCV.js → handlebars-BjsadT45.js} +1 -1
  126. package/dist/app/assets/{haskell-CB_R9zNF.js → haskell-CuB_7VZQ.js} +1 -1
  127. package/dist/app/assets/{haxe-CGxgjJdR.js → haxe-CDLw9gNV.js} +1 -1
  128. package/dist/app/assets/{hcl-CMZiS1-l.js → hcl-BfWezVV7.js} +1 -1
  129. package/dist/app/assets/{hlsl-CGgjcGri.js → hlsl-ox9e0afz.js} +1 -1
  130. package/dist/app/assets/{hoon-8GPRCbAM.js → hoon-tvSPlxEl.js} +1 -1
  131. package/dist/app/assets/{hpkp-PG2U8Fdd.js → hpkp-Czhlv-sF.js} +1 -1
  132. package/dist/app/assets/{hsts-D_fAUY6b.js → hsts-ax9H4GEU.js} +1 -1
  133. package/dist/app/assets/{http-DCEkWlyl.js → http-CA6SuJcC.js} +1 -1
  134. package/dist/app/assets/{ichigojam-9AAslk8-.js → ichigojam-CqvvcgyU.js} +1 -1
  135. package/dist/app/assets/{icon-B69s9klJ.js → icon-DWfrQ03E.js} +1 -1
  136. package/dist/app/assets/{icu-message-format-CIofDM61.js → icu-message-format-CQWc54rX.js} +1 -1
  137. package/dist/app/assets/{idris-BeSScDMn.js → idris-DLQfITVV.js} +1 -1
  138. package/dist/app/assets/{iecst-DUaKbiqI.js → iecst-Ca2NKugZ.js} +1 -1
  139. package/dist/app/assets/{ignore-C5sCyArW.js → ignore-kmxVzwHC.js} +1 -1
  140. package/dist/app/assets/{index-CYj11nKH.css → index-DpEwCIj4.css} +1 -1
  141. package/dist/app/assets/{index-B2Rg5xL3.js → index-MT8kO0ww.js} +180 -180
  142. package/dist/app/assets/{infoDiagram-42DDH7IO-Cr0GBg9C.js → infoDiagram-42DDH7IO-XHcPMnQ_.js} +1 -1
  143. package/dist/app/assets/{inform7-DDW1E5uh.js → inform7-bVmY1GrN.js} +1 -1
  144. package/dist/app/assets/{ini-CQgsOBuu.js → ini-F4CriHjA.js} +1 -1
  145. package/dist/app/assets/{io-BrxbTsHS.js → io-C1bKXd3E.js} +1 -1
  146. package/dist/app/assets/{ishikawaDiagram-UXIWVN3A-BUudQYu4.js → ishikawaDiagram-UXIWVN3A-C1KESWH9.js} +1 -1
  147. package/dist/app/assets/{j-gYbwHlPi.js → j-4lTlo8lZ.js} +1 -1
  148. package/dist/app/assets/{java-BxwX2UqI.js → java-CUOVTS5N.js} +1 -1
  149. package/dist/app/assets/{javadoc-CjDoGyQx.js → javadoc-C8Z0Xr1u.js} +1 -1
  150. package/dist/app/assets/{javadoclike-DQdNCy5C.js → javadoclike-ByzU09gf.js} +1 -1
  151. package/dist/app/assets/{javascript-Bh-94-yw.js → javascript-C9bsZzTJ.js} +1 -1
  152. package/dist/app/assets/{javastacktrace-L2U7YdtD.js → javastacktrace-CDqCcOuy.js} +1 -1
  153. package/dist/app/assets/{jexl-CT8kQDPW.js → jexl-CgRvL-aB.js} +1 -1
  154. package/dist/app/assets/{jolie-GCjWq91p.js → jolie-CnRae4yo.js} +1 -1
  155. package/dist/app/assets/{journeyDiagram-VCZTEJTY-CHjxdUj0.js → journeyDiagram-VCZTEJTY-BhVCwViA.js} +1 -1
  156. package/dist/app/assets/{jq-DJYndRnF.js → jq-DxYS9voj.js} +1 -1
  157. package/dist/app/assets/{js-extras-DWiLBu8h.js → js-extras-BmSjzx4G.js} +1 -1
  158. package/dist/app/assets/{js-templates-DWIR368E.js → js-templates-CEOSUvFY.js} +1 -1
  159. package/dist/app/assets/{jsdoc-BS5e-kic.js → jsdoc-NswOqgGk.js} +1 -1
  160. package/dist/app/assets/{json-DJHOgsW_.js → json-Ba7dYVJc.js} +1 -1
  161. package/dist/app/assets/{json5-DcVE7vsh.js → json5-BfCO2NEO.js} +1 -1
  162. package/dist/app/assets/{jsonp-BZPea95u.js → jsonp-BvyWzxPU.js} +1 -1
  163. package/dist/app/assets/{jsstacktrace-CTT325vf.js → jsstacktrace-DmKohQpz.js} +1 -1
  164. package/dist/app/assets/{jsx-BMOVsrnq.js → jsx-BcduoLmj.js} +1 -1
  165. package/dist/app/assets/{julia-BpH1WVjA.js → julia-CzQgCD1s.js} +1 -1
  166. package/dist/app/assets/{kanban-definition-6JOO6SKY-DQQOFruD.js → kanban-definition-6JOO6SKY-DjFOasMJ.js} +1 -1
  167. package/dist/app/assets/{keepalived-DMqXA9qq.js → keepalived-CvalI5Cn.js} +1 -1
  168. package/dist/app/assets/{keyman-BuIXTWK1.js → keyman-NuMy7SWP.js} +1 -1
  169. package/dist/app/assets/{kotlin-BDcT4Isp.js → kotlin-CQsM56ed.js} +1 -1
  170. package/dist/app/assets/{kumir-m3_kmKP2.js → kumir-D0OJISiy.js} +1 -1
  171. package/dist/app/assets/{kusto-D-UrAJSW.js → kusto-C9fjH3ae.js} +1 -1
  172. package/dist/app/assets/{latex-tgCR0Tao.js → latex-wvQPV-lg.js} +1 -1
  173. package/dist/app/assets/{latte-CK0fn5N8.js → latte-DWJz4b2T.js} +1 -1
  174. package/dist/app/assets/{layout-BHTa7B0n.js → layout-Dnz9J-H_.js} +1 -1
  175. package/dist/app/assets/{less-DJSgh3Nf.js → less-fZSl7WFx.js} +1 -1
  176. package/dist/app/assets/{lilypond-BiZrd_FZ.js → lilypond-KIo85q7D.js} +1 -1
  177. package/dist/app/assets/{linear-BKNTkFyI.js → linear-CL6MSjEl.js} +1 -1
  178. package/dist/app/assets/{liquid-B9mNVKVD.js → liquid-DPkFKL4a.js} +1 -1
  179. package/dist/app/assets/{lisp-Cfn15eG4.js → lisp-IyB5qI0o.js} +1 -1
  180. package/dist/app/assets/{livescript-BxuvymSb.js → livescript-CXmDuWek.js} +1 -1
  181. package/dist/app/assets/{llvm-7_FL4oWI.js → llvm-C9n-Frid.js} +1 -1
  182. package/dist/app/assets/{log-BNnyBrlP.js → log-DTd2eweY.js} +1 -1
  183. package/dist/app/assets/{lolcode-LKckarVv.js → lolcode-UV8v1Ivx.js} +1 -1
  184. package/dist/app/assets/{lua-B6Hkmggj.js → lua-BF4aiENV.js} +1 -1
  185. package/dist/app/assets/{magma-tJeyQA9O.js → magma-BKi5VfnT.js} +1 -1
  186. package/dist/app/assets/{makefile-Dk7GgHtc.js → makefile-CMmm13J7.js} +1 -1
  187. package/dist/app/assets/{markdown-CVuAl4Q4.js → markdown-DO70OVBB.js} +1 -1
  188. package/dist/app/assets/{markup-Dna-5b8j.js → markup-Bk-71t36.js} +1 -1
  189. package/dist/app/assets/{markup-templating-B-496Z4V.js → markup-templating-Do5-9Asl.js} +1 -1
  190. package/dist/app/assets/{matlab-BFHogmZu.js → matlab-BTfyR-w5.js} +1 -1
  191. package/dist/app/assets/{maxscript-CEoITCg_.js → maxscript-DUtlTRni.js} +1 -1
  192. package/dist/app/assets/{mel-DkItS91a.js → mel-BIa3y7bE.js} +1 -1
  193. package/dist/app/assets/{mermaid-B057fB8P.js → mermaid-CX7UIW1Q.js} +1 -1
  194. package/dist/app/assets/{min-CyYFJoj7.js → min-Gn-lHMwm.js} +1 -1
  195. package/dist/app/assets/{mindmap-definition-QFDTVHPH-sZJlqff2.js → mindmap-definition-QFDTVHPH-C0javs-e.js} +1 -1
  196. package/dist/app/assets/{mizar-C34n9WvM.js → mizar-7pmYJKEP.js} +1 -1
  197. package/dist/app/assets/{mongodb-Dn-RVHGF.js → mongodb-CHfp-6SB.js} +1 -1
  198. package/dist/app/assets/{monkey-CchbYxKb.js → monkey-DWI-thhA.js} +1 -1
  199. package/dist/app/assets/{moonscript-bgc_rMVk.js → moonscript-BFvb5Y1t.js} +1 -1
  200. package/dist/app/assets/{n1ql-Dc3Rqpo0.js → n1ql-BVnO1BAt.js} +1 -1
  201. package/dist/app/assets/{n4js-BZrN14mN.js → n4js-BsTOUdys.js} +1 -1
  202. package/dist/app/assets/{nand2tetris-hdl-CkhLKkF6.js → nand2tetris-hdl-_v3dAvjh.js} +1 -1
  203. package/dist/app/assets/{naniscript-qV7rI93m.js → naniscript-C3Z121kz.js} +1 -1
  204. package/dist/app/assets/{nasm-gYP1yVWT.js → nasm-BP4ETiIE.js} +1 -1
  205. package/dist/app/assets/{neon-CtXfm5uw.js → neon-C0BCC8Xg.js} +1 -1
  206. package/dist/app/assets/{nevod-CB8t4dHK.js → nevod-Cwv8aOmw.js} +1 -1
  207. package/dist/app/assets/{nginx-BmKdm8yX.js → nginx-2PwKqqAR.js} +1 -1
  208. package/dist/app/assets/{nim-DtGHCszZ.js → nim-DRx--wVs.js} +1 -1
  209. package/dist/app/assets/{nix-D4GbSnEd.js → nix-_uk2FKeA.js} +1 -1
  210. package/dist/app/assets/{nsis-Bj3SsdeV.js → nsis-DWiWFqpI.js} +1 -1
  211. package/dist/app/assets/{objectivec-CFF2Dkns.js → objectivec-DuQC0GBR.js} +1 -1
  212. package/dist/app/assets/{ocaml-DAJPLi8c.js → ocaml-CW7mQ7DA.js} +1 -1
  213. package/dist/app/assets/{opencl-DiKh-99y.js → opencl-IGnv-HrY.js} +1 -1
  214. package/dist/app/assets/{openqasm-tueuB3_y.js → openqasm-BqJmwh1u.js} +1 -1
  215. package/dist/app/assets/{oz-zqL1ngLO.js → oz-DcTi2Qwy.js} +1 -1
  216. package/dist/app/assets/{parigp-D3LdHq2U.js → parigp-CqYPOuQD.js} +1 -1
  217. package/dist/app/assets/{parser-CKMaRQ-4.js → parser-B13oWgl1.js} +1 -1
  218. package/dist/app/assets/{pascal-DAKujXtp.js → pascal-c6eauTAI.js} +1 -1
  219. package/dist/app/assets/{pascaligo-DCtAmY2b.js → pascaligo-Bt5Jpl_N.js} +1 -1
  220. package/dist/app/assets/{pcaxis-CkTkU6RG.js → pcaxis-D7STcJ88.js} +1 -1
  221. package/dist/app/assets/{peoplecode-T3uGFXP0.js → peoplecode-Df3MeQvL.js} +1 -1
  222. package/dist/app/assets/{perl-CartfYED.js → perl-B1veHTlV.js} +1 -1
  223. package/dist/app/assets/{php-BUE6JcOK.js → php-DJelaBP_.js} +1 -1
  224. package/dist/app/assets/{php-extras-ji_LKaVg.js → php-extras-BZILHOLa.js} +1 -1
  225. package/dist/app/assets/{phpdoc-B2skMGYa.js → phpdoc-CaIivege.js} +1 -1
  226. package/dist/app/assets/{pieDiagram-DEJITSTG-Lwq5NQjn.js → pieDiagram-DEJITSTG-CFMh7ZLo.js} +1 -1
  227. package/dist/app/assets/{plsql-DM6pS3m0.js → plsql-OjC-GN6T.js} +1 -1
  228. package/dist/app/assets/{powerquery-ivuHm3I-.js → powerquery-BXcwxkm3.js} +1 -1
  229. package/dist/app/assets/{powershell-CW7VFVaB.js → powershell-CmbnJC3p.js} +1 -1
  230. package/dist/app/assets/{processing-B1n0p6xb.js → processing-Cu1qd9yP.js} +1 -1
  231. package/dist/app/assets/{prolog-BnYHsmyt.js → prolog-Dw_jXeui.js} +1 -1
  232. package/dist/app/assets/{promql-BarvRvwP.js → promql-DRU4ot-S.js} +1 -1
  233. package/dist/app/assets/{properties-C2XPr9zr.js → properties-DfzvnkeU.js} +1 -1
  234. package/dist/app/assets/{protobuf-B2T9qoVh.js → protobuf-maPurCax.js} +1 -1
  235. package/dist/app/assets/{psl-_cLPfo0-.js → psl-DlwIQKbw.js} +1 -1
  236. package/dist/app/assets/{pug-EnnApdVZ.js → pug-dAkqTeg6.js} +1 -1
  237. package/dist/app/assets/{puppet-CavxXINo.js → puppet-CPoADFAm.js} +1 -1
  238. package/dist/app/assets/{pure-BNrknZBs.js → pure-jnDx8H8Y.js} +1 -1
  239. package/dist/app/assets/{purebasic-Dt3-14oa.js → purebasic-DNUQm9Et.js} +1 -1
  240. package/dist/app/assets/{purescript-C7e9akiH.js → purescript-CcEjyhvi.js} +1 -1
  241. package/dist/app/assets/{q-18HlE955.js → q-COLAgV0Y.js} +1 -1
  242. package/dist/app/assets/{qml-J1XWfY2P.js → qml-moT4w0RU.js} +1 -1
  243. package/dist/app/assets/{qore-Bj4I3iI1.js → qore-DCx-Oari.js} +1 -1
  244. package/dist/app/assets/{qsharp-C0l91cmA.js → qsharp-C4hMcK9D.js} +1 -1
  245. package/dist/app/assets/{quadrantDiagram-34T5L4WZ-BIMHBSya.js → quadrantDiagram-34T5L4WZ-ePCVGz9x.js} +1 -1
  246. package/dist/app/assets/{r-qbS82cwa.js → r-C-WfUNpi.js} +1 -1
  247. package/dist/app/assets/{racket-DAADMEL5.js → racket-BZOT6O-m.js} +1 -1
  248. package/dist/app/assets/{reason-Bs6jsOzK.js → reason-BYS5Kv1P.js} +1 -1
  249. package/dist/app/assets/{regex-BtRGd9nN.js → regex-DTpY03uP.js} +1 -1
  250. package/dist/app/assets/{rego-BJglsgkF.js → rego-Coq2P5sz.js} +1 -1
  251. package/dist/app/assets/{renpy-CP7L4If_.js → renpy-BD6BWV5e.js} +1 -1
  252. package/dist/app/assets/{requirementDiagram-MS252O5E-MPqt-eGe.js → requirementDiagram-MS252O5E-DoU1KO1F.js} +1 -1
  253. package/dist/app/assets/{rest-Co5-219y.js → rest-DeLGMmWA.js} +1 -1
  254. package/dist/app/assets/{rip-DsGz1NlI.js → rip-CXd6BWe1.js} +1 -1
  255. package/dist/app/assets/{roboconf-BsxCGyLW.js → roboconf-BxA4vMpZ.js} +1 -1
  256. package/dist/app/assets/{robotframework-CRvOngPj.js → robotframework-AIf29_9P.js} +1 -1
  257. package/dist/app/assets/{ruby-Be2WADtM.js → ruby-mIEREBH9.js} +1 -1
  258. package/dist/app/assets/{rust-XS0qO_D0.js → rust-BCmyOg5n.js} +1 -1
  259. package/dist/app/assets/{sankeyDiagram-XADWPNL6-r04f57Pz.js → sankeyDiagram-XADWPNL6-CAJcy3UE.js} +1 -1
  260. package/dist/app/assets/{sas-B_Qy3pz5.js → sas-BDftKlbq.js} +1 -1
  261. package/dist/app/assets/{sass-BlRh-hOx.js → sass-BJkyZ2aC.js} +1 -1
  262. package/dist/app/assets/{scala-DCgiUitq.js → scala-COphQyF3.js} +1 -1
  263. package/dist/app/assets/{scheme-DSUnD_ON.js → scheme-eiSceHbe.js} +1 -1
  264. package/dist/app/assets/{scss-BBGMx4cb.js → scss-BJiv8mn3.js} +1 -1
  265. package/dist/app/assets/{sequenceDiagram-FGHM5R23-B930CzTp.js → sequenceDiagram-FGHM5R23-D9RuFKXc.js} +1 -1
  266. package/dist/app/assets/{shell-session-CCEAyDxL.js → shell-session-Di_TNCoe.js} +1 -1
  267. package/dist/app/assets/{smali-STXqj3e0.js → smali-RWnI_VB7.js} +1 -1
  268. package/dist/app/assets/{smalltalk-ifkdo4ZI.js → smalltalk-BA05YOX1.js} +1 -1
  269. package/dist/app/assets/{smarty-2-MHldHc.js → smarty-ecumexhl.js} +1 -1
  270. package/dist/app/assets/{sml-ILGBjmiA.js → sml--wk3wu3_.js} +1 -1
  271. package/dist/app/assets/{solidity-DG--AXKv.js → solidity-C4acB0_R.js} +1 -1
  272. package/dist/app/assets/{solution-file-xhuGGZs3.js → solution-file-DU89gugK.js} +1 -1
  273. package/dist/app/assets/{soy-CyfuKuhi.js → soy-B0_zN7cX.js} +1 -1
  274. package/dist/app/assets/{sparql-BoFuvAJg.js → sparql-P9fFKONd.js} +1 -1
  275. package/dist/app/assets/{splunk-spl-DCz7kls2.js → splunk-spl-bN22h9SM.js} +1 -1
  276. package/dist/app/assets/{sqf-CcWsxNdh.js → sqf-Dq-oAdvd.js} +1 -1
  277. package/dist/app/assets/{sql-D7fwVxBZ.js → sql-BNLeCI4i.js} +1 -1
  278. package/dist/app/assets/{squirrel-CypkquZg.js → squirrel-YihGku12.js} +1 -1
  279. package/dist/app/assets/{stan-y71hz03e.js → stan-DMujZjti.js} +1 -1
  280. package/dist/app/assets/{stateDiagram-FHFEXIEX-ByfFvoUg.js → stateDiagram-FHFEXIEX-C_Tf5_Ai.js} +1 -1
  281. package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-CVytdbpc.js +1 -0
  282. package/dist/app/assets/{stylus-DA1Lm4ry.js → stylus-CgP5IqfO.js} +1 -1
  283. package/dist/app/assets/{swift-Cx2r7slQ.js → swift-BuGdDqjI.js} +1 -1
  284. package/dist/app/assets/{systemd-gpoUO6NS.js → systemd-BEwRY5b6.js} +1 -1
  285. package/dist/app/assets/{t4-cs-CAu6MkaB.js → t4-cs-Dpcvpa3q.js} +1 -1
  286. package/dist/app/assets/{t4-templating-CvpGfhmf.js → t4-templating-DF1FF1fo.js} +1 -1
  287. package/dist/app/assets/{t4-vb-D4TmSfj_.js → t4-vb-D45rIlaC.js} +1 -1
  288. package/dist/app/assets/{tap-D6AJBrLR.js → tap-mdKU5Z0y.js} +1 -1
  289. package/dist/app/assets/{tcl-Di_jMY5_.js → tcl-BFoy2dZq.js} +1 -1
  290. package/dist/app/assets/{textile-JJZ08PUf.js → textile-Cj8nTD6X.js} +1 -1
  291. package/dist/app/assets/{timeline-definition-GMOUNBTQ-CXg8Q4Wu.js → timeline-definition-GMOUNBTQ-CCnZdI8r.js} +1 -1
  292. package/dist/app/assets/{toml-CqNTABde.js → toml-Cc1SczHl.js} +1 -1
  293. package/dist/app/assets/{tremor-Cxvljfbs.js → tremor-DSCtkq1m.js} +1 -1
  294. package/dist/app/assets/{tt2-BlDSiRHu.js → tt2-BVb0RtBu.js} +1 -1
  295. package/dist/app/assets/{turtle-0Nhw1Gj6.js → turtle-BwORMhHy.js} +1 -1
  296. package/dist/app/assets/{twig-CT7SkKZz.js → twig-S-H9SbBe.js} +1 -1
  297. package/dist/app/assets/{typescript-0aIg0VIN.js → typescript-DAfg8hyh.js} +1 -1
  298. package/dist/app/assets/{typoscript-wbHkw0EG.js → typoscript-B5h8le3v.js} +1 -1
  299. package/dist/app/assets/{unrealscript-BjYNrNr-.js → unrealscript-CvqvUsof.js} +1 -1
  300. package/dist/app/assets/{uorazor-BtsJktwW.js → uorazor-DwzaKLDq.js} +1 -1
  301. package/dist/app/assets/{uri-Ddoq-rRE.js → uri-C0dyYU-K.js} +1 -1
  302. package/dist/app/assets/{v-DWdg_7gX.js → v-DNLhdQTP.js} +1 -1
  303. package/dist/app/assets/{vala-CvMVgDGt.js → vala-DKWT9B25.js} +1 -1
  304. package/dist/app/assets/{vbnet-6qgMzhH3.js → vbnet-C2iw7H_L.js} +1 -1
  305. package/dist/app/assets/{velocity-Bv0wIOGF.js → velocity-BLtatwds.js} +1 -1
  306. package/dist/app/assets/{vennDiagram-DHZGUBPP-m0Z7WTtb.js → vennDiagram-DHZGUBPP-BPIyZjXT.js} +1 -1
  307. package/dist/app/assets/{verilog-DJeki8az.js → verilog-BKx3egQ8.js} +1 -1
  308. package/dist/app/assets/{vhdl-n11gW22E.js → vhdl-DqrQULxx.js} +1 -1
  309. package/dist/app/assets/{vim-DGqfDOpp.js → vim-B4k8HJOX.js} +1 -1
  310. package/dist/app/assets/{visual-basic-DH6Uneds.js → visual-basic-CW0Ob8Js.js} +1 -1
  311. package/dist/app/assets/{wardley-RL74JXVD-CXfzfLIh.js → wardley-RL74JXVD-CJeis0YD.js} +1 -1
  312. package/dist/app/assets/{wardleyDiagram-NUSXRM2D-CY5R288d.js → wardleyDiagram-NUSXRM2D-iCXojwKS.js} +1 -1
  313. package/dist/app/assets/{warpscript-C2v2dv70.js → warpscript-CJYK39NW.js} +1 -1
  314. package/dist/app/assets/{wasm-BH4rIbR4.js → wasm-tGnEMXrk.js} +1 -1
  315. package/dist/app/assets/{web-idl-BY7o4BA1.js → web-idl-CqapBL4m.js} +1 -1
  316. package/dist/app/assets/{wiki-e8OXT8k4.js → wiki-C8ZIuHJE.js} +1 -1
  317. package/dist/app/assets/{wolfram-CJi1UPLF.js → wolfram-CdwQvCbc.js} +1 -1
  318. package/dist/app/assets/{wren-CTNnknns.js → wren-D5XGe5CI.js} +1 -1
  319. package/dist/app/assets/{xeora-ChrSb105.js → xeora-BcSIXfhF.js} +1 -1
  320. package/dist/app/assets/{xml-doc-B5Rm_Siy.js → xml-doc-CmRHEm0U.js} +1 -1
  321. package/dist/app/assets/{xojo-YUxLYAnr.js → xojo-4rMWxEgW.js} +1 -1
  322. package/dist/app/assets/{xquery-CQ8qCe0H.js → xquery-BEeKtha3.js} +1 -1
  323. package/dist/app/assets/{xychartDiagram-5P7HB3ND-BxJNZqP3.js → xychartDiagram-5P7HB3ND-Cv6NY1sW.js} +1 -1
  324. package/dist/app/assets/{yaml-3upUbJ9C.js → yaml-43_1t6gW.js} +1 -1
  325. package/dist/app/assets/{yang-C7a4OOgH.js → yang-BmJkq6aF.js} +1 -1
  326. package/dist/app/assets/{zig-Dyj9y251.js → zig-8hFhlat3.js} +1 -1
  327. package/dist/app/index.html +2 -2
  328. package/dist/index.cjs +121 -215
  329. package/dist/index.js +121 -216
  330. package/package.json +3 -3
  331. package/dist/app/assets/channel-TLpt_CUq.js +0 -1
  332. package/dist/app/assets/classDiagram-6PBFFD2Q-CDPJCbPK.js +0 -1
  333. package/dist/app/assets/classDiagram-v2-HSJHXN6E-CDPJCbPK.js +0 -1
  334. package/dist/app/assets/clone-DnldPOas.js +0 -1
  335. package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-Dw6r5BXK.js +0 -1
package/dist/index.cjs CHANGED
@@ -122,10 +122,62 @@ function createMessageId() {
122
122
 
123
123
  // src/lib/message.ts
124
124
  var import_lodash_es = require("lodash-es");
125
+
126
+ // src/lib/thread-context-usage.ts
127
+ var THREAD_CONTEXT_USAGE_EVENT_TYPE = "thread_context_usage";
128
+ function isRecord(value) {
129
+ return Boolean(value) && typeof value === "object" && !Array.isArray(value);
130
+ }
131
+ function normalizeContextUsageNumber(value) {
132
+ if (typeof value === "number" && Number.isFinite(value) && value >= 0) {
133
+ return Math.floor(value);
134
+ }
135
+ if (typeof value === "string") {
136
+ const parsed = Number.parseFloat(value);
137
+ if (Number.isFinite(parsed) && parsed >= 0) {
138
+ return Math.floor(parsed);
139
+ }
140
+ }
141
+ return null;
142
+ }
143
+ function isThreadContextUsageType(value) {
144
+ return typeof value === "string" && value.trim() === THREAD_CONTEXT_USAGE_EVENT_TYPE;
145
+ }
146
+ function isThreadContextUsageRenderArtifact(value) {
147
+ if (!isRecord(value)) return false;
148
+ if (isThreadContextUsageType(value.type)) return true;
149
+ if (isThreadContextUsageType(value.event)) return true;
150
+ const data = value.data;
151
+ if (!isRecord(data)) return false;
152
+ return isThreadContextUsageType(data.type) || isThreadContextUsageType(data.event);
153
+ }
154
+ function getThreadContextUsage(state, agentKey) {
155
+ if (!agentKey) return null;
156
+ return state[agentKey] ?? null;
157
+ }
158
+ function getThreadContextUsageTotalTokens(event) {
159
+ return normalizeContextUsageNumber(event?.usage?.totalTokens);
160
+ }
161
+ function resolveUsedContextSize(options) {
162
+ const realtimeUsedTokens = getThreadContextUsageTotalTokens(
163
+ options.realtimeUsage
164
+ );
165
+ if (realtimeUsedTokens != null) {
166
+ return realtimeUsedTokens;
167
+ }
168
+ return normalizeContextUsageNumber(options.fallbackUsedTokens) ?? 0;
169
+ }
170
+
171
+ // src/lib/message.ts
125
172
  var ASSISTANT_STREAM_IDLE_TO_THINKING_MS = 2e3;
126
173
  function hasRenderableReasoning(reasoning) {
127
174
  return Array.isArray(reasoning) && reasoning.some((item) => item.text?.trim());
128
175
  }
176
+ function isRenderableMessageContentItem(item) {
177
+ if (item === void 0) return false;
178
+ if (typeof item === "string") return true;
179
+ return !isThreadContextUsageRenderArtifact(item);
180
+ }
129
181
  function hasRenderableMessageContent(content) {
130
182
  if (typeof content === "string") {
131
183
  return content.trim().length > 0;
@@ -135,10 +187,13 @@ function hasRenderableMessageContent(content) {
135
187
  }
136
188
  const items = content;
137
189
  return items.some((item) => {
190
+ if (!isRenderableMessageContentItem(item)) {
191
+ return false;
192
+ }
138
193
  if (typeof item === "string") {
139
194
  return item.trim().length > 0;
140
195
  }
141
- if (!item || typeof item !== "object") {
196
+ if (typeof item !== "object") {
142
197
  return false;
143
198
  }
144
199
  if (item.type === "text") {
@@ -236,28 +291,28 @@ function getMissingApiConfigurationKind({
236
291
 
237
292
  // src/lib/request-options.ts
238
293
  var import_chatkit_types2 = require("@xpert-ai/chatkit-types");
239
- function isRecord(value) {
294
+ function isRecord2(value) {
240
295
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
241
296
  }
242
297
  function resolveHumanStateValue(value) {
243
298
  const human = value?.[import_chatkit_types2.STATE_VARIABLE_HUMAN];
244
- return isRecord(human) ? human : {};
299
+ return isRecord2(human) ? human : {};
245
300
  }
246
301
  function splitEnvCarrier(value) {
247
- if (!isRecord(value)) {
302
+ if (!isRecord2(value)) {
248
303
  return { value: {}, env: {} };
249
304
  }
250
305
  const { env, ...rest } = value;
251
306
  return {
252
307
  value: rest,
253
- env: isRecord(env) ? env : {}
308
+ env: isRecord2(env) ? env : {}
254
309
  };
255
310
  }
256
311
  function mergeRequestOptions(input) {
257
312
  const defaultContext = splitEnvCarrier(input.defaults?.context);
258
313
  const explicitContext = splitEnvCarrier(input.context);
259
- const defaultConfig = isRecord(input.defaults?.config) ? input.defaults?.config : {};
260
- const explicitConfig = isRecord(input.config) ? input.config : {};
314
+ const defaultConfig = isRecord2(input.defaults?.config) ? input.defaults?.config : {};
315
+ const explicitConfig = isRecord2(input.config) ? input.config : {};
261
316
  const mergedEnv = {
262
317
  ...defaultContext.env,
263
318
  ...explicitContext.env
@@ -793,7 +848,7 @@ function ParentMessengerProvider({
793
848
  ...runtimeCapabilities ? { runtimeCapabilities } : {}
794
849
  };
795
850
  const stream = streamRef2.current;
796
- const activeFollowUpMode = stream?.isLoading ? params.followUpMode && params.followUpMode !== "default" ? params.followUpMode : stream.followUpBehavior ?? "queue" : void 0;
851
+ const activeFollowUpMode = stream?.isLoading ? params.followUpMode && params.followUpMode !== "default" ? params.followUpMode : "queue" : void 0;
797
852
  const requestOptions = buildInjectedRequestOptions({
798
853
  defaults: latestOptionsRef.current?.request,
799
854
  state: params.state,
@@ -1050,36 +1105,6 @@ function useParentMessenger({
1050
1105
  return messenger;
1051
1106
  }
1052
1107
 
1053
- // src/lib/thread-context-usage.ts
1054
- function normalizeContextUsageNumber(value) {
1055
- if (typeof value === "number" && Number.isFinite(value) && value >= 0) {
1056
- return Math.floor(value);
1057
- }
1058
- if (typeof value === "string") {
1059
- const parsed = Number.parseFloat(value);
1060
- if (Number.isFinite(parsed) && parsed >= 0) {
1061
- return Math.floor(parsed);
1062
- }
1063
- }
1064
- return null;
1065
- }
1066
- function getThreadContextUsage(state, agentKey) {
1067
- if (!agentKey) return null;
1068
- return state[agentKey] ?? null;
1069
- }
1070
- function getThreadContextUsageTotalTokens(event) {
1071
- return normalizeContextUsageNumber(event?.usage?.totalTokens);
1072
- }
1073
- function resolveUsedContextSize(options) {
1074
- const realtimeUsedTokens = getThreadContextUsageTotalTokens(
1075
- options.realtimeUsage
1076
- );
1077
- if (realtimeUsedTokens != null) {
1078
- return realtimeUsedTokens;
1079
- }
1080
- return normalizeContextUsageNumber(options.fallbackUsedTokens) ?? 0;
1081
- }
1082
-
1083
1108
  // src/lib/thread-goals.ts
1084
1109
  function normalizeGoalObjective(value) {
1085
1110
  return value.trim();
@@ -1192,14 +1217,14 @@ async function executeThreadGoalCommand({
1192
1217
  }
1193
1218
 
1194
1219
  // src/lib/follow-ups.ts
1195
- function getComposerFollowUpShortcutLabels(queueShortcutLabel) {
1196
- return {
1197
- steer: "Enter",
1198
- queue: queueShortcutLabel
1199
- };
1220
+ function getVisiblePendingFollowUpPriority(item) {
1221
+ return item.mode === "steer" || item.queuedFromSteer ? 0 : 1;
1200
1222
  }
1201
- function getBusyComposerShortcutFollowUpMode(useQueueShortcut) {
1202
- return useQueueShortcut ? "queue" : "steer";
1223
+ function sortVisiblePendingFollowUps(items) {
1224
+ return [...items].sort((left, right) => {
1225
+ const priority = getVisiblePendingFollowUpPriority(left) - getVisiblePendingFollowUpPriority(right);
1226
+ return priority || left.createdAt - right.createdAt;
1227
+ });
1203
1228
  }
1204
1229
 
1205
1230
  // src/lib/todos.ts
@@ -1425,20 +1450,13 @@ var en_US_default = {
1425
1450
  },
1426
1451
  poweredBy: "Powered by Xpert AI",
1427
1452
  followUps: {
1428
- label: "Follow-up behavior",
1429
- settings: "Settings",
1430
- idleHint: "Used when you send while a run is active.",
1431
- activeHint: "This message will use the selected busy-run behavior.",
1432
1453
  pending: "Pending follow-ups",
1433
1454
  queue: "Queue",
1434
- steer: "Steer",
1435
1455
  steerAction: "Steer",
1436
- promoteToSteer: "Steer now",
1437
1456
  sendNow: "Send now",
1438
1457
  remove: "Remove pending follow-up",
1439
1458
  more: "More actions",
1440
1459
  edit: "Edit message",
1441
- turnOffQueueing: "Turn off queueing",
1442
1460
  queueHint: "Starts after the current run finishes",
1443
1461
  manualQueueHint: "Ready to send as a new run",
1444
1462
  steerHint: "Injects after the current tool call"
@@ -1821,20 +1839,13 @@ var zh_CN_default = {
1821
1839
  },
1822
1840
  poweredBy: "\u7531 Xpert AI \u9A71\u52A8",
1823
1841
  followUps: {
1824
- label: "Follow-up \u6A21\u5F0F",
1825
- settings: "\u8BBE\u7F6E",
1826
- idleHint: "\u4EC5\u5728\u8FD0\u884C\u4E2D\u53D1\u9001\u6D88\u606F\u65F6\u751F\u6548\u3002",
1827
- activeHint: "\u5F53\u524D\u6D88\u606F\u4F1A\u6309\u6240\u9009\u7684\u8FD0\u884C\u4E2D\u884C\u4E3A\u5904\u7406\u3002",
1828
1842
  pending: "\u5F85\u5904\u7406 Follow-up",
1829
1843
  queue: "\u6392\u961F",
1830
- steer: "\u5F15\u5BFC",
1831
1844
  steerAction: "\u5F15\u5BFC",
1832
- promoteToSteer: "\u8F6C\u4E3A\u5F15\u5BFC",
1833
1845
  sendNow: "\u7ACB\u5373\u53D1\u9001",
1834
1846
  remove: "\u79FB\u9664\u6B64\u5F85\u5904\u7406 Follow-up",
1835
1847
  more: "\u66F4\u591A\u64CD\u4F5C",
1836
1848
  edit: "\u7F16\u8F91\u6D88\u606F",
1837
- turnOffQueueing: "\u5173\u95ED\u6392\u961F",
1838
1849
  queueHint: "\u5F53\u524D\u8FD0\u884C\u7ED3\u675F\u540E\u5F00\u542F\u4E0B\u4E00\u8F6E",
1839
1850
  manualQueueHint: "\u4FDD\u7559\u4E3A\u5F85\u53D1\u9001\uFF0C\u53EF\u624B\u52A8\u5F00\u542F\u65B0\u4E00\u8F6E",
1840
1851
  steerHint: "\u5F53\u524D\u5DE5\u5177\u8C03\u7528\u5B8C\u6210\u540E\u6CE8\u5165"
@@ -4173,8 +4184,6 @@ function useRoundedClasses() {
4173
4184
  function PendingFollowUps({
4174
4185
  items,
4175
4186
  isLoading,
4176
- followUpBehavior,
4177
- onBehaviorChange,
4178
4187
  onPromoteToSteer,
4179
4188
  canSendNow,
4180
4189
  onSendNow,
@@ -4186,16 +4195,12 @@ function PendingFollowUps({
4186
4195
  const { t } = useChatkitTranslation();
4187
4196
  const rounded = useRoundedClasses();
4188
4197
  const referencedContentFallback = t("chat.referencedContentOnly");
4189
- const [isSettingsOpen, setIsSettingsOpen] = React15.useState(false);
4190
4198
  const [openMenuId, setOpenMenuId] = React15.useState(null);
4191
4199
  React15.useEffect(() => {
4192
- if (items.length === 0 && isSettingsOpen) {
4193
- setIsSettingsOpen(false);
4194
- }
4195
4200
  if (items.every((item) => item.id !== openMenuId)) {
4196
4201
  setOpenMenuId(null);
4197
4202
  }
4198
- }, [isSettingsOpen, items, openMenuId]);
4203
+ }, [items, openMenuId]);
4199
4204
  if (items.length === 0) {
4200
4205
  return null;
4201
4206
  }
@@ -4209,75 +4214,7 @@ function PendingFollowUps({
4209
4214
  className
4210
4215
  ),
4211
4216
  children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "space-y-1", children: [
4212
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex items-center justify-between gap-3", children: [
4213
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "text-xs font-medium text-foreground", children: t("chat.followUps.pending") }),
4214
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(Tooltip, { children: [
4215
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
4216
- "button",
4217
- {
4218
- type: "button",
4219
- onClick: () => setIsSettingsOpen((prev) => !prev),
4220
- className: cn(
4221
- "inline-flex h-6 w-6 items-center justify-center transition-colors",
4222
- isSettingsOpen ? "bg-muted text-foreground" : "text-muted-foreground hover:bg-muted/60 hover:text-foreground",
4223
- rounded.control
4224
- ),
4225
- "aria-label": t("chat.followUps.settings"),
4226
- "aria-expanded": isSettingsOpen,
4227
- "aria-controls": "follow-ups-settings-panel",
4228
- children: [
4229
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react8.SlidersHorizontal, { className: "h-3.5 w-3.5" }),
4230
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: t("chat.followUps.settings") })
4231
- ]
4232
- }
4233
- ) }),
4234
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(TooltipContent, { side: "top", children: t("chat.followUps.settings") })
4235
- ] })
4236
- ] }),
4237
- isSettingsOpen && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4238
- "div",
4239
- {
4240
- id: "follow-ups-settings-panel",
4241
- className: cn(
4242
- "border border-border/70 bg-muted/20 px-3 py-2",
4243
- rounded.panel
4244
- ),
4245
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex items-center justify-between gap-3", children: [
4246
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "min-w-0", children: [
4247
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "text-xs font-medium text-foreground", children: t("chat.followUps.label") }),
4248
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "text-[11px] text-muted-foreground", children: isLoading ? t("chat.followUps.activeHint") : t("chat.followUps.idleHint") })
4249
- ] }),
4250
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4251
- "div",
4252
- {
4253
- className: cn(
4254
- "inline-flex shrink-0 border border-border bg-background p-1",
4255
- rounded.control
4256
- ),
4257
- children: ["queue", "steer"].map((behavior) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(Tooltip, { children: [
4258
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4259
- "button",
4260
- {
4261
- type: "button",
4262
- onClick: () => {
4263
- onBehaviorChange(behavior);
4264
- setIsSettingsOpen(false);
4265
- },
4266
- className: cn(
4267
- "px-3 py-1 text-xs font-medium transition-colors",
4268
- rounded.control,
4269
- followUpBehavior === behavior ? "bg-primary text-background" : "text-muted-foreground hover:text-foreground"
4270
- ),
4271
- children: behavior === "queue" ? t("chat.followUps.queue") : t("chat.followUps.steer")
4272
- }
4273
- ) }),
4274
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(TooltipContent, { side: "top", children: behavior === "queue" ? t("chat.followUps.queueHint") : t("chat.followUps.steerHint") })
4275
- ] }, behavior))
4276
- }
4277
- )
4278
- ] })
4279
- }
4280
- ),
4217
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "flex items-center justify-between gap-3", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "text-xs font-medium text-foreground", children: t("chat.followUps.pending") }) }),
4281
4218
  items.map((item) => {
4282
4219
  const canSendItemNow = item.mode === "queue" && canSendNow(item.id);
4283
4220
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
@@ -4306,7 +4243,7 @@ function PendingFollowUps({
4306
4243
  }
4307
4244
  ) }),
4308
4245
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex shrink-0 items-center gap-1", children: [
4309
- item.mode === "queue" && isLoading && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4246
+ item.mode === "queue" && isLoading && !item.queuedFromSteer && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
4310
4247
  "button",
4311
4248
  {
4312
4249
  type: "button",
@@ -4376,44 +4313,24 @@ function PendingFollowUps({
4376
4313
  "w-52 border-border/70 bg-background p-1.5",
4377
4314
  rounded.panel
4378
4315
  ),
4379
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-col gap-1", children: [
4380
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
4381
- "button",
4382
- {
4383
- type: "button",
4384
- onClick: () => {
4385
- setOpenMenuId(null);
4386
- onEdit(item.id);
4387
- },
4388
- className: cn(
4389
- "flex items-center gap-2 px-2 py-1.5 text-left text-sm text-foreground transition-colors hover:bg-muted",
4390
- rounded.control
4391
- ),
4392
- children: [
4393
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react8.PencilLine, { className: "h-3.5 w-3.5 shrink-0 text-muted-foreground" }),
4394
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { children: t("chat.followUps.edit") })
4395
- ]
4396
- }
4397
- ),
4398
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
4399
- "button",
4400
- {
4401
- type: "button",
4402
- onClick: () => {
4403
- setOpenMenuId(null);
4404
- onBehaviorChange("steer");
4405
- },
4406
- className: cn(
4407
- "flex items-center gap-2 px-2 py-1.5 text-left text-sm text-foreground transition-colors hover:bg-muted",
4408
- rounded.control
4409
- ),
4410
- children: [
4411
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react8.CornerDownLeft, { className: "h-3.5 w-3.5 shrink-0 text-muted-foreground" }),
4412
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { children: t("chat.followUps.turnOffQueueing") })
4413
- ]
4414
- }
4415
- )
4416
- ] })
4316
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "flex flex-col gap-1", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
4317
+ "button",
4318
+ {
4319
+ type: "button",
4320
+ onClick: () => {
4321
+ setOpenMenuId(null);
4322
+ onEdit(item.id);
4323
+ },
4324
+ className: cn(
4325
+ "flex items-center gap-2 px-2 py-1.5 text-left text-sm text-foreground transition-colors hover:bg-muted",
4326
+ rounded.control
4327
+ ),
4328
+ children: [
4329
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react8.PencilLine, { className: "h-3.5 w-3.5 shrink-0 text-muted-foreground" }),
4330
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { children: t("chat.followUps.edit") })
4331
+ ]
4332
+ }
4333
+ ) })
4417
4334
  }
4418
4335
  )
4419
4336
  ]
@@ -7847,6 +7764,9 @@ function getAgentRunCounts(node) {
7847
7764
  if (item.trim()) text += 1;
7848
7765
  continue;
7849
7766
  }
7767
+ if (isThreadContextUsageRenderArtifact(item)) {
7768
+ continue;
7769
+ }
7850
7770
  if (isTextContent(item) || isReasoningContent(item)) {
7851
7771
  if (item.text?.trim()) text += 1;
7852
7772
  continue;
@@ -7958,6 +7878,7 @@ function normalizeAssistantEntries(message) {
7958
7878
  }
7959
7879
  } else if (Array.isArray(message.content)) {
7960
7880
  message.content.forEach((item, index) => {
7881
+ if (isThreadContextUsageRenderArtifact(item)) return;
7961
7882
  entries.push({
7962
7883
  item,
7963
7884
  index,
@@ -9738,7 +9659,7 @@ function normalizeToolToken(value) {
9738
9659
  const normalized = value.trim().toLowerCase().replace(/[\s-]+/g, "_");
9739
9660
  return normalized || null;
9740
9661
  }
9741
- function isRecord2(value) {
9662
+ function isRecord3(value) {
9742
9663
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
9743
9664
  }
9744
9665
  function readString(value) {
@@ -9770,9 +9691,9 @@ function formatScore(value) {
9770
9691
  }
9771
9692
  function getLineRange(metadata) {
9772
9693
  const loc = metadata.loc;
9773
- if (!isRecord2(loc)) return void 0;
9694
+ if (!isRecord3(loc)) return void 0;
9774
9695
  const lines = loc.lines;
9775
- if (!isRecord2(lines)) return void 0;
9696
+ if (!isRecord3(lines)) return void 0;
9776
9697
  const from = stringifyValue(lines.from);
9777
9698
  const to = stringifyValue(lines.to);
9778
9699
  if (from && to) return `${from}-${to}`;
@@ -9792,9 +9713,9 @@ function normalizeMetadataEntries(metadata) {
9792
9713
  });
9793
9714
  }
9794
9715
  function normalizeKnowledgeResult(value, fallbackTitle) {
9795
- if (!isRecord2(value)) return null;
9796
- const metadata = isRecord2(value.metadata) ? value.metadata : {};
9797
- const document2 = isRecord2(value.document) ? value.document : {};
9716
+ if (!isRecord3(value)) return null;
9717
+ const metadata = isRecord3(value.metadata) ? value.metadata : {};
9718
+ const document2 = isRecord3(value.document) ? value.document : {};
9798
9719
  const content = readString(value.pageContent);
9799
9720
  const title = readString(document2.name) ?? readString(metadata.originalFileName) ?? readString(metadata.source) ?? readString(value.id) ?? readString(metadata.chunkId) ?? fallbackTitle;
9800
9721
  if (!content && Object.keys(metadata).length === 0 && Object.keys(document2).length === 0) {
@@ -9824,7 +9745,7 @@ function getRawKnowledgeData(data) {
9824
9745
  }
9825
9746
  function getRetrieverQuery(data, language) {
9826
9747
  const input = data.input;
9827
- if (isRecord2(input)) {
9748
+ if (isRecord3(input)) {
9828
9749
  return readString(input.query) ?? readString(input.input) ?? readString(input.question);
9829
9750
  }
9830
9751
  return readString((0, import_chatkit_types6.resolveLocalizedText)(data.message, language)) ?? readString(input);
@@ -10492,6 +10413,7 @@ function isWidgetComponent(content) {
10492
10413
  }
10493
10414
  function isGroupableStepComponent(content) {
10494
10415
  if (!content || typeof content === "string") return false;
10416
+ if (isThreadContextUsageRenderArtifact(content)) return false;
10495
10417
  if (!isComponentContent2(content) || isWidgetComponent(content)) return false;
10496
10418
  const data = getToolStepData(content);
10497
10419
  const renderer = getComponentMessageRenderer(content, data);
@@ -10575,6 +10497,9 @@ function buildToolComponentRenderUnits(content, options) {
10575
10497
  const units = [];
10576
10498
  const pendingTools = [];
10577
10499
  content.forEach((item, index) => {
10500
+ if (isThreadContextUsageRenderArtifact(item)) {
10501
+ return;
10502
+ }
10578
10503
  if (isGroupableStepComponent(item) && options?.shouldGroupComponent?.(item) !== false) {
10579
10504
  pendingTools.push({ item, index });
10580
10505
  return;
@@ -11121,7 +11046,7 @@ var React34 = require("react");
11121
11046
  var import_chatkit_types8 = require("@xpert-ai/chatkit-types");
11122
11047
  var import_lucide_react22 = require("lucide-react");
11123
11048
  var import_jsx_runtime39 = require("react/jsx-runtime");
11124
- function isRecord3(value) {
11049
+ function isRecord4(value) {
11125
11050
  return !!value && typeof value === "object" && !Array.isArray(value);
11126
11051
  }
11127
11052
  function readString2(record, keys) {
@@ -11134,11 +11059,11 @@ function readString2(record, keys) {
11134
11059
  return null;
11135
11060
  }
11136
11061
  function getToolCallId(value) {
11137
- if (!isRecord3(value)) return null;
11062
+ if (!isRecord4(value)) return null;
11138
11063
  return readString2(value, ["id"]);
11139
11064
  }
11140
11065
  function getToolCallName(value) {
11141
- if (!isRecord3(value)) return null;
11066
+ if (!isRecord4(value)) return null;
11142
11067
  return readString2(value, ["name"]);
11143
11068
  }
11144
11069
  function pushClientToolCallsFromRecord(record, calls) {
@@ -11163,7 +11088,7 @@ function findRequestUserInputClientToolCallById(messages, id) {
11163
11088
  ) ?? null;
11164
11089
  }
11165
11090
  function normalizeAnswer(value) {
11166
- if (!isRecord3(value)) return null;
11091
+ if (!isRecord4(value)) return null;
11167
11092
  const id = readString2(value, ["id"]);
11168
11093
  const question = readString2(value, ["question"]);
11169
11094
  const answerValue = readString2(value, ["value"]);
@@ -11191,7 +11116,7 @@ function parseResultOutput(output) {
11191
11116
  return null;
11192
11117
  }
11193
11118
  }
11194
- if (!isRecord3(result) || !Array.isArray(result.answers)) {
11119
+ if (!isRecord4(result) || !Array.isArray(result.answers)) {
11195
11120
  return null;
11196
11121
  }
11197
11122
  const hasExplicitType = result.type === import_chatkit_types8.REQUEST_USER_INPUT_RESULT_TYPE;
@@ -11205,7 +11130,7 @@ function parseResultOutput(output) {
11205
11130
  };
11206
11131
  }
11207
11132
  function getRequestUserInputResultCardData(content, messages) {
11208
- const data = isRecord3(content.data) ? content.data : null;
11133
+ const data = isRecord4(content.data) ? content.data : null;
11209
11134
  if (data?.status !== "success") {
11210
11135
  return null;
11211
11136
  }
@@ -11849,6 +11774,9 @@ function renderContentItem(content, index, message, lookupMessages, options) {
11849
11774
  if (typeof content === "string") {
11850
11775
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: textClassName, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MarkdownText, { children: content }) }, `text-${index}`);
11851
11776
  }
11777
+ if (isThreadContextUsageRenderArtifact(content)) {
11778
+ return null;
11779
+ }
11852
11780
  if (isTextContent3(content)) {
11853
11781
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: textClassName, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MarkdownText, { children: content.text }) }, content.id ?? `text-${index}`);
11854
11782
  }
@@ -14510,9 +14438,7 @@ function Chat({
14510
14438
  isStacked: isComposerStacked
14511
14439
  });
14512
14440
  const pendingFollowUps = React48.useMemo(
14513
- () => [...stream.pendingFollowUps ?? []].sort(
14514
- (a, b) => a.createdAt - b.createdAt
14515
- ),
14441
+ () => sortVisiblePendingFollowUps(stream.pendingFollowUps ?? []),
14516
14442
  [stream.pendingFollowUps]
14517
14443
  );
14518
14444
  const hasPendingFollowUps = pendingFollowUps.length > 0;
@@ -15224,13 +15150,12 @@ function Chat({
15224
15150
  [commitComposerParts]
15225
15151
  );
15226
15152
  const submitDraft = React48.useCallback(
15227
- (optionsOrFollowUp) => {
15153
+ (submitOptions = {}) => {
15228
15154
  if (isSendDisabled) return;
15229
- const submitOptions = typeof optionsOrFollowUp === "string" ? { followUpOverride: optionsOrFollowUp } : optionsOrFollowUp ?? {};
15230
15155
  const contentToSubmit = (submitOptions.inputText ?? trimmedDraft).trim();
15231
15156
  const filesToSend = uploadedFiles.length > 0 ? [...uploadedFiles] : void 0;
15232
15157
  const referencesToSend = references.length > 0 ? [...references] : void 0;
15233
- const nextFollowUpMode = stream.isLoading ? submitOptions.followUpOverride ?? stream.followUpBehavior : void 0;
15158
+ const nextFollowUpMode = stream.isLoading ? "queue" : void 0;
15234
15159
  const effectivePlanMode = submitOptions.planMode ?? planModeEnabled;
15235
15160
  const humanInput = buildHumanMessageInputPayload({
15236
15161
  content: contentToSubmit,
@@ -15789,9 +15714,7 @@ function Chat({
15789
15714
  if (submitGoalModeDraft()) {
15790
15715
  return;
15791
15716
  }
15792
- submitDraft(
15793
- getBusyComposerShortcutFollowUpMode(event.metaKey || event.ctrlKey)
15794
- );
15717
+ submitDraft();
15795
15718
  return;
15796
15719
  }
15797
15720
  if (executeSlashCommandFromDraft()) {
@@ -15901,17 +15824,6 @@ function Chat({
15901
15824
  uploadContextFile
15902
15825
  ]
15903
15826
  );
15904
- const alternateFollowUpShortcutLabel = React48.useMemo(() => {
15905
- if (typeof navigator === "undefined") {
15906
- return "\u2318Enter";
15907
- }
15908
- const platform = navigator.platform || navigator.userAgent;
15909
- return /Mac|iPhone|iPad|iPod/i.test(platform) ? "\u2318Enter" : "Ctrl+Enter";
15910
- }, []);
15911
- const followUpShortcutLabels = React48.useMemo(
15912
- () => getComposerFollowUpShortcutLabels(alternateFollowUpShortcutLabel),
15913
- [alternateFollowUpShortcutLabel]
15914
- );
15915
15827
  const handleToolSelect = (tool) => {
15916
15828
  setSelectedTool((prev) => prev?.id === tool.id ? null : tool);
15917
15829
  };
@@ -15922,7 +15834,7 @@ function Chat({
15922
15834
  type: "human",
15923
15835
  content: prompt
15924
15836
  };
15925
- const nextFollowUpMode = stream.isLoading ? stream.followUpBehavior : void 0;
15837
+ const nextFollowUpMode = stream.isLoading ? "queue" : void 0;
15926
15838
  const inputPayload = {
15927
15839
  input: prompt,
15928
15840
  ...planModeEnabled ? { planMode: true } : {},
@@ -16690,8 +16602,6 @@ function Chat({
16690
16602
  {
16691
16603
  items: pendingFollowUps,
16692
16604
  isLoading: stream.isLoading,
16693
- followUpBehavior: stream.followUpBehavior,
16694
- onBehaviorChange: stream.setFollowUpBehavior,
16695
16605
  onPromoteToSteer: (id) => stream.promotePendingFollowUpToSteer(id),
16696
16606
  canSendNow: stream.canSendPendingFollowUpNow,
16697
16607
  onSendNow: (id) => stream.sendPendingFollowUpNow(id),
@@ -16841,13 +16751,9 @@ function Chat({
16841
16751
  stopLabel: t("chat.stop"),
16842
16752
  sendLabel: t("chat.send"),
16843
16753
  shortcuts: stream.isLoading && trimmedDraft ? [
16844
- {
16845
- label: t("chat.followUps.steer"),
16846
- keys: followUpShortcutLabels.steer
16847
- },
16848
16754
  {
16849
16755
  label: t("chat.followUps.queue"),
16850
- keys: followUpShortcutLabels.queue
16756
+ keys: "Enter"
16851
16757
  }
16852
16758
  ] : void 0
16853
16759
  }