@8wave/ai-elements 0.121.0-beta.46 → 0.121.0-beta.47
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-BuPgJIt4.js → Agent-jMXkLts9.js} +36 -36
- package/dist/_chunks/Agent-jMXkLts9.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-BlTH2AJX.js → PkStreamingMarkdown-C43RVcRW.js} +16 -10
- package/dist/_chunks/PkStreamingMarkdown-C43RVcRW.js.map +1 -0
- package/dist/_chunks/PkToolEditedFile-BZUXx8ZG.js +51 -0
- package/dist/_chunks/PkToolEditedFile-BZUXx8ZG.js.map +1 -0
- package/dist/_chunks/{PkToolRequestGeolocation-CxMAoAv6.js → PkToolRequestGeolocation-BJc2Ki0-.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-CxMAoAv6.js.map → PkToolRequestGeolocation-BJc2Ki0-.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-DU1Y2odZ.js → PkToolRequestOAuthConnection-OU56LTl0.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-DU1Y2odZ.js.map → PkToolRequestOAuthConnection-OU56LTl0.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-jQeIv65U.js → PkToolShowArtifact-yP7FXi0H.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-jQeIv65U.js.map → PkToolShowArtifact-yP7FXi0H.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-D7wg3Jlu.js → PkToolShowContactForm-w6aLTe1i.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-D7wg3Jlu.js.map → PkToolShowContactForm-w6aLTe1i.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-BMVgXxzl.js → PkToolShowForm-ChhVlxqc.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-BMVgXxzl.js.map → PkToolShowForm-ChhVlxqc.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-Ba0CfKt6.js → PkToolShowImageGallery-D88a9a0P.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-Ba0CfKt6.js.map → PkToolShowImageGallery-D88a9a0P.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-DbZfUUWe.js → PkToolShowProductList-Jff9j3eQ.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-DbZfUUWe.js.map → PkToolShowProductList-Jff9j3eQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-Dkt4IId2.js → PkToolShowSources-lWRoFGvC.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-Dkt4IId2.js.map → PkToolShowSources-lWRoFGvC.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-BF2sT3B1.js → PkToolShowSuggestedReply-Ds0Yf31m.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-BF2sT3B1.js.map → PkToolShowSuggestedReply-Ds0Yf31m.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-l8JoSKCj.js → PkToolShowVideo-fNFvCi1_.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-l8JoSKCj.js.map → PkToolShowVideo-fNFvCi1_.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-DtcEmrYt.js → PkToolShowWebPages-Bah-YhpM.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-DtcEmrYt.js.map → PkToolShowWebPages-Bah-YhpM.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-CQYTWTkP.js → chatImagePolicy-BvKnRHdM.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-CQYTWTkP.js.map → chatImagePolicy-BvKnRHdM.js.map} +1 -1
- package/dist/_chunks/{markdown-Br9ROCBT.js → markdown-B1y2QQAa.js} +13 -13
- package/dist/_chunks/{markdown-Br9ROCBT.js.map → markdown-B1y2QQAa.js.map} +1 -1
- package/dist/ai-elements.es.js +160 -144
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- 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-DZb775Ak.js → Agent-BYwOk7Tt.js} +102 -102
- package/dist-vue/_chunks/Agent-BYwOk7Tt.js.map +1 -0
- package/dist-vue/_chunks/{Document-E72l_VU6.js → Document-CQdYPyrv.js} +2 -2
- package/dist-vue/_chunks/{Document-E72l_VU6.js.map → Document-CQdYPyrv.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-CObEhs2T.js → PkChatbot-DI4aTSTJ.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-CObEhs2T.js.map → PkChatbot-DI4aTSTJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-Dh7ETVnf.js → PkChatbotEmptyState-CaNM6c77.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-Dh7ETVnf.js.map → PkChatbotEmptyState-CaNM6c77.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-CuEoeb_M.js → PkChatbotInput-Bt02PGbZ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-CuEoeb_M.js.map → PkChatbotInput-Bt02PGbZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-DMSActW1.js → PkChatbotMessages-DIeAiZ7I.js} +25 -24
- package/dist-vue/_chunks/PkChatbotMessages-DIeAiZ7I.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-CXdsUMrw.js → PkChatbotStepPayload-D1_JG-M8.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-CXdsUMrw.js.map → PkChatbotStepPayload-D1_JG-M8.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DbpXR7jh.js → PkChatbotStepToolDetail-DKJ3qg98.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DbpXR7jh.js.map → PkChatbotStepToolDetail-DKJ3qg98.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-QFFZ0DjH.js → PkChatbotSteps-DgaJc9Pv.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-QFFZ0DjH.js.map → PkChatbotSteps-DgaJc9Pv.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-BZb-U7Ju.js → PkChatbotViewChat-DDf8UaBR.js} +30 -25
- package/dist-vue/_chunks/PkChatbotViewChat-DDf8UaBR.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-CCPRWCKs.js → PkChatbotViewConversations-hsboinns.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-CCPRWCKs.js.map → PkChatbotViewConversations-hsboinns.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-BgqksCn0.js → PkChatbotViewFiles-DDO_L8UB.js} +9 -9
- package/dist-vue/_chunks/PkChatbotViewFiles-DDO_L8UB.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewProfile-B6tHWrqn.js → PkChatbotViewProfile-BC7Ok94X.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-B6tHWrqn.js.map → PkChatbotViewProfile-BC7Ok94X.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-DwDs-cGP.js → PkStreamingMarkdown-0jN60Rku.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-DwDs-cGP.js.map → PkStreamingMarkdown-0jN60Rku.js.map} +1 -1
- package/dist-vue/_chunks/PkToolEditedFile-DsiNIHAR.js +50 -0
- package/dist-vue/_chunks/PkToolEditedFile-DsiNIHAR.js.map +1 -0
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DC8hSH0j.js → PkToolRequestGeolocation-jkEuN6_1.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DC8hSH0j.js.map → PkToolRequestGeolocation-jkEuN6_1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-BH_-drvw.js → PkToolRequestOAuthConnection-BTNd8Urz.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-BH_-drvw.js.map → PkToolRequestOAuthConnection-BTNd8Urz.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-CjVN96wJ.js → PkToolShowArtifact-BitKlzvt.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-CjVN96wJ.js.map → PkToolShowArtifact-BitKlzvt.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-CmBLigw8.js → PkToolShowContactForm-DKkapC2s.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CmBLigw8.js.map → PkToolShowContactForm-DKkapC2s.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-dKUU5_6F.js → PkToolShowDiagram-BI-fI2vG.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-dKUU5_6F.js.map → PkToolShowDiagram-BI-fI2vG.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-B6ESvq-5.js → PkToolShowForm-LR8mW4SY.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-B6ESvq-5.js.map → PkToolShowForm-LR8mW4SY.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-Daq0IwTH.js → PkToolShowImageGallery-DuJ_cbcf.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-Daq0IwTH.js.map → PkToolShowImageGallery-DuJ_cbcf.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-Bc3Gzyxy.js → PkToolShowProductList-D7Tw7_NR.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-Bc3Gzyxy.js.map → PkToolShowProductList-D7Tw7_NR.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-BDvRbenn.js → PkToolShowSources-DeplEks2.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-BDvRbenn.js.map → PkToolShowSources-DeplEks2.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Cd6VkzvJ.js → PkToolShowSuggestedReply-Dw-yePEO.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Cd6VkzvJ.js.map → PkToolShowSuggestedReply-Dw-yePEO.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-Bo1gsD97.js → PkToolShowVideo-CAJhU52k.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-Bo1gsD97.js.map → PkToolShowVideo-CAJhU52k.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-DI3sZiqh.js → PkToolShowWebPages-Be6dKCsO.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-DI3sZiqh.js.map → PkToolShowWebPages-Be6dKCsO.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-hcFAulTq.js → createChatbotApiClient-huxzfST2.js} +16 -16
- package/dist-vue/_chunks/{createChatbotApiClient-hcFAulTq.js.map → createChatbotApiClient-huxzfST2.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-Ct7G-voO.js → useChatbotStore-8tG3oA_R.js} +20 -20
- package/dist-vue/_chunks/{useChatbotStore-Ct7G-voO.js.map → useChatbotStore-8tG3oA_R.js.map} +1 -1
- package/dist-vue/_chunks/{utils-EPX3V3VI.js → utils-_H2BDYuj.js} +16 -10
- package/dist-vue/_chunks/utils-_H2BDYuj.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +28 -18
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +5213 -5196
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +10 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +2 -2
- package/dist-vue/packages/components/src/chat/{PkToolEditSpreadsheet.d.ts → PkToolEditedFile.d.ts} +4 -3
- package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -5
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +7 -7
- package/dist-vue/packages/composable/src/useFileRow.d.ts +7 -6
- package/dist-vue/packages/models/src/schema/Agent.d.ts +42 -0
- package/package.json +1 -1
- package/dist/_chunks/Agent-BuPgJIt4.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-BlTH2AJX.js.map +0 -1
- package/dist/_chunks/PkToolEditSpreadsheet-CDxglslA.js +0 -41
- package/dist/_chunks/PkToolEditSpreadsheet-CDxglslA.js.map +0 -1
- package/dist-vue/_chunks/Agent-DZb775Ak.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-DMSActW1.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-BZb-U7Ju.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewFiles-BgqksCn0.js.map +0 -1
- package/dist-vue/_chunks/PkToolEditSpreadsheet-B61LtERY.js +0 -40
- package/dist-vue/_chunks/PkToolEditSpreadsheet-B61LtERY.js.map +0 -1
- package/dist-vue/_chunks/utils-EPX3V3VI.js.map +0 -1
|
@@ -644,7 +644,7 @@ function $e(e) {
|
|
|
644
644
|
return e;
|
|
645
645
|
}
|
|
646
646
|
var et = g(t(), Qe, $e).optional(), U = /* @__PURE__ */ function(e) {
|
|
647
|
-
return e.Geocode = "geocode", e.GetWeather = "getWeather", e.ReadDocumentFile = "readDocumentFile", e.RequestConfirm = "requestConfirm", e.RequestGeolocation = "requestGeolocation", e.RetrieveRevisedAnswers = "retrieveRevisedAnswers", e.SearchInKnowledgeBase = "searchInKnowledgeBase", e.SearchInUserFiles = "searchInUserFiles", e.UserMemory = "userMemory", e.Spreadsheet = "spreadsheet", e.QuerySpreadsheet = "querySpreadsheet", e.RunWorker = "runWorker", e.ScheduleWakeup = "scheduleWakeup", e.ShareDocument = "shareDocument", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowComparison = "showComparison", e.ShowContactForm = "showContactForm", e.ShowDiagram = "showDiagram", e.ShowEmail = "showEmail", e.ShowImageGallery = "showImageGallery", e.ShowLocation = "showLocation", e.ShowMessage = "showMessage", e.ShowForm = "showForm", e.ShowProductList = "showProductList", e.ShowQrCode = "showQrCode", e.ShowSources = "showSources", e.ShowSuggestedReply = "showSuggestedReply", e.ShowVideo = "showVideo", e.ShowWeather = "showWeather", e.ShowWebPages = "showWebPages", e.ShowMultipleChoice = "showMultipleChoice", e;
|
|
647
|
+
return e.Geocode = "geocode", e.GetWeather = "getWeather", e.ReadDocumentFile = "readDocumentFile", e.RequestConfirm = "requestConfirm", e.RequestGeolocation = "requestGeolocation", e.RetrieveRevisedAnswers = "retrieveRevisedAnswers", e.SearchInKnowledgeBase = "searchInKnowledgeBase", e.SearchInUserFiles = "searchInUserFiles", e.UserMemory = "userMemory", e.Spreadsheet = "spreadsheet", e.QuerySpreadsheet = "querySpreadsheet", e.WordDocument = "wordDocument", e.RunWorker = "runWorker", e.ScheduleWakeup = "scheduleWakeup", e.ShareDocument = "shareDocument", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowComparison = "showComparison", e.ShowContactForm = "showContactForm", e.ShowDiagram = "showDiagram", e.ShowEmail = "showEmail", e.ShowImageGallery = "showImageGallery", e.ShowLocation = "showLocation", e.ShowMessage = "showMessage", e.ShowForm = "showForm", e.ShowProductList = "showProductList", e.ShowQrCode = "showQrCode", e.ShowSources = "showSources", e.ShowSuggestedReply = "showSuggestedReply", e.ShowVideo = "showVideo", e.ShowWeather = "showWeather", e.ShowWebPages = "showWebPages", e.ShowMultipleChoice = "showMultipleChoice", e;
|
|
648
648
|
}({}), tt = "mcp-", nt = "api-", rt = "subagent-";
|
|
649
649
|
function it(e) {
|
|
650
650
|
return e === U.RequestConfirm || e === U.ShowArtifact || e === U.ShowCalendarEvent || e === U.ShowComparison || e === U.ShowContactForm || e === U.ShowDiagram || e === U.ShowEmail || e === U.ShowImageGallery || e === U.ShowLocation || e === U.ShowMessage || e === U.ShowForm || e === U.ShowMultipleChoice || e === U.ShowProductList || e === U.ShowQrCode || e === U.ShowSources || e === U.ShowSuggestedReply || e === U.ShowVideo || e === U.ShowWeather || e === U.ShowWebPages;
|
|
@@ -844,7 +844,7 @@ var Z = n({
|
|
|
844
844
|
"text/plain",
|
|
845
845
|
"text/markdown",
|
|
846
846
|
"text/csv"
|
|
847
|
-
], Dt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Q = n({
|
|
847
|
+
], Dt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Ot = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", Q = n({
|
|
848
848
|
enabled: d().default(!1),
|
|
849
849
|
maxFileSizeBytes: s().int().positive().max(104857600).optional().default(20971520),
|
|
850
850
|
allowedMimeTypes: c(i().regex(M)).optional().default([...Et]),
|
|
@@ -854,9 +854,9 @@ var Z = n({
|
|
|
854
854
|
zeroDataRetention: d().default(!0),
|
|
855
855
|
disallowPromptTraining: d().default(!0),
|
|
856
856
|
providerTimeoutMs: s().int().min(1e3).max(789e3).optional()
|
|
857
|
-
}),
|
|
857
|
+
}), kt = n({ enabled: d().default(!1) }), At = /* @__PURE__ */ function(e) {
|
|
858
858
|
return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
|
|
859
|
-
}({}),
|
|
859
|
+
}({}), jt = n({ mode: u(At).default(At.Off) }), Mt = n({
|
|
860
860
|
enabled: d().default(!1),
|
|
861
861
|
voiceId: i().optional(),
|
|
862
862
|
language: i().min(2).max(5).default("it"),
|
|
@@ -875,27 +875,27 @@ var Z = n({
|
|
|
875
875
|
providerAgentId: i().optional(),
|
|
876
876
|
providerSecretId: i().optional(),
|
|
877
877
|
providerApiKeyId: i().optional()
|
|
878
|
-
}),
|
|
878
|
+
}), Nt = n({ enabled: d() });
|
|
879
879
|
n({
|
|
880
880
|
chatId: i().min(1).optional(),
|
|
881
881
|
deviceContext: O.optional(),
|
|
882
882
|
externalContext: h(i(), t()).optional()
|
|
883
883
|
});
|
|
884
|
-
var
|
|
884
|
+
var Pt = n({
|
|
885
885
|
sessionId: i(),
|
|
886
886
|
signedUrl: i(),
|
|
887
887
|
providerAgentId: i(),
|
|
888
888
|
chatId: i(),
|
|
889
889
|
maxSessionSeconds: s().int()
|
|
890
|
-
}),
|
|
890
|
+
}), Ft = n({
|
|
891
891
|
voiceId: i(),
|
|
892
892
|
name: i(),
|
|
893
893
|
category: i().optional(),
|
|
894
894
|
previewUrl: i().optional(),
|
|
895
895
|
labels: h(i(), i()).optional()
|
|
896
896
|
});
|
|
897
|
-
c(
|
|
898
|
-
var
|
|
897
|
+
c(Ft);
|
|
898
|
+
var It = n({
|
|
899
899
|
model: bt,
|
|
900
900
|
interface: Z,
|
|
901
901
|
tools: yt.optional().default(() => yt.parse({})),
|
|
@@ -903,12 +903,12 @@ var Ft = n({
|
|
|
903
903
|
gatewayOptions: $.optional().default(() => $.parse({})),
|
|
904
904
|
channels: c(u(X)).optional().default(() => [...Ct]),
|
|
905
905
|
externalContextSchema: re.optional(),
|
|
906
|
-
openaiApi:
|
|
907
|
-
voice:
|
|
908
|
-
toolWorkingSet:
|
|
906
|
+
openaiApi: kt.optional().default(() => kt.parse({})),
|
|
907
|
+
voice: Mt.optional().default(() => Mt.parse({})),
|
|
908
|
+
toolWorkingSet: jt.optional().default(() => jt.parse({})),
|
|
909
909
|
hostTools: pe.optional(),
|
|
910
910
|
pageAccess: j.optional()
|
|
911
|
-
}),
|
|
911
|
+
}), Lt = n({
|
|
912
912
|
rateLimits: n({
|
|
913
913
|
minuteRateLimit: s().int().min(0).optional(),
|
|
914
914
|
hourRateLimit: s().int().min(0).optional(),
|
|
@@ -925,8 +925,8 @@ n({
|
|
|
925
925
|
fallbackModels: c(i()).default([]),
|
|
926
926
|
status: u(I).default(I.Draft),
|
|
927
927
|
visibility: u(L).default(L.Organization),
|
|
928
|
-
settings:
|
|
929
|
-
security:
|
|
928
|
+
settings: It,
|
|
929
|
+
security: Lt.nullish(),
|
|
930
930
|
type: u(R).default(R.Chat),
|
|
931
931
|
organizationId: i()
|
|
932
932
|
}), o(() => n({
|
|
@@ -937,8 +937,8 @@ n({
|
|
|
937
937
|
fallbackModels: c(i()).nullable().default([]),
|
|
938
938
|
status: u(I).default(I.Draft),
|
|
939
939
|
visibility: u(L).default(L.Organization),
|
|
940
|
-
settings:
|
|
941
|
-
security:
|
|
940
|
+
settings: It,
|
|
941
|
+
security: Lt.nullable(),
|
|
942
942
|
type: u(R).default(R.Chat),
|
|
943
943
|
organizationId: i(),
|
|
944
944
|
createdAt: f(),
|
|
@@ -951,7 +951,7 @@ n({
|
|
|
951
951
|
outOfBudget: d().optional().default(!1),
|
|
952
952
|
outOfBudgetReason: i().optional().default("")
|
|
953
953
|
}));
|
|
954
|
-
var
|
|
954
|
+
var Rt = n({
|
|
955
955
|
id: i(),
|
|
956
956
|
name: i(),
|
|
957
957
|
status: u(I),
|
|
@@ -962,12 +962,12 @@ var Lt = n({
|
|
|
962
962
|
updatedAt: f(),
|
|
963
963
|
capabilities: n({
|
|
964
964
|
fileUpload: Q,
|
|
965
|
-
voice:
|
|
965
|
+
voice: Nt,
|
|
966
966
|
hostTools: me.optional(),
|
|
967
967
|
pageAccess: Se.optional()
|
|
968
968
|
}),
|
|
969
969
|
channels: c(u(X)).default(() => [...Ct])
|
|
970
|
-
}),
|
|
970
|
+
}), zt = Z.pick({
|
|
971
971
|
logo: !0,
|
|
972
972
|
mainColor: !0,
|
|
973
973
|
textColor: !0,
|
|
@@ -978,41 +978,41 @@ var Lt = n({
|
|
|
978
978
|
hideFloatingButton: !0,
|
|
979
979
|
copilotPageCss: !0,
|
|
980
980
|
customCss: !0
|
|
981
|
-
}),
|
|
981
|
+
}), Bt = Rt.pick({
|
|
982
982
|
id: !0,
|
|
983
983
|
name: !0,
|
|
984
984
|
organizationId: !0
|
|
985
|
-
}).extend({ interface:
|
|
985
|
+
}).extend({ interface: zt }), Vt = n({
|
|
986
986
|
emailPassword: d(),
|
|
987
987
|
google: d(),
|
|
988
988
|
microsoft: d()
|
|
989
|
-
}),
|
|
989
|
+
}), Ht = n({
|
|
990
990
|
requiresAuth: l(!1),
|
|
991
|
-
agent:
|
|
991
|
+
agent: Rt,
|
|
992
992
|
branding: r()
|
|
993
|
-
}),
|
|
993
|
+
}), Ut = n({
|
|
994
994
|
requiresAuth: l(!0),
|
|
995
995
|
agent: r(),
|
|
996
|
-
branding:
|
|
996
|
+
branding: Bt
|
|
997
997
|
});
|
|
998
|
-
p("requiresAuth", [
|
|
999
|
-
var
|
|
998
|
+
p("requiresAuth", [Ht, Ut]);
|
|
999
|
+
var Wt = n({
|
|
1000
1000
|
frontendUrl: i().optional(),
|
|
1001
1001
|
telemetry: n({
|
|
1002
1002
|
environment: i(),
|
|
1003
1003
|
samplingRate: s().min(0).max(1)
|
|
1004
1004
|
}).nullable()
|
|
1005
|
-
}),
|
|
1006
|
-
authMethods:
|
|
1005
|
+
}), Gt = n({
|
|
1006
|
+
authMethods: Vt,
|
|
1007
1007
|
deploymentBranding: ce.nullish(),
|
|
1008
|
-
deployment:
|
|
1008
|
+
deployment: Wt.optional()
|
|
1009
1009
|
});
|
|
1010
|
-
p("requiresAuth", [
|
|
1010
|
+
p("requiresAuth", [Ht.extend(Gt.shape), Ut.extend(Gt.shape)]), n({
|
|
1011
1011
|
id: m(),
|
|
1012
1012
|
limited: d(),
|
|
1013
1013
|
agentIds: c(m())
|
|
1014
1014
|
});
|
|
1015
|
-
var
|
|
1015
|
+
var Kt = n({
|
|
1016
1016
|
userId: m(),
|
|
1017
1017
|
name: i(),
|
|
1018
1018
|
email: i(),
|
|
@@ -1023,7 +1023,7 @@ var Gt = n({
|
|
|
1023
1023
|
});
|
|
1024
1024
|
n({
|
|
1025
1025
|
id: m(),
|
|
1026
|
-
members: c(
|
|
1026
|
+
members: c(Kt)
|
|
1027
1027
|
}), n({
|
|
1028
1028
|
id: m(),
|
|
1029
1029
|
userIds: c(m())
|
|
@@ -1045,6 +1045,6 @@ n({
|
|
|
1045
1045
|
..._.ids()
|
|
1046
1046
|
});
|
|
1047
1047
|
//#endregion
|
|
1048
|
-
export {
|
|
1048
|
+
export { be as A, Pe as C, Ce as D, De as E, he as F, O as I, g as L, _e as M, ue as N, A as O, ge as P, _ as R, M as S, Oe as T, Ot as _, et as a, lt as b, Y as c, Dt as d, rt as f, dt as g, Pt as h, K as i, ye as j, xe as k, J as l, st as m, U as n, z as o, at as p, $ as r, G as s, nt as t, tt as u, it as v, ke as w, Tt as x, ot as y };
|
|
1049
1049
|
|
|
1050
|
-
//# sourceMappingURL=Agent-
|
|
1050
|
+
//# sourceMappingURL=Agent-jMXkLts9.js.map
|