@8wave/ai-elements 0.121.0-beta.2 → 0.121.0-beta.21
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-BYC51e6E.js → Agent-wt8Vi99H.js} +69 -61
- package/dist/_chunks/Agent-wt8Vi99H.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-CNoHyTuC.js → PkStreamingMarkdown-Br7Z60Vm.js} +846 -841
- package/dist/_chunks/PkStreamingMarkdown-Br7Z60Vm.js.map +1 -0
- package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js → PkToolEditSpreadsheet-Di9czFTy.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js.map → PkToolEditSpreadsheet-Di9czFTy.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js → PkToolRequestGeolocation-dUTqHsV-.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js.map → PkToolRequestGeolocation-dUTqHsV-.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js → PkToolRequestOAuthConnection-cNDld72U.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js.map → PkToolRequestOAuthConnection-cNDld72U.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js → PkToolShowArtifact-DtstlRsL.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js.map → PkToolShowArtifact-DtstlRsL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js → PkToolShowContactForm-BKaKlYGJ.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js.map → PkToolShowContactForm-BKaKlYGJ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js → PkToolShowForm-OxANKx0g.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js.map → PkToolShowForm-OxANKx0g.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js → PkToolShowImageGallery-DRePOmUx.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js.map → PkToolShowImageGallery-DRePOmUx.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-westY5bY.js → PkToolShowProductList-Y9HR_RJ4.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-westY5bY.js.map → PkToolShowProductList-Y9HR_RJ4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js → PkToolShowSources-BQnaaL2a.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js.map → PkToolShowSources-BQnaaL2a.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js → PkToolShowSuggestedReply-ghiXQuDz.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js.map → PkToolShowSuggestedReply-ghiXQuDz.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js → PkToolShowVideo-BcNWgJD7.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js.map → PkToolShowVideo-BcNWgJD7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js → PkToolShowWebPages-Ba6DkV0V.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js.map → PkToolShowWebPages-Ba6DkV0V.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-B5-QV037.js → chatImagePolicy-P0TZW1on.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-B5-QV037.js.map → chatImagePolicy-P0TZW1on.js.map} +1 -1
- package/dist/_chunks/{markdown-DO_FLvlJ.js → markdown-DLplFIBU.js} +10 -10
- package/dist/_chunks/{markdown-DO_FLvlJ.js.map → markdown-DLplFIBU.js.map} +1 -1
- package/dist/ai-elements.es.js +3966 -3244
- 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-DcoF75y8.js} +68 -60
- package/dist-vue/_chunks/Agent-DcoF75y8.js.map +1 -0
- package/dist-vue/_chunks/{Document-ChfbOVVs.js → Document-C1bD6VNU.js} +10 -10
- package/dist-vue/_chunks/{Document-ChfbOVVs.js.map → Document-C1bD6VNU.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-CTZPru6f.js → PkChatbot-BFjoa5Wf.js} +9 -9
- package/dist-vue/_chunks/PkChatbot-BFjoa5Wf.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js → PkChatbotEmptyState-h2qZ0JOD.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js.map → PkChatbotEmptyState-h2qZ0JOD.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotInput-C-bMNHC-.js +397 -0
- package/dist-vue/_chunks/PkChatbotInput-C-bMNHC-.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-WryjcyH7.js → PkChatbotMessages-C0922gNt.js} +18 -18
- package/dist-vue/_chunks/PkChatbotMessages-C0922gNt.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js → PkChatbotStepPayload-BOxfKD1b.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js.map → PkChatbotStepPayload-BOxfKD1b.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js → PkChatbotStepToolDetail-Df6EOYxj.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js.map → PkChatbotStepToolDetail-Df6EOYxj.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js → PkChatbotSteps-DnDtN4Q7.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js.map → PkChatbotSteps-DnDtN4Q7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-CZjOJn6w.js → PkChatbotViewChat-BgQ5OhkA.js} +8 -11
- package/dist-vue/_chunks/PkChatbotViewChat-BgQ5OhkA.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js → PkChatbotViewConversations-dKZScKD9.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js.map → PkChatbotViewConversations-dKZScKD9.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js → PkChatbotViewFiles-CQC3rInD.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js.map → PkChatbotViewFiles-CQC3rInD.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js → PkChatbotViewProfile-CkZyWh4V.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js.map → PkChatbotViewProfile-CkZyWh4V.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js → PkStreamingMarkdown-BYV68skc.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js.map → PkStreamingMarkdown-BYV68skc.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js → PkToolEditSpreadsheet-DQxJQIY0.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js.map → PkToolEditSpreadsheet-DQxJQIY0.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js → PkToolRequestGeolocation-BpjglRbg.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js.map → PkToolRequestGeolocation-BpjglRbg.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js → PkToolRequestOAuthConnection-CD3M5DWj.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js.map → PkToolRequestOAuthConnection-CD3M5DWj.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js → PkToolShowArtifact-Bm5VBF_n.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js.map → PkToolShowArtifact-Bm5VBF_n.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js → PkToolShowContactForm-CMQTQsU-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js.map → PkToolShowContactForm-CMQTQsU-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js → PkToolShowDiagram-adGuj4AF.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js.map → PkToolShowDiagram-adGuj4AF.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js → PkToolShowForm-Cx5KdTlZ.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js.map → PkToolShowForm-Cx5KdTlZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js → PkToolShowImageGallery-BtQ0gnGB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js.map → PkToolShowImageGallery-BtQ0gnGB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js → PkToolShowProductList-Dvatk6p-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js.map → PkToolShowProductList-Dvatk6p-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js → PkToolShowSources-DKkIYQ9r.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js.map → PkToolShowSources-DKkIYQ9r.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js → PkToolShowSuggestedReply-BbAfjJP9.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js.map → PkToolShowSuggestedReply-BbAfjJP9.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js → PkToolShowVideo-DTNszfdU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js.map → PkToolShowVideo-DTNszfdU.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js → PkToolShowWebPages-euov57FB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js.map → PkToolShowWebPages-euov57FB.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js → createChatbotApiClient-qHjpFqPL.js} +19 -19
- package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js.map → createChatbotApiClient-qHjpFqPL.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js → useChatbotStore-CBjfSN69.js} +1143 -1143
- package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js.map → useChatbotStore-CBjfSN69.js.map} +1 -1
- package/dist-vue/_chunks/{utils-BLMOBcka.js → utils-BCGK2AFl.js} +35 -40
- 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 +201 -21
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +4318 -4266
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +58 -22
- package/dist-vue/packages/auth/src/active-membership.d.ts +2 -0
- package/dist-vue/packages/components/src/PkSkeleton.d.ts +1 -1
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +11 -5
- package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +3 -4
- package/dist-vue/packages/components/src/chat/PkHostCallConfirmDialog.d.ts +19 -0
- package/dist-vue/packages/components/src/chat/PkWebSearchSettings.d.ts +2 -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/composable/src/chatbot/useGreeting.d.ts +5 -3
- package/dist-vue/packages/models/src/schema/Agent.d.ts +45 -18
- package/dist-vue/packages/models/src/schema/Member.d.ts +11 -0
- package/dist-vue/packages/models/src/schema/Organization.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/OrganizationDeletion.d.ts +197 -0
- package/dist-vue/packages/models/src/schema/OrganizationExternalAuth.d.ts +8 -2
- package/dist-vue/packages/models/src/schema/OrganizationIdentityProvider.d.ts +4 -1
- 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/packages/models/src/schema/index.d.ts +1 -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/PkChatbot-CTZPru6f.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-WryjcyH7.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-CZjOJn6w.js.map +0 -1
- package/dist-vue/_chunks/utils-BLMOBcka.js.map +0 -1
- package/dist-vue/apps/web-component/src/composables/useCopilotPush.d.ts +0 -25
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",
|
|
@@ -248,14 +248,16 @@ 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",
|
|
257
258
|
customCss: "Custom CSS",
|
|
258
259
|
initialMessage: "Initial message",
|
|
260
|
+
greeting: "Greeting",
|
|
259
261
|
messagePlaceholder: "Placeholder",
|
|
260
262
|
dismissableNotice: "Notice",
|
|
261
263
|
footer: "Footer",
|
|
@@ -453,11 +455,13 @@ var e = {
|
|
|
453
455
|
interactiveLogin: "Lets anonymous users sign in from the chat. The external token stays active.",
|
|
454
456
|
widgetLayoutCopilot: "Docked on one side, the site framed beside it.",
|
|
455
457
|
widgetLayoutFloating: "A button opens the chat in a card over the page.",
|
|
456
|
-
|
|
457
|
-
|
|
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.",
|
|
458
461
|
workingGlow: "A light runs along the frame of the site while the agent works.",
|
|
459
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).",
|
|
460
463
|
customCss: "CSS injected into the widget shadow DOM. Allows styling the chat interface from the outside.",
|
|
464
|
+
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.",
|
|
461
465
|
dismissableNotice: "It will be hidden after the first message.",
|
|
462
466
|
privacyPolicyNotice: "At the foot of the contact form, in Markdown.",
|
|
463
467
|
fileUploadEnabled: "Allow users to attach files to their messages.",
|
|
@@ -481,7 +485,7 @@ var e = {
|
|
|
481
485
|
userFeedbackNegative: "The user rated this answer negatively",
|
|
482
486
|
userFeedbackReaction: "The user reacted to this answer",
|
|
483
487
|
channel: {
|
|
484
|
-
frontoffice: "The agent
|
|
488
|
+
frontoffice: "The agent appears in the platform: on the Try page and the other Monitor pages.",
|
|
485
489
|
app: "The agent is accessible via the dedicated public page.",
|
|
486
490
|
widget: "The agent can be embedded in websites via embed script."
|
|
487
491
|
},
|
|
@@ -491,8 +495,11 @@ var e = {
|
|
|
491
495
|
includeThoughts: "Streams the model's thoughts to the client along with the response.",
|
|
492
496
|
reasoningNotSupported: "Reasoning is not supported for the selected provider.",
|
|
493
497
|
voiceRemaining: "Time left in this call",
|
|
494
|
-
webSearchNative: "Uses {provider}'s built-in web search capabilities.",
|
|
495
498
|
webSearchNativeFallback: "This model has no built-in web search: searches go through Perplexity.",
|
|
499
|
+
webSearchNativeWithoutSearch: "Uses {provider}'s built-in search; a fallback model without one does not search.",
|
|
500
|
+
webSearchNative: "Uses {provider}'s built-in web search capabilities.",
|
|
501
|
+
webSearchNativeChainWithoutSearch: "Each model uses its own provider's built-in search ({providers}); a fallback model without one does not search.",
|
|
502
|
+
webSearchNativeChain: "Each model uses its own provider's built-in search: {providers}.",
|
|
496
503
|
webSearchEnabled: "Allow the agent to search the web during conversations.",
|
|
497
504
|
allowedDomains: "Only search within these domains.",
|
|
498
505
|
blockedDomains: "Exclude these domains from results."
|
|
@@ -538,7 +545,7 @@ var e = {
|
|
|
538
545
|
runWorker: "Parallel workers"
|
|
539
546
|
},
|
|
540
547
|
channel: {
|
|
541
|
-
frontoffice: "
|
|
548
|
+
frontoffice: "Platform",
|
|
542
549
|
app: "App",
|
|
543
550
|
widget: "Widget"
|
|
544
551
|
}
|
|
@@ -638,9 +645,15 @@ var e = {
|
|
|
638
645
|
form: "Filling in a form…",
|
|
639
646
|
snapshot: "Reading the page…",
|
|
640
647
|
read: "Reading a section of the page…",
|
|
648
|
+
find: "Finding on the page…",
|
|
649
|
+
wait: "Waiting for the page…",
|
|
641
650
|
click: "Clicking on the page…",
|
|
642
651
|
fill: "Filling in a field…",
|
|
643
|
-
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…"
|
|
644
657
|
}
|
|
645
658
|
},
|
|
646
659
|
twoFactor: {
|
|
@@ -677,8 +690,13 @@ var e = {
|
|
|
677
690
|
pageElement: "an element",
|
|
678
691
|
pageSubmit: "The agent wants to submit the form with “{name}”. Allow it?",
|
|
679
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?",
|
|
680
694
|
pageClick: "The agent wants to click “{name}”. Allow it?",
|
|
681
|
-
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?"
|
|
682
700
|
},
|
|
683
701
|
confirmTitle: { deleteMyConversations: "Delete all your conversations?" },
|
|
684
702
|
toolSelection: {
|
|
@@ -772,7 +790,6 @@ var e = {
|
|
|
772
790
|
retryNow: "Riprova ora",
|
|
773
791
|
feedback: "Voglio fare una segnalazione",
|
|
774
792
|
download: "Scarica",
|
|
775
|
-
dropFile: "Trascina il file qui",
|
|
776
793
|
attachFile: "Allega un file",
|
|
777
794
|
takePhoto: "Scatta una foto",
|
|
778
795
|
talk: "Parla",
|
|
@@ -784,6 +801,7 @@ var e = {
|
|
|
784
801
|
upvote: "Utile",
|
|
785
802
|
downvote: "Non utile",
|
|
786
803
|
scrollToBottom: "Torna in fondo",
|
|
804
|
+
dropFile: "Trascina il file qui",
|
|
787
805
|
deleteMyConversations: "Cancella le mie conversazioni",
|
|
788
806
|
manageProfile: "Gestisci il tuo profilo",
|
|
789
807
|
signOut: "Esci",
|
|
@@ -973,14 +991,16 @@ var e = {
|
|
|
973
991
|
floatingButtonPosition: "Lato",
|
|
974
992
|
left: "Sinistra",
|
|
975
993
|
right: "Destra",
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
994
|
+
widgetAppearance: "Aspetto",
|
|
995
|
+
widgetAppearanceSolid: "Pieno",
|
|
996
|
+
widgetAppearanceGlass: "Vetro",
|
|
997
|
+
hideFloatingButton: "Nascondi il pulsante di apertura",
|
|
979
998
|
workingGlow: "Bagliore mentre lavora",
|
|
980
999
|
copilotPageCss: "CSS della pagina",
|
|
981
1000
|
maxMessageLength: "Lunghezza massima messaggio",
|
|
982
1001
|
customCss: "CSS personalizzato",
|
|
983
1002
|
initialMessage: "Messaggio iniziale",
|
|
1003
|
+
greeting: "Saluto",
|
|
984
1004
|
messagePlaceholder: "Segnaposto",
|
|
985
1005
|
dismissableNotice: "Avviso",
|
|
986
1006
|
footer: "Footer",
|
|
@@ -1178,11 +1198,13 @@ var e = {
|
|
|
1178
1198
|
interactiveLogin: "Permette agli utenti anonimi di accedere dalla chat. L'external token resta sempre attivo.",
|
|
1179
1199
|
widgetLayoutCopilot: "Agganciata a un lato, con il sito incorniciato accanto.",
|
|
1180
1200
|
widgetLayoutFloating: "Un pulsante apre la chat in una scheda sopra la pagina.",
|
|
1181
|
-
|
|
1182
|
-
|
|
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.",
|
|
1183
1204
|
workingGlow: "Una luce percorre la cornice del sito mentre l'agente lavora.",
|
|
1184
1205
|
copilotPageCss: "Aggiunto alla pagina del sito mentre la chat è aperta accanto: sposta un'intestazione fissa con right: var(--chatbot-copilot-width).",
|
|
1185
1206
|
customCss: "CSS iniettato nello shadow DOM del widget. Permette di personalizzare l'interfaccia della chat dall'esterno.",
|
|
1207
|
+
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.",
|
|
1186
1208
|
dismissableNotice: "Verrà nascosto dopo il primo messaggio.",
|
|
1187
1209
|
privacyPolicyNotice: "In fondo al modulo di contatto, in Markdown.",
|
|
1188
1210
|
fileUploadEnabled: "Permetti agli utenti di allegare file ai messaggi.",
|
|
@@ -1206,7 +1228,7 @@ var e = {
|
|
|
1206
1228
|
userFeedbackNegative: "L'utente ha valutato negativamente questa risposta",
|
|
1207
1229
|
userFeedbackReaction: "L'utente ha reagito a questa risposta",
|
|
1208
1230
|
channel: {
|
|
1209
|
-
frontoffice: "L'agente
|
|
1231
|
+
frontoffice: "L'agente compare nella piattaforma: nella pagina Prova e nelle altre pagine di Monitora.",
|
|
1210
1232
|
app: "L'agente è accessibile tramite la pagina pubblica dedicata.",
|
|
1211
1233
|
widget: "L'agente è incorporabile nei siti web tramite embed script."
|
|
1212
1234
|
},
|
|
@@ -1216,8 +1238,11 @@ var e = {
|
|
|
1216
1238
|
includeThoughts: "Invia i pensieri del modello al client insieme alla risposta.",
|
|
1217
1239
|
reasoningNotSupported: "Il reasoning non è supportato per il provider selezionato.",
|
|
1218
1240
|
voiceRemaining: "Tempo che resta in questa chiamata",
|
|
1219
|
-
webSearchNative: "Usa le funzionalità di ricerca web integrate di {provider}.",
|
|
1220
1241
|
webSearchNativeFallback: "Questo modello non ha una ricerca web integrata: le ricerche passano da Perplexity.",
|
|
1242
|
+
webSearchNativeWithoutSearch: "Usa la ricerca integrata di {provider}; un modello di fallback che non ce l'ha non cerca.",
|
|
1243
|
+
webSearchNative: "Usa le funzionalità di ricerca web integrate di {provider}.",
|
|
1244
|
+
webSearchNativeChainWithoutSearch: "Ogni modello usa la ricerca integrata del suo fornitore ({providers}); un modello di fallback che non ce l'ha non cerca.",
|
|
1245
|
+
webSearchNativeChain: "Ogni modello usa la ricerca integrata del suo fornitore: {providers}.",
|
|
1221
1246
|
webSearchEnabled: "Permetti all'agente di cercare informazioni sul web durante le conversazioni.",
|
|
1222
1247
|
allowedDomains: "Cerca solo all'interno di questi domini.",
|
|
1223
1248
|
blockedDomains: "Escludi questi domini dai risultati."
|
|
@@ -1263,7 +1288,7 @@ var e = {
|
|
|
1263
1288
|
runWorker: "Worker parallelo"
|
|
1264
1289
|
},
|
|
1265
1290
|
channel: {
|
|
1266
|
-
frontoffice: "
|
|
1291
|
+
frontoffice: "Piattaforma",
|
|
1267
1292
|
app: "App",
|
|
1268
1293
|
widget: "Widget"
|
|
1269
1294
|
}
|
|
@@ -1363,9 +1388,15 @@ var e = {
|
|
|
1363
1388
|
form: "Compilazione di un modulo…",
|
|
1364
1389
|
snapshot: "Lettura della pagina…",
|
|
1365
1390
|
read: "Lettura di una sezione della pagina…",
|
|
1391
|
+
find: "Ricerca nella pagina…",
|
|
1392
|
+
wait: "Attesa della pagina…",
|
|
1366
1393
|
click: "Clic sulla pagina…",
|
|
1367
1394
|
fill: "Compilazione di un campo…",
|
|
1368
|
-
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…"
|
|
1369
1400
|
}
|
|
1370
1401
|
},
|
|
1371
1402
|
twoFactor: {
|
|
@@ -1402,8 +1433,13 @@ var e = {
|
|
|
1402
1433
|
pageElement: "un elemento",
|
|
1403
1434
|
pageSubmit: "L'agente vuole inviare il modulo con «{name}». Consenti?",
|
|
1404
1435
|
pageOpen: "L'agente vuole aprire «{name}»: la pagina cambierà. Consenti?",
|
|
1436
|
+
pageAnswer: "La pagina chiede: «{question}» L'agente vuole rispondere «{name}». Consenti?",
|
|
1405
1437
|
pageClick: "L'agente vuole cliccare «{name}». Consenti?",
|
|
1406
|
-
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?"
|
|
1407
1443
|
},
|
|
1408
1444
|
confirmTitle: { deleteMyConversations: "Eliminare tutte le vostre conversazioni?" },
|
|
1409
1445
|
toolSelection: {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** The role in the database, or `null` when the user is not a member. */
|
|
2
|
+
export declare function storedMemberRole(userId: string, organizationId: string): Promise<string | null>;
|
|
1
3
|
/**
|
|
2
4
|
* The role `userId` holds in `organizationId` now, or `null` when they are
|
|
3
5
|
* not a member. A role is cached, an absence is not: a membership created
|
|
@@ -10,8 +10,8 @@ declare const __VLS_export: __VLS_WithSlots< DefineComponent<{
|
|
|
10
10
|
rows?: number | string;
|
|
11
11
|
rowClasses?: string[];
|
|
12
12
|
}> & Readonly<{}>, {
|
|
13
|
-
loading: boolean;
|
|
14
13
|
rows: number | string;
|
|
14
|
+
loading: boolean;
|
|
15
15
|
rowClasses: string[];
|
|
16
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
17
17
|
skeleton?: (props: {}) => any;
|
|
@@ -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;
|
|
@@ -54,7 +55,8 @@ type __VLS_ModelProps = {
|
|
|
54
55
|
'floatingButtonPosition'?: 'left' | 'right';
|
|
55
56
|
'layout'?: 'floating' | 'copilot';
|
|
56
57
|
'workingGlow'?: boolean;
|
|
57
|
-
'
|
|
58
|
+
'appearance'?: 'solid' | 'glass';
|
|
59
|
+
'hideFloatingButton'?: boolean;
|
|
58
60
|
'copilotPageCss'?: string | undefined;
|
|
59
61
|
'maxMessageLength'?: number | undefined;
|
|
60
62
|
'media'?: Media | undefined;
|
|
@@ -130,9 +132,9 @@ type __VLS_ModelProps = {
|
|
|
130
132
|
} | undefined;
|
|
131
133
|
};
|
|
132
134
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
133
|
-
declare var
|
|
135
|
+
declare var __VLS_841: {};
|
|
134
136
|
type __VLS_Slots = {} & {
|
|
135
|
-
default?: (props: typeof
|
|
137
|
+
default?: (props: typeof __VLS_841) => any;
|
|
136
138
|
};
|
|
137
139
|
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
138
140
|
"update:reasoning": (value: {
|
|
@@ -222,6 +224,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
222
224
|
"update:name": (value: string) => any;
|
|
223
225
|
"update:type": (value: string | undefined) => any;
|
|
224
226
|
"update:initialMessage": (value: Record<string, string> | undefined) => any;
|
|
227
|
+
"update:greeting": (value: Record<string, string>[] | undefined) => any;
|
|
225
228
|
"update:messagePlaceholder": (value: Record<string, string> | undefined) => any;
|
|
226
229
|
"update:dismissableNotice": (value: Record<string, string> | undefined) => any;
|
|
227
230
|
"update:footerMessage": (value: Record<string, string> | undefined) => any;
|
|
@@ -245,7 +248,8 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
245
248
|
"update:floatingButtonPosition": (value: "left" | "right") => any;
|
|
246
249
|
"update:layout": (value: "floating" | "copilot") => any;
|
|
247
250
|
"update:workingGlow": (value: boolean) => any;
|
|
248
|
-
"update:
|
|
251
|
+
"update:appearance": (value: "solid" | "glass") => any;
|
|
252
|
+
"update:hideFloatingButton": (value: boolean) => any;
|
|
249
253
|
"update:copilotPageCss": (value: string | undefined) => any;
|
|
250
254
|
"update:maxMessageLength": (value: number | undefined) => any;
|
|
251
255
|
"update:media": (value: {
|
|
@@ -484,6 +488,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
484
488
|
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
485
489
|
"onUpdate:type"?: ((value: string | undefined) => any) | undefined;
|
|
486
490
|
"onUpdate:initialMessage"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
491
|
+
"onUpdate:greeting"?: ((value: Record<string, string>[] | undefined) => any) | undefined;
|
|
487
492
|
"onUpdate:messagePlaceholder"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
488
493
|
"onUpdate:dismissableNotice"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
489
494
|
"onUpdate:footerMessage"?: ((value: Record<string, string> | undefined) => any) | undefined;
|
|
@@ -507,7 +512,8 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
507
512
|
"onUpdate:floatingButtonPosition"?: ((value: "left" | "right") => any) | undefined;
|
|
508
513
|
"onUpdate:layout"?: ((value: "floating" | "copilot") => any) | undefined;
|
|
509
514
|
"onUpdate:workingGlow"?: ((value: boolean) => any) | undefined;
|
|
510
|
-
"onUpdate:
|
|
515
|
+
"onUpdate:appearance"?: ((value: "solid" | "glass") => any) | undefined;
|
|
516
|
+
"onUpdate:hideFloatingButton"?: ((value: boolean) => any) | undefined;
|
|
511
517
|
"onUpdate:copilotPageCss"?: ((value: string | undefined) => any) | undefined;
|
|
512
518
|
"onUpdate:maxMessageLength"?: ((value: number | undefined) => any) | undefined;
|
|
513
519
|
"onUpdate:media"?: ((value: {
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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 = {
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -991,12 +1005,12 @@ export declare enum AgentWidgetLayout {
|
|
|
991
1005
|
Copilot = "copilot"
|
|
992
1006
|
}
|
|
993
1007
|
/**
|
|
994
|
-
* How the
|
|
995
|
-
*
|
|
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.
|
|
996
1010
|
*/
|
|
997
|
-
export declare enum
|
|
998
|
-
|
|
999
|
-
|
|
1011
|
+
export declare enum AgentWidgetAppearance {
|
|
1012
|
+
Solid = "solid",
|
|
1013
|
+
Glass = "glass"
|
|
1000
1014
|
}
|
|
1001
1015
|
export declare enum AgentChannel {
|
|
1002
1016
|
Frontoffice = "frontoffice",
|
|
@@ -1129,7 +1143,8 @@ export declare const AgentInterfaceSchema: z.ZodObject<{
|
|
|
1129
1143
|
right: "right";
|
|
1130
1144
|
}>>>;
|
|
1131
1145
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
1132
|
-
|
|
1146
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
1147
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1133
1148
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1134
1149
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
1135
1150
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1578,7 +1593,8 @@ export declare const AgentSettingsSchema: z.ZodObject<{
|
|
|
1578
1593
|
right: "right";
|
|
1579
1594
|
}>>>;
|
|
1580
1595
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
1581
|
-
|
|
1596
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
1597
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1582
1598
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1583
1599
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
1584
1600
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1996,7 +2012,8 @@ export declare const AgentDtoSchema: z.ZodObject<{
|
|
|
1996
2012
|
right: "right";
|
|
1997
2013
|
}>>>;
|
|
1998
2014
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
1999
|
-
|
|
2015
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2016
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2000
2017
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2001
2018
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2002
2019
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2415,7 +2432,8 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
|
|
|
2415
2432
|
right: "right";
|
|
2416
2433
|
}>>>;
|
|
2417
2434
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2418
|
-
|
|
2435
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2436
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2419
2437
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2420
2438
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2421
2439
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2703,7 +2721,8 @@ export declare const AgentPublicSchema: z.ZodObject<{
|
|
|
2703
2721
|
right: "right";
|
|
2704
2722
|
}>>>;
|
|
2705
2723
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2706
|
-
|
|
2724
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2725
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2707
2726
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2708
2727
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2709
2728
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2771,7 +2790,8 @@ export declare const AgentBrandingInterfaceSchema: z.ZodObject<{
|
|
|
2771
2790
|
right: "right";
|
|
2772
2791
|
}>>>;
|
|
2773
2792
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2774
|
-
|
|
2793
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2794
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2775
2795
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2776
2796
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2777
2797
|
}, z.core.$strip>;
|
|
@@ -2798,7 +2818,8 @@ export declare const AgentBrandingSchema: z.ZodObject<{
|
|
|
2798
2818
|
right: "right";
|
|
2799
2819
|
}>>>;
|
|
2800
2820
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2801
|
-
|
|
2821
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2822
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2802
2823
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2803
2824
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2804
2825
|
}, z.core.$strip>;
|
|
@@ -2948,7 +2969,8 @@ export declare const AgentAccessGrantedSchema: z.ZodObject<{
|
|
|
2948
2969
|
right: "right";
|
|
2949
2970
|
}>>>;
|
|
2950
2971
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
2951
|
-
|
|
2972
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
2973
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2952
2974
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2953
2975
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
2954
2976
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3017,7 +3039,8 @@ export declare const AgentAccessRequiresAuthSchema: z.ZodObject<{
|
|
|
3017
3039
|
right: "right";
|
|
3018
3040
|
}>>>;
|
|
3019
3041
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3020
|
-
|
|
3042
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3043
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3021
3044
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3022
3045
|
customCss: z.ZodOptional<z.ZodString>;
|
|
3023
3046
|
}, z.core.$strip>;
|
|
@@ -3150,7 +3173,8 @@ export declare const AgentAccessDecisionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3150
3173
|
right: "right";
|
|
3151
3174
|
}>>>;
|
|
3152
3175
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3153
|
-
|
|
3176
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3177
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3154
3178
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3155
3179
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3156
3180
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3218,7 +3242,8 @@ export declare const AgentAccessDecisionSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3218
3242
|
right: "right";
|
|
3219
3243
|
}>>>;
|
|
3220
3244
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3221
|
-
|
|
3245
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3246
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3222
3247
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3223
3248
|
customCss: z.ZodOptional<z.ZodString>;
|
|
3224
3249
|
}, z.core.$strip>;
|
|
@@ -3371,7 +3396,8 @@ export declare const AgentAccessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3371
3396
|
right: "right";
|
|
3372
3397
|
}>>>;
|
|
3373
3398
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3374
|
-
|
|
3399
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3400
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3375
3401
|
workingGlow: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3376
3402
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3377
3403
|
maxMessageLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3454,7 +3480,8 @@ export declare const AgentAccessSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3454
3480
|
right: "right";
|
|
3455
3481
|
}>>>;
|
|
3456
3482
|
layout: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetLayout>>>;
|
|
3457
|
-
|
|
3483
|
+
appearance: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof AgentWidgetAppearance>>>;
|
|
3484
|
+
hideFloatingButton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3458
3485
|
copilotPageCss: z.ZodOptional<z.ZodString>;
|
|
3459
3486
|
customCss: z.ZodOptional<z.ZodString>;
|
|
3460
3487
|
}, z.core.$strip>;
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { StoragePolicy } from './Media';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
+
/**
|
|
4
|
+
* The roles a membership created without an invitation may get: the automatic
|
|
5
|
+
* join through an identity provider and the external sign-in of the widget.
|
|
6
|
+
* Owner and admin are left out, so a provider set up by mistake can never hand
|
|
7
|
+
* the organization to everyone who holds an address of the domain.
|
|
8
|
+
*/
|
|
9
|
+
export declare const AutomaticMemberRoleSchema: z.ZodEnum<{
|
|
10
|
+
user: "user";
|
|
11
|
+
member: "member";
|
|
12
|
+
}>;
|
|
13
|
+
export type AutomaticMemberRole = z.infer<typeof AutomaticMemberRoleSchema>;
|
|
3
14
|
export declare const MemberAgentAccessSummarySchema: z.ZodObject<{
|
|
4
15
|
restricted: z.ZodBoolean;
|
|
5
16
|
agents: z.ZodArray<z.ZodObject<{
|