librechat-data-provider 0.8.522 → 0.8.523

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/{data-service-CaB7saTP.mjs → data-service-Bx6IFaSa.mjs} +638 -27
  2. package/dist/data-service-Bx6IFaSa.mjs.map +1 -0
  3. package/dist/{data-service-D5kHzBt-.js → data-service-CTX0tVO5.js} +871 -26
  4. package/dist/data-service-CTX0tVO5.js.map +1 -0
  5. package/dist/index.js +557 -19
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +491 -20
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +1 -1
  10. package/dist/react-query/index.mjs +1 -1
  11. package/dist/types/accessPermissions.d.ts +54 -1
  12. package/dist/types/api-endpoints.d.ts +6 -0
  13. package/dist/types/bedrock.d.ts +80 -20
  14. package/dist/types/code/approval.d.ts +26 -0
  15. package/dist/types/code/worker.d.ts +10 -0
  16. package/dist/types/code/workspace.d.ts +28 -0
  17. package/dist/types/codeEnvRef.d.ts +5 -0
  18. package/dist/types/config.d.ts +6062 -3828
  19. package/dist/types/data-service.d.ts +8 -0
  20. package/dist/types/errors.d.ts +2 -0
  21. package/dist/types/file-config.d.ts +137 -9
  22. package/dist/types/filters.d.ts +176 -176
  23. package/dist/types/generate.d.ts +28 -4
  24. package/dist/types/index.d.ts +7 -0
  25. package/dist/types/keys.d.ts +11 -1
  26. package/dist/types/mcp.d.ts +336 -330
  27. package/dist/types/messages.d.ts +19 -0
  28. package/dist/types/models.d.ts +367 -238
  29. package/dist/types/parameterSettings.d.ts +8 -0
  30. package/dist/types/providers.d.ts +1 -0
  31. package/dist/types/resolve-llm-delivery-path.d.ts +68 -0
  32. package/dist/types/schemas.d.ts +628 -317
  33. package/dist/types/svg.d.ts +34 -0
  34. package/dist/types/types/agents.d.ts +24 -0
  35. package/dist/types/types/assistants.d.ts +27 -3
  36. package/dist/types/types/files.d.ts +34 -0
  37. package/dist/types/types/insights.d.ts +9 -0
  38. package/dist/types/types/queries.d.ts +8 -1
  39. package/dist/types/types/queuedTurns.d.ts +16 -16
  40. package/dist/types/types/runs.d.ts +24 -5
  41. package/dist/types/types/schedules.d.ts +44 -11
  42. package/dist/types/types/traces.d.ts +85 -0
  43. package/dist/types/types.d.ts +41 -1
  44. package/package.json +2 -2
  45. package/dist/data-service-CaB7saTP.mjs.map +0 -1
  46. package/dist/data-service-D5kHzBt-.js.map +0 -1
@@ -114,6 +114,18 @@ export declare const generateOpenAISchema: (customOpenAI: OpenAISettings) => z.Z
114
114
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
115
  pinned: z.ZodOptional<z.ZodBoolean>;
116
116
  isShared: z.ZodOptional<z.ZodBoolean>;
117
+ codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
118
+ codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
119
+ codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
120
+ environmentId: z.ZodString;
121
+ workspaceId: z.ZodString;
122
+ }, "strict", z.ZodTypeAny, {
123
+ environmentId: string;
124
+ workspaceId: string;
125
+ }, {
126
+ environmentId: string;
127
+ workspaceId: string;
128
+ }>, "many">>;
117
129
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
118
130
  user: z.ZodOptional<z.ZodString>;
119
131
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -264,21 +276,21 @@ export declare const generateOpenAISchema: (customOpenAI: OpenAISettings) => z.Z
264
276
  subagentKind: z.ZodEnum<["agent", "graph"]>;
265
277
  depth: z.ZodNumber;
266
278
  }, "strip", z.ZodTypeAny, {
279
+ subagentKind: "agent" | "graph";
267
280
  parentMessageId: string;
268
281
  rootConversationId: string;
269
282
  parentConversationId: string;
270
283
  parentToolCallId: string;
271
284
  subagentType: string;
272
- subagentKind: "agent" | "graph";
273
285
  depth: number;
274
286
  parentAgentId?: string | undefined;
275
287
  }, {
288
+ subagentKind: "agent" | "graph";
276
289
  parentMessageId: string;
277
290
  rootConversationId: string;
278
291
  parentConversationId: string;
279
292
  parentToolCallId: string;
280
293
  subagentType: string;
281
- subagentKind: "agent" | "graph";
282
294
  depth: number;
283
295
  parentAgentId?: string | undefined;
284
296
  }>>;
@@ -399,6 +411,18 @@ export declare const generateGoogleSchema: (customGoogle: GoogleSettings) => z.Z
399
411
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
412
  pinned: z.ZodOptional<z.ZodBoolean>;
401
413
  isShared: z.ZodOptional<z.ZodBoolean>;
414
+ codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
415
+ codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
416
+ codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
417
+ environmentId: z.ZodString;
418
+ workspaceId: z.ZodString;
419
+ }, "strict", z.ZodTypeAny, {
420
+ environmentId: string;
421
+ workspaceId: string;
422
+ }, {
423
+ environmentId: string;
424
+ workspaceId: string;
425
+ }>, "many">>;
402
426
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
403
427
  user: z.ZodOptional<z.ZodString>;
404
428
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -549,21 +573,21 @@ export declare const generateGoogleSchema: (customGoogle: GoogleSettings) => z.Z
549
573
  subagentKind: z.ZodEnum<["agent", "graph"]>;
550
574
  depth: z.ZodNumber;
551
575
  }, "strip", z.ZodTypeAny, {
576
+ subagentKind: "agent" | "graph";
552
577
  parentMessageId: string;
553
578
  rootConversationId: string;
554
579
  parentConversationId: string;
555
580
  parentToolCallId: string;
556
581
  subagentType: string;
557
- subagentKind: "agent" | "graph";
558
582
  depth: number;
559
583
  parentAgentId?: string | undefined;
560
584
  }, {
585
+ subagentKind: "agent" | "graph";
561
586
  parentMessageId: string;
562
587
  rootConversationId: string;
563
588
  parentConversationId: string;
564
589
  parentToolCallId: string;
565
590
  subagentType: string;
566
- subagentKind: "agent" | "graph";
567
591
  depth: number;
568
592
  parentAgentId?: string | undefined;
569
593
  }>>;
@@ -5,7 +5,9 @@ export * from './config';
5
5
  export * from './langchain';
6
6
  export * from './filters';
7
7
  export * from './file-config';
8
+ export * from './resolve-llm-delivery-path';
8
9
  export * from './messages';
10
+ export * from './errors';
9
11
  export * from './runSteps';
10
12
  export * from './artifacts';
11
13
  export * from './parsers';
@@ -28,6 +30,7 @@ export * from './types/runs';
28
30
  export * from './types/web';
29
31
  export * from './types/graph';
30
32
  export * from './types/insights';
33
+ export * from './types/traces';
31
34
  export * from './types/subagents';
32
35
  export * from './types/queuedTurns';
33
36
  export * from './accessPermissions';
@@ -38,6 +41,7 @@ export { default as request } from './request';
38
41
  export { dataService };
39
42
  import * as dataService from './data-service';
40
43
  export * from './providers';
44
+ export * from './svg';
41
45
  export * from './utils';
42
46
  export * from './actions';
43
47
  export { default as createPayload } from './createPayload';
@@ -45,3 +49,6 @@ export * from './feedback';
45
49
  export * from './parameterSettings';
46
50
  export * from './agentToolOptions';
47
51
  export * from './codeEnvRef';
52
+ export * from './code/worker';
53
+ export * from './code/approval';
54
+ export * from './code/workspace';
@@ -11,6 +11,9 @@ export declare enum QueryKeys {
11
11
  searchEnabled = "searchEnabled",
12
12
  langfuseConnection = "langfuseConnection",
13
13
  langfuseSessionLink = "langfuseSessionLink",
14
+ conversationTraceAvailability = "conversationTraceAvailability",
15
+ conversationTraceRecords = "conversationTraceRecords",
16
+ conversationTraceRecord = "conversationTraceRecord",
14
17
  user = "user",
15
18
  name = "name",// user key name
16
19
  models = "models",
@@ -86,15 +89,22 @@ export declare enum QueryKeys {
86
89
  parentSubagents = "parentSubagents",
87
90
  subagentThread = "subagentThread",
88
91
  codeEnvironments = "codeEnvironments",
89
- agentQueuedTurns = "agentQueuedTurns"
92
+ agentQueuedTurns = "agentQueuedTurns",
93
+ pinnedOrder = "pinnedOrder"
90
94
  }
91
95
  export declare const DynamicQueryKeys: {
92
96
  readonly agentFiles: (agentId: string) => readonly ["agentFiles", string];
97
+ readonly codeEnvironmentStatus: (id: string) => readonly [QueryKeys.codeEnvironments, string, "status"];
93
98
  };
94
99
  export declare enum MutationKeys {
95
100
  subagentControl = "subagentControl",
96
101
  enqueueAgentQueuedTurn = "enqueueAgentQueuedTurn",
97
102
  cancelAgentQueuedTurn = "cancelAgentQueuedTurn",
103
+ /** Whole-array favorites write, keyed so every hook instance's write is
104
+ * visible to the others through the query client. */
105
+ updateFavorites = "updateFavorites",
106
+ /** Pinned-section display order write, keyed for the same reason. */
107
+ updatePinnedOrder = "updatePinnedOrder",
98
108
  updateLangfuseConnection = "updateLangfuseConnection",
99
109
  testLangfuseConnection = "testLangfuseConnection",
100
110
  createAgentApiKey = "createAgentApiKey",