librechat-data-provider 0.8.504 → 0.8.506

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.
@@ -372,6 +372,31 @@ const openAILikeProviders = new Set([
372
372
  const isOpenAILikeProvider = (provider) => {
373
373
  return openAILikeProviders.has(provider ?? "");
374
374
  };
375
+ /**
376
+ * Providers whose `usage_metadata.input_tokens` ALREADY INCLUDES cached tokens
377
+ * (`input_token_details.cache_*` is a subset, not an additional charge):
378
+ * Google/Vertex (`promptTokenCount`), OpenAI/Azure (`prompt_tokens`), and the
379
+ * OpenAI-compatible family. `@librechat/agents`' `getAnthropicUsageMetadata`
380
+ * folds `cache_creation` + `cache_read` into `input_tokens`, so Anthropic is a
381
+ * subset provider too; without this the cache portion is billed twice. Bedrock
382
+ * stays additive — its Converse path passes AWS `inputTokens` through unmodified.
383
+ * Single source of truth shared by the backend billing path
384
+ * (`packages/api/src/agents/usage.ts`) and the client usage normalization.
385
+ */
386
+ const cacheSubsetProviders = new Set([
387
+ "openAI",
388
+ "azureOpenAI",
389
+ "google",
390
+ "vertexai",
391
+ "xai",
392
+ "deepseek",
393
+ "openrouter",
394
+ "moonshot",
395
+ "anthropic"
396
+ ]);
397
+ const inputTokensIncludesCache = (provider) => {
398
+ return cacheSubsetProviders.has(provider ?? "");
399
+ };
375
400
  const isDocumentSupportedProvider = (provider) => {
376
401
  return documentSupportedProviders.has(provider ?? "");
377
402
  };
@@ -714,6 +739,7 @@ const anthropicSettings = {
714
739
  default: 1
715
740
  },
716
741
  promptCache: { default: true },
742
+ promptCacheTtl: { default: void 0 },
717
743
  thinking: { default: true },
718
744
  thinkingBudget: {
719
745
  min: 1024,
@@ -889,6 +915,8 @@ const tMessageSchema = z.object({
889
915
  feedback: feedbackSchema.optional(),
890
916
  /** metadata */
891
917
  metadata: z.record(z.unknown()).optional(),
918
+ /** Output tokens for assistant messages, calibrated prompt-side estimate for user messages */
919
+ tokenCount: z.number().optional(),
892
920
  contextMeta: z.object({
893
921
  calibrationRatio: z.number().optional().describe("EMA ratio of provider-reported vs local token estimates; seeds the pruner on subsequent runs"),
894
922
  encoding: z.string().optional().describe("Tokenizer encoding used when this ratio was computed (e.g. \"claude\", \"o200k_base\")")
@@ -928,6 +956,7 @@ const tConversationSchema = z.object({
928
956
  endpoint: eModelEndpointSchema.nullable(),
929
957
  endpointType: eModelEndpointSchema.nullable().optional(),
930
958
  isArchived: z.boolean().optional(),
959
+ pinned: z.boolean().optional(),
931
960
  title: z.string().nullable().or(z.literal("New Chat")).default("New Chat"),
932
961
  user: z.string().optional(),
933
962
  messages: z.array(z.string()).optional(),
@@ -947,6 +976,7 @@ const tConversationSchema = z.object({
947
976
  maxContextTokens: coerceNumber.optional(),
948
977
  max_tokens: coerceNumber.optional(),
949
978
  promptCache: z.boolean().optional(),
979
+ promptCacheTtl: z.enum(["5m", "1h"]).optional(),
950
980
  system: z.string().optional(),
951
981
  thinking: z.boolean().optional(),
952
982
  thinkingBudget: coerceNumber.optional(),
@@ -1069,6 +1099,7 @@ const tQueryParamsSchema = tConversationSchema.pick({
1069
1099
  maxOutputTokens: true,
1070
1100
  /** @endpoints anthropic */
1071
1101
  promptCache: true,
1102
+ promptCacheTtl: true,
1072
1103
  thinking: true,
1073
1104
  thinkingBudget: true,
1074
1105
  thinkingLevel: true,
@@ -1311,7 +1342,10 @@ const openAIBaseSchema = tConversationSchema.pick({
1311
1342
  fileTokenLimit: true
1312
1343
  });
1313
1344
  const openAISchema = openAIBaseSchema.transform((obj) => removeNullishValues(obj, true)).catch(() => ({}));
1314
- const openRouterSchema = openAIBaseSchema.merge(tConversationSchema.pick({ promptCache: true })).transform((obj) => removeNullishValues(obj, true)).catch(() => ({}));
1345
+ const openRouterSchema = openAIBaseSchema.merge(tConversationSchema.pick({
1346
+ promptCache: true,
1347
+ promptCacheTtl: true
1348
+ })).transform((obj) => removeNullishValues(obj, true)).catch(() => ({}));
1315
1349
  const compactGoogleSchema = googleBaseSchema.transform((obj) => {
1316
1350
  const newObj = { ...obj };
1317
1351
  if (newObj.temperature === google.temperature.default) delete newObj.temperature;
@@ -1331,6 +1365,7 @@ const anthropicBaseSchema = tConversationSchema.pick({
1331
1365
  topK: true,
1332
1366
  resendFiles: true,
1333
1367
  promptCache: true,
1368
+ promptCacheTtl: true,
1334
1369
  thinking: true,
1335
1370
  thinkingBudget: true,
1336
1371
  effort: true,
@@ -1747,6 +1782,7 @@ const tModelSpecSchema = z.object({
1747
1782
  showIconInMenu: z.boolean().optional(),
1748
1783
  showIconInHeader: z.boolean().optional(),
1749
1784
  showOnLanding: z.boolean().optional(),
1785
+ conversation_starters: z.array(z.string()).optional(),
1750
1786
  iconURL: z.union([z.string(), eModelEndpointSchema]).optional(),
1751
1787
  authType: authTypeSchema.optional(),
1752
1788
  hideBadgeRow: z.boolean().optional(),
@@ -1856,6 +1892,7 @@ const fullMimeTypesList = [
1856
1892
  "application/vnd.coffeescript",
1857
1893
  "application/xml",
1858
1894
  "application/zip",
1895
+ "application/x-zip-compressed",
1859
1896
  "application/x-parquet",
1860
1897
  "application/vnd.oasis.opendocument.text",
1861
1898
  "application/vnd.oasis.opendocument.spreadsheet",
@@ -1913,6 +1950,7 @@ const codeInterpreterMimeTypesList = [
1913
1950
  "application/typescript",
1914
1951
  "application/xml",
1915
1952
  "application/zip",
1953
+ "application/x-zip-compressed",
1916
1954
  "application/x-parquet",
1917
1955
  ...excelFileTypes
1918
1956
  ];
@@ -1952,7 +1990,7 @@ const isBedrockDocumentType = (mimeType) => mimeType != null && mimeType in bedr
1952
1990
  const bedrockDocumentExtensions = ".pdf,.csv,.doc,.docx,.xls,.xlsx,.html,.htm,.txt,.md,application/pdf,text/csv,application/csv,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text/html,text/plain,text/markdown";
1953
1991
  const excelMimeTypes = /^application\/(vnd\.ms-excel|msexcel|x-msexcel|x-ms-excel|x-excel|x-dos_ms_excel|xls|x-xls|vnd\.openxmlformats-officedocument\.spreadsheetml\.sheet)$/;
1954
1992
  const textMimeTypes = /^(text\/(x-c|x-csharp|tab-separated-values|x-c\+\+|x-h|x-java|html|markdown|x-php|x-python|x-script\.python|x-ruby|x-tex|plain|css|vtt|javascript|csv|xml|calendar))$/;
1955
- const applicationMimeTypes = /^(application\/(epub\+zip|csv|json|msword|pdf|x-tar|x-sh|typescript|sql|yaml|x-parquet|vnd\.apache\.parquet|vnd\.coffeescript|vnd\.openxmlformats-officedocument\.(wordprocessingml\.document|presentationml\.presentation|spreadsheetml\.sheet)|vnd\.oasis\.opendocument\.(text|spreadsheet|presentation|graphics)|xml|zip))$/;
1993
+ const applicationMimeTypes = /^(application\/(epub\+zip|csv|json|msword|pdf|x-tar|x-sh|x-zip-compressed|typescript|sql|yaml|x-parquet|vnd\.apache\.parquet|vnd\.coffeescript|vnd\.openxmlformats-officedocument\.(wordprocessingml\.document|presentationml\.presentation|spreadsheetml\.sheet)|vnd\.oasis\.opendocument\.(text|spreadsheet|presentation|graphics)|xml|zip))$/;
1956
1994
  const imageMimeTypes = /^image\/(jpeg|gif|png|webp|heic|heif)$/;
1957
1995
  const audioMimeTypes = /^audio\/(mp3|mpeg|mpeg3|wav|wave|x-wav|ogg|vorbis|mp4|m4a|x-m4a|flac|x-flac|webm|aac|wma|opus)$/;
1958
1996
  const videoMimeTypes = /^video\/(mp4|avi|mov|wmv|flv|webm|mkv|m4v|3gp|ogv)$/;
@@ -2120,6 +2158,7 @@ const imageTypeMapping = {
2120
2158
  };
2121
2159
  /** Normalizes non-standard MIME types that browsers may report to their canonical forms */
2122
2160
  const mimeTypeAliases = {
2161
+ "application/x-zip-compressed": "application/zip",
2123
2162
  "text/x-python-script": "text/x-python",
2124
2163
  "text/x-markdown": "text/markdown"
2125
2164
  };
@@ -2418,6 +2457,7 @@ const conversationById = (id) => `${conversationsRoot}/${id}`;
2418
2457
  const genTitle$1 = (conversationId) => `${conversationsRoot}/gen_title/${encodeURIComponent(conversationId)}`;
2419
2458
  const updateConversation$1 = () => `${conversationsRoot}/update`;
2420
2459
  const archiveConversation$1 = () => `${conversationsRoot}/archive`;
2460
+ const pinConversation$1 = () => `${conversationsRoot}/pin`;
2421
2461
  const deleteConversation$1 = () => `${conversationsRoot}`;
2422
2462
  const deleteAllConversation = () => `${conversationsRoot}/all`;
2423
2463
  const importConversation = () => `${conversationsRoot}/import`;
@@ -2433,6 +2473,8 @@ const searchEnabled = () => `${BASE_URL}/api/search/enable`;
2433
2473
  const presets = () => `${BASE_URL}/api/presets`;
2434
2474
  const deletePreset$1 = () => `${BASE_URL}/api/presets/delete`;
2435
2475
  const aiEndpoints = () => `${BASE_URL}/api/endpoints`;
2476
+ const tokenConfig = () => `${BASE_URL}/api/endpoints/token-config`;
2477
+ const contextProjection = () => `${BASE_URL}/api/endpoints/context-projection`;
2436
2478
  const models = () => `${BASE_URL}/api/models`;
2437
2479
  const tokenizer = () => `${BASE_URL}/api/tokenizer`;
2438
2480
  const login$1 = () => `${BASE_URL}/api/auth/login`;
@@ -3340,6 +3382,15 @@ const defaultAssistantsVersion = {
3340
3382
  const baseEndpointSchema = z.object({
3341
3383
  streamRate: z.number().optional(),
3342
3384
  baseURL: z.string().optional(),
3385
+ /**
3386
+ * Custom request headers forwarded to the provider on every request. Values
3387
+ * support the same placeholder resolution as custom endpoints — env vars
3388
+ * (`${VAR}`), user fields (`{{LIBRECHAT_USER_*}}`), and request-body fields
3389
+ * (`{{LIBRECHAT_BODY_CONVERSATIONID}}`). Primarily for routing built-in
3390
+ * providers through an AI gateway / reverse proxy that consumes metadata
3391
+ * headers (provider-native request shaping is preserved).
3392
+ */
3393
+ headers: z.record(z.string()).optional(),
3343
3394
  titlePrompt: z.string().optional(),
3344
3395
  titleModel: z.string().optional(),
3345
3396
  titleConvo: z.boolean().optional(),
@@ -3536,6 +3587,14 @@ const endpointSchema = baseEndpointSchema.merge(z.object({
3536
3587
  }),
3537
3588
  iconURL: z.string().optional(),
3538
3589
  modelDisplayLabel: z.string().optional(),
3590
+ /**
3591
+ * Forces the endpoint to use a provider's native client / request format
3592
+ * instead of the default OpenAI-compatible client. Currently supports
3593
+ * `anthropic`, for endpoints that speak the Anthropic `/v1/messages` API
3594
+ * (Anthropic itself or Anthropic-compatible gateways). Omit for
3595
+ * OpenAI-compatible endpoints.
3596
+ */
3597
+ provider: z.literal("anthropic").optional(),
3539
3598
  headers: z.record(z.string()).optional(),
3540
3599
  addParams: addParamsSchema.optional(),
3541
3600
  dropParams: z.array(z.string()).optional(),
@@ -3550,7 +3609,15 @@ const endpointSchema = baseEndpointSchema.merge(z.object({
3550
3609
  "system",
3551
3610
  "user",
3552
3611
  "assistant"
3553
- ]).optional()
3612
+ ]).optional(),
3613
+ /** Static per-model token config: context window and per-million-token rates */
3614
+ tokenConfig: z.record(z.object({
3615
+ prompt: z.number(),
3616
+ completion: z.number(),
3617
+ context: z.number(),
3618
+ cacheRead: z.number().optional(),
3619
+ cacheWrite: z.number().optional()
3620
+ })).optional()
3554
3621
  }));
3555
3622
  const azureEndpointSchema = z.object({
3556
3623
  groups: azureGroupConfigsSchema,
@@ -3777,6 +3844,12 @@ const interfaceSchema = z.object({
3777
3844
  retainAgentFiles: z.boolean().optional(),
3778
3845
  runCode: z.boolean().optional(),
3779
3846
  webSearch: z.boolean().optional(),
3847
+ contextUsage: z.boolean().optional(),
3848
+ contextCost: z.boolean().optional(),
3849
+ currency: z.object({
3850
+ code: z.string(),
3851
+ rate: z.number().positive()
3852
+ }).optional(),
3780
3853
  peoplePicker: z.object({
3781
3854
  users: z.boolean().optional(),
3782
3855
  groups: z.boolean().optional(),
@@ -3827,6 +3900,8 @@ const interfaceSchema = z.object({
3827
3900
  autoSubmitFromUrl: true,
3828
3901
  runCode: true,
3829
3902
  webSearch: true,
3903
+ contextUsage: true,
3904
+ contextCost: false,
3830
3905
  peoplePicker: {
3831
3906
  users: true,
3832
3907
  groups: true,
@@ -4810,7 +4885,7 @@ let TTSProviders = /* @__PURE__ */ function(TTSProviders) {
4810
4885
  /** Enum for app-wide constants */
4811
4886
  let Constants = /* @__PURE__ */ function(Constants) {
4812
4887
  /**
4813
- * Key for the app's version. The placeholder `v0.8.6` is
4888
+ * Key for the app's version. The placeholder `v0.8.7-rc1` is
4814
4889
  * swapped in by `@rollup/plugin-replace` during `npm run build:data-provider`
4815
4890
  * using the value of the root `package.json`'s `version` field. Consumers
4816
4891
  * always import this via the built dist bundle (see `main` field in
@@ -4818,9 +4893,9 @@ let Constants = /* @__PURE__ */ function(Constants) {
4818
4893
  * substituted value. Only tests that import the TypeScript source directly
4819
4894
  * would observe the raw placeholder.
4820
4895
  */
4821
- Constants["VERSION"] = "v0.8.6";
4896
+ Constants["VERSION"] = "v0.8.7-rc1";
4822
4897
  /** Key for the Custom Config's version (librechat.yaml). */
4823
- Constants["CONFIG_VERSION"] = "1.3.12";
4898
+ Constants["CONFIG_VERSION"] = "1.3.13";
4824
4899
  /** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */
4825
4900
  Constants["NO_PARENT"] = "00000000-0000-0000-0000-000000000000";
4826
4901
  /** Standard value to use whatever the submission prelim. `responseMessageId` is */
@@ -5247,6 +5322,8 @@ let QueryKeys = /* @__PURE__ */ function(QueryKeys) {
5247
5322
  QueryKeys["models"] = "models";
5248
5323
  QueryKeys["balance"] = "balance";
5249
5324
  QueryKeys["endpoints"] = "endpoints";
5325
+ QueryKeys["tokenConfig"] = "tokenConfig";
5326
+ QueryKeys["contextProjection"] = "contextProjection";
5250
5327
  QueryKeys["presets"] = "presets";
5251
5328
  QueryKeys["searchResults"] = "searchResults";
5252
5329
  QueryKeys["tokenCount"] = "tokenCount";
@@ -5345,6 +5422,7 @@ let MutationKeys = /* @__PURE__ */ function(MutationKeys) {
5345
5422
  MutationKeys["updateSkillNode"] = "updateSkillNode";
5346
5423
  MutationKeys["deleteSkillNode"] = "deleteSkillNode";
5347
5424
  MutationKeys["updateSkillNodeContent"] = "updateSkillNodeContent";
5425
+ MutationKeys["convoPin"] = "convoPin";
5348
5426
  return MutationKeys;
5349
5427
  }({});
5350
5428
  //#endregion
@@ -5627,6 +5705,7 @@ var data_service_exports = /* @__PURE__ */ __exportAll({
5627
5705
  getBanner: () => getBanner,
5628
5706
  getCategories: () => getCategories,
5629
5707
  getCodeOutputDownload: () => getCodeOutputDownload,
5708
+ getContextProjection: () => getContextProjection,
5630
5709
  getConversationById: () => getConversationById,
5631
5710
  getConversationTags: () => getConversationTags,
5632
5711
  getConversations: () => getConversations,
@@ -5672,6 +5751,7 @@ var data_service_exports = /* @__PURE__ */ __exportAll({
5672
5751
  getSkillStates: () => getSkillStates,
5673
5752
  getSkillTree: () => getSkillTree,
5674
5753
  getStartupConfig: () => getStartupConfig,
5754
+ getTokenConfig: () => getTokenConfig,
5675
5755
  getToolCalls: () => getToolCalls,
5676
5756
  getUser: () => getUser,
5677
5757
  getUserBalance: () => getUserBalance,
@@ -5693,6 +5773,7 @@ var data_service_exports = /* @__PURE__ */ __exportAll({
5693
5773
  login: () => login,
5694
5774
  logout: () => logout,
5695
5775
  makePromptProduction: () => makePromptProduction,
5776
+ pinConversation: () => pinConversation,
5696
5777
  rebuildConversationTags: () => rebuildConversationTags,
5697
5778
  recordPromptGroupUsage: () => recordPromptGroupUsage,
5698
5779
  regenerateBackupCodes: () => regenerateBackupCodes,
@@ -5903,6 +5984,12 @@ const getStartupConfig = (options) => {
5903
5984
  const getAIEndpoints = () => {
5904
5985
  return request_default.get(aiEndpoints());
5905
5986
  };
5987
+ const getTokenConfig = () => {
5988
+ return request_default.get(tokenConfig());
5989
+ };
5990
+ const getContextProjection = (payload) => {
5991
+ return request_default.post(contextProjection(), payload);
5992
+ };
5906
5993
  const getModels = async () => {
5907
5994
  return request_default.get(models());
5908
5995
  };
@@ -6201,6 +6288,9 @@ function assignConversationToProject(payload) {
6201
6288
  const { conversationId, projectId } = payload;
6202
6289
  return request_default.put(projectConversation(conversationId), { projectId });
6203
6290
  }
6291
+ function pinConversation(payload) {
6292
+ return request_default.post(pinConversation$1(), { arg: payload });
6293
+ }
6204
6294
  function genTitle(payload) {
6205
6295
  return request_default.get(genTitle$1(payload.conversationId));
6206
6296
  }
@@ -6514,6 +6604,6 @@ const getActiveJobs = () => {
6514
6604
  return request_default.get(activeJobs());
6515
6605
  };
6516
6606
  //#endregion
6517
- export { permissionEntrySchema as $, getTagsForRating as $a, getSettingsKeys as $i, MCP_USER_INPUT_FIELDS as $n, tModelSpecSchema as $r, balanceSchema as $t, updateResourcePermissions as A, tQueryParamsSchema as Aa, assistantSchema as Ai, modularEndpoints as An, fileConfigSchema as Ar, SKILL_SYNC_MAX_INTERVAL_MINUTES as At, MutationKeys as B, actionDelimiter as Ba, eAnthropicEffortSchema as Bi, summarizationTriggerSchema as Bn, megabyte as Br, TTSProviders as Bt, resetPassword as C, tConvoUpdateSchema as Ca, Verbosity as Ci, initialModelsConfig as Cn, defaultSTTMimeTypes as Cr, MAX_SUBAGENT_RUN_CONFIGS as Ct, updateFeedback as D, tPluginAuthConfigSchema as Da, anthropicBaseSchema as Di, messageFilterPiiSchema as Dn, excelFileTypes as Dr, RetentionMode as Dt, searchPrincipals as E, tModelSpecPresetSchema as Ea, agentsSettings as Ei, memorySchema as En, endpointFileConfigSchema as Er, RerankerTypes as Et, request_default as F, FilePurpose as Fa, compactAssistantSchema as Fi, resolveEndpointType as Fn, imageTypeMapping as Fr, SearchCategories as Ft, PrincipalType as G, isActionTool as Ga, eReasoningResponseKeySchema as Gi, validateVisionModel as Gn, supportedMimeTypes as Gr, allowedAddressesSchema as Gt, AccessRoleIds as H, defaultOrderQuery as Ha, eModelEndpointSchema as Hi, transactionsSchema as Hn, mimeTypeAliases as Hr, ViolationTypes as Ht, getTokenHeader as I, MessageContentTypes as Ia, compactGoogleSchema as Ii, skillSyncConfigSchema as In, inferMimeType as Ir, SearchProviders as It, accessRoleToPermBits as J, FEEDBACK_TAGS as Ja, eThinkingLevelSchema as Ji, visionModels as Jn, videoMimeTypes as Jr, assistantEndpointSchema as Jt, ResourceType as K, FEEDBACK_RATINGS as Ka, eReasoningSummarySchema as Ki, vertexAISchema as Kn, supportsFiles as Kr, alternateName as Kt, setAcceptLanguageHeader as L, RunStatus as La, defaultAgentFormValues as Li, skillSyncGitHubSourceSchema as Ln, isBedrockDocumentType as Lr, SettingsTabValues as Lt, updateUserKey as M, AnnotationTypes as Ma, coerceNumber as Mi, paramDefinitionSchema as Mn, getEndpointFileConfig as Mr, STTProviders as Mt, updateUserPlugins as N, AssistantStreamEvents as Na, compactAgentsBaseSchema as Ni, providerEndpointMap as Nn, imageExtRegex as Nr, SafeSearchTypes as Nt, updateMessage as O, tPluginSchema as Oa, anthropicSchema as Oi, messageFilterSchema as On, excelMimeTypes as Or, SKILL_SYNC_DEFAULT_DISCOVERY_DEPTH as Ot, userKeyQuery as P, EToolResources as Pa, compactAgentsSchema as Pi, rateLimitSchema as Pn, imageMimeTypes as Pr, ScraperProviders as Pt, permBitsToAccessLevel as Q, getTagByKey as Qa, getModelKey as Qi, MCPServersSchema as Qn, specsConfigSchema as Qr, azureGroupSchema as Qt, setTokenHeader as R, StepStatus as Ra, defaultAssistantFormValues as Ri, specialVariables as Rn, isPermissiveMimeConfig as Rr, SettingsViews as Rt, requestPasswordReset as S, tConversationTagSchema as Sa, ThinkingLevel as Si, imageGenTools as Sn, defaultOCRMimeTypes as Sr, MAX_SUBAGENT_GRAPH_NODES as St, revokeUserKey as T, tMessageSchema as Ta, agentsSchema as Ti, isRemoteOidcUrlAllowed as Tn, documentParserMimeTypes as Tr, RateLimitPrefix as Tt, PermissionBits as U, hostImageIdSuffix as Ua, eReasoningEffortSchema as Ui, turnstileOptionsSchema as Un, retrievalMimeTypes as Ur, VisionModes as Ut, QueryKeys as V, actionDomainSeparator as Va, eImageDetailSchema as Vi, supportsBalanceCheck as Vn, mergeFileConfig as Vr, Time as Vt, PrincipalModel as W, hostImageNamePrefix as Wa, eReasoningParameterFormatSchema as Wi, turnstileSchema as Wn, retrievalMimeTypesList as Wr, agentsEndpointSchema as Wt, getResourcePermissionsResponseSchema as X, feedbackSchema as Xa, endpointSettings as Xi, MCPOptionsSchema as Xn, getRefillEligibilityDate as Xr, azureEndpointSchema as Xt, effectivePermissionsResponseSchema as Y, feedbackRatingSchema as Ya, eVerbositySchema as Yi, webSearchSchema as Yn, REFILL_INTERVAL_UNITS as Yr, azureBaseSchema as Yt, hasPermissions as Z, feedbackTagKeySchema as Za, extendedModelEndpointSchema as Zi, MCPServerUserInputSchema as Zn, modelSpecSubagentsSchema as Zr, azureGroupConfigsSchema as Zt, getResourcePermissions as _, openRouterSchema as _a, ReasoningEffort as _i, fileStrategiesSchema as _n, bedrockDocumentFormats as _r, ImageDetailCost as _t, data_service_exports as a, imageDetailValue as aa, generateGoogleSchema as ai, configSchema as an, normalizeEndpointName as ao, AuthorizationTypeEnum as ar, AuthKeys as at, register as b, tBannerSchema as ba, ReasoningSummary as bi, getEndpointField as bn, codeTypeMapping as br, LocalStorageKeys as bt, getAccessRoles as c, isDocumentSupportedProvider as ca, AnthropicEffort as ci, defaultAssistantsVersion as cn, FileSources as cr, Capabilities as ct, getAvailablePlugins as d, isOpenAILikeProvider as da, BedrockReasoningConfig as di, defaultRetrievalModels as dn, buildLoginRedirectUrl as dr, DEFAULT_MEMORY_MAX_INPUT_TOKENS as dt, googleBaseSchema as ea, MAX_SUBAGENTS as ei, baseEndpointSchema as en, toMinimalFeedback as eo, SSEOptionsSchema as er, principalSchema as et, getConversationById as f, isParamEndpoint as fa, EModelEndpoint as fi, defaultSocialLogins as fn, loginPage as fr, EImageOutputType as ft, getModels as g, openAISettings as ga, Providers as gi, fileStorageSchema as gn, bedrockDocumentExtensions as gr, ForkOptions as gt, getMCPServerConnectionStatus as h, openAISchema as ha, MYTHOS_CLASS_FAMILIES as hi, fileSourceSchema as hn, audioMimeTypes as hr, FetchTokenConfig as ht, createPreset as i, imageDetailNumeric as ia, generateDynamicSchema as ii, cloudfrontConfigSchema as in, isSensitiveEnvVar as io, AuthTypeEnum as ir, AgentCapabilities as it, updateTokenCount as j, tSharedLinkSchema as ja, authTypeSchema as ji, ocrSchema as jn, fullMimeTypesList as jr, SKILL_SYNC_MIN_INTERVAL_MINUTES as jt, updateMessageContent as k, tPresetSchema as ka, anthropicSettings as ki, modelConfigSchema as kn, fileConfig as kr, SKILL_SYNC_MAX_DISCOVERY_DEPTH as kt, getAgentApiKeys as l, isImageVisionTool as la, AuthType as li, defaultEndpoints as ln, checkOpenAIStorage as lr, CohereConstants as lt, getEffectivePermissions as m, openAIBaseSchema as ma, ImageVisionTool as mi, excludedKeys as mn, applicationMimeTypes as mr, ErrorTypes as mt, clearAllConversations as n, googleSchema as na, OptionTypes as ni, bedrockGuardrailConfigSchema as nn, extractEnvVariable as no, StreamableHTTPOptionsSchema as nr, updateResourcePermissionsRequestSchema as nt, deleteAgentApiKey as o, isAgentsEndpoint as oa, generateOpenAISchema as oi, contextPruningSchema as on, TokenExchangeMethodEnum as or, BASE_ONLY_CONFIG_SECTIONS as ot, getCustomConfigSpeech as p, isUUID as pa, ImageDetail as pi, endpointSchema as pn, registerPage as pr, EndpointURLs as pt, accessRoleSchema as q, FEEDBACK_REASON_KEYS as qa, eThinkingDisplaySchema as qi, vertexModelConfigSchema as qn, textMimeTypes as qr, anthropicEndpointSchema as qt, createAgentApiKey as r, googleSettings as ra, SettingTypes as ri, bedrockModels as rn, extractVariableName as ro, WebSocketOptionsSchema as rr, updateResourcePermissionsResponseSchema as rt, deletePreset as s, isAssistantsEndpoint as sa, validateSettingDefinitions as si, defaultAgentCapabilities as sn, FileContext as sr, CacheKeys as st, cancelMCPOAuth as t, googleGenConfigSchema as ta, ComponentTypes as ti, bedrockEndpointSchema as tn, envVarRegex as to, StdioOptionsSchema as tr, resourcePermissionsResponseSchema as tt, getAllEffectivePermissions as u, isMythosClassModel as ua, BedrockProviders as ui, defaultModels as un, apiBaseUrl as ur, Constants as ut, getSharedLink as v, paramEndpoints as va, ReasoningParameterFormat as vi, getConfigDefaults as vn, codeInterpreterMimeTypes as vr, InfiniteCollections as vt, revokeAllUserKeys as w, tExampleSchema as wa, agentsBaseSchema as wi, interfaceSchema as wn, defaultTextMimeTypes as wr, OCRStrategy as wt, reinitializeMCPServer as x, tConversationSchema as xa, ThinkingDisplay as xi, getSchemaDefaults as xn, convertStringsToRegex as xr, MAX_SUBAGENT_DEPTH as xt, getSharedMessages as y, removeNullishValues as ya, ReasoningResponseKey as yi, getDefaultParamsEndpoint as yn, codeInterpreterMimeTypesList as yr, KnownEndpoints as yt, DynamicQueryKeys as z, Tools as za, documentSupportedProviders as zi, summarizationConfigSchema as zn, mbToBytes as zr, SystemCategories as zt };
6607
+ export { permissionEntrySchema as $, feedbackTagKeySchema as $a, getModelKey as $i, MCP_USER_INPUT_FIELDS as $n, tModelSpecSchema as $r, balanceSchema as $t, updateResourcePermissions as A, tPluginSchema as Aa, assistantSchema as Ai, modularEndpoints as An, fileConfigSchema as Ar, SKILL_SYNC_MAX_INTERVAL_MINUTES as At, MutationKeys as B, StepStatus as Ba, documentSupportedProviders as Bi, summarizationTriggerSchema as Bn, megabyte as Br, TTSProviders as Bt, resetPassword as C, tConversationSchema as Ca, Verbosity as Ci, initialModelsConfig as Cn, defaultSTTMimeTypes as Cr, MAX_SUBAGENT_RUN_CONFIGS as Ct, updateFeedback as D, tMessageSchema as Da, anthropicBaseSchema as Di, messageFilterPiiSchema as Dn, excelFileTypes as Dr, RetentionMode as Dt, searchPrincipals as E, tExampleSchema as Ea, agentsSettings as Ei, memorySchema as En, endpointFileConfigSchema as Er, RerankerTypes as Et, request_default as F, AssistantStreamEvents as Fa, compactAgentsSchema as Fi, resolveEndpointType as Fn, imageTypeMapping as Fr, SearchCategories as Ft, PrincipalType as G, hostImageIdSuffix as Ga, eReasoningParameterFormatSchema as Gi, validateVisionModel as Gn, supportedMimeTypes as Gr, allowedAddressesSchema as Gt, AccessRoleIds as H, actionDelimiter as Ha, eImageDetailSchema as Hi, transactionsSchema as Hn, mimeTypeAliases as Hr, ViolationTypes as Ht, getTokenHeader as I, EToolResources as Ia, compactAssistantSchema as Ii, skillSyncConfigSchema as In, inferMimeType as Ir, SearchProviders as It, accessRoleToPermBits as J, FEEDBACK_RATINGS as Ja, eThinkingDisplaySchema as Ji, visionModels as Jn, videoMimeTypes as Jr, assistantEndpointSchema as Jt, ResourceType as K, hostImageNamePrefix as Ka, eReasoningResponseKeySchema as Ki, vertexAISchema as Kn, supportsFiles as Kr, alternateName as Kt, setAcceptLanguageHeader as L, FilePurpose as La, compactGoogleSchema as Li, skillSyncGitHubSourceSchema as Ln, isBedrockDocumentType as Lr, SettingsTabValues as Lt, updateUserKey as M, tQueryParamsSchema as Ma, cacheSubsetProviders as Mi, paramDefinitionSchema as Mn, getEndpointFileConfig as Mr, STTProviders as Mt, updateUserPlugins as N, tSharedLinkSchema as Na, coerceNumber as Ni, providerEndpointMap as Nn, imageExtRegex as Nr, SafeSearchTypes as Nt, updateMessage as O, tModelSpecPresetSchema as Oa, anthropicSchema as Oi, messageFilterSchema as On, excelMimeTypes as Or, SKILL_SYNC_DEFAULT_DISCOVERY_DEPTH as Ot, userKeyQuery as P, AnnotationTypes as Pa, compactAgentsBaseSchema as Pi, rateLimitSchema as Pn, imageMimeTypes as Pr, ScraperProviders as Pt, permBitsToAccessLevel as Q, feedbackSchema as Qa, extendedModelEndpointSchema as Qi, MCPServersSchema as Qn, specsConfigSchema as Qr, azureGroupSchema as Qt, setTokenHeader as R, MessageContentTypes as Ra, defaultAgentFormValues as Ri, specialVariables as Rn, isPermissiveMimeConfig as Rr, SettingsViews as Rt, requestPasswordReset as S, tBannerSchema as Sa, ThinkingLevel as Si, imageGenTools as Sn, defaultOCRMimeTypes as Sr, MAX_SUBAGENT_GRAPH_NODES as St, revokeUserKey as T, tConvoUpdateSchema as Ta, agentsSchema as Ti, isRemoteOidcUrlAllowed as Tn, documentParserMimeTypes as Tr, RateLimitPrefix as Tt, PermissionBits as U, actionDomainSeparator as Ua, eModelEndpointSchema as Ui, turnstileOptionsSchema as Un, retrievalMimeTypes as Ur, VisionModes as Ut, QueryKeys as V, Tools as Va, eAnthropicEffortSchema as Vi, supportsBalanceCheck as Vn, mergeFileConfig as Vr, Time as Vt, PrincipalModel as W, defaultOrderQuery as Wa, eReasoningEffortSchema as Wi, turnstileSchema as Wn, retrievalMimeTypesList as Wr, agentsEndpointSchema as Wt, getResourcePermissionsResponseSchema as X, FEEDBACK_TAGS as Xa, eVerbositySchema as Xi, MCPOptionsSchema as Xn, getRefillEligibilityDate as Xr, azureEndpointSchema as Xt, effectivePermissionsResponseSchema as Y, FEEDBACK_REASON_KEYS as Ya, eThinkingLevelSchema as Yi, webSearchSchema as Yn, REFILL_INTERVAL_UNITS as Yr, azureBaseSchema as Yt, hasPermissions as Z, feedbackRatingSchema as Za, endpointSettings as Zi, MCPServerUserInputSchema as Zn, modelSpecSubagentsSchema as Zr, azureGroupConfigsSchema as Zt, getResourcePermissions as _, openAISchema as _a, ReasoningEffort as _i, fileStrategiesSchema as _n, bedrockDocumentFormats as _r, ImageDetailCost as _t, data_service_exports as a, imageDetailNumeric as aa, generateGoogleSchema as ai, configSchema as an, extractVariableName as ao, AuthorizationTypeEnum as ar, AuthKeys as at, register as b, paramEndpoints as ba, ReasoningSummary as bi, getEndpointField as bn, codeTypeMapping as br, LocalStorageKeys as bt, getAccessRoles as c, isAgentsEndpoint as ca, AnthropicEffort as ci, defaultAssistantsVersion as cn, FileSources as cr, Capabilities as ct, getAvailablePlugins as d, isImageVisionTool as da, BedrockReasoningConfig as di, defaultRetrievalModels as dn, buildLoginRedirectUrl as dr, DEFAULT_MEMORY_MAX_INPUT_TOKENS as dt, getSettingsKeys as ea, MAX_SUBAGENTS as ei, baseEndpointSchema as en, getTagByKey as eo, SSEOptionsSchema as er, principalSchema as et, getConversationById as f, isMythosClassModel as fa, EModelEndpoint as fi, defaultSocialLogins as fn, loginPage as fr, EImageOutputType as ft, getModels as g, openAIBaseSchema as ga, Providers as gi, fileStorageSchema as gn, bedrockDocumentExtensions as gr, ForkOptions as gt, getMCPServerConnectionStatus as h, isUUID as ha, MYTHOS_CLASS_FAMILIES as hi, fileSourceSchema as hn, audioMimeTypes as hr, FetchTokenConfig as ht, createPreset as i, googleSettings as ia, generateDynamicSchema as ii, cloudfrontConfigSchema as in, extractEnvVariable as io, AuthTypeEnum as ir, AgentCapabilities as it, updateTokenCount as j, tPresetSchema as ja, authTypeSchema as ji, ocrSchema as jn, fullMimeTypesList as jr, SKILL_SYNC_MIN_INTERVAL_MINUTES as jt, updateMessageContent as k, tPluginAuthConfigSchema as ka, anthropicSettings as ki, modelConfigSchema as kn, fileConfig as kr, SKILL_SYNC_MAX_DISCOVERY_DEPTH as kt, getAgentApiKeys as l, isAssistantsEndpoint as la, AuthType as li, defaultEndpoints as ln, checkOpenAIStorage as lr, CohereConstants as lt, getEffectivePermissions as m, isParamEndpoint as ma, ImageVisionTool as mi, excludedKeys as mn, applicationMimeTypes as mr, ErrorTypes as mt, clearAllConversations as n, googleGenConfigSchema as na, OptionTypes as ni, bedrockGuardrailConfigSchema as nn, toMinimalFeedback as no, StreamableHTTPOptionsSchema as nr, updateResourcePermissionsRequestSchema as nt, deleteAgentApiKey as o, imageDetailValue as oa, generateOpenAISchema as oi, contextPruningSchema as on, isSensitiveEnvVar as oo, TokenExchangeMethodEnum as or, BASE_ONLY_CONFIG_SECTIONS as ot, getCustomConfigSpeech as p, isOpenAILikeProvider as pa, ImageDetail as pi, endpointSchema as pn, registerPage as pr, EndpointURLs as pt, accessRoleSchema as q, isActionTool as qa, eReasoningSummarySchema as qi, vertexModelConfigSchema as qn, textMimeTypes as qr, anthropicEndpointSchema as qt, createAgentApiKey as r, googleSchema as ra, SettingTypes as ri, bedrockModels as rn, envVarRegex as ro, WebSocketOptionsSchema as rr, updateResourcePermissionsResponseSchema as rt, deletePreset as s, inputTokensIncludesCache as sa, validateSettingDefinitions as si, defaultAgentCapabilities as sn, normalizeEndpointName as so, FileContext as sr, CacheKeys as st, cancelMCPOAuth as t, googleBaseSchema as ta, ComponentTypes as ti, bedrockEndpointSchema as tn, getTagsForRating as to, StdioOptionsSchema as tr, resourcePermissionsResponseSchema as tt, getAllEffectivePermissions as u, isDocumentSupportedProvider as ua, BedrockProviders as ui, defaultModels as un, apiBaseUrl as ur, Constants as ut, getSharedLink as v, openAISettings as va, ReasoningParameterFormat as vi, getConfigDefaults as vn, codeInterpreterMimeTypes as vr, InfiniteCollections as vt, revokeAllUserKeys as w, tConversationTagSchema as wa, agentsBaseSchema as wi, interfaceSchema as wn, defaultTextMimeTypes as wr, OCRStrategy as wt, reinitializeMCPServer as x, removeNullishValues as xa, ThinkingDisplay as xi, getSchemaDefaults as xn, convertStringsToRegex as xr, MAX_SUBAGENT_DEPTH as xt, getSharedMessages as y, openRouterSchema as ya, ReasoningResponseKey as yi, getDefaultParamsEndpoint as yn, codeInterpreterMimeTypesList as yr, KnownEndpoints as yt, DynamicQueryKeys as z, RunStatus as za, defaultAssistantFormValues as zi, summarizationConfigSchema as zn, mbToBytes as zr, SystemCategories as zt };
6518
6608
 
6519
- //# sourceMappingURL=data-service-BFGYAHRx.mjs.map
6609
+ //# sourceMappingURL=data-service-D7mtXwG5.mjs.map