@8wave/ai-elements 0.121.0-beta.35 → 0.121.0-beta.36

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 (123) hide show
  1. package/dist/_chunks/{Agent-BPIcUM9P.js → Agent-C3m0UmlL.js} +21 -3
  2. package/dist/_chunks/Agent-C3m0UmlL.js.map +1 -0
  3. package/dist/_chunks/{PkStreamingMarkdown-C8_9bk_Y.js → PkStreamingMarkdown--PCkA4Fg.js} +3 -3
  4. package/dist/_chunks/{PkStreamingMarkdown-C8_9bk_Y.js.map → PkStreamingMarkdown--PCkA4Fg.js.map} +1 -1
  5. package/dist/_chunks/{PkToolEditSpreadsheet-DM5BCKd2.js → PkToolEditSpreadsheet-DAMWWIVt.js} +2 -2
  6. package/dist/_chunks/{PkToolEditSpreadsheet-DM5BCKd2.js.map → PkToolEditSpreadsheet-DAMWWIVt.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestGeolocation-DnZFIG1Q.js → PkToolRequestGeolocation-BgsvQb7Q.js} +2 -2
  8. package/dist/_chunks/{PkToolRequestGeolocation-DnZFIG1Q.js.map → PkToolRequestGeolocation-BgsvQb7Q.js.map} +1 -1
  9. package/dist/_chunks/{PkToolRequestOAuthConnection-9LX5kQ43.js → PkToolRequestOAuthConnection-DtuZw7yk.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestOAuthConnection-9LX5kQ43.js.map → PkToolRequestOAuthConnection-DtuZw7yk.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowArtifact-2ovT7cCd.js → PkToolShowArtifact-B163OvqY.js} +2 -2
  12. package/dist/_chunks/{PkToolShowArtifact-2ovT7cCd.js.map → PkToolShowArtifact-B163OvqY.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowContactForm-Bkoa-XYM.js → PkToolShowContactForm-C_ptr7Xs.js} +2 -2
  14. package/dist/_chunks/{PkToolShowContactForm-Bkoa-XYM.js.map → PkToolShowContactForm-C_ptr7Xs.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-CvAgDlx8.js → PkToolShowForm-fburTpQm.js} +3 -3
  16. package/dist/_chunks/{PkToolShowForm-CvAgDlx8.js.map → PkToolShowForm-fburTpQm.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowImageGallery-CjA-r8o5.js → PkToolShowImageGallery-ChauJukk.js} +2 -2
  18. package/dist/_chunks/{PkToolShowImageGallery-CjA-r8o5.js.map → PkToolShowImageGallery-ChauJukk.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowProductList-DGPs57sX.js → PkToolShowProductList-B_XZezYw.js} +2 -2
  20. package/dist/_chunks/{PkToolShowProductList-DGPs57sX.js.map → PkToolShowProductList-B_XZezYw.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowSources-BVuYkrXs.js → PkToolShowSources-CS4nEuL0.js} +3 -3
  22. package/dist/_chunks/{PkToolShowSources-BVuYkrXs.js.map → PkToolShowSources-CS4nEuL0.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowSuggestedReply-B869o1YP.js → PkToolShowSuggestedReply-BIe56XdA.js} +2 -2
  24. package/dist/_chunks/{PkToolShowSuggestedReply-B869o1YP.js.map → PkToolShowSuggestedReply-BIe56XdA.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowVideo-DayRkHzW.js → PkToolShowVideo-DzU1XJqv.js} +2 -2
  26. package/dist/_chunks/{PkToolShowVideo-DayRkHzW.js.map → PkToolShowVideo-DzU1XJqv.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowWebPages-DTwnqmP-.js → PkToolShowWebPages-BlKe8Arf.js} +2 -2
  28. package/dist/_chunks/{PkToolShowWebPages-DTwnqmP-.js.map → PkToolShowWebPages-BlKe8Arf.js.map} +1 -1
  29. package/dist/_chunks/{chatImagePolicy-IKP98mdB.js → chatImagePolicy-ChSkpiw6.js} +2 -2
  30. package/dist/_chunks/{chatImagePolicy-IKP98mdB.js.map → chatImagePolicy-ChSkpiw6.js.map} +1 -1
  31. package/dist/_chunks/{markdown-D7lXKAr4.js → markdown-D3iMlF6T.js} +2 -2
  32. package/dist/_chunks/{markdown-D7lXKAr4.js.map → markdown-D3iMlF6T.js.map} +1 -1
  33. package/dist/ai-elements.es.js +76 -34
  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-D70vAgX4.js → Agent-3IHYHv05.js} +153 -137
  47. package/dist-vue/_chunks/Agent-3IHYHv05.js.map +1 -0
  48. package/dist-vue/_chunks/{Document-Bo4xInDb.js → Document-B0A_y6N5.js} +10 -10
  49. package/dist-vue/_chunks/{Document-Bo4xInDb.js.map → Document-B0A_y6N5.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbot-65tNfhpY.js → PkChatbot-Bu76hH4F.js} +8 -8
  51. package/dist-vue/_chunks/{PkChatbot-65tNfhpY.js.map → PkChatbot-Bu76hH4F.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkChatbotEmptyState-CcRoSIb7.js → PkChatbotEmptyState-ilPJoYjk.js} +2 -2
  53. package/dist-vue/_chunks/{PkChatbotEmptyState-CcRoSIb7.js.map → PkChatbotEmptyState-ilPJoYjk.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkChatbotInput-BeXWvNLw.js → PkChatbotInput-CY0YRGkG.js} +2 -2
  55. package/dist-vue/_chunks/{PkChatbotInput-BeXWvNLw.js.map → PkChatbotInput-CY0YRGkG.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkChatbotMessages-BGOyBww5.js → PkChatbotMessages-BfKqJ8n_.js} +20 -20
  57. package/dist-vue/_chunks/{PkChatbotMessages-BGOyBww5.js.map → PkChatbotMessages-BfKqJ8n_.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbotStepPayload-DsqiKy3M.js → PkChatbotStepPayload-CiEcIlzW.js} +2 -2
  59. package/dist-vue/_chunks/{PkChatbotStepPayload-DsqiKy3M.js.map → PkChatbotStepPayload-CiEcIlzW.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bg4IBzGh.js → PkChatbotStepToolDetail-VqLkuWi7.js} +3 -3
  61. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bg4IBzGh.js.map → PkChatbotStepToolDetail-VqLkuWi7.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotSteps-DfeBzC1S.js → PkChatbotSteps-CoDtEaL7.js} +5 -5
  63. package/dist-vue/_chunks/{PkChatbotSteps-DfeBzC1S.js.map → PkChatbotSteps-CoDtEaL7.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotViewChat-Cj3MKRFE.js → PkChatbotViewChat-t-XkwFbe.js} +7 -7
  65. package/dist-vue/_chunks/{PkChatbotViewChat-Cj3MKRFE.js.map → PkChatbotViewChat-t-XkwFbe.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotViewConversations-GqapFcx3.js → PkChatbotViewConversations-CgRMohUQ.js} +3 -3
  67. package/dist-vue/_chunks/{PkChatbotViewConversations-GqapFcx3.js.map → PkChatbotViewConversations-CgRMohUQ.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotViewFiles-B-P6z7eN.js → PkChatbotViewFiles-DkeysDGW.js} +3 -3
  69. package/dist-vue/_chunks/{PkChatbotViewFiles-B-P6z7eN.js.map → PkChatbotViewFiles-DkeysDGW.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotViewProfile-Bbu10IMd.js → PkChatbotViewProfile-kgqu10ED.js} +2 -2
  71. package/dist-vue/_chunks/{PkChatbotViewProfile-Bbu10IMd.js.map → PkChatbotViewProfile-kgqu10ED.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkStreamingMarkdown-BFrymqYD.js → PkStreamingMarkdown-CDlpb5w0.js} +3 -3
  73. package/dist-vue/_chunks/{PkStreamingMarkdown-BFrymqYD.js.map → PkStreamingMarkdown-CDlpb5w0.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolEditSpreadsheet-CfNQMSWR.js → PkToolEditSpreadsheet-D0EPgCmp.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolEditSpreadsheet-CfNQMSWR.js.map → PkToolEditSpreadsheet-D0EPgCmp.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolRequestGeolocation-DvO0z7sQ.js → PkToolRequestGeolocation-DZnJd1od.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolRequestGeolocation-DvO0z7sQ.js.map → PkToolRequestGeolocation-DZnJd1od.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CTqtzwJm.js → PkToolRequestOAuthConnection-C8MGtBlh.js} +2 -2
  79. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CTqtzwJm.js.map → PkToolRequestOAuthConnection-C8MGtBlh.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowArtifact-BKZKi6J4.js → PkToolShowArtifact-CtXB1-vJ.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowArtifact-BKZKi6J4.js.map → PkToolShowArtifact-CtXB1-vJ.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowContactForm-CWpQaNOh.js → PkToolShowContactForm-DlZdfcNw.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowContactForm-CWpQaNOh.js.map → PkToolShowContactForm-DlZdfcNw.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowDiagram-DElkZZVV.js → PkToolShowDiagram-BUUjmUpE.js} +2 -2
  85. package/dist-vue/_chunks/{PkToolShowDiagram-DElkZZVV.js.map → PkToolShowDiagram-BUUjmUpE.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowForm-BnM1fsi4.js → PkToolShowForm-DxiiMSCC.js} +4 -4
  87. package/dist-vue/_chunks/{PkToolShowForm-BnM1fsi4.js.map → PkToolShowForm-DxiiMSCC.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowImageGallery-CzcPqcoS.js → PkToolShowImageGallery-D01aM-9U.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolShowImageGallery-CzcPqcoS.js.map → PkToolShowImageGallery-D01aM-9U.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowProductList-Cpf5SLLk.js → PkToolShowProductList-BRMF3WJf.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowProductList-Cpf5SLLk.js.map → PkToolShowProductList-BRMF3WJf.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowSources-E7BcGvof.js → PkToolShowSources-C0_MwX7m.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolShowSources-E7BcGvof.js.map → PkToolShowSources-C0_MwX7m.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowSuggestedReply-JTMiOpHZ.js → PkToolShowSuggestedReply-BcjKYwbk.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowSuggestedReply-JTMiOpHZ.js.map → PkToolShowSuggestedReply-BcjKYwbk.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowVideo-DFdmzUkS.js → PkToolShowVideo-CjjoQH7j.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolShowVideo-DFdmzUkS.js.map → PkToolShowVideo-CjjoQH7j.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowWebPages-CG_Mq77j.js → PkToolShowWebPages-B5reGh4g.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowWebPages-CG_Mq77j.js.map → PkToolShowWebPages-B5reGh4g.js.map} +1 -1
  100. package/dist-vue/_chunks/{createChatbotApiClient-BTrOwIYi.js → createChatbotApiClient-DcLpptlt.js} +18 -18
  101. package/dist-vue/_chunks/{createChatbotApiClient-BTrOwIYi.js.map → createChatbotApiClient-DcLpptlt.js.map} +1 -1
  102. package/dist-vue/_chunks/{useChatbotStore-KjeThRAo.js → useChatbotStore-BliRphuB.js} +1012 -1012
  103. package/dist-vue/_chunks/{useChatbotStore-KjeThRAo.js.map → useChatbotStore-BliRphuB.js.map} +1 -1
  104. package/dist-vue/_chunks/{utils-Bf29zWlC.js → utils-C7-KrzRE.js} +7 -7
  105. package/dist-vue/_chunks/{utils-Bf29zWlC.js.map → utils-C7-KrzRE.js.map} +1 -1
  106. package/dist-vue/api.js +1 -1
  107. package/dist-vue/composables.js +64 -22
  108. package/dist-vue/composables.js.map +1 -1
  109. package/dist-vue/index.js +5293 -5288
  110. package/dist-vue/index.js.map +1 -1
  111. package/dist-vue/locales.js +4 -12
  112. package/dist-vue/packages/components/src/agentGlyphs.d.ts +5 -4
  113. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +10 -2
  114. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +1 -1
  115. package/dist-vue/packages/models/src/schema/Agent.d.ts +58 -6
  116. package/dist-vue/packages/models/src/schema/Chat.d.ts +1 -1
  117. package/dist-vue/packages/models/src/schema/Invitation.d.ts +1 -1
  118. package/dist-vue/packages/models/src/schema/Lead.d.ts +5 -5
  119. package/dist-vue/packages/models/src/schema/Member.d.ts +4 -1
  120. package/dist-vue/packages/models/src/schema/SignInSecurity.d.ts +1 -1
  121. package/package.json +1 -1
  122. package/dist/_chunks/Agent-BPIcUM9P.js.map +0 -1
  123. package/dist-vue/_chunks/Agent-D70vAgX4.js.map +0 -1
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbot-65tNfhpY.js";
1
+ export { t as default } from "./_chunks/PkChatbot-Bu76hH4F.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotEmptyState-CcRoSIb7.js";
1
+ export { t as default } from "./_chunks/PkChatbotEmptyState-ilPJoYjk.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotInput-BeXWvNLw.js";
1
+ export { t as default } from "./_chunks/PkChatbotInput-CY0YRGkG.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotMessages-BGOyBww5.js";
1
+ export { t as default } from "./_chunks/PkChatbotMessages-BfKqJ8n_.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepPayload-DsqiKy3M.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepPayload-CiEcIlzW.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepToolDetail-Bg4IBzGh.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepToolDetail-VqLkuWi7.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotSteps-DfeBzC1S.js";
1
+ export { t as default } from "./_chunks/PkChatbotSteps-CoDtEaL7.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewChat-Cj3MKRFE.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewChat-t-XkwFbe.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewConversations-GqapFcx3.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewConversations-CgRMohUQ.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewFiles-B-P6z7eN.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewFiles-DkeysDGW.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewProfile-Bbu10IMd.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewProfile-kgqu10ED.js";
@@ -316,8 +316,8 @@ d({
316
316
  var M = /* @__PURE__ */ function(e) {
317
317
  return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
318
318
  }({}), N = /* @__PURE__ */ function(e) {
319
- return e.Public = "public", e.Private = "private", e.Organization = "organization", e;
320
- }({}), P = /* @__PURE__ */ function(e) {
319
+ return e.Public = "public", e.Private = "private", e.Organization = "organization", e.Restricted = "restricted", e;
320
+ }({}), Ge = [N.Organization, N.Restricted], P = /* @__PURE__ */ function(e) {
321
321
  return e.Chat = "chat", e.Reasoning = "reasoning", e;
322
322
  }({}), F = /* @__PURE__ */ function(e) {
323
323
  return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
@@ -328,38 +328,38 @@ var M = /* @__PURE__ */ function(e) {
328
328
  "high",
329
329
  "xhigh",
330
330
  "max"
331
- ], Ge = [
331
+ ], L = [
332
332
  "low",
333
333
  "medium",
334
334
  "high",
335
335
  "xhigh",
336
336
  "max"
337
- ], L = [
337
+ ], R = [
338
338
  "minimal",
339
339
  "low",
340
340
  "medium",
341
341
  "high"
342
- ], R = [
342
+ ], z = [
343
343
  "auto",
344
344
  "detailed",
345
345
  "concise"
346
346
  ], Ke = d({
347
347
  reasoningEffort: l(I).optional(),
348
- reasoningSummary: l(R).optional()
348
+ reasoningSummary: l(z).optional()
349
349
  }), qe = d({
350
350
  type: l([
351
351
  "adaptive",
352
352
  "enabled",
353
353
  "disabled"
354
354
  ]).optional(),
355
- effort: l(Ge).optional(),
355
+ effort: l(L).optional(),
356
356
  display: l(["summarized", "omitted"]).optional(),
357
357
  budgetTokens: i().int().positive().optional()
358
358
  }), Je = d({
359
- thinkingLevel: l(L).optional(),
359
+ thinkingLevel: l(R).optional(),
360
360
  thinkingBudget: i().int().optional(),
361
361
  includeThoughts: u().optional()
362
- }), Ye = d({ type: l(["enabled", "disabled"]).optional() }), z = [
362
+ }), Ye = d({ type: l(["enabled", "disabled"]).optional() }), B = [
363
363
  "alibaba",
364
364
  "meta",
365
365
  "moonshotai",
@@ -368,17 +368,17 @@ var M = /* @__PURE__ */ function(e) {
368
368
  "zai"
369
369
  ];
370
370
  function Xe(e) {
371
- return z.includes(e);
371
+ return B.includes(e);
372
372
  }
373
- var B = [
373
+ var V = [
374
374
  "none",
375
375
  "minimal",
376
376
  "low",
377
377
  "medium",
378
378
  "high",
379
379
  "xhigh"
380
- ], V = d({ reasoningEffort: l(B).optional() });
381
- function H(e, t) {
380
+ ], H = d({ reasoningEffort: l(V).optional() });
381
+ function U(e, t) {
382
382
  return e && t.includes(e) ? e : void 0;
383
383
  }
384
384
  var Ze = d({
@@ -386,12 +386,12 @@ var Ze = d({
386
386
  anthropic: qe.optional(),
387
387
  google: Je.optional(),
388
388
  deepseek: Ye.optional(),
389
- alibaba: V.optional(),
390
- meta: V.optional(),
391
- moonshotai: V.optional(),
392
- spacexai: V.optional(),
393
- xiaomi: V.optional(),
394
- zai: V.optional()
389
+ alibaba: H.optional(),
390
+ meta: H.optional(),
391
+ moonshotai: H.optional(),
392
+ spacexai: H.optional(),
393
+ xiaomi: H.optional(),
394
+ zai: H.optional()
395
395
  });
396
396
  function Qe(e) {
397
397
  if (!e || typeof e != "object") return e;
@@ -400,28 +400,28 @@ function Qe(e) {
400
400
  "anthropic",
401
401
  "google",
402
402
  "deepseek",
403
- ...z
403
+ ...B
404
404
  ].some((e) => e in t);
405
405
  if ("effort" in t && !n) {
406
406
  let e = t.effort, n = t.reasoningSummary, r = {};
407
407
  if (e && e !== "off" && e !== "none") {
408
- let t = H(e, I), i = H(n, R);
408
+ let t = U(e, I), i = U(n, z);
409
409
  (t || i) && (r.openai = {
410
410
  ...t && { reasoningEffort: t },
411
411
  ...i && { reasoningSummary: i }
412
412
  });
413
- let a = H(e, Ge);
413
+ let a = U(e, L);
414
414
  a && (r.anthropic = {
415
415
  type: "adaptive",
416
416
  effort: a
417
417
  });
418
- let o = H(e === "xhigh" || e === "max" ? "high" : e, L);
418
+ let o = U(e === "xhigh" || e === "max" ? "high" : e, R);
419
419
  o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
420
- let s = H(e === "max" ? "xhigh" : e, B);
421
- if (s) for (let e of z) r[e] = { reasoningEffort: s };
420
+ let s = U(e === "max" ? "xhigh" : e, V);
421
+ if (s) for (let e of B) r[e] = { reasoningEffort: s };
422
422
  } else {
423
423
  r.openai = { reasoningEffort: "none" }, r.anthropic = { type: "disabled" }, r.google = { thinkingLevel: "minimal" }, r.deepseek = { type: "disabled" };
424
- for (let e of z) r[e] = { reasoningEffort: "none" };
424
+ for (let e of B) r[e] = { reasoningEffort: "none" };
425
425
  }
426
426
  return r;
427
427
  }
@@ -448,42 +448,42 @@ function nt(e, t) {
448
448
  let n = t?.[e];
449
449
  return tt(n) ? n : et[e];
450
450
  }
451
- var U = /* @__PURE__ */ function(e) {
451
+ var W = /* @__PURE__ */ function(e) {
452
452
  return e.Geocode = "geocode", e.GetWeather = "getWeather", e.ReadDocumentFile = "readDocumentFile", e.RequestConfirm = "requestConfirm", e.RequestGeolocation = "requestGeolocation", e.RetrieveRevisedAnswers = "retrieveRevisedAnswers", e.SearchInKnowledgeBase = "searchInKnowledgeBase", e.SearchInUserFiles = "searchInUserFiles", e.UserMemory = "userMemory", e.Spreadsheet = "spreadsheet", e.QuerySpreadsheet = "querySpreadsheet", e.RunWorker = "runWorker", e.ScheduleWakeup = "scheduleWakeup", e.ShareDocument = "shareDocument", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowComparison = "showComparison", e.ShowContactForm = "showContactForm", e.ShowDiagram = "showDiagram", e.ShowEmail = "showEmail", e.ShowImageGallery = "showImageGallery", e.ShowLocation = "showLocation", e.ShowMessage = "showMessage", e.ShowForm = "showForm", e.ShowProductList = "showProductList", e.ShowQrCode = "showQrCode", e.ShowSources = "showSources", e.ShowSuggestedReply = "showSuggestedReply", e.ShowVideo = "showVideo", e.ShowWeather = "showWeather", e.ShowWebPages = "showWebPages", e.ShowMultipleChoice = "showMultipleChoice", e;
453
453
  }({}), rt = "mcp-", it = "api-", at = "subagent-", ot = "enableTools";
454
454
  function st(e) {
455
- return !ct(e) && e !== U.RequestGeolocation;
455
+ return !ct(e) && e !== W.RequestGeolocation;
456
456
  }
457
457
  function ct(e) {
458
- return e === U.RequestConfirm || e === U.ShowArtifact || e === U.ShowCalendarEvent || e === U.ShowComparison || e === U.ShowContactForm || e === U.ShowDiagram || e === U.ShowEmail || e === U.ShowImageGallery || e === U.ShowLocation || e === U.ShowMessage || e === U.ShowForm || e === U.ShowMultipleChoice || e === U.ShowProductList || e === U.ShowQrCode || e === U.ShowSources || e === U.ShowSuggestedReply || e === U.ShowVideo || e === U.ShowWeather || e === U.ShowWebPages;
458
+ return e === W.RequestConfirm || e === W.ShowArtifact || e === W.ShowCalendarEvent || e === W.ShowComparison || e === W.ShowContactForm || e === W.ShowDiagram || e === W.ShowEmail || e === W.ShowImageGallery || e === W.ShowLocation || e === W.ShowMessage || e === W.ShowForm || e === W.ShowMultipleChoice || e === W.ShowProductList || e === W.ShowQrCode || e === W.ShowSources || e === W.ShowSuggestedReply || e === W.ShowVideo || e === W.ShowWeather || e === W.ShowWebPages;
459
459
  }
460
460
  var lt = /* @__PURE__ */ new Set([
461
- U.RequestConfirm,
462
- U.ShowArtifact,
463
- U.ShowWeather,
464
- U.ShowLocation,
465
- U.ShowComparison,
466
- U.ShowProductList,
467
- U.ShowWebPages,
468
- U.ShowImageGallery,
469
- U.ShowVideo,
470
- U.ShowSources,
471
- U.ShowSuggestedReply,
472
- U.ShowCalendarEvent,
473
- U.ShowEmail,
474
- U.ShowMessage,
475
- U.ShowForm,
461
+ W.RequestConfirm,
462
+ W.ShowArtifact,
463
+ W.ShowWeather,
464
+ W.ShowLocation,
465
+ W.ShowComparison,
466
+ W.ShowProductList,
467
+ W.ShowWebPages,
468
+ W.ShowImageGallery,
469
+ W.ShowVideo,
470
+ W.ShowSources,
471
+ W.ShowSuggestedReply,
472
+ W.ShowCalendarEvent,
473
+ W.ShowEmail,
474
+ W.ShowMessage,
475
+ W.ShowForm,
476
476
  "editSpreadsheet",
477
- U.ShareDocument
477
+ W.ShareDocument
478
478
  ]);
479
479
  function ut(e) {
480
480
  return lt.has(e);
481
481
  }
482
482
  var dt = /* @__PURE__ */ new Set([
483
- U.RequestConfirm,
484
- U.RequestGeolocation,
485
- U.ShowForm,
486
- U.ShowMultipleChoice,
483
+ W.RequestConfirm,
484
+ W.RequestGeolocation,
485
+ W.ShowForm,
486
+ W.ShowMultipleChoice,
487
487
  "requestOAuthConnection"
488
488
  ]);
489
489
  function ft(e) {
@@ -492,26 +492,26 @@ function ft(e) {
492
492
  var pt = /* @__PURE__ */ function(e) {
493
493
  return e.Web = "web", e.Platform = "platform", e.OpenAiApi = "openai-api", e.Voice = "voice", e;
494
494
  }({}), mt = /* @__PURE__ */ new Set([
495
- U.RequestConfirm,
496
- U.RequestGeolocation,
497
- U.ShowArtifact,
498
- U.ShowCalendarEvent,
499
- U.ShowContactForm,
500
- U.ShowComparison,
501
- U.ShowDiagram,
502
- U.ShowEmail,
503
- U.ShowForm,
504
- U.ShowImageGallery,
505
- U.ShowLocation,
506
- U.ShowMessage,
507
- U.ShowMultipleChoice,
508
- U.ShowProductList,
509
- U.ShowQrCode,
510
- U.ShowSources,
511
- U.ShowSuggestedReply,
512
- U.ShowVideo,
513
- U.ShowWeather,
514
- U.ShowWebPages
495
+ W.RequestConfirm,
496
+ W.RequestGeolocation,
497
+ W.ShowArtifact,
498
+ W.ShowCalendarEvent,
499
+ W.ShowContactForm,
500
+ W.ShowComparison,
501
+ W.ShowDiagram,
502
+ W.ShowEmail,
503
+ W.ShowForm,
504
+ W.ShowImageGallery,
505
+ W.ShowLocation,
506
+ W.ShowMessage,
507
+ W.ShowMultipleChoice,
508
+ W.ShowProductList,
509
+ W.ShowQrCode,
510
+ W.ShowSources,
511
+ W.ShowSuggestedReply,
512
+ W.ShowVideo,
513
+ W.ShowWeather,
514
+ W.ShowWebPages
515
515
  ]), ht = "Shown on the caller's screen";
516
516
  function gt(e) {
517
517
  return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(ht));
@@ -519,7 +519,7 @@ function gt(e) {
519
519
  var _t = d({
520
520
  maxSteps: i().int().min(1).max(10).optional().default(5),
521
521
  maxOptionsPerStep: i().int().min(2).max(10).optional().default(5)
522
- }), W = /* @__PURE__ */ function(e) {
522
+ }), G = /* @__PURE__ */ function(e) {
523
523
  return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
524
524
  }({}), vt = {
525
525
  openai: "OpenAI",
@@ -577,27 +577,27 @@ var bt = [
577
577
  }).optional()
578
578
  }).optional(),
579
579
  google: d({}).optional()
580
- }), G = d({
580
+ }), K = d({
581
581
  enabled: u().default(!1),
582
- provider: l(W).optional().default(W.Native),
582
+ provider: l(G).optional().default(G.Native),
583
583
  perplexity: xt.optional(),
584
584
  parallel: St.optional(),
585
585
  native: Ct.optional()
586
586
  }), wt = d({ useAllUserKb: u().default(!1) }), Tt = d({ useAllUserFiles: u().default(!1) }), Et = d({ enabled: u().default(!1) }), Dt = d({ tools: c(n()).default([]) }), Ot = d({
587
- disabled: c(l(U)).default([
588
- U.UserMemory,
589
- U.SearchInUserFiles,
590
- U.RunWorker,
591
- U.FetchTeamsChannelHistory,
592
- U.ScheduleWakeup
587
+ disabled: c(l(W)).default([
588
+ W.UserMemory,
589
+ W.SearchInUserFiles,
590
+ W.RunWorker,
591
+ W.FetchTeamsChannelHistory,
592
+ W.ScheduleWakeup
593
593
  ]),
594
594
  showForm: _t.optional().default(() => _t.parse({})),
595
- webSearch: G.optional().default(() => G.parse({})),
595
+ webSearch: K.optional().default(() => K.parse({})),
596
596
  userMemory: wt.optional().default(() => wt.parse({})),
597
597
  userFiles: Tt.optional().default(() => Tt.parse({})),
598
598
  shareDocument: Et.optional().default(() => Et.parse({})),
599
599
  approval: Dt.optional().default(() => Dt.parse({}))
600
- }), K = d({
600
+ }), q = d({
601
601
  freshness: d({
602
602
  enabled: u().default(!1),
603
603
  scale: i().int().min(86400).max(31536e3).default(7776e3),
@@ -619,16 +619,16 @@ var bt = [
619
619
  limit: i().positive().max(100).optional().default(10),
620
620
  maxStepCount: i().int().min(1).max(40).optional().default(10),
621
621
  reasoning: $e,
622
- ranking: K.optional().default(() => K.parse({}))
623
- }), q = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), At = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", J = /* @__PURE__ */ function(e) {
622
+ ranking: q.optional().default(() => q.parse({}))
623
+ }), J = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), At = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Y = /* @__PURE__ */ function(e) {
624
624
  return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
625
- }({}), Y = /* @__PURE__ */ function(e) {
626
- return e.Floating = "floating", e.Copilot = "copilot", e;
627
625
  }({}), X = /* @__PURE__ */ function(e) {
628
- return e.Solid = "solid", e.Glass = "glass", e;
626
+ return e.Floating = "floating", e.Copilot = "copilot", e;
629
627
  }({}), Z = /* @__PURE__ */ function(e) {
628
+ return e.Solid = "solid", e.Glass = "glass", e;
629
+ }({}), Q = /* @__PURE__ */ function(e) {
630
630
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
631
- }({}), jt = Object.values(Z), Mt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
631
+ }({}), jt = Object.values(Q), Mt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
632
632
  function Nt(e) {
633
633
  let t = e.trim().toLowerCase();
634
634
  if (!t) return "";
@@ -638,7 +638,7 @@ function Nt(e) {
638
638
  return t;
639
639
  }
640
640
  }
641
- var Q = d({
641
+ var Pt = d({
642
642
  media: ne.optional(),
643
643
  logo: n().optional(),
644
644
  theme: l([
@@ -653,29 +653,29 @@ var Q = d({
653
653
  "black"
654
654
  ]).optional().default("auto"),
655
655
  useColorsForAgentHeader: u().optional().default(!1),
656
- initialMessage: q.optional(),
657
- greeting: c(q).min(1).max(10).optional(),
658
- messagePlaceholder: q.optional(),
659
- dismissableNotice: q.optional(),
660
- footerMessage: q.optional(),
661
- privacyPolicyNotice: q.optional(),
656
+ initialMessage: J.optional(),
657
+ greeting: c(J).min(1).max(10).optional(),
658
+ messagePlaceholder: J.optional(),
659
+ dismissableNotice: J.optional(),
660
+ footerMessage: J.optional(),
661
+ privacyPolicyNotice: J.optional(),
662
662
  interactiveLogin: u().optional().default(!0),
663
663
  welcomePopup: u().optional().default(!1),
664
664
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
665
- layout: l(Y).optional().default(Y.Floating),
666
- appearance: l(X).optional().default(X.Solid),
665
+ layout: l(X).optional().default(X.Floating),
666
+ appearance: l(Z).optional().default(Z.Solid),
667
667
  hideFloatingButton: u().optional().default(!1),
668
668
  workingGlow: u().optional().default(!0),
669
669
  copilotPageCss: n().optional(),
670
670
  maxMessageLength: i().int().positive().optional(),
671
671
  widgetUrl: r().default(At),
672
672
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
673
- loaderStrategy: l(J).optional().default(J.InlineModule),
673
+ loaderStrategy: l(Y).optional().default(Y.InlineModule),
674
674
  customCss: n().optional(),
675
675
  smoothStream: u().optional().default(!1),
676
676
  showExtendedSteps: u().optional().default(!1),
677
677
  imageHosts: c(n().overwrite(Nt).refine((e) => e === "" || Mt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
678
- }), Pt = [
678
+ }), Ft = [
679
679
  "image/jpeg",
680
680
  "image/png",
681
681
  "image/gif",
@@ -684,19 +684,19 @@ var Q = d({
684
684
  "text/plain",
685
685
  "text/markdown",
686
686
  "text/csv"
687
- ], Ft = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $ = d({
687
+ ], It = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", $ = d({
688
688
  enabled: u().default(!1),
689
689
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
690
- allowedMimeTypes: c(n().regex(re)).optional().default([...Pt]),
690
+ allowedMimeTypes: c(n().regex(re)).optional().default([...Ft]),
691
691
  maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
692
692
  maxFilesPerChat: i().int().positive().max(50).optional().default(20)
693
- }), It = d({
693
+ }), Lt = d({
694
694
  zeroDataRetention: u().default(!0),
695
695
  disallowPromptTraining: u().default(!0),
696
696
  providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
697
- }), Lt = d({ enabled: u().default(!1) }), Rt = /* @__PURE__ */ function(e) {
697
+ }), Rt = d({ enabled: u().default(!1) }), zt = /* @__PURE__ */ function(e) {
698
698
  return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
699
- }({}), zt = d({ mode: l(Rt).default(Rt.Off) }), Bt = d({
699
+ }({}), Bt = d({ mode: l(zt).default(zt.Off) }), Vt = d({
700
700
  enabled: u().default(!1),
701
701
  voiceId: n().optional(),
702
702
  language: n().min(2).max(5).default("it"),
@@ -715,40 +715,40 @@ var Q = d({
715
715
  providerAgentId: n().optional(),
716
716
  providerSecretId: n().optional(),
717
717
  providerApiKeyId: n().optional()
718
- }), Vt = d({ enabled: u() });
718
+ }), Ht = d({ enabled: u() });
719
719
  d({
720
720
  chatId: n().min(1).optional(),
721
721
  deviceContext: ke.optional(),
722
722
  externalContext: p(n(), f()).optional()
723
723
  });
724
- var Ht = d({
724
+ var Ut = d({
725
725
  sessionId: n(),
726
726
  signedUrl: n(),
727
727
  providerAgentId: n(),
728
728
  chatId: n(),
729
729
  maxSessionSeconds: i().int()
730
- }), Ut = d({
730
+ }), Wt = d({
731
731
  voiceId: n(),
732
732
  name: n(),
733
733
  category: n().optional(),
734
734
  previewUrl: n().optional(),
735
735
  labels: p(n(), n()).optional()
736
736
  });
737
- c(Ut);
738
- var Wt = d({
737
+ c(Wt);
738
+ var Gt = d({
739
739
  model: kt,
740
- interface: Q,
740
+ interface: Pt,
741
741
  tools: Ot.optional().default(() => Ot.parse({})),
742
742
  fileUpload: $.optional().default(() => $.parse({})),
743
- gatewayOptions: It.optional().default(() => It.parse({})),
744
- channels: c(l(Z)).optional().default(() => [...jt]),
743
+ gatewayOptions: Lt.optional().default(() => Lt.parse({})),
744
+ channels: c(l(Q)).optional().default(() => [...jt]),
745
745
  externalContextSchema: ae.optional(),
746
- openaiApi: Lt.optional().default(() => Lt.parse({})),
747
- voice: Bt.optional().default(() => Bt.parse({})),
748
- toolWorkingSet: zt.optional().default(() => zt.parse({})),
746
+ openaiApi: Rt.optional().default(() => Rt.parse({})),
747
+ voice: Vt.optional().default(() => Vt.parse({})),
748
+ toolWorkingSet: Bt.optional().default(() => Bt.parse({})),
749
749
  hostTools: Ne.optional(),
750
750
  pageAccess: Ve.optional()
751
- }), Gt = d({
751
+ }), Kt = d({
752
752
  rateLimits: d({
753
753
  minuteRateLimit: i().int().min(0).optional(),
754
754
  hourRateLimit: i().int().min(0).optional(),
@@ -765,8 +765,8 @@ d({
765
765
  fallbackModels: c(n()).default([]),
766
766
  status: l(M).default(M.Draft),
767
767
  visibility: l(N).default(N.Organization),
768
- settings: Wt,
769
- security: Gt.nullish(),
768
+ settings: Gt,
769
+ security: Kt.nullish(),
770
770
  type: l(P).default(P.Chat),
771
771
  organizationId: n()
772
772
  }), ee(() => d({
@@ -777,8 +777,8 @@ d({
777
777
  fallbackModels: c(n()).nullable().default([]),
778
778
  status: l(M).default(M.Draft),
779
779
  visibility: l(N).default(N.Organization),
780
- settings: Wt,
781
- security: Gt.nullable(),
780
+ settings: Gt,
781
+ security: Kt.nullable(),
782
782
  type: l(P).default(P.Chat),
783
783
  organizationId: n(),
784
784
  createdAt: m(),
@@ -791,23 +791,23 @@ d({
791
791
  outOfBudget: u().optional().default(!1),
792
792
  outOfBudgetReason: n().optional().default("")
793
793
  }));
794
- var Kt = d({
794
+ var qt = d({
795
795
  id: n(),
796
796
  name: n(),
797
797
  status: l(M),
798
798
  visibility: l(N),
799
799
  organizationId: n(),
800
- interface: Q,
800
+ interface: Pt,
801
801
  createdAt: m(),
802
802
  updatedAt: m(),
803
803
  capabilities: d({
804
804
  fileUpload: $,
805
- voice: Vt,
805
+ voice: Ht,
806
806
  hostTools: Pe.optional(),
807
807
  pageAccess: We.optional()
808
808
  }),
809
- channels: c(l(Z)).default(() => [...jt])
810
- }), qt = Q.pick({
809
+ channels: c(l(Q)).default(() => [...jt])
810
+ }), Jt = Pt.pick({
811
811
  logo: !0,
812
812
  mainColor: !0,
813
813
  textColor: !0,
@@ -818,39 +818,55 @@ var Kt = d({
818
818
  hideFloatingButton: !0,
819
819
  copilotPageCss: !0,
820
820
  customCss: !0
821
- }), Jt = Kt.pick({
821
+ }), Yt = qt.pick({
822
822
  id: !0,
823
823
  name: !0,
824
824
  organizationId: !0
825
- }).extend({ interface: qt }), Yt = d({
825
+ }).extend({ interface: Jt }), Xt = d({
826
826
  emailPassword: u(),
827
827
  google: u(),
828
828
  microsoft: u()
829
- }), Xt = d({
829
+ }), Zt = d({
830
830
  requiresAuth: s(!1),
831
- agent: Kt,
831
+ agent: qt,
832
832
  branding: a()
833
- }), Zt = d({
833
+ }), Qt = d({
834
834
  requiresAuth: s(!0),
835
835
  agent: a(),
836
- branding: Jt
836
+ branding: Yt
837
837
  });
838
- te("requiresAuth", [Xt, Zt]);
839
- var Qt = d({
838
+ te("requiresAuth", [Zt, Qt]);
839
+ var $t = d({
840
840
  frontendUrl: n().optional(),
841
841
  telemetry: d({
842
842
  environment: n(),
843
843
  samplingRate: i().min(0).max(1)
844
844
  }).nullable()
845
- }), $t = d({
846
- authMethods: Yt,
845
+ }), en = d({
846
+ authMethods: Xt,
847
847
  deploymentBranding: fe.nullish(),
848
- deployment: Qt.optional()
848
+ deployment: $t.optional()
849
849
  });
850
- te("requiresAuth", [Xt.extend($t.shape), Zt.extend($t.shape)]), d({
850
+ te("requiresAuth", [Zt.extend(en.shape), Qt.extend(en.shape)]), d({
851
851
  id: t(),
852
852
  limited: u(),
853
853
  agentIds: c(t())
854
+ });
855
+ var tn = d({
856
+ userId: t(),
857
+ name: n(),
858
+ email: n(),
859
+ manager: u(),
860
+ limited: u(),
861
+ enabled: u(),
862
+ uses: u()
863
+ });
864
+ d({
865
+ id: t(),
866
+ members: c(tn)
867
+ }), d({
868
+ id: t(),
869
+ userIds: c(t())
854
870
  }), d({
855
871
  ...g.pagination(),
856
872
  ...g.sort([
@@ -869,6 +885,6 @@ te("requiresAuth", [Xt.extend($t.shape), Zt.extend($t.shape)]), d({
869
885
  ...g.ids()
870
886
  });
871
887
  //#endregion
872
- export { we as $, st as A, He as B, Ft as C, Ht as D, mt as E, ft as F, Le as G, Be as H, gt as I, Fe as J, Ae as K, yt as L, Xe as M, ut as N, bt as O, ct as P, _ as Q, Nt as R, R as S, dt as T, ze as U, Ue as V, A as W, b as X, ke as Y, D as Z, ot as _, $ as a, le as at, rt as b, K as c, Rt as d, ye as et, P 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, Te as nt, It as o, g as ot, G as p, Ie as q, U as r, me as rt, J as s, Ge as t, ue as tt, F as u, B as v, at as w, I as x, L as y, j as z };
888
+ export { D as $, bt as A, Nt as B, I as C, dt as D, at as E, ut as F, ze as G, He as H, ct as I, Ae as J, A as K, ft as L, st as M, nt as N, mt as O, Xe as P, b as Q, gt as R, Ge as S, It as T, Ue as U, j as V, Be as W, Fe as X, Ie as Y, ke as Z, pt as _, $ as a, me as at, R as b, q as c, g as ct, zt as d, _ as et, P as f, X as g, Z as h, Q as i, Te as it, G as j, Ut as k, $e as l, K as m, it as n, ye as nt, Lt as o, h as ot, N as p, Le as q, W as r, ue as rt, Y as s, le as st, L as t, we as tt, F as u, ot as v, z as w, rt as x, V as y, yt as z };
873
889
 
874
- //# sourceMappingURL=Agent-D70vAgX4.js.map
890
+ //# sourceMappingURL=Agent-3IHYHv05.js.map