librechat-data-provider 0.8.509 → 0.8.521

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 (42) hide show
  1. package/dist/{data-service-XTxx76uB.js → data-service-DOIF4BkW.js} +1195 -91
  2. package/dist/data-service-DOIF4BkW.js.map +1 -0
  3. package/dist/{data-service-BsdHkdKS.mjs → data-service-pwrlWjJs.mjs} +1046 -92
  4. package/dist/data-service-pwrlWjJs.mjs.map +1 -0
  5. package/dist/index.js +457 -57
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +425 -58
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +1 -1
  10. package/dist/react-query/index.js.map +1 -1
  11. package/dist/react-query/index.mjs +1 -1
  12. package/dist/react-query/index.mjs.map +1 -1
  13. package/dist/types/actions.d.ts +1 -1
  14. package/dist/types/api-endpoints.d.ts +10 -2
  15. package/dist/types/bedrock.d.ts +52 -0
  16. package/dist/types/config.d.ts +4142 -183
  17. package/dist/types/data-service.d.ts +27 -14
  18. package/dist/types/feedback.d.ts +9 -1
  19. package/dist/types/file-config.d.ts +41 -5
  20. package/dist/types/generate.d.ts +6 -0
  21. package/dist/types/keys.d.ts +6 -2
  22. package/dist/types/mcp.d.ts +45 -24
  23. package/dist/types/messages.d.ts +8 -0
  24. package/dist/types/models.d.ts +108 -0
  25. package/dist/types/parameterSettings.d.ts +2 -2
  26. package/dist/types/parsers.d.ts +3 -1
  27. package/dist/types/react-query/react-query-service.d.ts +2 -7
  28. package/dist/types/request.d.ts +3 -1
  29. package/dist/types/schemas.d.ts +167 -8
  30. package/dist/types/types/agents.d.ts +211 -1
  31. package/dist/types/types/assistants.d.ts +77 -5
  32. package/dist/types/types/files.d.ts +18 -7
  33. package/dist/types/types/mcpServers.d.ts +25 -0
  34. package/dist/types/types/mutations.d.ts +1 -0
  35. package/dist/types/types/queries.d.ts +17 -3
  36. package/dist/types/types/runs.d.ts +114 -25
  37. package/dist/types/types/skills.d.ts +25 -6
  38. package/dist/types/types.d.ts +115 -2
  39. package/dist/types/upload.d.ts +2 -0
  40. package/package.json +4 -4
  41. package/dist/data-service-BsdHkdKS.mjs.map +0 -1
  42. package/dist/data-service-XTxx76uB.js.map +0 -1
@@ -90,7 +90,8 @@ export declare enum ReasoningEffort {
90
90
  low = "low",
91
91
  medium = "medium",
92
92
  high = "high",
93
- xhigh = "xhigh"
93
+ xhigh = "xhigh",
94
+ max = "max"
94
95
  }
95
96
  export declare enum ReasoningParameterFormat {
96
97
  disabled = "disabled",
@@ -153,6 +154,19 @@ export declare enum ThinkingLevel {
153
154
  medium = "medium",
154
155
  high = "high"
155
156
  }
157
+ /** OpenAI Responses API `reasoning.mode` (GPT-5.6+). */
158
+ export declare enum ReasoningMode {
159
+ unset = "",
160
+ standard = "standard",
161
+ pro = "pro"
162
+ }
163
+ /** OpenAI Responses API `reasoning.context` (GPT-5.6+). */
164
+ export declare enum ReasoningContext {
165
+ unset = "",
166
+ auto = "auto",
167
+ current_turn = "current_turn",
168
+ all_turns = "all_turns"
169
+ }
156
170
  export declare const imageDetailNumeric: {
157
171
  low: number;
158
172
  auto: number;
@@ -172,6 +186,8 @@ export declare const eThinkingDisplaySchema: z.ZodNativeEnum<typeof ThinkingDisp
172
186
  export declare const eReasoningSummarySchema: z.ZodNativeEnum<typeof ReasoningSummary>;
173
187
  export declare const eVerbositySchema: z.ZodNativeEnum<typeof Verbosity>;
174
188
  export declare const eThinkingLevelSchema: z.ZodNativeEnum<typeof ThinkingLevel>;
189
+ export declare const eReasoningModeSchema: z.ZodNativeEnum<typeof ReasoningMode>;
190
+ export declare const eReasoningContextSchema: z.ZodNativeEnum<typeof ReasoningContext>;
175
191
  export declare const defaultAssistantFormValues: {
176
192
  assistant: string;
177
193
  id: string;
@@ -203,6 +219,7 @@ export declare const defaultAgentFormValues: {
203
219
  execute_code: boolean;
204
220
  file_search: boolean;
205
221
  web_search: boolean;
222
+ memory: boolean;
206
223
  category: string;
207
224
  support_contact: {
208
225
  name: string;
@@ -220,6 +237,8 @@ export declare const defaultAgentFormValues: {
220
237
  allowSelf?: boolean;
221
238
  agent_ids?: string[];
222
239
  } | undefined;
240
+ /** Memory partition: 'agent' isolates memories per (user, agent); default shared pool */
241
+ memory_scope: MemoryScope | undefined;
223
242
  };
224
243
  export declare const ImageVisionTool: FunctionTool;
225
244
  export declare const isImageVisionTool: (tool: FunctionTool | FunctionToolCall) => boolean;
@@ -833,7 +852,7 @@ export declare const tMessageSchema: z.ZodObject<{
833
852
  finish_reason: z.ZodOptional<z.ZodString>;
834
853
  thread_id: z.ZodOptional<z.ZodString>;
835
854
  iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
836
- feedback: z.ZodOptional<z.ZodObject<{
855
+ feedback: z.ZodOptional<z.ZodEffects<z.ZodObject<{
837
856
  rating: z.ZodEnum<["thumbsUp", "thumbsDown"]>;
838
857
  tag: z.ZodEnum<["not_matched", "inaccurate", "bad_style", "missing_image", "unjustified_refusal", "not_helpful", "other", "accurate_reliable", "creative_solution", "clear_well_written", "attention_to_detail"]>;
839
858
  text: z.ZodOptional<z.ZodString>;
@@ -845,6 +864,14 @@ export declare const tMessageSchema: z.ZodObject<{
845
864
  rating: "thumbsUp" | "thumbsDown";
846
865
  tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
847
866
  text?: string | undefined;
867
+ }>, {
868
+ rating: "thumbsUp" | "thumbsDown";
869
+ tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
870
+ text?: string | undefined;
871
+ }, {
872
+ rating: "thumbsUp" | "thumbsDown";
873
+ tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
874
+ text?: string | undefined;
848
875
  }>>;
849
876
  /** metadata */
850
877
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -899,13 +926,13 @@ export declare const tMessageSchema: z.ZodObject<{
899
926
  iconURL?: string | null | undefined;
900
927
  expiredAt?: string | null | undefined;
901
928
  isTemporary?: boolean | undefined;
902
- error?: boolean | undefined;
903
929
  clientId?: string | null | undefined;
904
930
  responseMessageId?: string | null | undefined;
905
931
  overrideParentMessageId?: string | null | undefined;
906
932
  bg?: string | null | undefined;
907
933
  sender?: string | undefined;
908
934
  generation?: string | null | undefined;
935
+ error?: boolean | undefined;
909
936
  clientTimestamp?: string | undefined;
910
937
  current?: boolean | undefined;
911
938
  unfinished?: boolean | undefined;
@@ -940,13 +967,13 @@ export declare const tMessageSchema: z.ZodObject<{
940
967
  iconURL?: string | null | undefined;
941
968
  expiredAt?: string | null | undefined;
942
969
  isTemporary?: boolean | undefined;
943
- error?: boolean | undefined;
944
970
  clientId?: string | null | undefined;
945
971
  responseMessageId?: string | null | undefined;
946
972
  overrideParentMessageId?: string | null | undefined;
947
973
  bg?: string | null | undefined;
948
974
  sender?: string | undefined;
949
975
  generation?: string | null | undefined;
976
+ error?: boolean | undefined;
950
977
  clientTimestamp?: string | undefined;
951
978
  current?: boolean | undefined;
952
979
  unfinished?: boolean | undefined;
@@ -968,11 +995,22 @@ export declare const tMessageSchema: z.ZodObject<{
968
995
  alwaysAppliedSkills?: string[] | undefined;
969
996
  quotes?: string[] | undefined;
970
997
  }>;
998
+ /**
999
+ * Which memory partition an agent reads/writes.
1000
+ * `user` = the shared personal pool (default); `agent` = a partition
1001
+ * isolated per (user, agent) so the agent only sees its own memories.
1002
+ */
1003
+ export declare enum MemoryScope {
1004
+ user = "user",
1005
+ agent = "agent"
1006
+ }
971
1007
  export type MemoryArtifact = {
972
1008
  key: string;
973
1009
  value?: string;
974
1010
  tokenCount?: number;
975
1011
  type: 'update' | 'delete' | 'error';
1012
+ /** Agent partition the write targeted; absent = shared personal pool */
1013
+ agentId?: string;
976
1014
  };
977
1015
  export type UIResource = {
978
1016
  resourceId: string;
@@ -1013,6 +1051,8 @@ export declare const tConversationSchema: z.ZodObject<{
1013
1051
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1014
1052
  isArchived: z.ZodOptional<z.ZodBoolean>;
1015
1053
  pinned: z.ZodOptional<z.ZodBoolean>;
1054
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
1055
+ isShared: z.ZodOptional<z.ZodBoolean>;
1016
1056
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
1017
1057
  user: z.ZodOptional<z.ZodString>;
1018
1058
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1140,6 +1180,8 @@ export declare const tConversationSchema: z.ZodObject<{
1140
1180
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
1141
1181
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
1142
1182
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
1183
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
1184
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
1143
1185
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
1144
1186
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
1145
1187
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -1180,6 +1222,7 @@ export declare const tConversationSchema: z.ZodObject<{
1180
1222
  endpointType?: EModelEndpoint | null | undefined;
1181
1223
  isArchived?: boolean | undefined;
1182
1224
  pinned?: boolean | undefined;
1225
+ isShared?: boolean | undefined;
1183
1226
  messages?: string[] | undefined;
1184
1227
  tools?: string[] | {
1185
1228
  name: string;
@@ -1234,6 +1277,8 @@ export declare const tConversationSchema: z.ZodObject<{
1234
1277
  imageDetail?: ImageDetail | undefined;
1235
1278
  reasoning_effort?: ReasoningEffort | null | undefined;
1236
1279
  reasoning_summary?: ReasoningSummary | null | undefined;
1280
+ reasoning_mode?: ReasoningMode | null | undefined;
1281
+ reasoning_context?: ReasoningContext | null | undefined;
1237
1282
  verbosity?: Verbosity | null | undefined;
1238
1283
  useResponsesApi?: boolean | undefined;
1239
1284
  effort?: AnthropicEffort | null | undefined;
@@ -1270,6 +1315,7 @@ export declare const tConversationSchema: z.ZodObject<{
1270
1315
  endpointType?: EModelEndpoint | null | undefined;
1271
1316
  isArchived?: boolean | undefined;
1272
1317
  pinned?: boolean | undefined;
1318
+ isShared?: boolean | undefined;
1273
1319
  title?: string | null | undefined;
1274
1320
  messages?: string[] | undefined;
1275
1321
  tools?: string[] | {
@@ -1325,6 +1371,8 @@ export declare const tConversationSchema: z.ZodObject<{
1325
1371
  imageDetail?: ImageDetail | undefined;
1326
1372
  reasoning_effort?: ReasoningEffort | null | undefined;
1327
1373
  reasoning_summary?: ReasoningSummary | null | undefined;
1374
+ reasoning_mode?: ReasoningMode | null | undefined;
1375
+ reasoning_context?: ReasoningContext | null | undefined;
1328
1376
  verbosity?: Verbosity | null | undefined;
1329
1377
  useResponsesApi?: boolean | undefined;
1330
1378
  effort?: AnthropicEffort | null | undefined;
@@ -1358,6 +1406,7 @@ export declare const tPresetSchema: z.ZodObject<{
1358
1406
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1359
1407
  isArchived: z.ZodOptional<z.ZodBoolean>;
1360
1408
  pinned: z.ZodOptional<z.ZodBoolean>;
1409
+ isShared: z.ZodOptional<z.ZodBoolean>;
1361
1410
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1362
1411
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1363
1412
  name: z.ZodString;
@@ -1478,6 +1527,8 @@ export declare const tPresetSchema: z.ZodObject<{
1478
1527
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
1479
1528
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
1480
1529
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
1530
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
1531
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
1481
1532
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
1482
1533
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
1483
1534
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -1519,6 +1570,7 @@ export declare const tPresetSchema: z.ZodObject<{
1519
1570
  endpointType?: EModelEndpoint | null | undefined;
1520
1571
  isArchived?: boolean | undefined;
1521
1572
  pinned?: boolean | undefined;
1573
+ isShared?: boolean | undefined;
1522
1574
  title?: string | null | undefined;
1523
1575
  messages?: string[] | undefined;
1524
1576
  tools?: string[] | {
@@ -1573,6 +1625,8 @@ export declare const tPresetSchema: z.ZodObject<{
1573
1625
  imageDetail?: ImageDetail | undefined;
1574
1626
  reasoning_effort?: ReasoningEffort | null | undefined;
1575
1627
  reasoning_summary?: ReasoningSummary | null | undefined;
1628
+ reasoning_mode?: ReasoningMode | null | undefined;
1629
+ reasoning_context?: ReasoningContext | null | undefined;
1576
1630
  verbosity?: Verbosity | null | undefined;
1577
1631
  useResponsesApi?: boolean | undefined;
1578
1632
  effort?: AnthropicEffort | null | undefined;
@@ -1610,6 +1664,7 @@ export declare const tPresetSchema: z.ZodObject<{
1610
1664
  endpointType?: EModelEndpoint | null | undefined;
1611
1665
  isArchived?: boolean | undefined;
1612
1666
  pinned?: boolean | undefined;
1667
+ isShared?: boolean | undefined;
1613
1668
  title?: string | null | undefined;
1614
1669
  messages?: string[] | undefined;
1615
1670
  tools?: string[] | {
@@ -1664,6 +1719,8 @@ export declare const tPresetSchema: z.ZodObject<{
1664
1719
  imageDetail?: ImageDetail | undefined;
1665
1720
  reasoning_effort?: ReasoningEffort | null | undefined;
1666
1721
  reasoning_summary?: ReasoningSummary | null | undefined;
1722
+ reasoning_mode?: ReasoningMode | null | undefined;
1723
+ reasoning_context?: ReasoningContext | null | undefined;
1667
1724
  verbosity?: Verbosity | null | undefined;
1668
1725
  useResponsesApi?: boolean | undefined;
1669
1726
  effort?: AnthropicEffort | null | undefined;
@@ -1698,6 +1755,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1698
1755
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1699
1756
  isArchived: z.ZodOptional<z.ZodBoolean>;
1700
1757
  pinned: z.ZodOptional<z.ZodBoolean>;
1758
+ isShared: z.ZodOptional<z.ZodBoolean>;
1701
1759
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
1702
1760
  user: z.ZodOptional<z.ZodString>;
1703
1761
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1823,6 +1881,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1823
1881
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
1824
1882
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
1825
1883
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
1884
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
1885
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
1826
1886
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
1827
1887
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
1828
1888
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -1862,6 +1922,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1862
1922
  endpointType?: EModelEndpoint | null | undefined;
1863
1923
  isArchived?: boolean | undefined;
1864
1924
  pinned?: boolean | undefined;
1925
+ isShared?: boolean | undefined;
1865
1926
  messages?: string[] | undefined;
1866
1927
  tools?: string[] | {
1867
1928
  name: string;
@@ -1918,6 +1979,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1918
1979
  imageDetail?: ImageDetail | undefined;
1919
1980
  reasoning_effort?: ReasoningEffort | null | undefined;
1920
1981
  reasoning_summary?: ReasoningSummary | null | undefined;
1982
+ reasoning_mode?: ReasoningMode | null | undefined;
1983
+ reasoning_context?: ReasoningContext | null | undefined;
1921
1984
  verbosity?: Verbosity | null | undefined;
1922
1985
  useResponsesApi?: boolean | undefined;
1923
1986
  effort?: AnthropicEffort | null | undefined;
@@ -1952,6 +2015,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
1952
2015
  endpointType?: EModelEndpoint | null | undefined;
1953
2016
  isArchived?: boolean | undefined;
1954
2017
  pinned?: boolean | undefined;
2018
+ isShared?: boolean | undefined;
1955
2019
  title?: string | null | undefined;
1956
2020
  messages?: string[] | undefined;
1957
2021
  tools?: string[] | {
@@ -2009,6 +2073,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2009
2073
  imageDetail?: ImageDetail | undefined;
2010
2074
  reasoning_effort?: ReasoningEffort | null | undefined;
2011
2075
  reasoning_summary?: ReasoningSummary | null | undefined;
2076
+ reasoning_mode?: ReasoningMode | null | undefined;
2077
+ reasoning_context?: ReasoningContext | null | undefined;
2012
2078
  verbosity?: Verbosity | null | undefined;
2013
2079
  useResponsesApi?: boolean | undefined;
2014
2080
  effort?: AnthropicEffort | null | undefined;
@@ -2041,6 +2107,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2041
2107
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
2042
2108
  isArchived: z.ZodOptional<z.ZodBoolean>;
2043
2109
  pinned: z.ZodOptional<z.ZodBoolean>;
2110
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
2111
+ isShared: z.ZodOptional<z.ZodBoolean>;
2044
2112
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
2045
2113
  user: z.ZodOptional<z.ZodString>;
2046
2114
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2168,6 +2236,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2168
2236
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
2169
2237
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
2170
2238
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
2239
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
2240
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
2171
2241
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
2172
2242
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
2173
2243
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -2196,7 +2266,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2196
2266
  resendImages: z.ZodOptional<z.ZodBoolean>;
2197
2267
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
2198
2268
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2199
- }, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
2269
+ }, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
2200
2270
  /** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */
2201
2271
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
2202
2272
  }, "strip", z.ZodTypeAny, {
@@ -2221,6 +2291,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2221
2291
  imageDetail?: ImageDetail | undefined;
2222
2292
  reasoning_effort?: ReasoningEffort | null | undefined;
2223
2293
  reasoning_summary?: ReasoningSummary | null | undefined;
2294
+ reasoning_mode?: ReasoningMode | null | undefined;
2295
+ reasoning_context?: ReasoningContext | null | undefined;
2224
2296
  verbosity?: Verbosity | null | undefined;
2225
2297
  useResponsesApi?: boolean | undefined;
2226
2298
  effort?: AnthropicEffort | null | undefined;
@@ -2259,6 +2331,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2259
2331
  imageDetail?: ImageDetail | undefined;
2260
2332
  reasoning_effort?: ReasoningEffort | null | undefined;
2261
2333
  reasoning_summary?: ReasoningSummary | null | undefined;
2334
+ reasoning_mode?: ReasoningMode | null | undefined;
2335
+ reasoning_context?: ReasoningContext | null | undefined;
2262
2336
  verbosity?: Verbosity | null | undefined;
2263
2337
  useResponsesApi?: boolean | undefined;
2264
2338
  effort?: AnthropicEffort | null | undefined;
@@ -2290,6 +2364,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2290
2364
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
2291
2365
  isArchived: z.ZodOptional<z.ZodBoolean>;
2292
2366
  pinned: z.ZodOptional<z.ZodBoolean>;
2367
+ isShared: z.ZodOptional<z.ZodBoolean>;
2293
2368
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2294
2369
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2295
2370
  name: z.ZodString;
@@ -2410,6 +2485,8 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2410
2485
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
2411
2486
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
2412
2487
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
2488
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
2489
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
2413
2490
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
2414
2491
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
2415
2492
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -2447,6 +2524,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2447
2524
  model?: string | null | undefined;
2448
2525
  endpointType?: EModelEndpoint | null | undefined;
2449
2526
  pinned?: boolean | undefined;
2527
+ isShared?: boolean | undefined;
2450
2528
  tools?: string[] | {
2451
2529
  name: string;
2452
2530
  pluginKey: string;
@@ -2497,6 +2575,8 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2497
2575
  imageDetail?: ImageDetail | undefined;
2498
2576
  reasoning_effort?: ReasoningEffort | null | undefined;
2499
2577
  reasoning_summary?: ReasoningSummary | null | undefined;
2578
+ reasoning_mode?: ReasoningMode | null | undefined;
2579
+ reasoning_context?: ReasoningContext | null | undefined;
2500
2580
  verbosity?: Verbosity | null | undefined;
2501
2581
  useResponsesApi?: boolean | undefined;
2502
2582
  effort?: AnthropicEffort | null | undefined;
@@ -2522,6 +2602,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2522
2602
  model?: string | null | undefined;
2523
2603
  endpointType?: EModelEndpoint | null | undefined;
2524
2604
  pinned?: boolean | undefined;
2605
+ isShared?: boolean | undefined;
2525
2606
  tools?: string[] | {
2526
2607
  name: string;
2527
2608
  pluginKey: string;
@@ -2572,6 +2653,8 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
2572
2653
  imageDetail?: ImageDetail | undefined;
2573
2654
  reasoning_effort?: ReasoningEffort | null | undefined;
2574
2655
  reasoning_summary?: ReasoningSummary | null | undefined;
2656
+ reasoning_mode?: ReasoningMode | null | undefined;
2657
+ reasoning_context?: ReasoningContext | null | undefined;
2575
2658
  verbosity?: Verbosity | null | undefined;
2576
2659
  useResponsesApi?: boolean | undefined;
2577
2660
  effort?: AnthropicEffort | null | undefined;
@@ -2661,6 +2744,8 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2661
2744
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
2662
2745
  isArchived: z.ZodOptional<z.ZodBoolean>;
2663
2746
  pinned: z.ZodOptional<z.ZodBoolean>;
2747
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
2748
+ isShared: z.ZodOptional<z.ZodBoolean>;
2664
2749
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
2665
2750
  user: z.ZodOptional<z.ZodString>;
2666
2751
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2788,6 +2873,8 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
2788
2873
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
2789
2874
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
2790
2875
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
2876
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
2877
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
2791
2878
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
2792
2879
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
2793
2880
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -2879,6 +2966,8 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
2879
2966
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
2880
2967
  isArchived: z.ZodOptional<z.ZodBoolean>;
2881
2968
  pinned: z.ZodOptional<z.ZodBoolean>;
2969
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
2970
+ isShared: z.ZodOptional<z.ZodBoolean>;
2882
2971
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
2883
2972
  user: z.ZodOptional<z.ZodString>;
2884
2973
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3006,6 +3095,8 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3006
3095
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
3007
3096
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
3008
3097
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
3098
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
3099
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
3009
3100
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
3010
3101
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
3011
3102
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -3186,6 +3277,8 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3186
3277
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
3187
3278
  isArchived: z.ZodOptional<z.ZodBoolean>;
3188
3279
  pinned: z.ZodOptional<z.ZodBoolean>;
3280
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
3281
+ isShared: z.ZodOptional<z.ZodBoolean>;
3189
3282
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
3190
3283
  user: z.ZodOptional<z.ZodString>;
3191
3284
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3313,6 +3406,8 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3313
3406
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
3314
3407
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
3315
3408
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
3409
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
3410
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
3316
3411
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
3317
3412
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
3318
3413
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -3392,6 +3487,8 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3392
3487
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
3393
3488
  isArchived: z.ZodOptional<z.ZodBoolean>;
3394
3489
  pinned: z.ZodOptional<z.ZodBoolean>;
3490
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
3491
+ isShared: z.ZodOptional<z.ZodBoolean>;
3395
3492
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
3396
3493
  user: z.ZodOptional<z.ZodString>;
3397
3494
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3519,6 +3616,8 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
3519
3616
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
3520
3617
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
3521
3618
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
3619
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
3620
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
3522
3621
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
3523
3622
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
3524
3623
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -3594,6 +3693,8 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3594
3693
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
3595
3694
  isArchived: z.ZodOptional<z.ZodBoolean>;
3596
3695
  pinned: z.ZodOptional<z.ZodBoolean>;
3696
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
3697
+ isShared: z.ZodOptional<z.ZodBoolean>;
3597
3698
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
3598
3699
  user: z.ZodOptional<z.ZodString>;
3599
3700
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3721,6 +3822,8 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
3721
3822
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
3722
3823
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
3723
3824
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
3825
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
3826
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
3724
3827
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
3725
3828
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
3726
3829
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -3788,6 +3891,8 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3788
3891
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
3789
3892
  isArchived: z.ZodOptional<z.ZodBoolean>;
3790
3893
  pinned: z.ZodOptional<z.ZodBoolean>;
3894
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
3895
+ isShared: z.ZodOptional<z.ZodBoolean>;
3791
3896
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
3792
3897
  user: z.ZodOptional<z.ZodString>;
3793
3898
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3915,6 +4020,8 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3915
4020
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
3916
4021
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
3917
4022
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
4023
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
4024
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
3918
4025
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
3919
4026
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
3920
4027
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -4014,6 +4121,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
4014
4121
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
4015
4122
  isArchived: z.ZodOptional<z.ZodBoolean>;
4016
4123
  pinned: z.ZodOptional<z.ZodBoolean>;
4124
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
4125
+ isShared: z.ZodOptional<z.ZodBoolean>;
4017
4126
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
4018
4127
  user: z.ZodOptional<z.ZodString>;
4019
4128
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4141,6 +4250,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
4141
4250
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
4142
4251
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
4143
4252
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
4253
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
4254
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
4144
4255
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
4145
4256
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
4146
4257
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -4169,7 +4280,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
4169
4280
  resendImages: z.ZodOptional<z.ZodBoolean>;
4170
4281
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4171
4282
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
- }, "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, {
4283
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
4173
4284
  model?: string | null | undefined;
4174
4285
  modelLabel?: string | null | undefined;
4175
4286
  promptPrefix?: string | null | undefined;
@@ -4185,6 +4296,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
4185
4296
  imageDetail?: ImageDetail | undefined;
4186
4297
  reasoning_effort?: ReasoningEffort | null | undefined;
4187
4298
  reasoning_summary?: ReasoningSummary | null | undefined;
4299
+ reasoning_mode?: ReasoningMode | null | undefined;
4300
+ reasoning_context?: ReasoningContext | null | undefined;
4188
4301
  verbosity?: Verbosity | null | undefined;
4189
4302
  useResponsesApi?: boolean | undefined;
4190
4303
  web_search?: boolean | undefined;
@@ -4211,6 +4324,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
4211
4324
  imageDetail?: ImageDetail | undefined;
4212
4325
  reasoning_effort?: ReasoningEffort | null | undefined;
4213
4326
  reasoning_summary?: ReasoningSummary | null | undefined;
4327
+ reasoning_mode?: ReasoningMode | null | undefined;
4328
+ reasoning_context?: ReasoningContext | null | undefined;
4214
4329
  verbosity?: Verbosity | null | undefined;
4215
4330
  useResponsesApi?: boolean | undefined;
4216
4331
  web_search?: boolean | undefined;
@@ -4228,6 +4343,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4228
4343
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
4229
4344
  isArchived: z.ZodOptional<z.ZodBoolean>;
4230
4345
  pinned: z.ZodOptional<z.ZodBoolean>;
4346
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
4347
+ isShared: z.ZodOptional<z.ZodBoolean>;
4231
4348
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
4232
4349
  user: z.ZodOptional<z.ZodString>;
4233
4350
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4355,6 +4472,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4355
4472
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
4356
4473
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
4357
4474
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
4475
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
4476
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
4358
4477
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
4359
4478
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
4360
4479
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -4383,7 +4502,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4383
4502
  resendImages: z.ZodOptional<z.ZodBoolean>;
4384
4503
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4385
4504
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4386
- }, "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, {
4505
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
4387
4506
  model?: string | null | undefined;
4388
4507
  modelLabel?: string | null | undefined;
4389
4508
  promptPrefix?: string | null | undefined;
@@ -4399,6 +4518,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4399
4518
  imageDetail?: ImageDetail | undefined;
4400
4519
  reasoning_effort?: ReasoningEffort | null | undefined;
4401
4520
  reasoning_summary?: ReasoningSummary | null | undefined;
4521
+ reasoning_mode?: ReasoningMode | null | undefined;
4522
+ reasoning_context?: ReasoningContext | null | undefined;
4402
4523
  verbosity?: Verbosity | null | undefined;
4403
4524
  useResponsesApi?: boolean | undefined;
4404
4525
  web_search?: boolean | undefined;
@@ -4425,6 +4546,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4425
4546
  imageDetail?: ImageDetail | undefined;
4426
4547
  reasoning_effort?: ReasoningEffort | null | undefined;
4427
4548
  reasoning_summary?: ReasoningSummary | null | undefined;
4549
+ reasoning_mode?: ReasoningMode | null | undefined;
4550
+ reasoning_context?: ReasoningContext | null | undefined;
4428
4551
  verbosity?: Verbosity | null | undefined;
4429
4552
  useResponsesApi?: boolean | undefined;
4430
4553
  web_search?: boolean | undefined;
@@ -4451,6 +4574,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4451
4574
  imageDetail?: ImageDetail | undefined;
4452
4575
  reasoning_effort?: ReasoningEffort | null | undefined;
4453
4576
  reasoning_summary?: ReasoningSummary | null | undefined;
4577
+ reasoning_mode?: ReasoningMode | null | undefined;
4578
+ reasoning_context?: ReasoningContext | null | undefined;
4454
4579
  verbosity?: Verbosity | null | undefined;
4455
4580
  useResponsesApi?: boolean | undefined;
4456
4581
  web_search?: boolean | undefined;
@@ -4468,6 +4593,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4468
4593
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
4469
4594
  isArchived: z.ZodOptional<z.ZodBoolean>;
4470
4595
  pinned: z.ZodOptional<z.ZodBoolean>;
4596
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
4597
+ isShared: z.ZodOptional<z.ZodBoolean>;
4471
4598
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
4472
4599
  user: z.ZodOptional<z.ZodString>;
4473
4600
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4595,6 +4722,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4595
4722
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
4596
4723
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
4597
4724
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
4725
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
4726
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
4598
4727
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
4599
4728
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
4600
4729
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -4623,12 +4752,14 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4623
4752
  resendImages: z.ZodOptional<z.ZodBoolean>;
4624
4753
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4625
4754
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4626
- }, "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<{
4755
+ }, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
4627
4756
  conversationId: z.ZodNullable<z.ZodString>;
4628
4757
  endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
4629
4758
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
4630
4759
  isArchived: z.ZodOptional<z.ZodBoolean>;
4631
4760
  pinned: z.ZodOptional<z.ZodBoolean>;
4761
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
4762
+ isShared: z.ZodOptional<z.ZodBoolean>;
4632
4763
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
4633
4764
  user: z.ZodOptional<z.ZodString>;
4634
4765
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4756,6 +4887,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4756
4887
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
4757
4888
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
4758
4889
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
4890
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
4891
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
4759
4892
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
4760
4893
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
4761
4894
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -4802,6 +4935,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4802
4935
  imageDetail?: ImageDetail | undefined;
4803
4936
  reasoning_effort?: ReasoningEffort | null | undefined;
4804
4937
  reasoning_summary?: ReasoningSummary | null | undefined;
4938
+ reasoning_mode?: ReasoningMode | null | undefined;
4939
+ reasoning_context?: ReasoningContext | null | undefined;
4805
4940
  verbosity?: Verbosity | null | undefined;
4806
4941
  useResponsesApi?: boolean | undefined;
4807
4942
  web_search?: boolean | undefined;
@@ -4830,6 +4965,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4830
4965
  imageDetail?: ImageDetail | undefined;
4831
4966
  reasoning_effort?: ReasoningEffort | null | undefined;
4832
4967
  reasoning_summary?: ReasoningSummary | null | undefined;
4968
+ reasoning_mode?: ReasoningMode | null | undefined;
4969
+ reasoning_context?: ReasoningContext | null | undefined;
4833
4970
  verbosity?: Verbosity | null | undefined;
4834
4971
  useResponsesApi?: boolean | undefined;
4835
4972
  web_search?: boolean | undefined;
@@ -4858,6 +4995,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
4858
4995
  imageDetail?: ImageDetail | undefined;
4859
4996
  reasoning_effort?: ReasoningEffort | null | undefined;
4860
4997
  reasoning_summary?: ReasoningSummary | null | undefined;
4998
+ reasoning_mode?: ReasoningMode | null | undefined;
4999
+ reasoning_context?: ReasoningContext | null | undefined;
4861
5000
  verbosity?: Verbosity | null | undefined;
4862
5001
  useResponsesApi?: boolean | undefined;
4863
5002
  web_search?: boolean | undefined;
@@ -4875,6 +5014,8 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
4875
5014
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
4876
5015
  isArchived: z.ZodOptional<z.ZodBoolean>;
4877
5016
  pinned: z.ZodOptional<z.ZodBoolean>;
5017
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
5018
+ isShared: z.ZodOptional<z.ZodBoolean>;
4878
5019
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
4879
5020
  user: z.ZodOptional<z.ZodString>;
4880
5021
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5002,6 +5143,8 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5002
5143
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
5003
5144
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
5004
5145
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
5146
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
5147
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
5005
5148
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
5006
5149
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
5007
5150
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -5121,6 +5264,8 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
5121
5264
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
5122
5265
  isArchived: z.ZodOptional<z.ZodBoolean>;
5123
5266
  pinned: z.ZodOptional<z.ZodBoolean>;
5267
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
5268
+ isShared: z.ZodOptional<z.ZodBoolean>;
5124
5269
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
5125
5270
  user: z.ZodOptional<z.ZodString>;
5126
5271
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5248,6 +5393,8 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
5248
5393
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
5249
5394
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
5250
5395
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
5396
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
5397
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
5251
5398
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
5252
5399
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
5253
5400
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -5333,6 +5480,8 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5333
5480
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
5334
5481
  isArchived: z.ZodOptional<z.ZodBoolean>;
5335
5482
  pinned: z.ZodOptional<z.ZodBoolean>;
5483
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
5484
+ isShared: z.ZodOptional<z.ZodBoolean>;
5336
5485
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
5337
5486
  user: z.ZodOptional<z.ZodString>;
5338
5487
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5460,6 +5609,8 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5460
5609
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
5461
5610
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
5462
5611
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
5612
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
5613
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
5463
5614
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
5464
5615
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
5465
5616
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -5624,6 +5775,8 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5624
5775
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
5625
5776
  isArchived: z.ZodOptional<z.ZodBoolean>;
5626
5777
  pinned: z.ZodOptional<z.ZodBoolean>;
5778
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
5779
+ isShared: z.ZodOptional<z.ZodBoolean>;
5627
5780
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
5628
5781
  user: z.ZodOptional<z.ZodString>;
5629
5782
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5751,6 +5904,8 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
5751
5904
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
5752
5905
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
5753
5906
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
5907
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
5908
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
5754
5909
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
5755
5910
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
5756
5911
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
@@ -5802,6 +5957,8 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5802
5957
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
5803
5958
  isArchived: z.ZodOptional<z.ZodBoolean>;
5804
5959
  pinned: z.ZodOptional<z.ZodBoolean>;
5960
+ /** Server-derived: an active shared link exists for this conversation. Not persisted. */
5961
+ isShared: z.ZodOptional<z.ZodBoolean>;
5805
5962
  title: z.ZodDefault<z.ZodUnion<[z.ZodNullable<z.ZodString>, z.ZodLiteral<"New Chat">]>>;
5806
5963
  user: z.ZodOptional<z.ZodString>;
5807
5964
  messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5929,6 +6086,8 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
5929
6086
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
5930
6087
  reasoning_effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningEffort>>>;
5931
6088
  reasoning_summary: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningSummary>>>;
6089
+ reasoning_mode: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningMode>>>;
6090
+ reasoning_context: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ReasoningContext>>>;
5932
6091
  verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
5933
6092
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
5934
6093
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;