@8wave/ai-elements 0.121.0-beta.16 → 0.121.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +125 -54
- package/dist/_chunks/{Agent-7rbrjWzu.js → Agent-wt8Vi99H.js} +7 -5
- package/dist/_chunks/Agent-wt8Vi99H.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-BnClGp-3.js → PkStreamingMarkdown-Br7Z60Vm.js} +787 -777
- package/dist/_chunks/PkStreamingMarkdown-Br7Z60Vm.js.map +1 -0
- package/dist/_chunks/{PkToolEditSpreadsheet-D4M6BUKx.js → PkToolEditSpreadsheet-Di9czFTy.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-D4M6BUKx.js.map → PkToolEditSpreadsheet-Di9czFTy.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-DmOoFghZ.js → PkToolRequestGeolocation-dUTqHsV-.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-DmOoFghZ.js.map → PkToolRequestGeolocation-dUTqHsV-.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-DV0sfojC.js → PkToolRequestOAuthConnection-cNDld72U.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-DV0sfojC.js.map → PkToolRequestOAuthConnection-cNDld72U.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-V0a8zhdO.js → PkToolShowArtifact-DtstlRsL.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-V0a8zhdO.js.map → PkToolShowArtifact-DtstlRsL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-sLhBxf9e.js → PkToolShowContactForm-BKaKlYGJ.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-sLhBxf9e.js.map → PkToolShowContactForm-BKaKlYGJ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-Dl2k9jqk.js → PkToolShowForm-OxANKx0g.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-Dl2k9jqk.js.map → PkToolShowForm-OxANKx0g.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-CTsq_DPb.js → PkToolShowImageGallery-DRePOmUx.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-CTsq_DPb.js.map → PkToolShowImageGallery-DRePOmUx.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-CpdKWQkP.js → PkToolShowProductList-Y9HR_RJ4.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-CpdKWQkP.js.map → PkToolShowProductList-Y9HR_RJ4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-WFm2JF0r.js → PkToolShowSources-BQnaaL2a.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-WFm2JF0r.js.map → PkToolShowSources-BQnaaL2a.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-RcL_3RAz.js → PkToolShowSuggestedReply-ghiXQuDz.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-RcL_3RAz.js.map → PkToolShowSuggestedReply-ghiXQuDz.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-Ua5heyl1.js → PkToolShowVideo-BcNWgJD7.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-Ua5heyl1.js.map → PkToolShowVideo-BcNWgJD7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-STOCnsKm.js → PkToolShowWebPages-Ba6DkV0V.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-STOCnsKm.js.map → PkToolShowWebPages-Ba6DkV0V.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-C8X_GMnS.js → chatImagePolicy-P0TZW1on.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-C8X_GMnS.js.map → chatImagePolicy-P0TZW1on.js.map} +1 -1
- package/dist/_chunks/{markdown-EqEd3eyd.js → markdown-DLplFIBU.js} +2 -2
- package/dist/_chunks/{markdown-EqEd3eyd.js.map → markdown-DLplFIBU.js.map} +1 -1
- package/dist/ai-elements.es.js +4053 -3494
- 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-SH2vEFKs.js → Agent-DcoF75y8.js} +7 -5
- package/dist-vue/_chunks/Agent-DcoF75y8.js.map +1 -0
- package/dist-vue/_chunks/{Document-fmCxsccF.js → Document-C1bD6VNU.js} +2 -2
- package/dist-vue/_chunks/{Document-fmCxsccF.js.map → Document-C1bD6VNU.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-DlIEIjKJ.js → PkChatbot-wyaH2IgV.js} +9 -9
- package/dist-vue/_chunks/PkChatbot-wyaH2IgV.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-Bcozn56E.js → PkChatbotEmptyState-h2qZ0JOD.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-Bcozn56E.js.map → PkChatbotEmptyState-h2qZ0JOD.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-DQVpDLNp.js → PkChatbotInput-C-bMNHC-.js} +87 -80
- package/dist-vue/_chunks/PkChatbotInput-C-bMNHC-.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-BYFozlwC.js → PkChatbotMessages-DU8qnlVX.js} +17 -17
- package/dist-vue/_chunks/{PkChatbotMessages-BYFozlwC.js.map → PkChatbotMessages-DU8qnlVX.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-DjntsSlX.js → PkChatbotStepPayload-BOxfKD1b.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-DjntsSlX.js.map → PkChatbotStepPayload-BOxfKD1b.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-If9goNdY.js → PkChatbotStepToolDetail-Df6EOYxj.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-If9goNdY.js.map → PkChatbotStepToolDetail-Df6EOYxj.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DUFfniZn.js → PkChatbotSteps-DnDtN4Q7.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-DUFfniZn.js.map → PkChatbotSteps-DnDtN4Q7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-BGoltDr9.js → PkChatbotViewChat-D4iupq1A.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-BGoltDr9.js.map → PkChatbotViewChat-D4iupq1A.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-WUpRm6GG.js → PkChatbotViewConversations-dKZScKD9.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-WUpRm6GG.js.map → PkChatbotViewConversations-dKZScKD9.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-CpG_LRg6.js → PkChatbotViewFiles-CQC3rInD.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-CpG_LRg6.js.map → PkChatbotViewFiles-CQC3rInD.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-DetQJa7E.js → PkChatbotViewProfile-CkZyWh4V.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-DetQJa7E.js.map → PkChatbotViewProfile-CkZyWh4V.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-DLKEIMcZ.js → PkStreamingMarkdown-BYV68skc.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-DLKEIMcZ.js.map → PkStreamingMarkdown-BYV68skc.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D2JtjXef.js → PkToolEditSpreadsheet-DQxJQIY0.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D2JtjXef.js.map → PkToolEditSpreadsheet-DQxJQIY0.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation--MTT__Vu.js → PkToolRequestGeolocation-BpjglRbg.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation--MTT__Vu.js.map → PkToolRequestGeolocation-BpjglRbg.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-Gb_qfvlN.js → PkToolRequestOAuthConnection-CD3M5DWj.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-Gb_qfvlN.js.map → PkToolRequestOAuthConnection-CD3M5DWj.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BWVntj9H.js → PkToolShowArtifact-Bm5VBF_n.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BWVntj9H.js.map → PkToolShowArtifact-Bm5VBF_n.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BbBt3ha0.js → PkToolShowContactForm-CMQTQsU-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BbBt3ha0.js.map → PkToolShowContactForm-CMQTQsU-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CE6KHz1M.js → PkToolShowDiagram-adGuj4AF.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CE6KHz1M.js.map → PkToolShowDiagram-adGuj4AF.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-CNm8HSUW.js → PkToolShowForm-Cx5KdTlZ.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-CNm8HSUW.js.map → PkToolShowForm-Cx5KdTlZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-6k3ituoi.js → PkToolShowImageGallery-BtQ0gnGB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-6k3ituoi.js.map → PkToolShowImageGallery-BtQ0gnGB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-Bu-pUg5d.js → PkToolShowProductList-Dvatk6p-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-Bu-pUg5d.js.map → PkToolShowProductList-Dvatk6p-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-DTWNZqWu.js → PkToolShowSources-DKkIYQ9r.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-DTWNZqWu.js.map → PkToolShowSources-DKkIYQ9r.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DSXhqWhx.js → PkToolShowSuggestedReply-BbAfjJP9.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DSXhqWhx.js.map → PkToolShowSuggestedReply-BbAfjJP9.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-C0ycBiOI.js → PkToolShowVideo-DTNszfdU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-C0ycBiOI.js.map → PkToolShowVideo-DTNszfdU.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-CWWv1tr5.js → PkToolShowWebPages-euov57FB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CWWv1tr5.js.map → PkToolShowWebPages-euov57FB.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-MbfcTdwY.js → createChatbotApiClient-qHjpFqPL.js} +8 -8
- package/dist-vue/_chunks/{createChatbotApiClient-MbfcTdwY.js.map → createChatbotApiClient-qHjpFqPL.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-DDSgrRzg.js → useChatbotStore-CBjfSN69.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-DDSgrRzg.js.map → useChatbotStore-CBjfSN69.js.map} +1 -1
- package/dist-vue/_chunks/{utils-B9-Vt10H.js → utils-BCGK2AFl.js} +2 -2
- package/dist-vue/_chunks/utils-BCGK2AFl.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +12 -4
- package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +4 -3
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +11 -5
- package/dist-vue/apps/web-component/src/composables/useChatbotProfileProvider.d.ts +3 -2
- package/dist-vue/apps/web-component/src/composables/useCopilotPageCss.d.ts +12 -4
- package/dist-vue/apps/web-component/src/composables/usePageModal.d.ts +19 -0
- package/dist-vue/apps/web-component/src/lib.d.ts +10 -3
- package/dist-vue/apps/web-component/src/pageTools/actions.d.ts +33 -0
- package/dist-vue/apps/web-component/src/pageTools/navigation.d.ts +27 -0
- package/dist-vue/apps/web-component/src/pageTools/snapshot.d.ts +18 -2
- package/dist-vue/apps/web-component/src/utils/emitWidgetEvent.d.ts +8 -0
- package/dist-vue/apps/web-component/src/utils/layout.d.ts +3 -3
- package/dist-vue/composables.js +43 -21
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +340 -321
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +44 -18
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +8 -5
- package/dist-vue/packages/components/src/chat/PkHostCallConfirmDialog.d.ts +19 -0
- package/dist-vue/packages/components/src/chat/utils.d.ts +5 -0
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +13 -7
- package/dist-vue/packages/models/src/schema/Agent.d.ts +31 -18
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +5 -3
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +5 -3
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-7rbrjWzu.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-BnClGp-3.js.map +0 -1
- package/dist-vue/_chunks/Agent-SH2vEFKs.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-DlIEIjKJ.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-DQVpDLNp.js.map +0 -1
- package/dist-vue/_chunks/utils-B9-Vt10H.js.map +0 -1
- package/dist-vue/apps/web-component/src/composables/useCopilotPush.d.ts +0 -25
package/dist-vue/locales.js
CHANGED
|
@@ -248,9 +248,10 @@ var e = {
|
|
|
248
248
|
floatingButtonPosition: "Side",
|
|
249
249
|
left: "Left",
|
|
250
250
|
right: "Right",
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
251
|
+
widgetAppearance: "Appearance",
|
|
252
|
+
widgetAppearanceSolid: "Solid",
|
|
253
|
+
widgetAppearanceGlass: "Glass",
|
|
254
|
+
hideFloatingButton: "Hide the open button",
|
|
254
255
|
workingGlow: "Glow while working",
|
|
255
256
|
copilotPageCss: "Page CSS",
|
|
256
257
|
maxMessageLength: "Max message length",
|
|
@@ -454,8 +455,9 @@ var e = {
|
|
|
454
455
|
interactiveLogin: "Lets anonymous users sign in from the chat. The external token stays active.",
|
|
455
456
|
widgetLayoutCopilot: "Docked on one side, the site framed beside it.",
|
|
456
457
|
widgetLayoutFloating: "A button opens the chat in a card over the page.",
|
|
457
|
-
|
|
458
|
-
|
|
458
|
+
widgetAppearanceGlass: "The site shows through the chat, blurred; on a phone it stays solid.",
|
|
459
|
+
widgetAppearanceSolid: "The chat has the theme's solid background.",
|
|
460
|
+
hideFloatingButton: "The chat opens only from a button on your site, which you add: it calls open() on the widget, see the README.",
|
|
459
461
|
workingGlow: "A light runs along the frame of the site while the agent works.",
|
|
460
462
|
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).",
|
|
461
463
|
customCss: "CSS injected into the widget shadow DOM. Allows styling the chat interface from the outside.",
|
|
@@ -483,7 +485,7 @@ var e = {
|
|
|
483
485
|
userFeedbackNegative: "The user rated this answer negatively",
|
|
484
486
|
userFeedbackReaction: "The user reacted to this answer",
|
|
485
487
|
channel: {
|
|
486
|
-
frontoffice: "The agent
|
|
488
|
+
frontoffice: "The agent appears in the platform: on the Try page and the other Monitor pages.",
|
|
487
489
|
app: "The agent is accessible via the dedicated public page.",
|
|
488
490
|
widget: "The agent can be embedded in websites via embed script."
|
|
489
491
|
},
|
|
@@ -543,7 +545,7 @@ var e = {
|
|
|
543
545
|
runWorker: "Parallel workers"
|
|
544
546
|
},
|
|
545
547
|
channel: {
|
|
546
|
-
frontoffice: "
|
|
548
|
+
frontoffice: "Platform",
|
|
547
549
|
app: "App",
|
|
548
550
|
widget: "Widget"
|
|
549
551
|
}
|
|
@@ -643,9 +645,15 @@ var e = {
|
|
|
643
645
|
form: "Filling in a form…",
|
|
644
646
|
snapshot: "Reading the page…",
|
|
645
647
|
read: "Reading a section of the page…",
|
|
648
|
+
find: "Finding on the page…",
|
|
649
|
+
wait: "Waiting for the page…",
|
|
646
650
|
click: "Clicking on the page…",
|
|
647
651
|
fill: "Filling in a field…",
|
|
648
|
-
scroll: "Scrolling the page…"
|
|
652
|
+
scroll: "Scrolling the page…",
|
|
653
|
+
hover: "Pointing at an element…",
|
|
654
|
+
press: "Pressing a key…",
|
|
655
|
+
back: "Going back…",
|
|
656
|
+
navigate: "Opening a page…"
|
|
649
657
|
}
|
|
650
658
|
},
|
|
651
659
|
twoFactor: {
|
|
@@ -682,8 +690,13 @@ var e = {
|
|
|
682
690
|
pageElement: "an element",
|
|
683
691
|
pageSubmit: "The agent wants to submit the form with “{name}”. Allow it?",
|
|
684
692
|
pageOpen: "The agent wants to open “{name}”: the page will change. Allow it?",
|
|
693
|
+
pageAnswer: "The page asks: “{question}” The agent wants to answer “{name}”. Allow it?",
|
|
685
694
|
pageClick: "The agent wants to click “{name}”. Allow it?",
|
|
686
|
-
pageFill: "The agent wants to write in “{name}”. Allow it?"
|
|
695
|
+
pageFill: "The agent wants to write “{value}” in “{name}”. Allow it?",
|
|
696
|
+
pageHover: "The agent wants to point at “{name}”. Allow it?",
|
|
697
|
+
pagePress: "The agent wants to press {key} on “{name}”. Allow it?",
|
|
698
|
+
pageBack: "The agent wants to go back to the previous page. Allow it?",
|
|
699
|
+
pageNavigate: "The agent wants to open “{url}”. Allow it?"
|
|
687
700
|
},
|
|
688
701
|
confirmTitle: { deleteMyConversations: "Delete all your conversations?" },
|
|
689
702
|
toolSelection: {
|
|
@@ -978,9 +991,10 @@ var e = {
|
|
|
978
991
|
floatingButtonPosition: "Lato",
|
|
979
992
|
left: "Sinistra",
|
|
980
993
|
right: "Destra",
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
994
|
+
widgetAppearance: "Aspetto",
|
|
995
|
+
widgetAppearanceSolid: "Pieno",
|
|
996
|
+
widgetAppearanceGlass: "Vetro",
|
|
997
|
+
hideFloatingButton: "Nascondi il pulsante di apertura",
|
|
984
998
|
workingGlow: "Bagliore mentre lavora",
|
|
985
999
|
copilotPageCss: "CSS della pagina",
|
|
986
1000
|
maxMessageLength: "Lunghezza massima messaggio",
|
|
@@ -1184,8 +1198,9 @@ var e = {
|
|
|
1184
1198
|
interactiveLogin: "Permette agli utenti anonimi di accedere dalla chat. L'external token resta sempre attivo.",
|
|
1185
1199
|
widgetLayoutCopilot: "Agganciata a un lato, con il sito incorniciato accanto.",
|
|
1186
1200
|
widgetLayoutFloating: "Un pulsante apre la chat in una scheda sopra la pagina.",
|
|
1187
|
-
|
|
1188
|
-
|
|
1201
|
+
widgetAppearanceGlass: "Il sito si vede sfocato dietro la chat; sul telefono resta piena.",
|
|
1202
|
+
widgetAppearanceSolid: "La chat ha lo sfondo pieno del tema.",
|
|
1203
|
+
hideFloatingButton: "La chat si apre solo da un pulsante del sito, che va aggiunto: chiama open() sul widget, vedi il README.",
|
|
1189
1204
|
workingGlow: "Una luce percorre la cornice del sito mentre l'agente lavora.",
|
|
1190
1205
|
copilotPageCss: "Aggiunto alla pagina del sito mentre la chat è aperta accanto: sposta un'intestazione fissa con right: var(--chatbot-copilot-width).",
|
|
1191
1206
|
customCss: "CSS iniettato nello shadow DOM del widget. Permette di personalizzare l'interfaccia della chat dall'esterno.",
|
|
@@ -1213,7 +1228,7 @@ var e = {
|
|
|
1213
1228
|
userFeedbackNegative: "L'utente ha valutato negativamente questa risposta",
|
|
1214
1229
|
userFeedbackReaction: "L'utente ha reagito a questa risposta",
|
|
1215
1230
|
channel: {
|
|
1216
|
-
frontoffice: "L'agente
|
|
1231
|
+
frontoffice: "L'agente compare nella piattaforma: nella pagina Prova e nelle altre pagine di Monitora.",
|
|
1217
1232
|
app: "L'agente è accessibile tramite la pagina pubblica dedicata.",
|
|
1218
1233
|
widget: "L'agente è incorporabile nei siti web tramite embed script."
|
|
1219
1234
|
},
|
|
@@ -1273,7 +1288,7 @@ var e = {
|
|
|
1273
1288
|
runWorker: "Worker parallelo"
|
|
1274
1289
|
},
|
|
1275
1290
|
channel: {
|
|
1276
|
-
frontoffice: "
|
|
1291
|
+
frontoffice: "Piattaforma",
|
|
1277
1292
|
app: "App",
|
|
1278
1293
|
widget: "Widget"
|
|
1279
1294
|
}
|
|
@@ -1373,9 +1388,15 @@ var e = {
|
|
|
1373
1388
|
form: "Compilazione di un modulo…",
|
|
1374
1389
|
snapshot: "Lettura della pagina…",
|
|
1375
1390
|
read: "Lettura di una sezione della pagina…",
|
|
1391
|
+
find: "Ricerca nella pagina…",
|
|
1392
|
+
wait: "Attesa della pagina…",
|
|
1376
1393
|
click: "Clic sulla pagina…",
|
|
1377
1394
|
fill: "Compilazione di un campo…",
|
|
1378
|
-
scroll: "Scorrimento della pagina…"
|
|
1395
|
+
scroll: "Scorrimento della pagina…",
|
|
1396
|
+
hover: "Puntamento di un elemento…",
|
|
1397
|
+
press: "Pressione di un tasto…",
|
|
1398
|
+
back: "Ritorno alla pagina precedente…",
|
|
1399
|
+
navigate: "Apertura di una pagina…"
|
|
1379
1400
|
}
|
|
1380
1401
|
},
|
|
1381
1402
|
twoFactor: {
|
|
@@ -1412,8 +1433,13 @@ var e = {
|
|
|
1412
1433
|
pageElement: "un elemento",
|
|
1413
1434
|
pageSubmit: "L'agente vuole inviare il modulo con «{name}». Consenti?",
|
|
1414
1435
|
pageOpen: "L'agente vuole aprire «{name}»: la pagina cambierà. Consenti?",
|
|
1436
|
+
pageAnswer: "La pagina chiede: «{question}» L'agente vuole rispondere «{name}». Consenti?",
|
|
1415
1437
|
pageClick: "L'agente vuole cliccare «{name}». Consenti?",
|
|
1416
|
-
pageFill: "L'agente vuole scrivere in «{name}». Consenti?"
|
|
1438
|
+
pageFill: "L'agente vuole scrivere «{value}» in «{name}». Consenti?",
|
|
1439
|
+
pageHover: "L'agente vuole puntare «{name}». Consenti?",
|
|
1440
|
+
pagePress: "L'agente vuole premere {key} su «{name}». Consenti?",
|
|
1441
|
+
pageBack: "L'agente vuole tornare alla pagina precedente. Consenti?",
|
|
1442
|
+
pageNavigate: "L'agente vuole aprire «{url}». Consenti?"
|
|
1417
1443
|
},
|
|
1418
1444
|
confirmTitle: { deleteMyConversations: "Eliminare tutte le vostre conversazioni?" },
|
|
1419
1445
|
toolSelection: {
|
|
@@ -55,7 +55,8 @@ type __VLS_ModelProps = {
|
|
|
55
55
|
'floatingButtonPosition'?: 'left' | 'right';
|
|
56
56
|
'layout'?: 'floating' | 'copilot';
|
|
57
57
|
'workingGlow'?: boolean;
|
|
58
|
-
'
|
|
58
|
+
'appearance'?: 'solid' | 'glass';
|
|
59
|
+
'hideFloatingButton'?: boolean;
|
|
59
60
|
'copilotPageCss'?: string | undefined;
|
|
60
61
|
'maxMessageLength'?: number | undefined;
|
|
61
62
|
'media'?: Media | undefined;
|
|
@@ -131,9 +132,9 @@ type __VLS_ModelProps = {
|
|
|
131
132
|
} | undefined;
|
|
132
133
|
};
|
|
133
134
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
134
|
-
declare var
|
|
135
|
+
declare var __VLS_841: {};
|
|
135
136
|
type __VLS_Slots = {} & {
|
|
136
|
-
default?: (props: typeof
|
|
137
|
+
default?: (props: typeof __VLS_841) => any;
|
|
137
138
|
};
|
|
138
139
|
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
139
140
|
"update:reasoning": (value: {
|
|
@@ -247,7 +248,8 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
247
248
|
"update:floatingButtonPosition": (value: "left" | "right") => any;
|
|
248
249
|
"update:layout": (value: "floating" | "copilot") => any;
|
|
249
250
|
"update:workingGlow": (value: boolean) => any;
|
|
250
|
-
"update:
|
|
251
|
+
"update:appearance": (value: "solid" | "glass") => any;
|
|
252
|
+
"update:hideFloatingButton": (value: boolean) => any;
|
|
251
253
|
"update:copilotPageCss": (value: string | undefined) => any;
|
|
252
254
|
"update:maxMessageLength": (value: number | undefined) => any;
|
|
253
255
|
"update:media": (value: {
|
|
@@ -510,7 +512,8 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
510
512
|
"onUpdate:floatingButtonPosition"?: ((value: "left" | "right") => any) | undefined;
|
|
511
513
|
"onUpdate:layout"?: ((value: "floating" | "copilot") => any) | undefined;
|
|
512
514
|
"onUpdate:workingGlow"?: ((value: boolean) => any) | undefined;
|
|
513
|
-
"onUpdate:
|
|
515
|
+
"onUpdate:appearance"?: ((value: "solid" | "glass") => any) | undefined;
|
|
516
|
+
"onUpdate:hideFloatingButton"?: ((value: boolean) => any) | undefined;
|
|
514
517
|
"onUpdate:copilotPageCss"?: ((value: string | undefined) => any) | undefined;
|
|
515
518
|
"onUpdate:maxMessageLength"?: ((value: number | undefined) => any) | undefined;
|
|
516
519
|
"onUpdate:media"?: ((value: {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* The confirmation card of a host call, in the top layer: shown while the
|
|
4
|
+
* page that embeds the widget has a modal dialog open (spec
|
|
5
|
+
* `page-tools.md`). That dialog makes everything else inert, the chat and
|
|
6
|
+
* its card included, so the card the agent waits on could not be clicked.
|
|
7
|
+
* A modal dialog of its own, opened last, is the one the page lets the
|
|
8
|
+
* user answer; once answered, the page's dialog is active again.
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
question: string;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
+
respond: (approved: boolean) => any;
|
|
15
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onRespond?: ((approved: boolean) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -76,6 +76,11 @@ export declare function getToolApprovalId(part: UIMessage['parts'][number] | nul
|
|
|
76
76
|
export declare function getPartState(part: UIMessage['parts'][number] | null | undefined): string | undefined;
|
|
77
77
|
export declare function isLoadingState(state?: string): boolean;
|
|
78
78
|
export declare function getContrast(hexcolor?: string): 'black' | 'white';
|
|
79
|
+
/**
|
|
80
|
+
* True for a hex color with almost no hue: black, white and the grays between.
|
|
81
|
+
* Anything else, a color the function cannot read included, counts as colored.
|
|
82
|
+
*/
|
|
83
|
+
export declare function isAchromaticColor(hexcolor: string | undefined): boolean;
|
|
79
84
|
/**
|
|
80
85
|
* Resolves the contrast color based on the user's `textColor` preference.
|
|
81
86
|
* Falls back to WCAG auto-detection via `getContrast` when set to `'auto'` or `undefined`.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chat } from '@ai-sdk/vue';
|
|
2
|
-
import { PageAccessLevel, ChatMessageActions, UIChatMessage, AgentWidgetLayout,
|
|
2
|
+
import { PageAccessLevel, ChatMessageActions, UIChatMessage, AgentWidgetLayout, AgentWidgetAppearance, AgentLoaderStrategy, StoragePolicy, AgentSearchMode, AgentBuiltInTool, WebSearchProvider, PlatformType, ToolGroupKind, BlockedReasonCode, ConversationAnalysisTrigger, Sentiment, SentimentTrend, UserTone, AbuseCategory, LlmIssueCategory, UserEngagement, AbuseConfidence } from '../../../models/src';
|
|
3
3
|
import { RegisteredHostTool } from './hostTools';
|
|
4
4
|
import { ChatbotFile } from './api';
|
|
5
5
|
import { PendingAttachment } from './types';
|
|
@@ -56,7 +56,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
56
56
|
welcomePopup: boolean;
|
|
57
57
|
floatingButtonPosition: "left" | "right";
|
|
58
58
|
layout: AgentWidgetLayout;
|
|
59
|
-
|
|
59
|
+
appearance: AgentWidgetAppearance;
|
|
60
|
+
hideFloatingButton: boolean;
|
|
60
61
|
workingGlow: boolean;
|
|
61
62
|
widgetUrl: string;
|
|
62
63
|
loadDelay: number;
|
|
@@ -154,7 +155,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
154
155
|
welcomePopup: boolean;
|
|
155
156
|
floatingButtonPosition: "left" | "right";
|
|
156
157
|
layout: AgentWidgetLayout;
|
|
157
|
-
|
|
158
|
+
appearance: AgentWidgetAppearance;
|
|
159
|
+
hideFloatingButton: boolean;
|
|
158
160
|
workingGlow: boolean;
|
|
159
161
|
widgetUrl: string;
|
|
160
162
|
loadDelay: number;
|
|
@@ -1919,7 +1921,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
1919
1921
|
welcomePopup: boolean;
|
|
1920
1922
|
floatingButtonPosition: "left" | "right";
|
|
1921
1923
|
layout: AgentWidgetLayout;
|
|
1922
|
-
|
|
1924
|
+
appearance: AgentWidgetAppearance;
|
|
1925
|
+
hideFloatingButton: boolean;
|
|
1923
1926
|
workingGlow: boolean;
|
|
1924
1927
|
widgetUrl: string;
|
|
1925
1928
|
loadDelay: number;
|
|
@@ -2017,7 +2020,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
2017
2020
|
welcomePopup: boolean;
|
|
2018
2021
|
floatingButtonPosition: "left" | "right";
|
|
2019
2022
|
layout: AgentWidgetLayout;
|
|
2020
|
-
|
|
2023
|
+
appearance: AgentWidgetAppearance;
|
|
2024
|
+
hideFloatingButton: boolean;
|
|
2021
2025
|
workingGlow: boolean;
|
|
2022
2026
|
widgetUrl: string;
|
|
2023
2027
|
loadDelay: number;
|
|
@@ -3782,7 +3786,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
3782
3786
|
welcomePopup: boolean;
|
|
3783
3787
|
floatingButtonPosition: "left" | "right";
|
|
3784
3788
|
layout: AgentWidgetLayout;
|
|
3785
|
-
|
|
3789
|
+
appearance: AgentWidgetAppearance;
|
|
3790
|
+
hideFloatingButton: boolean;
|
|
3786
3791
|
workingGlow: boolean;
|
|
3787
3792
|
widgetUrl: string;
|
|
3788
3793
|
loadDelay: number;
|
|
@@ -3880,7 +3885,8 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
3880
3885
|
welcomePopup: boolean;
|
|
3881
3886
|
floatingButtonPosition: "left" | "right";
|
|
3882
3887
|
layout: AgentWidgetLayout;
|
|
3883
|
-
|
|
3888
|
+
appearance: AgentWidgetAppearance;
|
|
3889
|
+
hideFloatingButton: boolean;
|
|
3884
3890
|
workingGlow: boolean;
|
|
3885
3891
|
widgetUrl: string;
|
|
3886
3892
|
loadDelay: number;
|
|
@@ -1005,12 +1005,12 @@ export declare enum AgentWidgetLayout {
|
|
|
1005
1005
|
Copilot = "copilot"
|
|
1006
1006
|
}
|
|
1007
1007
|
/**
|
|
1008
|
-
* How the
|
|
1009
|
-
*
|
|
1008
|
+
* How the card of the floating layout looks over the site: the theme's
|
|
1009
|
+
* surface, or frosted glass that lets the site show through, blurred.
|
|
1010
1010
|
*/
|
|
1011
|
-
export declare enum
|
|
1012
|
-
|
|
1013
|
-
|
|
1011
|
+
export declare enum AgentWidgetAppearance {
|
|
1012
|
+
Solid = "solid",
|
|
1013
|
+
Glass = "glass"
|
|
1014
1014
|
}
|
|
1015
1015
|
export declare enum AgentChannel {
|
|
1016
1016
|
Frontoffice = "frontoffice",
|
|
@@ -1143,7 +1143,8 @@ export declare const AgentInterfaceSchema: z.ZodObject<{
|
|
|
1143
1143
|
right: "right";
|
|
1144
1144
|
}>>>;
|
|
1145
1145
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
1146
|
-
|
|
1146
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
1147
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1147
1148
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1148
1149
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
1149
1150
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1592,7 +1593,8 @@ export declare const AgentSettingsSchema: z.ZodObject<{
|
|
|
1592
1593
|
right: "right";
|
|
1593
1594
|
}>>>;
|
|
1594
1595
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
1595
|
-
|
|
1596
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
1597
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1596
1598
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1597
1599
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
1598
1600
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2010,7 +2012,8 @@ export declare const AgentDtoSchema: z.ZodObject<{
|
|
|
2010
2012
|
right: "right";
|
|
2011
2013
|
}>>>;
|
|
2012
2014
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2013
|
-
|
|
2015
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2016
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2014
2017
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2015
2018
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2016
2019
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2429,7 +2432,8 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
|
|
|
2429
2432
|
right: "right";
|
|
2430
2433
|
}>>>;
|
|
2431
2434
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2432
|
-
|
|
2435
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2436
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2433
2437
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2434
2438
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2435
2439
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2717,7 +2721,8 @@ export declare const AgentPublicSchema: z.ZodObject<{
|
|
|
2717
2721
|
right: "right";
|
|
2718
2722
|
}>>>;
|
|
2719
2723
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2720
|
-
|
|
2724
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2725
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2721
2726
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2722
2727
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2723
2728
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2785,7 +2790,8 @@ export declare const AgentBrandingInterfaceSchema: z.ZodObject<{
|
|
|
2785
2790
|
right: "right";
|
|
2786
2791
|
}>>>;
|
|
2787
2792
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2788
|
-
|
|
2793
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2794
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2789
2795
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2790
2796
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2791
2797
|
}, z.core.$strip>;
|
|
@@ -2812,7 +2818,8 @@ export declare const AgentBrandingSchema: z.ZodObject<{
|
|
|
2812
2818
|
right: "right";
|
|
2813
2819
|
}>>>;
|
|
2814
2820
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2815
|
-
|
|
2821
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2822
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2816
2823
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2817
2824
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2818
2825
|
}, z.core.$strip>;
|
|
@@ -2962,7 +2969,8 @@ export declare const AgentAccessGrantedSchema: z.ZodObject<{
|
|
|
2962
2969
|
right: "right";
|
|
2963
2970
|
}>>>;
|
|
2964
2971
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2965
|
-
|
|
2972
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2973
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2966
2974
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2967
2975
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2968
2976
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3031,7 +3039,8 @@ export declare const AgentAccessRequiresAuthSchema: z.ZodObject<{
|
|
|
3031
3039
|
right: "right";
|
|
3032
3040
|
}>>>;
|
|
3033
3041
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3034
|
-
|
|
3042
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3043
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3035
3044
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3036
3045
|
customCss: z.ZodOptional<z.ZodString>;
|
|
3037
3046
|
}, z.core.$strip>;
|
|
@@ -3164,7 +3173,8 @@ export declare const AgentAccessDecisionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3164
3173
|
right: "right";
|
|
3165
3174
|
}>>>;
|
|
3166
3175
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3167
|
-
|
|
3176
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3177
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3168
3178
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3169
3179
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3170
3180
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3232,7 +3242,8 @@ export declare const AgentAccessDecisionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3232
3242
|
right: "right";
|
|
3233
3243
|
}>>>;
|
|
3234
3244
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3235
|
-
|
|
3245
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3246
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3236
3247
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3237
3248
|
customCss: z.ZodOptional<z.ZodString>;
|
|
3238
3249
|
}, z.core.$strip>;
|
|
@@ -3385,7 +3396,8 @@ export declare const AgentAccessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3385
3396
|
right: "right";
|
|
3386
3397
|
}>>>;
|
|
3387
3398
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3388
|
-
|
|
3399
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3400
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3389
3401
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3390
3402
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3391
3403
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3468,7 +3480,8 @@ export declare const AgentAccessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3468
3480
|
right: "right";
|
|
3469
3481
|
}>>>;
|
|
3470
3482
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3471
|
-
|
|
3483
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3484
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3472
3485
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3473
3486
|
customCss: z.ZodOptional<z.ZodString>;
|
|
3474
3487
|
}, z.core.$strip>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UIChatMessage, BlockedReasonCode } from './Chat';
|
|
2
2
|
import { LanguageModelUsage } from 'ai';
|
|
3
|
-
import { AgentStatus, AgentVisibility, AgentSearchMode, AgentWidgetLayout,
|
|
3
|
+
import { AgentStatus, AgentVisibility, AgentSearchMode, AgentWidgetLayout, AgentWidgetAppearance, AgentLoaderStrategy, AgentBuiltInTool, WebSearchProvider, AgentChannel, AgentToolWorkingSetMode, AgentType } from './Agent';
|
|
4
4
|
import { StoragePolicy } from './Media';
|
|
5
5
|
import { PageAccessLevel } from './PageAccess';
|
|
6
6
|
import { ConversationAnalysisTrigger, Sentiment, SentimentTrend, UserTone, AbuseCategory, AbuseConfidence, LlmIssueCategory, UserEngagement } from './ConversationAnalysis';
|
|
@@ -285,7 +285,8 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
285
285
|
right: "right";
|
|
286
286
|
}>>>;
|
|
287
287
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
288
|
-
|
|
288
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
289
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
289
290
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
290
291
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
291
292
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -755,7 +756,8 @@ export declare const ReasoningChatSchema: z.ZodObject<{
|
|
|
755
756
|
right: "right";
|
|
756
757
|
}>>>;
|
|
757
758
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
758
|
-
|
|
759
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
760
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
759
761
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
760
762
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
761
763
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentStatus, AgentVisibility, AgentSearchMode, AgentWidgetLayout,
|
|
1
|
+
import { AgentStatus, AgentVisibility, AgentSearchMode, AgentWidgetLayout, AgentWidgetAppearance, AgentLoaderStrategy, AgentBuiltInTool, WebSearchProvider, AgentChannel, AgentToolWorkingSetMode, AgentType } from './Agent';
|
|
2
2
|
import { StoragePolicy } from './Media';
|
|
3
3
|
import { PageAccessLevel } from './PageAccess';
|
|
4
4
|
import * as z from 'zod';
|
|
@@ -285,7 +285,8 @@ export declare const SubAgentSchema: z.ZodObject<{
|
|
|
285
285
|
right: "right";
|
|
286
286
|
}>>>;
|
|
287
287
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
288
|
-
|
|
288
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
289
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
289
290
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
290
291
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
291
292
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -713,7 +714,8 @@ export declare const SubAgentSchema: z.ZodObject<{
|
|
|
713
714
|
right: "right";
|
|
714
715
|
}>>>;
|
|
715
716
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
716
|
-
|
|
717
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
718
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
717
719
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
718
720
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
719
721
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|