@8wave/ai-elements 0.121.0-beta.52 → 0.121.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 (131) hide show
  1. package/dist/_chunks/{Agent-CtLgGLbV.js → Agent-BdoXh8b0.js} +252 -250
  2. package/dist/_chunks/Agent-BdoXh8b0.js.map +1 -0
  3. package/dist/_chunks/{PkStreamingMarkdown-BP7HK2u0.js → PkStreamingMarkdown-Bev81_Lp.js} +9 -6
  4. package/dist/_chunks/PkStreamingMarkdown-Bev81_Lp.js.map +1 -0
  5. package/dist/_chunks/PkToolChatFile-a37ez2k5.js +50 -0
  6. package/dist/_chunks/PkToolChatFile-a37ez2k5.js.map +1 -0
  7. package/dist/_chunks/{PkToolRequestGeolocation-B51_MHPQ.js → PkToolRequestGeolocation-BantUie4.js} +2 -2
  8. package/dist/_chunks/{PkToolRequestGeolocation-B51_MHPQ.js.map → PkToolRequestGeolocation-BantUie4.js.map} +1 -1
  9. package/dist/_chunks/{PkToolRequestOAuthConnection-DfjwyGwk.js → PkToolRequestOAuthConnection-CB5ziPOE.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestOAuthConnection-DfjwyGwk.js.map → PkToolRequestOAuthConnection-CB5ziPOE.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowArtifact-B8l3G0ae.js → PkToolShowArtifact-CecXXZSh.js} +2 -2
  12. package/dist/_chunks/{PkToolShowArtifact-B8l3G0ae.js.map → PkToolShowArtifact-CecXXZSh.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowContactForm-wNiHeOQM.js → PkToolShowContactForm-3BGkXgD9.js} +2 -2
  14. package/dist/_chunks/{PkToolShowContactForm-wNiHeOQM.js.map → PkToolShowContactForm-3BGkXgD9.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-jA0SkiQC.js → PkToolShowForm-BXOmY4ce.js} +3 -3
  16. package/dist/_chunks/{PkToolShowForm-jA0SkiQC.js.map → PkToolShowForm-BXOmY4ce.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowImageGallery-B9PlDrmn.js → PkToolShowImageGallery-BisEror8.js} +2 -2
  18. package/dist/_chunks/{PkToolShowImageGallery-B9PlDrmn.js.map → PkToolShowImageGallery-BisEror8.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowProductList-DRHSe2e7.js → PkToolShowProductList-BmPdjUSS.js} +2 -2
  20. package/dist/_chunks/{PkToolShowProductList-DRHSe2e7.js.map → PkToolShowProductList-BmPdjUSS.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowSources-K-cNd52t.js → PkToolShowSources-Cv8UguNA.js} +3 -3
  22. package/dist/_chunks/{PkToolShowSources-K-cNd52t.js.map → PkToolShowSources-Cv8UguNA.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowSuggestedReply-BQHtnpb_.js → PkToolShowSuggestedReply-lzs6-CcI.js} +2 -2
  24. package/dist/_chunks/{PkToolShowSuggestedReply-BQHtnpb_.js.map → PkToolShowSuggestedReply-lzs6-CcI.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowVideo-B21JnsbY.js → PkToolShowVideo-BPYYn43O.js} +2 -2
  26. package/dist/_chunks/{PkToolShowVideo-B21JnsbY.js.map → PkToolShowVideo-BPYYn43O.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowWebPages-CW1Kdg6J.js → PkToolShowWebPages-CbE_bnHt.js} +2 -2
  28. package/dist/_chunks/{PkToolShowWebPages-CW1Kdg6J.js.map → PkToolShowWebPages-CbE_bnHt.js.map} +1 -1
  29. package/dist/_chunks/{chatImagePolicy-Bf-fhvf6.js → chatImagePolicy-CZeGEXvB.js} +2 -2
  30. package/dist/_chunks/{chatImagePolicy-Bf-fhvf6.js.map → chatImagePolicy-CZeGEXvB.js.map} +1 -1
  31. package/dist/_chunks/{markdown-B_eDHV3T.js → markdown-DtRRqlac.js} +2 -2
  32. package/dist/_chunks/{markdown-B_eDHV3T.js.map → markdown-DtRRqlac.js.map} +1 -1
  33. package/dist/ai-elements.es.js +45 -21
  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-BlWzW8Mg.js → Agent-B-jQOrER.js} +133 -131
  47. package/dist-vue/_chunks/Agent-B-jQOrER.js.map +1 -0
  48. package/dist-vue/_chunks/{Document-vkNbPo_T.js → Document-DQtliJu6.js} +2 -2
  49. package/dist-vue/_chunks/{Document-vkNbPo_T.js.map → Document-DQtliJu6.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbot-DgKkkbCs.js → PkChatbot-BFAcqm6m.js} +8 -8
  51. package/dist-vue/_chunks/{PkChatbot-DgKkkbCs.js.map → PkChatbot-BFAcqm6m.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkChatbotEmptyState-XWzSF0W0.js → PkChatbotEmptyState-fADhr37n.js} +2 -2
  53. package/dist-vue/_chunks/{PkChatbotEmptyState-XWzSF0W0.js.map → PkChatbotEmptyState-fADhr37n.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkChatbotInput-a36iJO_a.js → PkChatbotInput-CUOcwWDz.js} +2 -2
  55. package/dist-vue/_chunks/{PkChatbotInput-a36iJO_a.js.map → PkChatbotInput-CUOcwWDz.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkChatbotMessages-Ce7BtcBf.js → PkChatbotMessages-CcTQozaF.js} +20 -18
  57. package/dist-vue/_chunks/PkChatbotMessages-CcTQozaF.js.map +1 -0
  58. package/dist-vue/_chunks/{PkChatbotStepPayload-jbQd7cML.js → PkChatbotStepPayload-CQD8lb4l.js} +2 -2
  59. package/dist-vue/_chunks/{PkChatbotStepPayload-jbQd7cML.js.map → PkChatbotStepPayload-CQD8lb4l.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotStepToolDetail-B1SJqhIt.js → PkChatbotStepToolDetail-Bj1ZBPMz.js} +3 -3
  61. package/dist-vue/_chunks/{PkChatbotStepToolDetail-B1SJqhIt.js.map → PkChatbotStepToolDetail-Bj1ZBPMz.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotSteps-M7T71Lr9.js → PkChatbotSteps-DhIEYst5.js} +5 -5
  63. package/dist-vue/_chunks/{PkChatbotSteps-M7T71Lr9.js.map → PkChatbotSteps-DhIEYst5.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotViewChat-58rvFSbr.js → PkChatbotViewChat-CW4SxAtr.js} +257 -247
  65. package/dist-vue/_chunks/PkChatbotViewChat-CW4SxAtr.js.map +1 -0
  66. package/dist-vue/_chunks/{PkChatbotViewConversations-DP1zMA-B.js → PkChatbotViewConversations-BXxXUgso.js} +3 -3
  67. package/dist-vue/_chunks/{PkChatbotViewConversations-DP1zMA-B.js.map → PkChatbotViewConversations-BXxXUgso.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotViewFiles-DCo-erhU.js → PkChatbotViewFiles-i_OUsdlU.js} +5 -5
  69. package/dist-vue/_chunks/PkChatbotViewFiles-i_OUsdlU.js.map +1 -0
  70. package/dist-vue/_chunks/{PkChatbotViewProfile-Da6iqXLn.js → PkChatbotViewProfile-x0oUCbeL.js} +2 -2
  71. package/dist-vue/_chunks/{PkChatbotViewProfile-Da6iqXLn.js.map → PkChatbotViewProfile-x0oUCbeL.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkStreamingMarkdown-D00IssLd.js → PkStreamingMarkdown-qZLlI83D.js} +3 -3
  73. package/dist-vue/_chunks/{PkStreamingMarkdown-D00IssLd.js.map → PkStreamingMarkdown-qZLlI83D.js.map} +1 -1
  74. package/dist-vue/_chunks/PkToolChatFile-DPkLqqDt.js +49 -0
  75. package/dist-vue/_chunks/PkToolChatFile-DPkLqqDt.js.map +1 -0
  76. package/dist-vue/_chunks/{PkToolRequestGeolocation-CK_AAzwh.js → PkToolRequestGeolocation-CY-NC6Rc.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolRequestGeolocation-CK_AAzwh.js.map → PkToolRequestGeolocation-CY-NC6Rc.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CXfvULza.js → PkToolRequestOAuthConnection-RkbnKSde.js} +2 -2
  79. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CXfvULza.js.map → PkToolRequestOAuthConnection-RkbnKSde.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowArtifact-BH8xgFcB.js → PkToolShowArtifact-BDZjRnfs.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowArtifact-BH8xgFcB.js.map → PkToolShowArtifact-BDZjRnfs.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowContactForm-CdDx1Jxl.js → PkToolShowContactForm-CcIF7fNS.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowContactForm-CdDx1Jxl.js.map → PkToolShowContactForm-CcIF7fNS.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowDiagram-D22AS39F.js → PkToolShowDiagram-CD70YQgq.js} +2 -2
  85. package/dist-vue/_chunks/{PkToolShowDiagram-D22AS39F.js.map → PkToolShowDiagram-CD70YQgq.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowForm-gUfRbKJS.js → PkToolShowForm-edPn56Ka.js} +4 -4
  87. package/dist-vue/_chunks/{PkToolShowForm-gUfRbKJS.js.map → PkToolShowForm-edPn56Ka.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowImageGallery-GEDLtNod.js → PkToolShowImageGallery-82BzTTbf.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolShowImageGallery-GEDLtNod.js.map → PkToolShowImageGallery-82BzTTbf.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowProductList-CERjht9c.js → PkToolShowProductList-CKPDiMkx.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowProductList-CERjht9c.js.map → PkToolShowProductList-CKPDiMkx.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowSources-B_4taLGg.js → PkToolShowSources-CHH2vKVG.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolShowSources-B_4taLGg.js.map → PkToolShowSources-CHH2vKVG.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DVYeAkEp.js → PkToolShowSuggestedReply-CThFJVUq.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DVYeAkEp.js.map → PkToolShowSuggestedReply-CThFJVUq.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowVideo-GZ8wviqU.js → PkToolShowVideo-C5TKoW1f.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolShowVideo-GZ8wviqU.js.map → PkToolShowVideo-C5TKoW1f.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowWebPages-DceCOjLQ.js → PkToolShowWebPages-CuwLXH1I.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowWebPages-DceCOjLQ.js.map → PkToolShowWebPages-CuwLXH1I.js.map} +1 -1
  100. package/dist-vue/_chunks/{createChatbotApiClient-7i_D_crv.js → createChatbotApiClient-B3U31J_K.js} +2 -2
  101. package/dist-vue/_chunks/{createChatbotApiClient-7i_D_crv.js.map → createChatbotApiClient-B3U31J_K.js.map} +1 -1
  102. package/dist-vue/_chunks/{useChatbotStore-DhVxJwn6.js → useChatbotStore-D2L4m3iJ.js} +3 -3
  103. package/dist-vue/_chunks/{useChatbotStore-DhVxJwn6.js.map → useChatbotStore-D2L4m3iJ.js.map} +1 -1
  104. package/dist-vue/_chunks/{utils-BpnTWYko.js → utils-C8jnMPj0.js} +8 -5
  105. package/dist-vue/_chunks/utils-C8jnMPj0.js.map +1 -0
  106. package/dist-vue/api.js +1 -1
  107. package/dist-vue/composables.js +18 -6
  108. package/dist-vue/composables.js.map +1 -1
  109. package/dist-vue/index.js +521 -480
  110. package/dist-vue/index.js.map +1 -1
  111. package/dist-vue/locales.js +70 -10
  112. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +13 -2
  113. package/dist-vue/packages/components/src/chat/{PkToolEditedFile.d.ts → PkToolChatFile.d.ts} +5 -4
  114. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +2 -0
  115. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +42 -0
  116. package/dist-vue/packages/composable/src/useFileRow.d.ts +5 -3
  117. package/dist-vue/packages/models/src/schema/Agent.d.ts +55 -0
  118. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +12 -0
  119. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +12 -0
  120. package/package.json +1 -1
  121. package/dist/_chunks/Agent-CtLgGLbV.js.map +0 -1
  122. package/dist/_chunks/PkStreamingMarkdown-BP7HK2u0.js.map +0 -1
  123. package/dist/_chunks/PkToolEditedFile-VFnIlU4j.js +0 -50
  124. package/dist/_chunks/PkToolEditedFile-VFnIlU4j.js.map +0 -1
  125. package/dist-vue/_chunks/Agent-BlWzW8Mg.js.map +0 -1
  126. package/dist-vue/_chunks/PkChatbotMessages-Ce7BtcBf.js.map +0 -1
  127. package/dist-vue/_chunks/PkChatbotViewChat-58rvFSbr.js.map +0 -1
  128. package/dist-vue/_chunks/PkChatbotViewFiles-DCo-erhU.js.map +0 -1
  129. package/dist-vue/_chunks/PkToolEditedFile-ppesvE8O.js +0 -49
  130. package/dist-vue/_chunks/PkToolEditedFile-ppesvE8O.js.map +0 -1
  131. package/dist-vue/_chunks/utils-BpnTWYko.js.map +0 -1
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbot-DgKkkbCs.js";
1
+ export { t as default } from "./_chunks/PkChatbot-BFAcqm6m.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotEmptyState-XWzSF0W0.js";
1
+ export { t as default } from "./_chunks/PkChatbotEmptyState-fADhr37n.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotInput-a36iJO_a.js";
1
+ export { t as default } from "./_chunks/PkChatbotInput-CUOcwWDz.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotMessages-Ce7BtcBf.js";
1
+ export { t as default } from "./_chunks/PkChatbotMessages-CcTQozaF.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepPayload-jbQd7cML.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepPayload-CQD8lb4l.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepToolDetail-B1SJqhIt.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepToolDetail-Bj1ZBPMz.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotSteps-M7T71Lr9.js";
1
+ export { t as default } from "./_chunks/PkChatbotSteps-DhIEYst5.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewChat-58rvFSbr.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewChat-CW4SxAtr.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewConversations-DP1zMA-B.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewConversations-BXxXUgso.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewFiles-DCo-erhU.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewFiles-i_OUsdlU.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewProfile-Da6iqXLn.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewProfile-x0oUCbeL.js";
@@ -109,7 +109,7 @@ d({
109
109
  companyName: E(T.shape.companyName)
110
110
  }).nullable())
111
111
  });
112
- var D = be({
112
+ var D = O({
113
113
  colors: {
114
114
  light: {
115
115
  brand: "#140e33",
@@ -138,7 +138,7 @@ var D = be({
138
138
  companyName: null
139
139
  }
140
140
  });
141
- be({
141
+ O({
142
142
  ...D,
143
143
  text: {
144
144
  productName: "Agent Studio",
@@ -170,17 +170,17 @@ function ve(e, t, { rounded: n = !0 } = {}) {
170
170
  return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32"${n ? " rx=\"7\"" : ""} fill="${r}"/><text x="16" y="16" dy="0.35em" text-anchor="middle" font-family="system-ui, sans-serif" font-size="18" font-weight="600" fill="${i}">${a}</text></svg>`;
171
171
  }
172
172
  var ye = (e, t) => `data:image/svg+xml,${encodeURIComponent(ve(e, t))}`;
173
- function be(e) {
173
+ function O(e) {
174
174
  if (e && typeof e == "object") {
175
- for (let t of Object.values(e)) be(t);
175
+ for (let t of Object.values(e)) O(t);
176
176
  Object.freeze(e);
177
177
  }
178
178
  return e;
179
179
  }
180
- function O(e) {
181
- return Array.isArray(e) ? `[${e.map(O).join(",")}]` : e && typeof e == "object" ? `{${Object.entries(e).filter(([, e]) => e !== void 0).sort(([e], [t]) => e < t ? -1 : +(e > t)).map(([e, t]) => `${JSON.stringify(e)}:${O(t)}`).join(",")}}` : JSON.stringify(e);
180
+ function k(e) {
181
+ return Array.isArray(e) ? `[${e.map(k).join(",")}]` : e && typeof e == "object" ? `{${Object.entries(e).filter(([, e]) => e !== void 0).sort(([e], [t]) => e < t ? -1 : +(e > t)).map(([e, t]) => `${JSON.stringify(e)}:${k(t)}`).join(",")}}` : JSON.stringify(e);
182
182
  }
183
- function xe(e) {
183
+ function be(e) {
184
184
  let t = 2166136261, n = 16777619 ^ e.length;
185
185
  for (let r = 0; r < e.length; r++) {
186
186
  let i = e.charCodeAt(r);
@@ -188,22 +188,22 @@ function xe(e) {
188
188
  }
189
189
  return t.toString(16).padStart(8, "0") + n.toString(16).padStart(8, "0");
190
190
  }
191
- function Se(e) {
192
- return xe(`${ke(e)}:${O(e)}`);
191
+ function xe(e) {
192
+ return be(`${Oe(e)}:${k(e)}`);
193
193
  }
194
- var Ce = "/api/v1/public/branding", we = (e) => `${Ce}/assets/${e}`, Te = (e, t) => `${e.replace(/\/+$/, "")}${we(t)}`;
195
- RegExp(`^${Ce}(?:\\.css|/manifest\\.webmanifest|/icon/(?:\\d+|maskable)|/assets/[0-9a-f]{64}(?:/icon/\\d+)?)?(?:\\?|$)`);
196
- function Ee(e) {
194
+ var Se = "/api/v1/public/branding", Ce = (e) => `${Se}/assets/${e}`, we = (e, t) => `${e.replace(/\/+$/, "")}${Ce(t)}`;
195
+ RegExp(`^${Se}(?:\\.css|/manifest\\.webmanifest|/icon/(?:\\d+|maskable)|/assets/[0-9a-f]{64}(?:/icon/\\d+)?)?(?:\\?|$)`);
196
+ function Te(e) {
197
197
  return {
198
198
  ...e,
199
- version: Se(e)
199
+ version: xe(e)
200
200
  };
201
201
  }
202
- function De(e) {
202
+ function Ee(e) {
203
203
  return v.safeParse(e).success ? `--color-brand:${e.brand};--color-accent:${e.accent};--color-info:${e.info};` : "";
204
204
  }
205
- function Oe(e) {
206
- let t = De(e.colors.light), n = De(e.colors.dark);
205
+ function De(e) {
206
+ let t = Ee(e.colors.light), n = Ee(e.colors.dark);
207
207
  return [
208
208
  `:where(:root,.theme){${t}${t ? `--color-tint:${e.colors.light.brand};` : ""}}`,
209
209
  `@media (prefers-color-scheme: dark){:where(:root:not(.theme--light),.theme:not(.theme--light)){${n}}}`,
@@ -211,7 +211,7 @@ function Oe(e) {
211
211
  `:where(.theme.theme--dark){${n}}`
212
212
  ].join("\n");
213
213
  }
214
- var ke = (e) => xe(Oe(e)), Ae = d({
214
+ var Oe = (e) => be(De(e)), ke = d({
215
215
  dateTime: n().optional(),
216
216
  timezone: n().optional(),
217
217
  language: n().optional(),
@@ -241,16 +241,16 @@ var ke = (e) => xe(Oe(e)), Ae = d({
241
241
  geolocationLongitude: i().optional(),
242
242
  geolocationAccuracy: i().optional(),
243
243
  geolocationCity: n().optional()
244
- }), je = "host", k = /^[a-z][a-z0-9_]{0,63}$/, Me = 2e3, Ne = d({
244
+ }), Ae = "host", A = /^[a-z][a-z0-9_]{0,63}$/, je = 2e3, Me = d({
245
245
  title: n().max(80).optional(),
246
246
  readOnlyHint: u().optional(),
247
247
  destructiveHint: u().optional()
248
248
  });
249
249
  d({
250
- name: n().regex(k),
251
- description: n().max(Me).optional(),
250
+ name: n().regex(A),
251
+ description: n().max(je).optional(),
252
252
  inputSchema: p(n(), f()).refine((e) => e.type === "object", { message: "The input schema must describe an object" }),
253
- annotations: Ne.optional()
253
+ annotations: Me.optional()
254
254
  }), d({
255
255
  content: c(d({
256
256
  type: s("text"),
@@ -258,33 +258,33 @@ d({
258
258
  })),
259
259
  isError: u().optional()
260
260
  });
261
- var Pe = d({
261
+ var Ne = d({
262
262
  enabled: u().default(!1),
263
263
  label: n().max(40).default(""),
264
- allowed: c(n().regex(k)).max(32).default([]),
265
- requireConfirmation: c(n().regex(k)).default([]),
264
+ allowed: c(n().regex(A)).max(32).default([]),
265
+ requireConfirmation: c(n().regex(A)).default([]),
266
266
  confirmDestructive: u().default(!0),
267
267
  timeoutMs: i().int().min(5e3).max(12e4).default(3e4),
268
268
  maxCallsPerTurn: i().int().min(1).max(50).default(20)
269
- }), Fe = Pe.pick({
269
+ }), Pe = Ne.pick({
270
270
  label: !0,
271
271
  allowed: !0,
272
272
  requireConfirmation: !0,
273
273
  confirmDestructive: !0,
274
274
  timeoutMs: !0
275
- }).extend({ origins: c(n()) }), Ie = (e) => {
275
+ }).extend({ origins: c(n()) }), Fe = (e) => {
276
276
  if (typeof e != "object" || !e) return !1;
277
277
  let { type: t, toolMetadata: n } = e;
278
278
  return t === "dynamic-tool" && n?.source === "host";
279
- }, Le = (e) => e ? "No result: the host app did not answer this call." : "Outcome unknown: the host app did not confirm this call. Check the current state with a read tool before repeating it.", Re = "The user refused this call. Do not repeat it unless the user asks.", A = /* @__PURE__ */ function(e) {
279
+ }, Ie = (e) => e ? "No result: the host app did not answer this call." : "Outcome unknown: the host app did not confirm this call. Check the current state with a read tool before repeating it.", Le = "The user refused this call. Do not repeat it unless the user asks.", j = /* @__PURE__ */ function(e) {
280
280
  return e.Off = "off", e.Read = "read", e.Forms = "forms", e.Full = "full", e;
281
- }({}), ze = [
282
- A.Off,
283
- A.Read,
284
- A.Forms,
285
- A.Full
286
- ], Be = (e, t) => ze.indexOf(e ?? A.Off) >= ze.indexOf(t);
287
- function Ve(e) {
281
+ }({}), Re = [
282
+ j.Off,
283
+ j.Read,
284
+ j.Forms,
285
+ j.Full
286
+ ], ze = (e, t) => Re.indexOf(e ?? j.Off) >= Re.indexOf(t);
287
+ function Be(e) {
288
288
  if (!e.trim()) return !1;
289
289
  if (typeof document > "u") return !0;
290
290
  try {
@@ -293,70 +293,70 @@ function Ve(e) {
293
293
  return !1;
294
294
  }
295
295
  }
296
- var He = d({
297
- level: l(A).default(A.Off),
298
- excludeSelectors: c(n().max(200).refine(Ve, "Not a valid CSS selector")).max(50).default([]),
296
+ var Ve = d({
297
+ level: l(j).default(j.Off),
298
+ excludeSelectors: c(n().max(200).refine(Be, "Not a valid CSS selector")).max(50).default([]),
299
299
  confirmEveryAction: u().default(!1),
300
300
  notice: p(n(), n().max(500)).optional(),
301
301
  acknowledgedBy: n().optional(),
302
302
  acknowledgedAt: m().optional(),
303
- acknowledgedLevel: l(A).optional()
304
- }), Ue = (e, t) => !!e?.acknowledgedBy && e?.acknowledgedAt !== void 0 && Be(e.acknowledgedLevel, t), We = (e) => e.startsWith("page_") || e.startsWith("form_"), Ge = He.pick({
303
+ acknowledgedLevel: l(j).optional()
304
+ }), He = (e, t) => !!e?.acknowledgedBy && e?.acknowledgedAt !== void 0 && ze(e.acknowledgedLevel, t), Ue = (e) => e.startsWith("page_") || e.startsWith("form_"), We = Ve.pick({
305
305
  level: !0,
306
306
  excludeSelectors: !0,
307
307
  confirmEveryAction: !0,
308
308
  notice: !0
309
- }), Ke = ["fill-fields"];
309
+ }), Ge = ["fill-fields"];
310
310
  d({
311
311
  version: s(1),
312
312
  forms: c(f()).max(16).default([]),
313
313
  features: c(n().max(40)).max(16).default([])
314
314
  });
315
315
  // ../../packages/models/src/schema/Agent.ts
316
- var j = /* @__PURE__ */ function(e) {
316
+ var M = /* @__PURE__ */ function(e) {
317
317
  return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
318
- }({}), M = /* @__PURE__ */ function(e) {
318
+ }({}), N = /* @__PURE__ */ function(e) {
319
319
  return e.Public = "public", e.Private = "private", e.Organization = "organization", e.Restricted = "restricted", e;
320
- }({}), qe = [M.Organization, M.Restricted], N = /* @__PURE__ */ function(e) {
320
+ }({}), Ke = [N.Organization, N.Restricted], P = /* @__PURE__ */ function(e) {
321
321
  return e.Chat = "chat", e.Reasoning = "reasoning", e;
322
- }({}), P = /* @__PURE__ */ function(e) {
322
+ }({}), F = /* @__PURE__ */ function(e) {
323
323
  return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
324
- }({}), F = [
324
+ }({}), I = [
325
325
  "none",
326
326
  "low",
327
327
  "medium",
328
328
  "high",
329
329
  "xhigh",
330
330
  "max"
331
- ], I = [
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
+ ], qe = [
343
343
  "auto",
344
344
  "detailed",
345
345
  "concise"
346
346
  ], Je = d({
347
- reasoningEffort: l(F).optional(),
348
- reasoningSummary: l(R).optional()
347
+ reasoningEffort: l(I).optional(),
348
+ reasoningSummary: l(qe).optional()
349
349
  }), Ye = d({
350
350
  type: l([
351
351
  "adaptive",
352
352
  "enabled",
353
353
  "disabled"
354
354
  ]).optional(),
355
- effort: l(I).optional(),
355
+ effort: l(L).optional(),
356
356
  display: l(["summarized", "omitted"]).optional(),
357
357
  budgetTokens: i().int().positive().optional()
358
358
  }), Xe = d({
359
- thinkingLevel: l(L).optional(),
359
+ thinkingLevel: l(R).optional(),
360
360
  thinkingBudget: i().int().optional(),
361
361
  includeThoughts: u().optional()
362
362
  }), Ze = d({ type: l(["enabled", "disabled"]).optional() }), z = [
@@ -405,17 +405,17 @@ function et(e) {
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, F), i = H(n, R);
408
+ let t = H(e, I), i = H(n, qe);
409
409
  (t || i) && (r.openai = {
410
410
  ...t && { reasoningEffort: t },
411
411
  ...i && { reasoningSummary: i }
412
412
  });
413
- let a = H(e, I);
413
+ let a = H(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 = H(e === "xhigh" || e === "max" ? "high" : e, R);
419
419
  o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
420
420
  let s = H(e === "max" ? "xhigh" : e, B);
421
421
  if (s) for (let e of z) r[e] = { reasoningEffort: s };
@@ -449,7 +449,7 @@ function it(e, t) {
449
449
  return rt(n) ? n : nt[e];
450
450
  }
451
451
  var U = /* @__PURE__ */ function(e) {
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.WordDocument = "wordDocument", 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;
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.WordDocument = "wordDocument", e.CreateSpreadsheet = "createSpreadsheet", e.CreateWordDocument = "createWordDocument", 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
  }({}), at = "mcp-", ot = "api-", st = "subagent-", ct = "enableTools";
454
454
  function lt(e) {
455
455
  return !ut(e) && e !== U.RequestGeolocation;
@@ -583,7 +583,7 @@ var St = [
583
583
  perplexity: Ct.optional(),
584
584
  parallel: wt.optional(),
585
585
  native: Tt.optional()
586
- }), Et = d({ useAllUserKb: u().default(!1) }), Dt = d({ useAllUserFiles: u().default(!1) }), Ot = d({ enabled: u().default(!1) }), kt = d({ tools: c(n()).default([]) }), At = d({
586
+ }), Et = d({ useAllUserKb: u().default(!1) }), Dt = d({ useAllUserFiles: u().default(!1) }), Ot = d({ enabled: u().default(!1) }), K = d({ enabled: u().default(!1) }), kt = d({ tools: c(n()).default([]) }), At = d({
587
587
  disabled: c(l(U)).default([
588
588
  U.UserMemory,
589
589
  U.SearchInUserFiles,
@@ -596,8 +596,10 @@ var St = [
596
596
  userMemory: Et.optional().default(() => Et.parse({})),
597
597
  userFiles: Dt.optional().default(() => Dt.parse({})),
598
598
  shareDocument: Ot.optional().default(() => Ot.parse({})),
599
+ createSpreadsheet: K.optional().default(() => K.parse({})),
600
+ createWordDocument: K.optional().default(() => K.parse({})),
599
601
  approval: kt.optional().default(() => kt.parse({}))
600
- }), K = d({
602
+ }), q = d({
601
603
  freshness: d({
602
604
  enabled: u().default(!1),
603
605
  scale: i().int().min(86400).max(31536e3).default(7776e3),
@@ -615,20 +617,20 @@ var St = [
615
617
  maxOutputTokens: i().positive().optional(),
616
618
  presencePenalty: i().min(-2).max(2).optional(),
617
619
  frequencyPenalty: i().min(-2).max(2).optional(),
618
- searchMode: l(P).optional().default(P.Balanced),
620
+ searchMode: l(F).optional().default(F.Balanced),
619
621
  limit: i().positive().max(100).optional().default(10),
620
622
  maxStepCount: i().int().min(1).max(40).optional().default(10),
621
623
  reasoning: tt,
622
- ranking: K.optional().default(() => K.parse({}))
623
- }), q = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Mt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", J = /* @__PURE__ */ function(e) {
624
+ ranking: q.optional().default(() => q.parse({}))
625
+ }), J = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Mt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Y = /* @__PURE__ */ function(e) {
624
626
  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
627
  }({}), X = /* @__PURE__ */ function(e) {
628
- return e.Solid = "solid", e.Glass = "glass", e;
628
+ return e.Floating = "floating", e.Copilot = "copilot", e;
629
629
  }({}), Z = /* @__PURE__ */ function(e) {
630
+ return e.Solid = "solid", e.Glass = "glass", e;
631
+ }({}), Q = /* @__PURE__ */ function(e) {
630
632
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
631
- }({}), Nt = Object.values(Z), Pt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
633
+ }({}), Nt = Object.values(Q), Pt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
632
634
  function Ft(e) {
633
635
  let t = e.trim().toLowerCase();
634
636
  if (!t) return "";
@@ -638,7 +640,7 @@ function Ft(e) {
638
640
  return t;
639
641
  }
640
642
  }
641
- var Q = d({
643
+ var It = d({
642
644
  media: ne.optional(),
643
645
  logo: n().optional(),
644
646
  theme: l([
@@ -653,29 +655,29 @@ var Q = d({
653
655
  "black"
654
656
  ]).optional().default("auto"),
655
657
  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(),
658
+ initialMessage: J.optional(),
659
+ greeting: c(J).min(1).max(10).optional(),
660
+ messagePlaceholder: J.optional(),
661
+ dismissableNotice: J.optional(),
662
+ footerMessage: J.optional(),
663
+ privacyPolicyNotice: J.optional(),
662
664
  interactiveLogin: u().optional().default(!0),
663
665
  welcomePopup: u().optional().default(!1),
664
666
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
665
- layout: l(Y).optional().default(Y.Floating),
666
- appearance: l(X).optional().default(X.Solid),
667
+ layout: l(X).optional().default(X.Floating),
668
+ appearance: l(Z).optional().default(Z.Solid),
667
669
  hideFloatingButton: u().optional().default(!1),
668
670
  workingGlow: u().optional().default(!0),
669
671
  copilotPageCss: n().optional(),
670
672
  maxMessageLength: i().int().positive().optional(),
671
673
  widgetUrl: r().default(Mt),
672
674
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
673
- loaderStrategy: l(J).optional().default(J.InlineModule),
675
+ loaderStrategy: l(Y).optional().default(Y.InlineModule),
674
676
  customCss: n().optional(),
675
677
  smoothStream: u().optional().default(!1),
676
678
  showExtendedSteps: u().optional().default(!1),
677
679
  imageHosts: c(n().overwrite(Ft).refine((e) => e === "" || Pt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
678
- }), It = [
680
+ }), Lt = [
679
681
  "image/jpeg",
680
682
  "image/png",
681
683
  "image/gif",
@@ -684,19 +686,19 @@ var Q = d({
684
686
  "text/plain",
685
687
  "text/markdown",
686
688
  "text/csv"
687
- ], Lt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Rt = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", zt = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(U.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(U.WordDocument), $ = d({
689
+ ], Rt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", zt = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", Bt = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(U.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(U.WordDocument), $ = d({
688
690
  enabled: u().default(!1),
689
691
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
690
- allowedMimeTypes: c(n().regex(re)).optional().default([...It]),
692
+ allowedMimeTypes: c(n().regex(re)).optional().default([...Lt]),
691
693
  maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
692
694
  maxFilesPerChat: i().int().positive().max(50).optional().default(20)
693
- }), Bt = d({
695
+ }), Vt = d({
694
696
  zeroDataRetention: u().default(!0),
695
697
  disallowPromptTraining: u().default(!0),
696
698
  providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
697
- }), Vt = d({ enabled: u().default(!1) }), Ht = /* @__PURE__ */ function(e) {
699
+ }), Ht = d({ enabled: u().default(!1) }), Ut = /* @__PURE__ */ function(e) {
698
700
  return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
699
- }({}), Ut = d({ mode: l(Ht).default(Ht.Off) }), Wt = d({
701
+ }({}), Wt = d({ mode: l(Ut).default(Ut.Off) }), Gt = d({
700
702
  enabled: u().default(!1),
701
703
  voiceId: n().optional(),
702
704
  language: n().min(2).max(5).default("it"),
@@ -715,40 +717,40 @@ var Q = d({
715
717
  providerAgentId: n().optional(),
716
718
  providerSecretId: n().optional(),
717
719
  providerApiKeyId: n().optional()
718
- }), Gt = d({ enabled: u() });
720
+ }), Kt = d({ enabled: u() });
719
721
  d({
720
722
  chatId: n().min(1).optional(),
721
- deviceContext: Ae.optional(),
723
+ deviceContext: ke.optional(),
722
724
  externalContext: p(n(), f()).optional()
723
725
  });
724
- var Kt = d({
726
+ var qt = d({
725
727
  sessionId: n(),
726
728
  signedUrl: n(),
727
729
  providerAgentId: n(),
728
730
  chatId: n(),
729
731
  maxSessionSeconds: i().int()
730
- }), qt = d({
732
+ }), Jt = d({
731
733
  voiceId: n(),
732
734
  name: n(),
733
735
  category: n().optional(),
734
736
  previewUrl: n().optional(),
735
737
  labels: p(n(), n()).optional()
736
738
  });
737
- c(qt);
738
- var Jt = d({
739
+ c(Jt);
740
+ var Yt = d({
739
741
  model: jt,
740
- interface: Q,
742
+ interface: It,
741
743
  tools: At.optional().default(() => At.parse({})),
742
744
  fileUpload: $.optional().default(() => $.parse({})),
743
- gatewayOptions: Bt.optional().default(() => Bt.parse({})),
744
- channels: c(l(Z)).optional().default(() => [...Nt]),
745
+ gatewayOptions: Vt.optional().default(() => Vt.parse({})),
746
+ channels: c(l(Q)).optional().default(() => [...Nt]),
745
747
  externalContextSchema: ae.optional(),
746
- openaiApi: Vt.optional().default(() => Vt.parse({})),
747
- voice: Wt.optional().default(() => Wt.parse({})),
748
- toolWorkingSet: Ut.optional().default(() => Ut.parse({})),
749
- hostTools: Pe.optional(),
750
- pageAccess: He.optional()
751
- }), Yt = d({
748
+ openaiApi: Ht.optional().default(() => Ht.parse({})),
749
+ voice: Gt.optional().default(() => Gt.parse({})),
750
+ toolWorkingSet: Wt.optional().default(() => Wt.parse({})),
751
+ hostTools: Ne.optional(),
752
+ pageAccess: Ve.optional()
753
+ }), Xt = d({
752
754
  rateLimits: d({
753
755
  minuteRateLimit: i().int().min(0).optional(),
754
756
  hourRateLimit: i().int().min(0).optional(),
@@ -763,11 +765,11 @@ d({
763
765
  prompt: n().optional(),
764
766
  model: n().optional(),
765
767
  fallbackModels: c(n()).default([]),
766
- status: l(j).default(j.Draft),
767
- visibility: l(M).default(M.Organization),
768
- settings: Jt,
769
- security: Yt.nullish(),
770
- type: l(N).default(N.Chat),
768
+ status: l(M).default(M.Draft),
769
+ visibility: l(N).default(N.Organization),
770
+ settings: Yt,
771
+ security: Xt.nullish(),
772
+ type: l(P).default(P.Chat),
771
773
  organizationId: n()
772
774
  }), ee(() => d({
773
775
  id: n(),
@@ -775,11 +777,11 @@ d({
775
777
  prompt: n(),
776
778
  model: n(),
777
779
  fallbackModels: c(n()).nullable().default([]),
778
- status: l(j).default(j.Draft),
779
- visibility: l(M).default(M.Organization),
780
- settings: Jt,
781
- security: Yt.nullable(),
782
- type: l(N).default(N.Chat),
780
+ status: l(M).default(M.Draft),
781
+ visibility: l(N).default(N.Organization),
782
+ settings: Yt,
783
+ security: Xt.nullable(),
784
+ type: l(P).default(P.Chat),
783
785
  organizationId: n(),
784
786
  createdAt: m(),
785
787
  createdBy: n(),
@@ -791,23 +793,23 @@ d({
791
793
  outOfBudget: u().optional().default(!1),
792
794
  outOfBudgetReason: n().optional().default("")
793
795
  }));
794
- var Xt = d({
796
+ var Zt = d({
795
797
  id: n(),
796
798
  name: n(),
797
- status: l(j),
798
- visibility: l(M),
799
+ status: l(M),
800
+ visibility: l(N),
799
801
  organizationId: n(),
800
- interface: Q,
802
+ interface: It,
801
803
  createdAt: m(),
802
804
  updatedAt: m(),
803
805
  capabilities: d({
804
806
  fileUpload: $,
805
- voice: Gt,
806
- hostTools: Fe.optional(),
807
- pageAccess: Ge.optional()
807
+ voice: Kt,
808
+ hostTools: Pe.optional(),
809
+ pageAccess: We.optional()
808
810
  }),
809
- channels: c(l(Z)).default(() => [...Nt])
810
- }), Zt = Q.pick({
811
+ channels: c(l(Q)).default(() => [...Nt])
812
+ }), Qt = It.pick({
811
813
  logo: !0,
812
814
  mainColor: !0,
813
815
  textColor: !0,
@@ -818,41 +820,41 @@ var Xt = d({
818
820
  hideFloatingButton: !0,
819
821
  copilotPageCss: !0,
820
822
  customCss: !0
821
- }), Qt = Xt.pick({
823
+ }), $t = Zt.pick({
822
824
  id: !0,
823
825
  name: !0,
824
826
  organizationId: !0
825
- }).extend({ interface: Zt }), $t = d({
827
+ }).extend({ interface: Qt }), en = d({
826
828
  emailPassword: u(),
827
829
  google: u(),
828
830
  microsoft: u()
829
- }), en = d({
831
+ }), tn = d({
830
832
  requiresAuth: s(!1),
831
- agent: Xt,
833
+ agent: Zt,
832
834
  branding: a()
833
- }), tn = d({
835
+ }), nn = d({
834
836
  requiresAuth: s(!0),
835
837
  agent: a(),
836
- branding: Qt
838
+ branding: $t
837
839
  });
838
- te("requiresAuth", [en, tn]);
839
- var nn = d({
840
+ te("requiresAuth", [tn, nn]);
841
+ var rn = d({
840
842
  frontendUrl: n().optional(),
841
843
  telemetry: d({
842
844
  environment: n(),
843
845
  samplingRate: i().min(0).max(1)
844
846
  }).nullable()
845
- }), rn = d({
846
- authMethods: $t,
847
+ }), an = d({
848
+ authMethods: en,
847
849
  deploymentBranding: fe.nullish(),
848
- deployment: nn.optional()
850
+ deployment: rn.optional()
849
851
  });
850
- te("requiresAuth", [en.extend(rn.shape), tn.extend(rn.shape)]), d({
852
+ te("requiresAuth", [tn.extend(an.shape), nn.extend(an.shape)]), d({
851
853
  id: t(),
852
854
  limited: u(),
853
855
  agentIds: c(t())
854
856
  });
855
- var an = d({
857
+ var on = d({
856
858
  userId: t(),
857
859
  name: n(),
858
860
  email: n(),
@@ -863,7 +865,7 @@ var an = d({
863
865
  });
864
866
  d({
865
867
  id: t(),
866
- members: c(an)
868
+ members: c(on)
867
869
  }), d({
868
870
  id: t(),
869
871
  userIds: c(t())
@@ -884,6 +886,6 @@ d({
884
886
  ...g.fullText(),
885
887
  ...g.ids()
886
888
  });
887
- export { Ie as $, St as A, vt as B, F as C, pt as D, st as E, zt as F, Ue as G, Ft as H, Qe as I, Be as J, We as K, ft as L, W as M, lt as N, gt as O, it as P, Le as Q, ut as R, qe as S, Lt as T, Ke as U, xt as V, A as W, Re as X, k as Y, je as Z, ht as _, $ as a, ye as at, L as b, K as c, me as ct, Ht as d, g as dt, Ae as et, N as f, Y as g, X as h, Z as i, Te as it, Rt as j, Kt as k, tt as l, h as lt, G as m, ot as n, D as nt, Bt as o, ue as ot, M as p, Ve as q, U as r, _ as rt, J as s, Ee as st, I as t, b as tt, P as u, le as ut, ct as v, R as w, at as x, B as y, mt as z };
889
+ export { Fe as $, St as A, vt as B, I as C, pt as D, st as E, Bt as F, He as G, Ft as H, Qe as I, ze as J, Ue as K, ft as L, W as M, lt as N, gt as O, it as P, Ie as Q, ut as R, Ke as S, Rt as T, Ge as U, xt as V, j as W, Le as X, A as Y, Ae as Z, ht as _, $ as a, ye as at, R as b, q as c, me as ct, Ut as d, g as dt, ke as et, P as f, X as g, Z as h, Q as i, we as it, zt as j, qt as k, tt as l, h as lt, G as m, ot as n, D as nt, Vt as o, ue as ot, N as p, Be as q, U as r, _ as rt, Y as s, Te as st, L as t, b as tt, F as u, le as ut, ct as v, qe as w, at as x, B as y, mt as z };
888
890
 
889
- //# sourceMappingURL=Agent-BlWzW8Mg.js.map
891
+ //# sourceMappingURL=Agent-B-jQOrER.js.map