@8wave/ai-elements 0.126.0 → 0.127.0-beta.2
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.
- package/dist/_chunks/{Agent-DytagI8S.js → Agent-nB9V45mr.js} +354 -276
- package/dist/_chunks/Agent-nB9V45mr.js.map +1 -0
- package/dist/_chunks/{Document-BdWEd1tb.js → Document-Dm5GM40t.js} +7 -7
- package/dist/_chunks/{Document-BdWEd1tb.js.map → Document-Dm5GM40t.js.map} +1 -1
- package/dist/_chunks/{PkFilePreview-C3BxAdui.js → PkFilePreview-qTCDbut0.js} +3 -3
- package/dist/_chunks/{PkFilePreview-C3BxAdui.js.map → PkFilePreview-qTCDbut0.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-WAm7QSvT.js → PkFilePreviewDialog-m5d4zZDi.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-WAm7QSvT.js.map → PkFilePreviewDialog-m5d4zZDi.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-DM-d0hCD.js → PkImageEditorDialog-aekpEqWD.js} +2 -2
- package/dist/_chunks/{PkImageEditorDialog-DM-d0hCD.js.map → PkImageEditorDialog-aekpEqWD.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-Bl1KbGOj.js → PkSelectionActions-DDhRX6cs.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-Bl1KbGOj.js.map → PkSelectionActions-DDhRX6cs.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-CU1ZUUCf.js → PkStreamingMarkdown-5WfFCjFv.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-CU1ZUUCf.js.map → PkStreamingMarkdown-5WfFCjFv.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-B-Y47Q_K.js → PkToolChatFile-C3B9q2OL.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-B-Y47Q_K.js.map → PkToolChatFile-C3B9q2OL.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-B41xrF8k.js → PkToolRequestGeolocation-D4pYnCW5.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-B41xrF8k.js.map → PkToolRequestGeolocation-D4pYnCW5.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BuCGuHwd.js → PkToolRequestOAuthConnection-DnnRY2rt.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-BuCGuHwd.js.map → PkToolRequestOAuthConnection-DnnRY2rt.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-Bjm6uhOK.js → PkToolShowArtifact-DQln7TsF.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-Bjm6uhOK.js.map → PkToolShowArtifact-DQln7TsF.js.map} +1 -1
- package/dist/_chunks/{PkToolShowChart-B6TKQ3aT.js → PkToolShowChart-DfDB9BeZ.js} +2 -2
- package/dist/_chunks/{PkToolShowChart-B6TKQ3aT.js.map → PkToolShowChart-DfDB9BeZ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-5tg4xbrh.js → PkToolShowContactForm-Dkb8AiqL.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-5tg4xbrh.js.map → PkToolShowContactForm-Dkb8AiqL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-CiNtS-vX.js → PkToolShowDiagram-B2dBogUW.js} +2 -2
- package/dist/_chunks/{PkToolShowDiagram-CiNtS-vX.js.map → PkToolShowDiagram-B2dBogUW.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-eh8mXr6u.js → PkToolShowForm-CtDcwJs4.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-eh8mXr6u.js.map → PkToolShowForm-CtDcwJs4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-DedpXD-b.js → PkToolShowImageGallery-dLMI3SM7.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-DedpXD-b.js.map → PkToolShowImageGallery-dLMI3SM7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-D24EIc4v.js → PkToolShowProductList-DE6BEdr_.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-D24EIc4v.js.map → PkToolShowProductList-DE6BEdr_.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-Dnw1x7dT.js → PkToolShowSources-vSr080EU.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-Dnw1x7dT.js.map → PkToolShowSources-vSr080EU.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-CxNx1Uf6.js → PkToolShowSuggestedReply-HuKn3loC.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-CxNx1Uf6.js.map → PkToolShowSuggestedReply-HuKn3loC.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-CDcJiprr.js → PkToolShowVideo-BL-9CiYe.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-CDcJiprr.js.map → PkToolShowVideo-BL-9CiYe.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-UXqb0XEJ.js → PkToolShowWebPages-DQfODZdD.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-UXqb0XEJ.js.map → PkToolShowWebPages-DQfODZdD.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-DJAB0Bgw.js → chatImagePolicy-Cj5lkTVq.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-DJAB0Bgw.js.map → chatImagePolicy-Cj5lkTVq.js.map} +1 -1
- package/dist/_chunks/text-CCurUhdH.js +13 -0
- package/dist/_chunks/text-CCurUhdH.js.map +1 -0
- package/dist/_chunks/{utils-78zQeKDO.js → utils-CRy3kzE3.js} +458 -160
- package/dist/_chunks/utils-CRy3kzE3.js.map +1 -0
- package/dist/ai-elements.es.js +5971 -5636
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotLocalFolders.d.ts +2 -0
- package/dist-vue/PkChatbotLocalFolders.js +1 -0
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-Da4XChe8.js → Agent-DKefaJeG.js} +445 -377
- package/dist-vue/_chunks/Agent-DKefaJeG.js.map +1 -0
- package/dist-vue/_chunks/{Document-CsQsUQYa.js → Document-B49E_gxT.js} +18 -18
- package/dist-vue/_chunks/{Document-CsQsUQYa.js.map → Document-B49E_gxT.js.map} +1 -1
- package/dist-vue/_chunks/{Media-CMiWEpdQ.js → Media-DtudATme.js} +12 -2
- package/dist-vue/_chunks/Media-DtudATme.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-CITKd3qD.js → PkChatbot-8Fqlhwq5.js} +10 -9
- package/dist-vue/_chunks/PkChatbot-8Fqlhwq5.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotAuth-SfTyFbq1.js → PkChatbotAuth-CIK2CFy-.js} +8 -8
- package/dist-vue/_chunks/{PkChatbotAuth-SfTyFbq1.js.map → PkChatbotAuth-CIK2CFy-.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-DI_8T5a4.js → PkChatbotEmptyState-C_htXOSW.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-DI_8T5a4.js.map → PkChatbotEmptyState-C_htXOSW.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotInput-CJ5lPtpH.js +658 -0
- package/dist-vue/_chunks/PkChatbotInput-CJ5lPtpH.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotLocalFolders-CSvqh_Cx.js +126 -0
- package/dist-vue/_chunks/PkChatbotLocalFolders-CSvqh_Cx.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-BWdINCAX.js → PkChatbotMessages-DY8r4UKe.js} +49 -49
- package/dist-vue/_chunks/{PkChatbotMessages-BWdINCAX.js.map → PkChatbotMessages-DY8r4UKe.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-CTwsRpkv.js → PkChatbotStepPayload-BLjH1pkP.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-CTwsRpkv.js.map → PkChatbotStepPayload-BLjH1pkP.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-C9xeMg-k.js → PkChatbotStepToolDetail-wIZmkvr-.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-C9xeMg-k.js.map → PkChatbotStepToolDetail-wIZmkvr-.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DsubpIKa.js → PkChatbotSteps-DG09GyCb.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotSteps-DsubpIKa.js.map → PkChatbotSteps-DG09GyCb.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DW1a9ZNl.js → PkChatbotViewChat-DTKfW1kr.js} +684 -666
- package/dist-vue/_chunks/PkChatbotViewChat-DTKfW1kr.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-DdniYy1b.js → PkChatbotViewConversations-NA_PCvZR.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotViewConversations-DdniYy1b.js.map → PkChatbotViewConversations-NA_PCvZR.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-CMoromsf.js → PkChatbotViewFiles-D8_Khdu2.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-CMoromsf.js.map → PkChatbotViewFiles-D8_Khdu2.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-BT7I3GhB.js → PkChatbotViewProfile-iTBiQVsZ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-BT7I3GhB.js.map → PkChatbotViewProfile-iTBiQVsZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-Dxp-U8QU.js → PkFilePreview-sSb1Mmr2.js} +4 -4
- package/dist-vue/_chunks/{PkFilePreview-Dxp-U8QU.js.map → PkFilePreview-sSb1Mmr2.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-BE-NpN18.js → PkFilePreviewDialog-DquXMRJD.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-BE-NpN18.js.map → PkFilePreviewDialog-DquXMRJD.js.map} +1 -1
- package/dist-vue/_chunks/{PkImageEditorDialog-BiuOD6Hr.js → PkImageEditorDialog-CrjpCier.js} +2 -2
- package/dist-vue/_chunks/{PkImageEditorDialog-BiuOD6Hr.js.map → PkImageEditorDialog-CrjpCier.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-DMmt35Mq.js → PkStreamingMarkdown-CgKFdzCI.js} +23 -23
- package/dist-vue/_chunks/{PkStreamingMarkdown-DMmt35Mq.js.map → PkStreamingMarkdown-CgKFdzCI.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-BdNron14.js → PkToolChatFile-IEQxfzjM.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-BdNron14.js.map → PkToolChatFile-IEQxfzjM.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DeI7kLlR.js → PkToolRequestGeolocation-BmrbMPke.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DeI7kLlR.js.map → PkToolRequestGeolocation-BmrbMPke.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C0lE3Qbk.js → PkToolRequestOAuthConnection-yKgXyOUN.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C0lE3Qbk.js.map → PkToolRequestOAuthConnection-yKgXyOUN.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-C0Gb-LW2.js → PkToolShowArtifact-CF90yFCe.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-C0Gb-LW2.js.map → PkToolShowArtifact-CF90yFCe.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowChart-oJmzU10F.js → PkToolShowChart-CDR8ag4q.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowChart-oJmzU10F.js.map → PkToolShowChart-CDR8ag4q.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-D4IAna-K.js → PkToolShowContactForm-DAdKUU4X.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-D4IAna-K.js.map → PkToolShowContactForm-DAdKUU4X.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-ClGpv5Cr.js → PkToolShowDiagram-Do20AvFb.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-ClGpv5Cr.js.map → PkToolShowDiagram-Do20AvFb.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-ByfNodNh.js → PkToolShowForm-DfFmPOt6.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-ByfNodNh.js.map → PkToolShowForm-DfFmPOt6.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-DJ9JNDWK.js → PkToolShowImageGallery-DA6KW2g_.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-DJ9JNDWK.js.map → PkToolShowImageGallery-DA6KW2g_.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-CcFseg28.js → PkToolShowProductList-FcDDabPI.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-CcFseg28.js.map → PkToolShowProductList-FcDDabPI.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-DznWqWK3.js → PkToolShowSources-afCYBONq.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-DznWqWK3.js.map → PkToolShowSources-afCYBONq.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BZqnfpwO.js → PkToolShowSuggestedReply-C863wgtU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BZqnfpwO.js.map → PkToolShowSuggestedReply-C863wgtU.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-niwkzqTN.js → PkToolShowVideo-kUiwxRlz.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-niwkzqTN.js.map → PkToolShowVideo-kUiwxRlz.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-BsMVJ6c7.js → PkToolShowWebPages-Dw9D1__u.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-BsMVJ6c7.js.map → PkToolShowWebPages-Dw9D1__u.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-Cd_2UI_O.js → createChatbotApiClient-DzrHp52e.js} +66 -65
- package/dist-vue/_chunks/createChatbotApiClient-DzrHp52e.js.map +1 -0
- package/dist-vue/_chunks/localFolders-ChZp8dLu.js +353 -0
- package/dist-vue/_chunks/localFolders-ChZp8dLu.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-Dir9Rc7K.js → useChatbotStore-DZlc7dzK.js} +1289 -1152
- package/dist-vue/_chunks/useChatbotStore-DZlc7dzK.js.map +1 -0
- package/dist-vue/_chunks/useSettledSelection-1bfM1fzx.js +55 -0
- package/dist-vue/_chunks/useSettledSelection-1bfM1fzx.js.map +1 -0
- package/dist-vue/_chunks/{utils-CibsowVe.js → utils-CY0jFRnG.js} +126 -107
- package/dist-vue/_chunks/utils-CY0jFRnG.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -0
- package/dist-vue/composables.js +62 -10
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +4100 -4086
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +32 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -2
- package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +7 -1
- package/dist-vue/packages/components/src/chat/PkChatbotLocalFolders.d.ts +31 -0
- package/dist-vue/packages/components/src/chat/utils.d.ts +3 -2
- package/dist-vue/packages/composable/src/chatbot/hostTools.d.ts +1 -1
- package/dist-vue/packages/composable/src/chatbot/index.d.ts +1 -0
- package/dist-vue/packages/composable/src/chatbot/localFolders.d.ts +137 -0
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +46 -3
- package/dist-vue/packages/models/src/schema/Agent.d.ts +24 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/HostTool.d.ts +5 -2
- package/dist-vue/packages/models/src/schema/LocalFolder.d.ts +78 -0
- package/dist-vue/packages/models/src/schema/Organization.d.ts +10 -0
- package/dist-vue/packages/models/src/schema/PageAccess.d.ts +4 -1
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +8 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +8 -0
- package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-DytagI8S.js.map +0 -1
- package/dist/_chunks/text-5F7L8EHi.js +0 -5
- package/dist/_chunks/text-5F7L8EHi.js.map +0 -1
- package/dist/_chunks/utils-78zQeKDO.js.map +0 -1
- package/dist-vue/_chunks/Agent-Da4XChe8.js.map +0 -1
- package/dist-vue/_chunks/Media-CMiWEpdQ.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-CITKd3qD.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-UqcSEi8l.js +0 -708
- package/dist-vue/_chunks/PkChatbotInput-UqcSEi8l.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-DW1a9ZNl.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-Cd_2UI_O.js.map +0 -1
- package/dist-vue/_chunks/message-DuibQyHy.js +0 -61
- package/dist-vue/_chunks/message-DuibQyHy.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-Dir9Rc7K.js.map +0 -1
- package/dist-vue/_chunks/utils-CibsowVe.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { C as e, S as t, T as n, _ as r, b as i, c as a, d as o, g as s, h as c, i as l, l as ee, m as te, o as ne, s as u, w as re, x as d } from "./schemas-CfXaKVGu.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as f, n as ie, t as ae } from "./Media-DtudATme.js";
|
|
3
3
|
// ../../packages/models/src/utils.ts
|
|
4
|
-
var
|
|
4
|
+
var oe = (e, t, n) => ee(e, t, {
|
|
5
5
|
encode: (e) => e,
|
|
6
6
|
decode: n
|
|
7
|
-
}),
|
|
7
|
+
}), se = 51200, ce = i(d(), e()).refine((e) => JSON.stringify(e).length <= se, { message: `Schema must not exceed ${se / 1024} KB` });
|
|
8
8
|
n();
|
|
9
|
-
var
|
|
9
|
+
var le = (e) => [`${e}`, `-${e}`], ue = (e) => e.flatMap((e) => le(e)), p = {
|
|
10
10
|
pagination: (e = 1, t = 10) => ({
|
|
11
11
|
"page[number]": s().or(d()).transform((e) => Number(e)).default(e),
|
|
12
12
|
"page[size]": s().or(d()).transform((e) => Number(e)).default(t)
|
|
@@ -21,47 +21,47 @@ var ce = (e) => [`${e}`, `-${e}`], le = (e) => e.flatMap((e) => ce(e)), m = {
|
|
|
21
21
|
fullText: () => ({ "filter[fullText]": d().optional() }),
|
|
22
22
|
ids: () => ({ ids: t([d(), u(d())]).optional() }),
|
|
23
23
|
deleted: () => ({ "filter[isDeleted]": a().default(!1) }),
|
|
24
|
-
filters: (e) => e.map((e) =>
|
|
24
|
+
filters: (e) => e.map((e) => p.filter(e)).reduce((e, t) => ({
|
|
25
25
|
...e,
|
|
26
26
|
...t
|
|
27
27
|
})),
|
|
28
28
|
sort: (e) => {
|
|
29
|
-
let t =
|
|
29
|
+
let t = ue(e);
|
|
30
30
|
return { sort: l(t).optional().default(t[0]) };
|
|
31
31
|
}
|
|
32
|
-
},
|
|
33
|
-
let n = new Set(t), r =
|
|
32
|
+
}, de = (e) => e.replace(/^[a-zA-Z_]+:/, ""), fe = (e, t) => {
|
|
33
|
+
let n = new Set(t), r = de(e);
|
|
34
34
|
if (r !== e && n.has(r)) return r;
|
|
35
35
|
if (n.has(e)) return e;
|
|
36
36
|
let i = [...n].filter((e) => e.endsWith(`-${r}`));
|
|
37
37
|
return i.length === 1 ? i[0] : void 0;
|
|
38
|
-
},
|
|
38
|
+
}, pe = /* @__PURE__ */ "openai/gpt-5-nano,openai/gpt-5-mini,openai/gpt-5.1-thinking,openai/gpt-5.2,openai/gpt-5.4-nano,openai/gpt-5.4-mini,openai/gpt-5.4,openai/gpt-5.4-pro,openai/gpt-5.5,openai/gpt-5.5-pro,openai/gpt-5.6-luna,openai/gpt-5.6-terra,openai/gpt-5.6-sol,openai/gpt-5.6-luna-fast,openai/gpt-5.6-terra-fast,openai/gpt-5.6-sol-fast,openai/gpt-6-astra,openai/gpt-6-astra-fast,openai/gpt-6-sol,openai/gpt-6-sol-fast,openai/gpt-6-luna,openai/gpt-6-luna-fast,openai/gpt-6.1-sol,openai/gpt-6.1-sol-fast,openai/gpt-6.1-terra,openai/gpt-6.1-terra-fast,openai/gpt-6.2-astra,openai/gpt-6.2-astra-fast,openai/gpt-6.2-sol,openai/gpt-6.2-sol-fast,google/gemini-2.5-flash-lite,google/gemini-2.5-flash,google/gemini-2.5-pro,google/gemini-3-flash,google/gemini-3.1-pro-preview,google/gemini-3.1-flash-lite,google/gemini-3.5-flash,google/gemini-3.5-flash-lite,google/gemini-3.6-flash,google/gemini-3.7-flash,google/gemini-3.8-flash,google/gemini-4-argon,google/gemini-4-hydrogen,google/gemini-4-carbon,anthropic/claude-haiku-4.5,anthropic/claude-haiku-5.5,anthropic/claude-sonnet-4.6,anthropic/claude-sonnet-5,anthropic/claude-sonnet-5.5,anthropic/claude-opus-4.6,anthropic/claude-opus-4.7,anthropic/claude-opus-4.8,anthropic/claude-opus-5,anthropic/claude-opus-5-fast,anthropic/claude-opus-5.5,anthropic/claude-opus-5.5-fast,anthropic/claude-fable-5,anthropic/claude-fable-5.1,anthropic/claude-fable-5.2,anthropic/claude-fable-5.2-fast,deepseek/deepseek-v3.2,deepseek/deepseek-v4-flash-0731,deepseek/deepseek-v4.1-flash,deepseek/deepseek-v4.1-flash-1017,deepseek/deepseek-v4-pro-0813,alibaba/qwen3.6-plus,alibaba/qwen3.7-max,alibaba/qwen3.7-plus,alibaba/qwen3.7-flash,alibaba/qwen3.8-flash,alibaba/qwen3.8-max,alibaba/qwen3.8-27b,alibaba/qwen3.8-max-0902,alibaba/qwen3.8-omni-flash,alibaba/qwen3.8-max-prime,alibaba/qwen4-max,spacexai/grok-4.3,spacexai/grok-4.6,spacexai/grok-4.7,zai/glm-5.2,zai/glm-5.2-fast,zai/glm-5.3,zai/glm-5.3-flash,zai/glm-5.3-fast,meta/muse-spark-1.1,meta/muse-spark-1.2,meta/muse-spark-1.3,meta/muse-wonder-1.0,moonshotai/kimi-k3,moonshotai/kimi-k3-fast,mistral/ministral-14b,mistral/mistral-small,mistral/mistral-medium-3.5,mistral/mistral-large-3,mistral/mistral-large-4".split(","), me = ["eu"], he = 1e6, ge = (/* @__PURE__ */ function(e) {
|
|
39
39
|
return e.textEmbedding3Small = "openai/text-embedding-3-small", e.textEmbedding3Large = "openai/text-embedding-3-large", e.geminiEmbedding2 = "google/gemini-embedding-2", e;
|
|
40
|
-
}({})).geminiEmbedding2,
|
|
40
|
+
}({})).geminiEmbedding2, _e = "typesafe-ai/jev", m = /* @__PURE__ */ function(e) {
|
|
41
41
|
return e.it = "it", e.en = "en", e.es = "es", e.fr = "fr", e.de = "de", e;
|
|
42
42
|
}({});
|
|
43
|
-
|
|
44
|
-
var
|
|
43
|
+
m.it, m.en, m.es, m.fr, m.de;
|
|
44
|
+
var ve = /* @__PURE__ */ function(e) {
|
|
45
45
|
return e.READABILITY = "readability", e.AI = "ai", e;
|
|
46
|
-
}({}),
|
|
46
|
+
}({}), ye = /* @__PURE__ */ function(e) {
|
|
47
47
|
return e.FETCH = "fetch", e.PUPPETEER = "puppeteer", e.REMOTE = "remote", e;
|
|
48
|
-
}({}),
|
|
49
|
-
new Set(
|
|
48
|
+
}({}), be = "byok/", xe = (e) => !!e?.startsWith(be);
|
|
49
|
+
new Set(pe);
|
|
50
50
|
// ../../packages/models/src/schema/Branding.ts
|
|
51
|
-
var
|
|
52
|
-
brand: d().regex(
|
|
53
|
-
accent: d().regex(
|
|
54
|
-
info: d().regex(
|
|
55
|
-
}),
|
|
56
|
-
light:
|
|
57
|
-
dark:
|
|
58
|
-
}),
|
|
51
|
+
var h = /^#[0-9A-Fa-f]{6}$/, Se = r({
|
|
52
|
+
brand: d().regex(h),
|
|
53
|
+
accent: d().regex(h),
|
|
54
|
+
info: d().regex(h)
|
|
55
|
+
}), g = r({
|
|
56
|
+
light: Se,
|
|
57
|
+
dark: Se
|
|
58
|
+
}), Ce = (e, t) => JSON.stringify(e).toLowerCase() === JSON.stringify(t).toLowerCase(), _ = /* @__PURE__ */ function(e) {
|
|
59
59
|
return e.System = "system", e.ForceLight = "force-light", e.ForceDark = "force-dark", e;
|
|
60
|
-
}({}),
|
|
60
|
+
}({}), v = /* @__PURE__ */ function(e) {
|
|
61
61
|
return e.LogoLight = "logoLight", e.LogoDark = "logoDark", e.Mark = "mark", e.EmailLogo = "emailLogo", e.EmailBanner = "emailBanner", e;
|
|
62
62
|
}({});
|
|
63
|
-
|
|
64
|
-
var
|
|
63
|
+
v.EmailLogo, v.EmailBanner;
|
|
64
|
+
var y = r({
|
|
65
65
|
checksum: d().regex(/^[0-9a-f]{64}$/),
|
|
66
66
|
mimeType: l([
|
|
67
67
|
"image/svg+xml",
|
|
@@ -71,13 +71,13 @@ var x = r({
|
|
|
71
71
|
]),
|
|
72
72
|
width: s().int().positive().nullable(),
|
|
73
73
|
height: s().int().positive().nullable()
|
|
74
|
-
}),
|
|
75
|
-
[
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
[
|
|
79
|
-
[
|
|
80
|
-
}),
|
|
74
|
+
}), we = r({
|
|
75
|
+
[v.LogoLight]: y.nullable(),
|
|
76
|
+
[v.LogoDark]: y.nullable(),
|
|
77
|
+
[v.Mark]: y.nullable(),
|
|
78
|
+
[v.EmailLogo]: y.nullable(),
|
|
79
|
+
[v.EmailBanner]: y.nullable()
|
|
80
|
+
}), b = r({
|
|
81
81
|
productName: d().trim().min(1).max(60),
|
|
82
82
|
shortName: d().trim().min(1).max(24),
|
|
83
83
|
description: d().trim().max(200).nullable(),
|
|
@@ -85,44 +85,44 @@ var x = r({
|
|
|
85
85
|
companyName: d().trim().max(80).nullable()
|
|
86
86
|
});
|
|
87
87
|
r({
|
|
88
|
-
colors:
|
|
89
|
-
mode: l(
|
|
90
|
-
assets:
|
|
91
|
-
text:
|
|
88
|
+
colors: g,
|
|
89
|
+
mode: l(_),
|
|
90
|
+
assets: we,
|
|
91
|
+
text: b
|
|
92
92
|
}).extend({ version: d() });
|
|
93
|
-
var
|
|
94
|
-
productName:
|
|
95
|
-
shortName:
|
|
96
|
-
}),
|
|
97
|
-
colors:
|
|
98
|
-
mode: l(
|
|
99
|
-
assets:
|
|
100
|
-
text:
|
|
93
|
+
var Te = r({ css: d() }), x = we.partial(), S = b.partial().extend({
|
|
94
|
+
productName: b.shape.productName.nullish(),
|
|
95
|
+
shortName: b.shape.shortName.nullish()
|
|
96
|
+
}), Ee = r({
|
|
97
|
+
colors: g.nullish(),
|
|
98
|
+
mode: l(_).nullish(),
|
|
99
|
+
assets: x.nullish(),
|
|
100
|
+
text: S.nullish()
|
|
101
101
|
});
|
|
102
102
|
r({
|
|
103
|
-
patch:
|
|
103
|
+
patch: Ee,
|
|
104
104
|
revision: d().min(1).max(64)
|
|
105
105
|
});
|
|
106
|
-
var
|
|
106
|
+
var C = (e) => e.optional().catch(void 0);
|
|
107
107
|
r({
|
|
108
|
-
colors:
|
|
109
|
-
mode:
|
|
110
|
-
assets:
|
|
111
|
-
[
|
|
112
|
-
[
|
|
113
|
-
[
|
|
114
|
-
[
|
|
115
|
-
[
|
|
108
|
+
colors: C(g.nullable()),
|
|
109
|
+
mode: C(l(_).nullable()),
|
|
110
|
+
assets: C(r({
|
|
111
|
+
[v.LogoLight]: C(x.shape.logoLight),
|
|
112
|
+
[v.LogoDark]: C(x.shape.logoDark),
|
|
113
|
+
[v.Mark]: C(x.shape.mark),
|
|
114
|
+
[v.EmailLogo]: C(x.shape.emailLogo),
|
|
115
|
+
[v.EmailBanner]: C(x.shape.emailBanner)
|
|
116
116
|
}).nullable()),
|
|
117
|
-
text:
|
|
118
|
-
productName:
|
|
119
|
-
shortName:
|
|
120
|
-
description:
|
|
121
|
-
productTagline:
|
|
122
|
-
companyName:
|
|
117
|
+
text: C(r({
|
|
118
|
+
productName: C(S.shape.productName),
|
|
119
|
+
shortName: C(S.shape.shortName),
|
|
120
|
+
description: C(S.shape.description),
|
|
121
|
+
productTagline: C(S.shape.productTagline),
|
|
122
|
+
companyName: C(S.shape.companyName)
|
|
123
123
|
}).nullable())
|
|
124
124
|
});
|
|
125
|
-
var
|
|
125
|
+
var w = T({
|
|
126
126
|
colors: {
|
|
127
127
|
light: {
|
|
128
128
|
brand: "#140e33",
|
|
@@ -135,13 +135,13 @@ var E = je({
|
|
|
135
135
|
info: "#86c8fb"
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
-
mode:
|
|
138
|
+
mode: _.System,
|
|
139
139
|
assets: {
|
|
140
|
-
[
|
|
141
|
-
[
|
|
142
|
-
[
|
|
143
|
-
[
|
|
144
|
-
[
|
|
140
|
+
[v.LogoLight]: null,
|
|
141
|
+
[v.LogoDark]: null,
|
|
142
|
+
[v.Mark]: null,
|
|
143
|
+
[v.EmailLogo]: null,
|
|
144
|
+
[v.EmailBanner]: null
|
|
145
145
|
},
|
|
146
146
|
text: {
|
|
147
147
|
productName: "Eight Wave Agent Studio",
|
|
@@ -151,8 +151,8 @@ var E = je({
|
|
|
151
151
|
companyName: null
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
|
-
|
|
155
|
-
...
|
|
154
|
+
T({
|
|
155
|
+
...w,
|
|
156
156
|
text: {
|
|
157
157
|
productName: "Agent Studio",
|
|
158
158
|
shortName: "Agent Studio",
|
|
@@ -161,8 +161,8 @@ je({
|
|
|
161
161
|
companyName: null
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
|
-
var
|
|
165
|
-
function
|
|
164
|
+
var De = (e) => e.productName === w.text.productName;
|
|
165
|
+
function Oe(e) {
|
|
166
166
|
let t = Number.parseInt(e.slice(1), 16), [n, r, i] = [
|
|
167
167
|
t >> 16,
|
|
168
168
|
t >> 8 & 255,
|
|
@@ -173,27 +173,27 @@ function Ee(e) {
|
|
|
173
173
|
});
|
|
174
174
|
return .2126 * n + .7152 * r + .0722 * i;
|
|
175
175
|
}
|
|
176
|
-
var
|
|
177
|
-
function
|
|
176
|
+
var ke = (e) => Oe(e) > .179 ? "#000000" : "#ffffff";
|
|
177
|
+
function Ae(e) {
|
|
178
178
|
let t = e.match(/[\p{L}\p{N}]/u)?.[0] ?? "", n = t.toUpperCase();
|
|
179
179
|
return n.length === t.length ? n : t;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
let r =
|
|
181
|
+
function je(e, t, { rounded: n = !0 } = {}) {
|
|
182
|
+
let r = h.test(t) ? t : w.colors.light.brand, i = ke(r), a = Ae(e);
|
|
183
183
|
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>`;
|
|
184
184
|
}
|
|
185
|
-
var
|
|
186
|
-
function
|
|
185
|
+
var Me = (e, t) => `data:image/svg+xml,${encodeURIComponent(je(e, t))}`;
|
|
186
|
+
function T(e) {
|
|
187
187
|
if (e && typeof e == "object") {
|
|
188
|
-
for (let t of Object.values(e))
|
|
188
|
+
for (let t of Object.values(e)) T(t);
|
|
189
189
|
Object.freeze(e);
|
|
190
190
|
}
|
|
191
191
|
return e;
|
|
192
192
|
}
|
|
193
|
-
function Me(e) {
|
|
194
|
-
return Array.isArray(e) ? `[${e.map(Me).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)}:${Me(t)}`).join(",")}}` : JSON.stringify(e);
|
|
195
|
-
}
|
|
196
193
|
function Ne(e) {
|
|
194
|
+
return Array.isArray(e) ? `[${e.map(Ne).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)}:${Ne(t)}`).join(",")}}` : JSON.stringify(e);
|
|
195
|
+
}
|
|
196
|
+
function Pe(e) {
|
|
197
197
|
let t = 2166136261, n = 16777619 ^ e.length;
|
|
198
198
|
for (let r = 0; r < e.length; r++) {
|
|
199
199
|
let i = e.charCodeAt(r);
|
|
@@ -201,22 +201,22 @@ function Ne(e) {
|
|
|
201
201
|
}
|
|
202
202
|
return t.toString(16).padStart(8, "0") + n.toString(16).padStart(8, "0");
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
return
|
|
204
|
+
function Fe(e) {
|
|
205
|
+
return Pe(`${He(e)}:${Ne(e)}`);
|
|
206
206
|
}
|
|
207
|
-
var
|
|
208
|
-
RegExp(`^${
|
|
209
|
-
function
|
|
207
|
+
var Ie = "/api/v1/public/branding", Le = (e) => `${Ie}/assets/${e}`, Re = (e, t) => `${e.replace(/\/+$/, "")}${Le(t)}`;
|
|
208
|
+
RegExp(`^${Ie}(?:\\.css|/manifest\\.webmanifest|/icon/(?:\\d+|maskable)|/assets/[0-9a-f]{64}(?:/icon/\\d+)?)?(?:\\?|$)`);
|
|
209
|
+
function ze(e) {
|
|
210
210
|
return {
|
|
211
211
|
...e,
|
|
212
|
-
version:
|
|
212
|
+
version: Fe(e)
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
|
-
function ze(e) {
|
|
216
|
-
return _.safeParse(e).success ? `--color-brand:${e.brand};--color-accent:${e.accent};--color-info:${e.info};` : "";
|
|
217
|
-
}
|
|
218
215
|
function Be(e) {
|
|
219
|
-
|
|
216
|
+
return Se.safeParse(e).success ? `--color-brand:${e.brand};--color-accent:${e.accent};--color-info:${e.info};` : "";
|
|
217
|
+
}
|
|
218
|
+
function Ve(e) {
|
|
219
|
+
let t = Be(e.colors.light), n = Be(e.colors.dark);
|
|
220
220
|
return [
|
|
221
221
|
`:where(:root,.theme){${t}${t ? `--color-tint:${e.colors.light.brand};` : ""}}`,
|
|
222
222
|
`@media (prefers-color-scheme: dark){:where(:root:not(.theme--light),.theme:not(.theme--light)){${n}}}`,
|
|
@@ -224,7 +224,7 @@ function Be(e) {
|
|
|
224
224
|
`:where(.theme.theme--dark){${n}}`
|
|
225
225
|
].join("\n");
|
|
226
226
|
}
|
|
227
|
-
var
|
|
227
|
+
var He = (e) => Pe(Ve(e)), Ue = r({
|
|
228
228
|
dateTime: d().optional(),
|
|
229
229
|
timezone: d().optional(),
|
|
230
230
|
language: d().optional(),
|
|
@@ -254,16 +254,16 @@ var Ve = (e) => Ne(Be(e)), He = r({
|
|
|
254
254
|
geolocationLongitude: s().optional(),
|
|
255
255
|
geolocationAccuracy: s().optional(),
|
|
256
256
|
geolocationCity: d().optional()
|
|
257
|
-
}),
|
|
257
|
+
}), We = "host", E = /^[a-z][a-z0-9_]{0,63}$/, Ge = 2e3, Ke = 32e3, qe = r({
|
|
258
258
|
title: d().max(80).optional(),
|
|
259
259
|
readOnlyHint: a().optional(),
|
|
260
260
|
destructiveHint: a().optional()
|
|
261
261
|
});
|
|
262
262
|
r({
|
|
263
|
-
name: d().regex(
|
|
264
|
-
description: d().max(
|
|
263
|
+
name: d().regex(E),
|
|
264
|
+
description: d().max(Ge).optional(),
|
|
265
265
|
inputSchema: i(d(), e()).refine((e) => e.type === "object", { message: "The input schema must describe an object" }),
|
|
266
|
-
annotations:
|
|
266
|
+
annotations: qe.optional()
|
|
267
267
|
}), r({
|
|
268
268
|
content: u(r({
|
|
269
269
|
type: c("text"),
|
|
@@ -271,33 +271,99 @@ r({
|
|
|
271
271
|
})),
|
|
272
272
|
isError: a().optional()
|
|
273
273
|
});
|
|
274
|
-
var
|
|
274
|
+
var Je = r({
|
|
275
275
|
enabled: a().default(!1),
|
|
276
276
|
label: d().max(40).default(""),
|
|
277
|
-
allowed: u(d().regex(
|
|
278
|
-
requireConfirmation: u(d().regex(
|
|
277
|
+
allowed: u(d().regex(E)).max(32).default([]),
|
|
278
|
+
requireConfirmation: u(d().regex(E)).default([]),
|
|
279
279
|
confirmDestructive: a().default(!0),
|
|
280
280
|
timeoutMs: s().int().min(5e3).max(12e4).default(3e4),
|
|
281
281
|
maxCallsPerTurn: s().int().min(1).max(50).default(20)
|
|
282
|
-
}),
|
|
282
|
+
}), Ye = Je.pick({
|
|
283
283
|
label: !0,
|
|
284
284
|
allowed: !0,
|
|
285
285
|
requireConfirmation: !0,
|
|
286
286
|
confirmDestructive: !0,
|
|
287
287
|
timeoutMs: !0
|
|
288
|
-
}).extend({ origins: u(d()) }),
|
|
288
|
+
}).extend({ origins: u(d()) }), Xe = (e) => {
|
|
289
289
|
if (typeof e != "object" || !e) return !1;
|
|
290
290
|
let { type: t, toolMetadata: n } = e;
|
|
291
291
|
return t === "dynamic-tool" && n?.source === "host";
|
|
292
|
-
},
|
|
292
|
+
}, Ze = (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.", Qe = "The user refused this call. Do not repeat it unless the user asks.", $e = 5e3, et = 20971520, tt = 2097152, nt = 3e4, rt = 10485760, it = r({
|
|
293
|
+
enabled: a().default(!1),
|
|
294
|
+
timeoutMs: s().int().min(5e3).max(12e4).default(3e4)
|
|
295
|
+
}), at = it.pick({ timeoutMs: !0 });
|
|
296
|
+
r({ folders: u(r({ name: d().min(1).max(255) })).min(1).max(5) });
|
|
297
|
+
var ot = /* @__PURE__ */ new Set([
|
|
298
|
+
".git",
|
|
299
|
+
".svn",
|
|
300
|
+
".hg",
|
|
301
|
+
"node_modules",
|
|
302
|
+
".ssh",
|
|
303
|
+
".gnupg",
|
|
304
|
+
".aws",
|
|
305
|
+
".azure",
|
|
306
|
+
".kube",
|
|
307
|
+
".docker",
|
|
308
|
+
".terraform",
|
|
309
|
+
"__pycache__",
|
|
310
|
+
".venv",
|
|
311
|
+
"venv"
|
|
312
|
+
]), st = /* @__PURE__ */ new Set([
|
|
313
|
+
".env",
|
|
314
|
+
".npmrc",
|
|
315
|
+
".pypirc",
|
|
316
|
+
".netrc",
|
|
317
|
+
"_netrc",
|
|
318
|
+
".pgpass",
|
|
319
|
+
".git-credentials",
|
|
320
|
+
".htpasswd",
|
|
321
|
+
"credentials",
|
|
322
|
+
"credentials.json",
|
|
323
|
+
"secrets.json",
|
|
324
|
+
"secrets.yml",
|
|
325
|
+
"secrets.yaml",
|
|
326
|
+
"id_rsa",
|
|
327
|
+
"id_dsa",
|
|
328
|
+
"id_ecdsa",
|
|
329
|
+
"id_ed25519",
|
|
330
|
+
"known_hosts",
|
|
331
|
+
"authorized_keys",
|
|
332
|
+
".ds_store",
|
|
333
|
+
"thumbs.db",
|
|
334
|
+
"desktop.ini"
|
|
335
|
+
]), ct = /* @__PURE__ */ new Set([
|
|
336
|
+
"pem",
|
|
337
|
+
"key",
|
|
338
|
+
"p12",
|
|
339
|
+
"pfx",
|
|
340
|
+
"jks",
|
|
341
|
+
"keystore",
|
|
342
|
+
"kdbx",
|
|
343
|
+
"kdb",
|
|
344
|
+
"ppk",
|
|
345
|
+
"gpg",
|
|
346
|
+
"asc",
|
|
347
|
+
"ovpn",
|
|
348
|
+
"keychain",
|
|
349
|
+
"keychain-db"
|
|
350
|
+
]), lt = (e) => ot.has(e.toLowerCase()), ut = (e) => {
|
|
351
|
+
let t = e.toLowerCase();
|
|
352
|
+
if (st.has(t) || t.startsWith(".env.") || t.startsWith("id_rsa") || /^id_(dsa|ecdsa|ed25519)/.test(t)) return !0;
|
|
353
|
+
let n = t.lastIndexOf(".");
|
|
354
|
+
return n > 0 && ct.has(t.slice(n + 1));
|
|
355
|
+
}, dt = (e) => {
|
|
356
|
+
let t = e.split("/").filter(Boolean);
|
|
357
|
+
return t.some((e, n) => n === t.length - 1 && ut(e) || lt(e));
|
|
358
|
+
}, D = /* @__PURE__ */ function(e) {
|
|
293
359
|
return e.Off = "off", e.Read = "read", e.Forms = "forms", e.Full = "full", e;
|
|
294
|
-
}({}),
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
],
|
|
300
|
-
function
|
|
360
|
+
}({}), ft = [
|
|
361
|
+
D.Off,
|
|
362
|
+
D.Read,
|
|
363
|
+
D.Forms,
|
|
364
|
+
D.Full
|
|
365
|
+
], pt = (e, t) => ft.indexOf(e ?? D.Off) >= ft.indexOf(t);
|
|
366
|
+
function mt(e) {
|
|
301
367
|
if (!e.trim()) return !1;
|
|
302
368
|
if (typeof document > "u") return !0;
|
|
303
369
|
try {
|
|
@@ -306,21 +372,21 @@ function $e(e) {
|
|
|
306
372
|
return !1;
|
|
307
373
|
}
|
|
308
374
|
}
|
|
309
|
-
var
|
|
310
|
-
level: l(
|
|
311
|
-
excludeSelectors: u(d().max(200).refine(
|
|
375
|
+
var ht = r({
|
|
376
|
+
level: l(D).default(D.Off),
|
|
377
|
+
excludeSelectors: u(d().max(200).refine(mt, "Not a valid CSS selector")).max(50).default([]),
|
|
312
378
|
confirmEveryAction: a().default(!1),
|
|
313
379
|
pointer: a().default(!1),
|
|
314
380
|
notice: i(d(), d().max(500)).optional(),
|
|
315
381
|
acknowledgedBy: d().optional(),
|
|
316
382
|
acknowledgedAt: f().optional(),
|
|
317
|
-
acknowledgedLevel: l(
|
|
318
|
-
}),
|
|
383
|
+
acknowledgedLevel: l(D).optional()
|
|
384
|
+
}), gt = (e, t) => !!e?.acknowledgedBy && e?.acknowledgedAt !== void 0 && pt(e.acknowledgedLevel, t), _t = (e) => e.startsWith("page_") || e.startsWith("form_") || e.startsWith("folder_"), vt = ht.pick({
|
|
319
385
|
level: !0,
|
|
320
386
|
excludeSelectors: !0,
|
|
321
387
|
confirmEveryAction: !0,
|
|
322
388
|
notice: !0
|
|
323
|
-
}).extend({ pointer: a().optional() }),
|
|
389
|
+
}).extend({ pointer: a().optional() }), yt = ["fill-fields", "fill-choose"];
|
|
324
390
|
r({
|
|
325
391
|
kind: l(["element", "text"]),
|
|
326
392
|
label: d().max(200),
|
|
@@ -337,7 +403,7 @@ r({
|
|
|
337
403
|
features: u(d().max(40)).max(16).default([])
|
|
338
404
|
});
|
|
339
405
|
// ../../packages/models/src/schema/SelectionAction.ts
|
|
340
|
-
var
|
|
406
|
+
var bt = [
|
|
341
407
|
"explain",
|
|
342
408
|
"summarize",
|
|
343
409
|
"rewrite",
|
|
@@ -345,11 +411,11 @@ var at = [
|
|
|
345
411
|
"proofread",
|
|
346
412
|
"translate",
|
|
347
413
|
"chart"
|
|
348
|
-
],
|
|
414
|
+
], xt = [
|
|
349
415
|
"page",
|
|
350
416
|
"word",
|
|
351
417
|
"excel"
|
|
352
|
-
],
|
|
418
|
+
], O = {
|
|
353
419
|
page: ["explain", "summarize"],
|
|
354
420
|
word: [
|
|
355
421
|
"rewrite",
|
|
@@ -362,8 +428,8 @@ var at = [
|
|
|
362
428
|
"summarize",
|
|
363
429
|
"chart"
|
|
364
430
|
]
|
|
365
|
-
},
|
|
366
|
-
function
|
|
431
|
+
}, St = /* @__PURE__ */ "sparkles.magic.idea.star.heart.lightning.fire.rocket.pen.pencil.text.paragraph.quote.list.checklist.highlighter.document.folder.book.bookmark.clipboard.draft.contract.attachment.archive.search.filter.eye.questions.pie-chart.line-chart.table.database.calculator.percent.scales.euro.dollar.wallet.bank.card.cart.price-tag.bill.gift.shop.truck.shield.lock.key.gavel.institution.passport.person.team.group.smile.handshake.support.contacts.mail.send.speech.phone.megaphone.bell.share.link.globe.calendar.event.clock.timer.history.hourglass.plane.car.train.ship.map.pin.compass.bed.suitcase.home.building.flag.earth.sun.umbrella.heartbeat.capsule.first-aid.restaurant.cup.leaf.plant.recycle.school.graduation.brain.puzzle.award.trophy.settings.tools.code.bug.robot.cloud.flask.microscope.check.cross.warning.information.refresh.swap.arrow.thumbs-up.target.palette.image.music.video.microphone".split("."), Ct = (e) => i(d(), d().trim().min(1).max(e));
|
|
432
|
+
function wt(e) {
|
|
367
433
|
let t = (e) => Object.keys(e ?? {}).filter((t) => !!e?.[t]?.trim()), n = t(e.label), r = t(e.prompt);
|
|
368
434
|
return {
|
|
369
435
|
empty: n.length === 0 && r.length === 0,
|
|
@@ -371,14 +437,14 @@ function lt(e) {
|
|
|
371
437
|
prompt: n.filter((e) => !r.includes(e))
|
|
372
438
|
};
|
|
373
439
|
}
|
|
374
|
-
var
|
|
440
|
+
var Tt = r({
|
|
375
441
|
id: d().trim().min(1).max(64),
|
|
376
|
-
label:
|
|
377
|
-
prompt:
|
|
378
|
-
icon: l(
|
|
442
|
+
label: Ct(40),
|
|
443
|
+
prompt: Ct(500),
|
|
444
|
+
icon: l(St).optional().catch(void 0)
|
|
379
445
|
});
|
|
380
|
-
function
|
|
381
|
-
for (let r of
|
|
446
|
+
function Et(e, t, n = {}) {
|
|
447
|
+
for (let r of xt) {
|
|
382
448
|
let i = e.selectionActions?.[r];
|
|
383
449
|
if (i?.enabled && n[r] !== !1) for (let [e, n] of (i.actions ?? []).entries()) {
|
|
384
450
|
let i = [
|
|
@@ -386,7 +452,7 @@ function dt(e, t, n = {}) {
|
|
|
386
452
|
r,
|
|
387
453
|
"actions",
|
|
388
454
|
e
|
|
389
|
-
], a =
|
|
455
|
+
], a = wt(n);
|
|
390
456
|
a.empty && t.addIssue({
|
|
391
457
|
code: "custom",
|
|
392
458
|
message: "An action needs a label and an instruction",
|
|
@@ -404,10 +470,10 @@ function dt(e, t, n = {}) {
|
|
|
404
470
|
}
|
|
405
471
|
}
|
|
406
472
|
}
|
|
407
|
-
var
|
|
473
|
+
var k = (e, t) => r({
|
|
408
474
|
enabled: a().default(t),
|
|
409
475
|
builtIns: u(l(e)).default(() => [...e]),
|
|
410
|
-
actions: u(
|
|
476
|
+
actions: u(Tt).default([])
|
|
411
477
|
}).refine((e) => new Set(e.builtIns).size === e.builtIns.length, {
|
|
412
478
|
message: "A built-in action is listed twice",
|
|
413
479
|
path: ["builtIns"]
|
|
@@ -417,64 +483,64 @@ var A = (e, t) => r({
|
|
|
417
483
|
}).refine((e) => e.builtIns.length + e.actions.length <= 4, {
|
|
418
484
|
message: "At most 4 actions, built-in and the agent's together",
|
|
419
485
|
path: ["actions"]
|
|
420
|
-
}),
|
|
421
|
-
page:
|
|
422
|
-
word:
|
|
423
|
-
excel:
|
|
424
|
-
}),
|
|
425
|
-
builtIns: u(l(
|
|
426
|
-
actions: u(
|
|
427
|
-
}),
|
|
428
|
-
page:
|
|
429
|
-
word:
|
|
430
|
-
excel:
|
|
431
|
-
}),
|
|
486
|
+
}), A = k(O.page, !1), j = k(O.word, !0), M = k(O.excel, !0), Dt = r({
|
|
487
|
+
page: A.optional().default(() => A.parse({})),
|
|
488
|
+
word: j.optional().default(() => j.parse({})),
|
|
489
|
+
excel: M.optional().default(() => M.parse({}))
|
|
490
|
+
}), N = r({
|
|
491
|
+
builtIns: u(l(bt)),
|
|
492
|
+
actions: u(Tt)
|
|
493
|
+
}), Ot = r({
|
|
494
|
+
page: N.optional(),
|
|
495
|
+
word: N.optional(),
|
|
496
|
+
excel: N.optional()
|
|
497
|
+
}), P = /* @__PURE__ */ function(e) {
|
|
432
498
|
return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
|
|
433
|
-
}({}),
|
|
499
|
+
}({}), F = /* @__PURE__ */ function(e) {
|
|
434
500
|
return e.Public = "public", e.Private = "private", e.Organization = "organization", e.Restricted = "restricted", e;
|
|
435
|
-
}({}),
|
|
501
|
+
}({}), kt = [F.Organization, F.Restricted], I = /* @__PURE__ */ function(e) {
|
|
436
502
|
return e.Chat = "chat", e.Reasoning = "reasoning", e;
|
|
437
|
-
}({}),
|
|
503
|
+
}({}), L = /* @__PURE__ */ function(e) {
|
|
438
504
|
return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
|
|
439
|
-
}({}),
|
|
505
|
+
}({}), R = [
|
|
440
506
|
"none",
|
|
441
507
|
"low",
|
|
442
508
|
"medium",
|
|
443
509
|
"high",
|
|
444
510
|
"xhigh",
|
|
445
511
|
"max"
|
|
446
|
-
],
|
|
512
|
+
], z = [
|
|
447
513
|
"low",
|
|
448
514
|
"medium",
|
|
449
515
|
"high",
|
|
450
516
|
"xhigh",
|
|
451
517
|
"max"
|
|
452
|
-
],
|
|
518
|
+
], B = [
|
|
453
519
|
"minimal",
|
|
454
520
|
"low",
|
|
455
521
|
"medium",
|
|
456
522
|
"high"
|
|
457
|
-
],
|
|
523
|
+
], V = [
|
|
458
524
|
"auto",
|
|
459
525
|
"detailed",
|
|
460
526
|
"concise"
|
|
461
|
-
],
|
|
462
|
-
reasoningEffort: l(
|
|
463
|
-
reasoningSummary: l(
|
|
464
|
-
}),
|
|
527
|
+
], At = r({
|
|
528
|
+
reasoningEffort: l(R).optional(),
|
|
529
|
+
reasoningSummary: l(V).optional()
|
|
530
|
+
}), jt = r({
|
|
465
531
|
type: l([
|
|
466
532
|
"adaptive",
|
|
467
533
|
"enabled",
|
|
468
534
|
"disabled"
|
|
469
535
|
]).optional(),
|
|
470
|
-
effort: l(
|
|
536
|
+
effort: l(z).optional(),
|
|
471
537
|
display: l(["summarized", "omitted"]).optional(),
|
|
472
538
|
budgetTokens: s().int().positive().optional()
|
|
473
|
-
}),
|
|
474
|
-
thinkingLevel: l(
|
|
539
|
+
}), Mt = r({
|
|
540
|
+
thinkingLevel: l(B).optional(),
|
|
475
541
|
thinkingBudget: s().int().optional(),
|
|
476
542
|
includeThoughts: a().optional()
|
|
477
|
-
}),
|
|
543
|
+
}), Nt = r({ type: l(["enabled", "disabled"]).optional() }), H = [
|
|
478
544
|
"alibaba",
|
|
479
545
|
"meta",
|
|
480
546
|
"moonshotai",
|
|
@@ -482,67 +548,67 @@ var A = (e, t) => r({
|
|
|
482
548
|
"xiaomi",
|
|
483
549
|
"zai"
|
|
484
550
|
];
|
|
485
|
-
function
|
|
486
|
-
return
|
|
551
|
+
function Pt(e) {
|
|
552
|
+
return H.includes(e);
|
|
487
553
|
}
|
|
488
|
-
var
|
|
554
|
+
var U = [
|
|
489
555
|
"none",
|
|
490
556
|
"minimal",
|
|
491
557
|
"low",
|
|
492
558
|
"medium",
|
|
493
559
|
"high",
|
|
494
560
|
"xhigh"
|
|
495
|
-
],
|
|
496
|
-
function
|
|
561
|
+
], W = r({ reasoningEffort: l(U).optional() });
|
|
562
|
+
function G(e, t) {
|
|
497
563
|
return e && t.includes(e) ? e : void 0;
|
|
498
564
|
}
|
|
499
|
-
var
|
|
500
|
-
openai:
|
|
501
|
-
anthropic:
|
|
502
|
-
google:
|
|
503
|
-
deepseek:
|
|
504
|
-
alibaba:
|
|
505
|
-
meta:
|
|
506
|
-
moonshotai:
|
|
507
|
-
spacexai:
|
|
508
|
-
xiaomi:
|
|
509
|
-
zai:
|
|
565
|
+
var Ft = r({
|
|
566
|
+
openai: At.optional(),
|
|
567
|
+
anthropic: jt.optional(),
|
|
568
|
+
google: Mt.optional(),
|
|
569
|
+
deepseek: Nt.optional(),
|
|
570
|
+
alibaba: W.optional(),
|
|
571
|
+
meta: W.optional(),
|
|
572
|
+
moonshotai: W.optional(),
|
|
573
|
+
spacexai: W.optional(),
|
|
574
|
+
xiaomi: W.optional(),
|
|
575
|
+
zai: W.optional()
|
|
510
576
|
});
|
|
511
|
-
function
|
|
577
|
+
function It(e) {
|
|
512
578
|
if (!e || typeof e != "object") return e;
|
|
513
579
|
let t = e, n = [
|
|
514
580
|
"openai",
|
|
515
581
|
"anthropic",
|
|
516
582
|
"google",
|
|
517
583
|
"deepseek",
|
|
518
|
-
...
|
|
584
|
+
...H
|
|
519
585
|
].some((e) => e in t);
|
|
520
586
|
if ("effort" in t && !n) {
|
|
521
587
|
let e = t.effort, n = t.reasoningSummary, r = {};
|
|
522
588
|
if (e && e !== "off" && e !== "none") {
|
|
523
|
-
let t =
|
|
589
|
+
let t = G(e, R), i = G(n, V);
|
|
524
590
|
(t || i) && (r.openai = {
|
|
525
591
|
...t && { reasoningEffort: t },
|
|
526
592
|
...i && { reasoningSummary: i }
|
|
527
593
|
});
|
|
528
|
-
let a =
|
|
594
|
+
let a = G(e, z);
|
|
529
595
|
a && (r.anthropic = {
|
|
530
596
|
type: "adaptive",
|
|
531
597
|
effort: a
|
|
532
598
|
});
|
|
533
|
-
let o =
|
|
599
|
+
let o = G(e === "xhigh" || e === "max" ? "high" : e, B);
|
|
534
600
|
o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
|
|
535
|
-
let s =
|
|
536
|
-
if (s) for (let e of
|
|
601
|
+
let s = G(e === "max" ? "xhigh" : e, U);
|
|
602
|
+
if (s) for (let e of H) r[e] = { reasoningEffort: s };
|
|
537
603
|
} else {
|
|
538
604
|
r.openai = { reasoningEffort: "none" }, r.anthropic = { type: "disabled" }, r.google = { thinkingLevel: "minimal" }, r.deepseek = { type: "disabled" };
|
|
539
|
-
for (let e of
|
|
605
|
+
for (let e of H) r[e] = { reasoningEffort: "none" };
|
|
540
606
|
}
|
|
541
607
|
return r;
|
|
542
608
|
}
|
|
543
609
|
return e;
|
|
544
610
|
}
|
|
545
|
-
var
|
|
611
|
+
var Lt = oe(e(), Ft, It).optional(), Rt = {
|
|
546
612
|
openai: { reasoningEffort: "low" },
|
|
547
613
|
anthropic: {
|
|
548
614
|
type: "adaptive",
|
|
@@ -556,108 +622,108 @@ var wt = p(e(), St, Ct).optional(), Tt = {
|
|
|
556
622
|
xiaomi: { reasoningEffort: "low" },
|
|
557
623
|
zai: { reasoningEffort: "low" }
|
|
558
624
|
};
|
|
559
|
-
function
|
|
625
|
+
function zt(e) {
|
|
560
626
|
return !!e && typeof e == "object" && Object.values(e).some((e) => e !== void 0);
|
|
561
627
|
}
|
|
562
|
-
function
|
|
628
|
+
function Bt(e, t) {
|
|
563
629
|
let n = t?.[e];
|
|
564
|
-
return
|
|
630
|
+
return zt(n) ? n : Rt[e];
|
|
565
631
|
}
|
|
566
|
-
var
|
|
632
|
+
var K = /* @__PURE__ */ function(e) {
|
|
567
633
|
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.CronTasks = "cronTasks", e.ShareDocument = "shareDocument", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowChart = "showChart", 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;
|
|
568
|
-
}({}),
|
|
569
|
-
function
|
|
570
|
-
return !
|
|
634
|
+
}({}), Vt = "mcp-", Ht = "api-", Ut = "subagent-", Wt = "enableTools";
|
|
635
|
+
function Gt(e) {
|
|
636
|
+
return !Kt(e) && e !== K.RequestGeolocation;
|
|
571
637
|
}
|
|
572
|
-
function
|
|
573
|
-
return e ===
|
|
638
|
+
function Kt(e) {
|
|
639
|
+
return e === K.RequestConfirm || e === K.ShowArtifact || e === K.ShowCalendarEvent || e === K.ShowChart || e === K.ShowComparison || e === K.ShowContactForm || e === K.ShowDiagram || e === K.ShowEmail || e === K.ShowImageGallery || e === K.ShowLocation || e === K.ShowMessage || e === K.ShowForm || e === K.ShowMultipleChoice || e === K.ShowProductList || e === K.ShowQrCode || e === K.ShowSources || e === K.ShowSuggestedReply || e === K.ShowVideo || e === K.ShowWeather || e === K.ShowWebPages;
|
|
574
640
|
}
|
|
575
|
-
var
|
|
641
|
+
var qt = /* @__PURE__ */ new Set([
|
|
576
642
|
"editSpreadsheet",
|
|
577
643
|
"editWordDocument",
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
]),
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
...
|
|
597
|
-
|
|
644
|
+
K.CreateSpreadsheet,
|
|
645
|
+
K.CreateWordDocument
|
|
646
|
+
]), Jt = /* @__PURE__ */ new Set([
|
|
647
|
+
K.RequestConfirm,
|
|
648
|
+
K.ShowArtifact,
|
|
649
|
+
K.ShowWeather,
|
|
650
|
+
K.ShowLocation,
|
|
651
|
+
K.ShowComparison,
|
|
652
|
+
K.ShowProductList,
|
|
653
|
+
K.ShowWebPages,
|
|
654
|
+
K.ShowImageGallery,
|
|
655
|
+
K.ShowVideo,
|
|
656
|
+
K.ShowSources,
|
|
657
|
+
K.ShowSuggestedReply,
|
|
658
|
+
K.ShowCalendarEvent,
|
|
659
|
+
K.ShowEmail,
|
|
660
|
+
K.ShowMessage,
|
|
661
|
+
K.ShowForm,
|
|
662
|
+
...qt,
|
|
663
|
+
K.ShareDocument
|
|
598
664
|
]);
|
|
599
|
-
function
|
|
600
|
-
return
|
|
665
|
+
function Yt(e) {
|
|
666
|
+
return Jt.has(e);
|
|
601
667
|
}
|
|
602
|
-
var
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
668
|
+
var Xt = /* @__PURE__ */ new Set([
|
|
669
|
+
K.RequestConfirm,
|
|
670
|
+
K.RequestGeolocation,
|
|
671
|
+
K.ShowForm,
|
|
672
|
+
K.ShowMultipleChoice,
|
|
607
673
|
"requestOAuthConnection"
|
|
608
674
|
]);
|
|
609
|
-
function
|
|
610
|
-
return
|
|
675
|
+
function Zt(e) {
|
|
676
|
+
return Xt.has(e);
|
|
611
677
|
}
|
|
612
|
-
var
|
|
678
|
+
var Qt = /* @__PURE__ */ function(e) {
|
|
613
679
|
return e.Web = "web", e.Platform = "platform", e.OpenAiApi = "openai-api", e.Voice = "voice", e;
|
|
614
|
-
}({}),
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
]),
|
|
637
|
-
function
|
|
638
|
-
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(
|
|
680
|
+
}({}), $t = /* @__PURE__ */ new Set([
|
|
681
|
+
K.RequestConfirm,
|
|
682
|
+
K.RequestGeolocation,
|
|
683
|
+
K.ShowArtifact,
|
|
684
|
+
K.ShowCalendarEvent,
|
|
685
|
+
K.ShowChart,
|
|
686
|
+
K.ShowContactForm,
|
|
687
|
+
K.ShowComparison,
|
|
688
|
+
K.ShowDiagram,
|
|
689
|
+
K.ShowEmail,
|
|
690
|
+
K.ShowForm,
|
|
691
|
+
K.ShowImageGallery,
|
|
692
|
+
K.ShowLocation,
|
|
693
|
+
K.ShowMessage,
|
|
694
|
+
K.ShowMultipleChoice,
|
|
695
|
+
K.ShowProductList,
|
|
696
|
+
K.ShowQrCode,
|
|
697
|
+
K.ShowSources,
|
|
698
|
+
K.ShowSuggestedReply,
|
|
699
|
+
K.ShowVideo,
|
|
700
|
+
K.ShowWeather,
|
|
701
|
+
K.ShowWebPages
|
|
702
|
+
]), en = "Shown on the caller's screen";
|
|
703
|
+
function tn(e) {
|
|
704
|
+
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(en));
|
|
639
705
|
}
|
|
640
|
-
var
|
|
706
|
+
var nn = r({
|
|
641
707
|
maxSteps: s().int().min(1).max(10).optional().default(5),
|
|
642
708
|
maxOptionsPerStep: s().int().min(2).max(10).optional().default(5)
|
|
643
|
-
}),
|
|
709
|
+
}), q = /* @__PURE__ */ function(e) {
|
|
644
710
|
return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
|
|
645
|
-
}({}),
|
|
711
|
+
}({}), rn = {
|
|
646
712
|
openai: "OpenAI",
|
|
647
713
|
anthropic: "Anthropic",
|
|
648
714
|
google: "Google"
|
|
649
715
|
};
|
|
650
|
-
function
|
|
716
|
+
function an(e) {
|
|
651
717
|
let t = e.split("/")[0];
|
|
652
|
-
return Object.prototype.hasOwnProperty.call(
|
|
718
|
+
return Object.prototype.hasOwnProperty.call(rn, t) ? rn[t] : void 0;
|
|
653
719
|
}
|
|
654
|
-
var
|
|
720
|
+
var on = [
|
|
655
721
|
"perplexity_search",
|
|
656
722
|
"parallel_search",
|
|
657
723
|
"web_search",
|
|
658
724
|
"openai_web_search",
|
|
659
725
|
"google_search"
|
|
660
|
-
],
|
|
726
|
+
], sn = r({
|
|
661
727
|
maxResults: s().int().min(1).max(20).optional(),
|
|
662
728
|
maxTokens: s().int().positive().max(1e6).optional(),
|
|
663
729
|
maxTokensPerPage: s().int().positive().optional(),
|
|
@@ -670,7 +736,7 @@ var Kt = [
|
|
|
670
736
|
"month",
|
|
671
737
|
"year"
|
|
672
738
|
]).optional()
|
|
673
|
-
}),
|
|
739
|
+
}), cn = r({
|
|
674
740
|
mode: l(["one-shot", "agentic"]).optional(),
|
|
675
741
|
maxResults: s().int().min(1).max(20).optional(),
|
|
676
742
|
sourcePolicy: r({
|
|
@@ -683,7 +749,7 @@ var Kt = [
|
|
|
683
749
|
maxCharsTotal: s().int().positive().optional()
|
|
684
750
|
}).optional(),
|
|
685
751
|
fetchPolicy: r({ maxAgeSeconds: s().int().positive().optional() }).optional()
|
|
686
|
-
}),
|
|
752
|
+
}), ln = r({
|
|
687
753
|
openai: r({}).optional(),
|
|
688
754
|
anthropic: r({
|
|
689
755
|
maxUses: s().int().positive().optional(),
|
|
@@ -698,30 +764,30 @@ var Kt = [
|
|
|
698
764
|
}).optional()
|
|
699
765
|
}).optional(),
|
|
700
766
|
google: r({}).optional()
|
|
701
|
-
}),
|
|
767
|
+
}), J = r({
|
|
702
768
|
enabled: a().default(!1),
|
|
703
|
-
provider: l(
|
|
704
|
-
perplexity:
|
|
705
|
-
parallel:
|
|
706
|
-
native:
|
|
707
|
-
}),
|
|
708
|
-
disabled: u(l(
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
769
|
+
provider: l(q).optional().default(q.Native),
|
|
770
|
+
perplexity: sn.optional(),
|
|
771
|
+
parallel: cn.optional(),
|
|
772
|
+
native: ln.optional()
|
|
773
|
+
}), un = r({ useAllUserKb: a().default(!1) }), dn = r({ useAllUserFiles: a().default(!1) }), fn = r({ enabled: a().default(!1) }), Y = r({ enabled: a().default(!1) }), pn = r({ tools: u(d()).default([]) }), mn = r({
|
|
774
|
+
disabled: u(l(K)).default([
|
|
775
|
+
K.UserMemory,
|
|
776
|
+
K.SearchInUserFiles,
|
|
777
|
+
K.RunWorker,
|
|
778
|
+
K.FetchTeamsChannelHistory,
|
|
779
|
+
K.ScheduleWakeup,
|
|
780
|
+
K.CronTasks
|
|
715
781
|
]),
|
|
716
|
-
showForm:
|
|
717
|
-
webSearch:
|
|
718
|
-
userMemory:
|
|
719
|
-
userFiles:
|
|
720
|
-
shareDocument:
|
|
721
|
-
createSpreadsheet:
|
|
722
|
-
createWordDocument:
|
|
723
|
-
approval:
|
|
724
|
-
}),
|
|
782
|
+
showForm: nn.optional().default(() => nn.parse({})),
|
|
783
|
+
webSearch: J.optional().default(() => J.parse({})),
|
|
784
|
+
userMemory: un.optional().default(() => un.parse({})),
|
|
785
|
+
userFiles: dn.optional().default(() => dn.parse({})),
|
|
786
|
+
shareDocument: fn.optional().default(() => fn.parse({})),
|
|
787
|
+
createSpreadsheet: Y.optional().default(() => Y.parse({})),
|
|
788
|
+
createWordDocument: Y.optional().default(() => Y.parse({})),
|
|
789
|
+
approval: pn.optional().default(() => pn.parse({}))
|
|
790
|
+
}), X = r({
|
|
725
791
|
freshness: r({
|
|
726
792
|
enabled: a().default(!1),
|
|
727
793
|
scale: s().int().min(86400).max(31536e3).default(7776e3),
|
|
@@ -733,27 +799,27 @@ var Kt = [
|
|
|
733
799
|
diversity: s().min(0).max(1).default(.3),
|
|
734
800
|
candidatesLimit: s().int().min(20).max(100).default(50)
|
|
735
801
|
}).prefault({})
|
|
736
|
-
}).prefault({}),
|
|
802
|
+
}).prefault({}), hn = r({
|
|
737
803
|
prompt: d().optional(),
|
|
738
804
|
temperature: s().min(0).max(2).optional().default(.6),
|
|
739
805
|
maxOutputTokens: s().positive().optional(),
|
|
740
806
|
presencePenalty: s().min(-2).max(2).optional(),
|
|
741
807
|
frequencyPenalty: s().min(-2).max(2).optional(),
|
|
742
|
-
searchMode: l(
|
|
808
|
+
searchMode: l(L).optional().default(L.Balanced),
|
|
743
809
|
limit: s().positive().max(100).optional().default(10),
|
|
744
810
|
maxStepCount: s().int().min(1).max(40).optional().default(10),
|
|
745
|
-
reasoning:
|
|
746
|
-
ranking:
|
|
747
|
-
}),
|
|
811
|
+
reasoning: Lt,
|
|
812
|
+
ranking: X.optional().default(() => X.parse({}))
|
|
813
|
+
}), Z = oe(e(), i(d(), d()), (e) => typeof e == "string" ? { it: e } : e), gn = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", _n = /* @__PURE__ */ function(e) {
|
|
748
814
|
return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
|
|
749
|
-
}({}),
|
|
815
|
+
}({}), vn = /* @__PURE__ */ function(e) {
|
|
750
816
|
return e.Floating = "floating", e.Copilot = "copilot", e;
|
|
751
|
-
}({}),
|
|
817
|
+
}({}), yn = /* @__PURE__ */ function(e) {
|
|
752
818
|
return e.Solid = "solid", e.Glass = "glass", e;
|
|
753
819
|
}({}), Q = /* @__PURE__ */ function(e) {
|
|
754
820
|
return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
|
|
755
|
-
}({}),
|
|
756
|
-
function
|
|
821
|
+
}({}), bn = Object.values(Q), xn = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
|
|
822
|
+
function Sn(e) {
|
|
757
823
|
let t = e.trim().toLowerCase();
|
|
758
824
|
if (!t) return "";
|
|
759
825
|
try {
|
|
@@ -762,7 +828,7 @@ function cn(e) {
|
|
|
762
828
|
return t;
|
|
763
829
|
}
|
|
764
830
|
}
|
|
765
|
-
var
|
|
831
|
+
var Cn = r({
|
|
766
832
|
media: ie.optional(),
|
|
767
833
|
logo: d().optional(),
|
|
768
834
|
theme: l([
|
|
@@ -770,7 +836,7 @@ var ln = r({
|
|
|
770
836
|
"dark",
|
|
771
837
|
"auto"
|
|
772
838
|
]).optional().default("auto"),
|
|
773
|
-
mainColor: d().regex(
|
|
839
|
+
mainColor: d().regex(h).optional().default("#000000"),
|
|
774
840
|
textColor: l([
|
|
775
841
|
"auto",
|
|
776
842
|
"white",
|
|
@@ -781,34 +847,34 @@ var ln = r({
|
|
|
781
847
|
"one",
|
|
782
848
|
"two"
|
|
783
849
|
]).optional().default("auto"),
|
|
784
|
-
glowSecondColor: d().regex(
|
|
850
|
+
glowSecondColor: d().regex(h).optional(),
|
|
785
851
|
useColorsForAgentHeader: a().optional().default(!1),
|
|
786
|
-
initialMessage:
|
|
787
|
-
greeting: u(
|
|
788
|
-
messagePlaceholder:
|
|
852
|
+
initialMessage: Z.optional(),
|
|
853
|
+
greeting: u(Z).min(1).max(10).optional(),
|
|
854
|
+
messagePlaceholder: Z.optional(),
|
|
789
855
|
nextMessageSuggestion: a().optional().default(!1),
|
|
790
|
-
dismissableNotice:
|
|
791
|
-
footerMessage:
|
|
792
|
-
privacyPolicyNotice:
|
|
856
|
+
dismissableNotice: Z.optional(),
|
|
857
|
+
footerMessage: Z.optional(),
|
|
858
|
+
privacyPolicyNotice: Z.optional(),
|
|
793
859
|
interactiveLogin: a().optional().default(!0),
|
|
794
860
|
welcomePopup: a().optional().default(!1),
|
|
795
861
|
floatingButtonPosition: l(["left", "right"]).optional().default("right"),
|
|
796
|
-
layout: l(
|
|
797
|
-
appearance: l(
|
|
862
|
+
layout: l(vn).optional().default(vn.Floating),
|
|
863
|
+
appearance: l(yn).optional().default(yn.Solid),
|
|
798
864
|
hideFloatingButton: a().optional().default(!1),
|
|
799
865
|
workingGlow: a().optional().default(!0),
|
|
800
866
|
copilotPageCss: d().optional(),
|
|
801
867
|
maxMessageLength: s().int().positive().optional(),
|
|
802
|
-
widgetUrl: re().default(
|
|
868
|
+
widgetUrl: re().default(gn),
|
|
803
869
|
loadDelay: s().int().min(0).max(3e4).optional().default(0),
|
|
804
|
-
loaderStrategy: l(
|
|
870
|
+
loaderStrategy: l(_n).optional().default(_n.InlineModule),
|
|
805
871
|
customCss: d().optional(),
|
|
806
872
|
smoothStream: a().optional().default(!1),
|
|
807
873
|
showExtendedSteps: a().optional().default(!1),
|
|
808
874
|
showReasoning: a().optional().default(!0),
|
|
809
875
|
holdExternalImages: a().optional().default(!1),
|
|
810
|
-
imageHosts: u(d().overwrite(
|
|
811
|
-
}),
|
|
876
|
+
imageHosts: u(d().overwrite(Sn).refine((e) => e === "" || xn.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
|
|
877
|
+
}), wn = [
|
|
812
878
|
"image/jpeg",
|
|
813
879
|
"image/png",
|
|
814
880
|
"image/gif",
|
|
@@ -817,20 +883,20 @@ var ln = r({
|
|
|
817
883
|
"text/plain",
|
|
818
884
|
"text/markdown",
|
|
819
885
|
"text/csv"
|
|
820
|
-
],
|
|
886
|
+
], Tn = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", En = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", Dn = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(K.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(K.WordDocument), $ = r({
|
|
821
887
|
enabled: a().default(!1),
|
|
822
888
|
maxFileSizeBytes: s().int().positive().max(104857600).optional().default(20971520),
|
|
823
|
-
allowedMimeTypes: u(d().regex(ae)).optional().default([...
|
|
889
|
+
allowedMimeTypes: u(d().regex(ae)).optional().default([...wn]),
|
|
824
890
|
maxFilesPerMessage: s().int().positive().max(10).optional().default(5),
|
|
825
891
|
maxFilesPerChat: s().int().positive().max(50).optional().default(20)
|
|
826
|
-
}),
|
|
892
|
+
}), On = r({
|
|
827
893
|
zeroDataRetention: a().default(!0),
|
|
828
894
|
disallowPromptTraining: a().default(!0),
|
|
829
895
|
providerTimeoutMs: s().int().min(1e3).max(789e3).optional(),
|
|
830
|
-
inferenceRegion: l(
|
|
831
|
-
}),
|
|
896
|
+
inferenceRegion: l(me).optional()
|
|
897
|
+
}), kn = r({ enabled: a().default(!1) }), An = /* @__PURE__ */ function(e) {
|
|
832
898
|
return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
|
|
833
|
-
}({}),
|
|
899
|
+
}({}), jn = r({ mode: l(An).default(An.Off) }), Mn = r({
|
|
834
900
|
enabled: a().default(!1),
|
|
835
901
|
voiceId: d().optional(),
|
|
836
902
|
language: d().min(2).max(5).default("it"),
|
|
@@ -849,44 +915,45 @@ var ln = r({
|
|
|
849
915
|
providerAgentId: d().optional(),
|
|
850
916
|
providerSecretId: d().optional(),
|
|
851
917
|
providerApiKeyId: d().optional()
|
|
852
|
-
}),
|
|
918
|
+
}), Nn = r({ enabled: a() }), Pn = c("automatic");
|
|
853
919
|
r({
|
|
854
920
|
chatId: d().min(1).optional(),
|
|
855
|
-
deviceContext:
|
|
921
|
+
deviceContext: Ue.optional(),
|
|
856
922
|
externalContext: i(d(), e()).optional(),
|
|
857
923
|
pageTools: e().optional(),
|
|
858
|
-
confirmations:
|
|
924
|
+
confirmations: Pn.optional()
|
|
859
925
|
});
|
|
860
|
-
var
|
|
926
|
+
var Fn = r({
|
|
861
927
|
sessionId: d(),
|
|
862
928
|
signedUrl: d(),
|
|
863
929
|
providerAgentId: d(),
|
|
864
930
|
chatId: d(),
|
|
865
931
|
maxSessionSeconds: s().int()
|
|
866
|
-
}),
|
|
932
|
+
}), In = r({
|
|
867
933
|
voiceId: d(),
|
|
868
934
|
name: d(),
|
|
869
935
|
category: d().optional(),
|
|
870
936
|
previewUrl: d().optional(),
|
|
871
937
|
labels: i(d(), d()).optional()
|
|
872
938
|
});
|
|
873
|
-
u(
|
|
874
|
-
var
|
|
875
|
-
model:
|
|
876
|
-
interface:
|
|
877
|
-
tools:
|
|
939
|
+
u(In);
|
|
940
|
+
var Ln = r({ allowAutomatic: a().default(!1) }), Rn = r({ allowAutomatic: c(!0) }), zn = r({
|
|
941
|
+
model: hn,
|
|
942
|
+
interface: Cn,
|
|
943
|
+
tools: mn.optional().default(() => mn.parse({})),
|
|
878
944
|
fileUpload: $.optional().default(() => $.parse({})),
|
|
879
|
-
gatewayOptions:
|
|
880
|
-
channels: u(l(Q)).optional().default(() => [...
|
|
881
|
-
externalContextSchema:
|
|
882
|
-
openaiApi:
|
|
883
|
-
voice:
|
|
884
|
-
toolWorkingSet:
|
|
885
|
-
hostTools:
|
|
886
|
-
pageAccess:
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
945
|
+
gatewayOptions: On.optional().default(() => On.parse({})),
|
|
946
|
+
channels: u(l(Q)).optional().default(() => [...bn]),
|
|
947
|
+
externalContextSchema: ce.optional(),
|
|
948
|
+
openaiApi: kn.optional().default(() => kn.parse({})),
|
|
949
|
+
voice: Mn.optional().default(() => Mn.parse({})),
|
|
950
|
+
toolWorkingSet: jn.optional().default(() => jn.parse({})),
|
|
951
|
+
hostTools: Je.optional(),
|
|
952
|
+
pageAccess: ht.optional(),
|
|
953
|
+
localFolders: it.optional(),
|
|
954
|
+
confirmations: Ln.optional(),
|
|
955
|
+
selectionActions: Dt.optional()
|
|
956
|
+
}), Bn = r({
|
|
890
957
|
rateLimits: r({
|
|
891
958
|
minuteRateLimit: s().int().min(0).optional(),
|
|
892
959
|
hourRateLimit: s().int().min(0).optional(),
|
|
@@ -901,15 +968,15 @@ r({
|
|
|
901
968
|
prompt: d().optional(),
|
|
902
969
|
model: d().optional(),
|
|
903
970
|
fallbackModels: u(d()).default([]),
|
|
904
|
-
status: l(
|
|
905
|
-
visibility: l(
|
|
906
|
-
settings:
|
|
907
|
-
page: (e.pageAccess?.level ??
|
|
908
|
-
word: !e.tools.disabled.includes(
|
|
909
|
-
excel: !e.tools.disabled.includes(
|
|
971
|
+
status: l(P).default(P.Draft),
|
|
972
|
+
visibility: l(F).default(F.Organization),
|
|
973
|
+
settings: zn.superRefine((e, t) => Et(e, t, {
|
|
974
|
+
page: (e.pageAccess?.level ?? D.Off) !== D.Off,
|
|
975
|
+
word: !e.tools.disabled.includes(K.WordDocument),
|
|
976
|
+
excel: !e.tools.disabled.includes(K.Spreadsheet)
|
|
910
977
|
})),
|
|
911
|
-
security:
|
|
912
|
-
type: l(
|
|
978
|
+
security: Bn.nullish(),
|
|
979
|
+
type: l(I).default(I.Chat),
|
|
913
980
|
organizationId: d()
|
|
914
981
|
}), te(() => r({
|
|
915
982
|
id: d(),
|
|
@@ -917,11 +984,11 @@ r({
|
|
|
917
984
|
prompt: d(),
|
|
918
985
|
model: d(),
|
|
919
986
|
fallbackModels: u(d()).nullable().default([]),
|
|
920
|
-
status: l(
|
|
921
|
-
visibility: l(
|
|
922
|
-
settings:
|
|
923
|
-
security:
|
|
924
|
-
type: l(
|
|
987
|
+
status: l(P).default(P.Draft),
|
|
988
|
+
visibility: l(F).default(F.Organization),
|
|
989
|
+
settings: zn,
|
|
990
|
+
security: Bn.nullable(),
|
|
991
|
+
type: l(I).default(I.Chat),
|
|
925
992
|
organizationId: d(),
|
|
926
993
|
createdAt: f(),
|
|
927
994
|
createdBy: d(),
|
|
@@ -933,25 +1000,26 @@ r({
|
|
|
933
1000
|
outOfBudget: a().optional().default(!1),
|
|
934
1001
|
outOfBudgetReason: d().optional().default("")
|
|
935
1002
|
}));
|
|
936
|
-
var
|
|
1003
|
+
var Vn = r({
|
|
937
1004
|
id: d(),
|
|
938
1005
|
name: d(),
|
|
939
|
-
status: l(
|
|
940
|
-
visibility: l(
|
|
1006
|
+
status: l(P),
|
|
1007
|
+
visibility: l(F),
|
|
941
1008
|
organizationId: d(),
|
|
942
|
-
interface:
|
|
1009
|
+
interface: Cn,
|
|
943
1010
|
createdAt: f(),
|
|
944
1011
|
updatedAt: f(),
|
|
945
1012
|
capabilities: r({
|
|
946
1013
|
fileUpload: $,
|
|
947
|
-
voice:
|
|
948
|
-
hostTools:
|
|
949
|
-
pageAccess:
|
|
950
|
-
|
|
951
|
-
|
|
1014
|
+
voice: Nn,
|
|
1015
|
+
hostTools: Ye.optional(),
|
|
1016
|
+
pageAccess: vt.optional(),
|
|
1017
|
+
localFolders: at.optional(),
|
|
1018
|
+
confirmations: Rn.optional(),
|
|
1019
|
+
selectionActions: Ot.optional()
|
|
952
1020
|
}),
|
|
953
|
-
channels: u(l(Q)).default(() => [...
|
|
954
|
-
}),
|
|
1021
|
+
channels: u(l(Q)).default(() => [...bn])
|
|
1022
|
+
}), Hn = Cn.pick({
|
|
955
1023
|
logo: !0,
|
|
956
1024
|
mainColor: !0,
|
|
957
1025
|
textColor: !0,
|
|
@@ -962,41 +1030,41 @@ var Dn = r({
|
|
|
962
1030
|
hideFloatingButton: !0,
|
|
963
1031
|
copilotPageCss: !0,
|
|
964
1032
|
customCss: !0
|
|
965
|
-
}),
|
|
1033
|
+
}), Un = Vn.pick({
|
|
966
1034
|
id: !0,
|
|
967
1035
|
name: !0,
|
|
968
1036
|
organizationId: !0
|
|
969
|
-
}).extend({ interface:
|
|
1037
|
+
}).extend({ interface: Hn }), Wn = r({
|
|
970
1038
|
emailPassword: a(),
|
|
971
1039
|
google: a(),
|
|
972
1040
|
microsoft: a()
|
|
973
|
-
}),
|
|
1041
|
+
}), Gn = r({
|
|
974
1042
|
requiresAuth: c(!1),
|
|
975
|
-
agent:
|
|
1043
|
+
agent: Vn,
|
|
976
1044
|
branding: ne()
|
|
977
|
-
}),
|
|
1045
|
+
}), Kn = r({
|
|
978
1046
|
requiresAuth: c(!0),
|
|
979
1047
|
agent: ne(),
|
|
980
|
-
branding:
|
|
1048
|
+
branding: Un
|
|
981
1049
|
});
|
|
982
|
-
o("requiresAuth", [
|
|
983
|
-
var
|
|
1050
|
+
o("requiresAuth", [Gn, Kn]);
|
|
1051
|
+
var qn = r({
|
|
984
1052
|
frontendUrl: d().optional(),
|
|
985
1053
|
telemetry: r({
|
|
986
1054
|
environment: d(),
|
|
987
1055
|
samplingRate: s().min(0).max(1)
|
|
988
1056
|
}).nullable()
|
|
989
|
-
}),
|
|
990
|
-
authMethods:
|
|
991
|
-
deploymentBranding:
|
|
992
|
-
deployment:
|
|
1057
|
+
}), Jn = r({
|
|
1058
|
+
authMethods: Wn,
|
|
1059
|
+
deploymentBranding: Te.nullish(),
|
|
1060
|
+
deployment: qn.optional()
|
|
993
1061
|
});
|
|
994
|
-
o("requiresAuth", [
|
|
1062
|
+
o("requiresAuth", [Gn.extend(Jn.shape), Kn.extend(Jn.shape)]), r({
|
|
995
1063
|
id: n(),
|
|
996
1064
|
limited: a(),
|
|
997
1065
|
agentIds: u(n())
|
|
998
1066
|
});
|
|
999
|
-
var
|
|
1067
|
+
var Yn = r({
|
|
1000
1068
|
userId: n(),
|
|
1001
1069
|
name: d(),
|
|
1002
1070
|
email: d(),
|
|
@@ -1007,13 +1075,13 @@ var Fn = r({
|
|
|
1007
1075
|
});
|
|
1008
1076
|
r({
|
|
1009
1077
|
id: n(),
|
|
1010
|
-
members: u(
|
|
1078
|
+
members: u(Yn)
|
|
1011
1079
|
}), r({
|
|
1012
1080
|
id: n(),
|
|
1013
1081
|
userIds: u(n())
|
|
1014
1082
|
}), r({
|
|
1015
|
-
...
|
|
1016
|
-
...
|
|
1083
|
+
...p.pagination(),
|
|
1084
|
+
...p.sort([
|
|
1017
1085
|
"id",
|
|
1018
1086
|
"updatedAt",
|
|
1019
1087
|
"createdAt",
|
|
@@ -1023,12 +1091,12 @@ r({
|
|
|
1023
1091
|
"visibility",
|
|
1024
1092
|
"model"
|
|
1025
1093
|
]),
|
|
1026
|
-
...
|
|
1027
|
-
"filter[status]": l(
|
|
1028
|
-
...
|
|
1029
|
-
...
|
|
1030
|
-
...
|
|
1094
|
+
...p.filters(["done", "type"]),
|
|
1095
|
+
"filter[status]": l(P).optional(),
|
|
1096
|
+
...p.filter("id"),
|
|
1097
|
+
...p.fullText(),
|
|
1098
|
+
...p.ids()
|
|
1031
1099
|
});
|
|
1032
|
-
export {
|
|
1100
|
+
export { gt as $, $t as A, pe as At, Kt as B, Vt as C, Ce as Ct, Tn as D, ge as Dt, V as E, ye as Et, Gt as F, fe as Ft, M as G, tn as H, Bt as I, p as It, O as J, A as K, Dn as L, on as M, m as Mt, En as N, xe as Nt, Ut as O, _e as Ot, q as P, oe as Pt, D as Q, Pt as R, B as S, Me as St, R as T, De as Tt, an as U, Zt as V, Sn as W, wt as X, j as Y, yt as Z, qt as _, Ue as _t, $ as a, tt as at, Wt as b, h as bt, X as c, lt as ct, An as d, E as dt, _t as et, I as f, Qe as ft, vn as g, Xe as gt, yn as h, Ze as ht, Q as i, $e as it, Fn as j, he as jt, Xt as k, ve as kt, Lt as l, ut as lt, J as m, We as mt, Ht as n, pt as nt, On as o, nt as ot, F as p, Ke as pt, St as q, K as r, et as rt, _n as s, rt as st, z as t, mt as tt, L as u, dt as ut, Pn as v, _ as vt, kt as w, ze as wt, U as x, Re as xt, Qt as y, w as yt, Yt as z };
|
|
1033
1101
|
|
|
1034
|
-
//# sourceMappingURL=Agent-
|
|
1102
|
+
//# sourceMappingURL=Agent-DKefaJeG.js.map
|