@8wave/ai-elements 0.121.0-beta.5 → 0.121.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/_chunks/{Agent-BYC51e6E.js → Agent-7rbrjWzu.js} +64 -58
  2. package/dist/_chunks/Agent-7rbrjWzu.js.map +1 -0
  3. package/dist/_chunks/{PkStreamingMarkdown-CNoHyTuC.js → PkStreamingMarkdown-BnClGp-3.js} +826 -831
  4. package/dist/_chunks/PkStreamingMarkdown-BnClGp-3.js.map +1 -0
  5. package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js → PkToolEditSpreadsheet-D4M6BUKx.js} +2 -2
  6. package/dist/_chunks/{PkToolEditSpreadsheet-B8bO3vZa.js.map → PkToolEditSpreadsheet-D4M6BUKx.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js → PkToolRequestGeolocation-DmOoFghZ.js} +2 -2
  8. package/dist/_chunks/{PkToolRequestGeolocation-DrvL0h9d.js.map → PkToolRequestGeolocation-DmOoFghZ.js.map} +1 -1
  9. package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js → PkToolRequestOAuthConnection-DV0sfojC.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestOAuthConnection-BXti5Vkt.js.map → PkToolRequestOAuthConnection-DV0sfojC.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js → PkToolShowArtifact-V0a8zhdO.js} +2 -2
  12. package/dist/_chunks/{PkToolShowArtifact-DR71LNck.js.map → PkToolShowArtifact-V0a8zhdO.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js → PkToolShowContactForm-sLhBxf9e.js} +2 -2
  14. package/dist/_chunks/{PkToolShowContactForm-C4BshHSs.js.map → PkToolShowContactForm-sLhBxf9e.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js → PkToolShowForm-Dl2k9jqk.js} +3 -3
  16. package/dist/_chunks/{PkToolShowForm-BLSTn0xE.js.map → PkToolShowForm-Dl2k9jqk.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js → PkToolShowImageGallery-CTsq_DPb.js} +2 -2
  18. package/dist/_chunks/{PkToolShowImageGallery-CqOXbo0Y.js.map → PkToolShowImageGallery-CTsq_DPb.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowProductList-westY5bY.js → PkToolShowProductList-CpdKWQkP.js} +2 -2
  20. package/dist/_chunks/{PkToolShowProductList-westY5bY.js.map → PkToolShowProductList-CpdKWQkP.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js → PkToolShowSources-WFm2JF0r.js} +3 -3
  22. package/dist/_chunks/{PkToolShowSources-Dy9VXRgv.js.map → PkToolShowSources-WFm2JF0r.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js → PkToolShowSuggestedReply-RcL_3RAz.js} +2 -2
  24. package/dist/_chunks/{PkToolShowSuggestedReply-BZ2U3ULB.js.map → PkToolShowSuggestedReply-RcL_3RAz.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js → PkToolShowVideo-Ua5heyl1.js} +2 -2
  26. package/dist/_chunks/{PkToolShowVideo-CrFaQbMp.js.map → PkToolShowVideo-Ua5heyl1.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js → PkToolShowWebPages-STOCnsKm.js} +2 -2
  28. package/dist/_chunks/{PkToolShowWebPages-DXszshY9.js.map → PkToolShowWebPages-STOCnsKm.js.map} +1 -1
  29. package/dist/_chunks/{chatImagePolicy-B5-QV037.js → chatImagePolicy-C8X_GMnS.js} +2 -2
  30. package/dist/_chunks/{chatImagePolicy-B5-QV037.js.map → chatImagePolicy-C8X_GMnS.js.map} +1 -1
  31. package/dist/_chunks/{markdown-DO_FLvlJ.js → markdown-EqEd3eyd.js} +10 -10
  32. package/dist/_chunks/{markdown-DO_FLvlJ.js.map → markdown-EqEd3eyd.js.map} +1 -1
  33. package/dist/ai-elements.es.js +1572 -1572
  34. package/dist/ai-elements.es.js.map +1 -1
  35. package/dist-vue/PkChatbot.js +1 -1
  36. package/dist-vue/PkChatbotEmptyState.js +1 -1
  37. package/dist-vue/PkChatbotInput.js +1 -1
  38. package/dist-vue/PkChatbotMessages.js +1 -1
  39. package/dist-vue/PkChatbotStepPayload.js +1 -1
  40. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  41. package/dist-vue/PkChatbotSteps.js +1 -1
  42. package/dist-vue/PkChatbotViewChat.js +1 -1
  43. package/dist-vue/PkChatbotViewConversations.js +1 -1
  44. package/dist-vue/PkChatbotViewFiles.js +1 -1
  45. package/dist-vue/PkChatbotViewProfile.js +1 -1
  46. package/dist-vue/_chunks/{Agent-2DVqpLwz.js → Agent-SH2vEFKs.js} +63 -57
  47. package/dist-vue/_chunks/Agent-SH2vEFKs.js.map +1 -0
  48. package/dist-vue/_chunks/{Document-ChfbOVVs.js → Document-fmCxsccF.js} +10 -10
  49. package/dist-vue/_chunks/{Document-ChfbOVVs.js.map → Document-fmCxsccF.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbot-DsZ8mAbt.js → PkChatbot-DlIEIjKJ.js} +8 -8
  51. package/dist-vue/_chunks/{PkChatbot-DsZ8mAbt.js.map → PkChatbot-DlIEIjKJ.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js → PkChatbotEmptyState-Bcozn56E.js} +2 -2
  53. package/dist-vue/_chunks/{PkChatbotEmptyState-DqzgF4vH.js.map → PkChatbotEmptyState-Bcozn56E.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkChatbotInput-BRhIG8HR.js → PkChatbotInput-DQVpDLNp.js} +2 -2
  55. package/dist-vue/_chunks/{PkChatbotInput-BRhIG8HR.js.map → PkChatbotInput-DQVpDLNp.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkChatbotMessages-WryjcyH7.js → PkChatbotMessages-BYFozlwC.js} +17 -17
  57. package/dist-vue/_chunks/{PkChatbotMessages-WryjcyH7.js.map → PkChatbotMessages-BYFozlwC.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js → PkChatbotStepPayload-DjntsSlX.js} +2 -2
  59. package/dist-vue/_chunks/{PkChatbotStepPayload-Bga_HEps.js.map → PkChatbotStepPayload-DjntsSlX.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js → PkChatbotStepToolDetail-If9goNdY.js} +3 -3
  61. package/dist-vue/_chunks/{PkChatbotStepToolDetail-YbUYP-Y3.js.map → PkChatbotStepToolDetail-If9goNdY.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js → PkChatbotSteps-DUFfniZn.js} +5 -5
  63. package/dist-vue/_chunks/{PkChatbotSteps-CVAkaIzk.js.map → PkChatbotSteps-DUFfniZn.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotViewChat-B1gbdvs1.js → PkChatbotViewChat-BGoltDr9.js} +7 -7
  65. package/dist-vue/_chunks/{PkChatbotViewChat-B1gbdvs1.js.map → PkChatbotViewChat-BGoltDr9.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js → PkChatbotViewConversations-WUpRm6GG.js} +3 -3
  67. package/dist-vue/_chunks/{PkChatbotViewConversations-BHvHF0w7.js.map → PkChatbotViewConversations-WUpRm6GG.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js → PkChatbotViewFiles-CpG_LRg6.js} +3 -3
  69. package/dist-vue/_chunks/{PkChatbotViewFiles-C-4__qj_.js.map → PkChatbotViewFiles-CpG_LRg6.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js → PkChatbotViewProfile-DetQJa7E.js} +2 -2
  71. package/dist-vue/_chunks/{PkChatbotViewProfile-_WMSVDlA.js.map → PkChatbotViewProfile-DetQJa7E.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js → PkStreamingMarkdown-DLKEIMcZ.js} +3 -3
  73. package/dist-vue/_chunks/{PkStreamingMarkdown-6Y7qgbvS.js.map → PkStreamingMarkdown-DLKEIMcZ.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js → PkToolEditSpreadsheet-D2JtjXef.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolEditSpreadsheet-BTauPyXT.js.map → PkToolEditSpreadsheet-D2JtjXef.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js → PkToolRequestGeolocation--MTT__Vu.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolRequestGeolocation-DBzup6bn.js.map → PkToolRequestGeolocation--MTT__Vu.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js → PkToolRequestOAuthConnection-Gb_qfvlN.js} +2 -2
  79. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-yrRDpNqp.js.map → PkToolRequestOAuthConnection-Gb_qfvlN.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js → PkToolShowArtifact-BWVntj9H.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowArtifact-fp37O1om.js.map → PkToolShowArtifact-BWVntj9H.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js → PkToolShowContactForm-BbBt3ha0.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowContactForm-iSx2ioyT.js.map → PkToolShowContactForm-BbBt3ha0.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js → PkToolShowDiagram-CE6KHz1M.js} +2 -2
  85. package/dist-vue/_chunks/{PkToolShowDiagram-BlKrh4gK.js.map → PkToolShowDiagram-CE6KHz1M.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js → PkToolShowForm-CNm8HSUW.js} +4 -4
  87. package/dist-vue/_chunks/{PkToolShowForm-CwlXH13N.js.map → PkToolShowForm-CNm8HSUW.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js → PkToolShowImageGallery-6k3ituoi.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolShowImageGallery-C4esYiM_.js.map → PkToolShowImageGallery-6k3ituoi.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js → PkToolShowProductList-Bu-pUg5d.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowProductList-CdeYQ-mF.js.map → PkToolShowProductList-Bu-pUg5d.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js → PkToolShowSources-DTWNZqWu.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolShowSources-D8IF7g0d.js.map → PkToolShowSources-DTWNZqWu.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js → PkToolShowSuggestedReply-DSXhqWhx.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DXyO8ki2.js.map → PkToolShowSuggestedReply-DSXhqWhx.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js → PkToolShowVideo-C0ycBiOI.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolShowVideo-CA7MNSp_.js.map → PkToolShowVideo-C0ycBiOI.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js → PkToolShowWebPages-CWWv1tr5.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowWebPages-CKWnAbp8.js.map → PkToolShowWebPages-CWWv1tr5.js.map} +1 -1
  100. package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js → createChatbotApiClient-MbfcTdwY.js} +16 -16
  101. package/dist-vue/_chunks/{createChatbotApiClient-DecVahlB.js.map → createChatbotApiClient-MbfcTdwY.js.map} +1 -1
  102. package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js → useChatbotStore-DDSgrRzg.js} +1143 -1143
  103. package/dist-vue/_chunks/{useChatbotStore-BQTq8fq-.js.map → useChatbotStore-DDSgrRzg.js.map} +1 -1
  104. package/dist-vue/_chunks/{utils-BLMOBcka.js → utils-B9-Vt10H.js} +35 -40
  105. package/dist-vue/_chunks/utils-B9-Vt10H.js.map +1 -0
  106. package/dist-vue/api.js +1 -1
  107. package/dist-vue/composables.js +6 -6
  108. package/dist-vue/composables.js.map +1 -1
  109. package/dist-vue/index.js +4235 -4227
  110. package/dist-vue/index.js.map +1 -1
  111. package/dist-vue/locales.js +8 -2
  112. package/dist-vue/packages/components/src/chat/PkWebSearchSettings.d.ts +2 -0
  113. package/dist-vue/packages/models/src/schema/Agent.d.ts +14 -0
  114. package/package.json +1 -1
  115. package/dist/_chunks/Agent-BYC51e6E.js.map +0 -1
  116. package/dist/_chunks/PkStreamingMarkdown-CNoHyTuC.js.map +0 -1
  117. package/dist-vue/_chunks/Agent-2DVqpLwz.js.map +0 -1
  118. package/dist-vue/_chunks/utils-BLMOBcka.js.map +0 -1
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbot-DsZ8mAbt.js";
1
+ export { t as default } from "./_chunks/PkChatbot-DlIEIjKJ.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotEmptyState-DqzgF4vH.js";
1
+ export { t as default } from "./_chunks/PkChatbotEmptyState-Bcozn56E.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotInput-BRhIG8HR.js";
1
+ export { t as default } from "./_chunks/PkChatbotInput-DQVpDLNp.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotMessages-WryjcyH7.js";
1
+ export { t as default } from "./_chunks/PkChatbotMessages-BYFozlwC.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepPayload-Bga_HEps.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepPayload-DjntsSlX.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepToolDetail-YbUYP-Y3.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepToolDetail-If9goNdY.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotSteps-CVAkaIzk.js";
1
+ export { t as default } from "./_chunks/PkChatbotSteps-DUFfniZn.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewChat-B1gbdvs1.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewChat-BGoltDr9.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewConversations-BHvHF0w7.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewConversations-WUpRm6GG.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewFiles-C-4__qj_.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewFiles-CpG_LRg6.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewProfile-_WMSVDlA.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewProfile-DetQJa7E.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,7 +617,7 @@ 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;
@@ -619,8 +625,8 @@ var bt = d({
619
625
  return e.Overlay = "overlay", e.Push = "push", 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 {
@@ -658,14 +664,14 @@ var Q = d({
658
664
  workingGlow: u().optional().default(!0),
659
665
  copilotPageCss: n().optional(),
660
666
  maxMessageLength: i().int().positive().optional(),
661
- widgetUrl: r().default(Ot),
667
+ widgetUrl: r().default(kt),
662
668
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
663
669
  loaderStrategy: l(J).optional().default(J.InlineModule),
664
670
  customCss: n().optional(),
665
671
  smoothStream: u().optional().default(!1),
666
672
  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 = [
673
+ 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([])
674
+ }), Nt = [
669
675
  "image/jpeg",
670
676
  "image/png",
671
677
  "image/gif",
@@ -674,19 +680,19 @@ var Q = d({
674
680
  "text/plain",
675
681
  "text/markdown",
676
682
  "text/csv"
677
- ], Nt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $ = d({
683
+ ], Pt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $ = d({
678
684
  enabled: u().default(!1),
679
685
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
680
- allowedMimeTypes: c(n().regex(re)).optional().default([...Mt]),
686
+ allowedMimeTypes: c(n().regex(re)).optional().default([...Nt]),
681
687
  maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
682
688
  maxFilesPerChat: i().int().positive().max(50).optional().default(20)
683
- }), Pt = d({
689
+ }), Ft = d({
684
690
  zeroDataRetention: u().default(!0),
685
691
  disallowPromptTraining: u().default(!0),
686
692
  providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
687
- }), Ft = d({ enabled: u().default(!1) }), It = /* @__PURE__ */ function(e) {
693
+ }), It = d({ enabled: u().default(!1) }), Lt = /* @__PURE__ */ function(e) {
688
694
  return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
689
- }({}), Lt = d({ mode: l(It).default(It.Off) }), Rt = d({
695
+ }({}), Rt = d({ mode: l(Lt).default(Lt.Off) }), zt = d({
690
696
  enabled: u().default(!1),
691
697
  voiceId: n().optional(),
692
698
  language: n().min(2).max(5).default("it"),
@@ -705,40 +711,40 @@ var Q = d({
705
711
  providerAgentId: n().optional(),
706
712
  providerSecretId: n().optional(),
707
713
  providerApiKeyId: n().optional()
708
- }), zt = d({ enabled: u() });
714
+ }), Bt = d({ enabled: u() });
709
715
  d({
710
716
  chatId: n().min(1).optional(),
711
717
  deviceContext: Ae.optional(),
712
718
  externalContext: p(n(), f()).optional()
713
719
  });
714
- var Bt = d({
720
+ var Vt = d({
715
721
  sessionId: n(),
716
722
  signedUrl: n(),
717
723
  providerAgentId: n(),
718
724
  chatId: n(),
719
725
  maxSessionSeconds: i().int()
720
- }), Vt = d({
726
+ }), Ht = d({
721
727
  voiceId: n(),
722
728
  name: n(),
723
729
  category: n().optional(),
724
730
  previewUrl: n().optional(),
725
731
  labels: p(n(), n()).optional()
726
732
  });
727
- c(Vt);
728
- var Ht = d({
729
- model: Dt,
733
+ c(Ht);
734
+ var Ut = d({
735
+ model: Ot,
730
736
  interface: Q,
731
- tools: Et.optional().default(() => Et.parse({})),
737
+ tools: Dt.optional().default(() => Dt.parse({})),
732
738
  fileUpload: $.optional().default(() => $.parse({})),
733
- gatewayOptions: Pt.optional().default(() => Pt.parse({})),
734
- channels: c(l(Z)).optional().default(() => [...kt]),
739
+ gatewayOptions: Ft.optional().default(() => Ft.parse({})),
740
+ channels: c(l(Z)).optional().default(() => [...At]),
735
741
  externalContextSchema: ae.optional(),
736
- openaiApi: Ft.optional().default(() => Ft.parse({})),
737
- voice: Rt.optional().default(() => Rt.parse({})),
738
- toolWorkingSet: Lt.optional().default(() => Lt.parse({})),
742
+ openaiApi: It.optional().default(() => It.parse({})),
743
+ voice: zt.optional().default(() => zt.parse({})),
744
+ toolWorkingSet: Rt.optional().default(() => Rt.parse({})),
739
745
  hostTools: Pe.optional(),
740
746
  pageAccess: He.optional()
741
- }), Ut = d({
747
+ }), Wt = d({
742
748
  rateLimits: d({
743
749
  minuteRateLimit: i().int().min(0).optional(),
744
750
  hourRateLimit: i().int().min(0).optional(),
@@ -755,8 +761,8 @@ d({
755
761
  fallbackModels: c(n()).default([]),
756
762
  status: l(j).default(j.Draft),
757
763
  visibility: l(M).default(M.Organization),
758
- settings: Ht,
759
- security: Ut.nullish(),
764
+ settings: Ut,
765
+ security: Wt.nullish(),
760
766
  type: l(N).default(N.Chat),
761
767
  organizationId: n()
762
768
  }), ee(() => d({
@@ -767,8 +773,8 @@ d({
767
773
  fallbackModels: c(n()).nullable().default([]),
768
774
  status: l(j).default(j.Draft),
769
775
  visibility: l(M).default(M.Organization),
770
- settings: Ht,
771
- security: Ut.nullable(),
776
+ settings: Ut,
777
+ security: Wt.nullable(),
772
778
  type: l(N).default(N.Chat),
773
779
  organizationId: n(),
774
780
  createdAt: m(),
@@ -781,7 +787,7 @@ d({
781
787
  outOfBudget: u().optional().default(!1),
782
788
  outOfBudgetReason: n().optional().default("")
783
789
  }));
784
- var Wt = d({
790
+ var Gt = d({
785
791
  id: n(),
786
792
  name: n(),
787
793
  status: l(j),
@@ -792,12 +798,12 @@ var Wt = d({
792
798
  updatedAt: m(),
793
799
  capabilities: d({
794
800
  fileUpload: $,
795
- voice: zt,
801
+ voice: Bt,
796
802
  hostTools: Fe.optional(),
797
803
  pageAccess: Ge.optional()
798
804
  }),
799
- channels: c(l(Z)).default(() => [...kt])
800
- }), Gt = Q.pick({
805
+ channels: c(l(Z)).default(() => [...At])
806
+ }), Kt = Q.pick({
801
807
  logo: !0,
802
808
  mainColor: !0,
803
809
  textColor: !0,
@@ -807,36 +813,36 @@ var Wt = d({
807
813
  copilotFrame: !0,
808
814
  copilotPageCss: !0,
809
815
  customCss: !0
810
- }), Kt = Wt.pick({
816
+ }), qt = Gt.pick({
811
817
  id: !0,
812
818
  name: !0,
813
819
  organizationId: !0
814
- }).extend({ interface: Gt }), qt = d({
820
+ }).extend({ interface: Kt }), Jt = d({
815
821
  emailPassword: u(),
816
822
  google: u(),
817
823
  microsoft: u()
818
- }), Jt = d({
824
+ }), Yt = d({
819
825
  requiresAuth: s(!1),
820
- agent: Wt,
826
+ agent: Gt,
821
827
  branding: a()
822
- }), Yt = d({
828
+ }), Xt = d({
823
829
  requiresAuth: s(!0),
824
830
  agent: a(),
825
- branding: Kt
831
+ branding: qt
826
832
  });
827
- te("requiresAuth", [Jt, Yt]);
828
- var Xt = d({
833
+ te("requiresAuth", [Yt, Xt]);
834
+ var Zt = d({
829
835
  frontendUrl: n().optional(),
830
836
  telemetry: d({
831
837
  environment: n(),
832
838
  samplingRate: i().min(0).max(1)
833
839
  }).nullable()
834
- }), Zt = d({
835
- authMethods: qt,
840
+ }), Qt = d({
841
+ authMethods: Jt,
836
842
  deploymentBranding: fe.nullish(),
837
- deployment: Xt.optional()
843
+ deployment: Zt.optional()
838
844
  });
839
- te("requiresAuth", [Jt.extend(Zt.shape), Yt.extend(Zt.shape)]), d({
845
+ te("requiresAuth", [Yt.extend(Qt.shape), Xt.extend(Qt.shape)]), d({
840
846
  id: t(),
841
847
  agentIds: c(t())
842
848
  }), d({
@@ -857,6 +863,6 @@ te("requiresAuth", [Jt.extend(Zt.shape), Yt.extend(Zt.shape)]), d({
857
863
  ...g.ids()
858
864
  });
859
865
  //#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 };
866
+ 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 _, X as a, le as at, rt as b, J as c, P as d, ye as et, Lt as f, pt as g, Y as h, Z as i, h as it, nt as j, W as k, K as l, G as m, it as n, Ee as nt, $ as o, g as ot, N as p, Le as q, U as r, me as rt, Ft as s, I as t, ue as tt, $e as u, B as v, at as w, F as x, L as y, A as z };
861
867
 
862
- //# sourceMappingURL=Agent-2DVqpLwz.js.map
868
+ //# sourceMappingURL=Agent-SH2vEFKs.js.map