@8wave/ai-elements 0.111.0-beta.3 → 0.111.0-beta.7

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 (150) hide show
  1. package/dist/_chunks/{Agent-Su_LDF9_.js → Agent-tE7ZJPxG.js} +80 -78
  2. package/dist/_chunks/Agent-tE7ZJPxG.js.map +1 -0
  3. package/dist/_chunks/{Document-DecVclEe.js → Document-Bmx6774B.js} +33 -21
  4. package/dist/_chunks/Document-Bmx6774B.js.map +1 -0
  5. package/dist/_chunks/Media-Cft7Pwrh.js +108 -0
  6. package/dist/_chunks/Media-Cft7Pwrh.js.map +1 -0
  7. package/dist/_chunks/{PkStreamingMarkdown-CwqsJnJJ.js → PkStreamingMarkdown-DgBS4Ebc.js} +69 -59
  8. package/dist/_chunks/PkStreamingMarkdown-DgBS4Ebc.js.map +1 -0
  9. package/dist/_chunks/{PkToolRequestGeolocation-OokLeTf1.js → PkToolRequestGeolocation-pVys3x9M.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestGeolocation-OokLeTf1.js.map → PkToolRequestGeolocation-pVys3x9M.js.map} +1 -1
  11. package/dist/_chunks/{PkToolRequestOAuthConnection-CtqKG6Yb.js → PkToolRequestOAuthConnection-BGChb_eC.js} +2 -2
  12. package/dist/_chunks/{PkToolRequestOAuthConnection-CtqKG6Yb.js.map → PkToolRequestOAuthConnection-BGChb_eC.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js → PkToolShowArtifact-CkTBIdQd.js} +2 -2
  14. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js.map → PkToolShowArtifact-CkTBIdQd.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowContactForm-D_dW59Dl.js → PkToolShowContactForm-Du7jX7K5.js} +2 -2
  16. package/dist/_chunks/{PkToolShowContactForm-D_dW59Dl.js.map → PkToolShowContactForm-Du7jX7K5.js.map} +1 -1
  17. package/dist/_chunks/PkToolShowDiagram-BdmG9gm8.js.map +1 -1
  18. package/dist/_chunks/{PkToolShowForm-DbJHMDbt.js → PkToolShowForm-Du2nk7pq.js} +3 -3
  19. package/dist/_chunks/PkToolShowForm-Du2nk7pq.js.map +1 -0
  20. package/dist/_chunks/{PkToolShowSources-Dot-W0Mj.js → PkToolShowSources-CsHLUF4L.js} +3 -3
  21. package/dist/_chunks/{PkToolShowSources-Dot-W0Mj.js.map → PkToolShowSources-CsHLUF4L.js.map} +1 -1
  22. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js → PkToolShowSuggestedReply-D7g_qymH.js} +2 -2
  23. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js.map → PkToolShowSuggestedReply-D7g_qymH.js.map} +1 -1
  24. package/dist/_chunks/PkToolShowWeather-LPd3tC77.js.map +1 -1
  25. package/dist/_chunks/PkUrl-BPbjZJ1A.js.map +1 -1
  26. package/dist/_chunks/{browser-NgY6LXg-.js → browser-B0Xnbqi7.js} +726 -751
  27. package/dist/_chunks/browser-B0Xnbqi7.js.map +1 -0
  28. package/dist/_chunks/text-DbSEK8si.js.map +1 -1
  29. package/dist/_chunks/utils-YJ0ZOLDG.js.map +1 -1
  30. package/dist/ai-elements.es.js +3010 -3052
  31. package/dist/ai-elements.es.js.map +1 -1
  32. package/dist-vue/PkChatbot.js +1 -1
  33. package/dist-vue/PkChatbotEmptyState.js +1 -1
  34. package/dist-vue/PkChatbotError.js +1 -1
  35. package/dist-vue/PkChatbotInput.js +1 -1
  36. package/dist-vue/PkChatbotMessages.js +1 -1
  37. package/dist-vue/PkChatbotSteps.js +1 -1
  38. package/dist-vue/PkChatbotViewChat.js +1 -1
  39. package/dist-vue/PkChatbotViewConversations.js +1 -1
  40. package/dist-vue/PkChatbotViewFiles.js +1 -1
  41. package/dist-vue/PkChatbotViewProfile.js +1 -1
  42. package/dist-vue/_chunks/{Agent-C8BsTAxk.js → Agent-De2gFNjR.js} +165 -176
  43. package/dist-vue/_chunks/Agent-De2gFNjR.js.map +1 -0
  44. package/dist-vue/_chunks/{Document-CaUfI_SZ.js → Document-8umjeTVS.js} +84 -72
  45. package/dist-vue/_chunks/Document-8umjeTVS.js.map +1 -0
  46. package/dist-vue/_chunks/Media-_HfFLHGD.js.map +1 -1
  47. package/dist-vue/_chunks/{PkChatbot-BPKSPIeC.js → PkChatbot-Di7R2CWN.js} +7 -7
  48. package/dist-vue/_chunks/PkChatbot-Di7R2CWN.js.map +1 -0
  49. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js → PkChatbotEmptyState-C_ITdvH7.js} +2 -2
  50. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js.map → PkChatbotEmptyState-C_ITdvH7.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkChatbotError-CBP2mf-n.js → PkChatbotError-gvDpRcEz.js} +21 -19
  52. package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js.map +1 -0
  53. package/dist-vue/_chunks/{PkChatbotInput-JnHaRlfk.js → PkChatbotInput-pEl3D2O-.js} +139 -124
  54. package/dist-vue/_chunks/PkChatbotInput-pEl3D2O-.js.map +1 -0
  55. package/dist-vue/_chunks/{PkChatbotMessages-DAlkoMkY.js → PkChatbotMessages-CGALOKwe.js} +17 -17
  56. package/dist-vue/_chunks/PkChatbotMessages-CGALOKwe.js.map +1 -0
  57. package/dist-vue/_chunks/{PkChatbotSteps-rommD48p.js → PkChatbotSteps-BhFupvbz.js} +2 -2
  58. package/dist-vue/_chunks/{PkChatbotSteps-rommD48p.js.map → PkChatbotSteps-BhFupvbz.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkChatbotViewChat-CEqzF1G9.js → PkChatbotViewChat-DT-rAU_r.js} +6 -6
  60. package/dist-vue/_chunks/{PkChatbotViewChat-CEqzF1G9.js.map → PkChatbotViewChat-DT-rAU_r.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkChatbotViewConversations-C787v5ll.js → PkChatbotViewConversations-3LaZPFyw.js} +2 -2
  62. package/dist-vue/_chunks/{PkChatbotViewConversations-C787v5ll.js.map → PkChatbotViewConversations-3LaZPFyw.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkChatbotViewFiles-CNFLt8YO.js → PkChatbotViewFiles-CTqnbsCj.js} +3 -3
  64. package/dist-vue/_chunks/{PkChatbotViewFiles-CNFLt8YO.js.map → PkChatbotViewFiles-CTqnbsCj.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkChatbotViewProfile-7p0ci3qm.js → PkChatbotViewProfile-B-Mp1jGQ.js} +2 -2
  66. package/dist-vue/_chunks/{PkChatbotViewProfile-7p0ci3qm.js.map → PkChatbotViewProfile-B-Mp1jGQ.js.map} +1 -1
  67. package/dist-vue/_chunks/PkRelativeTime--1cIphlA.js.map +1 -1
  68. package/dist-vue/_chunks/{PkStreamingMarkdown-D8_LwZMR.js → PkStreamingMarkdown-DIaZEedG.js} +406 -396
  69. package/dist-vue/_chunks/PkStreamingMarkdown-DIaZEedG.js.map +1 -0
  70. package/dist-vue/_chunks/PkSvgViewer-D-0M5bqg.js.map +1 -1
  71. package/dist-vue/_chunks/{PkToolRequestGeolocation-Bxqz9oSo.js → PkToolRequestGeolocation-Q3N3jlO8.js} +2 -2
  72. package/dist-vue/_chunks/{PkToolRequestGeolocation-Bxqz9oSo.js.map → PkToolRequestGeolocation-Q3N3jlO8.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C6rXgb0s.js → PkToolRequestOAuthConnection-C0LW5Evp.js} +2 -2
  74. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C6rXgb0s.js.map → PkToolRequestOAuthConnection-C0LW5Evp.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js → PkToolShowArtifact-BCCUucVQ.js} +2 -2
  76. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js.map → PkToolShowArtifact-BCCUucVQ.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolShowContactForm-DHmzAIVF.js → PkToolShowContactForm-BXGxWSc2.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolShowContactForm-DHmzAIVF.js.map → PkToolShowContactForm-BXGxWSc2.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkToolShowDiagram-dwCVZ1up.js → PkToolShowDiagram-CZgrWvBr.js} +2 -2
  80. package/dist-vue/_chunks/PkToolShowDiagram-CZgrWvBr.js.map +1 -0
  81. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js → PkToolShowEmail-DpC517Vn.js} +2 -2
  82. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js.map → PkToolShowEmail-DpC517Vn.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkToolShowForm-CO5A_j9L.js → PkToolShowForm-CIZpfAGK.js} +3 -3
  84. package/dist-vue/_chunks/PkToolShowForm-CIZpfAGK.js.map +1 -0
  85. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js → PkToolShowMessage-B7flxVCU.js} +2 -2
  86. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js.map → PkToolShowMessage-B7flxVCU.js.map} +1 -1
  87. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js → PkToolShowProductList-B6fRtIpx.js} +2 -2
  88. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js.map → PkToolShowProductList-B6fRtIpx.js.map} +1 -1
  89. package/dist-vue/_chunks/{PkToolShowSources-7Q5Iogxi.js → PkToolShowSources-DDZokZow.js} +4 -4
  90. package/dist-vue/_chunks/{PkToolShowSources-7Q5Iogxi.js.map → PkToolShowSources-DDZokZow.js.map} +1 -1
  91. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js → PkToolShowSuggestedReply-DWLkUh2L.js} +2 -2
  92. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js.map → PkToolShowSuggestedReply-DWLkUh2L.js.map} +1 -1
  93. package/dist-vue/_chunks/PkToolShowWeather-Bzqalzh8.js.map +1 -1
  94. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js → PkToolShowWebPages-DY48ee6V.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js.map → PkToolShowWebPages-DY48ee6V.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkUrl-xUBKVJCv.js → PkUrl-DSGxrEM7.js} +2 -2
  97. package/dist-vue/_chunks/PkUrl-DSGxrEM7.js.map +1 -0
  98. package/dist-vue/_chunks/{createChatbotApiClient-D9f69brW.js → createChatbotApiClient-MkaPbGWB.js} +2 -2
  99. package/dist-vue/_chunks/createChatbotApiClient-MkaPbGWB.js.map +1 -0
  100. package/dist-vue/_chunks/{useChatbotStore-9Cw_oR6J.js → useChatbotStore-BzfqjiYz.js} +6 -3
  101. package/dist-vue/_chunks/useChatbotStore-BzfqjiYz.js.map +1 -0
  102. package/dist-vue/_chunks/useDialogConfirm-KWz0ohCQ.js.map +1 -1
  103. package/dist-vue/_chunks/utils-Coqik0XI.js.map +1 -1
  104. package/dist-vue/api.js +1 -1
  105. package/dist-vue/composables.js +2 -2
  106. package/dist-vue/index.js +3858 -3490
  107. package/dist-vue/index.js.map +1 -1
  108. package/dist-vue/locales.js +36 -8
  109. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +20 -3
  110. package/dist-vue/packages/components/src/chat/PkChatButton.d.ts +3 -2
  111. package/dist-vue/packages/components/src/chat/PkLanguageModel.d.ts +26 -2
  112. package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +53 -1
  113. package/dist-vue/packages/components/src/chat/PkModelOption.d.ts +19 -0
  114. package/dist-vue/packages/components/src/chat/PkReasoningSettings.d.ts +6 -0
  115. package/dist-vue/packages/components/src/chat/constants.d.ts +5 -18
  116. package/dist-vue/packages/components/src/chat/index.d.ts +3 -1
  117. package/dist-vue/packages/components/src/chat/modelCatalog.d.ts +46 -0
  118. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +5 -1
  119. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  120. package/dist-vue/packages/composable/src/useChatbotError.d.ts +2 -0
  121. package/dist-vue/packages/models/src/schema/Agent.d.ts +70 -10
  122. package/dist-vue/packages/models/src/schema/Chat.d.ts +10 -0
  123. package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +316 -0
  124. package/dist-vue/packages/models/src/schema/Organization.d.ts +142 -2
  125. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +20 -0
  126. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +20 -0
  127. package/dist-vue/packages/models/src/schema/UserOverview.d.ts +41 -0
  128. package/dist-vue/packages/models/src/schema/constants.d.ts +56 -91
  129. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  130. package/dist-vue/style.css +1 -1
  131. package/package.json +1 -1
  132. package/dist/_chunks/Agent-Su_LDF9_.js.map +0 -1
  133. package/dist/_chunks/Document-DecVclEe.js.map +0 -1
  134. package/dist/_chunks/Media-C6SOQfJZ.js +0 -122
  135. package/dist/_chunks/Media-C6SOQfJZ.js.map +0 -1
  136. package/dist/_chunks/PkStreamingMarkdown-CwqsJnJJ.js.map +0 -1
  137. package/dist/_chunks/PkToolShowForm-DbJHMDbt.js.map +0 -1
  138. package/dist/_chunks/browser-NgY6LXg-.js.map +0 -1
  139. package/dist-vue/_chunks/Agent-C8BsTAxk.js.map +0 -1
  140. package/dist-vue/_chunks/Document-CaUfI_SZ.js.map +0 -1
  141. package/dist-vue/_chunks/PkChatbot-BPKSPIeC.js.map +0 -1
  142. package/dist-vue/_chunks/PkChatbotError-CBP2mf-n.js.map +0 -1
  143. package/dist-vue/_chunks/PkChatbotInput-JnHaRlfk.js.map +0 -1
  144. package/dist-vue/_chunks/PkChatbotMessages-DAlkoMkY.js.map +0 -1
  145. package/dist-vue/_chunks/PkStreamingMarkdown-D8_LwZMR.js.map +0 -1
  146. package/dist-vue/_chunks/PkToolShowDiagram-dwCVZ1up.js.map +0 -1
  147. package/dist-vue/_chunks/PkToolShowForm-CO5A_j9L.js.map +0 -1
  148. package/dist-vue/_chunks/PkUrl-xUBKVJCv.js.map +0 -1
  149. package/dist-vue/_chunks/createChatbotApiClient-D9f69brW.js.map +0 -1
  150. package/dist-vue/_chunks/useChatbotStore-9Cw_oR6J.js.map +0 -1
@@ -102,6 +102,8 @@ var e = {
102
102
  chatErrorRateLimit: "The rate limit has been exceeded. Retrying in {seconds} seconds...",
103
103
  chatErrorOriginNotAllowed: "The request origin is not allowed. Contact the system administrator.",
104
104
  chatErrorCreditExhausted: "Service unavailable. Please try again later.",
105
+ chatErrorGatewayDisabled: "This agent's model is not available: the organization does not use the platform AI gateway. An administrator can move the agent to one of the organization's own models.",
106
+ chatErrorModelUnavailable: "This agent's model is not available right now: the endpoint it runs on is switched off or no longer serves it. An administrator can switch it back on or move the agent to another model.",
105
107
  chatErrorConversationBlocked: "This conversation has been blocked for policy violations.",
106
108
  chatErrorBadRequest: "An error occurred with the request. Start a new chat to continue.",
107
109
  chatErrorInternalServer: "A server error occurred. Start a new chat to continue.",
@@ -119,6 +121,8 @@ var e = {
119
121
  voiceConnectionDone: "I have completed the connection.",
120
122
  deleteMyConversationsConfirm: "This cannot be undone.",
121
123
  noConversationsHint: "Start a new chat to see it appear here.",
124
+ noOptions: "No options",
125
+ noResults: "No results",
122
126
  geolocationPermissionDenied: "Location access denied. Please allow it in your browser settings.",
123
127
  geolocationUnavailable: "Location unavailable. Please try again or enter your location manually.",
124
128
  leadSubmittedTitle: "Thank you!",
@@ -259,21 +263,24 @@ var e = {
259
263
  newChat: "New chat",
260
264
  comment: "Comment",
261
265
  file: "File",
262
- disabled: "Disabled",
266
+ message: "Message",
263
267
  tokens: "tokens",
264
268
  answeringOnTheCall: "Answering…",
265
269
  conversationOutline: "Conversation outline",
266
270
  manageProfileDescription: "Edit your name, password, avatar and more",
267
271
  channels: "Channels",
272
+ modelSourcePlatform: "Platform",
273
+ gatewayModels: "Platform models",
268
274
  subAgent: "Sub-agent",
269
275
  cached: "cached",
270
276
  noDataRetention: "ZDR",
271
- noPromptTraining: "No Prompt Training",
277
+ noPromptTraining: "No training",
272
278
  spokenExchange: "Exchanged by voice",
273
279
  platformContext: "Platform context",
274
280
  deviceContext: "Device context",
275
281
  input: "Input",
276
282
  output: "Output",
283
+ contextTokens: "{count}k context",
277
284
  reasoningAgentTester: "Reasoning Agent Tester",
278
285
  question: "Question",
279
286
  error: "Error",
@@ -291,6 +298,7 @@ var e = {
291
298
  includeThoughts: "View reasoning",
292
299
  thinking: "Thinking",
293
300
  enabled: "Enabled",
301
+ disabled: "Disabled",
294
302
  imageLoadError: "Image not available",
295
303
  toolApprovalBadge: "User confirm",
296
304
  calendarEvent: "Event",
@@ -302,7 +310,6 @@ var e = {
302
310
  body: "Body",
303
311
  gallery: "Gallery ({count} images)",
304
312
  location: "Location",
305
- message: "Message",
306
313
  qrCode: "QR Code",
307
314
  sources: "Sources",
308
315
  expandContext: "Show more context",
@@ -350,9 +357,14 @@ var e = {
350
357
  phone: "Enter your phone number"
351
358
  },
352
359
  hint: {
360
+ modelRetired: "No longer available on the platform: move the agents using it to another model.",
361
+ modelNotCompatible: "Not compatible with the privacy flags of this agent.",
362
+ modelGuaranteedOnSome: "The guarantees you switched on hold only on some providers of this model: the gateway routes accordingly.",
363
+ modelContextWindow: "Context window: {count}k tokens.",
353
364
  voiceId: "Cloned voices are not listed: the provider forbids them here.",
354
365
  freshnessScaleExplanationMonths: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days (approx. {months} months).",
355
366
  freshnessScaleExplanationDays: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days.",
367
+ agentOnOwnEndpoint: "This agent runs on your organization's endpoint.",
356
368
  providerTimeoutMs: "Timeout in milliseconds before falling back to the next provider (min 1000, max 789000). BYOK credentials only.",
357
369
  showExtendedSteps: "Shows reasoning and tool calls as an expandable timeline in the chat.",
358
370
  freshnessBoost: "Applies a boost based on how recently the document was updated.",
@@ -386,7 +398,7 @@ var e = {
386
398
  approvalChannels: "A tool can ask the user to confirm before it runs: expand a tool to turn it on. On API endpoints and scheduled runs the call is refused.",
387
399
  platformSupported: "Renders natively on WhatsApp and Teams",
388
400
  tool: {
389
- useAllUserKb: "Reads the memories the user shared with all their agents, not just this one. Writing stays scoped to this agent.",
401
+ useAllUserKb: "Reads the memories the user shared with every agent of this organization, not just this one. Writing stays scoped to this agent.",
390
402
  useAllUserFiles: "Searches all the user's files, including those uploaded on other agents, not just this agent's."
391
403
  },
392
404
  toolRequiresApproval: "The assistant waits for approval in the chat before running.",
@@ -406,6 +418,8 @@ var e = {
406
418
  app: "The agent is accessible via the dedicated public page.",
407
419
  widget: "The agent can be embedded in websites via embed script."
408
420
  },
421
+ modelSourceEndpoint: "Runs on {name}, your organization's own endpoint: your provider bills it, and the costs shown here are estimated from the price list.",
422
+ modelSourcePlatform: "Runs on the platform AI gateway and is paid with your organization's credit.",
409
423
  reasoningDefault: "Platform default, applied until you choose a different value.",
410
424
  includeThoughts: "Streams the model's thoughts to the client along with the response.",
411
425
  reasoningNotSupported: "Reasoning is not supported for the selected provider.",
@@ -638,6 +652,8 @@ var e = {
638
652
  chatErrorRateLimit: "Il limite di richieste è stato superato. Riprovo tra {seconds} secondi...",
639
653
  chatErrorOriginNotAllowed: "L'origine della richiesta non è consentita. Contatta l'amministratore del sistema.",
640
654
  chatErrorCreditExhausted: "Servizio non disponibile. Riprova più tardi.",
655
+ chatErrorGatewayDisabled: "Il modello di questo agente non è disponibile: l’organizzazione non usa il gateway AI della piattaforma. Un amministratore può spostare l’agente su uno dei modelli dell’organizzazione.",
656
+ chatErrorModelUnavailable: "Il modello di questo agente ora non è disponibile: l’endpoint su cui gira è spento o non lo serve più. Un amministratore può riaccenderlo o spostare l’agente su un altro modello.",
641
657
  chatErrorConversationBlocked: "Questa conversazione è stata bloccata per violazione delle policy.",
642
658
  chatErrorBadRequest: "Si è verificato un errore con la richiesta. Inizia una nuova chat per continuare.",
643
659
  chatErrorInternalServer: "Si è verificato un errore del server. Inizia una nuova chat per continuare.",
@@ -655,6 +671,8 @@ var e = {
655
671
  voiceConnectionDone: "Ho completato il collegamento.",
656
672
  deleteMyConversationsConfirm: "Non si può annullare.",
657
673
  noConversationsHint: "Inizia una nuova chat per vederla comparire qui.",
674
+ noOptions: "Nessun elemento",
675
+ noResults: "Nessun risultato trovato",
658
676
  geolocationPermissionDenied: "Accesso alla posizione negato. Consentilo nelle impostazioni del browser.",
659
677
  geolocationUnavailable: "Posizione non disponibile. Riprova o inserisci la posizione manualmente.",
660
678
  leadSubmittedTitle: "Grazie!",
@@ -795,21 +813,24 @@ var e = {
795
813
  newChat: "Nuova chat",
796
814
  comment: "Commento",
797
815
  file: "File",
798
- disabled: "Disabilitato",
816
+ message: "Messaggio",
799
817
  tokens: "token",
800
818
  answeringOnTheCall: "Sto rispondendo…",
801
819
  conversationOutline: "Indice della conversazione",
802
820
  manageProfileDescription: "Modifica nome, password, avatar e altro",
803
821
  channels: "Canali",
822
+ modelSourcePlatform: "Piattaforma",
823
+ gatewayModels: "Modelli della piattaforma",
804
824
  subAgent: "Sotto-agente",
805
825
  cached: "dalla cache",
806
826
  noDataRetention: "ZDR",
807
- noPromptTraining: "No Prompt Training",
827
+ noPromptTraining: "No training",
808
828
  spokenExchange: "Scambiato a voce",
809
829
  platformContext: "Contesto piattaforma",
810
830
  deviceContext: "Contesto dispositivo",
811
831
  input: "Input",
812
832
  output: "Output",
833
+ contextTokens: "{count}k contesto",
813
834
  reasoningAgentTester: "Test Agente di Ragionamento",
814
835
  question: "Domanda",
815
836
  error: "Errore",
@@ -827,6 +848,7 @@ var e = {
827
848
  includeThoughts: "Visualizza ragionamento",
828
849
  thinking: "Pensiero",
829
850
  enabled: "Abilitato",
851
+ disabled: "Disabilitato",
830
852
  imageLoadError: "Immagine non disponibile",
831
853
  toolApprovalBadge: "Conferma utente",
832
854
  calendarEvent: "Evento",
@@ -838,7 +860,6 @@ var e = {
838
860
  body: "Testo",
839
861
  gallery: "Galleria ({count} immagini)",
840
862
  location: "Posizione",
841
- message: "Messaggio",
842
863
  qrCode: "Codice QR",
843
864
  sources: "Fonti",
844
865
  expandContext: "Mostra più contesto",
@@ -886,9 +907,14 @@ var e = {
886
907
  phone: "Inserisci il numero di telefono"
887
908
  },
888
909
  hint: {
910
+ modelRetired: "Non più disponibile sulla piattaforma: sposta su un altro modello gli agenti che lo usano.",
911
+ modelNotCompatible: "Non compatibile con i flag di riservatezza di questo agente.",
912
+ modelGuaranteedOnSome: "Le garanzie che hai acceso valgono solo su alcuni provider di questo modello: il gateway instrada di conseguenza.",
913
+ modelContextWindow: "Finestra di contesto: {count}k token.",
889
914
  voiceId: "Le voci clonate non sono in elenco: il fornitore non le ammette qui.",
890
915
  freshnessScaleExplanationMonths: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni (circa {months} mesi).",
891
916
  freshnessScaleExplanationDays: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni.",
917
+ agentOnOwnEndpoint: "Questo agente gira sull’endpoint della tua organizzazione.",
892
918
  providerTimeoutMs: "Timeout in millisecondi prima di passare al provider successivo (min 1000, max 789000). Solo credenziali BYOK.",
893
919
  showExtendedSteps: "Visualizza la timeline con il ragionamento e gli strumenti nella chat.",
894
920
  freshnessBoost: "Applica un boost basandosi su quanto recentemente il documento è stato aggiornato.",
@@ -922,7 +948,7 @@ var e = {
922
948
  approvalChannels: "Un tool può chiedere conferma all'utente prima di eseguire: espandi il tool per attivarla. Via API o in esecuzioni schedulate la chiamata viene rifiutata.",
923
949
  platformSupported: "Resa nativa su WhatsApp e Teams",
924
950
  tool: {
925
- useAllUserKb: "Legge le memorie che l'utente ha condiviso con tutti i suoi agenti, non solo con questo. La scrittura resta legata a questo agente.",
951
+ useAllUserKb: "Legge le memorie che l'utente ha condiviso con tutti gli agenti di questa organizzazione, non solo con questo. La scrittura resta legata a questo agente.",
926
952
  useAllUserFiles: "Cerca in tutti i file dell'utente, anche quelli caricati su altri agenti, non solo in quelli di questo agente."
927
953
  },
928
954
  toolRequiresApproval: "Prima di eseguire, l'assistente attende l'approvazione in chat.",
@@ -942,6 +968,8 @@ var e = {
942
968
  app: "L'agente è accessibile tramite la pagina pubblica dedicata.",
943
969
  widget: "L'agente è incorporabile nei siti web tramite embed script."
944
970
  },
971
+ modelSourceEndpoint: "Gira su {name}, l’endpoint della tua organizzazione: lo fattura il tuo fornitore, e i costi che vedi qui sono stimati dal listino.",
972
+ modelSourcePlatform: "Gira sul gateway AI della piattaforma e si paga con il credito della tua organizzazione.",
945
973
  reasoningDefault: "Valore predefinito della piattaforma, si applica finché non scegli un valore diverso.",
946
974
  includeThoughts: "Invia i pensieri del modello al client insieme alla risposta.",
947
975
  reasoningNotSupported: "Il reasoning non è supportato per il provider selezionato.",
@@ -1,4 +1,4 @@
1
- import { AgentFormSettings, AgentReasoning, AgentWebSearch, LocalizedString, Media, VoiceOption, AgentBuiltInTool, AgentChannel, AgentLoaderStrategy, AgentType, WebSearchProvider, StoragePolicy } from '../../../models/src';
1
+ import { AgentFormSettings, AgentReasoning, AgentWebSearch, LocalizedString, Media, ModelCatalogEntry, OrganizationFeature, VoiceOption, AgentBuiltInTool, AgentChannel, AgentLoaderStrategy, AgentType, WebSearchProvider, StoragePolicy } from '../../../models/src';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = {
4
4
  organizationSlug?: string;
@@ -11,6 +11,17 @@ type __VLS_Props = {
11
11
  playground?: boolean;
12
12
  /** Provider voices for the voice picker; the host fetches them. */
13
13
  voices?: VoiceOption[];
14
+ /**
15
+ * Feature flags of the organization, passed by the host: this package
16
+ * cannot read the app's composable. A flag left out behaves as enabled,
17
+ * so a host that does not pass them sees the panel it saw before.
18
+ */
19
+ features?: Partial<Record<OrganizationFeature, boolean>>;
20
+ /**
21
+ * The organization's model catalog, when the host has loaded it.
22
+ * Absent, the picker falls back to the built-in list.
23
+ */
24
+ catalog?: ModelCatalogEntry[];
14
25
  };
15
26
  type __VLS_ModelProps = {
16
27
  'agentId'?: string;
@@ -107,9 +118,9 @@ type __VLS_ModelProps = {
107
118
  } | undefined;
108
119
  };
109
120
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
110
- declare var __VLS_743: {};
121
+ declare var __VLS_749: {};
111
122
  type __VLS_Slots = {} & {
112
- default?: (props: typeof __VLS_743) => any;
123
+ default?: (props: typeof __VLS_749) => any;
113
124
  };
114
125
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
115
126
  "update:reasoning": (value: {
@@ -143,6 +154,9 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
143
154
  spacexai?: {
144
155
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
145
156
  } | undefined;
157
+ xiaomi?: {
158
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
159
+ } | undefined;
146
160
  zai?: {
147
161
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
148
162
  } | undefined;
@@ -378,6 +392,9 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
378
392
  spacexai?: {
379
393
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
380
394
  } | undefined;
395
+ xiaomi?: {
396
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
397
+ } | undefined;
381
398
  zai?: {
382
399
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
383
400
  } | undefined;
@@ -13,10 +13,11 @@ type __VLS_Props = {
13
13
  /** Written next to the icon, for an action nobody should have to guess from a glyph. */
14
14
  label?: string;
15
15
  type?: 'button' | 'submit';
16
- modifiers?: 'danger';
16
+ /** `primary` is the filled circle of send and stop, the one action the dock is for. */
17
+ modifiers?: 'danger' | 'primary';
17
18
  };
18
19
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- modifiers: "danger";
20
+ modifiers: "danger" | "primary";
20
21
  label: string;
21
22
  type: "button" | "submit";
22
23
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1,7 +1,31 @@
1
- import { LanguageModel } from '../../../models/src';
1
+ import { ModelId } from '../../../models/src';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = {
4
- modelName?: string | LanguageModel;
4
+ modelName?: string | ModelId;
5
+ /**
6
+ * The commercial name, when the caller has the catalog. Without it
7
+ * the chip falls back to the id, which is the case of the widget and
8
+ * of a message recorded before the model existed.
9
+ */
10
+ label?: string;
11
+ /** The endpoint name, written next to a `byok/` model. */
12
+ endpointName?: string;
13
+ /** The catalog's icon, when the caller has it. */
14
+ brandIcon?: string;
15
+ /**
16
+ * The model is shown as a fact about the past (the one that answered
17
+ * a message, the one that described a document), so whether it can
18
+ * still be picked today is not the chip's business there, and a note
19
+ * on every old message would be noise.
20
+ */
21
+ historical?: boolean;
22
+ /**
23
+ * Name the source of a gateway model too. For a picker that offers
24
+ * both sources, where the chosen one is exactly what the user decides
25
+ * on; everywhere else a gateway model is the ordinary case and only
26
+ * an endpoint model says where it runs.
27
+ */
28
+ showSource?: boolean;
5
29
  };
6
30
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7
31
  declare const _default: typeof __VLS_export;
@@ -1,9 +1,61 @@
1
+ import { ModelCatalogEntry } from '../../../models/src';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
3
  type __VLS_Props = {
3
4
  name?: string;
4
5
  multiple?: boolean;
6
+ /**
7
+ * Declared, and not left to fall through, so a blank can be filtered
8
+ * out: `VvCombobox` appends to its own list every value no option
9
+ * carries, and an empty string is such a value. It drew an empty row
10
+ * in the list and, in a form field that fills an unset value with
11
+ * `''`, an empty chip in the closed field.
12
+ */
13
+ modelValue?: string | string[];
5
14
  excludeModels?: string[];
15
+ /**
16
+ * The organization's own catalog. A page that already has it hands it
17
+ * over; otherwise the picker takes the one the app provides. Only a
18
+ * surface with neither, the embeddable widget, falls back to the bare
19
+ * curated list.
20
+ */
21
+ catalog?: ModelCatalogEntry[];
22
+ /**
23
+ * The agent's own privacy flags. A model the gateway cannot route
24
+ * while honouring one of them is hidden, because offering it would
25
+ * promise something nobody can deliver.
26
+ */
27
+ zeroDataRetention?: boolean;
28
+ disallowPromptTraining?: boolean;
29
+ /**
30
+ * The model already saved on the agent. It is never hidden, however
31
+ * incompatible: a picker that drops the current choice from under
32
+ * the user is worse than one that shows it marked.
33
+ */
34
+ current?: string;
35
+ /**
36
+ * Offer the models the organization switched off too, retired ones
37
+ * excepted. For the price dialog, where the choice is a price to copy
38
+ * and not a model to run: a gateway model switched off, or every one
39
+ * of them when the organization does not use the gateway, is still a
40
+ * valid price reference.
41
+ */
42
+ offerDisabled?: boolean;
43
+ /**
44
+ * Declared so it cannot fall through, never read. This component owns
45
+ * its option list: it builds it from the catalog, filters it by the
46
+ * agent's guarantees and groups it by source. An undeclared `options`
47
+ * lands on `VvCombobox` through `$attrs`, and `$attrs` is merged last,
48
+ * so a caller's list silently replaced the built one. The agent panel
49
+ * passed the bare curated ids that way, which is why the picker
50
+ * offered models the guarantees exclude, showed no endpoint models at
51
+ * all, and drew the excluded ones without their details.
52
+ */
53
+ options?: never;
6
54
  };
7
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
55
+ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
56
+ "update:modelValue": (value: string | string[] | undefined) => any;
57
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
58
+ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
59
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8
60
  declare const _default: typeof __VLS_export;
9
61
  export default _default;
@@ -0,0 +1,19 @@
1
+ import { ModelCatalogEntry } from '../../../models/src';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ entry?: ModelCatalogEntry;
5
+ /** Fallback for a model the catalog does not describe (an old id). */
6
+ modelName?: string;
7
+ /** Drawn only in the dropdown: the closed field has no room. */
8
+ detailed?: boolean;
9
+ /**
10
+ * The name on its own line and the details under it. A dropdown is as
11
+ * wide as the field that opens it, and on one line the details, which
12
+ * cannot shrink, squeezed the name to nothing: the one thing you pick
13
+ * by was the only thing that gave way.
14
+ */
15
+ stacked?: boolean;
16
+ };
17
+ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -39,6 +39,9 @@ declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, C
39
39
  spacexai?: {
40
40
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
41
41
  } | undefined;
42
+ xiaomi?: {
43
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
44
+ } | undefined;
42
45
  zai?: {
43
46
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
44
47
  } | undefined;
@@ -75,6 +78,9 @@ declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, C
75
78
  spacexai?: {
76
79
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
77
80
  } | undefined;
81
+ xiaomi?: {
82
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
83
+ } | undefined;
78
84
  zai?: {
79
85
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
80
86
  } | undefined;
@@ -1,23 +1,10 @@
1
- import { LanguageModel } from '../../../models/src';
2
1
  /**
3
- * Every model an agent can be set to, in the order `LanguageModel` declares
4
- * them. Derived on purpose: the hand-written copy of this list drifted from the
5
- * enum twice, leaving models in the dropdown that the gateway had already
6
- * retired (and, the other way round, ids nobody could select).
2
+ * Every model an agent can be set to, for a surface with no catalog to read:
3
+ * the widget and the document dialogs, which run on the gateway and have no
4
+ * organization to ask. Everything else takes the catalog, which also carries
5
+ * the names, the prices and the endpoint models.
7
6
  */
8
- export declare const MODELS: LanguageModel[];
9
- /**
10
- * i18n key of a model's display name, under `models.`: the id without its
11
- * provider prefix and with the version dot dropped (`openai/gpt-5.6-sol` ->
12
- * `models.gpt-56-sol`).
13
- *
14
- * Shared because deriving it twice already drifted: the combobox built the key
15
- * from the whole id, prefix included, so no option ever found its translation
16
- * and every label fell back to the raw id. Invisible in the list (both slots
17
- * render `PkLanguageModel`, which derived the key correctly), but the option
18
- * search matches on the label, so no model could be found by commercial name.
19
- */
20
- export declare const modelLabelKey: (model?: string) => string;
7
+ export declare const MODELS: readonly string[];
21
8
  export declare const DEFAULT_TEMPERATURE = 0.6;
22
9
  export declare const DEFAULT_PROMPT = "";
23
10
  export declare const DEFAULT_LIMIT = 5;
@@ -24,6 +24,7 @@ import { default as PkRetryCountdown } from './PkRetryCountdown';
24
24
  import { default as PkCopyBlock } from './PkCopyBlock';
25
25
  import { default as PkLanguageModel } from './PkLanguageModel';
26
26
  import { default as PkLanguageModelCombobox } from './PkLanguageModelCombobox';
27
+ import { default as PkModelOption } from './PkModelOption';
27
28
  import { default as PkMessageParts } from './PkMessageParts';
28
29
  import { default as PkMessageDetail } from './PkMessageDetail';
29
30
  import { default as PkStreamingMarkdown } from './PkStreamingMarkdown';
@@ -51,4 +52,5 @@ import { default as PkChatbotAuth } from './PkChatbotAuth';
51
52
  import { default as PkVoiceSession } from './PkVoiceSession';
52
53
  import { default as PkVoiceOrb } from './PkVoiceOrb';
53
54
  import { default as PkChatButton } from './PkChatButton';
54
- export { PkAgentSelectorInline, PkAgentSettingsPanel, PkAuroraCanvas, PkAvatar, PkChatSidebar, PkChatSidebarConversationItem, PkChatbot, PkChatbotEmptyState, PkChatbotError, PkChatbotFeedbackForm, PkChatbotFilePreview, PkChatbotInput, PkChatbotMessages, PkChatbotSteps, PkChatbotStepToolDetail, PkChatbotStepPayload, PkChatbotViewChat, PkChunkPreview, PkChatbotViewConversations, PkChatbotViewProfile, PkCode, PkCopyBlock, PkDocumentHeader, PkLanguageModel, PkLanguageModelCombobox, PkMessageParts, PkMessageDetail, PkStreamingMarkdown, PkStreamingMarkdownAutoscroll, PkToolShowForm, PkToolShowArtifact, PkToolApprovalBadge, PkToolShowEmail, PkToolShowMessage, PkToolShowWebPages, PkToolShowProductList, PkToolShowContactForm, PkToolShowCalendarEvent, PkToolShowComparison, PkToolShowLocation, PkToolShowQrCode, PkToolShowImageGallery, PkToolShowSuggestedReply, PkToolShowSources, PkRetryCountdown, PkReasoningChat, PkReasoningSettings, PkWebSearchSettings, PkWelcomePopup, PkChatbotAuth, PkVoiceSession, PkVoiceOrb, PkChatButton, };
55
+ export { MODEL_CATALOG_KEY, provideModelCatalog, useModelCatalogEntry, } from './modelCatalog';
56
+ export { PkAgentSelectorInline, PkAgentSettingsPanel, PkAuroraCanvas, PkAvatar, PkChatSidebar, PkChatSidebarConversationItem, PkChatbot, PkChatbotEmptyState, PkChatbotError, PkChatbotFeedbackForm, PkChatbotFilePreview, PkChatbotInput, PkChatbotMessages, PkChatbotSteps, PkChatbotStepToolDetail, PkChatbotStepPayload, PkChatbotViewChat, PkChunkPreview, PkChatbotViewConversations, PkChatbotViewProfile, PkCode, PkCopyBlock, PkDocumentHeader, PkLanguageModel, PkLanguageModelCombobox, PkModelOption, PkMessageParts, PkMessageDetail, PkStreamingMarkdown, PkStreamingMarkdownAutoscroll, PkToolShowForm, PkToolShowArtifact, PkToolApprovalBadge, PkToolShowEmail, PkToolShowMessage, PkToolShowWebPages, PkToolShowProductList, PkToolShowContactForm, PkToolShowCalendarEvent, PkToolShowComparison, PkToolShowLocation, PkToolShowQrCode, PkToolShowImageGallery, PkToolShowSuggestedReply, PkToolShowSources, PkRetryCountdown, PkReasoningChat, PkReasoningSettings, PkWebSearchSettings, PkWelcomePopup, PkChatbotAuth, PkVoiceSession, PkVoiceOrb, PkChatButton, };
@@ -0,0 +1,46 @@
1
+ import { ModelCatalogEntry } from '../../../models/src';
2
+ import { InjectionKey, Ref } from 'vue';
3
+ /**
4
+ * The organization's model catalog, offered once by the app and read by every
5
+ * chip that shows a model.
6
+ *
7
+ * Provided rather than passed down, because the chip appears in places a prop
8
+ * cannot reach without threading it through half the component tree: the
9
+ * footer of every chat message, the document preview, the agent tree, the
10
+ * pickers. Before the catalog existed each of those derived the name from the
11
+ * id and looked up an i18n label, which is exactly the duplication the
12
+ * catalog removes; without an injection they would all have shown a raw id.
13
+ *
14
+ * A surface with no provider, the embeddable widget, falls back to the id. It
15
+ * has no organization to ask and no catalog to read.
16
+ */
17
+ export declare const MODEL_CATALOG_KEY: InjectionKey<Readonly<Ref<ModelCatalogEntry[] | undefined>>>;
18
+ /** `undefined` until the catalog is known: loading, or failed. */
19
+ export declare const provideModelCatalog: (catalog: Readonly<Ref<ModelCatalogEntry[] | undefined>>) => void;
20
+ /** One entry by id, or undefined where no catalog was provided. */
21
+ export declare const useModelCatalogEntry: () => (id?: string) => ModelCatalogEntry | undefined;
22
+ /**
23
+ * Whether there is a catalog to judge a model by: not in the widget, which
24
+ * has none, and not while the app's is still loading.
25
+ */
26
+ export declare const useModelCatalogKnown: () => globalThis.ComputedRef<boolean>;
27
+ /**
28
+ * The note of a model a known catalog does not have. For an endpoint model
29
+ * it means the endpoint no longer has it (taken out of its list, or the
30
+ * endpoint deleted), and the runtime refuses it. A gateway id outside the
31
+ * curated list is not marked: the gateway still answers it.
32
+ */
33
+ export declare const missingModelNote: (id?: string) => {
34
+ label: string;
35
+ hint: string;
36
+ } | undefined;
37
+ /**
38
+ * The note a model carries where it is shown, when the organization cannot
39
+ * pick it: retired by the gateway, its whole source off, or switched off by
40
+ * its administrator. One definition for the chip and the picker row, so
41
+ * the two never say different things about the same model.
42
+ */
43
+ export declare const modelAvailabilityNote: (entry: ModelCatalogEntry | undefined) => {
44
+ label: string;
45
+ hint: string;
46
+ } | undefined;
@@ -63,9 +63,13 @@ declare const __VLS_export: <TableRow extends Record<string | number | symbol, a
63
63
  type: StringConstructor;
64
64
  default: undefined;
65
65
  };
66
+ flush: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
66
70
  classWrapper: {
67
71
  type: StringConstructor;
68
- default: string;
72
+ default: undefined;
69
73
  };
70
74
  classPagination: {
71
75
  type: StringConstructor;
@@ -286,6 +286,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
286
286
  spacexai?: {
287
287
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
288
288
  } | undefined;
289
+ xiaomi?: {
290
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
291
+ } | undefined;
289
292
  zai?: {
290
293
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
291
294
  } | undefined;
@@ -345,6 +348,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
345
348
  spacexai?: {
346
349
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
347
350
  } | undefined;
351
+ xiaomi?: {
352
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
353
+ } | undefined;
348
354
  zai?: {
349
355
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
350
356
  } | undefined;
@@ -1924,6 +1930,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1924
1930
  spacexai?: {
1925
1931
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1926
1932
  } | undefined;
1933
+ xiaomi?: {
1934
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1935
+ } | undefined;
1927
1936
  zai?: {
1928
1937
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1929
1938
  } | undefined;
@@ -1983,6 +1992,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1983
1992
  spacexai?: {
1984
1993
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1985
1994
  } | undefined;
1995
+ xiaomi?: {
1996
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1997
+ } | undefined;
1986
1998
  zai?: {
1987
1999
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
1988
2000
  } | undefined;
@@ -3562,6 +3574,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3562
3574
  spacexai?: {
3563
3575
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
3564
3576
  } | undefined;
3577
+ xiaomi?: {
3578
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
3579
+ } | undefined;
3565
3580
  zai?: {
3566
3581
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
3567
3582
  } | undefined;
@@ -3621,6 +3636,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3621
3636
  spacexai?: {
3622
3637
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
3623
3638
  } | undefined;
3639
+ xiaomi?: {
3640
+ reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
3641
+ } | undefined;
3624
3642
  zai?: {
3625
3643
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | "minimal" | undefined;
3626
3644
  } | undefined;
@@ -12,5 +12,7 @@ export declare function useChatbotError(error: MaybeRefOrGetter<Error | undefine
12
12
  isBadRequestError: globalThis.ComputedRef<boolean>;
13
13
  isInternalServerError: globalThis.ComputedRef<boolean>;
14
14
  isGatewayConfigError: globalThis.ComputedRef<boolean>;
15
+ isGatewayDisabledError: globalThis.ComputedRef<boolean>;
16
+ isModelUnavailableError: globalThis.ComputedRef<boolean>;
15
17
  isRefreshableError: globalThis.ComputedRef<boolean>;
16
18
  };