librechat-data-provider 0.8.507 → 0.8.509

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.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_data_service = require("../data-service-CCdWvcRd.js");
2
+ const require_data_service = require("../data-service-XTxx76uB.js");
3
3
  let _tanstack_react_query = require("@tanstack/react-query");
4
4
  //#region src/react-query/react-query-service.ts
5
5
  const useGetSharedMessages = (shareId, config) => {
@@ -1,4 +1,4 @@
1
- import { A as updateResourcePermissions, C as resetPassword, Cn as initialModelsConfig, D as updateFeedback, E as searchPrincipals, M as updateUserKey, N as updateUserPlugins, O as updateMessage, P as userKeyQuery, S as requestPasswordReset, T as revokeUserKey, Wa as defaultOrderQuery, Z as hasPermissions, _ as getResourcePermissions, b as register, c as getAccessRoles, d as getAvailablePlugins, f as getConversationById, g as getModels, h as getMCPServerConnectionStatus, i as createPreset, j as updateTokenCount, k as updateMessageContent, l as getAgentApiKeys, la as isAssistantsEndpoint, m as getEffectivePermissions, n as clearAllConversations, o as deleteAgentApiKey, p as getCustomConfigSpeech, r as createAgentApiKey, s as deletePreset, t as cancelMCPOAuth, u as getAllEffectivePermissions, v as getSharedLink, w as revokeAllUserKeys, x as reinitializeMCPServer, y as getSharedMessages } from "../data-service-D7mtXwG5.mjs";
1
+ import { A as updateResourcePermissions, C as resetPassword, Cn as initialModelsConfig, D as updateFeedback, E as searchPrincipals, Ga as defaultOrderQuery, M as updateUserKey, N as updateUserPlugins, O as updateMessage, P as userKeyQuery, S as requestPasswordReset, T as revokeUserKey, Z as hasPermissions, _ as getResourcePermissions, b as register, c as getAccessRoles, d as getAvailablePlugins, f as getConversationById, g as getModels, h as getMCPServerConnectionStatus, i as createPreset, j as updateTokenCount, k as updateMessageContent, l as getAgentApiKeys, m as getEffectivePermissions, n as clearAllConversations, o as deleteAgentApiKey, p as getCustomConfigSpeech, r as createAgentApiKey, s as deletePreset, t as cancelMCPOAuth, u as getAllEffectivePermissions, ua as isAssistantsEndpoint, v as getSharedLink, w as revokeAllUserKeys, x as reinitializeMCPServer, y as getSharedMessages } from "../data-service-BsdHkdKS.mjs";
2
2
  import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
3
3
  //#region src/react-query/react-query-service.ts
4
4
  const useGetSharedMessages = (shareId, config) => {
@@ -12,10 +12,15 @@ export declare const messages: (params: q.MessagesListParams) => string;
12
12
  export declare const messagesArtifacts: (messageId: string) => string;
13
13
  export declare const messagesBranch: () => string;
14
14
  export declare const shareMessages: (shareId: string) => string;
15
+ export declare const sharedStartupConfig: (shareId: string) => string;
15
16
  export declare const getSharedLink: (conversationId: string) => string;
16
17
  export declare const getSharedLinks: (pageSize: number, sortBy: "title" | "createdAt", sortDirection: "asc" | "desc", search?: string, cursor?: string) => string;
17
18
  export declare const createSharedLink: (conversationId: string) => string;
18
19
  export declare const updateSharedLink: (shareId: string) => string;
20
+ /** Share-scoped file routes: serve snapshotted files via shared-link permission. */
21
+ export declare const sharedFile: (shareId: string, fileId: string) => string;
22
+ export declare const sharedFileDownload: (shareId: string, fileId: string) => string;
23
+ export declare const sharedFilePreview: (shareId: string, fileId: string) => string;
19
24
  export declare const keys: () => string;
20
25
  export declare const userKeyQuery: (name: string) => string;
21
26
  export declare const revokeUserKey: (name: string) => string;
@@ -161,6 +161,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
161
161
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
162
162
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingDisplay>>>;
163
163
  web_search: z.ZodOptional<z.ZodBoolean>;
164
+ url_context: z.ZodOptional<z.ZodBoolean>;
164
165
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
165
166
  assistant_id: z.ZodOptional<z.ZodString>;
166
167
  agent_id: z.ZodOptional<z.ZodString>;
@@ -571,6 +572,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
571
572
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
572
573
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingDisplay>>>;
573
574
  web_search: z.ZodOptional<z.ZodBoolean>;
575
+ url_context: z.ZodOptional<z.ZodBoolean>;
574
576
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
575
577
  assistant_id: z.ZodOptional<z.ZodString>;
576
578
  agent_id: z.ZodOptional<z.ZodString>;
@@ -775,6 +777,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
775
777
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
776
778
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingDisplay>>>;
777
779
  web_search: z.ZodOptional<z.ZodBoolean>;
780
+ url_context: z.ZodOptional<z.ZodBoolean>;
778
781
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
779
782
  assistant_id: z.ZodOptional<z.ZodString>;
780
783
  agent_id: z.ZodOptional<z.ZodString>;
@@ -979,6 +982,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
979
982
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
980
983
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingDisplay>>>;
981
984
  web_search: z.ZodOptional<z.ZodBoolean>;
985
+ url_context: z.ZodOptional<z.ZodBoolean>;
982
986
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
983
987
  assistant_id: z.ZodOptional<z.ZodString>;
984
988
  agent_id: z.ZodOptional<z.ZodString>;
@@ -1234,6 +1238,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1234
1238
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.AnthropicEffort>>>;
1235
1239
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof s.ThinkingDisplay>>>;
1236
1240
  web_search: z.ZodOptional<z.ZodBoolean>;
1241
+ url_context: z.ZodOptional<z.ZodBoolean>;
1237
1242
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
1238
1243
  assistant_id: z.ZodOptional<z.ZodString>;
1239
1244
  agent_id: z.ZodOptional<z.ZodString>;