@8wave/ai-elements 0.111.0-beta.3 → 0.111.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 (150) hide show
  1. package/dist/_chunks/{Agent-Su_LDF9_.js → Agent-tE7ZJPxG.js} +80 -78
  2. package/dist/_chunks/Agent-tE7ZJPxG.js.map +1 -0
  3. package/dist/_chunks/{Document-DecVclEe.js → Document-Bmx6774B.js} +33 -21
  4. package/dist/_chunks/Document-Bmx6774B.js.map +1 -0
  5. package/dist/_chunks/Media-Cft7Pwrh.js +108 -0
  6. package/dist/_chunks/Media-Cft7Pwrh.js.map +1 -0
  7. package/dist/_chunks/{PkStreamingMarkdown-CwqsJnJJ.js → PkStreamingMarkdown-DgBS4Ebc.js} +69 -59
  8. package/dist/_chunks/PkStreamingMarkdown-DgBS4Ebc.js.map +1 -0
  9. package/dist/_chunks/{PkToolRequestGeolocation-OokLeTf1.js → PkToolRequestGeolocation-pVys3x9M.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestGeolocation-OokLeTf1.js.map → PkToolRequestGeolocation-pVys3x9M.js.map} +1 -1
  11. package/dist/_chunks/{PkToolRequestOAuthConnection-CtqKG6Yb.js → PkToolRequestOAuthConnection-BGChb_eC.js} +2 -2
  12. package/dist/_chunks/{PkToolRequestOAuthConnection-CtqKG6Yb.js.map → PkToolRequestOAuthConnection-BGChb_eC.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js → PkToolShowArtifact-CkTBIdQd.js} +2 -2
  14. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js.map → PkToolShowArtifact-CkTBIdQd.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowContactForm-D_dW59Dl.js → PkToolShowContactForm-Du7jX7K5.js} +2 -2
  16. package/dist/_chunks/{PkToolShowContactForm-D_dW59Dl.js.map → PkToolShowContactForm-Du7jX7K5.js.map} +1 -1
  17. package/dist/_chunks/PkToolShowDiagram-BdmG9gm8.js.map +1 -1
  18. package/dist/_chunks/{PkToolShowForm-DbJHMDbt.js → PkToolShowForm-Du2nk7pq.js} +3 -3
  19. package/dist/_chunks/PkToolShowForm-Du2nk7pq.js.map +1 -0
  20. package/dist/_chunks/{PkToolShowSources-Dot-W0Mj.js → PkToolShowSources-CsHLUF4L.js} +3 -3
  21. package/dist/_chunks/{PkToolShowSources-Dot-W0Mj.js.map → PkToolShowSources-CsHLUF4L.js.map} +1 -1
  22. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js → PkToolShowSuggestedReply-D7g_qymH.js} +2 -2
  23. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js.map → PkToolShowSuggestedReply-D7g_qymH.js.map} +1 -1
  24. package/dist/_chunks/PkToolShowWeather-LPd3tC77.js.map +1 -1
  25. package/dist/_chunks/PkUrl-BPbjZJ1A.js.map +1 -1
  26. package/dist/_chunks/{browser-NgY6LXg-.js → browser-B0Xnbqi7.js} +726 -751
  27. package/dist/_chunks/browser-B0Xnbqi7.js.map +1 -0
  28. package/dist/_chunks/text-DbSEK8si.js.map +1 -1
  29. package/dist/_chunks/utils-YJ0ZOLDG.js.map +1 -1
  30. package/dist/ai-elements.es.js +3010 -3052
  31. package/dist/ai-elements.es.js.map +1 -1
  32. package/dist-vue/PkChatbot.js +1 -1
  33. package/dist-vue/PkChatbotEmptyState.js +1 -1
  34. package/dist-vue/PkChatbotError.js +1 -1
  35. package/dist-vue/PkChatbotInput.js +1 -1
  36. package/dist-vue/PkChatbotMessages.js +1 -1
  37. package/dist-vue/PkChatbotSteps.js +1 -1
  38. package/dist-vue/PkChatbotViewChat.js +1 -1
  39. package/dist-vue/PkChatbotViewConversations.js +1 -1
  40. package/dist-vue/PkChatbotViewFiles.js +1 -1
  41. package/dist-vue/PkChatbotViewProfile.js +1 -1
  42. package/dist-vue/_chunks/{Agent-C8BsTAxk.js → Agent-De2gFNjR.js} +165 -176
  43. package/dist-vue/_chunks/Agent-De2gFNjR.js.map +1 -0
  44. package/dist-vue/_chunks/{Document-CaUfI_SZ.js → Document-8umjeTVS.js} +84 -72
  45. package/dist-vue/_chunks/Document-8umjeTVS.js.map +1 -0
  46. package/dist-vue/_chunks/Media-_HfFLHGD.js.map +1 -1
  47. package/dist-vue/_chunks/{PkChatbot-BPKSPIeC.js → PkChatbot-Di7R2CWN.js} +7 -7
  48. package/dist-vue/_chunks/PkChatbot-Di7R2CWN.js.map +1 -0
  49. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js → PkChatbotEmptyState-C_ITdvH7.js} +2 -2
  50. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js.map → PkChatbotEmptyState-C_ITdvH7.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkChatbotError-CBP2mf-n.js → PkChatbotError-gvDpRcEz.js} +21 -19
  52. package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js.map +1 -0
  53. package/dist-vue/_chunks/{PkChatbotInput-JnHaRlfk.js → PkChatbotInput-pEl3D2O-.js} +139 -124
  54. package/dist-vue/_chunks/PkChatbotInput-pEl3D2O-.js.map +1 -0
  55. package/dist-vue/_chunks/{PkChatbotMessages-DAlkoMkY.js → PkChatbotMessages-CGALOKwe.js} +17 -17
  56. package/dist-vue/_chunks/PkChatbotMessages-CGALOKwe.js.map +1 -0
  57. package/dist-vue/_chunks/{PkChatbotSteps-rommD48p.js → PkChatbotSteps-BhFupvbz.js} +2 -2
  58. package/dist-vue/_chunks/{PkChatbotSteps-rommD48p.js.map → PkChatbotSteps-BhFupvbz.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkChatbotViewChat-CEqzF1G9.js → PkChatbotViewChat-DT-rAU_r.js} +6 -6
  60. package/dist-vue/_chunks/{PkChatbotViewChat-CEqzF1G9.js.map → PkChatbotViewChat-DT-rAU_r.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkChatbotViewConversations-C787v5ll.js → PkChatbotViewConversations-3LaZPFyw.js} +2 -2
  62. package/dist-vue/_chunks/{PkChatbotViewConversations-C787v5ll.js.map → PkChatbotViewConversations-3LaZPFyw.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkChatbotViewFiles-CNFLt8YO.js → PkChatbotViewFiles-CTqnbsCj.js} +3 -3
  64. package/dist-vue/_chunks/{PkChatbotViewFiles-CNFLt8YO.js.map → PkChatbotViewFiles-CTqnbsCj.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkChatbotViewProfile-7p0ci3qm.js → PkChatbotViewProfile-B-Mp1jGQ.js} +2 -2
  66. package/dist-vue/_chunks/{PkChatbotViewProfile-7p0ci3qm.js.map → PkChatbotViewProfile-B-Mp1jGQ.js.map} +1 -1
  67. package/dist-vue/_chunks/PkRelativeTime--1cIphlA.js.map +1 -1
  68. package/dist-vue/_chunks/{PkStreamingMarkdown-D8_LwZMR.js → PkStreamingMarkdown-DIaZEedG.js} +406 -396
  69. package/dist-vue/_chunks/PkStreamingMarkdown-DIaZEedG.js.map +1 -0
  70. package/dist-vue/_chunks/PkSvgViewer-D-0M5bqg.js.map +1 -1
  71. package/dist-vue/_chunks/{PkToolRequestGeolocation-Bxqz9oSo.js → PkToolRequestGeolocation-Q3N3jlO8.js} +2 -2
  72. package/dist-vue/_chunks/{PkToolRequestGeolocation-Bxqz9oSo.js.map → PkToolRequestGeolocation-Q3N3jlO8.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C6rXgb0s.js → PkToolRequestOAuthConnection-C0LW5Evp.js} +2 -2
  74. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C6rXgb0s.js.map → PkToolRequestOAuthConnection-C0LW5Evp.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js → PkToolShowArtifact-BCCUucVQ.js} +2 -2
  76. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js.map → PkToolShowArtifact-BCCUucVQ.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolShowContactForm-DHmzAIVF.js → PkToolShowContactForm-BXGxWSc2.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolShowContactForm-DHmzAIVF.js.map → PkToolShowContactForm-BXGxWSc2.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkToolShowDiagram-dwCVZ1up.js → PkToolShowDiagram-CZgrWvBr.js} +2 -2
  80. package/dist-vue/_chunks/PkToolShowDiagram-CZgrWvBr.js.map +1 -0
  81. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js → PkToolShowEmail-DpC517Vn.js} +2 -2
  82. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js.map → PkToolShowEmail-DpC517Vn.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkToolShowForm-CO5A_j9L.js → PkToolShowForm-CIZpfAGK.js} +3 -3
  84. package/dist-vue/_chunks/PkToolShowForm-CIZpfAGK.js.map +1 -0
  85. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js → PkToolShowMessage-B7flxVCU.js} +2 -2
  86. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js.map → PkToolShowMessage-B7flxVCU.js.map} +1 -1
  87. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js → PkToolShowProductList-B6fRtIpx.js} +2 -2
  88. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js.map → PkToolShowProductList-B6fRtIpx.js.map} +1 -1
  89. package/dist-vue/_chunks/{PkToolShowSources-7Q5Iogxi.js → PkToolShowSources-DDZokZow.js} +4 -4
  90. package/dist-vue/_chunks/{PkToolShowSources-7Q5Iogxi.js.map → PkToolShowSources-DDZokZow.js.map} +1 -1
  91. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js → PkToolShowSuggestedReply-DWLkUh2L.js} +2 -2
  92. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js.map → PkToolShowSuggestedReply-DWLkUh2L.js.map} +1 -1
  93. package/dist-vue/_chunks/PkToolShowWeather-Bzqalzh8.js.map +1 -1
  94. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js → PkToolShowWebPages-DY48ee6V.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js.map → PkToolShowWebPages-DY48ee6V.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkUrl-xUBKVJCv.js → PkUrl-DSGxrEM7.js} +2 -2
  97. package/dist-vue/_chunks/PkUrl-DSGxrEM7.js.map +1 -0
  98. package/dist-vue/_chunks/{createChatbotApiClient-D9f69brW.js → createChatbotApiClient-MkaPbGWB.js} +2 -2
  99. package/dist-vue/_chunks/createChatbotApiClient-MkaPbGWB.js.map +1 -0
  100. package/dist-vue/_chunks/{useChatbotStore-9Cw_oR6J.js → useChatbotStore-BzfqjiYz.js} +6 -3
  101. package/dist-vue/_chunks/useChatbotStore-BzfqjiYz.js.map +1 -0
  102. package/dist-vue/_chunks/useDialogConfirm-KWz0ohCQ.js.map +1 -1
  103. package/dist-vue/_chunks/utils-Coqik0XI.js.map +1 -1
  104. package/dist-vue/api.js +1 -1
  105. package/dist-vue/composables.js +2 -2
  106. package/dist-vue/index.js +3858 -3490
  107. package/dist-vue/index.js.map +1 -1
  108. package/dist-vue/locales.js +36 -8
  109. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +20 -3
  110. package/dist-vue/packages/components/src/chat/PkChatButton.d.ts +3 -2
  111. package/dist-vue/packages/components/src/chat/PkLanguageModel.d.ts +26 -2
  112. package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +53 -1
  113. package/dist-vue/packages/components/src/chat/PkModelOption.d.ts +19 -0
  114. package/dist-vue/packages/components/src/chat/PkReasoningSettings.d.ts +6 -0
  115. package/dist-vue/packages/components/src/chat/constants.d.ts +5 -18
  116. package/dist-vue/packages/components/src/chat/index.d.ts +3 -1
  117. package/dist-vue/packages/components/src/chat/modelCatalog.d.ts +46 -0
  118. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +5 -1
  119. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  120. package/dist-vue/packages/composable/src/useChatbotError.d.ts +2 -0
  121. package/dist-vue/packages/models/src/schema/Agent.d.ts +70 -10
  122. package/dist-vue/packages/models/src/schema/Chat.d.ts +10 -0
  123. package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +316 -0
  124. package/dist-vue/packages/models/src/schema/Organization.d.ts +142 -2
  125. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +20 -0
  126. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +20 -0
  127. package/dist-vue/packages/models/src/schema/UserOverview.d.ts +41 -0
  128. package/dist-vue/packages/models/src/schema/constants.d.ts +56 -91
  129. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  130. package/dist-vue/style.css +1 -1
  131. package/package.json +1 -1
  132. package/dist/_chunks/Agent-Su_LDF9_.js.map +0 -1
  133. package/dist/_chunks/Document-DecVclEe.js.map +0 -1
  134. package/dist/_chunks/Media-C6SOQfJZ.js +0 -122
  135. package/dist/_chunks/Media-C6SOQfJZ.js.map +0 -1
  136. package/dist/_chunks/PkStreamingMarkdown-CwqsJnJJ.js.map +0 -1
  137. package/dist/_chunks/PkToolShowForm-DbJHMDbt.js.map +0 -1
  138. package/dist/_chunks/browser-NgY6LXg-.js.map +0 -1
  139. package/dist-vue/_chunks/Agent-C8BsTAxk.js.map +0 -1
  140. package/dist-vue/_chunks/Document-CaUfI_SZ.js.map +0 -1
  141. package/dist-vue/_chunks/PkChatbot-BPKSPIeC.js.map +0 -1
  142. package/dist-vue/_chunks/PkChatbotError-CBP2mf-n.js.map +0 -1
  143. package/dist-vue/_chunks/PkChatbotInput-JnHaRlfk.js.map +0 -1
  144. package/dist-vue/_chunks/PkChatbotMessages-DAlkoMkY.js.map +0 -1
  145. package/dist-vue/_chunks/PkStreamingMarkdown-D8_LwZMR.js.map +0 -1
  146. package/dist-vue/_chunks/PkToolShowDiagram-dwCVZ1up.js.map +0 -1
  147. package/dist-vue/_chunks/PkToolShowForm-CO5A_j9L.js.map +0 -1
  148. package/dist-vue/_chunks/PkUrl-xUBKVJCv.js.map +0 -1
  149. package/dist-vue/_chunks/createChatbotApiClient-D9f69brW.js.map +0 -1
  150. package/dist-vue/_chunks/useChatbotStore-9Cw_oR6J.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbot-BPKSPIeC.js";
1
+ import { t as e } from "./_chunks/PkChatbot-Di7R2CWN.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotEmptyState-BvaeBxhx.js";
1
+ import { t as e } from "./_chunks/PkChatbotEmptyState-C_ITdvH7.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotError-CBP2mf-n.js";
1
+ import { t as e } from "./_chunks/PkChatbotError-gvDpRcEz.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotInput-JnHaRlfk.js";
1
+ import { t as e } from "./_chunks/PkChatbotInput-pEl3D2O-.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotMessages-DAlkoMkY.js";
1
+ import { t as e } from "./_chunks/PkChatbotMessages-CGALOKwe.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotSteps-rommD48p.js";
1
+ import { t as e } from "./_chunks/PkChatbotSteps-BhFupvbz.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotViewChat-CEqzF1G9.js";
1
+ import { t as e } from "./_chunks/PkChatbotViewChat-DT-rAU_r.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotViewConversations-C787v5ll.js";
1
+ import { t as e } from "./_chunks/PkChatbotViewConversations-3LaZPFyw.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotViewFiles-CNFLt8YO.js";
1
+ import { t as e } from "./_chunks/PkChatbotViewFiles-CTqnbsCj.js";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./_chunks/PkChatbotViewProfile-7p0ci3qm.js";
1
+ import { t as e } from "./_chunks/PkChatbotViewProfile-B-Mp1jGQ.js";
2
2
  export { e as default };
@@ -29,21 +29,7 @@ var ae = (e) => [`${e}`, `-${e}`], oe = (e) => e.flatMap((e) => ae(e)), _ = {
29
29
  let t = oe(e);
30
30
  return { sort: l(t).optional().default(t[0]) };
31
31
  }
32
- }, v = /* @__PURE__ */ function(e) {
33
- return e.gpt5Nano = "openai/gpt-5-nano", e.gpt5Mini = "openai/gpt-5-mini", e.gpt51Thinking = "openai/gpt-5.1-thinking", e.gpt52 = "openai/gpt-5.2", e.gpt54nano = "openai/gpt-5.4-nano", e.gpt54mini = "openai/gpt-5.4-mini", e.gpt54 = "openai/gpt-5.4", e.gpt54Pro = "openai/gpt-5.4-pro", e.gpt55 = "openai/gpt-5.5", e.gpt55Pro = "openai/gpt-5.5-pro", e.gpt56Luna = "openai/gpt-5.6-luna", e.gpt56Terra = "openai/gpt-5.6-terra", e.gpt56Sol = "openai/gpt-5.6-sol", e.gpt56LunaFast = "openai/gpt-5.6-luna-fast", e.gpt56TerraFast = "openai/gpt-5.6-terra-fast", e.gpt56SolFast = "openai/gpt-5.6-sol-fast", e.gpt6Astra = "openai/gpt-6-astra", e.gpt6AstraFast = "openai/gpt-6-astra-fast", e.gemini25FlashLite = "google/gemini-2.5-flash-lite", e.gemini25Flash = "google/gemini-2.5-flash", e.gemini25Pro = "google/gemini-2.5-pro", e.gemini3Flash = "google/gemini-3-flash", e.gemini31ProPreview = "google/gemini-3.1-pro-preview", e.gemini31FlashLite = "google/gemini-3.1-flash-lite", e.gemini35Flash = "google/gemini-3.5-flash", e.gemini35FlashLite = "google/gemini-3.5-flash-lite", e.gemini36Flash = "google/gemini-3.6-flash", e.gemini37Flash = "google/gemini-3.7-flash", e.gemini38Flash = "google/gemini-3.8-flash", e.claudeHaiku45 = "anthropic/claude-haiku-4.5", e.claudeSonnet46 = "anthropic/claude-sonnet-4.6", e.claudeSonnet5 = "anthropic/claude-sonnet-5", e.claudeOpus46 = "anthropic/claude-opus-4.6", e.claudeOpus47 = "anthropic/claude-opus-4.7", e.claudeOpus48 = "anthropic/claude-opus-4.8", e.claudeOpus5 = "anthropic/claude-opus-5", e.claudeOpus5Fast = "anthropic/claude-opus-5-fast", e.claudeFable5 = "anthropic/claude-fable-5", e.claudeFable51 = "anthropic/claude-fable-5.1", e.deepseek32 = "deepseek/deepseek-v3.2", e.deepseek4Flash0731 = "deepseek/deepseek-v4-flash-0731", e.deepseek41Flash = "deepseek/deepseek-v4.1-flash", e.alibabaQwen36Plus = "alibaba/qwen3.6-plus", e.alibabaQwen37Max = "alibaba/qwen3.7-max", e.alibabaQwen37Plus = "alibaba/qwen3.7-plus", e.alibabaQwen37Flash = "alibaba/qwen3.7-flash", e.alibabaQwen38Max = "alibaba/qwen3.8-max", e.alibabaQwen3827b = "alibaba/qwen3.8-27b", e.alibabaQwen38Max0902 = "alibaba/qwen3.8-max-0902", e.alibabaQwen38OmniFlash = "alibaba/qwen3.8-omni-flash", e.spacexaiGrok43 = "spacexai/grok-4.3", e.spacexaiGrok46 = "spacexai/grok-4.6", e.zaiGlm52 = "zai/glm-5.2", e.zaiGlm52Fast = "zai/glm-5.2-fast", e.zaiGlm53 = "zai/glm-5.3", e.zaiGlm53Flash = "zai/glm-5.3-flash", e.zaiGlm53Fast = "zai/glm-5.3-fast", e.metaMuseSpark11 = "meta/muse-spark-1.1", e.metaMuseSpark12 = "meta/muse-spark-1.2", e.moonshotaiKimiK3 = "moonshotai/kimi-k3", e.moonshotaiKimiK3Fast = "moonshotai/kimi-k3-fast", e;
34
- }({});
35
- (/* @__PURE__ */ (function(e) {
36
- return e.textEmbedding3Small = "openai/text-embedding-3-small", e.geminiEmbedding2 = "google/gemini-embedding-2", e;
37
- })({})).geminiEmbedding2;
38
- var y = /* @__PURE__ */ function(e) {
39
- return e.it = "it", e.en = "en", e.es = "es", e.fr = "fr", e.de = "de", e;
40
- }({});
41
- y.it, y.en, y.es, y.fr, y.de;
42
- var se = /* @__PURE__ */ function(e) {
43
- return e.READABILITY = "readability", e.AI = "ai", e;
44
- }({}), ce = /* @__PURE__ */ function(e) {
45
- return e.FETCH = "fetch", e.PUPPETEER = "puppeteer", e.REMOTE = "remote", e;
46
- }({}), b = n({
32
+ }, v = n({
47
33
  dateTime: i().optional(),
48
34
  timezone: i().optional(),
49
35
  language: i().optional(),
@@ -73,119 +59,121 @@ var se = /* @__PURE__ */ function(e) {
73
59
  geolocationLongitude: o().optional(),
74
60
  geolocationAccuracy: o().optional(),
75
61
  geolocationCity: i().optional()
76
- }), x = /* @__PURE__ */ function(e) {
62
+ }), y = /* @__PURE__ */ function(e) {
77
63
  return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
78
- }({}), S = /* @__PURE__ */ function(e) {
64
+ }({}), b = /* @__PURE__ */ function(e) {
79
65
  return e.Public = "public", e.Private = "private", e.Organization = "organization", e;
80
- }({}), C = /* @__PURE__ */ function(e) {
66
+ }({}), x = /* @__PURE__ */ function(e) {
81
67
  return e.Chat = "chat", e.Reasoning = "reasoning", e;
82
- }({}), w = /* @__PURE__ */ function(e) {
68
+ }({}), S = /* @__PURE__ */ function(e) {
83
69
  return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
84
- }({}), T = [
70
+ }({}), C = [
85
71
  "none",
86
72
  "low",
87
73
  "medium",
88
74
  "high",
89
75
  "xhigh",
90
76
  "max"
91
- ], E = [
77
+ ], w = [
92
78
  "low",
93
79
  "medium",
94
80
  "high",
95
81
  "xhigh",
96
82
  "max"
97
- ], D = [
83
+ ], T = [
98
84
  "minimal",
99
85
  "low",
100
86
  "medium",
101
87
  "high"
102
- ], O = [
88
+ ], E = [
103
89
  "auto",
104
90
  "detailed",
105
91
  "concise"
106
- ], le = n({
107
- reasoningEffort: l(T).optional(),
108
- reasoningSummary: l(O).optional()
109
- }), ue = n({
92
+ ], se = n({
93
+ reasoningEffort: l(C).optional(),
94
+ reasoningSummary: l(E).optional()
95
+ }), ce = n({
110
96
  type: l([
111
97
  "adaptive",
112
98
  "enabled",
113
99
  "disabled"
114
100
  ]).optional(),
115
- effort: l(E).optional(),
101
+ effort: l(w).optional(),
116
102
  display: l(["summarized", "omitted"]).optional(),
117
103
  budgetTokens: o().int().positive().optional()
118
- }), de = n({
119
- thinkingLevel: l(D).optional(),
104
+ }), le = n({
105
+ thinkingLevel: l(T).optional(),
120
106
  thinkingBudget: o().int().optional(),
121
107
  includeThoughts: u().optional()
122
- }), fe = n({ type: l(["enabled", "disabled"]).optional() }), k = [
108
+ }), ue = n({ type: l(["enabled", "disabled"]).optional() }), D = [
123
109
  "alibaba",
124
110
  "meta",
125
111
  "moonshotai",
126
112
  "spacexai",
113
+ "xiaomi",
127
114
  "zai"
128
115
  ];
129
- function pe(e) {
130
- return k.includes(e);
116
+ function de(e) {
117
+ return D.includes(e);
131
118
  }
132
- var A = [
119
+ var O = [
133
120
  "none",
134
121
  "minimal",
135
122
  "low",
136
123
  "medium",
137
124
  "high",
138
125
  "xhigh"
139
- ], j = n({ reasoningEffort: l(A).optional() });
140
- function M(e, t) {
126
+ ], k = n({ reasoningEffort: l(O).optional() });
127
+ function A(e, t) {
141
128
  return e && t.includes(e) ? e : void 0;
142
129
  }
143
- var me = n({
144
- openai: le.optional(),
145
- anthropic: ue.optional(),
146
- google: de.optional(),
147
- deepseek: fe.optional(),
148
- alibaba: j.optional(),
149
- meta: j.optional(),
150
- moonshotai: j.optional(),
151
- spacexai: j.optional(),
152
- zai: j.optional()
130
+ var fe = n({
131
+ openai: se.optional(),
132
+ anthropic: ce.optional(),
133
+ google: le.optional(),
134
+ deepseek: ue.optional(),
135
+ alibaba: k.optional(),
136
+ meta: k.optional(),
137
+ moonshotai: k.optional(),
138
+ spacexai: k.optional(),
139
+ xiaomi: k.optional(),
140
+ zai: k.optional()
153
141
  });
154
- function he(e) {
142
+ function pe(e) {
155
143
  if (!e || typeof e != "object") return e;
156
144
  let t = e, n = [
157
145
  "openai",
158
146
  "anthropic",
159
147
  "google",
160
148
  "deepseek",
161
- ...k
149
+ ...D
162
150
  ].some((e) => e in t);
163
151
  if ("effort" in t && !n) {
164
152
  let e = t.effort, n = t.reasoningSummary, r = {};
165
153
  if (e && e !== "off" && e !== "none") {
166
- let t = M(e, T), i = M(n, O);
154
+ let t = A(e, C), i = A(n, E);
167
155
  (t || i) && (r.openai = {
168
156
  ...t && { reasoningEffort: t },
169
157
  ...i && { reasoningSummary: i }
170
158
  });
171
- let a = M(e, E);
159
+ let a = A(e, w);
172
160
  a && (r.anthropic = {
173
161
  type: "adaptive",
174
162
  effort: a
175
163
  });
176
- let o = M(e === "xhigh" || e === "max" ? "high" : e, D);
164
+ let o = A(e === "xhigh" || e === "max" ? "high" : e, T);
177
165
  o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
178
- let s = M(e === "max" ? "xhigh" : e, A);
179
- if (s) for (let e of k) r[e] = { reasoningEffort: s };
166
+ let s = A(e === "max" ? "xhigh" : e, O);
167
+ if (s) for (let e of D) r[e] = { reasoningEffort: s };
180
168
  } else {
181
169
  r.openai = { reasoningEffort: "none" }, r.anthropic = { type: "disabled" }, r.google = { thinkingLevel: "minimal" }, r.deepseek = { type: "disabled" };
182
- for (let e of k) r[e] = { reasoningEffort: "none" };
170
+ for (let e of D) r[e] = { reasoningEffort: "none" };
183
171
  }
184
172
  return r;
185
173
  }
186
174
  return e;
187
175
  }
188
- var N = h(t(), me, he).optional(), ge = {
176
+ var j = h(t(), fe, pe).optional(), me = {
189
177
  openai: { reasoningEffort: "low" },
190
178
  anthropic: {
191
179
  type: "adaptive",
@@ -196,68 +184,69 @@ var N = h(t(), me, he).optional(), ge = {
196
184
  meta: { reasoningEffort: "low" },
197
185
  moonshotai: { reasoningEffort: "low" },
198
186
  spacexai: { reasoningEffort: "low" },
187
+ xiaomi: { reasoningEffort: "low" },
199
188
  zai: { reasoningEffort: "low" }
200
189
  };
201
- function _e(e) {
190
+ function he(e) {
202
191
  return !!e && typeof e == "object" && Object.values(e).some((e) => e !== void 0);
203
192
  }
204
- function ve(e, t) {
193
+ function ge(e, t) {
205
194
  let n = t?.[e];
206
- return _e(n) ? n : ge[e];
195
+ return he(n) ? n : me[e];
207
196
  }
208
- var P = /* @__PURE__ */ function(e) {
197
+ var M = /* @__PURE__ */ function(e) {
209
198
  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.RunWorker = "runWorker", 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;
210
199
  }({});
211
- function ye(e) {
212
- return !F(e) && e !== P.RequestGeolocation;
200
+ function _e(e) {
201
+ return !N(e) && e !== M.RequestGeolocation;
213
202
  }
214
- function F(e) {
215
- return e === P.RequestConfirm || e === P.ShowArtifact || e === P.ShowCalendarEvent || e === P.ShowComparison || e === P.ShowContactForm || e === P.ShowDiagram || e === P.ShowEmail || e === P.ShowImageGallery || e === P.ShowLocation || e === P.ShowMessage || e === P.ShowForm || e === P.ShowMultipleChoice || e === P.ShowProductList || e === P.ShowQrCode || e === P.ShowSources || e === P.ShowSuggestedReply || e === P.ShowVideo || e === P.ShowWeather || e === P.ShowWebPages;
203
+ function N(e) {
204
+ return e === M.RequestConfirm || e === M.ShowArtifact || e === M.ShowCalendarEvent || e === M.ShowComparison || e === M.ShowContactForm || e === M.ShowDiagram || e === M.ShowEmail || e === M.ShowImageGallery || e === M.ShowLocation || e === M.ShowMessage || e === M.ShowForm || e === M.ShowMultipleChoice || e === M.ShowProductList || e === M.ShowQrCode || e === M.ShowSources || e === M.ShowSuggestedReply || e === M.ShowVideo || e === M.ShowWeather || e === M.ShowWebPages;
216
205
  }
217
- var be = /* @__PURE__ */ new Set([
218
- P.RequestConfirm,
219
- P.ShowArtifact,
220
- P.ShowWeather,
221
- P.ShowLocation,
222
- P.ShowComparison,
223
- P.ShowProductList,
224
- P.ShowWebPages,
225
- P.ShowImageGallery,
226
- P.ShowVideo,
227
- P.ShowSources,
228
- P.ShowSuggestedReply,
229
- P.ShowCalendarEvent,
230
- P.ShowEmail,
231
- P.ShowMessage,
232
- P.ShowForm
206
+ var ve = /* @__PURE__ */ new Set([
207
+ M.RequestConfirm,
208
+ M.ShowArtifact,
209
+ M.ShowWeather,
210
+ M.ShowLocation,
211
+ M.ShowComparison,
212
+ M.ShowProductList,
213
+ M.ShowWebPages,
214
+ M.ShowImageGallery,
215
+ M.ShowVideo,
216
+ M.ShowSources,
217
+ M.ShowSuggestedReply,
218
+ M.ShowCalendarEvent,
219
+ M.ShowEmail,
220
+ M.ShowMessage,
221
+ M.ShowForm
233
222
  ]);
234
- function xe(e) {
235
- return be.has(e);
223
+ function ye(e) {
224
+ return ve.has(e);
236
225
  }
237
- var Se = /* @__PURE__ */ new Set([
238
- P.RequestConfirm,
239
- P.RequestGeolocation,
240
- P.ShowForm,
241
- P.ShowMultipleChoice,
226
+ var be = /* @__PURE__ */ new Set([
227
+ M.RequestConfirm,
228
+ M.RequestGeolocation,
229
+ M.ShowForm,
230
+ M.ShowMultipleChoice,
242
231
  "requestOAuthConnection"
243
232
  ]);
244
- function Ce(e) {
245
- return Se.has(e);
233
+ function xe(e) {
234
+ return be.has(e);
246
235
  }
247
- var we = /* @__PURE__ */ function(e) {
236
+ var Se = /* @__PURE__ */ function(e) {
248
237
  return e.Web = "web", e.Platform = "platform", e.OpenAiApi = "openai-api", e.Voice = "voice", e;
249
238
  }({});
250
- P.RequestConfirm, P.RequestGeolocation, P.ShowArtifact, P.ShowCalendarEvent, P.ShowContactForm, P.ShowComparison, P.ShowDiagram, P.ShowEmail, P.ShowForm, P.ShowImageGallery, P.ShowLocation, P.ShowMessage, P.ShowMultipleChoice, P.ShowProductList, P.ShowQrCode, P.ShowSources, P.ShowSuggestedReply, P.ShowVideo, P.ShowWeather, P.ShowWebPages;
251
- var Te = "Shown on the caller's screen";
252
- function Ee(e) {
253
- return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(Te));
239
+ M.RequestConfirm, M.RequestGeolocation, M.ShowArtifact, M.ShowCalendarEvent, M.ShowContactForm, M.ShowComparison, M.ShowDiagram, M.ShowEmail, M.ShowForm, M.ShowImageGallery, M.ShowLocation, M.ShowMessage, M.ShowMultipleChoice, M.ShowProductList, M.ShowQrCode, M.ShowSources, M.ShowSuggestedReply, M.ShowVideo, M.ShowWeather, M.ShowWebPages;
240
+ var Ce = "Shown on the caller's screen";
241
+ function we(e) {
242
+ return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(Ce));
254
243
  }
255
- var I = n({
244
+ var P = n({
256
245
  maxSteps: o().int().min(1).max(10).optional().default(5),
257
246
  maxOptionsPerStep: o().int().min(2).max(10).optional().default(5)
258
- }), L = /* @__PURE__ */ function(e) {
247
+ }), F = /* @__PURE__ */ function(e) {
259
248
  return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
260
- }({}), De = n({
249
+ }({}), Te = n({
261
250
  maxResults: o().int().min(1).max(20).optional(),
262
251
  maxTokens: o().int().positive().max(1e6).optional(),
263
252
  maxTokensPerPage: o().int().positive().optional(),
@@ -270,7 +259,7 @@ var I = n({
270
259
  "month",
271
260
  "year"
272
261
  ]).optional()
273
- }), Oe = n({
262
+ }), Ee = n({
274
263
  mode: l(["one-shot", "agentic"]).optional(),
275
264
  maxResults: o().int().min(1).max(20).optional(),
276
265
  sourcePolicy: n({
@@ -283,7 +272,7 @@ var I = n({
283
272
  maxCharsTotal: o().int().positive().optional()
284
273
  }).optional(),
285
274
  fetchPolicy: n({ maxAgeSeconds: o().int().positive().optional() }).optional()
286
- }), ke = n({
275
+ }), De = n({
287
276
  openai: n({}).optional(),
288
277
  anthropic: n({
289
278
  maxUses: o().int().positive().optional(),
@@ -298,25 +287,25 @@ var I = n({
298
287
  }).optional()
299
288
  }).optional(),
300
289
  google: n({}).optional()
301
- }), R = n({
290
+ }), I = n({
302
291
  enabled: u().default(!1),
303
- provider: l(L).optional().default(L.Native),
304
- perplexity: De.optional(),
305
- parallel: Oe.optional(),
306
- native: ke.optional()
307
- }), z = n({ useAllUserKb: u().default(!1) }), B = n({ useAllUserFiles: u().default(!1) }), V = n({ tools: r(i()).default([]) }), H = n({
308
- disabled: r(l(P)).default([
309
- P.UserMemory,
310
- P.SearchInUserFiles,
311
- P.RunWorker,
312
- P.FetchTeamsChannelHistory
292
+ provider: l(F).optional().default(F.Native),
293
+ perplexity: Te.optional(),
294
+ parallel: Ee.optional(),
295
+ native: De.optional()
296
+ }), L = n({ useAllUserKb: u().default(!1) }), R = n({ useAllUserFiles: u().default(!1) }), z = n({ tools: r(i()).default([]) }), B = n({
297
+ disabled: r(l(M)).default([
298
+ M.UserMemory,
299
+ M.SearchInUserFiles,
300
+ M.RunWorker,
301
+ M.FetchTeamsChannelHistory
313
302
  ]),
314
- showForm: I.optional().default(() => I.parse({})),
315
- webSearch: R.optional().default(() => R.parse({})),
316
- userMemory: z.optional().default(() => z.parse({})),
317
- userFiles: B.optional().default(() => B.parse({})),
318
- approval: V.optional().default(() => V.parse({}))
319
- }), U = n({
303
+ showForm: P.optional().default(() => P.parse({})),
304
+ webSearch: I.optional().default(() => I.parse({})),
305
+ userMemory: L.optional().default(() => L.parse({})),
306
+ userFiles: R.optional().default(() => R.parse({})),
307
+ approval: z.optional().default(() => z.parse({}))
308
+ }), V = n({
320
309
  freshness: n({
321
310
  enabled: u().default(!1),
322
311
  scale: o().int().min(86400).max(31536e3).default(7776e3),
@@ -328,22 +317,22 @@ var I = n({
328
317
  diversity: o().min(0).max(1).default(.3),
329
318
  candidatesLimit: o().int().min(20).max(100).default(50)
330
319
  }).prefault({})
331
- }).prefault({}), Ae = n({
320
+ }).prefault({}), Oe = n({
332
321
  prompt: i().optional(),
333
322
  temperature: o().min(0).max(2).optional().default(.6),
334
323
  maxOutputTokens: o().positive().optional(),
335
324
  presencePenalty: o().min(-2).max(2).optional(),
336
325
  frequencyPenalty: o().min(-2).max(2).optional(),
337
- searchMode: l(w).optional().default(w.Balanced),
326
+ searchMode: l(S).optional().default(S.Balanced),
338
327
  limit: o().positive().max(100).optional().default(10),
339
328
  maxStepCount: o().int().min(1).max(40).optional().default(10),
340
- reasoning: N,
341
- ranking: U.optional().default(() => U.parse({}))
342
- }), W = h(t(), p(i(), i()), (e) => typeof e == "string" ? { it: e } : e), G = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", K = /* @__PURE__ */ function(e) {
329
+ reasoning: j,
330
+ ranking: V.optional().default(() => V.parse({}))
331
+ }), H = h(t(), p(i(), i()), (e) => typeof e == "string" ? { it: e } : e), U = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", W = /* @__PURE__ */ function(e) {
343
332
  return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
344
- }({}), q = /* @__PURE__ */ function(e) {
333
+ }({}), G = /* @__PURE__ */ function(e) {
345
334
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
346
- }({}), J = Object.values(q), Y = n({
335
+ }({}), K = Object.values(G), q = n({
347
336
  media: ne.optional(),
348
337
  logo: i().optional(),
349
338
  theme: l([
@@ -358,23 +347,23 @@ var I = n({
358
347
  "black"
359
348
  ]).optional().default("auto"),
360
349
  useColorsForAgentHeader: u().optional().default(!1),
361
- initialMessage: W.optional(),
362
- greeting: r(W).min(1).max(10).optional(),
363
- messagePlaceholder: W.optional(),
364
- dismissableNotice: W.optional(),
365
- footerMessage: W.optional(),
366
- privacyPolicyNotice: W.optional(),
350
+ initialMessage: H.optional(),
351
+ greeting: r(H).min(1).max(10).optional(),
352
+ messagePlaceholder: H.optional(),
353
+ dismissableNotice: H.optional(),
354
+ footerMessage: H.optional(),
355
+ privacyPolicyNotice: H.optional(),
367
356
  interactiveLogin: u().optional().default(!0),
368
357
  welcomePopup: u().optional().default(!1),
369
358
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
370
359
  maxMessageLength: o().int().positive().optional(),
371
- widgetUrl: e().default(G),
360
+ widgetUrl: e().default(U),
372
361
  loadDelay: o().int().min(0).max(3e4).optional().default(0),
373
- loaderStrategy: l(K).optional().default(K.InlineModule),
362
+ loaderStrategy: l(W).optional().default(W.InlineModule),
374
363
  customCss: i().optional(),
375
364
  smoothStream: u().optional().default(!1),
376
365
  showExtendedSteps: u().optional().default(!1)
377
- }), X = n({
366
+ }), J = n({
378
367
  enabled: u().default(!1),
379
368
  maxFileSizeBytes: o().int().positive().max(104857600).optional().default(20971520),
380
369
  allowedMimeTypes: r(i().regex(re)).optional().default([
@@ -389,11 +378,11 @@ var I = n({
389
378
  ]),
390
379
  maxFilesPerMessage: o().int().positive().max(10).optional().default(5),
391
380
  maxFilesPerChat: o().int().positive().max(50).optional().default(20)
392
- }), Z = n({
381
+ }), Y = n({
393
382
  zeroDataRetention: u().default(!0),
394
383
  disallowPromptTraining: u().default(!0),
395
384
  providerTimeoutMs: o().int().min(1e3).max(789e3).optional()
396
- }), je = n({ enabled: u().default(!1) }), Q = n({
385
+ }), X = n({ enabled: u().default(!1) }), Z = n({
397
386
  enabled: u().default(!1),
398
387
  voiceId: i().optional(),
399
388
  language: i().min(2).max(5).default("it"),
@@ -412,37 +401,37 @@ var I = n({
412
401
  providerAgentId: i().optional(),
413
402
  providerSecretId: i().optional(),
414
403
  providerApiKeyId: i().optional()
415
- }), Me = n({ enabled: u() });
404
+ }), ke = n({ enabled: u() });
416
405
  n({
417
406
  chatId: i().min(1).optional(),
418
- deviceContext: b.optional(),
407
+ deviceContext: v.optional(),
419
408
  externalContext: p(i(), t()).optional()
420
409
  });
421
- var Ne = n({
410
+ var Ae = n({
422
411
  sessionId: i(),
423
412
  signedUrl: i(),
424
413
  providerAgentId: i(),
425
414
  chatId: i(),
426
415
  maxSessionSeconds: o().int()
427
- }), Pe = n({
416
+ }), je = n({
428
417
  voiceId: i(),
429
418
  name: i(),
430
419
  category: i().optional(),
431
420
  previewUrl: i().optional(),
432
421
  labels: p(i(), i()).optional()
433
422
  });
434
- r(Pe);
435
- var Fe = n({
436
- model: Ae,
437
- interface: Y,
438
- tools: H.optional().default(() => H.parse({})),
439
- fileUpload: X.optional().default(() => X.parse({})),
440
- gatewayOptions: Z.optional().default(() => Z.parse({})),
441
- channels: r(l(q)).optional().default(() => [...J]),
423
+ r(je);
424
+ var Q = n({
425
+ model: Oe,
426
+ interface: q,
427
+ tools: B.optional().default(() => B.parse({})),
428
+ fileUpload: J.optional().default(() => J.parse({})),
429
+ gatewayOptions: Y.optional().default(() => Y.parse({})),
430
+ channels: r(l(G)).optional().default(() => [...K]),
442
431
  externalContextSchema: ie.optional(),
443
- openaiApi: je.optional().default(() => je.parse({})),
444
- voice: Q.optional().default(() => Q.parse({}))
445
- }), Ie = n({
432
+ openaiApi: X.optional().default(() => X.parse({})),
433
+ voice: Z.optional().default(() => Z.parse({}))
434
+ }), $ = n({
446
435
  rateLimits: n({
447
436
  minuteRateLimit: o().int().min(0).optional(),
448
437
  hourRateLimit: o().int().min(0).optional(),
@@ -455,13 +444,13 @@ n({
455
444
  id: i().optional(),
456
445
  name: i(),
457
446
  prompt: i().optional(),
458
- model: i().default(v.gpt56Terra),
447
+ model: i().optional(),
459
448
  fallbackModels: r(i()).default([]),
460
- status: l(x).default(x.Draft),
461
- visibility: l(S).default(S.Organization),
462
- settings: Fe,
463
- security: Ie.nullish(),
464
- type: l(C).default(C.Chat),
449
+ status: l(y).default(y.Draft),
450
+ visibility: l(b).default(b.Organization),
451
+ settings: Q,
452
+ security: $.nullish(),
453
+ type: l(x).default(x.Chat),
465
454
  organizationId: i()
466
455
  }), a(() => n({
467
456
  id: i(),
@@ -469,11 +458,11 @@ n({
469
458
  prompt: i(),
470
459
  model: i(),
471
460
  fallbackModels: r(i()).nullable().default([]),
472
- status: l(x).default(x.Draft),
473
- visibility: l(S).default(S.Organization),
474
- settings: Fe,
475
- security: Ie.nullable(),
476
- type: l(C).default(C.Chat),
461
+ status: l(y).default(y.Draft),
462
+ visibility: l(b).default(b.Organization),
463
+ settings: Q,
464
+ security: $.nullable(),
465
+ type: l(x).default(x.Chat),
477
466
  organizationId: i(),
478
467
  createdAt: m(),
479
468
  createdBy: i(),
@@ -485,45 +474,45 @@ n({
485
474
  outOfBudget: u().optional().default(!1),
486
475
  outOfBudgetReason: i().optional().default("")
487
476
  }));
488
- var Le = n({
477
+ var Me = n({
489
478
  id: i(),
490
479
  name: i(),
491
- status: l(x),
492
- visibility: l(S),
480
+ status: l(y),
481
+ visibility: l(b),
493
482
  organizationId: i(),
494
- interface: Y,
483
+ interface: q,
495
484
  createdAt: m(),
496
485
  updatedAt: m(),
497
486
  capabilities: n({
498
- fileUpload: X,
499
- voice: Me
487
+ fileUpload: J,
488
+ voice: ke
500
489
  }),
501
- channels: r(l(q)).default(() => [...J])
502
- }), Re = Y.pick({
490
+ channels: r(l(G)).default(() => [...K])
491
+ }), Ne = q.pick({
503
492
  logo: !0,
504
493
  mainColor: !0,
505
494
  textColor: !0,
506
495
  theme: !0,
507
496
  floatingButtonPosition: !0,
508
497
  customCss: !0
509
- }), ze = Le.pick({
498
+ }), Pe = Me.pick({
510
499
  id: !0,
511
500
  name: !0,
512
501
  organizationId: !0
513
- }).extend({ interface: Re }), Be = n({
502
+ }).extend({ interface: Ne }), Fe = n({
514
503
  emailPassword: u(),
515
504
  google: u(),
516
505
  microsoft: u()
517
- }), Ve = n({
506
+ }), Ie = n({
518
507
  requiresAuth: d(!1),
519
- agent: Le,
508
+ agent: Me,
520
509
  branding: s()
521
- }), $ = n({
510
+ }), Le = n({
522
511
  requiresAuth: d(!0),
523
512
  agent: s(),
524
- branding: ze
513
+ branding: Pe
525
514
  });
526
- c("requiresAuth", [Ve, $]), c("requiresAuth", [Ve.extend({ authMethods: Be }), $.extend({ authMethods: Be })]), n({
515
+ c("requiresAuth", [Ie, Le]), c("requiresAuth", [Ie.extend({ authMethods: Fe }), Le.extend({ authMethods: Fe })]), n({
527
516
  id: f(),
528
517
  agentIds: r(f())
529
518
  }), n({
@@ -544,6 +533,6 @@ c("requiresAuth", [Ve, $]), c("requiresAuth", [Ve.extend({ authMethods: Be }), $
544
533
  ..._.ids()
545
534
  });
546
535
  //#endregion
547
- export { se as A, pe as C, Ee as D, Ce as E, y as M, h as N, b as O, _ as P, ve as S, F as T, T as _, Z as a, L as b, N as c, C as d, R as f, D as g, A as h, X as i, v as j, ce as k, w as l, G as m, P as n, K as o, we as p, q as r, U as s, E as t, x as u, O as v, xe as w, ye as x, Ne as y };
536
+ export { _ as A, de as C, we as D, xe as E, v as O, ge as S, N as T, C as _, Y as a, F as b, j as c, x as d, I as f, T as g, O as h, J as i, h as k, S as l, U as m, M as n, W as o, Se as p, G as r, V as s, w as t, y as u, E as v, ye as w, _e as x, Ae as y };
548
537
 
549
- //# sourceMappingURL=Agent-C8BsTAxk.js.map
538
+ //# sourceMappingURL=Agent-De2gFNjR.js.map