librechat-data-provider 0.8.523 → 0.8.524

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 (48) hide show
  1. package/dist/{data-service-Bx6IFaSa.mjs → data-service-B-WUVvTH.mjs} +434 -174
  2. package/dist/data-service-B-WUVvTH.mjs.map +1 -0
  3. package/dist/{data-service-CTX0tVO5.js → data-service-CUG1qdeC.js} +577 -203
  4. package/dist/data-service-CUG1qdeC.js.map +1 -0
  5. package/dist/index.js +346 -72
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +307 -68
  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/actions.d.ts +1 -1
  12. package/dist/types/agentToolOptions.d.ts +1 -1
  13. package/dist/types/api-endpoints.d.ts +1 -0
  14. package/dist/types/backgroundResults.d.ts +13 -0
  15. package/dist/types/balance.d.ts +4 -0
  16. package/dist/types/bedrock.d.ts +77 -70
  17. package/dist/types/code/workspace.d.ts +22 -0
  18. package/dist/types/config.d.ts +5362 -4206
  19. package/dist/types/data-service.d.ts +14 -12
  20. package/dist/types/file-config.d.ts +81 -42
  21. package/dist/types/filters.d.ts +205 -205
  22. package/dist/types/footer.d.ts +20 -0
  23. package/dist/types/generate.d.ts +28 -28
  24. package/dist/types/index.d.ts +4 -0
  25. package/dist/types/keys.d.ts +2 -1
  26. package/dist/types/limits.d.ts +8 -0
  27. package/dist/types/mcp.d.ts +999 -352
  28. package/dist/types/messages.d.ts +12 -7
  29. package/dist/types/models.d.ts +429 -429
  30. package/dist/types/parameterSettings.d.ts +2 -1
  31. package/dist/types/parsers.d.ts +25 -1
  32. package/dist/types/resolve-llm-delivery-path.d.ts +97 -4
  33. package/dist/types/schemas.d.ts +646 -643
  34. package/dist/types/types/agents.d.ts +233 -2
  35. package/dist/types/types/assistants.d.ts +2 -641
  36. package/dist/types/types/content.d.ts +286 -0
  37. package/dist/types/types/files.d.ts +14 -1
  38. package/dist/types/types/mutations.d.ts +3 -2
  39. package/dist/types/types/queuedTurns.d.ts +124 -90
  40. package/dist/types/types/runs.d.ts +9 -0
  41. package/dist/types/types/schedules.d.ts +10 -10
  42. package/dist/types/types/skills.d.ts +43 -0
  43. package/dist/types/types/tools.d.ts +132 -0
  44. package/dist/types/types/traces.d.ts +49 -0
  45. package/dist/types/types.d.ts +31 -1
  46. package/package.json +1 -1
  47. package/dist/data-service-Bx6IFaSa.mjs.map +0 -1
  48. package/dist/data-service-CTX0tVO5.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_data_service = require("../data-service-CTX0tVO5.js");
2
+ const require_data_service = require("../data-service-CUG1qdeC.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, D as updateFeedback, E as searchPrincipals, In as initialModelsConfig, M as updateUserKey, N as updateUserPlugins, O as updateMessage, P as userKeyQuery, S as requestPasswordReset, T as revokeUserKey, To as isAssistantsEndpoint, Z as hasPermissions, _ as getResourcePermissions, b as register, c as getAccessRoles, d as getAvailablePlugins, f as getConversationById, fs as defaultOrderQuery, 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, v as getSharedLink, w as revokeAllUserKeys, x as reinitializeMCPServer, y as getSharedMessages } from "../data-service-Bx6IFaSa.mjs";
1
+ import { $o as isAssistantsEndpoint, A as updateResourcePermissions, C as resetPassword, D as updateFeedback, E as searchPrincipals, M as updateUserKey, N as updateUserPlugins, O as updateMessage, P as userKeyQuery, S as requestPasswordReset, T as revokeUserKey, Yn as initialModelsConfig, 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, st as defaultOrderQuery, t as cancelMCPOAuth, u as getAllEffectivePermissions, v as getSharedLink, w as revokeAllUserKeys, x as reinitializeMCPServer, y as getSharedMessages } from "../data-service-B-WUVvTH.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) => {
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import type { OpenAPIV3 } from 'openapi-types';
3
3
  import type { ActionMetadata, ActionMetadataRuntime } from './types/agents';
4
- import type { FunctionTool, Schema, Reference } from './types/assistants';
4
+ import type { FunctionTool, Schema, Reference } from './types/tools';
5
5
  import { AuthorizationTypeEnum } from './types/agents';
6
6
  export type ParametersSchema = {
7
7
  type: string;
@@ -1,4 +1,4 @@
1
- import { type AgentToolOptions } from './types/assistants';
1
+ import { type AgentToolOptions } from './types/tools';
2
2
  /**
3
3
  * Collapses the encoded-domain suffix of an action tool name to the shape used
4
4
  * by runtime tool definitions. The operation id is deliberately preserved.
@@ -14,6 +14,7 @@ export declare const codeEnvironmentPairings: () => string;
14
14
  export declare const codeEnvironmentById: (id: string) => string;
15
15
  export declare const codeEnvironmentSettings: (id: string) => string;
16
16
  export declare const codeEnvironmentStatus: (id: string) => string;
17
+ export declare const codeEnvironmentConversationDecision: (conversationId: string) => string;
17
18
  export declare const messages: (params: q.MessagesListParams) => string;
18
19
  export declare const messagesArtifacts: (messageId: string) => string;
19
20
  export declare const messagesBranch: () => string;
@@ -0,0 +1,13 @@
1
+ /** Shared serialized metadata shape for admission budgeting and continuation rendering. */
2
+ export declare function backgroundResultMetadata(result: {
3
+ taskId: string;
4
+ toolCallId: string;
5
+ toolName: string;
6
+ status: 'completed' | 'error' | 'cancelled';
7
+ }): {
8
+ background_task_id: string;
9
+ tool_call_id: string;
10
+ tool: string;
11
+ status: "error" | "completed" | "cancelled";
12
+ result: string;
13
+ };
@@ -1,3 +1,7 @@
1
1
  export declare const REFILL_INTERVAL_UNITS: readonly ["seconds", "minutes", "hours", "days", "weeks", "months"];
2
2
  export type RefillIntervalUnit = (typeof REFILL_INTERVAL_UNITS)[number];
3
+ /** How long an unreleased in-flight balance reservation keeps counting against the balance. */
4
+ export declare const DEFAULT_BALANCE_RESERVATION_TTL_MS: number;
5
+ /** Shortest reservation TTL; a live reservation is renewed every half TTL. */
6
+ export declare const MIN_BALANCE_RESERVATION_TTL_MS: number;
3
7
  export declare function getRefillEligibilityDate(lastRefill: Date, value: number, unit: RefillIntervalUnit): Date;
@@ -1,8 +1,15 @@
1
1
  import { z } from 'zod';
2
2
  import * as s from './schemas';
3
+ export declare const THINKING_BINDING_BETA = "thinking-binding-controls-2026-08-01";
3
4
  export declare const BEDROCK_OUTPUT_128K_BETA = "output-128k-2025-02-19";
4
5
  export declare const BEDROCK_FINE_GRAINED_TOOL_STREAMING_BETA = "fine-grained-tool-streaming-2025-05-14";
5
6
  export declare function resolveThinkingDisplay(model: string, explicit?: s.ThinkingDisplay | string | null): s.ThinkingDisplayWireValue | undefined;
7
+ /** Opus 5.5 has an always-on, conversation-bound thinking contract unlike Opus 5. */
8
+ export declare function isOpus55Model(model: string): boolean;
9
+ /** LibreChat permits edits and compaction of earlier turns; drop only invalidated blocks. */
10
+ export declare const OPUS_55_BLOCK_BINDING: {
11
+ readonly prefix_mismatch_behavior: "drop_block";
12
+ };
6
13
  /**
7
14
  * Mythos-class detection (Claude Fable / Mythos) lives in `schemas.ts` as
8
15
  * `isMythosClassModel` — the single source of truth for the family names.
@@ -105,14 +112,14 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
105
112
  sensitive: z.ZodOptional<z.ZodBoolean>;
106
113
  }, "strip", z.ZodTypeAny, {
107
114
  description: string;
108
- authField: string;
109
115
  label: string;
116
+ authField: string;
110
117
  optional?: boolean | undefined;
111
118
  sensitive?: boolean | undefined;
112
119
  }, {
113
120
  description: string;
114
- authField: string;
115
121
  label: string;
122
+ authField: string;
116
123
  optional?: boolean | undefined;
117
124
  sensitive?: boolean | undefined;
118
125
  }>, "many">>;
@@ -128,8 +135,8 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
128
135
  icon?: string | undefined;
129
136
  authConfig?: {
130
137
  description: string;
131
- authField: string;
132
138
  label: string;
139
+ authField: string;
133
140
  optional?: boolean | undefined;
134
141
  sensitive?: boolean | undefined;
135
142
  }[] | undefined;
@@ -145,8 +152,8 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
145
152
  icon?: string | undefined;
146
153
  authConfig?: {
147
154
  description: string;
148
- authField: string;
149
155
  label: string;
156
+ authField: string;
150
157
  optional?: boolean | undefined;
151
158
  sensitive?: boolean | undefined;
152
159
  }[] | undefined;
@@ -195,19 +202,19 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
195
202
  content: string;
196
203
  }>;
197
204
  }, "strip", z.ZodTypeAny, {
198
- input: {
199
- content: string;
200
- };
201
205
  output: {
202
206
  content: string;
203
207
  };
204
- }, {
205
208
  input: {
206
209
  content: string;
207
210
  };
211
+ }, {
208
212
  output: {
209
213
  content: string;
210
214
  };
215
+ input: {
216
+ content: string;
217
+ };
211
218
  }>, "many">>;
212
219
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
213
220
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -239,21 +246,21 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
239
246
  subagentKind: z.ZodEnum<["agent", "graph"]>;
240
247
  depth: z.ZodNumber;
241
248
  }, "strip", z.ZodTypeAny, {
242
- subagentKind: "agent" | "graph";
243
249
  parentMessageId: string;
244
250
  rootConversationId: string;
245
251
  parentConversationId: string;
246
252
  parentToolCallId: string;
247
253
  subagentType: string;
254
+ subagentKind: "agent" | "graph";
248
255
  depth: number;
249
256
  parentAgentId?: string | undefined;
250
257
  }, {
251
- subagentKind: "agent" | "graph";
252
258
  parentMessageId: string;
253
259
  rootConversationId: string;
254
260
  parentConversationId: string;
255
261
  parentToolCallId: string;
256
262
  subagentType: string;
263
+ subagentKind: "agent" | "graph";
257
264
  depth: number;
258
265
  parentAgentId?: string | undefined;
259
266
  }>>;
@@ -321,8 +328,11 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
321
328
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
322
329
  resendImages: z.ZodOptional<z.ZodBoolean>;
323
330
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
- }, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "system" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
331
+ }, "system" | "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
332
+ system?: string | undefined;
333
+ greeting?: string | undefined;
325
334
  artifacts?: string | undefined;
335
+ stop?: string[] | undefined;
326
336
  model?: string | null | undefined;
327
337
  modelLabel?: string | null | undefined;
328
338
  promptPrefix?: string | null | undefined;
@@ -333,7 +343,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
333
343
  maxContextTokens?: number | undefined;
334
344
  promptCache?: boolean | undefined;
335
345
  promptCacheTtl?: "5m" | "1h" | undefined;
336
- system?: string | undefined;
337
346
  thinking?: boolean | undefined;
338
347
  thinkingBudget?: number | undefined;
339
348
  chatProjectId?: string | null | undefined;
@@ -368,12 +377,13 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
368
377
  } | null)[] | {
369
378
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
370
379
  } | null) | undefined;
371
- stop?: string[] | undefined;
372
- greeting?: string | undefined;
373
380
  spec?: string | null | undefined;
374
381
  iconURL?: string | null | undefined;
375
382
  }, {
383
+ system?: string | undefined;
384
+ greeting?: string | undefined;
376
385
  artifacts?: string | undefined;
386
+ stop?: string[] | undefined;
377
387
  model?: string | null | undefined;
378
388
  modelLabel?: string | null | undefined;
379
389
  promptPrefix?: string | null | undefined;
@@ -384,7 +394,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
384
394
  maxContextTokens?: string | number | undefined;
385
395
  promptCache?: boolean | undefined;
386
396
  promptCacheTtl?: "5m" | "1h" | undefined;
387
- system?: string | undefined;
388
397
  thinking?: boolean | undefined;
389
398
  thinkingBudget?: string | number | undefined;
390
399
  chatProjectId?: string | null | undefined;
@@ -419,12 +428,13 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
419
428
  } | null)[] | {
420
429
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
421
430
  } | null) | undefined;
422
- stop?: string[] | undefined;
423
- greeting?: string | undefined;
424
431
  spec?: string | null | undefined;
425
432
  iconURL?: string | null | undefined;
426
433
  }>, Partial<{
434
+ system?: string | undefined;
435
+ greeting?: string | undefined;
427
436
  artifacts?: string | undefined;
437
+ stop?: string[] | undefined;
428
438
  model?: string | null | undefined;
429
439
  modelLabel?: string | null | undefined;
430
440
  promptPrefix?: string | null | undefined;
@@ -435,7 +445,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
435
445
  maxContextTokens?: number | undefined;
436
446
  promptCache?: boolean | undefined;
437
447
  promptCacheTtl?: "5m" | "1h" | undefined;
438
- system?: string | undefined;
439
448
  thinking?: boolean | undefined;
440
449
  thinkingBudget?: number | undefined;
441
450
  chatProjectId?: string | null | undefined;
@@ -470,12 +479,13 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
470
479
  } | null)[] | {
471
480
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
472
481
  } | null) | undefined;
473
- stop?: string[] | undefined;
474
- greeting?: string | undefined;
475
482
  spec?: string | null | undefined;
476
483
  iconURL?: string | null | undefined;
477
484
  }>, {
485
+ system?: string | undefined;
486
+ greeting?: string | undefined;
478
487
  artifacts?: string | undefined;
488
+ stop?: string[] | undefined;
479
489
  model?: string | null | undefined;
480
490
  modelLabel?: string | null | undefined;
481
491
  promptPrefix?: string | null | undefined;
@@ -486,7 +496,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
486
496
  maxContextTokens?: string | number | undefined;
487
497
  promptCache?: boolean | undefined;
488
498
  promptCacheTtl?: "5m" | "1h" | undefined;
489
- system?: string | undefined;
490
499
  thinking?: boolean | undefined;
491
500
  thinkingBudget?: string | number | undefined;
492
501
  chatProjectId?: string | null | undefined;
@@ -521,8 +530,6 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
521
530
  } | null)[] | {
522
531
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
523
532
  } | null) | undefined;
524
- stop?: string[] | undefined;
525
- greeting?: string | undefined;
526
533
  spec?: string | null | undefined;
527
534
  iconURL?: string | null | undefined;
528
535
  }>>;
@@ -563,14 +570,14 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
563
570
  sensitive: z.ZodOptional<z.ZodBoolean>;
564
571
  }, "strip", z.ZodTypeAny, {
565
572
  description: string;
566
- authField: string;
567
573
  label: string;
574
+ authField: string;
568
575
  optional?: boolean | undefined;
569
576
  sensitive?: boolean | undefined;
570
577
  }, {
571
578
  description: string;
572
- authField: string;
573
579
  label: string;
580
+ authField: string;
574
581
  optional?: boolean | undefined;
575
582
  sensitive?: boolean | undefined;
576
583
  }>, "many">>;
@@ -586,8 +593,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
586
593
  icon?: string | undefined;
587
594
  authConfig?: {
588
595
  description: string;
589
- authField: string;
590
596
  label: string;
597
+ authField: string;
591
598
  optional?: boolean | undefined;
592
599
  sensitive?: boolean | undefined;
593
600
  }[] | undefined;
@@ -603,8 +610,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
603
610
  icon?: string | undefined;
604
611
  authConfig?: {
605
612
  description: string;
606
- authField: string;
607
613
  label: string;
614
+ authField: string;
608
615
  optional?: boolean | undefined;
609
616
  sensitive?: boolean | undefined;
610
617
  }[] | undefined;
@@ -653,19 +660,19 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
653
660
  content: string;
654
661
  }>;
655
662
  }, "strip", z.ZodTypeAny, {
656
- input: {
657
- content: string;
658
- };
659
663
  output: {
660
664
  content: string;
661
665
  };
662
- }, {
663
666
  input: {
664
667
  content: string;
665
668
  };
669
+ }, {
666
670
  output: {
667
671
  content: string;
668
672
  };
673
+ input: {
674
+ content: string;
675
+ };
669
676
  }>, "many">>;
670
677
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
671
678
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -697,21 +704,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
697
704
  subagentKind: z.ZodEnum<["agent", "graph"]>;
698
705
  depth: z.ZodNumber;
699
706
  }, "strip", z.ZodTypeAny, {
700
- subagentKind: "agent" | "graph";
701
707
  parentMessageId: string;
702
708
  rootConversationId: string;
703
709
  parentConversationId: string;
704
710
  parentToolCallId: string;
705
711
  subagentType: string;
712
+ subagentKind: "agent" | "graph";
706
713
  depth: number;
707
714
  parentAgentId?: string | undefined;
708
715
  }, {
709
- subagentKind: "agent" | "graph";
710
716
  parentMessageId: string;
711
717
  rootConversationId: string;
712
718
  parentConversationId: string;
713
719
  parentToolCallId: string;
714
720
  subagentType: string;
721
+ subagentKind: "agent" | "graph";
715
722
  depth: number;
716
723
  parentAgentId?: string | undefined;
717
724
  }>>;
@@ -779,7 +786,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
779
786
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
780
787
  resendImages: z.ZodOptional<z.ZodBoolean>;
781
788
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
782
- }, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, "strip", z.ZodAny, z.objectOutputType<Pick<{
789
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "spec" | "iconURL">, "strip", z.ZodAny, z.objectOutputType<Pick<{
783
790
  conversationId: z.ZodNullable<z.ZodString>;
784
791
  endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
785
792
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
@@ -815,14 +822,14 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
815
822
  sensitive: z.ZodOptional<z.ZodBoolean>;
816
823
  }, "strip", z.ZodTypeAny, {
817
824
  description: string;
818
- authField: string;
819
825
  label: string;
826
+ authField: string;
820
827
  optional?: boolean | undefined;
821
828
  sensitive?: boolean | undefined;
822
829
  }, {
823
830
  description: string;
824
- authField: string;
825
831
  label: string;
832
+ authField: string;
826
833
  optional?: boolean | undefined;
827
834
  sensitive?: boolean | undefined;
828
835
  }>, "many">>;
@@ -838,8 +845,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
838
845
  icon?: string | undefined;
839
846
  authConfig?: {
840
847
  description: string;
841
- authField: string;
842
848
  label: string;
849
+ authField: string;
843
850
  optional?: boolean | undefined;
844
851
  sensitive?: boolean | undefined;
845
852
  }[] | undefined;
@@ -855,8 +862,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
855
862
  icon?: string | undefined;
856
863
  authConfig?: {
857
864
  description: string;
858
- authField: string;
859
865
  label: string;
866
+ authField: string;
860
867
  optional?: boolean | undefined;
861
868
  sensitive?: boolean | undefined;
862
869
  }[] | undefined;
@@ -905,19 +912,19 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
905
912
  content: string;
906
913
  }>;
907
914
  }, "strip", z.ZodTypeAny, {
908
- input: {
909
- content: string;
910
- };
911
915
  output: {
912
916
  content: string;
913
917
  };
914
- }, {
915
918
  input: {
916
919
  content: string;
917
920
  };
921
+ }, {
918
922
  output: {
919
923
  content: string;
920
924
  };
925
+ input: {
926
+ content: string;
927
+ };
921
928
  }>, "many">>;
922
929
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
923
930
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -949,21 +956,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
949
956
  subagentKind: z.ZodEnum<["agent", "graph"]>;
950
957
  depth: z.ZodNumber;
951
958
  }, "strip", z.ZodTypeAny, {
952
- subagentKind: "agent" | "graph";
953
959
  parentMessageId: string;
954
960
  rootConversationId: string;
955
961
  parentConversationId: string;
956
962
  parentToolCallId: string;
957
963
  subagentType: string;
964
+ subagentKind: "agent" | "graph";
958
965
  depth: number;
959
966
  parentAgentId?: string | undefined;
960
967
  }, {
961
- subagentKind: "agent" | "graph";
962
968
  parentMessageId: string;
963
969
  rootConversationId: string;
964
970
  parentConversationId: string;
965
971
  parentToolCallId: string;
966
972
  subagentType: string;
973
+ subagentKind: "agent" | "graph";
967
974
  depth: number;
968
975
  parentAgentId?: string | undefined;
969
976
  }>>;
@@ -1031,7 +1038,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1031
1038
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1032
1039
  resendImages: z.ZodOptional<z.ZodBoolean>;
1033
1040
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1034
- }, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">, z.objectInputType<Pick<{
1041
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "spec" | "iconURL">, z.ZodAny, "strip">, z.objectInputType<Pick<{
1035
1042
  conversationId: z.ZodNullable<z.ZodString>;
1036
1043
  endpoint: z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>;
1037
1044
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof s.EModelEndpoint>>>;
@@ -1067,14 +1074,14 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1067
1074
  sensitive: z.ZodOptional<z.ZodBoolean>;
1068
1075
  }, "strip", z.ZodTypeAny, {
1069
1076
  description: string;
1070
- authField: string;
1071
1077
  label: string;
1078
+ authField: string;
1072
1079
  optional?: boolean | undefined;
1073
1080
  sensitive?: boolean | undefined;
1074
1081
  }, {
1075
1082
  description: string;
1076
- authField: string;
1077
1083
  label: string;
1084
+ authField: string;
1078
1085
  optional?: boolean | undefined;
1079
1086
  sensitive?: boolean | undefined;
1080
1087
  }>, "many">>;
@@ -1090,8 +1097,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1090
1097
  icon?: string | undefined;
1091
1098
  authConfig?: {
1092
1099
  description: string;
1093
- authField: string;
1094
1100
  label: string;
1101
+ authField: string;
1095
1102
  optional?: boolean | undefined;
1096
1103
  sensitive?: boolean | undefined;
1097
1104
  }[] | undefined;
@@ -1107,8 +1114,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1107
1114
  icon?: string | undefined;
1108
1115
  authConfig?: {
1109
1116
  description: string;
1110
- authField: string;
1111
1117
  label: string;
1118
+ authField: string;
1112
1119
  optional?: boolean | undefined;
1113
1120
  sensitive?: boolean | undefined;
1114
1121
  }[] | undefined;
@@ -1157,19 +1164,19 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1157
1164
  content: string;
1158
1165
  }>;
1159
1166
  }, "strip", z.ZodTypeAny, {
1160
- input: {
1161
- content: string;
1162
- };
1163
1167
  output: {
1164
1168
  content: string;
1165
1169
  };
1166
- }, {
1167
1170
  input: {
1168
1171
  content: string;
1169
1172
  };
1173
+ }, {
1170
1174
  output: {
1171
1175
  content: string;
1172
1176
  };
1177
+ input: {
1178
+ content: string;
1179
+ };
1173
1180
  }>, "many">>;
1174
1181
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1175
1182
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1201,21 +1208,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1201
1208
  subagentKind: z.ZodEnum<["agent", "graph"]>;
1202
1209
  depth: z.ZodNumber;
1203
1210
  }, "strip", z.ZodTypeAny, {
1204
- subagentKind: "agent" | "graph";
1205
1211
  parentMessageId: string;
1206
1212
  rootConversationId: string;
1207
1213
  parentConversationId: string;
1208
1214
  parentToolCallId: string;
1209
1215
  subagentType: string;
1216
+ subagentKind: "agent" | "graph";
1210
1217
  depth: number;
1211
1218
  parentAgentId?: string | undefined;
1212
1219
  }, {
1213
- subagentKind: "agent" | "graph";
1214
1220
  parentMessageId: string;
1215
1221
  rootConversationId: string;
1216
1222
  parentConversationId: string;
1217
1223
  parentToolCallId: string;
1218
1224
  subagentType: string;
1225
+ subagentKind: "agent" | "graph";
1219
1226
  depth: number;
1220
1227
  parentAgentId?: string | undefined;
1221
1228
  }>>;
@@ -1283,8 +1290,11 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1283
1290
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1284
1291
  resendImages: z.ZodOptional<z.ZodBoolean>;
1285
1292
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1286
- }, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">>, Partial<{
1293
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "spec" | "iconURL">, z.ZodAny, "strip">>, Partial<{
1294
+ system?: string | undefined;
1295
+ greeting?: string | undefined;
1287
1296
  artifacts?: string | undefined;
1297
+ stop?: string[] | undefined;
1288
1298
  model?: string | null | undefined;
1289
1299
  modelLabel?: string | null | undefined;
1290
1300
  promptPrefix?: string | null | undefined;
@@ -1295,7 +1305,6 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1295
1305
  maxContextTokens?: number | undefined;
1296
1306
  promptCache?: boolean | undefined;
1297
1307
  promptCacheTtl?: "5m" | "1h" | undefined;
1298
- system?: string | undefined;
1299
1308
  thinking?: boolean | undefined;
1300
1309
  thinkingBudget?: number | undefined;
1301
1310
  chatProjectId?: string | null | undefined;
@@ -1330,8 +1339,6 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1330
1339
  } | null)[] | {
1331
1340
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1332
1341
  } | null) | undefined;
1333
- stop?: string[] | undefined;
1334
- greeting?: string | undefined;
1335
1342
  spec?: string | null | undefined;
1336
1343
  iconURL?: string | null | undefined;
1337
1344
  }>, z.objectInputType<Pick<{
@@ -1370,14 +1377,14 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1370
1377
  sensitive: z.ZodOptional<z.ZodBoolean>;
1371
1378
  }, "strip", z.ZodTypeAny, {
1372
1379
  description: string;
1373
- authField: string;
1374
1380
  label: string;
1381
+ authField: string;
1375
1382
  optional?: boolean | undefined;
1376
1383
  sensitive?: boolean | undefined;
1377
1384
  }, {
1378
1385
  description: string;
1379
- authField: string;
1380
1386
  label: string;
1387
+ authField: string;
1381
1388
  optional?: boolean | undefined;
1382
1389
  sensitive?: boolean | undefined;
1383
1390
  }>, "many">>;
@@ -1393,8 +1400,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1393
1400
  icon?: string | undefined;
1394
1401
  authConfig?: {
1395
1402
  description: string;
1396
- authField: string;
1397
1403
  label: string;
1404
+ authField: string;
1398
1405
  optional?: boolean | undefined;
1399
1406
  sensitive?: boolean | undefined;
1400
1407
  }[] | undefined;
@@ -1410,8 +1417,8 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1410
1417
  icon?: string | undefined;
1411
1418
  authConfig?: {
1412
1419
  description: string;
1413
- authField: string;
1414
1420
  label: string;
1421
+ authField: string;
1415
1422
  optional?: boolean | undefined;
1416
1423
  sensitive?: boolean | undefined;
1417
1424
  }[] | undefined;
@@ -1460,19 +1467,19 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1460
1467
  content: string;
1461
1468
  }>;
1462
1469
  }, "strip", z.ZodTypeAny, {
1463
- input: {
1464
- content: string;
1465
- };
1466
1470
  output: {
1467
1471
  content: string;
1468
1472
  };
1469
- }, {
1470
1473
  input: {
1471
1474
  content: string;
1472
1475
  };
1476
+ }, {
1473
1477
  output: {
1474
1478
  content: string;
1475
1479
  };
1480
+ input: {
1481
+ content: string;
1482
+ };
1476
1483
  }>, "many">>;
1477
1484
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1478
1485
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1504,21 +1511,21 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1504
1511
  subagentKind: z.ZodEnum<["agent", "graph"]>;
1505
1512
  depth: z.ZodNumber;
1506
1513
  }, "strip", z.ZodTypeAny, {
1507
- subagentKind: "agent" | "graph";
1508
1514
  parentMessageId: string;
1509
1515
  rootConversationId: string;
1510
1516
  parentConversationId: string;
1511
1517
  parentToolCallId: string;
1512
1518
  subagentType: string;
1519
+ subagentKind: "agent" | "graph";
1513
1520
  depth: number;
1514
1521
  parentAgentId?: string | undefined;
1515
1522
  }, {
1516
- subagentKind: "agent" | "graph";
1517
1523
  parentMessageId: string;
1518
1524
  rootConversationId: string;
1519
1525
  parentConversationId: string;
1520
1526
  parentToolCallId: string;
1521
1527
  subagentType: string;
1528
+ subagentKind: "agent" | "graph";
1522
1529
  depth: number;
1523
1530
  parentAgentId?: string | undefined;
1524
1531
  }>>;
@@ -1586,5 +1593,5 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
1586
1593
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1587
1594
  resendImages: z.ZodOptional<z.ZodBoolean>;
1588
1595
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1589
- }, "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "stop" | "greeting" | "spec" | "iconURL">, z.ZodAny, "strip">>>;
1596
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "chatProjectId" | "resendFiles" | "reasoning_effort" | "effort" | "thinkingDisplay" | "region" | "maxTokens" | "additionalModelRequestFields" | "spec" | "iconURL">, z.ZodAny, "strip">>>;
1590
1597
  export declare const bedrockOutputParser: (data: Record<string, unknown>) => Record<string, unknown>;