@8wave/ai-elements 0.125.0-beta.29 → 0.125.0-beta.30

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 (132) hide show
  1. package/README.md +5 -1
  2. package/dist/_chunks/{Agent-CCBs3D5I.js → Agent-BZiorSrE.js} +160 -119
  3. package/dist/_chunks/Agent-BZiorSrE.js.map +1 -0
  4. package/dist/_chunks/{PkFilePreview-DiLMoL-6.js → PkFilePreview-DCk2wnP9.js} +3 -3
  5. package/dist/_chunks/{PkFilePreview-DiLMoL-6.js.map → PkFilePreview-DCk2wnP9.js.map} +1 -1
  6. package/dist/_chunks/{PkFilePreviewDialog-CHBtxpoB.js → PkFilePreviewDialog-BFGUstHI.js} +2 -2
  7. package/dist/_chunks/{PkFilePreviewDialog-CHBtxpoB.js.map → PkFilePreviewDialog-BFGUstHI.js.map} +1 -1
  8. package/dist/_chunks/{PkSelectionActions-DFyvcEyl.js → PkSelectionActions-DMqJYWem.js} +2 -2
  9. package/dist/_chunks/{PkSelectionActions-DFyvcEyl.js.map → PkSelectionActions-DMqJYWem.js.map} +1 -1
  10. package/dist/_chunks/{PkStreamingMarkdown-0hE_Cx4W.js → PkStreamingMarkdown-BqDooeUU.js} +3 -3
  11. package/dist/_chunks/{PkStreamingMarkdown-0hE_Cx4W.js.map → PkStreamingMarkdown-BqDooeUU.js.map} +1 -1
  12. package/dist/_chunks/{PkToolChatFile-DtQ9xY4w.js → PkToolChatFile-DpStX3wS.js} +3 -3
  13. package/dist/_chunks/{PkToolChatFile-DtQ9xY4w.js.map → PkToolChatFile-DpStX3wS.js.map} +1 -1
  14. package/dist/_chunks/{PkToolRequestGeolocation-CUXB6Lkw.js → PkToolRequestGeolocation-BfwRKTYt.js} +2 -2
  15. package/dist/_chunks/{PkToolRequestGeolocation-CUXB6Lkw.js.map → PkToolRequestGeolocation-BfwRKTYt.js.map} +1 -1
  16. package/dist/_chunks/{PkToolRequestOAuthConnection-CoK7s1HA.js → PkToolRequestOAuthConnection-BeNjHyE9.js} +2 -2
  17. package/dist/_chunks/{PkToolRequestOAuthConnection-CoK7s1HA.js.map → PkToolRequestOAuthConnection-BeNjHyE9.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowArtifact-BdkKU6P1.js → PkToolShowArtifact-YPwJLLlW.js} +2 -2
  19. package/dist/_chunks/{PkToolShowArtifact-BdkKU6P1.js.map → PkToolShowArtifact-YPwJLLlW.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowContactForm-BmM2MbOK.js → PkToolShowContactForm-CTc1mbA8.js} +2 -2
  21. package/dist/_chunks/{PkToolShowContactForm-BmM2MbOK.js.map → PkToolShowContactForm-CTc1mbA8.js.map} +1 -1
  22. package/dist/_chunks/{PkToolShowForm-CoFlgA-I.js → PkToolShowForm-DT5EyYVY.js} +4 -4
  23. package/dist/_chunks/{PkToolShowForm-CoFlgA-I.js.map → PkToolShowForm-DT5EyYVY.js.map} +1 -1
  24. package/dist/_chunks/{PkToolShowImageGallery-DefXra8-.js → PkToolShowImageGallery-DKrCrrB5.js} +2 -2
  25. package/dist/_chunks/{PkToolShowImageGallery-DefXra8-.js.map → PkToolShowImageGallery-DKrCrrB5.js.map} +1 -1
  26. package/dist/_chunks/{PkToolShowProductList-D6Df6dtq.js → PkToolShowProductList-BQjFsiEo.js} +2 -2
  27. package/dist/_chunks/{PkToolShowProductList-D6Df6dtq.js.map → PkToolShowProductList-BQjFsiEo.js.map} +1 -1
  28. package/dist/_chunks/{PkToolShowSources-DDBlLBt6.js → PkToolShowSources-CzSknPo6.js} +3 -3
  29. package/dist/_chunks/{PkToolShowSources-DDBlLBt6.js.map → PkToolShowSources-CzSknPo6.js.map} +1 -1
  30. package/dist/_chunks/{PkToolShowSuggestedReply-B-s_ERZF.js → PkToolShowSuggestedReply-C9gtEyCy.js} +2 -2
  31. package/dist/_chunks/{PkToolShowSuggestedReply-B-s_ERZF.js.map → PkToolShowSuggestedReply-C9gtEyCy.js.map} +1 -1
  32. package/dist/_chunks/{PkToolShowVideo-CKpJ1O7O.js → PkToolShowVideo-CxYRfgA5.js} +2 -2
  33. package/dist/_chunks/{PkToolShowVideo-CKpJ1O7O.js.map → PkToolShowVideo-CxYRfgA5.js.map} +1 -1
  34. package/dist/_chunks/{PkToolShowWebPages-BicbYK0k.js → PkToolShowWebPages-CBkk8sYx.js} +2 -2
  35. package/dist/_chunks/{PkToolShowWebPages-BicbYK0k.js.map → PkToolShowWebPages-CBkk8sYx.js.map} +1 -1
  36. package/dist/_chunks/{chatImagePolicy-Df31QSRJ.js → chatImagePolicy-NToILNOC.js} +2 -2
  37. package/dist/_chunks/{chatImagePolicy-Df31QSRJ.js.map → chatImagePolicy-NToILNOC.js.map} +1 -1
  38. package/dist/_chunks/{markdown-B_D4YzWu.js → markdown-DqyUj6ze.js} +2 -2
  39. package/dist/_chunks/{markdown-B_D4YzWu.js.map → markdown-DqyUj6ze.js.map} +1 -1
  40. package/dist/_chunks/{utils-ChmRkK0t.js → utils-BcIYGNLF.js} +2 -2
  41. package/dist/_chunks/{utils-ChmRkK0t.js.map → utils-BcIYGNLF.js.map} +1 -1
  42. package/dist/ai-elements.es.js +30 -25
  43. package/dist/ai-elements.es.js.map +1 -1
  44. package/dist-vue/PkChatbot.js +1 -1
  45. package/dist-vue/PkChatbotEmptyState.js +1 -1
  46. package/dist-vue/PkChatbotInput.js +1 -1
  47. package/dist-vue/PkChatbotMessages.js +1 -1
  48. package/dist-vue/PkChatbotStepPayload.js +1 -1
  49. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  50. package/dist-vue/PkChatbotSteps.js +1 -1
  51. package/dist-vue/PkChatbotViewChat.js +1 -1
  52. package/dist-vue/PkChatbotViewConversations.js +1 -1
  53. package/dist-vue/PkChatbotViewFiles.js +1 -1
  54. package/dist-vue/PkChatbotViewProfile.js +1 -1
  55. package/dist-vue/_chunks/{Agent-Cm1LrkYm.js → Agent-B55xNURC.js} +168 -127
  56. package/dist-vue/_chunks/Agent-B55xNURC.js.map +1 -0
  57. package/dist-vue/_chunks/{Document-D1x1WBr-.js → Document-BzJVMupn.js} +10 -10
  58. package/dist-vue/_chunks/{Document-D1x1WBr-.js.map → Document-BzJVMupn.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkChatbot-BjJzskl7.js → PkChatbot-DLgPqMWd.js} +8 -8
  60. package/dist-vue/_chunks/{PkChatbot-BjJzskl7.js.map → PkChatbot-DLgPqMWd.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkChatbotEmptyState-CZC2gP3I.js → PkChatbotEmptyState-DMPEj1Qa.js} +2 -2
  62. package/dist-vue/_chunks/{PkChatbotEmptyState-CZC2gP3I.js.map → PkChatbotEmptyState-DMPEj1Qa.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkChatbotInput-BmTdIJZ9.js → PkChatbotInput-TamSYiA7.js} +3 -3
  64. package/dist-vue/_chunks/{PkChatbotInput-BmTdIJZ9.js.map → PkChatbotInput-TamSYiA7.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkChatbotMessages-b2lupEv9.js → PkChatbotMessages-bPBOSAv7.js} +17 -17
  66. package/dist-vue/_chunks/{PkChatbotMessages-b2lupEv9.js.map → PkChatbotMessages-bPBOSAv7.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkChatbotStepPayload-D4w1XlF2.js → PkChatbotStepPayload-DfLVMQrN.js} +2 -2
  68. package/dist-vue/_chunks/{PkChatbotStepPayload-D4w1XlF2.js.map → PkChatbotStepPayload-DfLVMQrN.js.map} +1 -1
  69. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DFTcjzoX.js → PkChatbotStepToolDetail-mwByeqKJ.js} +3 -3
  70. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DFTcjzoX.js.map → PkChatbotStepToolDetail-mwByeqKJ.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkChatbotSteps-D3zLulMo.js → PkChatbotSteps-pibgqxus.js} +5 -5
  72. package/dist-vue/_chunks/{PkChatbotSteps-D3zLulMo.js.map → PkChatbotSteps-pibgqxus.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkChatbotViewChat-DawyiUjq.js → PkChatbotViewChat-y60IA9aQ.js} +7 -7
  74. package/dist-vue/_chunks/{PkChatbotViewChat-DawyiUjq.js.map → PkChatbotViewChat-y60IA9aQ.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkChatbotViewConversations-Bs246dtL.js → PkChatbotViewConversations-BPnPsRhJ.js} +3 -3
  76. package/dist-vue/_chunks/{PkChatbotViewConversations-Bs246dtL.js.map → PkChatbotViewConversations-BPnPsRhJ.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkChatbotViewFiles-uzZ5H4Fd.js → PkChatbotViewFiles-gYkXw8dc.js} +3 -3
  78. package/dist-vue/_chunks/{PkChatbotViewFiles-uzZ5H4Fd.js.map → PkChatbotViewFiles-gYkXw8dc.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkChatbotViewProfile-BhIvfT_n.js → PkChatbotViewProfile-PnHDQuuK.js} +2 -2
  80. package/dist-vue/_chunks/{PkChatbotViewProfile-BhIvfT_n.js.map → PkChatbotViewProfile-PnHDQuuK.js.map} +1 -1
  81. package/dist-vue/_chunks/{PkFilePreview-DfD48QQ_.js → PkFilePreview-CPSYaOV7.js} +3 -3
  82. package/dist-vue/_chunks/{PkFilePreview-DfD48QQ_.js.map → PkFilePreview-CPSYaOV7.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkFilePreviewDialog-DFCBpQf3.js → PkFilePreviewDialog-D6zFO_H_.js} +2 -2
  84. package/dist-vue/_chunks/{PkFilePreviewDialog-DFCBpQf3.js.map → PkFilePreviewDialog-D6zFO_H_.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkStreamingMarkdown-ChMbSviw.js → PkStreamingMarkdown-B3VWOaWb.js} +3 -3
  86. package/dist-vue/_chunks/{PkStreamingMarkdown-ChMbSviw.js.map → PkStreamingMarkdown-B3VWOaWb.js.map} +1 -1
  87. package/dist-vue/_chunks/{PkToolChatFile-DQtABEaI.js → PkToolChatFile-PXpiJLZ6.js} +3 -3
  88. package/dist-vue/_chunks/{PkToolChatFile-DQtABEaI.js.map → PkToolChatFile-PXpiJLZ6.js.map} +1 -1
  89. package/dist-vue/_chunks/{PkToolRequestGeolocation-p7Ip17F7.js → PkToolRequestGeolocation-Bx2Vtb-5.js} +2 -2
  90. package/dist-vue/_chunks/{PkToolRequestGeolocation-p7Ip17F7.js.map → PkToolRequestGeolocation-Bx2Vtb-5.js.map} +1 -1
  91. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CtXSzKzM.js → PkToolRequestOAuthConnection-Dp_dx8cQ.js} +2 -2
  92. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CtXSzKzM.js.map → PkToolRequestOAuthConnection-Dp_dx8cQ.js.map} +1 -1
  93. package/dist-vue/_chunks/{PkToolShowArtifact-w6SxjLPW.js → PkToolShowArtifact-DouCz_dZ.js} +2 -2
  94. package/dist-vue/_chunks/{PkToolShowArtifact-w6SxjLPW.js.map → PkToolShowArtifact-DouCz_dZ.js.map} +1 -1
  95. package/dist-vue/_chunks/{PkToolShowContactForm-BQ7bBTQU.js → PkToolShowContactForm-BmiNlFfx.js} +2 -2
  96. package/dist-vue/_chunks/{PkToolShowContactForm-BQ7bBTQU.js.map → PkToolShowContactForm-BmiNlFfx.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkToolShowDiagram-D-yQgdOL.js → PkToolShowDiagram-D6mYTDU-.js} +2 -2
  98. package/dist-vue/_chunks/{PkToolShowDiagram-D-yQgdOL.js.map → PkToolShowDiagram-D6mYTDU-.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkToolShowForm-CF00JLpa.js → PkToolShowForm-CksTiimD.js} +4 -4
  100. package/dist-vue/_chunks/{PkToolShowForm-CF00JLpa.js.map → PkToolShowForm-CksTiimD.js.map} +1 -1
  101. package/dist-vue/_chunks/{PkToolShowImageGallery-ZJMWOWHq.js → PkToolShowImageGallery-B-lVY0xH.js} +2 -2
  102. package/dist-vue/_chunks/{PkToolShowImageGallery-ZJMWOWHq.js.map → PkToolShowImageGallery-B-lVY0xH.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkToolShowProductList-CeKI9H36.js → PkToolShowProductList-Dcq3Kdse.js} +2 -2
  104. package/dist-vue/_chunks/{PkToolShowProductList-CeKI9H36.js.map → PkToolShowProductList-Dcq3Kdse.js.map} +1 -1
  105. package/dist-vue/_chunks/{PkToolShowSources-CXZqanmw.js → PkToolShowSources-DApWmwvk.js} +3 -3
  106. package/dist-vue/_chunks/{PkToolShowSources-CXZqanmw.js.map → PkToolShowSources-DApWmwvk.js.map} +1 -1
  107. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BRIzGNwx.js → PkToolShowSuggestedReply-CXGpPEl-.js} +2 -2
  108. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BRIzGNwx.js.map → PkToolShowSuggestedReply-CXGpPEl-.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkToolShowVideo-BCs-i6xQ.js → PkToolShowVideo-CjrYh9-q.js} +2 -2
  110. package/dist-vue/_chunks/{PkToolShowVideo-BCs-i6xQ.js.map → PkToolShowVideo-CjrYh9-q.js.map} +1 -1
  111. package/dist-vue/_chunks/{PkToolShowWebPages-Bixa0CjQ.js → PkToolShowWebPages-DSIAizw-.js} +2 -2
  112. package/dist-vue/_chunks/{PkToolShowWebPages-Bixa0CjQ.js.map → PkToolShowWebPages-DSIAizw-.js.map} +1 -1
  113. package/dist-vue/_chunks/{createChatbotApiClient-DO4_I5hT.js → createChatbotApiClient-c3U4TXu2.js} +15 -15
  114. package/dist-vue/_chunks/{createChatbotApiClient-DO4_I5hT.js.map → createChatbotApiClient-c3U4TXu2.js.map} +1 -1
  115. package/dist-vue/_chunks/{useChatbotStore-BIjCGX0B.js → useChatbotStore-Kk3ioX3v.js} +16 -16
  116. package/dist-vue/_chunks/{useChatbotStore-BIjCGX0B.js.map → useChatbotStore-Kk3ioX3v.js.map} +1 -1
  117. package/dist-vue/_chunks/{utils-CaYEz-0A.js → utils-DXOZ6zjh.js} +4 -4
  118. package/dist-vue/_chunks/{utils-CaYEz-0A.js.map → utils-DXOZ6zjh.js.map} +1 -1
  119. package/dist-vue/api.js +1 -1
  120. package/dist-vue/composables.js +10 -8
  121. package/dist-vue/composables.js.map +1 -1
  122. package/dist-vue/index.js +4001 -3879
  123. package/dist-vue/index.js.map +1 -1
  124. package/dist-vue/locales.js +8 -0
  125. package/dist-vue/packages/components/src/PkEditorRepeater.d.ts +2 -0
  126. package/dist-vue/packages/components/src/chat/PkAgentSelectionActionsSettings.d.ts +4 -1
  127. package/dist-vue/packages/components/src/chat/index.d.ts +1 -0
  128. package/dist-vue/packages/components/src/chat/selectionActionEdits.d.ts +40 -0
  129. package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +30 -1
  130. package/package.json +1 -1
  131. package/dist/_chunks/Agent-CCBs3D5I.js.map +0 -1
  132. package/dist-vue/_chunks/Agent-Cm1LrkYm.js.map +0 -1
@@ -332,6 +332,10 @@ var qe = [
332
332
  "proofread",
333
333
  "translate",
334
334
  "chart"
335
+ ], Je = [
336
+ "page",
337
+ "word",
338
+ "excel"
335
339
  ], j = {
336
340
  page: ["explain", "summarize"],
337
341
  word: [
@@ -345,14 +349,51 @@ var qe = [
345
349
  "summarize",
346
350
  "chart"
347
351
  ]
348
- }, Je = (e) => p(n(), n().trim().min(1).max(e)), Ye = d({
352
+ }, Ye = (e) => p(n(), n().trim().min(1).max(e));
353
+ function Xe(e) {
354
+ let t = (e) => Object.keys(e ?? {}).filter((t) => !!e?.[t]?.trim()), n = t(e.label), r = t(e.prompt);
355
+ return {
356
+ empty: n.length === 0 && r.length === 0,
357
+ label: r.filter((e) => !n.includes(e)),
358
+ prompt: n.filter((e) => !r.includes(e))
359
+ };
360
+ }
361
+ var Ze = d({
349
362
  id: n().trim().min(1).max(64),
350
- label: Je(40),
351
- prompt: Je(500)
352
- }), M = (e, t) => d({
363
+ label: Ye(40),
364
+ prompt: Ye(500)
365
+ });
366
+ function Qe(e, t) {
367
+ for (let n of Je) {
368
+ let r = e.selectionActions?.[n];
369
+ if (r?.enabled) for (let [e, i] of (r.actions ?? []).entries()) {
370
+ let r = [
371
+ "selectionActions",
372
+ n,
373
+ "actions",
374
+ e
375
+ ], a = Xe(i);
376
+ a.empty && t.addIssue({
377
+ code: "custom",
378
+ message: "An action needs a label and an instruction",
379
+ path: [...r, "label"]
380
+ });
381
+ for (let e of ["label", "prompt"]) for (let n of a[e]) t.addIssue({
382
+ code: "custom",
383
+ message: `The ${e} is missing in ${n}`,
384
+ path: [
385
+ ...r,
386
+ e,
387
+ n
388
+ ]
389
+ });
390
+ }
391
+ }
392
+ }
393
+ var M = (e, t) => d({
353
394
  enabled: u().default(t),
354
395
  builtIns: c(l(e)).default(() => [...e]),
355
- actions: c(Ye).default([])
396
+ actions: c(Ze).default([])
356
397
  }).refine((e) => new Set(e.builtIns).size === e.builtIns.length, {
357
398
  message: "A built-in action is listed twice",
358
399
  path: ["builtIns"]
@@ -362,14 +403,14 @@ var qe = [
362
403
  }).refine((e) => e.builtIns.length + e.actions.length <= 4, {
363
404
  message: "At most 4 actions, built-in and the agent's together",
364
405
  path: ["actions"]
365
- }), N = M(j.page, !1), P = M(j.word, !0), F = M(j.excel, !0), Xe = d({
406
+ }), N = M(j.page, !1), P = M(j.word, !0), F = M(j.excel, !0), $e = d({
366
407
  page: N.optional().default(() => N.parse({})),
367
408
  word: P.optional().default(() => P.parse({})),
368
409
  excel: F.optional().default(() => F.parse({}))
369
410
  }), I = d({
370
411
  builtIns: c(l(qe)),
371
- actions: c(Ye)
372
- }), Ze = d({
412
+ actions: c(Ze)
413
+ }), et = d({
373
414
  page: I.optional(),
374
415
  word: I.optional(),
375
416
  excel: I.optional()
@@ -377,7 +418,7 @@ var qe = [
377
418
  return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
378
419
  }({}), R = /* @__PURE__ */ function(e) {
379
420
  return e.Public = "public", e.Private = "private", e.Organization = "organization", e.Restricted = "restricted", e;
380
- }({}), Qe = [R.Organization, R.Restricted], z = /* @__PURE__ */ function(e) {
421
+ }({}), tt = [R.Organization, R.Restricted], z = /* @__PURE__ */ function(e) {
381
422
  return e.Chat = "chat", e.Reasoning = "reasoning", e;
382
423
  }({}), B = /* @__PURE__ */ function(e) {
383
424
  return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
@@ -403,10 +444,10 @@ var qe = [
403
444
  "auto",
404
445
  "detailed",
405
446
  "concise"
406
- ], $e = d({
447
+ ], nt = d({
407
448
  reasoningEffort: l(V).optional(),
408
449
  reasoningSummary: l(W).optional()
409
- }), et = d({
450
+ }), rt = d({
410
451
  type: l([
411
452
  "adaptive",
412
453
  "enabled",
@@ -415,11 +456,11 @@ var qe = [
415
456
  effort: l(H).optional(),
416
457
  display: l(["summarized", "omitted"]).optional(),
417
458
  budgetTokens: i().int().positive().optional()
418
- }), tt = d({
459
+ }), it = d({
419
460
  thinkingLevel: l(U).optional(),
420
461
  thinkingBudget: i().int().optional(),
421
462
  includeThoughts: u().optional()
422
- }), nt = d({ type: l(["enabled", "disabled"]).optional() }), G = [
463
+ }), at = d({ type: l(["enabled", "disabled"]).optional() }), G = [
423
464
  "alibaba",
424
465
  "meta",
425
466
  "moonshotai",
@@ -427,7 +468,7 @@ var qe = [
427
468
  "xiaomi",
428
469
  "zai"
429
470
  ];
430
- function rt(e) {
471
+ function ot(e) {
431
472
  return G.includes(e);
432
473
  }
433
474
  var K = [
@@ -441,11 +482,11 @@ var K = [
441
482
  function J(e, t) {
442
483
  return e && t.includes(e) ? e : void 0;
443
484
  }
444
- var it = d({
445
- openai: $e.optional(),
446
- anthropic: et.optional(),
447
- google: tt.optional(),
448
- deepseek: nt.optional(),
485
+ var st = d({
486
+ openai: nt.optional(),
487
+ anthropic: rt.optional(),
488
+ google: it.optional(),
489
+ deepseek: at.optional(),
449
490
  alibaba: q.optional(),
450
491
  meta: q.optional(),
451
492
  moonshotai: q.optional(),
@@ -453,7 +494,7 @@ var it = d({
453
494
  xiaomi: q.optional(),
454
495
  zai: q.optional()
455
496
  });
456
- function at(e) {
497
+ function ct(e) {
457
498
  if (!e || typeof e != "object") return e;
458
499
  let t = e, n = [
459
500
  "openai",
@@ -487,7 +528,7 @@ function at(e) {
487
528
  }
488
529
  return e;
489
530
  }
490
- var ot = ie(f(), it, at).optional(), st = {
531
+ var lt = ie(f(), st, ct).optional(), ut = {
491
532
  openai: { reasoningEffort: "low" },
492
533
  anthropic: {
493
534
  type: "adaptive",
@@ -501,28 +542,28 @@ var ot = ie(f(), it, at).optional(), st = {
501
542
  xiaomi: { reasoningEffort: "low" },
502
543
  zai: { reasoningEffort: "low" }
503
544
  };
504
- function ct(e) {
545
+ function dt(e) {
505
546
  return !!e && typeof e == "object" && Object.values(e).some((e) => e !== void 0);
506
547
  }
507
- function lt(e, t) {
548
+ function ft(e, t) {
508
549
  let n = t?.[e];
509
- return ct(n) ? n : st[e];
550
+ return dt(n) ? n : ut[e];
510
551
  }
511
552
  var Y = /* @__PURE__ */ function(e) {
512
553
  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;
513
- }({}), ut = "mcp-", dt = "api-", ft = "subagent-", pt = "enableTools";
514
- function mt(e) {
515
- return !ht(e) && e !== Y.RequestGeolocation;
554
+ }({}), pt = "mcp-", mt = "api-", ht = "subagent-", gt = "enableTools";
555
+ function _t(e) {
556
+ return !vt(e) && e !== Y.RequestGeolocation;
516
557
  }
517
- function ht(e) {
558
+ function vt(e) {
518
559
  return e === Y.RequestConfirm || e === Y.ShowArtifact || e === Y.ShowCalendarEvent || e === Y.ShowComparison || e === Y.ShowContactForm || e === Y.ShowDiagram || e === Y.ShowEmail || e === Y.ShowImageGallery || e === Y.ShowLocation || e === Y.ShowMessage || e === Y.ShowForm || e === Y.ShowMultipleChoice || e === Y.ShowProductList || e === Y.ShowQrCode || e === Y.ShowSources || e === Y.ShowSuggestedReply || e === Y.ShowVideo || e === Y.ShowWeather || e === Y.ShowWebPages;
519
560
  }
520
- var gt = /* @__PURE__ */ new Set([
561
+ var yt = /* @__PURE__ */ new Set([
521
562
  "editSpreadsheet",
522
563
  "editWordDocument",
523
564
  Y.CreateSpreadsheet,
524
565
  Y.CreateWordDocument
525
- ]), _t = /* @__PURE__ */ new Set([
566
+ ]), bt = /* @__PURE__ */ new Set([
526
567
  Y.RequestConfirm,
527
568
  Y.ShowArtifact,
528
569
  Y.ShowWeather,
@@ -538,25 +579,25 @@ var gt = /* @__PURE__ */ new Set([
538
579
  Y.ShowEmail,
539
580
  Y.ShowMessage,
540
581
  Y.ShowForm,
541
- ...gt,
582
+ ...yt,
542
583
  Y.ShareDocument
543
584
  ]);
544
- function vt(e) {
545
- return _t.has(e);
585
+ function xt(e) {
586
+ return bt.has(e);
546
587
  }
547
- var yt = /* @__PURE__ */ new Set([
588
+ var St = /* @__PURE__ */ new Set([
548
589
  Y.RequestConfirm,
549
590
  Y.RequestGeolocation,
550
591
  Y.ShowForm,
551
592
  Y.ShowMultipleChoice,
552
593
  "requestOAuthConnection"
553
594
  ]);
554
- function bt(e) {
555
- return yt.has(e);
595
+ function Ct(e) {
596
+ return St.has(e);
556
597
  }
557
- var xt = /* @__PURE__ */ function(e) {
598
+ var wt = /* @__PURE__ */ function(e) {
558
599
  return e.Web = "web", e.Platform = "platform", e.OpenAiApi = "openai-api", e.Voice = "voice", e;
559
- }({}), St = /* @__PURE__ */ new Set([
600
+ }({}), Tt = /* @__PURE__ */ new Set([
560
601
  Y.RequestConfirm,
561
602
  Y.RequestGeolocation,
562
603
  Y.ShowArtifact,
@@ -577,31 +618,31 @@ var xt = /* @__PURE__ */ function(e) {
577
618
  Y.ShowVideo,
578
619
  Y.ShowWeather,
579
620
  Y.ShowWebPages
580
- ]), Ct = "Shown on the caller's screen";
581
- function wt(e) {
582
- return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(Ct));
621
+ ]), Et = "Shown on the caller's screen";
622
+ function Dt(e) {
623
+ return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(Et));
583
624
  }
584
- var Tt = d({
625
+ var Ot = d({
585
626
  maxSteps: i().int().min(1).max(10).optional().default(5),
586
627
  maxOptionsPerStep: i().int().min(2).max(10).optional().default(5)
587
- }), Et = /* @__PURE__ */ function(e) {
628
+ }), kt = /* @__PURE__ */ function(e) {
588
629
  return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
589
- }({}), Dt = {
630
+ }({}), At = {
590
631
  openai: "OpenAI",
591
632
  anthropic: "Anthropic",
592
633
  google: "Google"
593
634
  };
594
- function Ot(e) {
635
+ function jt(e) {
595
636
  let t = e.split("/")[0];
596
- return Object.prototype.hasOwnProperty.call(Dt, t) ? Dt[t] : void 0;
637
+ return Object.prototype.hasOwnProperty.call(At, t) ? At[t] : void 0;
597
638
  }
598
- var kt = [
639
+ var Mt = [
599
640
  "perplexity_search",
600
641
  "parallel_search",
601
642
  "web_search",
602
643
  "openai_web_search",
603
644
  "google_search"
604
- ], At = d({
645
+ ], Nt = d({
605
646
  maxResults: i().int().min(1).max(20).optional(),
606
647
  maxTokens: i().int().positive().max(1e6).optional(),
607
648
  maxTokensPerPage: i().int().positive().optional(),
@@ -614,7 +655,7 @@ var kt = [
614
655
  "month",
615
656
  "year"
616
657
  ]).optional()
617
- }), jt = d({
658
+ }), Pt = d({
618
659
  mode: l(["one-shot", "agentic"]).optional(),
619
660
  maxResults: i().int().min(1).max(20).optional(),
620
661
  sourcePolicy: d({
@@ -627,7 +668,7 @@ var kt = [
627
668
  maxCharsTotal: i().int().positive().optional()
628
669
  }).optional(),
629
670
  fetchPolicy: d({ maxAgeSeconds: i().int().positive().optional() }).optional()
630
- }), Mt = d({
671
+ }), Ft = d({
631
672
  openai: d({}).optional(),
632
673
  anthropic: d({
633
674
  maxUses: i().int().positive().optional(),
@@ -642,13 +683,13 @@ var kt = [
642
683
  }).optional()
643
684
  }).optional(),
644
685
  google: d({}).optional()
645
- }), Nt = d({
686
+ }), It = d({
646
687
  enabled: u().default(!1),
647
- provider: l(Et).optional().default(Et.Native),
648
- perplexity: At.optional(),
649
- parallel: jt.optional(),
650
- native: Mt.optional()
651
- }), Pt = d({ useAllUserKb: u().default(!1) }), Ft = d({ useAllUserFiles: u().default(!1) }), It = d({ enabled: u().default(!1) }), X = d({ enabled: u().default(!1) }), Lt = d({ tools: c(n()).default([]) }), Rt = d({
688
+ provider: l(kt).optional().default(kt.Native),
689
+ perplexity: Nt.optional(),
690
+ parallel: Pt.optional(),
691
+ native: Ft.optional()
692
+ }), Lt = d({ useAllUserKb: u().default(!1) }), Rt = d({ useAllUserFiles: u().default(!1) }), zt = d({ enabled: u().default(!1) }), X = d({ enabled: u().default(!1) }), Bt = d({ tools: c(n()).default([]) }), Vt = d({
652
693
  disabled: c(l(Y)).default([
653
694
  Y.UserMemory,
654
695
  Y.SearchInUserFiles,
@@ -656,15 +697,15 @@ var kt = [
656
697
  Y.FetchTeamsChannelHistory,
657
698
  Y.ScheduleWakeup
658
699
  ]),
659
- showForm: Tt.optional().default(() => Tt.parse({})),
660
- webSearch: Nt.optional().default(() => Nt.parse({})),
661
- userMemory: Pt.optional().default(() => Pt.parse({})),
662
- userFiles: Ft.optional().default(() => Ft.parse({})),
663
- shareDocument: It.optional().default(() => It.parse({})),
700
+ showForm: Ot.optional().default(() => Ot.parse({})),
701
+ webSearch: It.optional().default(() => It.parse({})),
702
+ userMemory: Lt.optional().default(() => Lt.parse({})),
703
+ userFiles: Rt.optional().default(() => Rt.parse({})),
704
+ shareDocument: zt.optional().default(() => zt.parse({})),
664
705
  createSpreadsheet: X.optional().default(() => X.parse({})),
665
706
  createWordDocument: X.optional().default(() => X.parse({})),
666
- approval: Lt.optional().default(() => Lt.parse({}))
667
- }), zt = d({
707
+ approval: Bt.optional().default(() => Bt.parse({}))
708
+ }), Ht = d({
668
709
  freshness: d({
669
710
  enabled: u().default(!1),
670
711
  scale: i().int().min(86400).max(31536e3).default(7776e3),
@@ -676,7 +717,7 @@ var kt = [
676
717
  diversity: i().min(0).max(1).default(.3),
677
718
  candidatesLimit: i().int().min(20).max(100).default(50)
678
719
  }).prefault({})
679
- }).prefault({}), Bt = d({
720
+ }).prefault({}), Ut = d({
680
721
  prompt: n().optional(),
681
722
  temperature: i().min(0).max(2).optional().default(.6),
682
723
  maxOutputTokens: i().positive().optional(),
@@ -685,18 +726,18 @@ var kt = [
685
726
  searchMode: l(B).optional().default(B.Balanced),
686
727
  limit: i().positive().max(100).optional().default(10),
687
728
  maxStepCount: i().int().min(1).max(40).optional().default(10),
688
- reasoning: ot,
689
- ranking: zt.optional().default(() => zt.parse({}))
690
- }), Z = ie(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Vt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Ht = /* @__PURE__ */ function(e) {
729
+ reasoning: lt,
730
+ ranking: Ht.optional().default(() => Ht.parse({}))
731
+ }), Z = ie(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Wt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Gt = /* @__PURE__ */ function(e) {
691
732
  return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
692
- }({}), Ut = /* @__PURE__ */ function(e) {
733
+ }({}), Kt = /* @__PURE__ */ function(e) {
693
734
  return e.Floating = "floating", e.Copilot = "copilot", e;
694
- }({}), Wt = /* @__PURE__ */ function(e) {
735
+ }({}), qt = /* @__PURE__ */ function(e) {
695
736
  return e.Solid = "solid", e.Glass = "glass", e;
696
737
  }({}), Q = /* @__PURE__ */ function(e) {
697
738
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
698
- }({}), Gt = Object.values(Q), Kt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
699
- function qt(e) {
739
+ }({}), Jt = Object.values(Q), Yt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
740
+ function Xt(e) {
700
741
  let t = e.trim().toLowerCase();
701
742
  if (!t) return "";
702
743
  try {
@@ -705,7 +746,7 @@ function qt(e) {
705
746
  return t;
706
747
  }
707
748
  }
708
- var Jt = d({
749
+ var Zt = d({
709
750
  media: ne.optional(),
710
751
  logo: n().optional(),
711
752
  theme: l([
@@ -735,21 +776,21 @@ var Jt = d({
735
776
  interactiveLogin: u().optional().default(!0),
736
777
  welcomePopup: u().optional().default(!1),
737
778
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
738
- layout: l(Ut).optional().default(Ut.Floating),
739
- appearance: l(Wt).optional().default(Wt.Solid),
779
+ layout: l(Kt).optional().default(Kt.Floating),
780
+ appearance: l(qt).optional().default(qt.Solid),
740
781
  hideFloatingButton: u().optional().default(!1),
741
782
  workingGlow: u().optional().default(!0),
742
783
  copilotPageCss: n().optional(),
743
784
  maxMessageLength: i().int().positive().optional(),
744
- widgetUrl: r().default(Vt),
785
+ widgetUrl: r().default(Wt),
745
786
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
746
- loaderStrategy: l(Ht).optional().default(Ht.InlineModule),
787
+ loaderStrategy: l(Gt).optional().default(Gt.InlineModule),
747
788
  customCss: n().optional(),
748
789
  smoothStream: u().optional().default(!1),
749
790
  showExtendedSteps: u().optional().default(!1),
750
791
  showReasoning: u().optional().default(!0),
751
- imageHosts: c(n().overwrite(qt).refine((e) => e === "" || Kt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
752
- }), Yt = [
792
+ imageHosts: c(n().overwrite(Xt).refine((e) => e === "" || Yt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
793
+ }), Qt = [
753
794
  "image/jpeg",
754
795
  "image/png",
755
796
  "image/gif",
@@ -758,19 +799,19 @@ var Jt = d({
758
799
  "text/plain",
759
800
  "text/markdown",
760
801
  "text/csv"
761
- ], Xt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Zt = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", Qt = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(Y.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(Y.WordDocument), $ = d({
802
+ ], $t = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", en = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", tn = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(Y.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(Y.WordDocument), $ = d({
762
803
  enabled: u().default(!1),
763
804
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
764
- allowedMimeTypes: c(n().regex(re)).optional().default([...Yt]),
805
+ allowedMimeTypes: c(n().regex(re)).optional().default([...Qt]),
765
806
  maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
766
807
  maxFilesPerChat: i().int().positive().max(50).optional().default(20)
767
- }), $t = d({
808
+ }), nn = d({
768
809
  zeroDataRetention: u().default(!0),
769
810
  disallowPromptTraining: u().default(!0),
770
811
  providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
771
- }), en = d({ enabled: u().default(!1) }), tn = /* @__PURE__ */ function(e) {
812
+ }), rn = d({ enabled: u().default(!1) }), an = /* @__PURE__ */ function(e) {
772
813
  return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
773
- }({}), nn = d({ mode: l(tn).default(tn.Off) }), rn = d({
814
+ }({}), on = d({ mode: l(an).default(an.Off) }), sn = d({
774
815
  enabled: u().default(!1),
775
816
  voiceId: n().optional(),
776
817
  language: n().min(2).max(5).default("it"),
@@ -789,44 +830,44 @@ var Jt = d({
789
830
  providerAgentId: n().optional(),
790
831
  providerSecretId: n().optional(),
791
832
  providerApiKeyId: n().optional()
792
- }), an = d({ enabled: u() }), on = s("automatic");
833
+ }), cn = d({ enabled: u() }), ln = s("automatic");
793
834
  d({
794
835
  chatId: n().min(1).optional(),
795
836
  deviceContext: Ae.optional(),
796
837
  externalContext: p(n(), f()).optional(),
797
838
  pageTools: f().optional(),
798
- confirmations: on.optional()
839
+ confirmations: ln.optional()
799
840
  });
800
- var sn = d({
841
+ var un = d({
801
842
  sessionId: n(),
802
843
  signedUrl: n(),
803
844
  providerAgentId: n(),
804
845
  chatId: n(),
805
846
  maxSessionSeconds: i().int()
806
- }), cn = d({
847
+ }), dn = d({
807
848
  voiceId: n(),
808
849
  name: n(),
809
850
  category: n().optional(),
810
851
  previewUrl: n().optional(),
811
852
  labels: p(n(), n()).optional()
812
853
  });
813
- c(cn);
814
- var ln = d({ allowAutomatic: u().default(!1) }), un = d({ allowAutomatic: s(!0) }), dn = d({
815
- model: Bt,
816
- interface: Jt,
817
- tools: Rt.optional().default(() => Rt.parse({})),
854
+ c(dn);
855
+ var fn = d({ allowAutomatic: u().default(!1) }), pn = d({ allowAutomatic: s(!0) }), mn = d({
856
+ model: Ut,
857
+ interface: Zt,
858
+ tools: Vt.optional().default(() => Vt.parse({})),
818
859
  fileUpload: $.optional().default(() => $.parse({})),
819
- gatewayOptions: $t.optional().default(() => $t.parse({})),
820
- channels: c(l(Q)).optional().default(() => [...Gt]),
860
+ gatewayOptions: nn.optional().default(() => nn.parse({})),
861
+ channels: c(l(Q)).optional().default(() => [...Jt]),
821
862
  externalContextSchema: oe.optional(),
822
- openaiApi: en.optional().default(() => en.parse({})),
823
- voice: rn.optional().default(() => rn.parse({})),
824
- toolWorkingSet: nn.optional().default(() => nn.parse({})),
863
+ openaiApi: rn.optional().default(() => rn.parse({})),
864
+ voice: sn.optional().default(() => sn.parse({})),
865
+ toolWorkingSet: on.optional().default(() => on.parse({})),
825
866
  hostTools: Pe.optional(),
826
867
  pageAccess: He.optional(),
827
- confirmations: ln.optional(),
828
- selectionActions: Xe.optional()
829
- }), fn = d({
868
+ confirmations: fn.optional(),
869
+ selectionActions: $e.optional()
870
+ }), hn = d({
830
871
  rateLimits: d({
831
872
  minuteRateLimit: i().int().min(0).optional(),
832
873
  hourRateLimit: i().int().min(0).optional(),
@@ -843,8 +884,8 @@ d({
843
884
  fallbackModels: c(n()).default([]),
844
885
  status: l(L).default(L.Draft),
845
886
  visibility: l(R).default(R.Organization),
846
- settings: dn,
847
- security: fn.nullish(),
887
+ settings: mn.superRefine(Qe),
888
+ security: hn.nullish(),
848
889
  type: l(z).default(z.Chat),
849
890
  organizationId: n()
850
891
  }), ee(() => d({
@@ -855,8 +896,8 @@ d({
855
896
  fallbackModels: c(n()).nullable().default([]),
856
897
  status: l(L).default(L.Draft),
857
898
  visibility: l(R).default(R.Organization),
858
- settings: dn,
859
- security: fn.nullable(),
899
+ settings: mn,
900
+ security: hn.nullable(),
860
901
  type: l(z).default(z.Chat),
861
902
  organizationId: n(),
862
903
  createdAt: m(),
@@ -869,25 +910,25 @@ d({
869
910
  outOfBudget: u().optional().default(!1),
870
911
  outOfBudgetReason: n().optional().default("")
871
912
  }));
872
- var pn = d({
913
+ var gn = d({
873
914
  id: n(),
874
915
  name: n(),
875
916
  status: l(L),
876
917
  visibility: l(R),
877
918
  organizationId: n(),
878
- interface: Jt,
919
+ interface: Zt,
879
920
  createdAt: m(),
880
921
  updatedAt: m(),
881
922
  capabilities: d({
882
923
  fileUpload: $,
883
- voice: an,
924
+ voice: cn,
884
925
  hostTools: Fe.optional(),
885
926
  pageAccess: Ge.optional(),
886
- confirmations: un.optional(),
887
- selectionActions: Ze.optional()
927
+ confirmations: pn.optional(),
928
+ selectionActions: et.optional()
888
929
  }),
889
- channels: c(l(Q)).default(() => [...Gt])
890
- }), mn = Jt.pick({
930
+ channels: c(l(Q)).default(() => [...Jt])
931
+ }), _n = Zt.pick({
891
932
  logo: !0,
892
933
  mainColor: !0,
893
934
  textColor: !0,
@@ -898,41 +939,41 @@ var pn = d({
898
939
  hideFloatingButton: !0,
899
940
  copilotPageCss: !0,
900
941
  customCss: !0
901
- }), hn = pn.pick({
942
+ }), vn = gn.pick({
902
943
  id: !0,
903
944
  name: !0,
904
945
  organizationId: !0
905
- }).extend({ interface: mn }), gn = d({
946
+ }).extend({ interface: _n }), yn = d({
906
947
  emailPassword: u(),
907
948
  google: u(),
908
949
  microsoft: u()
909
- }), _n = d({
950
+ }), bn = d({
910
951
  requiresAuth: s(!1),
911
- agent: pn,
952
+ agent: gn,
912
953
  branding: a()
913
- }), vn = d({
954
+ }), xn = d({
914
955
  requiresAuth: s(!0),
915
956
  agent: a(),
916
- branding: hn
957
+ branding: vn
917
958
  });
918
- te("requiresAuth", [_n, vn]);
919
- var yn = d({
959
+ te("requiresAuth", [bn, xn]);
960
+ var Sn = d({
920
961
  frontendUrl: n().optional(),
921
962
  telemetry: d({
922
963
  environment: n(),
923
964
  samplingRate: i().min(0).max(1)
924
965
  }).nullable()
925
- }), bn = d({
926
- authMethods: gn,
966
+ }), Cn = d({
967
+ authMethods: yn,
927
968
  deploymentBranding: pe.nullish(),
928
- deployment: yn.optional()
969
+ deployment: Sn.optional()
929
970
  });
930
- te("requiresAuth", [_n.extend(bn.shape), vn.extend(bn.shape)]), d({
971
+ te("requiresAuth", [bn.extend(Cn.shape), xn.extend(Cn.shape)]), d({
931
972
  id: t(),
932
973
  limited: u(),
933
974
  agentIds: c(t())
934
975
  });
935
- var xn = d({
976
+ var wn = d({
936
977
  userId: t(),
937
978
  name: n(),
938
979
  email: n(),
@@ -943,7 +984,7 @@ var xn = d({
943
984
  });
944
985
  d({
945
986
  id: t(),
946
- members: c(xn)
987
+ members: c(wn)
947
988
  }), d({
948
989
  id: t(),
949
990
  userIds: c(t())
@@ -965,6 +1006,6 @@ d({
965
1006
  ...h.fullText(),
966
1007
  ...h.ids()
967
1008
  });
968
- export { Ve as $, St as A, ht as B, ut as C, Xt as D, W as E, mt as F, F as G, wt as H, lt as I, P as J, N as K, Qt as L, kt as M, Zt as N, ft as O, Et as P, We as Q, rt as R, U as S, V as T, Ot as U, bt as V, qt as W, A as X, Ke as Y, Ue as Z, gt as _, h as _t, $ as a, Ie as at, pt as b, zt as c, E as ct, tn as d, be as dt, Be as et, z as f, de as ft, Ut as g, ue as gt, Wt as h, ie as ht, Q as i, Le as it, sn as j, yt as k, ot as l, g as lt, Nt as m, he as mt, dt as n, Re as nt, $t as o, Ae as ot, R as p, Ee as pt, j as q, Y as r, je as rt, Ht as s, y as st, H as t, k as tt, B as u, Te as ut, on as v, Qe as w, K as x, xt as y, vt as z };
1009
+ export { We as $, Tt as A, vt as B, pt as C, $t as D, W as E, _t as F, F as G, Dt as H, ft as I, P as J, N as K, tn as L, Mt as M, en as N, ht as O, kt as P, Ue as Q, ot as R, U as S, V as T, jt as U, Ct as V, Xt as W, Ke as X, Xe as Y, A as Z, yt as _, ue as _t, $ as a, Le as at, gt as b, Ht as c, y as ct, an as d, Te as dt, Ve as et, z as f, be as ft, Kt as g, ie as gt, qt as h, he as ht, Q as i, je as it, un as j, St as k, lt as l, E as lt, It as m, Ee as mt, mt as n, k as nt, nn as o, Ie as ot, R as p, de as pt, j as q, Y as r, Re as rt, Gt as s, Ae as st, H as t, Be as tt, B as u, g as ut, ln as v, h as vt, tt as w, K as x, wt as y, xt as z };
969
1010
 
970
- //# sourceMappingURL=Agent-Cm1LrkYm.js.map
1011
+ //# sourceMappingURL=Agent-B55xNURC.js.map