librechat-data-provider 0.8.503 → 0.8.505

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 (49) hide show
  1. package/dist/data-service-CG5e1FOi.js +8593 -0
  2. package/dist/data-service-CG5e1FOi.js.map +1 -0
  3. package/dist/data-service-CwM4Cew0.mjs +6582 -0
  4. package/dist/data-service-CwM4Cew0.mjs.map +1 -0
  5. package/dist/index.js +6601 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +6167 -0
  8. package/dist/index.mjs.map +1 -0
  9. package/dist/react-query/index.js +365 -0
  10. package/dist/react-query/index.js.map +1 -0
  11. package/dist/react-query/index.mjs +330 -0
  12. package/dist/react-query/index.mjs.map +1 -0
  13. package/dist/types/accessPermissions.d.ts +13 -10
  14. package/dist/types/actions.d.ts +2 -2
  15. package/dist/types/api-endpoints.d.ts +18 -9
  16. package/dist/types/bedrock.d.ts +252 -212
  17. package/dist/types/config.d.ts +4732 -2632
  18. package/dist/types/data-service.d.ts +24 -6
  19. package/dist/types/file-config.d.ts +12 -12
  20. package/dist/types/generate.d.ts +64 -53
  21. package/dist/types/keys.d.ts +8 -0
  22. package/dist/types/limits.d.ts +2 -0
  23. package/dist/types/mcp.d.ts +489 -210
  24. package/dist/types/models.d.ts +335 -206
  25. package/dist/types/parsers.d.ts +8 -8
  26. package/dist/types/permissions.d.ts +65 -9
  27. package/dist/types/react-query/react-query-service.d.ts +3 -33
  28. package/dist/types/request.d.ts +1 -1
  29. package/dist/types/roles.d.ts +52 -0
  30. package/dist/types/schemas.d.ts +400 -161
  31. package/dist/types/types/agents.d.ts +20 -1
  32. package/dist/types/types/files.d.ts +1 -1
  33. package/dist/types/types/queries.d.ts +16 -3
  34. package/dist/types/types/runs.d.ts +81 -0
  35. package/dist/types/types/skills.d.ts +72 -9
  36. package/dist/types/types.d.ts +50 -3
  37. package/package.json +11 -13
  38. package/dist/index.es.js +0 -2
  39. package/dist/index.es.js.map +0 -1
  40. package/dist/react-query/index.es.js +0 -2
  41. package/dist/react-query/index.es.js.map +0 -1
  42. package/dist/types/balance.spec.d.ts +0 -1
  43. package/dist/types/cloudfront-config.spec.d.ts +0 -1
  44. package/dist/types/codeEnvRef.spec.d.ts +0 -1
  45. package/dist/types/config.spec.d.ts +0 -1
  46. package/dist/types/file-config.spec.d.ts +0 -1
  47. package/dist/types/parameterSettings.spec.d.ts +0 -1
  48. package/dist/types/roles.spec.d.ts +0 -1
  49. package/dist/types/schemas.spec.d.ts +0 -1
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { Tools } from './types/assistants';
3
2
  import type { TMessageContentParts, FunctionTool, FunctionToolCall } from './types/assistants';
4
- import { TFeedback } from './feedback';
5
3
  import type { SearchResultData } from './types/web';
6
4
  import type { TFile } from './types/files';
5
+ import { TFeedback } from './feedback';
6
+ import { Tools } from './types/assistants';
7
7
  export declare const isUUID: z.ZodString;
8
8
  export declare enum AuthType {
9
9
  OVERRIDE_AUTH = "override_auth",
@@ -42,6 +42,16 @@ export declare enum Providers {
42
42
  */
43
43
  export declare const documentSupportedProviders: Set<string>;
44
44
  export declare const isOpenAILikeProvider: (provider?: string | null) => boolean;
45
+ /**
46
+ * Providers whose `usage_metadata.input_tokens` ALREADY INCLUDES cached tokens
47
+ * (`input_token_details.cache_*` is a subset, not an additional charge):
48
+ * Google/Vertex (`promptTokenCount`), OpenAI/Azure (`prompt_tokens`), and the
49
+ * OpenAI-compatible family. Anthropic/Bedrock keep cache values separate and
50
+ * additive. Single source of truth shared by the backend billing path
51
+ * (`packages/api/src/agents/usage.ts`) and the client usage normalization.
52
+ */
53
+ export declare const cacheSubsetProviders: Set<string>;
54
+ export declare const inputTokensIncludesCache: (provider?: string | null) => boolean;
45
55
  export declare const isDocumentSupportedProvider: (provider?: string | null) => boolean;
46
56
  export declare const paramEndpoints: Set<string>;
47
57
  export declare enum BedrockProviders {
@@ -79,6 +89,15 @@ export declare enum ReasoningEffort {
79
89
  high = "high",
80
90
  xhigh = "xhigh"
81
91
  }
92
+ export declare enum ReasoningParameterFormat {
93
+ disabled = "disabled",
94
+ reasoningEffort = "reasoning_effort",
95
+ reasoningObject = "reasoning_object"
96
+ }
97
+ export declare enum ReasoningResponseKey {
98
+ reasoning = "reasoning",
99
+ reasoningContent = "reasoning_content"
100
+ }
82
101
  export declare enum AnthropicEffort {
83
102
  unset = "",
84
103
  low = "low",
@@ -143,6 +162,8 @@ export declare const imageDetailValue: {
143
162
  };
144
163
  export declare const eImageDetailSchema: z.ZodNativeEnum<typeof ImageDetail>;
145
164
  export declare const eReasoningEffortSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
165
+ export declare const eReasoningParameterFormatSchema: z.ZodNativeEnum<typeof ReasoningParameterFormat>;
166
+ export declare const eReasoningResponseKeySchema: z.ZodNativeEnum<typeof ReasoningResponseKey>;
146
167
  export declare const eAnthropicEffortSchema: z.ZodNativeEnum<typeof AnthropicEffort>;
147
168
  export declare const eThinkingDisplaySchema: z.ZodNativeEnum<typeof ThinkingDisplay>;
148
169
  export declare const eReasoningSummarySchema: z.ZodNativeEnum<typeof ReasoningSummary>;
@@ -192,9 +213,9 @@ export declare const defaultAgentFormValues: {
192
213
  skills_enabled: boolean | undefined;
193
214
  /** `undefined` = feature disabled by default (no subagent tool injected). */
194
215
  subagents: {
195
- enabled?: boolean | undefined;
196
- allowSelf?: boolean | undefined;
197
- agent_ids?: string[] | undefined;
216
+ enabled?: boolean;
217
+ allowSelf?: boolean;
218
+ agent_ids?: string[];
198
219
  } | undefined;
199
220
  };
200
221
  export declare const ImageVisionTool: FunctionTool;
@@ -289,6 +310,21 @@ export declare const googleSettings: {
289
310
  default: ThinkingLevel.unset;
290
311
  };
291
312
  };
313
+ /**
314
+ * Claude "Mythos-class" model families — new top-level classes (peers of
315
+ * `opus`/`sonnet`/`haiku`) that ship with the post-Opus-4.7 modern profile:
316
+ * adaptive thinking always on, raw thinking omitted by default (summarized
317
+ * opt-in), sampling parameters rejected, and a 1M context window. The tier
318
+ * word is the class name itself, so the `opus`/`sonnet` version parsers don't
319
+ * cover them.
320
+ *
321
+ * Single source of truth: add a future sibling class name here and every
322
+ * Mythos-class gate (adaptive thinking, sampling omission, prompt caching, 1M
323
+ * context, 128K output) picks it up.
324
+ */
325
+ export declare const MYTHOS_CLASS_FAMILIES: readonly ["fable", "mythos"];
326
+ /** Whether the model is a Claude Mythos-class model (e.g. `claude-fable-5`). */
327
+ export declare function isMythosClassModel(model: string): boolean;
292
328
  export declare const anthropicSettings: {
293
329
  model: {
294
330
  default: "claude-3-5-sonnet-latest";
@@ -647,16 +683,20 @@ export declare const tPluginAuthConfigSchema: z.ZodObject<{
647
683
  label: z.ZodString;
648
684
  description: z.ZodString;
649
685
  optional: z.ZodOptional<z.ZodBoolean>;
686
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
687
+ sensitive: z.ZodOptional<z.ZodBoolean>;
650
688
  }, "strip", z.ZodTypeAny, {
651
689
  description: string;
652
690
  authField: string;
653
691
  label: string;
654
692
  optional?: boolean | undefined;
693
+ sensitive?: boolean | undefined;
655
694
  }, {
656
695
  description: string;
657
696
  authField: string;
658
697
  label: string;
659
698
  optional?: boolean | undefined;
699
+ sensitive?: boolean | undefined;
660
700
  }>;
661
701
  export type TPluginAuthConfig = z.infer<typeof tPluginAuthConfigSchema>;
662
702
  export declare const tPluginSchema: z.ZodObject<{
@@ -669,16 +709,20 @@ export declare const tPluginSchema: z.ZodObject<{
669
709
  label: z.ZodString;
670
710
  description: z.ZodString;
671
711
  optional: z.ZodOptional<z.ZodBoolean>;
712
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
713
+ sensitive: z.ZodOptional<z.ZodBoolean>;
672
714
  }, "strip", z.ZodTypeAny, {
673
715
  description: string;
674
716
  authField: string;
675
717
  label: string;
676
718
  optional?: boolean | undefined;
719
+ sensitive?: boolean | undefined;
677
720
  }, {
678
721
  description: string;
679
722
  authField: string;
680
723
  label: string;
681
724
  optional?: boolean | undefined;
725
+ sensitive?: boolean | undefined;
682
726
  }>, "many">>;
683
727
  authenticated: z.ZodOptional<z.ZodBoolean>;
684
728
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -694,6 +738,7 @@ export declare const tPluginSchema: z.ZodObject<{
694
738
  authField: string;
695
739
  label: string;
696
740
  optional?: boolean | undefined;
741
+ sensitive?: boolean | undefined;
697
742
  }[] | undefined;
698
743
  authenticated?: boolean | undefined;
699
744
  chatMenu?: boolean | undefined;
@@ -709,6 +754,7 @@ export declare const tPluginSchema: z.ZodObject<{
709
754
  authField: string;
710
755
  label: string;
711
756
  optional?: boolean | undefined;
757
+ sensitive?: boolean | undefined;
712
758
  }[] | undefined;
713
759
  authenticated?: boolean | undefined;
714
760
  chatMenu?: boolean | undefined;
@@ -793,6 +839,8 @@ export declare const tMessageSchema: z.ZodObject<{
793
839
  }>>;
794
840
  /** metadata */
795
841
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
842
+ /** Output tokens for assistant messages, calibrated prompt-side estimate for user messages */
843
+ tokenCount: z.ZodOptional<z.ZodNumber>;
796
844
  contextMeta: z.ZodOptional<z.ZodObject<{
797
845
  calibrationRatio: z.ZodOptional<z.ZodNumber>;
798
846
  encoding: z.ZodOptional<z.ZodString>;
@@ -821,38 +869,39 @@ export declare const tMessageSchema: z.ZodObject<{
821
869
  */
822
870
  alwaysAppliedSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
823
871
  }, "strip", z.ZodTypeAny, {
824
- messageId: string;
825
872
  conversationId: string | null;
826
- parentMessageId: string | null;
827
873
  title: string | null;
828
- text: string;
829
- isCreatedByUser: boolean;
874
+ parentMessageId: string | null;
830
875
  createdAt: string;
831
876
  updatedAt: string;
877
+ text: string;
878
+ messageId: string;
879
+ isCreatedByUser: boolean;
880
+ model?: string | null | undefined;
832
881
  endpoint?: string | undefined;
882
+ iconURL?: string | null | undefined;
883
+ expiredAt?: string | null | undefined;
884
+ isTemporary?: boolean | undefined;
885
+ error?: boolean | undefined;
833
886
  clientId?: string | null | undefined;
834
887
  responseMessageId?: string | null | undefined;
835
888
  overrideParentMessageId?: string | null | undefined;
836
889
  bg?: string | null | undefined;
837
- model?: string | null | undefined;
838
890
  sender?: string | undefined;
839
891
  generation?: string | null | undefined;
840
- isTemporary?: boolean | undefined;
841
- expiredAt?: string | null | undefined;
842
- error?: boolean | undefined;
843
892
  clientTimestamp?: string | undefined;
844
893
  current?: boolean | undefined;
845
894
  unfinished?: boolean | undefined;
846
895
  searchResult?: boolean | undefined;
847
896
  finish_reason?: string | undefined;
848
897
  thread_id?: string | undefined;
849
- iconURL?: string | null | undefined;
850
898
  feedback?: {
851
899
  rating: "thumbsUp" | "thumbsDown";
852
900
  tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
853
901
  text?: string | undefined;
854
902
  } | undefined;
855
903
  metadata?: Record<string, unknown> | undefined;
904
+ tokenCount?: number | undefined;
856
905
  contextMeta?: {
857
906
  calibrationRatio?: number | undefined;
858
907
  encoding?: string | undefined;
@@ -860,38 +909,39 @@ export declare const tMessageSchema: z.ZodObject<{
860
909
  manualSkills?: string[] | undefined;
861
910
  alwaysAppliedSkills?: string[] | undefined;
862
911
  }, {
863
- messageId: string;
864
912
  conversationId: string | null;
865
913
  parentMessageId: string | null;
866
914
  text: string;
915
+ messageId: string;
867
916
  isCreatedByUser: boolean;
917
+ model?: string | null | undefined;
868
918
  endpoint?: string | undefined;
919
+ title?: string | null | undefined;
920
+ createdAt?: string | undefined;
921
+ updatedAt?: string | undefined;
922
+ iconURL?: string | null | undefined;
923
+ expiredAt?: string | null | undefined;
924
+ isTemporary?: boolean | undefined;
925
+ error?: boolean | undefined;
869
926
  clientId?: string | null | undefined;
870
927
  responseMessageId?: string | null | undefined;
871
928
  overrideParentMessageId?: string | null | undefined;
872
929
  bg?: string | null | undefined;
873
- model?: string | null | undefined;
874
- title?: string | null | undefined;
875
930
  sender?: string | undefined;
876
931
  generation?: string | null | undefined;
877
- isTemporary?: boolean | undefined;
878
- expiredAt?: string | null | undefined;
879
- error?: boolean | undefined;
880
932
  clientTimestamp?: string | undefined;
881
- createdAt?: string | undefined;
882
- updatedAt?: string | undefined;
883
933
  current?: boolean | undefined;
884
934
  unfinished?: boolean | undefined;
885
935
  searchResult?: boolean | undefined;
886
936
  finish_reason?: string | undefined;
887
937
  thread_id?: string | undefined;
888
- iconURL?: string | null | undefined;
889
938
  feedback?: {
890
939
  rating: "thumbsUp" | "thumbsDown";
891
940
  tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
892
941
  text?: string | undefined;
893
942
  } | undefined;
894
943
  metadata?: Record<string, unknown> | undefined;
944
+ tokenCount?: number | undefined;
895
945
  contextMeta?: {
896
946
  calibrationRatio?: number | undefined;
897
947
  encoding?: string | undefined;
@@ -956,16 +1006,20 @@ export declare const tConversationSchema: z.ZodObject<{
956
1006
  label: z.ZodString;
957
1007
  description: z.ZodString;
958
1008
  optional: z.ZodOptional<z.ZodBoolean>;
1009
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
1010
+ sensitive: z.ZodOptional<z.ZodBoolean>;
959
1011
  }, "strip", z.ZodTypeAny, {
960
1012
  description: string;
961
1013
  authField: string;
962
1014
  label: string;
963
1015
  optional?: boolean | undefined;
1016
+ sensitive?: boolean | undefined;
964
1017
  }, {
965
1018
  description: string;
966
1019
  authField: string;
967
1020
  label: string;
968
1021
  optional?: boolean | undefined;
1022
+ sensitive?: boolean | undefined;
969
1023
  }>, "many">>;
970
1024
  authenticated: z.ZodOptional<z.ZodBoolean>;
971
1025
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -981,6 +1035,7 @@ export declare const tConversationSchema: z.ZodObject<{
981
1035
  authField: string;
982
1036
  label: string;
983
1037
  optional?: boolean | undefined;
1038
+ sensitive?: boolean | undefined;
984
1039
  }[] | undefined;
985
1040
  authenticated?: boolean | undefined;
986
1041
  chatMenu?: boolean | undefined;
@@ -996,6 +1051,7 @@ export declare const tConversationSchema: z.ZodObject<{
996
1051
  authField: string;
997
1052
  label: string;
998
1053
  optional?: boolean | undefined;
1054
+ sensitive?: boolean | undefined;
999
1055
  }[] | undefined;
1000
1056
  authenticated?: boolean | undefined;
1001
1057
  chatMenu?: boolean | undefined;
@@ -1055,6 +1111,7 @@ export declare const tConversationSchema: z.ZodObject<{
1055
1111
  };
1056
1112
  }>, "many">>;
1057
1113
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1114
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1058
1115
  createdAt: z.ZodString;
1059
1116
  updatedAt: z.ZodString;
1060
1117
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -1090,18 +1147,14 @@ export declare const tConversationSchema: z.ZodObject<{
1090
1147
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
1091
1148
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
1149
  }, "strip", z.ZodTypeAny, {
1093
- endpoint: EModelEndpoint | null;
1094
1150
  conversationId: string | null;
1151
+ endpoint: EModelEndpoint | null;
1095
1152
  title: string | null;
1096
1153
  createdAt: string;
1097
1154
  updatedAt: string;
1098
- parentMessageId?: string | undefined;
1099
- model?: string | null | undefined;
1100
- isTemporary?: boolean | undefined;
1101
- expiredAt?: string | null | undefined;
1102
- iconURL?: string | null | undefined;
1103
1155
  user?: string | undefined;
1104
- context?: string | null | undefined;
1156
+ tags?: string[] | undefined;
1157
+ model?: string | null | undefined;
1105
1158
  endpointType?: EModelEndpoint | null | undefined;
1106
1159
  isArchived?: boolean | undefined;
1107
1160
  messages?: string[] | undefined;
@@ -1115,6 +1168,7 @@ export declare const tConversationSchema: z.ZodObject<{
1115
1168
  authField: string;
1116
1169
  label: string;
1117
1170
  optional?: boolean | undefined;
1171
+ sensitive?: boolean | undefined;
1118
1172
  }[] | undefined;
1119
1173
  authenticated?: boolean | undefined;
1120
1174
  chatMenu?: boolean | undefined;
@@ -1130,6 +1184,7 @@ export declare const tConversationSchema: z.ZodObject<{
1130
1184
  top_p?: number | undefined;
1131
1185
  frequency_penalty?: number | undefined;
1132
1186
  presence_penalty?: number | undefined;
1187
+ parentMessageId?: string | undefined;
1133
1188
  maxOutputTokens?: number | null | undefined;
1134
1189
  maxContextTokens?: number | undefined;
1135
1190
  max_tokens?: number | undefined;
@@ -1140,6 +1195,7 @@ export declare const tConversationSchema: z.ZodObject<{
1140
1195
  thinkingLevel?: ThinkingLevel | undefined;
1141
1196
  stream?: boolean | undefined;
1142
1197
  artifacts?: string | undefined;
1198
+ context?: string | null | undefined;
1143
1199
  examples?: {
1144
1200
  input: {
1145
1201
  content: string;
@@ -1148,7 +1204,7 @@ export declare const tConversationSchema: z.ZodObject<{
1148
1204
  content: string;
1149
1205
  };
1150
1206
  }[] | undefined;
1151
- tags?: string[] | undefined;
1207
+ chatProjectId?: string | null | undefined;
1152
1208
  resendFiles?: boolean | undefined;
1153
1209
  file_ids?: string[] | undefined;
1154
1210
  imageDetail?: ImageDetail | undefined;
@@ -1172,24 +1228,23 @@ export declare const tConversationSchema: z.ZodObject<{
1172
1228
  stop?: string[] | undefined;
1173
1229
  greeting?: string | undefined;
1174
1230
  spec?: string | null | undefined;
1231
+ iconURL?: string | null | undefined;
1232
+ expiredAt?: string | null | undefined;
1233
+ isTemporary?: boolean | undefined;
1175
1234
  fileTokenLimit?: number | undefined;
1176
1235
  resendImages?: boolean | undefined;
1177
1236
  chatGptLabel?: string | null | undefined;
1178
1237
  }, {
1179
- endpoint: EModelEndpoint | null;
1180
1238
  conversationId: string | null;
1239
+ endpoint: EModelEndpoint | null;
1181
1240
  createdAt: string;
1182
1241
  updatedAt: string;
1183
- parentMessageId?: string | undefined;
1184
- model?: string | null | undefined;
1185
- title?: string | null | undefined;
1186
- isTemporary?: boolean | undefined;
1187
- expiredAt?: string | null | undefined;
1188
- iconURL?: string | null | undefined;
1189
1242
  user?: string | undefined;
1190
- context?: string | null | undefined;
1243
+ tags?: string[] | undefined;
1244
+ model?: string | null | undefined;
1191
1245
  endpointType?: EModelEndpoint | null | undefined;
1192
1246
  isArchived?: boolean | undefined;
1247
+ title?: string | null | undefined;
1193
1248
  messages?: string[] | undefined;
1194
1249
  tools?: string[] | {
1195
1250
  name: string;
@@ -1201,6 +1256,7 @@ export declare const tConversationSchema: z.ZodObject<{
1201
1256
  authField: string;
1202
1257
  label: string;
1203
1258
  optional?: boolean | undefined;
1259
+ sensitive?: boolean | undefined;
1204
1260
  }[] | undefined;
1205
1261
  authenticated?: boolean | undefined;
1206
1262
  chatMenu?: boolean | undefined;
@@ -1216,6 +1272,7 @@ export declare const tConversationSchema: z.ZodObject<{
1216
1272
  top_p?: number | undefined;
1217
1273
  frequency_penalty?: number | undefined;
1218
1274
  presence_penalty?: number | undefined;
1275
+ parentMessageId?: string | undefined;
1219
1276
  maxOutputTokens?: string | number | null | undefined;
1220
1277
  maxContextTokens?: string | number | undefined;
1221
1278
  max_tokens?: string | number | undefined;
@@ -1226,6 +1283,7 @@ export declare const tConversationSchema: z.ZodObject<{
1226
1283
  thinkingLevel?: ThinkingLevel | undefined;
1227
1284
  stream?: boolean | undefined;
1228
1285
  artifacts?: string | undefined;
1286
+ context?: string | null | undefined;
1229
1287
  examples?: {
1230
1288
  input: {
1231
1289
  content: string;
@@ -1234,7 +1292,7 @@ export declare const tConversationSchema: z.ZodObject<{
1234
1292
  content: string;
1235
1293
  };
1236
1294
  }[] | undefined;
1237
- tags?: string[] | undefined;
1295
+ chatProjectId?: string | null | undefined;
1238
1296
  resendFiles?: boolean | undefined;
1239
1297
  file_ids?: string[] | undefined;
1240
1298
  imageDetail?: ImageDetail | undefined;
@@ -1258,18 +1316,17 @@ export declare const tConversationSchema: z.ZodObject<{
1258
1316
  stop?: string[] | undefined;
1259
1317
  greeting?: string | undefined;
1260
1318
  spec?: string | null | undefined;
1319
+ iconURL?: string | null | undefined;
1320
+ expiredAt?: string | null | undefined;
1321
+ isTemporary?: boolean | undefined;
1261
1322
  fileTokenLimit?: string | number | undefined;
1262
1323
  resendImages?: boolean | undefined;
1263
1324
  chatGptLabel?: string | null | undefined;
1264
1325
  }>;
1265
1326
  export declare const tPresetSchema: z.ZodObject<{
1266
- parentMessageId: z.ZodOptional<z.ZodString>;
1267
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1268
- isTemporary: z.ZodOptional<z.ZodBoolean>;
1269
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1270
- iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1271
1327
  user: z.ZodOptional<z.ZodString>;
1272
- context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1328
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1329
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1273
1330
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1274
1331
  isArchived: z.ZodOptional<z.ZodBoolean>;
1275
1332
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1283,16 +1340,20 @@ export declare const tPresetSchema: z.ZodObject<{
1283
1340
  label: z.ZodString;
1284
1341
  description: z.ZodString;
1285
1342
  optional: z.ZodOptional<z.ZodBoolean>;
1343
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
1344
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1286
1345
  }, "strip", z.ZodTypeAny, {
1287
1346
  description: string;
1288
1347
  authField: string;
1289
1348
  label: string;
1290
1349
  optional?: boolean | undefined;
1350
+ sensitive?: boolean | undefined;
1291
1351
  }, {
1292
1352
  description: string;
1293
1353
  authField: string;
1294
1354
  label: string;
1295
1355
  optional?: boolean | undefined;
1356
+ sensitive?: boolean | undefined;
1296
1357
  }>, "many">>;
1297
1358
  authenticated: z.ZodOptional<z.ZodBoolean>;
1298
1359
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -1308,6 +1369,7 @@ export declare const tPresetSchema: z.ZodObject<{
1308
1369
  authField: string;
1309
1370
  label: string;
1310
1371
  optional?: boolean | undefined;
1372
+ sensitive?: boolean | undefined;
1311
1373
  }[] | undefined;
1312
1374
  authenticated?: boolean | undefined;
1313
1375
  chatMenu?: boolean | undefined;
@@ -1323,6 +1385,7 @@ export declare const tPresetSchema: z.ZodObject<{
1323
1385
  authField: string;
1324
1386
  label: string;
1325
1387
  optional?: boolean | undefined;
1388
+ sensitive?: boolean | undefined;
1326
1389
  }[] | undefined;
1327
1390
  authenticated?: boolean | undefined;
1328
1391
  chatMenu?: boolean | undefined;
@@ -1338,6 +1401,7 @@ export declare const tPresetSchema: z.ZodObject<{
1338
1401
  top_p: z.ZodOptional<z.ZodNumber>;
1339
1402
  frequency_penalty: z.ZodOptional<z.ZodNumber>;
1340
1403
  presence_penalty: z.ZodOptional<z.ZodNumber>;
1404
+ parentMessageId: z.ZodOptional<z.ZodString>;
1341
1405
  maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
1342
1406
  maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1343
1407
  max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
@@ -1348,6 +1412,7 @@ export declare const tPresetSchema: z.ZodObject<{
1348
1412
  thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
1349
1413
  stream: z.ZodOptional<z.ZodBoolean>;
1350
1414
  artifacts: z.ZodOptional<z.ZodString>;
1415
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1351
1416
  examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1352
1417
  input: z.ZodObject<{
1353
1418
  content: z.ZodString;
@@ -1378,7 +1443,6 @@ export declare const tPresetSchema: z.ZodObject<{
1378
1443
  content: string;
1379
1444
  };
1380
1445
  }>, "many">>;
1381
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1382
1446
  resendFiles: z.ZodOptional<z.ZodBoolean>;
1383
1447
  file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1384
1448
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
@@ -1402,6 +1466,9 @@ export declare const tPresetSchema: z.ZodObject<{
1402
1466
  stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1403
1467
  greeting: z.ZodOptional<z.ZodString>;
1404
1468
  spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1469
+ iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1470
+ expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1471
+ isTemporary: z.ZodOptional<z.ZodBoolean>;
1405
1472
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1406
1473
  resendImages: z.ZodOptional<z.ZodBoolean>;
1407
1474
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1414,17 +1481,13 @@ export declare const tPresetSchema: z.ZodObject<{
1414
1481
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
1415
1482
  }, "strip", z.ZodTypeAny, {
1416
1483
  endpoint: string | null;
1417
- conversationId?: string | null | undefined;
1418
- parentMessageId?: string | undefined;
1419
- model?: string | null | undefined;
1420
- title?: string | null | undefined;
1421
- isTemporary?: boolean | undefined;
1422
- expiredAt?: string | null | undefined;
1423
- iconURL?: string | null | undefined;
1424
1484
  user?: string | undefined;
1425
- context?: string | null | undefined;
1485
+ tags?: string[] | undefined;
1486
+ model?: string | null | undefined;
1487
+ conversationId?: string | null | undefined;
1426
1488
  endpointType?: EModelEndpoint | null | undefined;
1427
1489
  isArchived?: boolean | undefined;
1490
+ title?: string | null | undefined;
1428
1491
  messages?: string[] | undefined;
1429
1492
  tools?: string[] | {
1430
1493
  name: string;
@@ -1436,6 +1499,7 @@ export declare const tPresetSchema: z.ZodObject<{
1436
1499
  authField: string;
1437
1500
  label: string;
1438
1501
  optional?: boolean | undefined;
1502
+ sensitive?: boolean | undefined;
1439
1503
  }[] | undefined;
1440
1504
  authenticated?: boolean | undefined;
1441
1505
  chatMenu?: boolean | undefined;
@@ -1451,6 +1515,7 @@ export declare const tPresetSchema: z.ZodObject<{
1451
1515
  top_p?: number | undefined;
1452
1516
  frequency_penalty?: number | undefined;
1453
1517
  presence_penalty?: number | undefined;
1518
+ parentMessageId?: string | undefined;
1454
1519
  maxOutputTokens?: number | null | undefined;
1455
1520
  maxContextTokens?: number | undefined;
1456
1521
  max_tokens?: number | undefined;
@@ -1461,6 +1526,7 @@ export declare const tPresetSchema: z.ZodObject<{
1461
1526
  thinkingLevel?: ThinkingLevel | undefined;
1462
1527
  stream?: boolean | undefined;
1463
1528
  artifacts?: string | undefined;
1529
+ context?: string | null | undefined;
1464
1530
  examples?: {
1465
1531
  input: {
1466
1532
  content: string;
@@ -1469,7 +1535,6 @@ export declare const tPresetSchema: z.ZodObject<{
1469
1535
  content: string;
1470
1536
  };
1471
1537
  }[] | undefined;
1472
- tags?: string[] | undefined;
1473
1538
  resendFiles?: boolean | undefined;
1474
1539
  file_ids?: string[] | undefined;
1475
1540
  imageDetail?: ImageDetail | undefined;
@@ -1493,6 +1558,9 @@ export declare const tPresetSchema: z.ZodObject<{
1493
1558
  stop?: string[] | undefined;
1494
1559
  greeting?: string | undefined;
1495
1560
  spec?: string | null | undefined;
1561
+ iconURL?: string | null | undefined;
1562
+ expiredAt?: string | null | undefined;
1563
+ isTemporary?: boolean | undefined;
1496
1564
  fileTokenLimit?: number | undefined;
1497
1565
  resendImages?: boolean | undefined;
1498
1566
  chatGptLabel?: string | null | undefined;
@@ -1501,17 +1569,13 @@ export declare const tPresetSchema: z.ZodObject<{
1501
1569
  order?: number | undefined;
1502
1570
  }, {
1503
1571
  endpoint: string | null;
1504
- conversationId?: string | null | undefined;
1505
- parentMessageId?: string | undefined;
1506
- model?: string | null | undefined;
1507
- title?: string | null | undefined;
1508
- isTemporary?: boolean | undefined;
1509
- expiredAt?: string | null | undefined;
1510
- iconURL?: string | null | undefined;
1511
1572
  user?: string | undefined;
1512
- context?: string | null | undefined;
1573
+ tags?: string[] | undefined;
1574
+ model?: string | null | undefined;
1575
+ conversationId?: string | null | undefined;
1513
1576
  endpointType?: EModelEndpoint | null | undefined;
1514
1577
  isArchived?: boolean | undefined;
1578
+ title?: string | null | undefined;
1515
1579
  messages?: string[] | undefined;
1516
1580
  tools?: string[] | {
1517
1581
  name: string;
@@ -1523,6 +1587,7 @@ export declare const tPresetSchema: z.ZodObject<{
1523
1587
  authField: string;
1524
1588
  label: string;
1525
1589
  optional?: boolean | undefined;
1590
+ sensitive?: boolean | undefined;
1526
1591
  }[] | undefined;
1527
1592
  authenticated?: boolean | undefined;
1528
1593
  chatMenu?: boolean | undefined;
@@ -1538,6 +1603,7 @@ export declare const tPresetSchema: z.ZodObject<{
1538
1603
  top_p?: number | undefined;
1539
1604
  frequency_penalty?: number | undefined;
1540
1605
  presence_penalty?: number | undefined;
1606
+ parentMessageId?: string | undefined;
1541
1607
  maxOutputTokens?: string | number | null | undefined;
1542
1608
  maxContextTokens?: string | number | undefined;
1543
1609
  max_tokens?: string | number | undefined;
@@ -1548,6 +1614,7 @@ export declare const tPresetSchema: z.ZodObject<{
1548
1614
  thinkingLevel?: ThinkingLevel | undefined;
1549
1615
  stream?: boolean | undefined;
1550
1616
  artifacts?: string | undefined;
1617
+ context?: string | null | undefined;
1551
1618
  examples?: {
1552
1619
  input: {
1553
1620
  content: string;
@@ -1556,7 +1623,6 @@ export declare const tPresetSchema: z.ZodObject<{
1556
1623
  content: string;
1557
1624
  };
1558
1625
  }[] | undefined;
1559
- tags?: string[] | undefined;
1560
1626
  resendFiles?: boolean | undefined;
1561
1627
  file_ids?: string[] | undefined;
1562
1628
  imageDetail?: ImageDetail | undefined;
@@ -1580,6 +1646,9 @@ export declare const tPresetSchema: z.ZodObject<{
1580
1646
  stop?: string[] | undefined;
1581
1647
  greeting?: string | undefined;
1582
1648
  spec?: string | null | undefined;
1649
+ iconURL?: string | null | undefined;
1650
+ expiredAt?: string | null | undefined;
1651
+ isTemporary?: boolean | undefined;
1583
1652
  fileTokenLimit?: string | number | undefined;
1584
1653
  resendImages?: boolean | undefined;
1585
1654
  chatGptLabel?: string | null | undefined;
@@ -1604,16 +1673,20 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1604
1673
  label: z.ZodString;
1605
1674
  description: z.ZodString;
1606
1675
  optional: z.ZodOptional<z.ZodBoolean>;
1676
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
1677
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1607
1678
  }, "strip", z.ZodTypeAny, {
1608
1679
  description: string;
1609
1680
  authField: string;
1610
1681
  label: string;
1611
1682
  optional?: boolean | undefined;
1683
+ sensitive?: boolean | undefined;
1612
1684
  }, {
1613
1685
  description: string;
1614
1686
  authField: string;
1615
1687
  label: string;
1616
1688
  optional?: boolean | undefined;
1689
+ sensitive?: boolean | undefined;
1617
1690
  }>, "many">>;
1618
1691
  authenticated: z.ZodOptional<z.ZodBoolean>;
1619
1692
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -1629,6 +1702,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1629
1702
  authField: string;
1630
1703
  label: string;
1631
1704
  optional?: boolean | undefined;
1705
+ sensitive?: boolean | undefined;
1632
1706
  }[] | undefined;
1633
1707
  authenticated?: boolean | undefined;
1634
1708
  chatMenu?: boolean | undefined;
@@ -1644,6 +1718,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1644
1718
  authField: string;
1645
1719
  label: string;
1646
1720
  optional?: boolean | undefined;
1721
+ sensitive?: boolean | undefined;
1647
1722
  }[] | undefined;
1648
1723
  authenticated?: boolean | undefined;
1649
1724
  chatMenu?: boolean | undefined;
@@ -1703,6 +1778,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1703
1778
  };
1704
1779
  }>, "many">>;
1705
1780
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1781
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1706
1782
  resendFiles: z.ZodOptional<z.ZodBoolean>;
1707
1783
  file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1708
1784
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
@@ -1737,18 +1813,12 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1737
1813
  createdAt: z.ZodOptional<z.ZodString>;
1738
1814
  updatedAt: z.ZodOptional<z.ZodString>;
1739
1815
  }, "strip", z.ZodTypeAny, {
1740
- endpoint: string | null;
1741
1816
  conversationId: string | null;
1817
+ endpoint: string | null;
1742
1818
  title: string | null;
1743
- parentMessageId?: string | undefined;
1744
- model?: string | null | undefined;
1745
- isTemporary?: boolean | undefined;
1746
- expiredAt?: string | null | undefined;
1747
- createdAt?: string | undefined;
1748
- updatedAt?: string | undefined;
1749
- iconURL?: string | null | undefined;
1750
1819
  user?: string | undefined;
1751
- context?: string | null | undefined;
1820
+ tags?: string[] | undefined;
1821
+ model?: string | null | undefined;
1752
1822
  endpointType?: EModelEndpoint | null | undefined;
1753
1823
  isArchived?: boolean | undefined;
1754
1824
  messages?: string[] | undefined;
@@ -1762,6 +1832,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1762
1832
  authField: string;
1763
1833
  label: string;
1764
1834
  optional?: boolean | undefined;
1835
+ sensitive?: boolean | undefined;
1765
1836
  }[] | undefined;
1766
1837
  authenticated?: boolean | undefined;
1767
1838
  chatMenu?: boolean | undefined;
@@ -1777,6 +1848,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1777
1848
  top_p?: number | undefined;
1778
1849
  frequency_penalty?: number | undefined;
1779
1850
  presence_penalty?: number | undefined;
1851
+ parentMessageId?: string | undefined;
1780
1852
  maxOutputTokens?: number | null | undefined;
1781
1853
  maxContextTokens?: number | undefined;
1782
1854
  max_tokens?: number | undefined;
@@ -1787,6 +1859,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1787
1859
  thinkingLevel?: ThinkingLevel | undefined;
1788
1860
  stream?: boolean | undefined;
1789
1861
  artifacts?: string | undefined;
1862
+ context?: string | null | undefined;
1790
1863
  examples?: {
1791
1864
  input: {
1792
1865
  content: string;
@@ -1795,7 +1868,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1795
1868
  content: string;
1796
1869
  };
1797
1870
  }[] | undefined;
1798
- tags?: string[] | undefined;
1871
+ chatProjectId?: string | null | undefined;
1872
+ createdAt?: string | undefined;
1873
+ updatedAt?: string | undefined;
1799
1874
  resendFiles?: boolean | undefined;
1800
1875
  file_ids?: string[] | undefined;
1801
1876
  imageDetail?: ImageDetail | undefined;
@@ -1819,24 +1894,21 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1819
1894
  stop?: string[] | undefined;
1820
1895
  greeting?: string | undefined;
1821
1896
  spec?: string | null | undefined;
1897
+ iconURL?: string | null | undefined;
1898
+ expiredAt?: string | null | undefined;
1899
+ isTemporary?: boolean | undefined;
1822
1900
  fileTokenLimit?: number | undefined;
1823
1901
  resendImages?: boolean | undefined;
1824
1902
  chatGptLabel?: string | null | undefined;
1825
1903
  }, {
1826
- endpoint: string | null;
1827
1904
  conversationId: string | null;
1828
- parentMessageId?: string | undefined;
1829
- model?: string | null | undefined;
1830
- title?: string | null | undefined;
1831
- isTemporary?: boolean | undefined;
1832
- expiredAt?: string | null | undefined;
1833
- createdAt?: string | undefined;
1834
- updatedAt?: string | undefined;
1835
- iconURL?: string | null | undefined;
1905
+ endpoint: string | null;
1836
1906
  user?: string | undefined;
1837
- context?: string | null | undefined;
1907
+ tags?: string[] | undefined;
1908
+ model?: string | null | undefined;
1838
1909
  endpointType?: EModelEndpoint | null | undefined;
1839
1910
  isArchived?: boolean | undefined;
1911
+ title?: string | null | undefined;
1840
1912
  messages?: string[] | undefined;
1841
1913
  tools?: string[] | {
1842
1914
  name: string;
@@ -1848,6 +1920,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1848
1920
  authField: string;
1849
1921
  label: string;
1850
1922
  optional?: boolean | undefined;
1923
+ sensitive?: boolean | undefined;
1851
1924
  }[] | undefined;
1852
1925
  authenticated?: boolean | undefined;
1853
1926
  chatMenu?: boolean | undefined;
@@ -1863,6 +1936,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1863
1936
  top_p?: number | undefined;
1864
1937
  frequency_penalty?: number | undefined;
1865
1938
  presence_penalty?: number | undefined;
1939
+ parentMessageId?: string | undefined;
1866
1940
  maxOutputTokens?: string | number | null | undefined;
1867
1941
  maxContextTokens?: string | number | undefined;
1868
1942
  max_tokens?: string | number | undefined;
@@ -1873,6 +1947,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1873
1947
  thinkingLevel?: ThinkingLevel | undefined;
1874
1948
  stream?: boolean | undefined;
1875
1949
  artifacts?: string | undefined;
1950
+ context?: string | null | undefined;
1876
1951
  examples?: {
1877
1952
  input: {
1878
1953
  content: string;
@@ -1881,7 +1956,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1881
1956
  content: string;
1882
1957
  };
1883
1958
  }[] | undefined;
1884
- tags?: string[] | undefined;
1959
+ chatProjectId?: string | null | undefined;
1960
+ createdAt?: string | undefined;
1961
+ updatedAt?: string | undefined;
1885
1962
  resendFiles?: boolean | undefined;
1886
1963
  file_ids?: string[] | undefined;
1887
1964
  imageDetail?: ImageDetail | undefined;
@@ -1905,6 +1982,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1905
1982
  stop?: string[] | undefined;
1906
1983
  greeting?: string | undefined;
1907
1984
  spec?: string | null | undefined;
1985
+ iconURL?: string | null | undefined;
1986
+ expiredAt?: string | null | undefined;
1987
+ isTemporary?: boolean | undefined;
1908
1988
  fileTokenLimit?: string | number | undefined;
1909
1989
  resendImages?: boolean | undefined;
1910
1990
  chatGptLabel?: string | null | undefined;
@@ -1927,16 +2007,20 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
1927
2007
  label: z.ZodString;
1928
2008
  description: z.ZodString;
1929
2009
  optional: z.ZodOptional<z.ZodBoolean>;
2010
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
2011
+ sensitive: z.ZodOptional<z.ZodBoolean>;
1930
2012
  }, "strip", z.ZodTypeAny, {
1931
2013
  description: string;
1932
2014
  authField: string;
1933
2015
  label: string;
1934
2016
  optional?: boolean | undefined;
2017
+ sensitive?: boolean | undefined;
1935
2018
  }, {
1936
2019
  description: string;
1937
2020
  authField: string;
1938
2021
  label: string;
1939
2022
  optional?: boolean | undefined;
2023
+ sensitive?: boolean | undefined;
1940
2024
  }>, "many">>;
1941
2025
  authenticated: z.ZodOptional<z.ZodBoolean>;
1942
2026
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -1952,6 +2036,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
1952
2036
  authField: string;
1953
2037
  label: string;
1954
2038
  optional?: boolean | undefined;
2039
+ sensitive?: boolean | undefined;
1955
2040
  }[] | undefined;
1956
2041
  authenticated?: boolean | undefined;
1957
2042
  chatMenu?: boolean | undefined;
@@ -1967,6 +2052,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
1967
2052
  authField: string;
1968
2053
  label: string;
1969
2054
  optional?: boolean | undefined;
2055
+ sensitive?: boolean | undefined;
1970
2056
  }[] | undefined;
1971
2057
  authenticated?: boolean | undefined;
1972
2058
  chatMenu?: boolean | undefined;
@@ -2026,6 +2112,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2026
2112
  };
2027
2113
  }>, "many">>;
2028
2114
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2115
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2029
2116
  createdAt: z.ZodString;
2030
2117
  updatedAt: z.ZodString;
2031
2118
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -2144,13 +2231,9 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2144
2231
  * omitted to avoid duplicate configuration surface.
2145
2232
  */
2146
2233
  export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2147
- parentMessageId: z.ZodOptional<z.ZodString>;
2148
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2149
- isTemporary: z.ZodOptional<z.ZodBoolean>;
2150
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2151
- iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2152
2234
  user: z.ZodOptional<z.ZodString>;
2153
- context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2235
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2236
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2154
2237
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
2155
2238
  isArchived: z.ZodOptional<z.ZodBoolean>;
2156
2239
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2164,16 +2247,20 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2164
2247
  label: z.ZodString;
2165
2248
  description: z.ZodString;
2166
2249
  optional: z.ZodOptional<z.ZodBoolean>;
2250
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
2251
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2167
2252
  }, "strip", z.ZodTypeAny, {
2168
2253
  description: string;
2169
2254
  authField: string;
2170
2255
  label: string;
2171
2256
  optional?: boolean | undefined;
2257
+ sensitive?: boolean | undefined;
2172
2258
  }, {
2173
2259
  description: string;
2174
2260
  authField: string;
2175
2261
  label: string;
2176
2262
  optional?: boolean | undefined;
2263
+ sensitive?: boolean | undefined;
2177
2264
  }>, "many">>;
2178
2265
  authenticated: z.ZodOptional<z.ZodBoolean>;
2179
2266
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -2189,6 +2276,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2189
2276
  authField: string;
2190
2277
  label: string;
2191
2278
  optional?: boolean | undefined;
2279
+ sensitive?: boolean | undefined;
2192
2280
  }[] | undefined;
2193
2281
  authenticated?: boolean | undefined;
2194
2282
  chatMenu?: boolean | undefined;
@@ -2204,6 +2292,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2204
2292
  authField: string;
2205
2293
  label: string;
2206
2294
  optional?: boolean | undefined;
2295
+ sensitive?: boolean | undefined;
2207
2296
  }[] | undefined;
2208
2297
  authenticated?: boolean | undefined;
2209
2298
  chatMenu?: boolean | undefined;
@@ -2219,6 +2308,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2219
2308
  top_p: z.ZodOptional<z.ZodNumber>;
2220
2309
  frequency_penalty: z.ZodOptional<z.ZodNumber>;
2221
2310
  presence_penalty: z.ZodOptional<z.ZodNumber>;
2311
+ parentMessageId: z.ZodOptional<z.ZodString>;
2222
2312
  maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
2223
2313
  maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
2224
2314
  max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
@@ -2229,6 +2319,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2229
2319
  thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
2230
2320
  stream: z.ZodOptional<z.ZodBoolean>;
2231
2321
  artifacts: z.ZodOptional<z.ZodString>;
2322
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2232
2323
  examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
2233
2324
  input: z.ZodObject<{
2234
2325
  content: z.ZodString;
@@ -2259,7 +2350,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2259
2350
  content: string;
2260
2351
  };
2261
2352
  }>, "many">>;
2262
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2263
2353
  resendFiles: z.ZodOptional<z.ZodBoolean>;
2264
2354
  file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2265
2355
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
@@ -2283,6 +2373,9 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2283
2373
  stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2284
2374
  greeting: z.ZodOptional<z.ZodString>;
2285
2375
  spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2376
+ iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2377
+ expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2378
+ isTemporary: z.ZodOptional<z.ZodBoolean>;
2286
2379
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
2287
2380
  resendImages: z.ZodOptional<z.ZodBoolean>;
2288
2381
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2293,12 +2386,9 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2293
2386
  defaultPreset: z.ZodOptional<z.ZodBoolean>;
2294
2387
  order: z.ZodOptional<z.ZodNumber>;
2295
2388
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
2296
- }, "conversationId" | "parentMessageId" | "title" | "expiredAt" | "user" | "isArchived" | "messages" | "tags" | "file_ids" | "presetOverride" | "spec" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
2389
+ }, "user" | "tags" | "conversationId" | "isArchived" | "title" | "messages" | "parentMessageId" | "file_ids" | "presetOverride" | "spec" | "expiredAt" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
2297
2390
  endpoint: string | null;
2298
2391
  model?: string | null | undefined;
2299
- isTemporary?: boolean | undefined;
2300
- iconURL?: string | null | undefined;
2301
- context?: string | null | undefined;
2302
2392
  endpointType?: EModelEndpoint | null | undefined;
2303
2393
  tools?: string[] | {
2304
2394
  name: string;
@@ -2310,6 +2400,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2310
2400
  authField: string;
2311
2401
  label: string;
2312
2402
  optional?: boolean | undefined;
2403
+ sensitive?: boolean | undefined;
2313
2404
  }[] | undefined;
2314
2405
  authenticated?: boolean | undefined;
2315
2406
  chatMenu?: boolean | undefined;
@@ -2335,6 +2426,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2335
2426
  thinkingLevel?: ThinkingLevel | undefined;
2336
2427
  stream?: boolean | undefined;
2337
2428
  artifacts?: string | undefined;
2429
+ context?: string | null | undefined;
2338
2430
  examples?: {
2339
2431
  input: {
2340
2432
  content: string;
@@ -2363,13 +2455,12 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2363
2455
  append_current_datetime?: boolean | undefined;
2364
2456
  stop?: string[] | undefined;
2365
2457
  greeting?: string | undefined;
2458
+ iconURL?: string | null | undefined;
2459
+ isTemporary?: boolean | undefined;
2366
2460
  fileTokenLimit?: number | undefined;
2367
2461
  }, {
2368
2462
  endpoint: string | null;
2369
2463
  model?: string | null | undefined;
2370
- isTemporary?: boolean | undefined;
2371
- iconURL?: string | null | undefined;
2372
- context?: string | null | undefined;
2373
2464
  endpointType?: EModelEndpoint | null | undefined;
2374
2465
  tools?: string[] | {
2375
2466
  name: string;
@@ -2381,6 +2472,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2381
2472
  authField: string;
2382
2473
  label: string;
2383
2474
  optional?: boolean | undefined;
2475
+ sensitive?: boolean | undefined;
2384
2476
  }[] | undefined;
2385
2477
  authenticated?: boolean | undefined;
2386
2478
  chatMenu?: boolean | undefined;
@@ -2406,6 +2498,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2406
2498
  thinkingLevel?: ThinkingLevel | undefined;
2407
2499
  stream?: boolean | undefined;
2408
2500
  artifacts?: string | undefined;
2501
+ context?: string | null | undefined;
2409
2502
  examples?: {
2410
2503
  input: {
2411
2504
  content: string;
@@ -2434,6 +2527,8 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2434
2527
  append_current_datetime?: boolean | undefined;
2435
2528
  stop?: string[] | undefined;
2436
2529
  greeting?: string | undefined;
2530
+ iconURL?: string | null | undefined;
2531
+ isTemporary?: boolean | undefined;
2437
2532
  fileTokenLimit?: string | number | undefined;
2438
2533
  }>;
2439
2534
  export type TModelSpecPreset = z.infer<typeof tModelSpecPresetSchema>;
@@ -2448,27 +2543,24 @@ export declare const tSharedLinkSchema: z.ZodObject<{
2448
2543
  shareId: z.ZodString;
2449
2544
  targetMessageId: z.ZodOptional<z.ZodString>;
2450
2545
  messages: z.ZodArray<z.ZodString, "many">;
2451
- isPublic: z.ZodBoolean;
2452
2546
  title: z.ZodString;
2453
2547
  createdAt: z.ZodString;
2454
2548
  updatedAt: z.ZodString;
2455
2549
  }, "strip", z.ZodTypeAny, {
2456
2550
  conversationId: string;
2457
2551
  title: string;
2552
+ messages: string[];
2458
2553
  createdAt: string;
2459
2554
  updatedAt: string;
2460
- messages: string[];
2461
2555
  shareId: string;
2462
- isPublic: boolean;
2463
2556
  targetMessageId?: string | undefined;
2464
2557
  }, {
2465
2558
  conversationId: string;
2466
2559
  title: string;
2560
+ messages: string[];
2467
2561
  createdAt: string;
2468
2562
  updatedAt: string;
2469
- messages: string[];
2470
2563
  shareId: string;
2471
- isPublic: boolean;
2472
2564
  targetMessageId?: string | undefined;
2473
2565
  }>;
2474
2566
  export type TSharedLink = z.infer<typeof tSharedLinkSchema>;
@@ -2482,20 +2574,20 @@ export declare const tConversationTagSchema: z.ZodObject<{
2482
2574
  count: z.ZodNumber;
2483
2575
  position: z.ZodNumber;
2484
2576
  }, "strip", z.ZodTypeAny, {
2577
+ user: string;
2485
2578
  createdAt: string;
2486
2579
  updatedAt: string;
2487
2580
  tag: string;
2488
2581
  _id: string;
2489
- user: string;
2490
2582
  count: number;
2491
2583
  position: number;
2492
2584
  description?: string | undefined;
2493
2585
  }, {
2586
+ user: string;
2494
2587
  createdAt: string;
2495
2588
  updatedAt: string;
2496
2589
  tag: string;
2497
2590
  _id: string;
2498
- user: string;
2499
2591
  count: number;
2500
2592
  position: number;
2501
2593
  description?: string | undefined;
@@ -2519,16 +2611,20 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2519
2611
  label: z.ZodString;
2520
2612
  description: z.ZodString;
2521
2613
  optional: z.ZodOptional<z.ZodBoolean>;
2614
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
2615
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2522
2616
  }, "strip", z.ZodTypeAny, {
2523
2617
  description: string;
2524
2618
  authField: string;
2525
2619
  label: string;
2526
2620
  optional?: boolean | undefined;
2621
+ sensitive?: boolean | undefined;
2527
2622
  }, {
2528
2623
  description: string;
2529
2624
  authField: string;
2530
2625
  label: string;
2531
2626
  optional?: boolean | undefined;
2627
+ sensitive?: boolean | undefined;
2532
2628
  }>, "many">>;
2533
2629
  authenticated: z.ZodOptional<z.ZodBoolean>;
2534
2630
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -2544,6 +2640,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2544
2640
  authField: string;
2545
2641
  label: string;
2546
2642
  optional?: boolean | undefined;
2643
+ sensitive?: boolean | undefined;
2547
2644
  }[] | undefined;
2548
2645
  authenticated?: boolean | undefined;
2549
2646
  chatMenu?: boolean | undefined;
@@ -2559,6 +2656,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2559
2656
  authField: string;
2560
2657
  label: string;
2561
2658
  optional?: boolean | undefined;
2659
+ sensitive?: boolean | undefined;
2562
2660
  }[] | undefined;
2563
2661
  authenticated?: boolean | undefined;
2564
2662
  chatMenu?: boolean | undefined;
@@ -2618,6 +2716,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2618
2716
  };
2619
2717
  }>, "many">>;
2620
2718
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2719
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2621
2720
  createdAt: z.ZodString;
2622
2721
  updatedAt: z.ZodString;
2623
2722
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -2652,9 +2751,8 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2652
2751
  resendImages: z.ZodOptional<z.ZodBoolean>;
2653
2752
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
2654
2753
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2655
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "web_search" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
2754
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
2656
2755
  model?: string | null | undefined;
2657
- iconURL?: string | null | undefined;
2658
2756
  modelLabel?: string | null | undefined;
2659
2757
  promptPrefix?: string | null | undefined;
2660
2758
  temperature?: number | null | undefined;
@@ -2674,13 +2772,14 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2674
2772
  content: string;
2675
2773
  };
2676
2774
  }[] | undefined;
2775
+ chatProjectId?: string | null | undefined;
2677
2776
  web_search?: boolean | undefined;
2678
2777
  greeting?: string | undefined;
2679
2778
  spec?: string | null | undefined;
2779
+ iconURL?: string | null | undefined;
2680
2780
  fileTokenLimit?: number | undefined;
2681
2781
  }, {
2682
2782
  model?: string | null | undefined;
2683
- iconURL?: string | null | undefined;
2684
2783
  modelLabel?: string | null | undefined;
2685
2784
  promptPrefix?: string | null | undefined;
2686
2785
  temperature?: number | null | undefined;
@@ -2700,9 +2799,11 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2700
2799
  content: string;
2701
2800
  };
2702
2801
  }[] | undefined;
2802
+ chatProjectId?: string | null | undefined;
2703
2803
  web_search?: boolean | undefined;
2704
2804
  greeting?: string | undefined;
2705
2805
  spec?: string | null | undefined;
2806
+ iconURL?: string | null | undefined;
2706
2807
  fileTokenLimit?: string | number | undefined;
2707
2808
  }>;
2708
2809
  export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
@@ -2723,16 +2824,20 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2723
2824
  label: z.ZodString;
2724
2825
  description: z.ZodString;
2725
2826
  optional: z.ZodOptional<z.ZodBoolean>;
2827
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
2828
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2726
2829
  }, "strip", z.ZodTypeAny, {
2727
2830
  description: string;
2728
2831
  authField: string;
2729
2832
  label: string;
2730
2833
  optional?: boolean | undefined;
2834
+ sensitive?: boolean | undefined;
2731
2835
  }, {
2732
2836
  description: string;
2733
2837
  authField: string;
2734
2838
  label: string;
2735
2839
  optional?: boolean | undefined;
2840
+ sensitive?: boolean | undefined;
2736
2841
  }>, "many">>;
2737
2842
  authenticated: z.ZodOptional<z.ZodBoolean>;
2738
2843
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -2748,6 +2853,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2748
2853
  authField: string;
2749
2854
  label: string;
2750
2855
  optional?: boolean | undefined;
2856
+ sensitive?: boolean | undefined;
2751
2857
  }[] | undefined;
2752
2858
  authenticated?: boolean | undefined;
2753
2859
  chatMenu?: boolean | undefined;
@@ -2763,6 +2869,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2763
2869
  authField: string;
2764
2870
  label: string;
2765
2871
  optional?: boolean | undefined;
2872
+ sensitive?: boolean | undefined;
2766
2873
  }[] | undefined;
2767
2874
  authenticated?: boolean | undefined;
2768
2875
  chatMenu?: boolean | undefined;
@@ -2822,6 +2929,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2822
2929
  };
2823
2930
  }>, "many">>;
2824
2931
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2932
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2825
2933
  createdAt: z.ZodString;
2826
2934
  updatedAt: z.ZodString;
2827
2935
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -2856,9 +2964,8 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2856
2964
  resendImages: z.ZodOptional<z.ZodBoolean>;
2857
2965
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
2858
2966
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2859
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "web_search" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
2967
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
2860
2968
  model?: string | null | undefined;
2861
- iconURL?: string | null | undefined;
2862
2969
  modelLabel?: string | null | undefined;
2863
2970
  promptPrefix?: string | null | undefined;
2864
2971
  temperature?: number | null | undefined;
@@ -2878,13 +2985,14 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2878
2985
  content: string;
2879
2986
  };
2880
2987
  }[] | undefined;
2988
+ chatProjectId?: string | null | undefined;
2881
2989
  web_search?: boolean | undefined;
2882
2990
  greeting?: string | undefined;
2883
2991
  spec?: string | null | undefined;
2992
+ iconURL?: string | null | undefined;
2884
2993
  fileTokenLimit?: number | undefined;
2885
2994
  }, {
2886
2995
  model?: string | null | undefined;
2887
- iconURL?: string | null | undefined;
2888
2996
  modelLabel?: string | null | undefined;
2889
2997
  promptPrefix?: string | null | undefined;
2890
2998
  temperature?: number | null | undefined;
@@ -2904,13 +3012,14 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2904
3012
  content: string;
2905
3013
  };
2906
3014
  }[] | undefined;
3015
+ chatProjectId?: string | null | undefined;
2907
3016
  web_search?: boolean | undefined;
2908
3017
  greeting?: string | undefined;
2909
3018
  spec?: string | null | undefined;
3019
+ iconURL?: string | null | undefined;
2910
3020
  fileTokenLimit?: string | number | undefined;
2911
3021
  }>, Partial<Partial<TConversation>>, {
2912
3022
  model?: string | null | undefined;
2913
- iconURL?: string | null | undefined;
2914
3023
  modelLabel?: string | null | undefined;
2915
3024
  promptPrefix?: string | null | undefined;
2916
3025
  temperature?: number | null | undefined;
@@ -2930,9 +3039,11 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2930
3039
  content: string;
2931
3040
  };
2932
3041
  }[] | undefined;
3042
+ chatProjectId?: string | null | undefined;
2933
3043
  web_search?: boolean | undefined;
2934
3044
  greeting?: string | undefined;
2935
3045
  spec?: string | null | undefined;
3046
+ iconURL?: string | null | undefined;
2936
3047
  fileTokenLimit?: string | number | undefined;
2937
3048
  }>>;
2938
3049
  /**
@@ -3011,16 +3122,20 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3011
3122
  label: z.ZodString;
3012
3123
  description: z.ZodString;
3013
3124
  optional: z.ZodOptional<z.ZodBoolean>;
3125
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
3126
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3014
3127
  }, "strip", z.ZodTypeAny, {
3015
3128
  description: string;
3016
3129
  authField: string;
3017
3130
  label: string;
3018
3131
  optional?: boolean | undefined;
3132
+ sensitive?: boolean | undefined;
3019
3133
  }, {
3020
3134
  description: string;
3021
3135
  authField: string;
3022
3136
  label: string;
3023
3137
  optional?: boolean | undefined;
3138
+ sensitive?: boolean | undefined;
3024
3139
  }>, "many">>;
3025
3140
  authenticated: z.ZodOptional<z.ZodBoolean>;
3026
3141
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -3036,6 +3151,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3036
3151
  authField: string;
3037
3152
  label: string;
3038
3153
  optional?: boolean | undefined;
3154
+ sensitive?: boolean | undefined;
3039
3155
  }[] | undefined;
3040
3156
  authenticated?: boolean | undefined;
3041
3157
  chatMenu?: boolean | undefined;
@@ -3051,6 +3167,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3051
3167
  authField: string;
3052
3168
  label: string;
3053
3169
  optional?: boolean | undefined;
3170
+ sensitive?: boolean | undefined;
3054
3171
  }[] | undefined;
3055
3172
  authenticated?: boolean | undefined;
3056
3173
  chatMenu?: boolean | undefined;
@@ -3110,6 +3227,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3110
3227
  };
3111
3228
  }>, "many">>;
3112
3229
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3230
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3113
3231
  createdAt: z.ZodString;
3114
3232
  updatedAt: z.ZodString;
3115
3233
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -3144,26 +3262,28 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3144
3262
  resendImages: z.ZodOptional<z.ZodBoolean>;
3145
3263
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3146
3264
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3147
- }, "model" | "iconURL" | "promptPrefix" | "artifacts" | "assistant_id" | "instructions" | "append_current_datetime" | "greeting" | "spec">, "strip", z.ZodTypeAny, {
3265
+ }, "model" | "promptPrefix" | "artifacts" | "chatProjectId" | "assistant_id" | "instructions" | "append_current_datetime" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
3148
3266
  model?: string | null | undefined;
3149
- iconURL?: string | null | undefined;
3150
3267
  promptPrefix?: string | null | undefined;
3151
3268
  artifacts?: string | undefined;
3269
+ chatProjectId?: string | null | undefined;
3152
3270
  assistant_id?: string | undefined;
3153
3271
  instructions?: string | undefined;
3154
3272
  append_current_datetime?: boolean | undefined;
3155
3273
  greeting?: string | undefined;
3156
3274
  spec?: string | null | undefined;
3275
+ iconURL?: string | null | undefined;
3157
3276
  }, {
3158
3277
  model?: string | null | undefined;
3159
- iconURL?: string | null | undefined;
3160
3278
  promptPrefix?: string | null | undefined;
3161
3279
  artifacts?: string | undefined;
3280
+ chatProjectId?: string | null | undefined;
3162
3281
  assistant_id?: string | undefined;
3163
3282
  instructions?: string | undefined;
3164
3283
  append_current_datetime?: boolean | undefined;
3165
3284
  greeting?: string | undefined;
3166
3285
  spec?: string | null | undefined;
3286
+ iconURL?: string | null | undefined;
3167
3287
  }>, {
3168
3288
  model: string;
3169
3289
  assistant_id: string | undefined;
@@ -3174,16 +3294,18 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3174
3294
  spec: string | undefined;
3175
3295
  append_current_datetime: boolean;
3176
3296
  artifacts?: string | undefined;
3297
+ chatProjectId?: string | null | undefined;
3177
3298
  }, {
3178
3299
  model?: string | null | undefined;
3179
- iconURL?: string | null | undefined;
3180
3300
  promptPrefix?: string | null | undefined;
3181
3301
  artifacts?: string | undefined;
3302
+ chatProjectId?: string | null | undefined;
3182
3303
  assistant_id?: string | undefined;
3183
3304
  instructions?: string | undefined;
3184
3305
  append_current_datetime?: boolean | undefined;
3185
3306
  greeting?: string | undefined;
3186
3307
  spec?: string | null | undefined;
3308
+ iconURL?: string | null | undefined;
3187
3309
  }>>;
3188
3310
  export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3189
3311
  conversationId: z.ZodNullable<z.ZodString>;
@@ -3203,16 +3325,20 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3203
3325
  label: z.ZodString;
3204
3326
  description: z.ZodString;
3205
3327
  optional: z.ZodOptional<z.ZodBoolean>;
3328
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
3329
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3206
3330
  }, "strip", z.ZodTypeAny, {
3207
3331
  description: string;
3208
3332
  authField: string;
3209
3333
  label: string;
3210
3334
  optional?: boolean | undefined;
3335
+ sensitive?: boolean | undefined;
3211
3336
  }, {
3212
3337
  description: string;
3213
3338
  authField: string;
3214
3339
  label: string;
3215
3340
  optional?: boolean | undefined;
3341
+ sensitive?: boolean | undefined;
3216
3342
  }>, "many">>;
3217
3343
  authenticated: z.ZodOptional<z.ZodBoolean>;
3218
3344
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -3228,6 +3354,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3228
3354
  authField: string;
3229
3355
  label: string;
3230
3356
  optional?: boolean | undefined;
3357
+ sensitive?: boolean | undefined;
3231
3358
  }[] | undefined;
3232
3359
  authenticated?: boolean | undefined;
3233
3360
  chatMenu?: boolean | undefined;
@@ -3243,6 +3370,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3243
3370
  authField: string;
3244
3371
  label: string;
3245
3372
  optional?: boolean | undefined;
3373
+ sensitive?: boolean | undefined;
3246
3374
  }[] | undefined;
3247
3375
  authenticated?: boolean | undefined;
3248
3376
  chatMenu?: boolean | undefined;
@@ -3302,6 +3430,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3302
3430
  };
3303
3431
  }>, "many">>;
3304
3432
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3433
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3305
3434
  createdAt: z.ZodString;
3306
3435
  updatedAt: z.ZodString;
3307
3436
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -3336,42 +3465,46 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3336
3465
  resendImages: z.ZodOptional<z.ZodBoolean>;
3337
3466
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3338
3467
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3339
- }, "model" | "iconURL" | "promptPrefix" | "artifacts" | "assistant_id" | "instructions" | "greeting" | "spec">, "strip", z.ZodTypeAny, {
3468
+ }, "model" | "promptPrefix" | "artifacts" | "chatProjectId" | "assistant_id" | "instructions" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
3340
3469
  model?: string | null | undefined;
3341
- iconURL?: string | null | undefined;
3342
3470
  promptPrefix?: string | null | undefined;
3343
3471
  artifacts?: string | undefined;
3472
+ chatProjectId?: string | null | undefined;
3344
3473
  assistant_id?: string | undefined;
3345
3474
  instructions?: string | undefined;
3346
3475
  greeting?: string | undefined;
3347
3476
  spec?: string | null | undefined;
3477
+ iconURL?: string | null | undefined;
3348
3478
  }, {
3349
3479
  model?: string | null | undefined;
3350
- iconURL?: string | null | undefined;
3351
3480
  promptPrefix?: string | null | undefined;
3352
3481
  artifacts?: string | undefined;
3482
+ chatProjectId?: string | null | undefined;
3353
3483
  assistant_id?: string | undefined;
3354
3484
  instructions?: string | undefined;
3355
3485
  greeting?: string | undefined;
3356
3486
  spec?: string | null | undefined;
3487
+ iconURL?: string | null | undefined;
3357
3488
  }>, Partial<{
3358
3489
  model?: string | null | undefined;
3359
- iconURL?: string | null | undefined;
3360
3490
  promptPrefix?: string | null | undefined;
3361
3491
  artifacts?: string | undefined;
3492
+ chatProjectId?: string | null | undefined;
3362
3493
  assistant_id?: string | undefined;
3363
3494
  instructions?: string | undefined;
3364
3495
  greeting?: string | undefined;
3365
3496
  spec?: string | null | undefined;
3497
+ iconURL?: string | null | undefined;
3366
3498
  }>, {
3367
3499
  model?: string | null | undefined;
3368
- iconURL?: string | null | undefined;
3369
3500
  promptPrefix?: string | null | undefined;
3370
3501
  artifacts?: string | undefined;
3502
+ chatProjectId?: string | null | undefined;
3371
3503
  assistant_id?: string | undefined;
3372
3504
  instructions?: string | undefined;
3373
3505
  greeting?: string | undefined;
3374
3506
  spec?: string | null | undefined;
3507
+ iconURL?: string | null | undefined;
3375
3508
  }>>;
3376
3509
  export declare const agentsBaseSchema: z.ZodObject<Pick<{
3377
3510
  conversationId: z.ZodNullable<z.ZodString>;
@@ -3391,16 +3524,20 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3391
3524
  label: z.ZodString;
3392
3525
  description: z.ZodString;
3393
3526
  optional: z.ZodOptional<z.ZodBoolean>;
3527
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
3528
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3394
3529
  }, "strip", z.ZodTypeAny, {
3395
3530
  description: string;
3396
3531
  authField: string;
3397
3532
  label: string;
3398
3533
  optional?: boolean | undefined;
3534
+ sensitive?: boolean | undefined;
3399
3535
  }, {
3400
3536
  description: string;
3401
3537
  authField: string;
3402
3538
  label: string;
3403
3539
  optional?: boolean | undefined;
3540
+ sensitive?: boolean | undefined;
3404
3541
  }>, "many">>;
3405
3542
  authenticated: z.ZodOptional<z.ZodBoolean>;
3406
3543
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -3416,6 +3553,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3416
3553
  authField: string;
3417
3554
  label: string;
3418
3555
  optional?: boolean | undefined;
3556
+ sensitive?: boolean | undefined;
3419
3557
  }[] | undefined;
3420
3558
  authenticated?: boolean | undefined;
3421
3559
  chatMenu?: boolean | undefined;
@@ -3431,6 +3569,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3431
3569
  authField: string;
3432
3570
  label: string;
3433
3571
  optional?: boolean | undefined;
3572
+ sensitive?: boolean | undefined;
3434
3573
  }[] | undefined;
3435
3574
  authenticated?: boolean | undefined;
3436
3575
  chatMenu?: boolean | undefined;
@@ -3490,6 +3629,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3490
3629
  };
3491
3630
  }>, "many">>;
3492
3631
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3632
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3493
3633
  createdAt: z.ZodString;
3494
3634
  updatedAt: z.ZodString;
3495
3635
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -3524,9 +3664,8 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3524
3664
  resendImages: z.ZodOptional<z.ZodBoolean>;
3525
3665
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3526
3666
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3527
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "resendFiles" | "imageDetail" | "agent_id" | "instructions" | "greeting">, "strip", z.ZodTypeAny, {
3667
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "instructions" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
3528
3668
  model?: string | null | undefined;
3529
- iconURL?: string | null | undefined;
3530
3669
  modelLabel?: string | null | undefined;
3531
3670
  promptPrefix?: string | null | undefined;
3532
3671
  temperature?: number | null | undefined;
@@ -3534,14 +3673,15 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3534
3673
  frequency_penalty?: number | undefined;
3535
3674
  presence_penalty?: number | undefined;
3536
3675
  maxContextTokens?: number | undefined;
3676
+ chatProjectId?: string | null | undefined;
3537
3677
  resendFiles?: boolean | undefined;
3538
3678
  imageDetail?: ImageDetail | undefined;
3539
3679
  agent_id?: string | undefined;
3540
3680
  instructions?: string | undefined;
3541
3681
  greeting?: string | undefined;
3682
+ iconURL?: string | null | undefined;
3542
3683
  }, {
3543
3684
  model?: string | null | undefined;
3544
- iconURL?: string | null | undefined;
3545
3685
  modelLabel?: string | null | undefined;
3546
3686
  promptPrefix?: string | null | undefined;
3547
3687
  temperature?: number | null | undefined;
@@ -3549,11 +3689,13 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3549
3689
  frequency_penalty?: number | undefined;
3550
3690
  presence_penalty?: number | undefined;
3551
3691
  maxContextTokens?: string | number | undefined;
3692
+ chatProjectId?: string | null | undefined;
3552
3693
  resendFiles?: boolean | undefined;
3553
3694
  imageDetail?: ImageDetail | undefined;
3554
3695
  agent_id?: string | undefined;
3555
3696
  instructions?: string | undefined;
3556
3697
  greeting?: string | undefined;
3698
+ iconURL?: string | null | undefined;
3557
3699
  }>;
3558
3700
  export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3559
3701
  conversationId: z.ZodNullable<z.ZodString>;
@@ -3573,16 +3715,20 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3573
3715
  label: z.ZodString;
3574
3716
  description: z.ZodString;
3575
3717
  optional: z.ZodOptional<z.ZodBoolean>;
3718
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
3719
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3576
3720
  }, "strip", z.ZodTypeAny, {
3577
3721
  description: string;
3578
3722
  authField: string;
3579
3723
  label: string;
3580
3724
  optional?: boolean | undefined;
3725
+ sensitive?: boolean | undefined;
3581
3726
  }, {
3582
3727
  description: string;
3583
3728
  authField: string;
3584
3729
  label: string;
3585
3730
  optional?: boolean | undefined;
3731
+ sensitive?: boolean | undefined;
3586
3732
  }>, "many">>;
3587
3733
  authenticated: z.ZodOptional<z.ZodBoolean>;
3588
3734
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -3598,6 +3744,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3598
3744
  authField: string;
3599
3745
  label: string;
3600
3746
  optional?: boolean | undefined;
3747
+ sensitive?: boolean | undefined;
3601
3748
  }[] | undefined;
3602
3749
  authenticated?: boolean | undefined;
3603
3750
  chatMenu?: boolean | undefined;
@@ -3613,6 +3760,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3613
3760
  authField: string;
3614
3761
  label: string;
3615
3762
  optional?: boolean | undefined;
3763
+ sensitive?: boolean | undefined;
3616
3764
  }[] | undefined;
3617
3765
  authenticated?: boolean | undefined;
3618
3766
  chatMenu?: boolean | undefined;
@@ -3672,6 +3820,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3672
3820
  };
3673
3821
  }>, "many">>;
3674
3822
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3823
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3675
3824
  createdAt: z.ZodString;
3676
3825
  updatedAt: z.ZodString;
3677
3826
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -3706,9 +3855,8 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3706
3855
  resendImages: z.ZodOptional<z.ZodBoolean>;
3707
3856
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3708
3857
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3709
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "resendFiles" | "imageDetail" | "agent_id" | "instructions" | "greeting">, "strip", z.ZodTypeAny, {
3858
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "instructions" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
3710
3859
  model?: string | null | undefined;
3711
- iconURL?: string | null | undefined;
3712
3860
  modelLabel?: string | null | undefined;
3713
3861
  promptPrefix?: string | null | undefined;
3714
3862
  temperature?: number | null | undefined;
@@ -3716,14 +3864,15 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3716
3864
  frequency_penalty?: number | undefined;
3717
3865
  presence_penalty?: number | undefined;
3718
3866
  maxContextTokens?: number | undefined;
3867
+ chatProjectId?: string | null | undefined;
3719
3868
  resendFiles?: boolean | undefined;
3720
3869
  imageDetail?: ImageDetail | undefined;
3721
3870
  agent_id?: string | undefined;
3722
3871
  instructions?: string | undefined;
3723
3872
  greeting?: string | undefined;
3873
+ iconURL?: string | null | undefined;
3724
3874
  }, {
3725
3875
  model?: string | null | undefined;
3726
- iconURL?: string | null | undefined;
3727
3876
  modelLabel?: string | null | undefined;
3728
3877
  promptPrefix?: string | null | undefined;
3729
3878
  temperature?: number | null | undefined;
@@ -3731,11 +3880,13 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3731
3880
  frequency_penalty?: number | undefined;
3732
3881
  presence_penalty?: number | undefined;
3733
3882
  maxContextTokens?: string | number | undefined;
3883
+ chatProjectId?: string | null | undefined;
3734
3884
  resendFiles?: boolean | undefined;
3735
3885
  imageDetail?: ImageDetail | undefined;
3736
3886
  agent_id?: string | undefined;
3737
3887
  instructions?: string | undefined;
3738
3888
  greeting?: string | undefined;
3889
+ iconURL?: string | null | undefined;
3739
3890
  }>, {
3740
3891
  model: string;
3741
3892
  modelLabel: string | null;
@@ -3751,9 +3902,9 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3751
3902
  iconURL: string | undefined;
3752
3903
  greeting: string | undefined;
3753
3904
  maxContextTokens: number | undefined;
3905
+ chatProjectId?: string | null | undefined;
3754
3906
  }, {
3755
3907
  model?: string | null | undefined;
3756
- iconURL?: string | null | undefined;
3757
3908
  modelLabel?: string | null | undefined;
3758
3909
  promptPrefix?: string | null | undefined;
3759
3910
  temperature?: number | null | undefined;
@@ -3761,11 +3912,13 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3761
3912
  frequency_penalty?: number | undefined;
3762
3913
  presence_penalty?: number | undefined;
3763
3914
  maxContextTokens?: string | number | undefined;
3915
+ chatProjectId?: string | null | undefined;
3764
3916
  resendFiles?: boolean | undefined;
3765
3917
  imageDetail?: ImageDetail | undefined;
3766
3918
  agent_id?: string | undefined;
3767
3919
  instructions?: string | undefined;
3768
3920
  greeting?: string | undefined;
3921
+ iconURL?: string | null | undefined;
3769
3922
  }>>;
3770
3923
  export declare const openAIBaseSchema: z.ZodObject<Pick<{
3771
3924
  conversationId: z.ZodNullable<z.ZodString>;
@@ -3785,16 +3938,20 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3785
3938
  label: z.ZodString;
3786
3939
  description: z.ZodString;
3787
3940
  optional: z.ZodOptional<z.ZodBoolean>;
3941
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
3942
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3788
3943
  }, "strip", z.ZodTypeAny, {
3789
3944
  description: string;
3790
3945
  authField: string;
3791
3946
  label: string;
3792
3947
  optional?: boolean | undefined;
3948
+ sensitive?: boolean | undefined;
3793
3949
  }, {
3794
3950
  description: string;
3795
3951
  authField: string;
3796
3952
  label: string;
3797
3953
  optional?: boolean | undefined;
3954
+ sensitive?: boolean | undefined;
3798
3955
  }>, "many">>;
3799
3956
  authenticated: z.ZodOptional<z.ZodBoolean>;
3800
3957
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -3810,6 +3967,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3810
3967
  authField: string;
3811
3968
  label: string;
3812
3969
  optional?: boolean | undefined;
3970
+ sensitive?: boolean | undefined;
3813
3971
  }[] | undefined;
3814
3972
  authenticated?: boolean | undefined;
3815
3973
  chatMenu?: boolean | undefined;
@@ -3825,6 +3983,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3825
3983
  authField: string;
3826
3984
  label: string;
3827
3985
  optional?: boolean | undefined;
3986
+ sensitive?: boolean | undefined;
3828
3987
  }[] | undefined;
3829
3988
  authenticated?: boolean | undefined;
3830
3989
  chatMenu?: boolean | undefined;
@@ -3884,6 +4043,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3884
4043
  };
3885
4044
  }>, "many">>;
3886
4045
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4046
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3887
4047
  createdAt: z.ZodString;
3888
4048
  updatedAt: z.ZodString;
3889
4049
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -3918,9 +4078,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3918
4078
  resendImages: z.ZodOptional<z.ZodBoolean>;
3919
4079
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3920
4080
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3921
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
4081
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
3922
4082
  model?: string | null | undefined;
3923
- iconURL?: string | null | undefined;
3924
4083
  modelLabel?: string | null | undefined;
3925
4084
  promptPrefix?: string | null | undefined;
3926
4085
  temperature?: number | null | undefined;
@@ -3930,6 +4089,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3930
4089
  maxContextTokens?: number | undefined;
3931
4090
  max_tokens?: number | undefined;
3932
4091
  artifacts?: string | undefined;
4092
+ chatProjectId?: string | null | undefined;
3933
4093
  resendFiles?: boolean | undefined;
3934
4094
  imageDetail?: ImageDetail | undefined;
3935
4095
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -3941,11 +4101,11 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3941
4101
  stop?: string[] | undefined;
3942
4102
  greeting?: string | undefined;
3943
4103
  spec?: string | null | undefined;
4104
+ iconURL?: string | null | undefined;
3944
4105
  fileTokenLimit?: number | undefined;
3945
4106
  chatGptLabel?: string | null | undefined;
3946
4107
  }, {
3947
4108
  model?: string | null | undefined;
3948
- iconURL?: string | null | undefined;
3949
4109
  modelLabel?: string | null | undefined;
3950
4110
  promptPrefix?: string | null | undefined;
3951
4111
  temperature?: number | null | undefined;
@@ -3955,6 +4115,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3955
4115
  maxContextTokens?: string | number | undefined;
3956
4116
  max_tokens?: string | number | undefined;
3957
4117
  artifacts?: string | undefined;
4118
+ chatProjectId?: string | null | undefined;
3958
4119
  resendFiles?: boolean | undefined;
3959
4120
  imageDetail?: ImageDetail | undefined;
3960
4121
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -3966,6 +4127,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
3966
4127
  stop?: string[] | undefined;
3967
4128
  greeting?: string | undefined;
3968
4129
  spec?: string | null | undefined;
4130
+ iconURL?: string | null | undefined;
3969
4131
  fileTokenLimit?: string | number | undefined;
3970
4132
  chatGptLabel?: string | null | undefined;
3971
4133
  }>;
@@ -3987,16 +4149,20 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3987
4149
  label: z.ZodString;
3988
4150
  description: z.ZodString;
3989
4151
  optional: z.ZodOptional<z.ZodBoolean>;
4152
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
4153
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3990
4154
  }, "strip", z.ZodTypeAny, {
3991
4155
  description: string;
3992
4156
  authField: string;
3993
4157
  label: string;
3994
4158
  optional?: boolean | undefined;
4159
+ sensitive?: boolean | undefined;
3995
4160
  }, {
3996
4161
  description: string;
3997
4162
  authField: string;
3998
4163
  label: string;
3999
4164
  optional?: boolean | undefined;
4165
+ sensitive?: boolean | undefined;
4000
4166
  }>, "many">>;
4001
4167
  authenticated: z.ZodOptional<z.ZodBoolean>;
4002
4168
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -4012,6 +4178,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4012
4178
  authField: string;
4013
4179
  label: string;
4014
4180
  optional?: boolean | undefined;
4181
+ sensitive?: boolean | undefined;
4015
4182
  }[] | undefined;
4016
4183
  authenticated?: boolean | undefined;
4017
4184
  chatMenu?: boolean | undefined;
@@ -4027,6 +4194,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4027
4194
  authField: string;
4028
4195
  label: string;
4029
4196
  optional?: boolean | undefined;
4197
+ sensitive?: boolean | undefined;
4030
4198
  }[] | undefined;
4031
4199
  authenticated?: boolean | undefined;
4032
4200
  chatMenu?: boolean | undefined;
@@ -4086,6 +4254,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4086
4254
  };
4087
4255
  }>, "many">>;
4088
4256
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4257
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4089
4258
  createdAt: z.ZodString;
4090
4259
  updatedAt: z.ZodString;
4091
4260
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -4120,9 +4289,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4120
4289
  resendImages: z.ZodOptional<z.ZodBoolean>;
4121
4290
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4122
4291
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4123
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
4292
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
4124
4293
  model?: string | null | undefined;
4125
- iconURL?: string | null | undefined;
4126
4294
  modelLabel?: string | null | undefined;
4127
4295
  promptPrefix?: string | null | undefined;
4128
4296
  temperature?: number | null | undefined;
@@ -4132,6 +4300,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4132
4300
  maxContextTokens?: number | undefined;
4133
4301
  max_tokens?: number | undefined;
4134
4302
  artifacts?: string | undefined;
4303
+ chatProjectId?: string | null | undefined;
4135
4304
  resendFiles?: boolean | undefined;
4136
4305
  imageDetail?: ImageDetail | undefined;
4137
4306
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -4143,11 +4312,11 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4143
4312
  stop?: string[] | undefined;
4144
4313
  greeting?: string | undefined;
4145
4314
  spec?: string | null | undefined;
4315
+ iconURL?: string | null | undefined;
4146
4316
  fileTokenLimit?: number | undefined;
4147
4317
  chatGptLabel?: string | null | undefined;
4148
4318
  }, {
4149
4319
  model?: string | null | undefined;
4150
- iconURL?: string | null | undefined;
4151
4320
  modelLabel?: string | null | undefined;
4152
4321
  promptPrefix?: string | null | undefined;
4153
4322
  temperature?: number | null | undefined;
@@ -4157,6 +4326,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4157
4326
  maxContextTokens?: string | number | undefined;
4158
4327
  max_tokens?: string | number | undefined;
4159
4328
  artifacts?: string | undefined;
4329
+ chatProjectId?: string | null | undefined;
4160
4330
  resendFiles?: boolean | undefined;
4161
4331
  imageDetail?: ImageDetail | undefined;
4162
4332
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -4168,11 +4338,11 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4168
4338
  stop?: string[] | undefined;
4169
4339
  greeting?: string | undefined;
4170
4340
  spec?: string | null | undefined;
4341
+ iconURL?: string | null | undefined;
4171
4342
  fileTokenLimit?: string | number | undefined;
4172
4343
  chatGptLabel?: string | null | undefined;
4173
4344
  }>, Partial<Partial<TConversation>>, {
4174
4345
  model?: string | null | undefined;
4175
- iconURL?: string | null | undefined;
4176
4346
  modelLabel?: string | null | undefined;
4177
4347
  promptPrefix?: string | null | undefined;
4178
4348
  temperature?: number | null | undefined;
@@ -4182,6 +4352,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4182
4352
  maxContextTokens?: string | number | undefined;
4183
4353
  max_tokens?: string | number | undefined;
4184
4354
  artifacts?: string | undefined;
4355
+ chatProjectId?: string | null | undefined;
4185
4356
  resendFiles?: boolean | undefined;
4186
4357
  imageDetail?: ImageDetail | undefined;
4187
4358
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -4193,6 +4364,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4193
4364
  stop?: string[] | undefined;
4194
4365
  greeting?: string | undefined;
4195
4366
  spec?: string | null | undefined;
4367
+ iconURL?: string | null | undefined;
4196
4368
  fileTokenLimit?: string | number | undefined;
4197
4369
  chatGptLabel?: string | null | undefined;
4198
4370
  }>>;
@@ -4214,16 +4386,20 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4214
4386
  label: z.ZodString;
4215
4387
  description: z.ZodString;
4216
4388
  optional: z.ZodOptional<z.ZodBoolean>;
4389
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
4390
+ sensitive: z.ZodOptional<z.ZodBoolean>;
4217
4391
  }, "strip", z.ZodTypeAny, {
4218
4392
  description: string;
4219
4393
  authField: string;
4220
4394
  label: string;
4221
4395
  optional?: boolean | undefined;
4396
+ sensitive?: boolean | undefined;
4222
4397
  }, {
4223
4398
  description: string;
4224
4399
  authField: string;
4225
4400
  label: string;
4226
4401
  optional?: boolean | undefined;
4402
+ sensitive?: boolean | undefined;
4227
4403
  }>, "many">>;
4228
4404
  authenticated: z.ZodOptional<z.ZodBoolean>;
4229
4405
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -4239,6 +4415,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4239
4415
  authField: string;
4240
4416
  label: string;
4241
4417
  optional?: boolean | undefined;
4418
+ sensitive?: boolean | undefined;
4242
4419
  }[] | undefined;
4243
4420
  authenticated?: boolean | undefined;
4244
4421
  chatMenu?: boolean | undefined;
@@ -4254,6 +4431,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4254
4431
  authField: string;
4255
4432
  label: string;
4256
4433
  optional?: boolean | undefined;
4434
+ sensitive?: boolean | undefined;
4257
4435
  }[] | undefined;
4258
4436
  authenticated?: boolean | undefined;
4259
4437
  chatMenu?: boolean | undefined;
@@ -4313,6 +4491,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4313
4491
  };
4314
4492
  }>, "many">>;
4315
4493
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4494
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4316
4495
  createdAt: z.ZodString;
4317
4496
  updatedAt: z.ZodString;
4318
4497
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -4347,7 +4526,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4347
4526
  resendImages: z.ZodOptional<z.ZodBoolean>;
4348
4527
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4349
4528
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4350
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
4529
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
4351
4530
  conversationId: z.ZodNullable<z.ZodString>;
4352
4531
  endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
4353
4532
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
@@ -4365,16 +4544,20 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4365
4544
  label: z.ZodString;
4366
4545
  description: z.ZodString;
4367
4546
  optional: z.ZodOptional<z.ZodBoolean>;
4547
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
4548
+ sensitive: z.ZodOptional<z.ZodBoolean>;
4368
4549
  }, "strip", z.ZodTypeAny, {
4369
4550
  description: string;
4370
4551
  authField: string;
4371
4552
  label: string;
4372
4553
  optional?: boolean | undefined;
4554
+ sensitive?: boolean | undefined;
4373
4555
  }, {
4374
4556
  description: string;
4375
4557
  authField: string;
4376
4558
  label: string;
4377
4559
  optional?: boolean | undefined;
4560
+ sensitive?: boolean | undefined;
4378
4561
  }>, "many">>;
4379
4562
  authenticated: z.ZodOptional<z.ZodBoolean>;
4380
4563
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -4390,6 +4573,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4390
4573
  authField: string;
4391
4574
  label: string;
4392
4575
  optional?: boolean | undefined;
4576
+ sensitive?: boolean | undefined;
4393
4577
  }[] | undefined;
4394
4578
  authenticated?: boolean | undefined;
4395
4579
  chatMenu?: boolean | undefined;
@@ -4405,6 +4589,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4405
4589
  authField: string;
4406
4590
  label: string;
4407
4591
  optional?: boolean | undefined;
4592
+ sensitive?: boolean | undefined;
4408
4593
  }[] | undefined;
4409
4594
  authenticated?: boolean | undefined;
4410
4595
  chatMenu?: boolean | undefined;
@@ -4464,6 +4649,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4464
4649
  };
4465
4650
  }>, "many">>;
4466
4651
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4652
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4467
4653
  createdAt: z.ZodString;
4468
4654
  updatedAt: z.ZodString;
4469
4655
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -4500,7 +4686,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4500
4686
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4501
4687
  }, "promptCache">, "strip", z.ZodTypeAny, {
4502
4688
  model?: string | null | undefined;
4503
- iconURL?: string | null | undefined;
4504
4689
  modelLabel?: string | null | undefined;
4505
4690
  promptPrefix?: string | null | undefined;
4506
4691
  temperature?: number | null | undefined;
@@ -4511,6 +4696,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4511
4696
  max_tokens?: number | undefined;
4512
4697
  promptCache?: boolean | undefined;
4513
4698
  artifacts?: string | undefined;
4699
+ chatProjectId?: string | null | undefined;
4514
4700
  resendFiles?: boolean | undefined;
4515
4701
  imageDetail?: ImageDetail | undefined;
4516
4702
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -4522,11 +4708,11 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4522
4708
  stop?: string[] | undefined;
4523
4709
  greeting?: string | undefined;
4524
4710
  spec?: string | null | undefined;
4711
+ iconURL?: string | null | undefined;
4525
4712
  fileTokenLimit?: number | undefined;
4526
4713
  chatGptLabel?: string | null | undefined;
4527
4714
  }, {
4528
4715
  model?: string | null | undefined;
4529
- iconURL?: string | null | undefined;
4530
4716
  modelLabel?: string | null | undefined;
4531
4717
  promptPrefix?: string | null | undefined;
4532
4718
  temperature?: number | null | undefined;
@@ -4537,6 +4723,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4537
4723
  max_tokens?: string | number | undefined;
4538
4724
  promptCache?: boolean | undefined;
4539
4725
  artifacts?: string | undefined;
4726
+ chatProjectId?: string | null | undefined;
4540
4727
  resendFiles?: boolean | undefined;
4541
4728
  imageDetail?: ImageDetail | undefined;
4542
4729
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -4548,11 +4735,11 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4548
4735
  stop?: string[] | undefined;
4549
4736
  greeting?: string | undefined;
4550
4737
  spec?: string | null | undefined;
4738
+ iconURL?: string | null | undefined;
4551
4739
  fileTokenLimit?: string | number | undefined;
4552
4740
  chatGptLabel?: string | null | undefined;
4553
4741
  }>, Partial<Partial<TConversation>>, {
4554
4742
  model?: string | null | undefined;
4555
- iconURL?: string | null | undefined;
4556
4743
  modelLabel?: string | null | undefined;
4557
4744
  promptPrefix?: string | null | undefined;
4558
4745
  temperature?: number | null | undefined;
@@ -4563,6 +4750,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4563
4750
  max_tokens?: string | number | undefined;
4564
4751
  promptCache?: boolean | undefined;
4565
4752
  artifacts?: string | undefined;
4753
+ chatProjectId?: string | null | undefined;
4566
4754
  resendFiles?: boolean | undefined;
4567
4755
  imageDetail?: ImageDetail | undefined;
4568
4756
  reasoning_effort?: ReasoningEffort | null | undefined;
@@ -4574,6 +4762,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4574
4762
  stop?: string[] | undefined;
4575
4763
  greeting?: string | undefined;
4576
4764
  spec?: string | null | undefined;
4765
+ iconURL?: string | null | undefined;
4577
4766
  fileTokenLimit?: string | number | undefined;
4578
4767
  chatGptLabel?: string | null | undefined;
4579
4768
  }>>;
@@ -4595,16 +4784,20 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4595
4784
  label: z.ZodString;
4596
4785
  description: z.ZodString;
4597
4786
  optional: z.ZodOptional<z.ZodBoolean>;
4787
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
4788
+ sensitive: z.ZodOptional<z.ZodBoolean>;
4598
4789
  }, "strip", z.ZodTypeAny, {
4599
4790
  description: string;
4600
4791
  authField: string;
4601
4792
  label: string;
4602
4793
  optional?: boolean | undefined;
4794
+ sensitive?: boolean | undefined;
4603
4795
  }, {
4604
4796
  description: string;
4605
4797
  authField: string;
4606
4798
  label: string;
4607
4799
  optional?: boolean | undefined;
4800
+ sensitive?: boolean | undefined;
4608
4801
  }>, "many">>;
4609
4802
  authenticated: z.ZodOptional<z.ZodBoolean>;
4610
4803
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -4620,6 +4813,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4620
4813
  authField: string;
4621
4814
  label: string;
4622
4815
  optional?: boolean | undefined;
4816
+ sensitive?: boolean | undefined;
4623
4817
  }[] | undefined;
4624
4818
  authenticated?: boolean | undefined;
4625
4819
  chatMenu?: boolean | undefined;
@@ -4635,6 +4829,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4635
4829
  authField: string;
4636
4830
  label: string;
4637
4831
  optional?: boolean | undefined;
4832
+ sensitive?: boolean | undefined;
4638
4833
  }[] | undefined;
4639
4834
  authenticated?: boolean | undefined;
4640
4835
  chatMenu?: boolean | undefined;
@@ -4694,6 +4889,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4694
4889
  };
4695
4890
  }>, "many">>;
4696
4891
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4892
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4697
4893
  createdAt: z.ZodString;
4698
4894
  updatedAt: z.ZodString;
4699
4895
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -4728,9 +4924,8 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4728
4924
  resendImages: z.ZodOptional<z.ZodBoolean>;
4729
4925
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4730
4926
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4731
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "web_search" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
4927
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
4732
4928
  model?: string | null | undefined;
4733
- iconURL?: string | null | undefined;
4734
4929
  modelLabel?: string | null | undefined;
4735
4930
  promptPrefix?: string | null | undefined;
4736
4931
  temperature?: number | null | undefined;
@@ -4750,13 +4945,14 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4750
4945
  content: string;
4751
4946
  };
4752
4947
  }[] | undefined;
4948
+ chatProjectId?: string | null | undefined;
4753
4949
  web_search?: boolean | undefined;
4754
4950
  greeting?: string | undefined;
4755
4951
  spec?: string | null | undefined;
4952
+ iconURL?: string | null | undefined;
4756
4953
  fileTokenLimit?: number | undefined;
4757
4954
  }, {
4758
4955
  model?: string | null | undefined;
4759
- iconURL?: string | null | undefined;
4760
4956
  modelLabel?: string | null | undefined;
4761
4957
  promptPrefix?: string | null | undefined;
4762
4958
  temperature?: number | null | undefined;
@@ -4776,13 +4972,14 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4776
4972
  content: string;
4777
4973
  };
4778
4974
  }[] | undefined;
4975
+ chatProjectId?: string | null | undefined;
4779
4976
  web_search?: boolean | undefined;
4780
4977
  greeting?: string | undefined;
4781
4978
  spec?: string | null | undefined;
4979
+ iconURL?: string | null | undefined;
4782
4980
  fileTokenLimit?: string | number | undefined;
4783
4981
  }>, Partial<Partial<TConversation>>, {
4784
4982
  model?: string | null | undefined;
4785
- iconURL?: string | null | undefined;
4786
4983
  modelLabel?: string | null | undefined;
4787
4984
  promptPrefix?: string | null | undefined;
4788
4985
  temperature?: number | null | undefined;
@@ -4802,9 +4999,11 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4802
4999
  content: string;
4803
5000
  };
4804
5001
  }[] | undefined;
5002
+ chatProjectId?: string | null | undefined;
4805
5003
  web_search?: boolean | undefined;
4806
5004
  greeting?: string | undefined;
4807
5005
  spec?: string | null | undefined;
5006
+ iconURL?: string | null | undefined;
4808
5007
  fileTokenLimit?: string | number | undefined;
4809
5008
  }>>;
4810
5009
  export declare const anthropicBaseSchema: z.ZodObject<Pick<{
@@ -4825,16 +5024,20 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4825
5024
  label: z.ZodString;
4826
5025
  description: z.ZodString;
4827
5026
  optional: z.ZodOptional<z.ZodBoolean>;
5027
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
5028
+ sensitive: z.ZodOptional<z.ZodBoolean>;
4828
5029
  }, "strip", z.ZodTypeAny, {
4829
5030
  description: string;
4830
5031
  authField: string;
4831
5032
  label: string;
4832
5033
  optional?: boolean | undefined;
5034
+ sensitive?: boolean | undefined;
4833
5035
  }, {
4834
5036
  description: string;
4835
5037
  authField: string;
4836
5038
  label: string;
4837
5039
  optional?: boolean | undefined;
5040
+ sensitive?: boolean | undefined;
4838
5041
  }>, "many">>;
4839
5042
  authenticated: z.ZodOptional<z.ZodBoolean>;
4840
5043
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -4850,6 +5053,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4850
5053
  authField: string;
4851
5054
  label: string;
4852
5055
  optional?: boolean | undefined;
5056
+ sensitive?: boolean | undefined;
4853
5057
  }[] | undefined;
4854
5058
  authenticated?: boolean | undefined;
4855
5059
  chatMenu?: boolean | undefined;
@@ -4865,6 +5069,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4865
5069
  authField: string;
4866
5070
  label: string;
4867
5071
  optional?: boolean | undefined;
5072
+ sensitive?: boolean | undefined;
4868
5073
  }[] | undefined;
4869
5074
  authenticated?: boolean | undefined;
4870
5075
  chatMenu?: boolean | undefined;
@@ -4924,6 +5129,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4924
5129
  };
4925
5130
  }>, "many">>;
4926
5131
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5132
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4927
5133
  createdAt: z.ZodString;
4928
5134
  updatedAt: z.ZodString;
4929
5135
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -4958,9 +5164,8 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4958
5164
  resendImages: z.ZodOptional<z.ZodBoolean>;
4959
5165
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4960
5166
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4961
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
5167
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
4962
5168
  model?: string | null | undefined;
4963
- iconURL?: string | null | undefined;
4964
5169
  modelLabel?: string | null | undefined;
4965
5170
  promptPrefix?: string | null | undefined;
4966
5171
  temperature?: number | null | undefined;
@@ -4973,6 +5178,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4973
5178
  thinkingBudget?: number | undefined;
4974
5179
  stream?: boolean | undefined;
4975
5180
  artifacts?: string | undefined;
5181
+ chatProjectId?: string | null | undefined;
4976
5182
  resendFiles?: boolean | undefined;
4977
5183
  effort?: AnthropicEffort | null | undefined;
4978
5184
  thinkingDisplay?: ThinkingDisplay | null | undefined;
@@ -4980,10 +5186,10 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4980
5186
  stop?: string[] | undefined;
4981
5187
  greeting?: string | undefined;
4982
5188
  spec?: string | null | undefined;
5189
+ iconURL?: string | null | undefined;
4983
5190
  fileTokenLimit?: number | undefined;
4984
5191
  }, {
4985
5192
  model?: string | null | undefined;
4986
- iconURL?: string | null | undefined;
4987
5193
  modelLabel?: string | null | undefined;
4988
5194
  promptPrefix?: string | null | undefined;
4989
5195
  temperature?: number | null | undefined;
@@ -4996,6 +5202,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
4996
5202
  thinkingBudget?: string | number | undefined;
4997
5203
  stream?: boolean | undefined;
4998
5204
  artifacts?: string | undefined;
5205
+ chatProjectId?: string | null | undefined;
4999
5206
  resendFiles?: boolean | undefined;
5000
5207
  effort?: AnthropicEffort | null | undefined;
5001
5208
  thinkingDisplay?: ThinkingDisplay | null | undefined;
@@ -5003,6 +5210,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
5003
5210
  stop?: string[] | undefined;
5004
5211
  greeting?: string | undefined;
5005
5212
  spec?: string | null | undefined;
5213
+ iconURL?: string | null | undefined;
5006
5214
  fileTokenLimit?: string | number | undefined;
5007
5215
  }>;
5008
5216
  export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
@@ -5023,16 +5231,20 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5023
5231
  label: z.ZodString;
5024
5232
  description: z.ZodString;
5025
5233
  optional: z.ZodOptional<z.ZodBoolean>;
5234
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
5235
+ sensitive: z.ZodOptional<z.ZodBoolean>;
5026
5236
  }, "strip", z.ZodTypeAny, {
5027
5237
  description: string;
5028
5238
  authField: string;
5029
5239
  label: string;
5030
5240
  optional?: boolean | undefined;
5241
+ sensitive?: boolean | undefined;
5031
5242
  }, {
5032
5243
  description: string;
5033
5244
  authField: string;
5034
5245
  label: string;
5035
5246
  optional?: boolean | undefined;
5247
+ sensitive?: boolean | undefined;
5036
5248
  }>, "many">>;
5037
5249
  authenticated: z.ZodOptional<z.ZodBoolean>;
5038
5250
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -5048,6 +5260,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5048
5260
  authField: string;
5049
5261
  label: string;
5050
5262
  optional?: boolean | undefined;
5263
+ sensitive?: boolean | undefined;
5051
5264
  }[] | undefined;
5052
5265
  authenticated?: boolean | undefined;
5053
5266
  chatMenu?: boolean | undefined;
@@ -5063,6 +5276,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5063
5276
  authField: string;
5064
5277
  label: string;
5065
5278
  optional?: boolean | undefined;
5279
+ sensitive?: boolean | undefined;
5066
5280
  }[] | undefined;
5067
5281
  authenticated?: boolean | undefined;
5068
5282
  chatMenu?: boolean | undefined;
@@ -5122,6 +5336,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5122
5336
  };
5123
5337
  }>, "many">>;
5124
5338
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5339
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5125
5340
  createdAt: z.ZodString;
5126
5341
  updatedAt: z.ZodString;
5127
5342
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -5156,9 +5371,8 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5156
5371
  resendImages: z.ZodOptional<z.ZodBoolean>;
5157
5372
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
5158
5373
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5159
- }, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
5374
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
5160
5375
  model?: string | null | undefined;
5161
- iconURL?: string | null | undefined;
5162
5376
  modelLabel?: string | null | undefined;
5163
5377
  promptPrefix?: string | null | undefined;
5164
5378
  temperature?: number | null | undefined;
@@ -5171,6 +5385,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5171
5385
  thinkingBudget?: number | undefined;
5172
5386
  stream?: boolean | undefined;
5173
5387
  artifacts?: string | undefined;
5388
+ chatProjectId?: string | null | undefined;
5174
5389
  resendFiles?: boolean | undefined;
5175
5390
  effort?: AnthropicEffort | null | undefined;
5176
5391
  thinkingDisplay?: ThinkingDisplay | null | undefined;
@@ -5178,10 +5393,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5178
5393
  stop?: string[] | undefined;
5179
5394
  greeting?: string | undefined;
5180
5395
  spec?: string | null | undefined;
5396
+ iconURL?: string | null | undefined;
5181
5397
  fileTokenLimit?: number | undefined;
5182
5398
  }, {
5183
5399
  model?: string | null | undefined;
5184
- iconURL?: string | null | undefined;
5185
5400
  modelLabel?: string | null | undefined;
5186
5401
  promptPrefix?: string | null | undefined;
5187
5402
  temperature?: number | null | undefined;
@@ -5194,6 +5409,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5194
5409
  thinkingBudget?: string | number | undefined;
5195
5410
  stream?: boolean | undefined;
5196
5411
  artifacts?: string | undefined;
5412
+ chatProjectId?: string | null | undefined;
5197
5413
  resendFiles?: boolean | undefined;
5198
5414
  effort?: AnthropicEffort | null | undefined;
5199
5415
  thinkingDisplay?: ThinkingDisplay | null | undefined;
@@ -5201,10 +5417,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5201
5417
  stop?: string[] | undefined;
5202
5418
  greeting?: string | undefined;
5203
5419
  spec?: string | null | undefined;
5420
+ iconURL?: string | null | undefined;
5204
5421
  fileTokenLimit?: string | number | undefined;
5205
5422
  }>, Partial<{
5206
5423
  model?: string | null | undefined;
5207
- iconURL?: string | null | undefined;
5208
5424
  modelLabel?: string | null | undefined;
5209
5425
  promptPrefix?: string | null | undefined;
5210
5426
  temperature?: number | null | undefined;
@@ -5217,6 +5433,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5217
5433
  thinkingBudget?: number | undefined;
5218
5434
  stream?: boolean | undefined;
5219
5435
  artifacts?: string | undefined;
5436
+ chatProjectId?: string | null | undefined;
5220
5437
  resendFiles?: boolean | undefined;
5221
5438
  effort?: AnthropicEffort | null | undefined;
5222
5439
  thinkingDisplay?: ThinkingDisplay | null | undefined;
@@ -5224,10 +5441,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5224
5441
  stop?: string[] | undefined;
5225
5442
  greeting?: string | undefined;
5226
5443
  spec?: string | null | undefined;
5444
+ iconURL?: string | null | undefined;
5227
5445
  fileTokenLimit?: number | undefined;
5228
5446
  }>, {
5229
5447
  model?: string | null | undefined;
5230
- iconURL?: string | null | undefined;
5231
5448
  modelLabel?: string | null | undefined;
5232
5449
  promptPrefix?: string | null | undefined;
5233
5450
  temperature?: number | null | undefined;
@@ -5240,6 +5457,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5240
5457
  thinkingBudget?: string | number | undefined;
5241
5458
  stream?: boolean | undefined;
5242
5459
  artifacts?: string | undefined;
5460
+ chatProjectId?: string | null | undefined;
5243
5461
  resendFiles?: boolean | undefined;
5244
5462
  effort?: AnthropicEffort | null | undefined;
5245
5463
  thinkingDisplay?: ThinkingDisplay | null | undefined;
@@ -5247,6 +5465,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5247
5465
  stop?: string[] | undefined;
5248
5466
  greeting?: string | undefined;
5249
5467
  spec?: string | null | undefined;
5468
+ iconURL?: string | null | undefined;
5250
5469
  fileTokenLimit?: string | number | undefined;
5251
5470
  }>>;
5252
5471
  export declare const tBannerSchema: z.ZodObject<{
@@ -5296,16 +5515,20 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5296
5515
  label: z.ZodString;
5297
5516
  description: z.ZodString;
5298
5517
  optional: z.ZodOptional<z.ZodBoolean>;
5518
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
5519
+ sensitive: z.ZodOptional<z.ZodBoolean>;
5299
5520
  }, "strip", z.ZodTypeAny, {
5300
5521
  description: string;
5301
5522
  authField: string;
5302
5523
  label: string;
5303
5524
  optional?: boolean | undefined;
5525
+ sensitive?: boolean | undefined;
5304
5526
  }, {
5305
5527
  description: string;
5306
5528
  authField: string;
5307
5529
  label: string;
5308
5530
  optional?: boolean | undefined;
5531
+ sensitive?: boolean | undefined;
5309
5532
  }>, "many">>;
5310
5533
  authenticated: z.ZodOptional<z.ZodBoolean>;
5311
5534
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -5321,6 +5544,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5321
5544
  authField: string;
5322
5545
  label: string;
5323
5546
  optional?: boolean | undefined;
5547
+ sensitive?: boolean | undefined;
5324
5548
  }[] | undefined;
5325
5549
  authenticated?: boolean | undefined;
5326
5550
  chatMenu?: boolean | undefined;
@@ -5336,6 +5560,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5336
5560
  authField: string;
5337
5561
  label: string;
5338
5562
  optional?: boolean | undefined;
5563
+ sensitive?: boolean | undefined;
5339
5564
  }[] | undefined;
5340
5565
  authenticated?: boolean | undefined;
5341
5566
  chatMenu?: boolean | undefined;
@@ -5395,6 +5620,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5395
5620
  };
5396
5621
  }>, "many">>;
5397
5622
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5623
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5398
5624
  createdAt: z.ZodString;
5399
5625
  updatedAt: z.ZodString;
5400
5626
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -5429,20 +5655,22 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5429
5655
  resendImages: z.ZodOptional<z.ZodBoolean>;
5430
5656
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
5431
5657
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5432
- }, "iconURL" | "agent_id" | "instructions" | "additional_instructions" | "greeting" | "spec">, "strip", z.ZodTypeAny, {
5433
- iconURL?: string | null | undefined;
5658
+ }, "chatProjectId" | "agent_id" | "instructions" | "additional_instructions" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
5659
+ chatProjectId?: string | null | undefined;
5434
5660
  agent_id?: string | undefined;
5435
5661
  instructions?: string | undefined;
5436
5662
  additional_instructions?: string | undefined;
5437
5663
  greeting?: string | undefined;
5438
5664
  spec?: string | null | undefined;
5439
- }, {
5440
5665
  iconURL?: string | null | undefined;
5666
+ }, {
5667
+ chatProjectId?: string | null | undefined;
5441
5668
  agent_id?: string | undefined;
5442
5669
  instructions?: string | undefined;
5443
5670
  additional_instructions?: string | undefined;
5444
5671
  greeting?: string | undefined;
5445
5672
  spec?: string | null | undefined;
5673
+ iconURL?: string | null | undefined;
5446
5674
  }>;
5447
5675
  export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5448
5676
  conversationId: z.ZodNullable<z.ZodString>;
@@ -5462,16 +5690,20 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5462
5690
  label: z.ZodString;
5463
5691
  description: z.ZodString;
5464
5692
  optional: z.ZodOptional<z.ZodBoolean>;
5693
+ /** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
5694
+ sensitive: z.ZodOptional<z.ZodBoolean>;
5465
5695
  }, "strip", z.ZodTypeAny, {
5466
5696
  description: string;
5467
5697
  authField: string;
5468
5698
  label: string;
5469
5699
  optional?: boolean | undefined;
5700
+ sensitive?: boolean | undefined;
5470
5701
  }, {
5471
5702
  description: string;
5472
5703
  authField: string;
5473
5704
  label: string;
5474
5705
  optional?: boolean | undefined;
5706
+ sensitive?: boolean | undefined;
5475
5707
  }>, "many">>;
5476
5708
  authenticated: z.ZodOptional<z.ZodBoolean>;
5477
5709
  chatMenu: z.ZodOptional<z.ZodBoolean>;
@@ -5487,6 +5719,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5487
5719
  authField: string;
5488
5720
  label: string;
5489
5721
  optional?: boolean | undefined;
5722
+ sensitive?: boolean | undefined;
5490
5723
  }[] | undefined;
5491
5724
  authenticated?: boolean | undefined;
5492
5725
  chatMenu?: boolean | undefined;
@@ -5502,6 +5735,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5502
5735
  authField: string;
5503
5736
  label: string;
5504
5737
  optional?: boolean | undefined;
5738
+ sensitive?: boolean | undefined;
5505
5739
  }[] | undefined;
5506
5740
  authenticated?: boolean | undefined;
5507
5741
  chatMenu?: boolean | undefined;
@@ -5561,6 +5795,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5561
5795
  };
5562
5796
  }>, "many">>;
5563
5797
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5798
+ chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5564
5799
  createdAt: z.ZodString;
5565
5800
  updatedAt: z.ZodString;
5566
5801
  resendFiles: z.ZodOptional<z.ZodBoolean>;
@@ -5595,33 +5830,37 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5595
5830
  resendImages: z.ZodOptional<z.ZodBoolean>;
5596
5831
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
5597
5832
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5598
- }, "iconURL" | "agent_id" | "instructions" | "additional_instructions" | "greeting" | "spec">, "strip", z.ZodTypeAny, {
5599
- iconURL?: string | null | undefined;
5833
+ }, "chatProjectId" | "agent_id" | "instructions" | "additional_instructions" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
5834
+ chatProjectId?: string | null | undefined;
5600
5835
  agent_id?: string | undefined;
5601
5836
  instructions?: string | undefined;
5602
5837
  additional_instructions?: string | undefined;
5603
5838
  greeting?: string | undefined;
5604
5839
  spec?: string | null | undefined;
5605
- }, {
5606
5840
  iconURL?: string | null | undefined;
5841
+ }, {
5842
+ chatProjectId?: string | null | undefined;
5607
5843
  agent_id?: string | undefined;
5608
5844
  instructions?: string | undefined;
5609
5845
  additional_instructions?: string | undefined;
5610
5846
  greeting?: string | undefined;
5611
5847
  spec?: string | null | undefined;
5612
- }>, Partial<{
5613
5848
  iconURL?: string | null | undefined;
5849
+ }>, Partial<{
5850
+ chatProjectId?: string | null | undefined;
5614
5851
  agent_id?: string | undefined;
5615
5852
  instructions?: string | undefined;
5616
5853
  additional_instructions?: string | undefined;
5617
5854
  greeting?: string | undefined;
5618
5855
  spec?: string | null | undefined;
5619
- }>, {
5620
5856
  iconURL?: string | null | undefined;
5857
+ }>, {
5858
+ chatProjectId?: string | null | undefined;
5621
5859
  agent_id?: string | undefined;
5622
5860
  instructions?: string | undefined;
5623
5861
  additional_instructions?: string | undefined;
5624
5862
  greeting?: string | undefined;
5625
5863
  spec?: string | null | undefined;
5864
+ iconURL?: string | null | undefined;
5626
5865
  }>>;
5627
5866
  export {};