@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.
Files changed (154) hide show
  1. package/README.md +125 -54
  2. package/dist/_chunks/{Agent-BYC51e6E.js → Agent-wt8Vi99H.js} +69 -61
  3. package/dist/_chunks/Agent-wt8Vi99H.js.map +1 -0
  4. package/dist/_chunks/{PkStreamingMarkdown-CNoHyTuC.js → PkStreamingMarkdown-Br7Z60Vm.js} +846 -841
  5. package/dist/_chunks/PkStreamingMarkdown-Br7Z60Vm.js.map +1 -0
  6. package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js → PkToolEditSpreadsheet-Di9czFTy.js} +2 -2
  7. package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js.map → PkToolEditSpreadsheet-Di9czFTy.js.map} +1 -1
  8. package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js → PkToolRequestGeolocation-dUTqHsV-.js} +2 -2
  9. package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js.map → PkToolRequestGeolocation-dUTqHsV-.js.map} +1 -1
  10. package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js → PkToolRequestOAuthConnection-cNDld72U.js} +2 -2
  11. package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js.map → PkToolRequestOAuthConnection-cNDld72U.js.map} +1 -1
  12. package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js → PkToolShowArtifact-DtstlRsL.js} +2 -2
  13. package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js.map → PkToolShowArtifact-DtstlRsL.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js → PkToolShowContactForm-BKaKlYGJ.js} +2 -2
  15. package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js.map → PkToolShowContactForm-BKaKlYGJ.js.map} +1 -1
  16. package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js → PkToolShowForm-OxANKx0g.js} +3 -3
  17. package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js.map → PkToolShowForm-OxANKx0g.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js → PkToolShowImageGallery-DRePOmUx.js} +2 -2
  19. package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js.map → PkToolShowImageGallery-DRePOmUx.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowProductList-westY5bY.js → PkToolShowProductList-Y9HR_RJ4.js} +2 -2
  21. package/dist/_chunks/{PkToolShowProductList-westY5bY.js.map → PkToolShowProductList-Y9HR_RJ4.js.map} +1 -1
  22. package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js → PkToolShowSources-BQnaaL2a.js} +3 -3
  23. package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js.map → PkToolShowSources-BQnaaL2a.js.map} +1 -1
  24. package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js → PkToolShowSuggestedReply-ghiXQuDz.js} +2 -2
  25. package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js.map → PkToolShowSuggestedReply-ghiXQuDz.js.map} +1 -1
  26. package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js → PkToolShowVideo-BcNWgJD7.js} +2 -2
  27. package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js.map → PkToolShowVideo-BcNWgJD7.js.map} +1 -1
  28. package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js → PkToolShowWebPages-Ba6DkV0V.js} +2 -2
  29. package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js.map → PkToolShowWebPages-Ba6DkV0V.js.map} +1 -1
  30. package/dist/_chunks/{chatImagePolicy-B5-QV037.js → chatImagePolicy-P0TZW1on.js} +2 -2
  31. package/dist/_chunks/{chatImagePolicy-B5-QV037.js.map → chatImagePolicy-P0TZW1on.js.map} +1 -1
  32. package/dist/_chunks/{markdown-DO_FLvlJ.js → markdown-DLplFIBU.js} +10 -10
  33. package/dist/_chunks/{markdown-DO_FLvlJ.js.map → markdown-DLplFIBU.js.map} +1 -1
  34. package/dist/ai-elements.es.js +3966 -3244
  35. package/dist/ai-elements.es.js.map +1 -1
  36. package/dist-vue/PkChatbot.js +1 -1
  37. package/dist-vue/PkChatbotEmptyState.js +1 -1
  38. package/dist-vue/PkChatbotInput.js +1 -1
  39. package/dist-vue/PkChatbotMessages.js +1 -1
  40. package/dist-vue/PkChatbotStepPayload.js +1 -1
  41. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  42. package/dist-vue/PkChatbotSteps.js +1 -1
  43. package/dist-vue/PkChatbotViewChat.js +1 -1
  44. package/dist-vue/PkChatbotViewConversations.js +1 -1
  45. package/dist-vue/PkChatbotViewFiles.js +1 -1
  46. package/dist-vue/PkChatbotViewProfile.js +1 -1
  47. package/dist-vue/_chunks/{Agent-2DVqpLwz.js → Agent-DcoF75y8.js} +68 -60
  48. package/dist-vue/_chunks/Agent-DcoF75y8.js.map +1 -0
  49. package/dist-vue/_chunks/{Document-ChfbOVVs.js → Document-C1bD6VNU.js} +10 -10
  50. package/dist-vue/_chunks/{Document-ChfbOVVs.js.map → Document-C1bD6VNU.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkChatbot-CTZPru6f.js → PkChatbot-BFjoa5Wf.js} +9 -9
  52. package/dist-vue/_chunks/PkChatbot-BFjoa5Wf.js.map +1 -0
  53. package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js → PkChatbotEmptyState-h2qZ0JOD.js} +2 -2
  54. package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js.map → PkChatbotEmptyState-h2qZ0JOD.js.map} +1 -1
  55. package/dist-vue/_chunks/PkChatbotInput-C-bMNHC-.js +397 -0
  56. package/dist-vue/_chunks/PkChatbotInput-C-bMNHC-.js.map +1 -0
  57. package/dist-vue/_chunks/{PkChatbotMessages-WryjcyH7.js → PkChatbotMessages-C0922gNt.js} +18 -18
  58. package/dist-vue/_chunks/PkChatbotMessages-C0922gNt.js.map +1 -0
  59. package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js → PkChatbotStepPayload-BOxfKD1b.js} +2 -2
  60. package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js.map → PkChatbotStepPayload-BOxfKD1b.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js → PkChatbotStepToolDetail-Df6EOYxj.js} +3 -3
  62. package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js.map → PkChatbotStepToolDetail-Df6EOYxj.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js → PkChatbotSteps-DnDtN4Q7.js} +5 -5
  64. package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js.map → PkChatbotSteps-DnDtN4Q7.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkChatbotViewChat-CZjOJn6w.js → PkChatbotViewChat-BgQ5OhkA.js} +8 -11
  66. package/dist-vue/_chunks/PkChatbotViewChat-BgQ5OhkA.js.map +1 -0
  67. package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js → PkChatbotViewConversations-dKZScKD9.js} +3 -3
  68. package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js.map → PkChatbotViewConversations-dKZScKD9.js.map} +1 -1
  69. package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js → PkChatbotViewFiles-CQC3rInD.js} +3 -3
  70. package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js.map → PkChatbotViewFiles-CQC3rInD.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js → PkChatbotViewProfile-CkZyWh4V.js} +2 -2
  72. package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js.map → PkChatbotViewProfile-CkZyWh4V.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js → PkStreamingMarkdown-BYV68skc.js} +3 -3
  74. package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js.map → PkStreamingMarkdown-BYV68skc.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js → PkToolEditSpreadsheet-DQxJQIY0.js} +2 -2
  76. package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js.map → PkToolEditSpreadsheet-DQxJQIY0.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js → PkToolRequestGeolocation-BpjglRbg.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js.map → PkToolRequestGeolocation-BpjglRbg.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js → PkToolRequestOAuthConnection-CD3M5DWj.js} +2 -2
  80. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js.map → PkToolRequestOAuthConnection-CD3M5DWj.js.map} +1 -1
  81. package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js → PkToolShowArtifact-Bm5VBF_n.js} +2 -2
  82. package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js.map → PkToolShowArtifact-Bm5VBF_n.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js → PkToolShowContactForm-CMQTQsU-.js} +2 -2
  84. package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js.map → PkToolShowContactForm-CMQTQsU-.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js → PkToolShowDiagram-adGuj4AF.js} +2 -2
  86. package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js.map → PkToolShowDiagram-adGuj4AF.js.map} +1 -1
  87. package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js → PkToolShowForm-Cx5KdTlZ.js} +4 -4
  88. package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js.map → PkToolShowForm-Cx5KdTlZ.js.map} +1 -1
  89. package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js → PkToolShowImageGallery-BtQ0gnGB.js} +2 -2
  90. package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js.map → PkToolShowImageGallery-BtQ0gnGB.js.map} +1 -1
  91. package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js → PkToolShowProductList-Dvatk6p-.js} +2 -2
  92. package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js.map → PkToolShowProductList-Dvatk6p-.js.map} +1 -1
  93. package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js → PkToolShowSources-DKkIYQ9r.js} +3 -3
  94. package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js.map → PkToolShowSources-DKkIYQ9r.js.map} +1 -1
  95. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js → PkToolShowSuggestedReply-BbAfjJP9.js} +2 -2
  96. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js.map → PkToolShowSuggestedReply-BbAfjJP9.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js → PkToolShowVideo-DTNszfdU.js} +2 -2
  98. package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js.map → PkToolShowVideo-DTNszfdU.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js → PkToolShowWebPages-euov57FB.js} +2 -2
  100. package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js.map → PkToolShowWebPages-euov57FB.js.map} +1 -1
  101. package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js → createChatbotApiClient-qHjpFqPL.js} +19 -19
  102. package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js.map → createChatbotApiClient-qHjpFqPL.js.map} +1 -1
  103. package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js → useChatbotStore-CBjfSN69.js} +1143 -1143
  104. package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js.map → useChatbotStore-CBjfSN69.js.map} +1 -1
  105. package/dist-vue/_chunks/{utils-BLMOBcka.js → utils-BCGK2AFl.js} +35 -40
  106. package/dist-vue/_chunks/utils-BCGK2AFl.js.map +1 -0
  107. package/dist-vue/api.js +1 -1
  108. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +12 -4
  109. package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +4 -3
  110. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +11 -5
  111. package/dist-vue/apps/web-component/src/composables/useChatbotProfileProvider.d.ts +3 -2
  112. package/dist-vue/apps/web-component/src/composables/useCopilotPageCss.d.ts +12 -4
  113. package/dist-vue/apps/web-component/src/composables/usePageModal.d.ts +19 -0
  114. package/dist-vue/apps/web-component/src/lib.d.ts +10 -3
  115. package/dist-vue/apps/web-component/src/pageTools/actions.d.ts +33 -0
  116. package/dist-vue/apps/web-component/src/pageTools/navigation.d.ts +27 -0
  117. package/dist-vue/apps/web-component/src/pageTools/snapshot.d.ts +18 -2
  118. package/dist-vue/apps/web-component/src/utils/emitWidgetEvent.d.ts +8 -0
  119. package/dist-vue/apps/web-component/src/utils/layout.d.ts +3 -3
  120. package/dist-vue/composables.js +201 -21
  121. package/dist-vue/composables.js.map +1 -1
  122. package/dist-vue/index.js +4318 -4266
  123. package/dist-vue/index.js.map +1 -1
  124. package/dist-vue/locales.js +58 -22
  125. package/dist-vue/packages/auth/src/active-membership.d.ts +2 -0
  126. package/dist-vue/packages/components/src/PkSkeleton.d.ts +1 -1
  127. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +11 -5
  128. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +3 -4
  129. package/dist-vue/packages/components/src/chat/PkHostCallConfirmDialog.d.ts +19 -0
  130. package/dist-vue/packages/components/src/chat/PkWebSearchSettings.d.ts +2 -0
  131. package/dist-vue/packages/components/src/chat/utils.d.ts +5 -0
  132. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +13 -7
  133. package/dist-vue/packages/composable/src/chatbot/useGreeting.d.ts +5 -3
  134. package/dist-vue/packages/models/src/schema/Agent.d.ts +45 -18
  135. package/dist-vue/packages/models/src/schema/Member.d.ts +11 -0
  136. package/dist-vue/packages/models/src/schema/Organization.d.ts +1 -0
  137. package/dist-vue/packages/models/src/schema/OrganizationDeletion.d.ts +197 -0
  138. package/dist-vue/packages/models/src/schema/OrganizationExternalAuth.d.ts +8 -2
  139. package/dist-vue/packages/models/src/schema/OrganizationIdentityProvider.d.ts +4 -1
  140. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +5 -3
  141. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +5 -3
  142. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  143. package/dist-vue/style.css +1 -1
  144. package/package.json +1 -1
  145. package/dist/_chunks/Agent-BYC51e6E.js.map +0 -1
  146. package/dist/_chunks/PkStreamingMarkdown-CNoHyTuC.js.map +0 -1
  147. package/dist-vue/_chunks/Agent-2DVqpLwz.js.map +0 -1
  148. package/dist-vue/_chunks/PkChatbot-CTZPru6f.js.map +0 -1
  149. package/dist-vue/_chunks/PkChatbotInput-CQup254H.js +0 -399
  150. package/dist-vue/_chunks/PkChatbotInput-CQup254H.js.map +0 -1
  151. package/dist-vue/_chunks/PkChatbotMessages-WryjcyH7.js.map +0 -1
  152. package/dist-vue/_chunks/PkChatbotViewChat-CZjOJn6w.js.map +0 -1
  153. package/dist-vue/_chunks/utils-BLMOBcka.js.map +0 -1
  154. package/dist-vue/apps/web-component/src/composables/useCopilotPush.d.ts +0 -25
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbot-CTZPru6f.js";
1
+ export { t as default } from "./_chunks/PkChatbot-BFjoa5Wf.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotEmptyState-DqzgF4vH.js";
1
+ export { t as default } from "./_chunks/PkChatbotEmptyState-h2qZ0JOD.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotInput-CQup254H.js";
1
+ export { t as default } from "./_chunks/PkChatbotInput-C-bMNHC-.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotMessages-WryjcyH7.js";
1
+ export { t as default } from "./_chunks/PkChatbotMessages-C0922gNt.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepPayload-Bga_HEps.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepPayload-BOxfKD1b.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepToolDetail-YbUYP-Y3.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepToolDetail-Df6EOYxj.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotSteps-CVAkaIzk.js";
1
+ export { t as default } from "./_chunks/PkChatbotSteps-DnDtN4Q7.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewChat-CZjOJn6w.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewChat-BgQ5OhkA.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewConversations-BHvHF0w7.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewConversations-dKZScKD9.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewFiles-C-4__qj_.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewFiles-CQC3rInD.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewProfile-_WMSVDlA.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewProfile-CkZyWh4V.js";
@@ -528,7 +528,13 @@ function yt(e) {
528
528
  let t = e.split("/")[0];
529
529
  return Object.prototype.hasOwnProperty.call(vt, t) ? vt[t] : void 0;
530
530
  }
531
- var bt = d({
531
+ var bt = [
532
+ "perplexity_search",
533
+ "parallel_search",
534
+ "web_search",
535
+ "openai_web_search",
536
+ "google_search"
537
+ ], xt = d({
532
538
  maxResults: i().int().min(1).max(20).optional(),
533
539
  maxTokens: i().int().positive().max(1e6).optional(),
534
540
  maxTokensPerPage: i().int().positive().optional(),
@@ -541,7 +547,7 @@ var bt = d({
541
547
  "month",
542
548
  "year"
543
549
  ]).optional()
544
- }), xt = d({
550
+ }), St = d({
545
551
  mode: l(["one-shot", "agentic"]).optional(),
546
552
  maxResults: i().int().min(1).max(20).optional(),
547
553
  sourcePolicy: d({
@@ -554,7 +560,7 @@ var bt = d({
554
560
  maxCharsTotal: i().int().positive().optional()
555
561
  }).optional(),
556
562
  fetchPolicy: d({ maxAgeSeconds: i().int().positive().optional() }).optional()
557
- }), St = d({
563
+ }), Ct = d({
558
564
  openai: d({}).optional(),
559
565
  anthropic: d({
560
566
  maxUses: i().int().positive().optional(),
@@ -572,10 +578,10 @@ var bt = d({
572
578
  }), G = d({
573
579
  enabled: u().default(!1),
574
580
  provider: l(W).optional().default(W.Native),
575
- perplexity: bt.optional(),
576
- parallel: xt.optional(),
577
- native: St.optional()
578
- }), Ct = d({ useAllUserKb: u().default(!1) }), wt = d({ useAllUserFiles: u().default(!1) }), Tt = d({ tools: c(n()).default([]) }), Et = d({
581
+ perplexity: xt.optional(),
582
+ parallel: St.optional(),
583
+ native: Ct.optional()
584
+ }), wt = d({ useAllUserKb: u().default(!1) }), Tt = d({ useAllUserFiles: u().default(!1) }), Et = d({ tools: c(n()).default([]) }), Dt = d({
579
585
  disabled: c(l(U)).default([
580
586
  U.UserMemory,
581
587
  U.SearchInUserFiles,
@@ -585,9 +591,9 @@ var bt = d({
585
591
  ]),
586
592
  showForm: _t.optional().default(() => _t.parse({})),
587
593
  webSearch: G.optional().default(() => G.parse({})),
588
- userMemory: Ct.optional().default(() => Ct.parse({})),
589
- userFiles: wt.optional().default(() => wt.parse({})),
590
- approval: Tt.optional().default(() => Tt.parse({}))
594
+ userMemory: wt.optional().default(() => wt.parse({})),
595
+ userFiles: Tt.optional().default(() => Tt.parse({})),
596
+ approval: Et.optional().default(() => Et.parse({}))
591
597
  }), K = d({
592
598
  freshness: d({
593
599
  enabled: u().default(!1),
@@ -600,7 +606,7 @@ var bt = d({
600
606
  diversity: i().min(0).max(1).default(.3),
601
607
  candidatesLimit: i().int().min(20).max(100).default(50)
602
608
  }).prefault({})
603
- }).prefault({}), Dt = d({
609
+ }).prefault({}), Ot = d({
604
610
  prompt: n().optional(),
605
611
  temperature: i().min(0).max(2).optional().default(.6),
606
612
  maxOutputTokens: i().positive().optional(),
@@ -611,16 +617,16 @@ var bt = d({
611
617
  maxStepCount: i().int().min(1).max(40).optional().default(10),
612
618
  reasoning: $e,
613
619
  ranking: K.optional().default(() => K.parse({}))
614
- }), q = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Ot = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", J = /* @__PURE__ */ function(e) {
620
+ }), q = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), kt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", J = /* @__PURE__ */ function(e) {
615
621
  return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
616
622
  }({}), Y = /* @__PURE__ */ function(e) {
617
623
  return e.Floating = "floating", e.Copilot = "copilot", e;
618
624
  }({}), X = /* @__PURE__ */ function(e) {
619
- return e.Overlay = "overlay", e.Push = "push", e;
625
+ return e.Solid = "solid", e.Glass = "glass", e;
620
626
  }({}), Z = /* @__PURE__ */ function(e) {
621
627
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
622
- }({}), kt = Object.values(Z), At = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
623
- function jt(e) {
628
+ }({}), At = Object.values(Z), jt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
629
+ function Mt(e) {
624
630
  let t = e.trim().toLowerCase();
625
631
  if (!t) return "";
626
632
  try {
@@ -654,18 +660,19 @@ var Q = d({
654
660
  welcomePopup: u().optional().default(!1),
655
661
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
656
662
  layout: l(Y).optional().default(Y.Floating),
657
- copilotFrame: l(X).optional().default(X.Overlay),
663
+ appearance: l(X).optional().default(X.Solid),
664
+ hideFloatingButton: u().optional().default(!1),
658
665
  workingGlow: u().optional().default(!0),
659
666
  copilotPageCss: n().optional(),
660
667
  maxMessageLength: i().int().positive().optional(),
661
- widgetUrl: r().default(Ot),
668
+ widgetUrl: r().default(kt),
662
669
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
663
670
  loaderStrategy: l(J).optional().default(J.InlineModule),
664
671
  customCss: n().optional(),
665
672
  smoothStream: u().optional().default(!1),
666
673
  showExtendedSteps: u().optional().default(!1),
667
- imageHosts: c(n().overwrite(jt).refine((e) => e === "" || At.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
668
- }), Mt = [
674
+ imageHosts: c(n().overwrite(Mt).refine((e) => e === "" || jt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
675
+ }), Nt = [
669
676
  "image/jpeg",
670
677
  "image/png",
671
678
  "image/gif",
@@ -674,19 +681,19 @@ var Q = d({
674
681
  "text/plain",
675
682
  "text/markdown",
676
683
  "text/csv"
677
- ], Nt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $ = d({
684
+ ], Pt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $ = d({
678
685
  enabled: u().default(!1),
679
686
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
680
- allowedMimeTypes: c(n().regex(re)).optional().default([...Mt]),
687
+ allowedMimeTypes: c(n().regex(re)).optional().default([...Nt]),
681
688
  maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
682
689
  maxFilesPerChat: i().int().positive().max(50).optional().default(20)
683
- }), Pt = d({
690
+ }), Ft = d({
684
691
  zeroDataRetention: u().default(!0),
685
692
  disallowPromptTraining: u().default(!0),
686
693
  providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
687
- }), Ft = d({ enabled: u().default(!1) }), It = /* @__PURE__ */ function(e) {
694
+ }), It = d({ enabled: u().default(!1) }), Lt = /* @__PURE__ */ function(e) {
688
695
  return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
689
- }({}), Lt = d({ mode: l(It).default(It.Off) }), Rt = d({
696
+ }({}), Rt = d({ mode: l(Lt).default(Lt.Off) }), zt = d({
690
697
  enabled: u().default(!1),
691
698
  voiceId: n().optional(),
692
699
  language: n().min(2).max(5).default("it"),
@@ -705,40 +712,40 @@ var Q = d({
705
712
  providerAgentId: n().optional(),
706
713
  providerSecretId: n().optional(),
707
714
  providerApiKeyId: n().optional()
708
- }), zt = d({ enabled: u() });
715
+ }), Bt = d({ enabled: u() });
709
716
  d({
710
717
  chatId: n().min(1).optional(),
711
718
  deviceContext: Ae.optional(),
712
719
  externalContext: p(n(), f()).optional()
713
720
  });
714
- var Bt = d({
721
+ var Vt = d({
715
722
  sessionId: n(),
716
723
  signedUrl: n(),
717
724
  providerAgentId: n(),
718
725
  chatId: n(),
719
726
  maxSessionSeconds: i().int()
720
- }), Vt = d({
727
+ }), Ht = d({
721
728
  voiceId: n(),
722
729
  name: n(),
723
730
  category: n().optional(),
724
731
  previewUrl: n().optional(),
725
732
  labels: p(n(), n()).optional()
726
733
  });
727
- c(Vt);
728
- var Ht = d({
729
- model: Dt,
734
+ c(Ht);
735
+ var Ut = d({
736
+ model: Ot,
730
737
  interface: Q,
731
- tools: Et.optional().default(() => Et.parse({})),
738
+ tools: Dt.optional().default(() => Dt.parse({})),
732
739
  fileUpload: $.optional().default(() => $.parse({})),
733
- gatewayOptions: Pt.optional().default(() => Pt.parse({})),
734
- channels: c(l(Z)).optional().default(() => [...kt]),
740
+ gatewayOptions: Ft.optional().default(() => Ft.parse({})),
741
+ channels: c(l(Z)).optional().default(() => [...At]),
735
742
  externalContextSchema: ae.optional(),
736
- openaiApi: Ft.optional().default(() => Ft.parse({})),
737
- voice: Rt.optional().default(() => Rt.parse({})),
738
- toolWorkingSet: Lt.optional().default(() => Lt.parse({})),
743
+ openaiApi: It.optional().default(() => It.parse({})),
744
+ voice: zt.optional().default(() => zt.parse({})),
745
+ toolWorkingSet: Rt.optional().default(() => Rt.parse({})),
739
746
  hostTools: Pe.optional(),
740
747
  pageAccess: He.optional()
741
- }), Ut = d({
748
+ }), Wt = d({
742
749
  rateLimits: d({
743
750
  minuteRateLimit: i().int().min(0).optional(),
744
751
  hourRateLimit: i().int().min(0).optional(),
@@ -755,8 +762,8 @@ d({
755
762
  fallbackModels: c(n()).default([]),
756
763
  status: l(j).default(j.Draft),
757
764
  visibility: l(M).default(M.Organization),
758
- settings: Ht,
759
- security: Ut.nullish(),
765
+ settings: Ut,
766
+ security: Wt.nullish(),
760
767
  type: l(N).default(N.Chat),
761
768
  organizationId: n()
762
769
  }), ee(() => d({
@@ -767,8 +774,8 @@ d({
767
774
  fallbackModels: c(n()).nullable().default([]),
768
775
  status: l(j).default(j.Draft),
769
776
  visibility: l(M).default(M.Organization),
770
- settings: Ht,
771
- security: Ut.nullable(),
777
+ settings: Ut,
778
+ security: Wt.nullable(),
772
779
  type: l(N).default(N.Chat),
773
780
  organizationId: n(),
774
781
  createdAt: m(),
@@ -781,7 +788,7 @@ d({
781
788
  outOfBudget: u().optional().default(!1),
782
789
  outOfBudgetReason: n().optional().default("")
783
790
  }));
784
- var Wt = d({
791
+ var Gt = d({
785
792
  id: n(),
786
793
  name: n(),
787
794
  status: l(j),
@@ -792,51 +799,52 @@ var Wt = d({
792
799
  updatedAt: m(),
793
800
  capabilities: d({
794
801
  fileUpload: $,
795
- voice: zt,
802
+ voice: Bt,
796
803
  hostTools: Fe.optional(),
797
804
  pageAccess: Ge.optional()
798
805
  }),
799
- channels: c(l(Z)).default(() => [...kt])
800
- }), Gt = Q.pick({
806
+ channels: c(l(Z)).default(() => [...At])
807
+ }), Kt = Q.pick({
801
808
  logo: !0,
802
809
  mainColor: !0,
803
810
  textColor: !0,
804
811
  theme: !0,
805
812
  floatingButtonPosition: !0,
806
813
  layout: !0,
807
- copilotFrame: !0,
814
+ appearance: !0,
815
+ hideFloatingButton: !0,
808
816
  copilotPageCss: !0,
809
817
  customCss: !0
810
- }), Kt = Wt.pick({
818
+ }), qt = Gt.pick({
811
819
  id: !0,
812
820
  name: !0,
813
821
  organizationId: !0
814
- }).extend({ interface: Gt }), qt = d({
822
+ }).extend({ interface: Kt }), Jt = d({
815
823
  emailPassword: u(),
816
824
  google: u(),
817
825
  microsoft: u()
818
- }), Jt = d({
826
+ }), Yt = d({
819
827
  requiresAuth: s(!1),
820
- agent: Wt,
828
+ agent: Gt,
821
829
  branding: a()
822
- }), Yt = d({
830
+ }), Xt = d({
823
831
  requiresAuth: s(!0),
824
832
  agent: a(),
825
- branding: Kt
833
+ branding: qt
826
834
  });
827
- te("requiresAuth", [Jt, Yt]);
828
- var Xt = d({
835
+ te("requiresAuth", [Yt, Xt]);
836
+ var Zt = d({
829
837
  frontendUrl: n().optional(),
830
838
  telemetry: d({
831
839
  environment: n(),
832
840
  samplingRate: i().min(0).max(1)
833
841
  }).nullable()
834
- }), Zt = d({
835
- authMethods: qt,
842
+ }), Qt = d({
843
+ authMethods: Jt,
836
844
  deploymentBranding: fe.nullish(),
837
- deployment: Xt.optional()
845
+ deployment: Zt.optional()
838
846
  });
839
- te("requiresAuth", [Jt.extend(Zt.shape), Yt.extend(Zt.shape)]), d({
847
+ te("requiresAuth", [Yt.extend(Qt.shape), Xt.extend(Qt.shape)]), d({
840
848
  id: t(),
841
849
  agentIds: c(t())
842
850
  }), d({
@@ -857,6 +865,6 @@ te("requiresAuth", [Jt.extend(Zt.shape), Yt.extend(Zt.shape)]), d({
857
865
  ...g.ids()
858
866
  });
859
867
  //#endregion
860
- export { ye as $, nt as A, We as B, Nt as C, Bt as D, mt as E, gt as F, je as G, Be as H, yt as I, Ae as J, Le as K, jt as L, ut as M, ct as N, W as O, ft as P, Te as Q, A as R, R as S, dt as T, k as U, Ve as V, Re as W, D as X, b as Y, _ as Z, ot as _, X as a, g as at, rt as b, J as c, P as d, ue as et, It as f, pt as g, Y as h, Z as i, le as it, Xe as j, st as k, K as l, G as m, it as n, me as nt, $ as o, N as p, Ie as q, U as r, h as rt, Pt as s, I as t, Ee as tt, $e as u, B as v, at as w, F as x, L as y, Ue as z };
868
+ export { Te as $, st as A, Ue as B, Pt as C, Vt as D, mt as E, ft as F, Re as G, Ve as H, gt as I, Ie as J, je as K, yt as L, Xe as M, ut as N, bt as O, ct as P, _ as Q, Mt as R, R as S, dt as T, Be as U, We as V, k as W, b as X, Ae as Y, D as Z, ot as _, $ as a, le as at, rt as b, K as c, Lt as d, ye as et, N as f, pt as g, Y as h, Z as i, h as it, nt as j, W as k, $e as l, X as m, it as n, Ee as nt, Ft as o, g as ot, G as p, Le as q, U as r, me as rt, J as s, I as t, ue as tt, P as u, B as v, at as w, F as x, L as y, A as z };
861
869
 
862
- //# sourceMappingURL=Agent-2DVqpLwz.js.map
870
+ //# sourceMappingURL=Agent-DcoF75y8.js.map