@8wave/ai-elements 0.119.0-beta.48 → 0.119.0-beta.54

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 (101) hide show
  1. package/dist/_chunks/Agent-DU38SnNd.js.map +1 -1
  2. package/dist/_chunks/{PkStreamingMarkdown-xnhBbPf5.js → PkStreamingMarkdown-pEgm7m-B.js} +4 -4
  3. package/dist/_chunks/PkStreamingMarkdown-pEgm7m-B.js.map +1 -0
  4. package/dist/_chunks/{PkToolShowArtifact-DPt1qDUk.js → PkToolShowArtifact-D6ZTw5vh.js} +2 -2
  5. package/dist/_chunks/{PkToolShowArtifact-DPt1qDUk.js.map → PkToolShowArtifact-D6ZTw5vh.js.map} +1 -1
  6. package/dist/_chunks/{PkToolShowContactForm-OdC7bsXd.js → PkToolShowContactForm-CW7gKQ7h.js} +2 -2
  7. package/dist/_chunks/{PkToolShowContactForm-OdC7bsXd.js.map → PkToolShowContactForm-CW7gKQ7h.js.map} +1 -1
  8. package/dist/_chunks/{PkToolShowForm-uFmaQoI1.js → PkToolShowForm-D_2FmDwq.js} +2 -2
  9. package/dist/_chunks/{PkToolShowForm-uFmaQoI1.js.map → PkToolShowForm-D_2FmDwq.js.map} +1 -1
  10. package/dist/_chunks/{PkToolShowSources-BlpCKc4N.js → PkToolShowSources-DyzheirE.js} +2 -2
  11. package/dist/_chunks/{PkToolShowSources-BlpCKc4N.js.map → PkToolShowSources-DyzheirE.js.map} +1 -1
  12. package/dist/_chunks/markdown-BKLfFJPr.js.map +1 -1
  13. package/dist/ai-elements.es.js +1176 -1174
  14. package/dist/ai-elements.es.js.map +1 -1
  15. package/dist-vue/PkChatbot.js +1 -1
  16. package/dist-vue/PkChatbotEmptyState.js +1 -1
  17. package/dist-vue/PkChatbotInput.js +1 -1
  18. package/dist-vue/PkChatbotMessages.js +1 -1
  19. package/dist-vue/PkChatbotStepPayload.js +1 -1
  20. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  21. package/dist-vue/PkChatbotSteps.js +1 -1
  22. package/dist-vue/PkChatbotViewChat.js +1 -1
  23. package/dist-vue/PkChatbotViewConversations.js +1 -1
  24. package/dist-vue/PkChatbotViewFiles.js +1 -1
  25. package/dist-vue/PkChatbotViewProfile.js +1 -1
  26. package/dist-vue/_chunks/{Agent-DDm9cCaN.js → Agent-DUdd9NbF.js} +79 -70
  27. package/dist-vue/_chunks/Agent-DUdd9NbF.js.map +1 -0
  28. package/dist-vue/_chunks/{Document-CZemm1AR.js → Document-B4q9uYmN.js} +10 -10
  29. package/dist-vue/_chunks/Document-B4q9uYmN.js.map +1 -0
  30. package/dist-vue/_chunks/{PkChatbot-DXwMfwN4.js → PkChatbot-Ck6RO0Rd.js} +8 -8
  31. package/dist-vue/_chunks/{PkChatbot-DXwMfwN4.js.map → PkChatbot-Ck6RO0Rd.js.map} +1 -1
  32. package/dist-vue/_chunks/{PkChatbotEmptyState-Dve5Ci2Y.js → PkChatbotEmptyState-DhJDJhxj.js} +2 -2
  33. package/dist-vue/_chunks/{PkChatbotEmptyState-Dve5Ci2Y.js.map → PkChatbotEmptyState-DhJDJhxj.js.map} +1 -1
  34. package/dist-vue/_chunks/{PkChatbotInput-DiCxEime.js → PkChatbotInput--ULB71Ld.js} +2 -2
  35. package/dist-vue/_chunks/{PkChatbotInput-DiCxEime.js.map → PkChatbotInput--ULB71Ld.js.map} +1 -1
  36. package/dist-vue/_chunks/{PkChatbotMessages-CTp0NkY2.js → PkChatbotMessages-Bni4EjEB.js} +17 -17
  37. package/dist-vue/_chunks/{PkChatbotMessages-CTp0NkY2.js.map → PkChatbotMessages-Bni4EjEB.js.map} +1 -1
  38. package/dist-vue/_chunks/{PkChatbotStepPayload-B1o2DbQz.js → PkChatbotStepPayload-D8Y5I01D.js} +2 -2
  39. package/dist-vue/_chunks/{PkChatbotStepPayload-B1o2DbQz.js.map → PkChatbotStepPayload-D8Y5I01D.js.map} +1 -1
  40. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DpYV0KLn.js → PkChatbotStepToolDetail-CwstaTuG.js} +3 -3
  41. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DpYV0KLn.js.map → PkChatbotStepToolDetail-CwstaTuG.js.map} +1 -1
  42. package/dist-vue/_chunks/{PkChatbotSteps-BPon4zjv.js → PkChatbotSteps-Caz3eJgv.js} +5 -5
  43. package/dist-vue/_chunks/{PkChatbotSteps-BPon4zjv.js.map → PkChatbotSteps-Caz3eJgv.js.map} +1 -1
  44. package/dist-vue/_chunks/{PkChatbotViewChat-dJE2iHPN.js → PkChatbotViewChat-B_T3HkON.js} +174 -174
  45. package/dist-vue/_chunks/PkChatbotViewChat-B_T3HkON.js.map +1 -0
  46. package/dist-vue/_chunks/{PkChatbotViewConversations-DcEcJgwV.js → PkChatbotViewConversations-CvGu-4t3.js} +3 -3
  47. package/dist-vue/_chunks/{PkChatbotViewConversations-DcEcJgwV.js.map → PkChatbotViewConversations-CvGu-4t3.js.map} +1 -1
  48. package/dist-vue/_chunks/{PkChatbotViewFiles-DDEJqXct.js → PkChatbotViewFiles-CWyaCSXx.js} +3 -3
  49. package/dist-vue/_chunks/{PkChatbotViewFiles-DDEJqXct.js.map → PkChatbotViewFiles-CWyaCSXx.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbotViewProfile-B79UynQ8.js → PkChatbotViewProfile-gGx0SEXR.js} +2 -2
  51. package/dist-vue/_chunks/{PkChatbotViewProfile-B79UynQ8.js.map → PkChatbotViewProfile-gGx0SEXR.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkStreamingMarkdown-CqT_orLj.js → PkStreamingMarkdown-DZ8jmXzh.js} +3 -3
  53. package/dist-vue/_chunks/{PkStreamingMarkdown-CqT_orLj.js.map → PkStreamingMarkdown-DZ8jmXzh.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkToolEditSpreadsheet-Dcp3VFzY.js → PkToolEditSpreadsheet-CtRusPSR.js} +2 -2
  55. package/dist-vue/_chunks/{PkToolEditSpreadsheet-Dcp3VFzY.js.map → PkToolEditSpreadsheet-CtRusPSR.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkToolRequestGeolocation-DG4-qKRq.js → PkToolRequestGeolocation-P_QxEXD5.js} +2 -2
  57. package/dist-vue/_chunks/{PkToolRequestGeolocation-DG4-qKRq.js.map → PkToolRequestGeolocation-P_QxEXD5.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CZhNEM-o.js → PkToolRequestOAuthConnection-BlngXdPM.js} +2 -2
  59. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CZhNEM-o.js.map → PkToolRequestOAuthConnection-BlngXdPM.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkToolShowArtifact-Qfkz64NY.js → PkToolShowArtifact-CoBUA6lk.js} +2 -2
  61. package/dist-vue/_chunks/{PkToolShowArtifact-Qfkz64NY.js.map → PkToolShowArtifact-CoBUA6lk.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkToolShowContactForm-CRLEkYSE.js → PkToolShowContactForm-BjE4mrDv.js} +2 -2
  63. package/dist-vue/_chunks/{PkToolShowContactForm-CRLEkYSE.js.map → PkToolShowContactForm-BjE4mrDv.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkToolShowDiagram-j4FJ34Ta.js → PkToolShowDiagram-CVmV8ip6.js} +2 -2
  65. package/dist-vue/_chunks/{PkToolShowDiagram-j4FJ34Ta.js.map → PkToolShowDiagram-CVmV8ip6.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkToolShowForm-DdFBwLMf.js → PkToolShowForm-CbAHlcVY.js} +4 -4
  67. package/dist-vue/_chunks/{PkToolShowForm-DdFBwLMf.js.map → PkToolShowForm-CbAHlcVY.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkToolShowImageGallery-CxlOwuTJ.js → PkToolShowImageGallery-lwId4MH0.js} +2 -2
  69. package/dist-vue/_chunks/{PkToolShowImageGallery-CxlOwuTJ.js.map → PkToolShowImageGallery-lwId4MH0.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkToolShowProductList-dfd3vmhl.js → PkToolShowProductList-uilv8927.js} +2 -2
  71. package/dist-vue/_chunks/{PkToolShowProductList-dfd3vmhl.js.map → PkToolShowProductList-uilv8927.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkToolShowSources-B8Euk3rp.js → PkToolShowSources-Cg2POjp8.js} +3 -3
  73. package/dist-vue/_chunks/{PkToolShowSources-B8Euk3rp.js.map → PkToolShowSources-Cg2POjp8.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Cl3Pswi4.js → PkToolShowSuggestedReply-CMXG6Ntj.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Cl3Pswi4.js.map → PkToolShowSuggestedReply-CMXG6Ntj.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolShowVideo-C84UrvZ7.js → PkToolShowVideo-D04Xeojs.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolShowVideo-C84UrvZ7.js.map → PkToolShowVideo-D04Xeojs.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolShowWebPages-CzzuVQqL.js → PkToolShowWebPages-D7bEHkyy.js} +2 -2
  79. package/dist-vue/_chunks/{PkToolShowWebPages-CzzuVQqL.js.map → PkToolShowWebPages-D7bEHkyy.js.map} +1 -1
  80. package/dist-vue/_chunks/{createChatbotApiClient-DrUsRvCw.js → createChatbotApiClient-pAQ5kfjL.js} +14 -14
  81. package/dist-vue/_chunks/{createChatbotApiClient-DrUsRvCw.js.map → createChatbotApiClient-pAQ5kfjL.js.map} +1 -1
  82. package/dist-vue/_chunks/{useChatbotStore-DHmjHPR5.js → useChatbotStore-B2KlwdHy.js} +3 -3
  83. package/dist-vue/_chunks/{useChatbotStore-DHmjHPR5.js.map → useChatbotStore-B2KlwdHy.js.map} +1 -1
  84. package/dist-vue/_chunks/{utils-7oPvmwwu.js → utils-JCvPK7lV.js} +5 -5
  85. package/dist-vue/_chunks/utils-JCvPK7lV.js.map +1 -0
  86. package/dist-vue/api.js +1 -1
  87. package/dist-vue/composables.js +9 -7
  88. package/dist-vue/composables.js.map +1 -1
  89. package/dist-vue/index.js +3365 -3359
  90. package/dist-vue/index.js.map +1 -1
  91. package/dist-vue/locales.js +6 -0
  92. package/dist-vue/packages/auth/src/invitation-resend-plugin.d.ts +16 -0
  93. package/dist-vue/packages/models/src/schema/Agent.d.ts +22 -0
  94. package/dist-vue/packages/models/src/schema/Invitation.d.ts +7 -0
  95. package/dist-vue/packages/models/src/schema/constants.d.ts +1 -1
  96. package/package.json +1 -1
  97. package/dist/_chunks/PkStreamingMarkdown-xnhBbPf5.js.map +0 -1
  98. package/dist-vue/_chunks/Agent-DDm9cCaN.js.map +0 -1
  99. package/dist-vue/_chunks/Document-CZemm1AR.js.map +0 -1
  100. package/dist-vue/_chunks/PkChatbotViewChat-dJE2iHPN.js.map +0 -1
  101. package/dist-vue/_chunks/utils-7oPvmwwu.js.map +0 -1
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbot-DXwMfwN4.js";
1
+ export { t as default } from "./_chunks/PkChatbot-Ck6RO0Rd.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotEmptyState-Dve5Ci2Y.js";
1
+ export { t as default } from "./_chunks/PkChatbotEmptyState-DhJDJhxj.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotInput-DiCxEime.js";
1
+ export { t as default } from "./_chunks/PkChatbotInput--ULB71Ld.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotMessages-CTp0NkY2.js";
1
+ export { t as default } from "./_chunks/PkChatbotMessages-Bni4EjEB.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepPayload-B1o2DbQz.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepPayload-D8Y5I01D.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepToolDetail-DpYV0KLn.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepToolDetail-CwstaTuG.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotSteps-BPon4zjv.js";
1
+ export { t as default } from "./_chunks/PkChatbotSteps-Caz3eJgv.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewChat-dJE2iHPN.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewChat-B_T3HkON.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewConversations-DcEcJgwV.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewConversations-CvGu-4t3.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewFiles-DDEJqXct.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewFiles-CWyaCSXx.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewProfile-B79UynQ8.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewProfile-gGx0SEXR.js";
@@ -447,7 +447,16 @@ var tt = d({
447
447
  maxOptionsPerStep: i().int().min(2).max(10).optional().default(5)
448
448
  }), U = /* @__PURE__ */ function(e) {
449
449
  return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
450
- }({}), nt = d({
450
+ }({}), nt = {
451
+ openai: "OpenAI",
452
+ anthropic: "Anthropic",
453
+ google: "Google"
454
+ };
455
+ function rt(e) {
456
+ let t = e.split("/")[0];
457
+ return Object.prototype.hasOwnProperty.call(nt, t) ? nt[t] : void 0;
458
+ }
459
+ var it = d({
451
460
  maxResults: i().int().min(1).max(20).optional(),
452
461
  maxTokens: i().int().positive().max(1e6).optional(),
453
462
  maxTokensPerPage: i().int().positive().optional(),
@@ -460,7 +469,7 @@ var tt = d({
460
469
  "month",
461
470
  "year"
462
471
  ]).optional()
463
- }), rt = d({
472
+ }), at = d({
464
473
  mode: l(["one-shot", "agentic"]).optional(),
465
474
  maxResults: i().int().min(1).max(20).optional(),
466
475
  sourcePolicy: d({
@@ -473,7 +482,7 @@ var tt = d({
473
482
  maxCharsTotal: i().int().positive().optional()
474
483
  }).optional(),
475
484
  fetchPolicy: d({ maxAgeSeconds: i().int().positive().optional() }).optional()
476
- }), it = d({
485
+ }), ot = d({
477
486
  openai: d({}).optional(),
478
487
  anthropic: d({
479
488
  maxUses: i().int().positive().optional(),
@@ -491,10 +500,10 @@ var tt = d({
491
500
  }), W = d({
492
501
  enabled: u().default(!1),
493
502
  provider: l(U).optional().default(U.Native),
494
- perplexity: nt.optional(),
495
- parallel: rt.optional(),
496
- native: it.optional()
497
- }), G = d({ useAllUserKb: u().default(!1) }), at = d({ useAllUserFiles: u().default(!1) }), ot = d({ tools: c(n()).default([]) }), st = d({
503
+ perplexity: it.optional(),
504
+ parallel: at.optional(),
505
+ native: ot.optional()
506
+ }), st = d({ useAllUserKb: u().default(!1) }), ct = d({ useAllUserFiles: u().default(!1) }), lt = d({ tools: c(n()).default([]) }), ut = d({
498
507
  disabled: c(l(H)).default([
499
508
  H.UserMemory,
500
509
  H.SearchInUserFiles,
@@ -504,10 +513,10 @@ var tt = d({
504
513
  ]),
505
514
  showForm: tt.optional().default(() => tt.parse({})),
506
515
  webSearch: W.optional().default(() => W.parse({})),
507
- userMemory: G.optional().default(() => G.parse({})),
508
- userFiles: at.optional().default(() => at.parse({})),
509
- approval: ot.optional().default(() => ot.parse({}))
510
- }), K = d({
516
+ userMemory: st.optional().default(() => st.parse({})),
517
+ userFiles: ct.optional().default(() => ct.parse({})),
518
+ approval: lt.optional().default(() => lt.parse({}))
519
+ }), G = d({
511
520
  freshness: d({
512
521
  enabled: u().default(!1),
513
522
  scale: i().int().min(86400).max(31536e3).default(7776e3),
@@ -519,7 +528,7 @@ var tt = d({
519
528
  diversity: i().min(0).max(1).default(.3),
520
529
  candidatesLimit: i().int().min(20).max(100).default(50)
521
530
  }).prefault({})
522
- }).prefault({}), ct = d({
531
+ }).prefault({}), dt = d({
523
532
  prompt: n().optional(),
524
533
  temperature: i().min(0).max(2).optional().default(.6),
525
534
  maxOutputTokens: i().positive().optional(),
@@ -529,13 +538,13 @@ var tt = d({
529
538
  limit: i().positive().max(100).optional().default(10),
530
539
  maxStepCount: i().int().min(1).max(40).optional().default(10),
531
540
  reasoning: Le,
532
- ranking: K.optional().default(() => K.parse({}))
533
- }), q = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), lt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", J = /* @__PURE__ */ function(e) {
541
+ ranking: G.optional().default(() => G.parse({}))
542
+ }), K = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), ft = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", q = /* @__PURE__ */ function(e) {
534
543
  return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
535
- }({}), Y = /* @__PURE__ */ function(e) {
544
+ }({}), J = /* @__PURE__ */ function(e) {
536
545
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
537
- }({}), ut = Object.values(Y), dt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
538
- function ft(e) {
546
+ }({}), pt = Object.values(J), mt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
547
+ function ht(e) {
539
548
  let t = e.trim().toLowerCase();
540
549
  if (!t) return "";
541
550
  try {
@@ -544,7 +553,7 @@ function ft(e) {
544
553
  return t;
545
554
  }
546
555
  }
547
- var X = d({
556
+ var Y = d({
548
557
  media: ne.optional(),
549
558
  logo: n().optional(),
550
559
  theme: l([
@@ -559,24 +568,24 @@ var X = d({
559
568
  "black"
560
569
  ]).optional().default("auto"),
561
570
  useColorsForAgentHeader: u().optional().default(!1),
562
- initialMessage: q.optional(),
563
- greeting: c(q).min(1).max(10).optional(),
564
- messagePlaceholder: q.optional(),
565
- dismissableNotice: q.optional(),
566
- footerMessage: q.optional(),
567
- privacyPolicyNotice: q.optional(),
571
+ initialMessage: K.optional(),
572
+ greeting: c(K).min(1).max(10).optional(),
573
+ messagePlaceholder: K.optional(),
574
+ dismissableNotice: K.optional(),
575
+ footerMessage: K.optional(),
576
+ privacyPolicyNotice: K.optional(),
568
577
  interactiveLogin: u().optional().default(!0),
569
578
  welcomePopup: u().optional().default(!1),
570
579
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
571
580
  maxMessageLength: i().int().positive().optional(),
572
- widgetUrl: r().default(lt),
581
+ widgetUrl: r().default(ft),
573
582
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
574
- loaderStrategy: l(J).optional().default(J.InlineModule),
583
+ loaderStrategy: l(q).optional().default(q.InlineModule),
575
584
  customCss: n().optional(),
576
585
  smoothStream: u().optional().default(!1),
577
586
  showExtendedSteps: u().optional().default(!1),
578
- imageHosts: c(n().overwrite(ft).refine((e) => e === "" || dt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
579
- }), pt = [
587
+ imageHosts: c(n().overwrite(ht).refine((e) => e === "" || mt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
588
+ }), gt = [
580
589
  "image/jpeg",
581
590
  "image/png",
582
591
  "image/gif",
@@ -585,19 +594,19 @@ var X = d({
585
594
  "text/plain",
586
595
  "text/markdown",
587
596
  "text/csv"
588
- ], mt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Z = d({
597
+ ], _t = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", X = d({
589
598
  enabled: u().default(!1),
590
599
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
591
- allowedMimeTypes: c(n().regex(re)).optional().default([...pt]),
600
+ allowedMimeTypes: c(n().regex(re)).optional().default([...gt]),
592
601
  maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
593
602
  maxFilesPerChat: i().int().positive().max(50).optional().default(20)
594
- }), Q = d({
603
+ }), Z = d({
595
604
  zeroDataRetention: u().default(!0),
596
605
  disallowPromptTraining: u().default(!0),
597
606
  providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
598
- }), ht = d({ enabled: u().default(!1) }), $ = /* @__PURE__ */ function(e) {
607
+ }), vt = d({ enabled: u().default(!1) }), Q = /* @__PURE__ */ function(e) {
599
608
  return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
600
- }({}), gt = d({ mode: l($).default($.Off) }), _t = d({
609
+ }({}), yt = d({ mode: l(Q).default(Q.Off) }), bt = d({
601
610
  enabled: u().default(!1),
602
611
  voiceId: n().optional(),
603
612
  language: n().min(2).max(5).default("it"),
@@ -616,38 +625,38 @@ var X = d({
616
625
  providerAgentId: n().optional(),
617
626
  providerSecretId: n().optional(),
618
627
  providerApiKeyId: n().optional()
619
- }), vt = d({ enabled: u() });
628
+ }), xt = d({ enabled: u() });
620
629
  d({
621
630
  chatId: n().min(1).optional(),
622
631
  deviceContext: ke.optional(),
623
632
  externalContext: p(n(), f()).optional()
624
633
  });
625
- var yt = d({
634
+ var St = d({
626
635
  sessionId: n(),
627
636
  signedUrl: n(),
628
637
  providerAgentId: n(),
629
638
  chatId: n(),
630
639
  maxSessionSeconds: i().int()
631
- }), bt = d({
640
+ }), Ct = d({
632
641
  voiceId: n(),
633
642
  name: n(),
634
643
  category: n().optional(),
635
644
  previewUrl: n().optional(),
636
645
  labels: p(n(), n()).optional()
637
646
  });
638
- c(bt);
639
- var xt = d({
640
- model: ct,
641
- interface: X,
642
- tools: st.optional().default(() => st.parse({})),
643
- fileUpload: Z.optional().default(() => Z.parse({})),
644
- gatewayOptions: Q.optional().default(() => Q.parse({})),
645
- channels: c(l(Y)).optional().default(() => [...ut]),
647
+ c(Ct);
648
+ var wt = d({
649
+ model: dt,
650
+ interface: Y,
651
+ tools: ut.optional().default(() => ut.parse({})),
652
+ fileUpload: X.optional().default(() => X.parse({})),
653
+ gatewayOptions: Z.optional().default(() => Z.parse({})),
654
+ channels: c(l(J)).optional().default(() => [...pt]),
646
655
  externalContextSchema: ae.optional(),
647
- openaiApi: ht.optional().default(() => ht.parse({})),
648
- voice: _t.optional().default(() => _t.parse({})),
649
- toolWorkingSet: gt.optional().default(() => gt.parse({}))
650
- }), St = d({
656
+ openaiApi: vt.optional().default(() => vt.parse({})),
657
+ voice: bt.optional().default(() => bt.parse({})),
658
+ toolWorkingSet: yt.optional().default(() => yt.parse({}))
659
+ }), Tt = d({
651
660
  rateLimits: d({
652
661
  minuteRateLimit: i().int().min(0).optional(),
653
662
  hourRateLimit: i().int().min(0).optional(),
@@ -664,8 +673,8 @@ d({
664
673
  fallbackModels: c(n()).default([]),
665
674
  status: l(A).default(A.Draft),
666
675
  visibility: l(j).default(j.Organization),
667
- settings: xt,
668
- security: St.nullish(),
676
+ settings: wt,
677
+ security: Tt.nullish(),
669
678
  type: l(M).default(M.Chat),
670
679
  organizationId: n()
671
680
  }), ee(() => d({
@@ -676,8 +685,8 @@ d({
676
685
  fallbackModels: c(n()).nullable().default([]),
677
686
  status: l(A).default(A.Draft),
678
687
  visibility: l(j).default(j.Organization),
679
- settings: xt,
680
- security: St.nullable(),
688
+ settings: wt,
689
+ security: Tt.nullable(),
681
690
  type: l(M).default(M.Chat),
682
691
  organizationId: n(),
683
692
  createdAt: m(),
@@ -690,50 +699,50 @@ d({
690
699
  outOfBudget: u().optional().default(!1),
691
700
  outOfBudgetReason: n().optional().default("")
692
701
  }));
693
- var Ct = d({
702
+ var $ = d({
694
703
  id: n(),
695
704
  name: n(),
696
705
  status: l(A),
697
706
  visibility: l(j),
698
707
  organizationId: n(),
699
- interface: X,
708
+ interface: Y,
700
709
  createdAt: m(),
701
710
  updatedAt: m(),
702
711
  capabilities: d({
703
- fileUpload: Z,
704
- voice: vt
712
+ fileUpload: X,
713
+ voice: xt
705
714
  }),
706
- channels: c(l(Y)).default(() => [...ut])
707
- }), wt = X.pick({
715
+ channels: c(l(J)).default(() => [...pt])
716
+ }), Et = Y.pick({
708
717
  logo: !0,
709
718
  mainColor: !0,
710
719
  textColor: !0,
711
720
  theme: !0,
712
721
  floatingButtonPosition: !0,
713
722
  customCss: !0
714
- }), Tt = Ct.pick({
723
+ }), Dt = $.pick({
715
724
  id: !0,
716
725
  name: !0,
717
726
  organizationId: !0
718
- }).extend({ interface: wt }), Et = d({
727
+ }).extend({ interface: Et }), Ot = d({
719
728
  emailPassword: u(),
720
729
  google: u(),
721
730
  microsoft: u()
722
- }), Dt = d({
731
+ }), kt = d({
723
732
  requiresAuth: s(!1),
724
- agent: Ct,
733
+ agent: $,
725
734
  branding: a()
726
- }), Ot = d({
735
+ }), At = d({
727
736
  requiresAuth: s(!0),
728
737
  agent: a(),
729
- branding: Tt
738
+ branding: Dt
730
739
  });
731
- te("requiresAuth", [Dt, Ot]);
732
- var kt = d({
733
- authMethods: Et,
740
+ te("requiresAuth", [kt, At]);
741
+ var jt = d({
742
+ authMethods: Ot,
734
743
  deploymentBranding: fe.nullish()
735
744
  });
736
- te("requiresAuth", [Dt.extend(kt.shape), Ot.extend(kt.shape)]), d({
745
+ te("requiresAuth", [kt.extend(jt.shape), At.extend(jt.shape)]), d({
737
746
  id: t(),
738
747
  agentIds: c(t())
739
748
  }), d({
@@ -754,6 +763,6 @@ te("requiresAuth", [Dt.extend(kt.shape), Ot.extend(kt.shape)]), d({
754
763
  ...g.ids()
755
764
  });
756
765
  //#endregion
757
- export { Pe as A, we as B, Ue as C, U as D, yt as E, ft as F, h as G, ue as H, ke as I, le as K, b as L, Ke as M, Xe as N, Ge as O, et as P, D as R, mt as S, Qe as T, Te as U, ye as V, me as W, z as _, Z as a, P as b, K as c, $ as d, M as f, We as g, lt as h, Y as i, Je as j, Be as k, Le as l, Ze as m, He as n, Q as o, W as p, g as q, H as r, J as s, F as t, N as u, I as v, Ye as w, L as x, Ve as y, _ as z };
766
+ export { Pe as A, _ as B, Ue as C, U as D, St as E, rt as F, me as G, ye as H, ht as I, g as J, h as K, ke as L, Ke as M, Xe as N, Ge as O, et as P, b as R, _t as S, Qe as T, ue as U, we as V, Te as W, z as _, X as a, P as b, G as c, Q as d, M as f, We as g, ft as h, J as i, Je as j, Be as k, Le as l, Ze as m, He as n, Z as o, W as p, le as q, H as r, q as s, F as t, N as u, I as v, Ye as w, L as x, Ve as y, D as z };
758
767
 
759
- //# sourceMappingURL=Agent-DDm9cCaN.js.map
768
+ //# sourceMappingURL=Agent-DUdd9NbF.js.map