@8wave/ai-elements 0.127.0-beta.7 → 0.127.0-beta.9

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 (144) hide show
  1. package/dist/_chunks/{Agent-nB9V45mr.js → Agent-C5Jpr5i5.js} +76 -58
  2. package/dist/_chunks/Agent-C5Jpr5i5.js.map +1 -0
  3. package/dist/_chunks/{Document-Dm5GM40t.js → Document-lhfsmafy.js} +2 -2
  4. package/dist/_chunks/{Document-Dm5GM40t.js.map → Document-lhfsmafy.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreview-BaJet5cw.js → PkFilePreview-yKT0QkEB.js} +3 -3
  6. package/dist/_chunks/{PkFilePreview-BaJet5cw.js.map → PkFilePreview-yKT0QkEB.js.map} +1 -1
  7. package/dist/_chunks/{PkFilePreviewDialog-Cq8DGCD1.js → PkFilePreviewDialog-B4yKQbLi.js} +2 -2
  8. package/dist/_chunks/{PkFilePreviewDialog-Cq8DGCD1.js.map → PkFilePreviewDialog-B4yKQbLi.js.map} +1 -1
  9. package/dist/_chunks/{PkImageEditorDialog-5Px7Y_8G.js → PkImageEditorDialog-BF6tQvTY.js} +2 -2
  10. package/dist/_chunks/{PkImageEditorDialog-5Px7Y_8G.js.map → PkImageEditorDialog-BF6tQvTY.js.map} +1 -1
  11. package/dist/_chunks/{PkSelectionActions-DDhbwE4U.js → PkSelectionActions-J1AaO8Of.js} +2 -2
  12. package/dist/_chunks/{PkSelectionActions-DDhbwE4U.js.map → PkSelectionActions-J1AaO8Of.js.map} +1 -1
  13. package/dist/_chunks/{PkStreamingMarkdown-5WfFCjFv.js → PkStreamingMarkdown-CvIq4j9U.js} +3 -3
  14. package/dist/_chunks/{PkStreamingMarkdown-5WfFCjFv.js.map → PkStreamingMarkdown-CvIq4j9U.js.map} +1 -1
  15. package/dist/_chunks/{PkToolChatFile-fTo6gdqx.js → PkToolChatFile-Y5CR96-B.js} +3 -3
  16. package/dist/_chunks/{PkToolChatFile-fTo6gdqx.js.map → PkToolChatFile-Y5CR96-B.js.map} +1 -1
  17. package/dist/_chunks/{PkToolRequestGeolocation-BeFZQQxz.js → PkToolRequestGeolocation-UQJ9S20q.js} +2 -2
  18. package/dist/_chunks/{PkToolRequestGeolocation-BeFZQQxz.js.map → PkToolRequestGeolocation-UQJ9S20q.js.map} +1 -1
  19. package/dist/_chunks/{PkToolRequestOAuthConnection-_01ct5du.js → PkToolRequestOAuthConnection-DunGTHsM.js} +2 -2
  20. package/dist/_chunks/{PkToolRequestOAuthConnection-_01ct5du.js.map → PkToolRequestOAuthConnection-DunGTHsM.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowArtifact-C28dOM5W.js → PkToolShowArtifact-CBsIMKuq.js} +2 -2
  22. package/dist/_chunks/{PkToolShowArtifact-C28dOM5W.js.map → PkToolShowArtifact-CBsIMKuq.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowContactForm-D06qrkHm.js → PkToolShowContactForm-D8tYijcg.js} +2 -2
  24. package/dist/_chunks/{PkToolShowContactForm-D06qrkHm.js.map → PkToolShowContactForm-D8tYijcg.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowForm-qj_f9Z5D.js → PkToolShowForm-CM63L5WC.js} +4 -4
  26. package/dist/_chunks/{PkToolShowForm-qj_f9Z5D.js.map → PkToolShowForm-CM63L5WC.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowImageGallery-Dm2UEfWl.js → PkToolShowImageGallery-DN6kSeuD.js} +2 -2
  28. package/dist/_chunks/{PkToolShowImageGallery-Dm2UEfWl.js.map → PkToolShowImageGallery-DN6kSeuD.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowProductList-DorHQJMd.js → PkToolShowProductList-BkmajNm0.js} +2 -2
  30. package/dist/_chunks/{PkToolShowProductList-DorHQJMd.js.map → PkToolShowProductList-BkmajNm0.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowSources-BMJeacz7.js → PkToolShowSources-BoJmMb4K.js} +3 -3
  32. package/dist/_chunks/{PkToolShowSources-BMJeacz7.js.map → PkToolShowSources-BoJmMb4K.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowSuggestedReply-DBfeOl05.js → PkToolShowSuggestedReply-BVMpjsys.js} +2 -2
  34. package/dist/_chunks/{PkToolShowSuggestedReply-DBfeOl05.js.map → PkToolShowSuggestedReply-BVMpjsys.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowVideo-YwSq8c2P.js → PkToolShowVideo-DP2fDXF9.js} +2 -2
  36. package/dist/_chunks/{PkToolShowVideo-YwSq8c2P.js.map → PkToolShowVideo-DP2fDXF9.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowWebPages-DtZC0KHO.js → PkToolShowWebPages-B7w6G2iO.js} +2 -2
  38. package/dist/_chunks/{PkToolShowWebPages-DtZC0KHO.js.map → PkToolShowWebPages-B7w6G2iO.js.map} +1 -1
  39. package/dist/_chunks/{chatImagePolicy-Cj5lkTVq.js → chatImagePolicy-DSoafnHw.js} +2 -2
  40. package/dist/_chunks/{chatImagePolicy-Cj5lkTVq.js.map → chatImagePolicy-DSoafnHw.js.map} +1 -1
  41. package/dist/_chunks/{utils-CRy3kzE3.js → utils-BYVRPDrv.js} +2 -2
  42. package/dist/_chunks/{utils-CRy3kzE3.js.map → utils-BYVRPDrv.js.map} +1 -1
  43. package/dist/ai-elements.es.js +37 -26
  44. package/dist/ai-elements.es.js.map +1 -1
  45. package/dist-vue/PkChatbot.js +1 -1
  46. package/dist-vue/PkChatbotEmptyState.js +1 -1
  47. package/dist-vue/PkChatbotInput.js +1 -1
  48. package/dist-vue/PkChatbotMessages.js +1 -1
  49. package/dist-vue/PkChatbotStepPayload.js +1 -1
  50. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  51. package/dist-vue/PkChatbotSteps.js +1 -1
  52. package/dist-vue/PkChatbotViewChat.js +1 -1
  53. package/dist-vue/PkChatbotViewConversations.js +1 -1
  54. package/dist-vue/PkChatbotViewFiles.js +1 -1
  55. package/dist-vue/PkChatbotViewProfile.js +1 -1
  56. package/dist-vue/_chunks/{Agent-DKefaJeG.js → Agent-BmgzrjcZ.js} +302 -280
  57. package/dist-vue/_chunks/Agent-BmgzrjcZ.js.map +1 -0
  58. package/dist-vue/_chunks/{Document-B49E_gxT.js → Document-ebwxbTSm.js} +12 -12
  59. package/dist-vue/_chunks/{Document-B49E_gxT.js.map → Document-ebwxbTSm.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbot-CuCgECW2.js → PkChatbot-D-RZ4vXj.js} +8 -8
  61. package/dist-vue/_chunks/{PkChatbot-CuCgECW2.js.map → PkChatbot-D-RZ4vXj.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotEmptyState-C_htXOSW.js → PkChatbotEmptyState-BSdctGUp.js} +2 -2
  63. package/dist-vue/_chunks/{PkChatbotEmptyState-C_htXOSW.js.map → PkChatbotEmptyState-BSdctGUp.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotInput-CJ5lPtpH.js → PkChatbotInput-Bkr2FMAR.js} +4 -4
  65. package/dist-vue/_chunks/{PkChatbotInput-CJ5lPtpH.js.map → PkChatbotInput-Bkr2FMAR.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotMessages-CDDoxZAf.js → PkChatbotMessages-DDlmLGyp.js} +21 -21
  67. package/dist-vue/_chunks/{PkChatbotMessages-CDDoxZAf.js.map → PkChatbotMessages-DDlmLGyp.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotStepPayload-BLjH1pkP.js → PkChatbotStepPayload-BWeGBOGl.js} +2 -2
  69. package/dist-vue/_chunks/{PkChatbotStepPayload-BLjH1pkP.js.map → PkChatbotStepPayload-BWeGBOGl.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotStepToolDetail-wIZmkvr-.js → PkChatbotStepToolDetail-k_purHyE.js} +3 -3
  71. package/dist-vue/_chunks/{PkChatbotStepToolDetail-wIZmkvr-.js.map → PkChatbotStepToolDetail-k_purHyE.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkChatbotSteps-DG09GyCb.js → PkChatbotSteps-DvYhk_xP.js} +6 -6
  73. package/dist-vue/_chunks/{PkChatbotSteps-DG09GyCb.js.map → PkChatbotSteps-DvYhk_xP.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkChatbotViewChat-FtOpDmks.js → PkChatbotViewChat-Cip10EzB.js} +9 -9
  75. package/dist-vue/_chunks/{PkChatbotViewChat-FtOpDmks.js.map → PkChatbotViewChat-Cip10EzB.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkChatbotViewConversations-NA_PCvZR.js → PkChatbotViewConversations-RLG-s6pX.js} +4 -4
  77. package/dist-vue/_chunks/{PkChatbotViewConversations-NA_PCvZR.js.map → PkChatbotViewConversations-RLG-s6pX.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkChatbotViewFiles-D8_Khdu2.js → PkChatbotViewFiles-2wpxHO9V.js} +3 -3
  79. package/dist-vue/_chunks/{PkChatbotViewFiles-D8_Khdu2.js.map → PkChatbotViewFiles-2wpxHO9V.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkChatbotViewProfile-iTBiQVsZ.js → PkChatbotViewProfile-DRQAn8tb.js} +2 -2
  81. package/dist-vue/_chunks/{PkChatbotViewProfile-iTBiQVsZ.js.map → PkChatbotViewProfile-DRQAn8tb.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkFilePreview-B6PSJcvA.js → PkFilePreview-D5xDM0jH.js} +3 -3
  83. package/dist-vue/_chunks/{PkFilePreview-B6PSJcvA.js.map → PkFilePreview-D5xDM0jH.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkFilePreviewDialog-3HJbVudc.js → PkFilePreviewDialog-C0lp3E-k.js} +2 -2
  85. package/dist-vue/_chunks/{PkFilePreviewDialog-3HJbVudc.js.map → PkFilePreviewDialog-C0lp3E-k.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkImageEditorDialog-CrjpCier.js → PkImageEditorDialog-bt-_WXJ7.js} +2 -2
  87. package/dist-vue/_chunks/{PkImageEditorDialog-CrjpCier.js.map → PkImageEditorDialog-bt-_WXJ7.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkStreamingMarkdown-CgKFdzCI.js → PkStreamingMarkdown-D38PPSbB.js} +3 -3
  89. package/dist-vue/_chunks/{PkStreamingMarkdown-CgKFdzCI.js.map → PkStreamingMarkdown-D38PPSbB.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolChatFile-IEQxfzjM.js → PkToolChatFile-Dvn6Jg9n.js} +4 -4
  91. package/dist-vue/_chunks/{PkToolChatFile-IEQxfzjM.js.map → PkToolChatFile-Dvn6Jg9n.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolRequestGeolocation-BmrbMPke.js → PkToolRequestGeolocation-B9t-ttW_.js} +2 -2
  93. package/dist-vue/_chunks/{PkToolRequestGeolocation-BmrbMPke.js.map → PkToolRequestGeolocation-B9t-ttW_.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yKgXyOUN.js → PkToolRequestOAuthConnection-D73L805S.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yKgXyOUN.js.map → PkToolRequestOAuthConnection-D73L805S.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowArtifact-CF90yFCe.js → PkToolShowArtifact-Clkqoz26.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolShowArtifact-CF90yFCe.js.map → PkToolShowArtifact-Clkqoz26.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowChart-CDR8ag4q.js → PkToolShowChart-RLAsKQT7.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowChart-CDR8ag4q.js.map → PkToolShowChart-RLAsKQT7.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkToolShowContactForm-Cg2TiqP1.js → PkToolShowContactForm-BSDtKWWD.js} +2 -2
  101. package/dist-vue/_chunks/{PkToolShowContactForm-Cg2TiqP1.js.map → PkToolShowContactForm-BSDtKWWD.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkToolShowDiagram-Do20AvFb.js → PkToolShowDiagram-9EYiOJXE.js} +2 -2
  103. package/dist-vue/_chunks/{PkToolShowDiagram-Do20AvFb.js.map → PkToolShowDiagram-9EYiOJXE.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowForm-DfFmPOt6.js → PkToolShowForm-mXmiZPIW.js} +4 -4
  105. package/dist-vue/_chunks/{PkToolShowForm-DfFmPOt6.js.map → PkToolShowForm-mXmiZPIW.js.map} +1 -1
  106. package/dist-vue/_chunks/{PkToolShowImageGallery-DA6KW2g_.js → PkToolShowImageGallery-B2phVedq.js} +2 -2
  107. package/dist-vue/_chunks/{PkToolShowImageGallery-DA6KW2g_.js.map → PkToolShowImageGallery-B2phVedq.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkToolShowProductList-FcDDabPI.js → PkToolShowProductList-BX9D6A8k.js} +2 -2
  109. package/dist-vue/_chunks/{PkToolShowProductList-FcDDabPI.js.map → PkToolShowProductList-BX9D6A8k.js.map} +1 -1
  110. package/dist-vue/_chunks/{PkToolShowSources-afCYBONq.js → PkToolShowSources-B0Xw8RR2.js} +3 -3
  111. package/dist-vue/_chunks/{PkToolShowSources-afCYBONq.js.map → PkToolShowSources-B0Xw8RR2.js.map} +1 -1
  112. package/dist-vue/_chunks/{PkToolShowSuggestedReply-C863wgtU.js → PkToolShowSuggestedReply-C4ymiiHa.js} +2 -2
  113. package/dist-vue/_chunks/{PkToolShowSuggestedReply-C863wgtU.js.map → PkToolShowSuggestedReply-C4ymiiHa.js.map} +1 -1
  114. package/dist-vue/_chunks/{PkToolShowVideo-kUiwxRlz.js → PkToolShowVideo-DyOPeNq_.js} +2 -2
  115. package/dist-vue/_chunks/{PkToolShowVideo-kUiwxRlz.js.map → PkToolShowVideo-DyOPeNq_.js.map} +1 -1
  116. package/dist-vue/_chunks/{PkToolShowWebPages-Dw9D1__u.js → PkToolShowWebPages-DajE3TAx.js} +2 -2
  117. package/dist-vue/_chunks/{PkToolShowWebPages-Dw9D1__u.js.map → PkToolShowWebPages-DajE3TAx.js.map} +1 -1
  118. package/dist-vue/_chunks/{createChatbotApiClient-DzrHp52e.js → createChatbotApiClient-BxqZ_a0M.js} +30 -20
  119. package/dist-vue/_chunks/createChatbotApiClient-BxqZ_a0M.js.map +1 -0
  120. package/dist-vue/_chunks/{localFolders-ChZp8dLu.js → localFolders-D8DxM-5y.js} +46 -46
  121. package/dist-vue/_chunks/{localFolders-ChZp8dLu.js.map → localFolders-D8DxM-5y.js.map} +1 -1
  122. package/dist-vue/_chunks/{useChatbotStore-DZlc7dzK.js → useChatbotStore-CYArauNl.js} +21 -21
  123. package/dist-vue/_chunks/{useChatbotStore-DZlc7dzK.js.map → useChatbotStore-CYArauNl.js.map} +1 -1
  124. package/dist-vue/_chunks/{utils-CY0jFRnG.js → utils-SmeQuVL1.js} +8 -8
  125. package/dist-vue/_chunks/{utils-CY0jFRnG.js.map → utils-SmeQuVL1.js.map} +1 -1
  126. package/dist-vue/api.js +1 -1
  127. package/dist-vue/composables.js +17 -13
  128. package/dist-vue/composables.js.map +1 -1
  129. package/dist-vue/index.js +4876 -4802
  130. package/dist-vue/index.js.map +1 -1
  131. package/dist-vue/locales.js +14 -0
  132. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +11 -2
  133. package/dist-vue/packages/composable/src/chatbot/useChatProjectsStore.d.ts +40 -1
  134. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +40 -1
  135. package/dist-vue/packages/composable/src/chatbot/useConversationActions.d.ts +3 -0
  136. package/dist-vue/packages/models/src/schema/Agent.d.ts +53 -0
  137. package/dist-vue/packages/models/src/schema/Chat.d.ts +55 -0
  138. package/dist-vue/packages/models/src/schema/Organization.d.ts +18 -0
  139. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +13 -0
  140. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +10 -0
  141. package/package.json +1 -1
  142. package/dist/_chunks/Agent-nB9V45mr.js.map +0 -1
  143. package/dist-vue/_chunks/Agent-DKefaJeG.js.map +0 -1
  144. package/dist-vue/_chunks/createChatbotApiClient-DzrHp52e.js.map +0 -1
@@ -245,6 +245,10 @@ var e = {
245
245
  searchMode: "Search mode",
246
246
  limit: "Limit",
247
247
  maxStepCount: "Max steps",
248
+ summaryAndAnalysis: "Summary and analysis",
249
+ compactionWindowPercent: "Summary threshold",
250
+ compactionMaxTokens: "Conversation cap (tokens)",
251
+ analysisInterval: "Messages between analyses",
248
252
  smartRanking: "Smart ranking",
249
253
  freshnessBoost: "Freshness boost",
250
254
  freshnessWeight: "Freshness weight",
@@ -516,6 +520,9 @@ var e = {
516
520
  providerTimeoutMs: "1000-789000, then the next one. BYOK only.",
517
521
  showReasoning: "Turned off, the chat says the agent is reasoning without showing its text.",
518
522
  showExtendedSteps: "Shows reasoning and tool calls as an expandable timeline in the chat.",
523
+ compactionWindowPercent: "How much of the room the model's window leaves after instructions and tools the conversation may fill: past it, the oldest messages become a summary and the last two exchanges stay.",
524
+ compactionMaxTokens: "From 10,000 to 1,000,000. Past these tokens the conversation is summarized even when the model's window is larger. For a model of your endpoint the catalog does not recognize, a window of 128,000 is assumed: if it is smaller, lower the cap.",
525
+ analysisInterval: "The conversation is checked for abuse and agent mistakes each time this many new messages arrive. The lower it is, the sooner the warnings that lead to the automatic block add up too.",
519
526
  freshnessBoost: "Applies a boost based on how recently the document was updated.",
520
527
  freshnessScale: "Freshness scale (days)",
521
528
  freshnessScaleTooltip: "The half-life of the exponential decay. A document as old as this value will receive 50% of the maximum boost. Lower values cause older documents to lose the boost more quickly.",
@@ -1402,6 +1409,10 @@ var e = {
1402
1409
  searchMode: "Modalità di ricerca",
1403
1410
  limit: "Limite",
1404
1411
  maxStepCount: "Numero massimo di step",
1412
+ summaryAndAnalysis: "Riassunto e analisi",
1413
+ compactionWindowPercent: "Soglia del riassunto",
1414
+ compactionMaxTokens: "Tetto della conversazione (token)",
1415
+ analysisInterval: "Messaggi tra due analisi",
1405
1416
  smartRanking: "Ranking intelligente",
1406
1417
  freshnessBoost: "Boost freschezza",
1407
1418
  freshnessWeight: "Peso freschezza",
@@ -1673,6 +1684,9 @@ var e = {
1673
1684
  providerTimeoutMs: "1000-789000, poi il successivo. Solo BYOK.",
1674
1685
  showReasoning: "Spento, la chat dice che l'agente sta ragionando senza mostrarne il testo.",
1675
1686
  showExtendedSteps: "Visualizza la timeline con il ragionamento e gli strumenti nella chat.",
1687
+ compactionWindowPercent: "Quanta parte dello spazio che la finestra del modello lascia dopo istruzioni e tool può occupare la conversazione: oltre, i messaggi più vecchi diventano un riassunto e restano gli ultimi due scambi.",
1688
+ compactionMaxTokens: "Da 10.000 a 1.000.000. Oltre questi token la conversazione si riassume anche se la finestra del modello è più grande. Per un modello del tuo endpoint che il catalogo non riconosce si assume una finestra da 128.000: se è più piccola, abbassa il tetto.",
1689
+ analysisInterval: "La conversazione si analizza per abusi ed errori dell’agente ogni volta che arriva questo numero di messaggi nuovi. Più è basso, prima si accumulano anche gli avvisi che portano al blocco automatico.",
1676
1690
  freshnessBoost: "Applica un boost basandosi su quanto recentemente il documento è stato aggiornato.",
1677
1691
  freshnessScale: "Scala temporale spinta (Giorni)",
1678
1692
  freshnessScaleTooltip: "Il tempo di dimezzamento (half-life) del decadimento esponenziale. Un documento vecchio esattamente quanto questo valore riceverà il 50% del boost massimo. Più è basso, più i documenti vecchi perderanno rapidamente il boost.",
@@ -46,6 +46,9 @@ type __VLS_ModelProps = {
46
46
  'visibility'?: string;
47
47
  'limit'?: number;
48
48
  'maxStepCount'?: number;
49
+ 'compactionWindowPercent'?: number;
50
+ 'compactionMaxTokens'?: number | undefined;
51
+ 'analysisInterval'?: number;
49
52
  'maxOutputTokens'?: number | undefined;
50
53
  'presencePenalty'?: number;
51
54
  'frequencyPenalty'?: number;
@@ -171,9 +174,9 @@ type __VLS_ModelProps = {
171
174
  } | undefined;
172
175
  };
173
176
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
174
- declare var __VLS_963: {};
177
+ declare var __VLS_984: {};
175
178
  type __VLS_Slots = {} & {
176
- default?: (props: typeof __VLS_963) => any;
179
+ default?: (props: typeof __VLS_984) => any;
177
180
  };
178
181
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
179
182
  "update:reasoning": (value: {
@@ -274,6 +277,9 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
274
277
  "update:visibility": (value: string) => any;
275
278
  "update:limit": (value: number) => any;
276
279
  "update:maxStepCount": (value: number) => any;
280
+ "update:compactionWindowPercent": (value: number) => any;
281
+ "update:compactionMaxTokens": (value: number | undefined) => any;
282
+ "update:analysisInterval": (value: number) => any;
277
283
  "update:maxOutputTokens": (value: number | undefined) => any;
278
284
  "update:presencePenalty": (value: number) => any;
279
285
  "update:frequencyPenalty": (value: number) => any;
@@ -581,6 +587,9 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
581
587
  "onUpdate:visibility"?: ((value: string) => any) | undefined;
582
588
  "onUpdate:limit"?: ((value: number) => any) | undefined;
583
589
  "onUpdate:maxStepCount"?: ((value: number) => any) | undefined;
590
+ "onUpdate:compactionWindowPercent"?: ((value: number) => any) | undefined;
591
+ "onUpdate:compactionMaxTokens"?: ((value: number | undefined) => any) | undefined;
592
+ "onUpdate:analysisInterval"?: ((value: number) => any) | undefined;
584
593
  "onUpdate:maxOutputTokens"?: ((value: number | undefined) => any) | undefined;
585
594
  "onUpdate:presencePenalty"?: ((value: number) => any) | undefined;
586
595
  "onUpdate:frequencyPenalty"?: ((value: number) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { ChatProjectCreateDto, ChatProjectDeletion, ChatProjectUpdateDto, PlatformType, ToolGroupKind, BlockedReasonCode, ConversationAnalysisTrigger, Sentiment, SentimentTrend, UserTone, AbuseCategory, LlmIssueCategory, UserEngagement, AbuseConfidence, UIChatMessage } from '../../../models/src';
1
+ import { ChatProjectCreateDto, ChatProjectDeletion, ChatProjectUpdateDto, PlatformType, ToolGroupKind, ChatOperatorNotice, BlockedReasonCode, ConversationAnalysisTrigger, Sentiment, SentimentTrend, UserTone, AbuseCategory, LlmIssueCategory, UserEngagement, AbuseConfidence, UIChatMessage } from '../../../models/src';
2
2
  import { Store } from 'pinia';
3
3
  import { SharedV4ProviderMetadata, JSONObject } from '@ai-sdk/provider';
4
4
  import { ProviderMetadata, LanguageModelUsage } from 'ai';
@@ -209,6 +209,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
209
209
  hiddenColumns?: string[] | undefined;
210
210
  sample?: string | undefined;
211
211
  } | undefined;
212
+ operator?: true | undefined;
213
+ operatorNotice?: ChatOperatorNotice | undefined;
212
214
  } | undefined;
213
215
  parts: ({
214
216
  type: "text";
@@ -639,6 +641,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
639
641
  blockedReason: string | null;
640
642
  warningCount: number;
641
643
  lastMessageAt: Date;
644
+ messageCountAtLastAnalysis?: number | null | undefined;
642
645
  conversationAnalysis?: {
643
646
  analyzedAt: Date;
644
647
  analysisTrigger: ConversationAnalysisTrigger;
@@ -661,6 +664,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
661
664
  turnInProgress?: boolean | undefined;
662
665
  projectId?: string | null | undefined;
663
666
  authorName?: string | undefined;
667
+ operatorId?: string | null | undefined;
668
+ operatorSince?: Date | null | undefined;
664
669
  }[], {
665
670
  id: string;
666
671
  messages: UIChatMessage[];
@@ -684,6 +689,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
684
689
  blockedReason: string | null;
685
690
  warningCount: number;
686
691
  lastMessageAt: Date;
692
+ messageCountAtLastAnalysis?: number | null | undefined;
687
693
  conversationAnalysis?: {
688
694
  analyzedAt: Date;
689
695
  analysisTrigger: ConversationAnalysisTrigger;
@@ -706,6 +712,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
706
712
  turnInProgress?: boolean | undefined;
707
713
  projectId?: string | null | undefined;
708
714
  authorName?: string | undefined;
715
+ operatorId?: string | null | undefined;
716
+ operatorSince?: Date | null | undefined;
709
717
  }[] | {
710
718
  id: string;
711
719
  messages: {
@@ -852,6 +860,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
852
860
  hiddenColumns?: string[] | undefined;
853
861
  sample?: string | undefined;
854
862
  } | undefined;
863
+ operator?: true | undefined;
864
+ operatorNotice?: ChatOperatorNotice | undefined;
855
865
  } | undefined;
856
866
  parts: ({
857
867
  type: "text";
@@ -1282,6 +1292,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
1282
1292
  blockedReason: string | null;
1283
1293
  warningCount: number;
1284
1294
  lastMessageAt: Date;
1295
+ messageCountAtLastAnalysis?: number | null | undefined;
1285
1296
  conversationAnalysis?: {
1286
1297
  analyzedAt: Date;
1287
1298
  analysisTrigger: ConversationAnalysisTrigger;
@@ -1304,6 +1315,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
1304
1315
  turnInProgress?: boolean | undefined;
1305
1316
  projectId?: string | null | undefined;
1306
1317
  authorName?: string | undefined;
1318
+ operatorId?: string | null | undefined;
1319
+ operatorSince?: Date | null | undefined;
1307
1320
  }[]>;
1308
1321
  isLoadingProjectChats: globalThis.Ref<boolean, boolean>;
1309
1322
  load: () => Promise<void>;
@@ -1540,6 +1553,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
1540
1553
  hiddenColumns?: string[] | undefined;
1541
1554
  sample?: string | undefined;
1542
1555
  } | undefined;
1556
+ operator?: true | undefined;
1557
+ operatorNotice?: ChatOperatorNotice | undefined;
1543
1558
  } | undefined;
1544
1559
  parts: ({
1545
1560
  type: "text";
@@ -1970,6 +1985,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
1970
1985
  blockedReason: string | null;
1971
1986
  warningCount: number;
1972
1987
  lastMessageAt: Date;
1988
+ messageCountAtLastAnalysis?: number | null | undefined;
1973
1989
  conversationAnalysis?: {
1974
1990
  analyzedAt: Date;
1975
1991
  analysisTrigger: ConversationAnalysisTrigger;
@@ -1992,6 +2008,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
1992
2008
  turnInProgress?: boolean | undefined;
1993
2009
  projectId?: string | null | undefined;
1994
2010
  authorName?: string | undefined;
2011
+ operatorId?: string | null | undefined;
2012
+ operatorSince?: Date | null | undefined;
1995
2013
  }[], {
1996
2014
  id: string;
1997
2015
  messages: UIChatMessage[];
@@ -2015,6 +2033,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
2015
2033
  blockedReason: string | null;
2016
2034
  warningCount: number;
2017
2035
  lastMessageAt: Date;
2036
+ messageCountAtLastAnalysis?: number | null | undefined;
2018
2037
  conversationAnalysis?: {
2019
2038
  analyzedAt: Date;
2020
2039
  analysisTrigger: ConversationAnalysisTrigger;
@@ -2037,6 +2056,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
2037
2056
  turnInProgress?: boolean | undefined;
2038
2057
  projectId?: string | null | undefined;
2039
2058
  authorName?: string | undefined;
2059
+ operatorId?: string | null | undefined;
2060
+ operatorSince?: Date | null | undefined;
2040
2061
  }[] | {
2041
2062
  id: string;
2042
2063
  messages: {
@@ -2183,6 +2204,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
2183
2204
  hiddenColumns?: string[] | undefined;
2184
2205
  sample?: string | undefined;
2185
2206
  } | undefined;
2207
+ operator?: true | undefined;
2208
+ operatorNotice?: ChatOperatorNotice | undefined;
2186
2209
  } | undefined;
2187
2210
  parts: ({
2188
2211
  type: "text";
@@ -2613,6 +2636,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
2613
2636
  blockedReason: string | null;
2614
2637
  warningCount: number;
2615
2638
  lastMessageAt: Date;
2639
+ messageCountAtLastAnalysis?: number | null | undefined;
2616
2640
  conversationAnalysis?: {
2617
2641
  analyzedAt: Date;
2618
2642
  analysisTrigger: ConversationAnalysisTrigger;
@@ -2635,6 +2659,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
2635
2659
  turnInProgress?: boolean | undefined;
2636
2660
  projectId?: string | null | undefined;
2637
2661
  authorName?: string | undefined;
2662
+ operatorId?: string | null | undefined;
2663
+ operatorSince?: Date | null | undefined;
2638
2664
  }[]>;
2639
2665
  isLoadingProjectChats: globalThis.Ref<boolean, boolean>;
2640
2666
  load: () => Promise<void>;
@@ -2871,6 +2897,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
2871
2897
  hiddenColumns?: string[] | undefined;
2872
2898
  sample?: string | undefined;
2873
2899
  } | undefined;
2900
+ operator?: true | undefined;
2901
+ operatorNotice?: ChatOperatorNotice | undefined;
2874
2902
  } | undefined;
2875
2903
  parts: ({
2876
2904
  type: "text";
@@ -3301,6 +3329,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
3301
3329
  blockedReason: string | null;
3302
3330
  warningCount: number;
3303
3331
  lastMessageAt: Date;
3332
+ messageCountAtLastAnalysis?: number | null | undefined;
3304
3333
  conversationAnalysis?: {
3305
3334
  analyzedAt: Date;
3306
3335
  analysisTrigger: ConversationAnalysisTrigger;
@@ -3323,6 +3352,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
3323
3352
  turnInProgress?: boolean | undefined;
3324
3353
  projectId?: string | null | undefined;
3325
3354
  authorName?: string | undefined;
3355
+ operatorId?: string | null | undefined;
3356
+ operatorSince?: Date | null | undefined;
3326
3357
  }[], {
3327
3358
  id: string;
3328
3359
  messages: UIChatMessage[];
@@ -3346,6 +3377,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
3346
3377
  blockedReason: string | null;
3347
3378
  warningCount: number;
3348
3379
  lastMessageAt: Date;
3380
+ messageCountAtLastAnalysis?: number | null | undefined;
3349
3381
  conversationAnalysis?: {
3350
3382
  analyzedAt: Date;
3351
3383
  analysisTrigger: ConversationAnalysisTrigger;
@@ -3368,6 +3400,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
3368
3400
  turnInProgress?: boolean | undefined;
3369
3401
  projectId?: string | null | undefined;
3370
3402
  authorName?: string | undefined;
3403
+ operatorId?: string | null | undefined;
3404
+ operatorSince?: Date | null | undefined;
3371
3405
  }[] | {
3372
3406
  id: string;
3373
3407
  messages: {
@@ -3514,6 +3548,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
3514
3548
  hiddenColumns?: string[] | undefined;
3515
3549
  sample?: string | undefined;
3516
3550
  } | undefined;
3551
+ operator?: true | undefined;
3552
+ operatorNotice?: ChatOperatorNotice | undefined;
3517
3553
  } | undefined;
3518
3554
  parts: ({
3519
3555
  type: "text";
@@ -3944,6 +3980,7 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
3944
3980
  blockedReason: string | null;
3945
3981
  warningCount: number;
3946
3982
  lastMessageAt: Date;
3983
+ messageCountAtLastAnalysis?: number | null | undefined;
3947
3984
  conversationAnalysis?: {
3948
3985
  analyzedAt: Date;
3949
3986
  analysisTrigger: ConversationAnalysisTrigger;
@@ -3966,6 +4003,8 @@ export declare function useChatProjectsStore(agentId: string): Store<`chat-proje
3966
4003
  turnInProgress?: boolean | undefined;
3967
4004
  projectId?: string | null | undefined;
3968
4005
  authorName?: string | undefined;
4006
+ operatorId?: string | null | undefined;
4007
+ operatorSince?: Date | null | undefined;
3969
4008
  }[]>;
3970
4009
  isLoadingProjectChats: globalThis.Ref<boolean, boolean>;
3971
4010
  load: () => Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import { FileUIPart, ChatStatus, ChatRequestOptions, ChatAddToolOutputFunction, ChatAddToolApproveResponseFunction, ProviderMetadata, LanguageModelUsage } from 'ai';
2
- import { PageAccessLevel, Chat as ChatRecord, ChatMessageActions, UIChatMessage, UIChatMessageMetadata, PagePointer, FilePointer, AgentWidgetLayout, AgentWidgetAppearance, AgentLoaderStrategy, StoragePolicy, AgentSearchMode, AgentBuiltInTool, WebSearchProvider, PlatformType, ToolGroupKind, BlockedReasonCode, ConversationAnalysisTrigger, Sentiment, SentimentTrend, UserTone, AbuseCategory, LlmIssueCategory, UserEngagement, AbuseConfidence, UserFileKind } from '../../../models/src';
2
+ import { PageAccessLevel, Chat as ChatRecord, ChatMessageActions, UIChatMessage, UIChatMessageMetadata, PagePointer, FilePointer, AgentWidgetLayout, AgentWidgetAppearance, AgentLoaderStrategy, StoragePolicy, AgentSearchMode, AgentBuiltInTool, WebSearchProvider, PlatformType, ToolGroupKind, ChatOperatorNotice, BlockedReasonCode, ConversationAnalysisTrigger, Sentiment, SentimentTrend, UserTone, AbuseCategory, LlmIssueCategory, UserEngagement, AbuseConfidence, UserFileKind } from '../../../models/src';
3
3
  import { ConfirmationMode, HostToolConfirmation, RegisteredHostTool } from './hostTools';
4
4
  import { ConnectedLocalFolder } from './localFolders';
5
5
  import { ChatbotFile } from './api';
@@ -962,6 +962,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
962
962
  hiddenColumns?: string[] | undefined;
963
963
  sample?: string | undefined;
964
964
  } | undefined;
965
+ operator?: true | undefined;
966
+ operatorNotice?: ChatOperatorNotice | undefined;
965
967
  } | undefined;
966
968
  parts: ({
967
969
  type: "text";
@@ -1392,6 +1394,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1392
1394
  blockedReason: string | null;
1393
1395
  warningCount: number;
1394
1396
  lastMessageAt: Date;
1397
+ messageCountAtLastAnalysis?: number | null | undefined;
1395
1398
  conversationAnalysis?: {
1396
1399
  analyzedAt: Date;
1397
1400
  analysisTrigger: ConversationAnalysisTrigger;
@@ -1414,6 +1417,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1414
1417
  turnInProgress?: boolean | undefined;
1415
1418
  projectId?: string | null | undefined;
1416
1419
  authorName?: string | undefined;
1420
+ operatorId?: string | null | undefined;
1421
+ operatorSince?: Date | null | undefined;
1417
1422
  }[], {
1418
1423
  id: string;
1419
1424
  messages: UIChatMessage[];
@@ -1437,6 +1442,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1437
1442
  blockedReason: string | null;
1438
1443
  warningCount: number;
1439
1444
  lastMessageAt: Date;
1445
+ messageCountAtLastAnalysis?: number | null | undefined;
1440
1446
  conversationAnalysis?: {
1441
1447
  analyzedAt: Date;
1442
1448
  analysisTrigger: ConversationAnalysisTrigger;
@@ -1459,6 +1465,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1459
1465
  turnInProgress?: boolean | undefined;
1460
1466
  projectId?: string | null | undefined;
1461
1467
  authorName?: string | undefined;
1468
+ operatorId?: string | null | undefined;
1469
+ operatorSince?: Date | null | undefined;
1462
1470
  }[] | {
1463
1471
  id: string;
1464
1472
  messages: {
@@ -1605,6 +1613,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1605
1613
  hiddenColumns?: string[] | undefined;
1606
1614
  sample?: string | undefined;
1607
1615
  } | undefined;
1616
+ operator?: true | undefined;
1617
+ operatorNotice?: ChatOperatorNotice | undefined;
1608
1618
  } | undefined;
1609
1619
  parts: ({
1610
1620
  type: "text";
@@ -2035,6 +2045,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2035
2045
  blockedReason: string | null;
2036
2046
  warningCount: number;
2037
2047
  lastMessageAt: Date;
2048
+ messageCountAtLastAnalysis?: number | null | undefined;
2038
2049
  conversationAnalysis?: {
2039
2050
  analyzedAt: Date;
2040
2051
  analysisTrigger: ConversationAnalysisTrigger;
@@ -2057,6 +2068,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2057
2068
  turnInProgress?: boolean | undefined;
2058
2069
  projectId?: string | null | undefined;
2059
2070
  authorName?: string | undefined;
2071
+ operatorId?: string | null | undefined;
2072
+ operatorSince?: Date | null | undefined;
2060
2073
  }[]>;
2061
2074
  isLoadingConversations: globalThis.Ref<boolean, boolean>;
2062
2075
  hasMoreConversations: globalThis.Ref<boolean, boolean>;
@@ -3236,6 +3249,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3236
3249
  hiddenColumns?: string[] | undefined;
3237
3250
  sample?: string | undefined;
3238
3251
  } | undefined;
3252
+ operator?: true | undefined;
3253
+ operatorNotice?: ChatOperatorNotice | undefined;
3239
3254
  } | undefined;
3240
3255
  parts: ({
3241
3256
  type: "text";
@@ -3666,6 +3681,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3666
3681
  blockedReason: string | null;
3667
3682
  warningCount: number;
3668
3683
  lastMessageAt: Date;
3684
+ messageCountAtLastAnalysis?: number | null | undefined;
3669
3685
  conversationAnalysis?: {
3670
3686
  analyzedAt: Date;
3671
3687
  analysisTrigger: ConversationAnalysisTrigger;
@@ -3688,6 +3704,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3688
3704
  turnInProgress?: boolean | undefined;
3689
3705
  projectId?: string | null | undefined;
3690
3706
  authorName?: string | undefined;
3707
+ operatorId?: string | null | undefined;
3708
+ operatorSince?: Date | null | undefined;
3691
3709
  }[], {
3692
3710
  id: string;
3693
3711
  messages: UIChatMessage[];
@@ -3711,6 +3729,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3711
3729
  blockedReason: string | null;
3712
3730
  warningCount: number;
3713
3731
  lastMessageAt: Date;
3732
+ messageCountAtLastAnalysis?: number | null | undefined;
3714
3733
  conversationAnalysis?: {
3715
3734
  analyzedAt: Date;
3716
3735
  analysisTrigger: ConversationAnalysisTrigger;
@@ -3733,6 +3752,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3733
3752
  turnInProgress?: boolean | undefined;
3734
3753
  projectId?: string | null | undefined;
3735
3754
  authorName?: string | undefined;
3755
+ operatorId?: string | null | undefined;
3756
+ operatorSince?: Date | null | undefined;
3736
3757
  }[] | {
3737
3758
  id: string;
3738
3759
  messages: {
@@ -3879,6 +3900,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3879
3900
  hiddenColumns?: string[] | undefined;
3880
3901
  sample?: string | undefined;
3881
3902
  } | undefined;
3903
+ operator?: true | undefined;
3904
+ operatorNotice?: ChatOperatorNotice | undefined;
3882
3905
  } | undefined;
3883
3906
  parts: ({
3884
3907
  type: "text";
@@ -4309,6 +4332,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4309
4332
  blockedReason: string | null;
4310
4333
  warningCount: number;
4311
4334
  lastMessageAt: Date;
4335
+ messageCountAtLastAnalysis?: number | null | undefined;
4312
4336
  conversationAnalysis?: {
4313
4337
  analyzedAt: Date;
4314
4338
  analysisTrigger: ConversationAnalysisTrigger;
@@ -4331,6 +4355,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4331
4355
  turnInProgress?: boolean | undefined;
4332
4356
  projectId?: string | null | undefined;
4333
4357
  authorName?: string | undefined;
4358
+ operatorId?: string | null | undefined;
4359
+ operatorSince?: Date | null | undefined;
4334
4360
  }[]>;
4335
4361
  isLoadingConversations: globalThis.Ref<boolean, boolean>;
4336
4362
  hasMoreConversations: globalThis.Ref<boolean, boolean>;
@@ -5510,6 +5536,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
5510
5536
  hiddenColumns?: string[] | undefined;
5511
5537
  sample?: string | undefined;
5512
5538
  } | undefined;
5539
+ operator?: true | undefined;
5540
+ operatorNotice?: ChatOperatorNotice | undefined;
5513
5541
  } | undefined;
5514
5542
  parts: ({
5515
5543
  type: "text";
@@ -5940,6 +5968,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
5940
5968
  blockedReason: string | null;
5941
5969
  warningCount: number;
5942
5970
  lastMessageAt: Date;
5971
+ messageCountAtLastAnalysis?: number | null | undefined;
5943
5972
  conversationAnalysis?: {
5944
5973
  analyzedAt: Date;
5945
5974
  analysisTrigger: ConversationAnalysisTrigger;
@@ -5962,6 +5991,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
5962
5991
  turnInProgress?: boolean | undefined;
5963
5992
  projectId?: string | null | undefined;
5964
5993
  authorName?: string | undefined;
5994
+ operatorId?: string | null | undefined;
5995
+ operatorSince?: Date | null | undefined;
5965
5996
  }[], {
5966
5997
  id: string;
5967
5998
  messages: UIChatMessage[];
@@ -5985,6 +6016,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
5985
6016
  blockedReason: string | null;
5986
6017
  warningCount: number;
5987
6018
  lastMessageAt: Date;
6019
+ messageCountAtLastAnalysis?: number | null | undefined;
5988
6020
  conversationAnalysis?: {
5989
6021
  analyzedAt: Date;
5990
6022
  analysisTrigger: ConversationAnalysisTrigger;
@@ -6007,6 +6039,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6007
6039
  turnInProgress?: boolean | undefined;
6008
6040
  projectId?: string | null | undefined;
6009
6041
  authorName?: string | undefined;
6042
+ operatorId?: string | null | undefined;
6043
+ operatorSince?: Date | null | undefined;
6010
6044
  }[] | {
6011
6045
  id: string;
6012
6046
  messages: {
@@ -6153,6 +6187,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6153
6187
  hiddenColumns?: string[] | undefined;
6154
6188
  sample?: string | undefined;
6155
6189
  } | undefined;
6190
+ operator?: true | undefined;
6191
+ operatorNotice?: ChatOperatorNotice | undefined;
6156
6192
  } | undefined;
6157
6193
  parts: ({
6158
6194
  type: "text";
@@ -6583,6 +6619,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6583
6619
  blockedReason: string | null;
6584
6620
  warningCount: number;
6585
6621
  lastMessageAt: Date;
6622
+ messageCountAtLastAnalysis?: number | null | undefined;
6586
6623
  conversationAnalysis?: {
6587
6624
  analyzedAt: Date;
6588
6625
  analysisTrigger: ConversationAnalysisTrigger;
@@ -6605,6 +6642,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6605
6642
  turnInProgress?: boolean | undefined;
6606
6643
  projectId?: string | null | undefined;
6607
6644
  authorName?: string | undefined;
6645
+ operatorId?: string | null | undefined;
6646
+ operatorSince?: Date | null | undefined;
6608
6647
  }[]>;
6609
6648
  isLoadingConversations: globalThis.Ref<boolean, boolean>;
6610
6649
  hasMoreConversations: globalThis.Ref<boolean, boolean>;
@@ -35,6 +35,7 @@ export declare function groupConversationsByDate(conversations: Conversation[]):
35
35
  blockedReason: string | null;
36
36
  warningCount: number;
37
37
  lastMessageAt: Date;
38
+ messageCountAtLastAnalysis?: number | null | undefined;
38
39
  conversationAnalysis?: {
39
40
  analyzedAt: Date;
40
41
  analysisTrigger: ConversationAnalysisTrigger;
@@ -57,6 +58,8 @@ export declare function groupConversationsByDate(conversations: Conversation[]):
57
58
  turnInProgress?: boolean | undefined;
58
59
  projectId?: string | null | undefined;
59
60
  authorName?: string | undefined;
61
+ operatorId?: string | null | undefined;
62
+ operatorSince?: Date | null | undefined;
60
63
  }[];
61
64
  }[];
62
65
  /**
@@ -1504,6 +1504,44 @@ export declare const AgentConfirmationsCapabilitySchema: z.ZodObject<{
1504
1504
  allowAutomatic: z.ZodLiteral<true>;
1505
1505
  }, z.core.$strip>;
1506
1506
  export type AgentConfirmationsCapability = z.infer<typeof AgentConfirmationsCapabilitySchema>;
1507
+ /**
1508
+ * What an agent that leaves `settings.conversation` empty runs with (spec
1509
+ * `context-compaction.md`): the conversation is compacted at 80% of the room
1510
+ * the model's window leaves it, never past 100k tokens, and analyzed every ten
1511
+ * messages.
1512
+ */
1513
+ export declare const AGENT_CONVERSATION_DEFAULTS: {
1514
+ readonly compactionWindowPercent: 80;
1515
+ readonly compactionMaxTokens: 100000;
1516
+ readonly analysisInterval: 10;
1517
+ };
1518
+ /** The bounds of the conversation settings, for the schema and the panel. */
1519
+ export declare const AGENT_CONVERSATION_LIMITS: {
1520
+ readonly compactionWindowPercent: {
1521
+ readonly min: 20;
1522
+ readonly max: 95;
1523
+ };
1524
+ readonly compactionMaxTokens: {
1525
+ readonly min: 10000;
1526
+ readonly max: 1000000;
1527
+ };
1528
+ readonly analysisInterval: {
1529
+ readonly min: 1;
1530
+ readonly max: 100;
1531
+ };
1532
+ };
1533
+ /**
1534
+ * How the agent keeps a long conversation in the context and how often it is
1535
+ * analyzed (spec `context-compaction.md`). A field left out takes
1536
+ * {@link AGENT_CONVERSATION_DEFAULTS}, so an agent saved before these existed
1537
+ * keeps the platform values, and a later change of them reaches it too.
1538
+ */
1539
+ export declare const AgentConversationSchema: z.ZodObject<{
1540
+ compactionWindowPercent: z.ZodOptional<z.ZodNumber>;
1541
+ compactionMaxTokens: z.ZodOptional<z.ZodNumber>;
1542
+ analysisInterval: z.ZodOptional<z.ZodNumber>;
1543
+ }, z.core.$strip>;
1544
+ export type AgentConversation = z.infer<typeof AgentConversationSchema>;
1507
1545
  export declare const AgentSettingsSchema: z.ZodObject<{
1508
1546
  model: z.ZodObject<{
1509
1547
  prompt: z.ZodOptional<z.ZodString>;
@@ -2355,6 +2393,11 @@ export declare const AgentSettingsSchema: z.ZodObject<{
2355
2393
  }, z.core.$strip>>>;
2356
2394
  }, z.core.$strip>>>;
2357
2395
  }, z.core.$strip>>;
2396
+ conversation: z.ZodOptional<z.ZodObject<{
2397
+ compactionWindowPercent: z.ZodOptional<z.ZodNumber>;
2398
+ compactionMaxTokens: z.ZodOptional<z.ZodNumber>;
2399
+ analysisInterval: z.ZodOptional<z.ZodNumber>;
2400
+ }, z.core.$strip>>;
2358
2401
  }, z.core.$strip>;
2359
2402
  export type AgentSettings = z.infer<typeof AgentSettingsSchema>;
2360
2403
  export declare const AgentSecuritySchema: z.ZodObject<{
@@ -3228,6 +3271,11 @@ export declare const AgentDtoSchema: z.ZodObject<{
3228
3271
  }, z.core.$strip>>>;
3229
3272
  }, z.core.$strip>>>;
3230
3273
  }, z.core.$strip>>;
3274
+ conversation: z.ZodOptional<z.ZodObject<{
3275
+ compactionWindowPercent: z.ZodOptional<z.ZodNumber>;
3276
+ compactionMaxTokens: z.ZodOptional<z.ZodNumber>;
3277
+ analysisInterval: z.ZodOptional<z.ZodNumber>;
3278
+ }, z.core.$strip>>;
3231
3279
  }, z.core.$strip>;
3232
3280
  security: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3233
3281
  rateLimits: z.ZodObject<{
@@ -4102,6 +4150,11 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
4102
4150
  }, z.core.$strip>>>;
4103
4151
  }, z.core.$strip>>>;
4104
4152
  }, z.core.$strip>>;
4153
+ conversation: z.ZodOptional<z.ZodObject<{
4154
+ compactionWindowPercent: z.ZodOptional<z.ZodNumber>;
4155
+ compactionMaxTokens: z.ZodOptional<z.ZodNumber>;
4156
+ analysisInterval: z.ZodOptional<z.ZodNumber>;
4157
+ }, z.core.$strip>>;
4105
4158
  }, z.core.$strip>;
4106
4159
  security: z.ZodNullable<z.ZodObject<{
4107
4160
  rateLimits: z.ZodObject<{