@8wave/ai-elements 0.120.0 → 0.121.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -7
- package/dist/_chunks/{Agent-BYC51e6E.js → Agent-7rbrjWzu.js} +64 -58
- package/dist/_chunks/Agent-7rbrjWzu.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-CNoHyTuC.js → PkStreamingMarkdown-BnClGp-3.js} +826 -831
- package/dist/_chunks/PkStreamingMarkdown-BnClGp-3.js.map +1 -0
- package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js → PkToolEditSpreadsheet-D4M6BUKx.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js.map → PkToolEditSpreadsheet-D4M6BUKx.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js → PkToolRequestGeolocation-DmOoFghZ.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js.map → PkToolRequestGeolocation-DmOoFghZ.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js → PkToolRequestOAuthConnection-DV0sfojC.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js.map → PkToolRequestOAuthConnection-DV0sfojC.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js → PkToolShowArtifact-V0a8zhdO.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js.map → PkToolShowArtifact-V0a8zhdO.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js → PkToolShowContactForm-sLhBxf9e.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js.map → PkToolShowContactForm-sLhBxf9e.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js → PkToolShowForm-Dl2k9jqk.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js.map → PkToolShowForm-Dl2k9jqk.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js → PkToolShowImageGallery-CTsq_DPb.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js.map → PkToolShowImageGallery-CTsq_DPb.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-westY5bY.js → PkToolShowProductList-CpdKWQkP.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-westY5bY.js.map → PkToolShowProductList-CpdKWQkP.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js → PkToolShowSources-WFm2JF0r.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js.map → PkToolShowSources-WFm2JF0r.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js → PkToolShowSuggestedReply-RcL_3RAz.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js.map → PkToolShowSuggestedReply-RcL_3RAz.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js → PkToolShowVideo-Ua5heyl1.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js.map → PkToolShowVideo-Ua5heyl1.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js → PkToolShowWebPages-STOCnsKm.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js.map → PkToolShowWebPages-STOCnsKm.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-B5-QV037.js → chatImagePolicy-C8X_GMnS.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-B5-QV037.js.map → chatImagePolicy-C8X_GMnS.js.map} +1 -1
- package/dist/_chunks/{markdown-DO_FLvlJ.js → markdown-EqEd3eyd.js} +10 -10
- package/dist/_chunks/{markdown-DO_FLvlJ.js.map → markdown-EqEd3eyd.js.map} +1 -1
- package/dist/ai-elements.es.js +1439 -1445
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-2DVqpLwz.js → Agent-SH2vEFKs.js} +63 -57
- package/dist-vue/_chunks/Agent-SH2vEFKs.js.map +1 -0
- package/dist-vue/_chunks/{Document-ChfbOVVs.js → Document-fmCxsccF.js} +10 -10
- package/dist-vue/_chunks/{Document-ChfbOVVs.js.map → Document-fmCxsccF.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-DlHWtWhL.js → PkChatbot-DlIEIjKJ.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-DlHWtWhL.js.map → PkChatbot-DlIEIjKJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js → PkChatbotEmptyState-Bcozn56E.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js.map → PkChatbotEmptyState-Bcozn56E.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotInput-DQVpDLNp.js +390 -0
- package/dist-vue/_chunks/PkChatbotInput-DQVpDLNp.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-DEasGGn_.js → PkChatbotMessages-BYFozlwC.js} +22 -18
- package/dist-vue/_chunks/PkChatbotMessages-BYFozlwC.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js → PkChatbotStepPayload-DjntsSlX.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js.map → PkChatbotStepPayload-DjntsSlX.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js → PkChatbotStepToolDetail-If9goNdY.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js.map → PkChatbotStepToolDetail-If9goNdY.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js → PkChatbotSteps-DUFfniZn.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js.map → PkChatbotSteps-DUFfniZn.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-BEKVeEmo.js → PkChatbotViewChat-BGoltDr9.js} +8 -11
- package/dist-vue/_chunks/PkChatbotViewChat-BGoltDr9.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js → PkChatbotViewConversations-WUpRm6GG.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js.map → PkChatbotViewConversations-WUpRm6GG.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js → PkChatbotViewFiles-CpG_LRg6.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js.map → PkChatbotViewFiles-CpG_LRg6.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js → PkChatbotViewProfile-DetQJa7E.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js.map → PkChatbotViewProfile-DetQJa7E.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js → PkStreamingMarkdown-DLKEIMcZ.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js.map → PkStreamingMarkdown-DLKEIMcZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js → PkToolEditSpreadsheet-D2JtjXef.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js.map → PkToolEditSpreadsheet-D2JtjXef.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js → PkToolRequestGeolocation--MTT__Vu.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js.map → PkToolRequestGeolocation--MTT__Vu.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js → PkToolRequestOAuthConnection-Gb_qfvlN.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js.map → PkToolRequestOAuthConnection-Gb_qfvlN.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js → PkToolShowArtifact-BWVntj9H.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js.map → PkToolShowArtifact-BWVntj9H.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js → PkToolShowContactForm-BbBt3ha0.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js.map → PkToolShowContactForm-BbBt3ha0.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js → PkToolShowDiagram-CE6KHz1M.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js.map → PkToolShowDiagram-CE6KHz1M.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js → PkToolShowForm-CNm8HSUW.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js.map → PkToolShowForm-CNm8HSUW.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js → PkToolShowImageGallery-6k3ituoi.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js.map → PkToolShowImageGallery-6k3ituoi.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js → PkToolShowProductList-Bu-pUg5d.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js.map → PkToolShowProductList-Bu-pUg5d.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js → PkToolShowSources-DTWNZqWu.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js.map → PkToolShowSources-DTWNZqWu.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js → PkToolShowSuggestedReply-DSXhqWhx.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js.map → PkToolShowSuggestedReply-DSXhqWhx.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js → PkToolShowVideo-C0ycBiOI.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js.map → PkToolShowVideo-C0ycBiOI.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js → PkToolShowWebPages-CWWv1tr5.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js.map → PkToolShowWebPages-CWWv1tr5.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js → createChatbotApiClient-MbfcTdwY.js} +16 -16
- package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js.map → createChatbotApiClient-MbfcTdwY.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js → useChatbotStore-DDSgrRzg.js} +1143 -1143
- package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js.map → useChatbotStore-DDSgrRzg.js.map} +1 -1
- package/dist-vue/_chunks/{utils-BLMOBcka.js → utils-B9-Vt10H.js} +35 -40
- package/dist-vue/_chunks/utils-B9-Vt10H.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +10 -8
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +4801 -4729
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +20 -4
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +5 -2
- package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +3 -4
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +10 -0
- package/dist-vue/packages/components/src/chat/PkWebSearchSettings.d.ts +2 -0
- package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +1 -1
- package/dist-vue/packages/composable/src/chatbot/useGreeting.d.ts +5 -3
- package/dist-vue/packages/models/src/schema/Agent.d.ts +14 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-BYC51e6E.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-CNoHyTuC.js.map +0 -1
- package/dist-vue/_chunks/Agent-2DVqpLwz.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-CQup254H.js +0 -399
- package/dist-vue/_chunks/PkChatbotInput-CQup254H.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-DEasGGn_.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-BEKVeEmo.js.map +0 -1
- package/dist-vue/_chunks/utils-BLMOBcka.js.map +0 -1
package/dist-vue/locales.js
CHANGED
|
@@ -47,7 +47,6 @@ var e = {
|
|
|
47
47
|
retryNow: "Try again now",
|
|
48
48
|
feedback: "I want to make a report",
|
|
49
49
|
download: "Download",
|
|
50
|
-
dropFile: "Drop file here",
|
|
51
50
|
attachFile: "Attach a file",
|
|
52
51
|
takePhoto: "Take a photo",
|
|
53
52
|
talk: "Talk",
|
|
@@ -59,6 +58,7 @@ var e = {
|
|
|
59
58
|
upvote: "Helpful",
|
|
60
59
|
downvote: "Not helpful",
|
|
61
60
|
scrollToBottom: "Back to bottom",
|
|
61
|
+
dropFile: "Drop file here",
|
|
62
62
|
deleteMyConversations: "Delete my conversations",
|
|
63
63
|
manageProfile: "Manage your profile",
|
|
64
64
|
signOut: "Sign out",
|
|
@@ -256,6 +256,7 @@ var e = {
|
|
|
256
256
|
maxMessageLength: "Max message length",
|
|
257
257
|
customCss: "Custom CSS",
|
|
258
258
|
initialMessage: "Initial message",
|
|
259
|
+
greeting: "Greeting",
|
|
259
260
|
messagePlaceholder: "Placeholder",
|
|
260
261
|
dismissableNotice: "Notice",
|
|
261
262
|
footer: "Footer",
|
|
@@ -387,6 +388,9 @@ var e = {
|
|
|
387
388
|
itemsPerPage: "Per page",
|
|
388
389
|
totalPages: "of {total}",
|
|
389
390
|
totalItemsCount: "Items: {total}",
|
|
391
|
+
sortAscending: "Ascending order",
|
|
392
|
+
sortDescending: "Descending order",
|
|
393
|
+
sortBy: "Sort by",
|
|
390
394
|
selectedHint: "Selected",
|
|
391
395
|
deselectAction: "Remove"
|
|
392
396
|
},
|
|
@@ -455,6 +459,7 @@ var e = {
|
|
|
455
459
|
workingGlow: "A light runs along the frame of the site while the agent works.",
|
|
456
460
|
copilotPageCss: "Added to your site's page while the chat is open beside it: move a fixed header aside with right: var(--chatbot-copilot-width).",
|
|
457
461
|
customCss: "CSS injected into the widget shadow DOM. Allows styling the chat interface from the outside.",
|
|
462
|
+
greeting: "On the chat page, in large type above the message field until the user writes. Left empty, the suggested text shows. {'{'}name{'}'} becomes the user's name.",
|
|
458
463
|
dismissableNotice: "It will be hidden after the first message.",
|
|
459
464
|
privacyPolicyNotice: "At the foot of the contact form, in Markdown.",
|
|
460
465
|
fileUploadEnabled: "Allow users to attach files to their messages.",
|
|
@@ -488,8 +493,11 @@ var e = {
|
|
|
488
493
|
includeThoughts: "Streams the model's thoughts to the client along with the response.",
|
|
489
494
|
reasoningNotSupported: "Reasoning is not supported for the selected provider.",
|
|
490
495
|
voiceRemaining: "Time left in this call",
|
|
491
|
-
webSearchNative: "Uses {provider}'s built-in web search capabilities.",
|
|
492
496
|
webSearchNativeFallback: "This model has no built-in web search: searches go through Perplexity.",
|
|
497
|
+
webSearchNativeWithoutSearch: "Uses {provider}'s built-in search; a fallback model without one does not search.",
|
|
498
|
+
webSearchNative: "Uses {provider}'s built-in web search capabilities.",
|
|
499
|
+
webSearchNativeChainWithoutSearch: "Each model uses its own provider's built-in search ({providers}); a fallback model without one does not search.",
|
|
500
|
+
webSearchNativeChain: "Each model uses its own provider's built-in search: {providers}.",
|
|
493
501
|
webSearchEnabled: "Allow the agent to search the web during conversations.",
|
|
494
502
|
allowedDomains: "Only search within these domains.",
|
|
495
503
|
blockedDomains: "Exclude these domains from results."
|
|
@@ -769,7 +777,6 @@ var e = {
|
|
|
769
777
|
retryNow: "Riprova ora",
|
|
770
778
|
feedback: "Voglio fare una segnalazione",
|
|
771
779
|
download: "Scarica",
|
|
772
|
-
dropFile: "Trascina il file qui",
|
|
773
780
|
attachFile: "Allega un file",
|
|
774
781
|
takePhoto: "Scatta una foto",
|
|
775
782
|
talk: "Parla",
|
|
@@ -781,6 +788,7 @@ var e = {
|
|
|
781
788
|
upvote: "Utile",
|
|
782
789
|
downvote: "Non utile",
|
|
783
790
|
scrollToBottom: "Torna in fondo",
|
|
791
|
+
dropFile: "Trascina il file qui",
|
|
784
792
|
deleteMyConversations: "Cancella le mie conversazioni",
|
|
785
793
|
manageProfile: "Gestisci il tuo profilo",
|
|
786
794
|
signOut: "Esci",
|
|
@@ -978,6 +986,7 @@ var e = {
|
|
|
978
986
|
maxMessageLength: "Lunghezza massima messaggio",
|
|
979
987
|
customCss: "CSS personalizzato",
|
|
980
988
|
initialMessage: "Messaggio iniziale",
|
|
989
|
+
greeting: "Saluto",
|
|
981
990
|
messagePlaceholder: "Segnaposto",
|
|
982
991
|
dismissableNotice: "Avviso",
|
|
983
992
|
footer: "Footer",
|
|
@@ -1109,6 +1118,9 @@ var e = {
|
|
|
1109
1118
|
itemsPerPage: "Per pagina",
|
|
1110
1119
|
totalPages: "di {total}",
|
|
1111
1120
|
totalItemsCount: "Elementi: {total}",
|
|
1121
|
+
sortAscending: "Ordine crescente",
|
|
1122
|
+
sortDescending: "Ordine decrescente",
|
|
1123
|
+
sortBy: "Ordina per",
|
|
1112
1124
|
selectedHint: "Selezionato",
|
|
1113
1125
|
deselectAction: "Rimuovi"
|
|
1114
1126
|
},
|
|
@@ -1177,6 +1189,7 @@ var e = {
|
|
|
1177
1189
|
workingGlow: "Una luce percorre la cornice del sito mentre l'agente lavora.",
|
|
1178
1190
|
copilotPageCss: "Aggiunto alla pagina del sito mentre la chat è aperta accanto: sposta un'intestazione fissa con right: var(--chatbot-copilot-width).",
|
|
1179
1191
|
customCss: "CSS iniettato nello shadow DOM del widget. Permette di personalizzare l'interfaccia della chat dall'esterno.",
|
|
1192
|
+
greeting: "Nella pagina della chat, in grande sopra il campo del messaggio finché l'utente non scrive. Se è vuoto si vede il testo suggerito. {'{'}name{'}'} diventa il nome dell'utente.",
|
|
1180
1193
|
dismissableNotice: "Verrà nascosto dopo il primo messaggio.",
|
|
1181
1194
|
privacyPolicyNotice: "In fondo al modulo di contatto, in Markdown.",
|
|
1182
1195
|
fileUploadEnabled: "Permetti agli utenti di allegare file ai messaggi.",
|
|
@@ -1210,8 +1223,11 @@ var e = {
|
|
|
1210
1223
|
includeThoughts: "Invia i pensieri del modello al client insieme alla risposta.",
|
|
1211
1224
|
reasoningNotSupported: "Il reasoning non è supportato per il provider selezionato.",
|
|
1212
1225
|
voiceRemaining: "Tempo che resta in questa chiamata",
|
|
1213
|
-
webSearchNative: "Usa le funzionalità di ricerca web integrate di {provider}.",
|
|
1214
1226
|
webSearchNativeFallback: "Questo modello non ha una ricerca web integrata: le ricerche passano da Perplexity.",
|
|
1227
|
+
webSearchNativeWithoutSearch: "Usa la ricerca integrata di {provider}; un modello di fallback che non ce l'ha non cerca.",
|
|
1228
|
+
webSearchNative: "Usa le funzionalità di ricerca web integrate di {provider}.",
|
|
1229
|
+
webSearchNativeChainWithoutSearch: "Ogni modello usa la ricerca integrata del suo fornitore ({providers}); un modello di fallback che non ce l'ha non cerca.",
|
|
1230
|
+
webSearchNativeChain: "Ogni modello usa la ricerca integrata del suo fornitore: {providers}.",
|
|
1215
1231
|
webSearchEnabled: "Permetti all'agente di cercare informazioni sul web durante le conversazioni.",
|
|
1216
1232
|
allowedDomains: "Cerca solo all'interno di questi domini.",
|
|
1217
1233
|
blockedDomains: "Escludi questi domini dai risultati."
|
|
@@ -29,6 +29,7 @@ type __VLS_ModelProps = {
|
|
|
29
29
|
'name'?: string;
|
|
30
30
|
'type'?: AgentType | undefined | string;
|
|
31
31
|
'initialMessage'?: Record<string, string> | undefined;
|
|
32
|
+
'greeting'?: Record<string, string>[] | undefined;
|
|
32
33
|
'messagePlaceholder'?: Record<string, string> | undefined;
|
|
33
34
|
'dismissableNotice'?: Record<string, string> | undefined;
|
|
34
35
|
'footerMessage'?: Record<string, string> | undefined;
|
|
@@ -130,9 +131,9 @@ type __VLS_ModelProps = {
|
|
|
130
131
|
} | undefined;
|
|
131
132
|
};
|
|
132
133
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
133
|
-
declare var
|
|
134
|
+
declare var __VLS_836: {};
|
|
134
135
|
type __VLS_Slots = {} & {
|
|
135
|
-
default?: (props: typeof
|
|
136
|
+
default?: (props: typeof __VLS_836) => any;
|
|
136
137
|
};
|
|
137
138
|
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
138
139
|
"update:reasoning": (value: {
|
|
@@ -222,6 +223,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
222
223
|
"update:name": (value: string) => any;
|
|
223
224
|
"update:type": (value: string | undefined) => any;
|
|
224
225
|
"update:initialMessage": (value: Record<string, string> | undefined) => any;
|
|
226
|
+
"update:greeting": (value: Record<string, string>[] | undefined) => any;
|
|
225
227
|
"update:messagePlaceholder": (value: Record<string, string> | undefined) => any;
|
|
226
228
|
"update:dismissableNotice": (value: Record<string, string> | undefined) => any;
|
|
227
229
|
"update:footerMessage": (value: Record<string, string> | undefined) => any;
|
|
@@ -484,6 +486,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
484
486
|
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
485
487
|
"onUpdate:type"?: ((value: string | undefined) => any) | undefined;
|
|
486
488
|
"onUpdate:initialMessage"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
489
|
+
"onUpdate:greeting"?: ((value: Record<string, string>[] | undefined) => any) | undefined;
|
|
487
490
|
"onUpdate:messagePlaceholder"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
488
491
|
"onUpdate:dismissableNotice"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
489
492
|
"onUpdate:footerMessage"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
@@ -12,7 +12,6 @@ type __VLS_Props = {
|
|
|
12
12
|
status?: 'submitted' | 'streaming' | 'ready' | 'error';
|
|
13
13
|
maxMessageLength?: number;
|
|
14
14
|
fileUpload?: AgentFileUpload;
|
|
15
|
-
enableDragDrop?: boolean;
|
|
16
15
|
attachmentLimitReached?: boolean;
|
|
17
16
|
attachmentNotice?: string;
|
|
18
17
|
/** Show the talk button: the agent has voice enabled. */
|
|
@@ -23,11 +22,11 @@ type __VLS_ModelProps = {
|
|
|
23
22
|
'pendingAttachments'?: PendingAttachment[];
|
|
24
23
|
};
|
|
25
24
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
26
|
-
declare var
|
|
25
|
+
declare var __VLS_25: {}, __VLS_66: {};
|
|
27
26
|
type __VLS_Slots = {} & {
|
|
28
|
-
prepend?: (props: typeof
|
|
27
|
+
prepend?: (props: typeof __VLS_25) => any;
|
|
29
28
|
} & {
|
|
30
|
-
'additional-actions'?: (props: typeof
|
|
29
|
+
'additional-actions'?: (props: typeof __VLS_66) => any;
|
|
31
30
|
};
|
|
32
31
|
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
32
|
"update:modelValue": (value: string | undefined) => any;
|
|
@@ -64,6 +64,16 @@ type __VLS_Props = {
|
|
|
64
64
|
isDark?: boolean;
|
|
65
65
|
/** Show a floating "back to bottom" button when the user scrolls up (fullscreen layout) */
|
|
66
66
|
showScrollToBottom?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* The page around scrolls the conversation (the log pages), so the
|
|
69
|
+
* list does not scroll on its own. As a second scroller it scrolled
|
|
70
|
+
* by the few pixels the 40px touch area of the last reply's buttons
|
|
71
|
+
* stands out, and on a phone it caught the swipe meant for the page.
|
|
72
|
+
* Only for a conversation that is read, not followed: the back to
|
|
73
|
+
* bottom button and the spacer of a sent message still read the
|
|
74
|
+
* list's own scroll.
|
|
75
|
+
*/
|
|
76
|
+
parentScrolls?: boolean;
|
|
67
77
|
feedbackMessageId?: string;
|
|
68
78
|
feedbackLoading?: boolean;
|
|
69
79
|
feedbackSubmitted?: boolean;
|
|
@@ -2,6 +2,8 @@ import { AgentWebSearch, WebSearchProvider } from '../../../models/src';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
activeProvider: string;
|
|
5
|
+
/** The agent's fallback models, which the gateway may answer with. */
|
|
6
|
+
fallbackModels?: string[];
|
|
5
7
|
disabled?: boolean;
|
|
6
8
|
};
|
|
7
9
|
type __VLS_ModelProps = {
|
|
@@ -17,7 +17,7 @@ declare const __VLS_export: <TableRow extends Record<string | number | symbol, a
|
|
|
17
17
|
order: {
|
|
18
18
|
type: PropType<"asc" | "desc">;
|
|
19
19
|
default: string;
|
|
20
|
-
|
|
20
|
+
validator: (order: string) => boolean;
|
|
21
21
|
};
|
|
22
22
|
page: {
|
|
23
23
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -3,9 +3,11 @@ import { AgentInterface } from '../../../models/src';
|
|
|
3
3
|
/**
|
|
4
4
|
* Resolves the greeting shown in the fullscreen empty state.
|
|
5
5
|
*
|
|
6
|
-
* v1 behavior (docs/specs/public-chat-page.md): uses the first entry
|
|
7
|
-
* `agentInterface.greeting` pool and supports only the `{name}`
|
|
8
|
-
*
|
|
6
|
+
* v1 behavior (docs/specs/released/public-chat-page.md): uses the first entry
|
|
7
|
+
* of the `agentInterface.greeting` pool and supports only the `{name}`
|
|
8
|
+
* placeholder. Without one, the default welcome message. The agent's
|
|
9
|
+
* `initialMessage` is not a fallback: it is written as a first reply, and at
|
|
10
|
+
* the size of a heading a long one filled a phone screen.
|
|
9
11
|
* Pool rotation and `{timeGreeting}` are planned follow-ups.
|
|
10
12
|
*/
|
|
11
13
|
export declare function useGreeting(agentInterface: MaybeRefOrGetter<AgentInterface | undefined>, userName: MaybeRefOrGetter<string | undefined>): ComputedRef<string>;
|
|
@@ -607,6 +607,20 @@ export declare const NATIVE_WEB_SEARCH_PROVIDERS: {
|
|
|
607
607
|
};
|
|
608
608
|
/** The name of the model provider whose own web search `native` uses, if any. */
|
|
609
609
|
export declare function nativeWebSearchProviderOf(model: string): string | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* The tool keys of the providers' own searches. With fallback models of other
|
|
612
|
+
* providers each model of the chain gets its own (`buildWebSearchTools` in the
|
|
613
|
+
* backend), and OpenAI and Anthropic both call theirs `web_search`: next to
|
|
614
|
+
* Claude's, OpenAI's takes `openai_web_search`.
|
|
615
|
+
*/
|
|
616
|
+
export declare const NATIVE_WEB_SEARCH_TOOL_KEYS: readonly ["web_search", "openai_web_search", "google_search"];
|
|
617
|
+
/**
|
|
618
|
+
* Every web search tool key the backend builds. The single list for whatever
|
|
619
|
+
* recognizes a search by its tool name, in the backend (worker allowlist,
|
|
620
|
+
* voice activity, closures) and in the chat steps: a key missing from a copy
|
|
621
|
+
* is silent, a search that is not recognized as one.
|
|
622
|
+
*/
|
|
623
|
+
export declare const WEB_SEARCH_TOOL_KEYS: readonly ["perplexity_search", "parallel_search", "web_search", "openai_web_search", "google_search"];
|
|
610
624
|
export declare const PerplexitySearchConfigSchema: z.ZodObject<{
|
|
611
625
|
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
612
626
|
maxTokens: z.ZodOptional<z.ZodNumber>;
|