librechat-data-provider 0.8.523 → 0.8.524

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/{data-service-Bx6IFaSa.mjs → data-service-B-WUVvTH.mjs} +434 -174
  2. package/dist/data-service-B-WUVvTH.mjs.map +1 -0
  3. package/dist/{data-service-CTX0tVO5.js → data-service-CUG1qdeC.js} +577 -203
  4. package/dist/data-service-CUG1qdeC.js.map +1 -0
  5. package/dist/index.js +346 -72
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +307 -68
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +1 -1
  10. package/dist/react-query/index.mjs +1 -1
  11. package/dist/types/actions.d.ts +1 -1
  12. package/dist/types/agentToolOptions.d.ts +1 -1
  13. package/dist/types/api-endpoints.d.ts +1 -0
  14. package/dist/types/backgroundResults.d.ts +13 -0
  15. package/dist/types/balance.d.ts +4 -0
  16. package/dist/types/bedrock.d.ts +77 -70
  17. package/dist/types/code/workspace.d.ts +22 -0
  18. package/dist/types/config.d.ts +5362 -4206
  19. package/dist/types/data-service.d.ts +14 -12
  20. package/dist/types/file-config.d.ts +81 -42
  21. package/dist/types/filters.d.ts +205 -205
  22. package/dist/types/footer.d.ts +20 -0
  23. package/dist/types/generate.d.ts +28 -28
  24. package/dist/types/index.d.ts +4 -0
  25. package/dist/types/keys.d.ts +2 -1
  26. package/dist/types/limits.d.ts +8 -0
  27. package/dist/types/mcp.d.ts +999 -352
  28. package/dist/types/messages.d.ts +12 -7
  29. package/dist/types/models.d.ts +429 -429
  30. package/dist/types/parameterSettings.d.ts +2 -1
  31. package/dist/types/parsers.d.ts +25 -1
  32. package/dist/types/resolve-llm-delivery-path.d.ts +97 -4
  33. package/dist/types/schemas.d.ts +646 -643
  34. package/dist/types/types/agents.d.ts +233 -2
  35. package/dist/types/types/assistants.d.ts +2 -641
  36. package/dist/types/types/content.d.ts +286 -0
  37. package/dist/types/types/files.d.ts +14 -1
  38. package/dist/types/types/mutations.d.ts +3 -2
  39. package/dist/types/types/queuedTurns.d.ts +124 -90
  40. package/dist/types/types/runs.d.ts +9 -0
  41. package/dist/types/types/schedules.d.ts +10 -10
  42. package/dist/types/types/skills.d.ts +43 -0
  43. package/dist/types/types/tools.d.ts +132 -0
  44. package/dist/types/types/traces.d.ts +49 -0
  45. package/dist/types/types.d.ts +31 -1
  46. package/package.json +1 -1
  47. package/dist/data-service-Bx6IFaSa.mjs.map +0 -1
  48. package/dist/data-service-CTX0tVO5.js.map +0 -1
@@ -1,9 +1,11 @@
1
1
  import { z } from 'zod';
2
- import type { TMessageContentParts, AgentSubagentGraph, FunctionTool } from './types/assistants';
2
+ import type { TMessageContentParts } from './types/content';
3
+ import type { AgentSubagentGraph } from './types/agents';
3
4
  import type { SearchResultData } from './types/web';
5
+ import type { FunctionTool } from './types/tools';
4
6
  import type { TFile } from './types/files';
5
7
  import { TFeedback } from './feedback';
6
- import { Tools } from './types/assistants';
8
+ import { Tools } from './types/tools';
7
9
  export declare const isUUID: z.ZodString;
8
10
  export declare enum AuthType {
9
11
  OVERRIDE_AUTH = "override_auth",
@@ -231,6 +233,7 @@ export declare const defaultAgentFormValues: {
231
233
  stateful_code_environment: "user";
232
234
  code_environment_id: string | null | undefined;
233
235
  code_workspace_id: string | undefined;
236
+ repositoryInstructions: "prefer" | "defer" | "off" | undefined;
234
237
  category: string;
235
238
  support_contact: {
236
239
  name: string;
@@ -754,14 +757,14 @@ export declare const tPluginAuthConfigSchema: z.ZodObject<{
754
757
  sensitive: z.ZodOptional<z.ZodBoolean>;
755
758
  }, "strip", z.ZodTypeAny, {
756
759
  description: string;
757
- authField: string;
758
760
  label: string;
761
+ authField: string;
759
762
  optional?: boolean | undefined;
760
763
  sensitive?: boolean | undefined;
761
764
  }, {
762
765
  description: string;
763
- authField: string;
764
766
  label: string;
767
+ authField: string;
765
768
  optional?: boolean | undefined;
766
769
  sensitive?: boolean | undefined;
767
770
  }>;
@@ -780,14 +783,14 @@ export declare const tPluginSchema: z.ZodObject<{
780
783
  sensitive: z.ZodOptional<z.ZodBoolean>;
781
784
  }, "strip", z.ZodTypeAny, {
782
785
  description: string;
783
- authField: string;
784
786
  label: string;
787
+ authField: string;
785
788
  optional?: boolean | undefined;
786
789
  sensitive?: boolean | undefined;
787
790
  }, {
788
791
  description: string;
789
- authField: string;
790
792
  label: string;
793
+ authField: string;
791
794
  optional?: boolean | undefined;
792
795
  sensitive?: boolean | undefined;
793
796
  }>, "many">>;
@@ -805,8 +808,8 @@ export declare const tPluginSchema: z.ZodObject<{
805
808
  icon?: string | undefined;
806
809
  authConfig?: {
807
810
  description: string;
808
- authField: string;
809
811
  label: string;
812
+ authField: string;
810
813
  optional?: boolean | undefined;
811
814
  sensitive?: boolean | undefined;
812
815
  }[] | undefined;
@@ -822,8 +825,8 @@ export declare const tPluginSchema: z.ZodObject<{
822
825
  icon?: string | undefined;
823
826
  authConfig?: {
824
827
  description: string;
825
- authField: string;
826
828
  label: string;
829
+ authField: string;
827
830
  optional?: boolean | undefined;
828
831
  sensitive?: boolean | undefined;
829
832
  }[] | undefined;
@@ -853,19 +856,19 @@ export declare const tExampleSchema: z.ZodObject<{
853
856
  content: string;
854
857
  }>;
855
858
  }, "strip", z.ZodTypeAny, {
856
- input: {
857
- content: string;
858
- };
859
859
  output: {
860
860
  content: string;
861
861
  };
862
- }, {
863
862
  input: {
864
863
  content: string;
865
864
  };
865
+ }, {
866
866
  output: {
867
867
  content: string;
868
868
  };
869
+ input: {
870
+ content: string;
871
+ };
869
872
  }>;
870
873
  export type TExample = z.infer<typeof tExampleSchema>;
871
874
  export declare const tMessageSchema: z.ZodObject<{
@@ -959,15 +962,15 @@ export declare const tMessageSchema: z.ZodObject<{
959
962
  } & {
960
963
  agentId: z.ZodString;
961
964
  }, "strip", z.ZodTypeAny, {
962
- agentId: string;
963
965
  v: 1;
964
966
  budgetTokens: number;
965
967
  masked: boolean;
966
- }, {
967
968
  agentId: string;
969
+ }, {
968
970
  v: 1;
969
971
  budgetTokens: number;
970
972
  masked: boolean;
973
+ agentId: string;
971
974
  }>, "many">>;
972
975
  }, "strip", z.ZodTypeAny, {
973
976
  calibrationRatio?: number | undefined;
@@ -978,10 +981,10 @@ export declare const tMessageSchema: z.ZodObject<{
978
981
  masked: boolean;
979
982
  } | undefined;
980
983
  fadingTiers?: {
981
- agentId: string;
982
984
  v: 1;
983
985
  budgetTokens: number;
984
986
  masked: boolean;
987
+ agentId: string;
985
988
  }[] | undefined;
986
989
  }, {
987
990
  calibrationRatio?: number | undefined;
@@ -992,10 +995,10 @@ export declare const tMessageSchema: z.ZodObject<{
992
995
  masked: boolean;
993
996
  } | undefined;
994
997
  fadingTiers?: {
995
- agentId: string;
996
998
  v: 1;
997
999
  budgetTokens: number;
998
1000
  masked: boolean;
1001
+ agentId: string;
999
1002
  }[] | undefined;
1000
1003
  }>>;
1001
1004
  /**
@@ -1025,17 +1028,21 @@ export declare const tMessageSchema: z.ZodObject<{
1025
1028
  quotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1026
1029
  }, "strip", z.ZodTypeAny, {
1027
1030
  text: string;
1028
- conversationId: string | null;
1029
1031
  title: string | null;
1032
+ conversationId: string | null;
1030
1033
  parentMessageId: string | null;
1031
1034
  createdAt: string;
1032
1035
  updatedAt: string;
1033
1036
  messageId: string;
1034
1037
  isCreatedByUser: boolean;
1035
- endpoint?: string | undefined;
1036
1038
  metadata?: Record<string, unknown> | undefined;
1039
+ feedback?: {
1040
+ rating: "thumbsUp" | "thumbsDown";
1041
+ tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
1042
+ text?: string | undefined;
1043
+ } | undefined;
1037
1044
  model?: string | null | undefined;
1038
- error?: boolean | undefined;
1045
+ endpoint?: string | undefined;
1039
1046
  iconURL?: string | null | undefined;
1040
1047
  expiredAt?: string | null | undefined;
1041
1048
  isTemporary?: boolean | undefined;
@@ -1051,17 +1058,13 @@ export declare const tMessageSchema: z.ZodObject<{
1051
1058
  path: string;
1052
1059
  field: "answer" | "decision_response" | "decision_reason";
1053
1060
  }[] | undefined;
1061
+ error?: boolean | undefined;
1054
1062
  clientTimestamp?: string | undefined;
1055
1063
  current?: boolean | undefined;
1056
1064
  unfinished?: boolean | undefined;
1057
1065
  searchResult?: boolean | undefined;
1058
1066
  finish_reason?: string | undefined;
1059
1067
  thread_id?: string | undefined;
1060
- feedback?: {
1061
- rating: "thumbsUp" | "thumbsDown";
1062
- tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
1063
- text?: string | undefined;
1064
- } | undefined;
1065
1068
  tokenCount?: number | undefined;
1066
1069
  contextMeta?: {
1067
1070
  calibrationRatio?: number | undefined;
@@ -1072,10 +1075,10 @@ export declare const tMessageSchema: z.ZodObject<{
1072
1075
  masked: boolean;
1073
1076
  } | undefined;
1074
1077
  fadingTiers?: {
1075
- agentId: string;
1076
1078
  v: 1;
1077
1079
  budgetTokens: number;
1078
1080
  masked: boolean;
1081
+ agentId: string;
1079
1082
  }[] | undefined;
1080
1083
  } | undefined;
1081
1084
  manualSkills?: string[] | undefined;
@@ -1087,11 +1090,15 @@ export declare const tMessageSchema: z.ZodObject<{
1087
1090
  parentMessageId: string | null;
1088
1091
  messageId: string;
1089
1092
  isCreatedByUser: boolean;
1090
- endpoint?: string | undefined;
1093
+ title?: string | null | undefined;
1091
1094
  metadata?: Record<string, unknown> | undefined;
1095
+ feedback?: {
1096
+ rating: "thumbsUp" | "thumbsDown";
1097
+ tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
1098
+ text?: string | undefined;
1099
+ } | undefined;
1092
1100
  model?: string | null | undefined;
1093
- error?: boolean | undefined;
1094
- title?: string | null | undefined;
1101
+ endpoint?: string | undefined;
1095
1102
  createdAt?: string | undefined;
1096
1103
  updatedAt?: string | undefined;
1097
1104
  iconURL?: string | null | undefined;
@@ -1109,17 +1116,13 @@ export declare const tMessageSchema: z.ZodObject<{
1109
1116
  path: string;
1110
1117
  field: "answer" | "decision_response" | "decision_reason";
1111
1118
  }[] | undefined;
1119
+ error?: boolean | undefined;
1112
1120
  clientTimestamp?: string | undefined;
1113
1121
  current?: boolean | undefined;
1114
1122
  unfinished?: boolean | undefined;
1115
1123
  searchResult?: boolean | undefined;
1116
1124
  finish_reason?: string | undefined;
1117
1125
  thread_id?: string | undefined;
1118
- feedback?: {
1119
- rating: "thumbsUp" | "thumbsDown";
1120
- tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
1121
- text?: string | undefined;
1122
- } | undefined;
1123
1126
  tokenCount?: number | undefined;
1124
1127
  contextMeta?: {
1125
1128
  calibrationRatio?: number | undefined;
@@ -1130,10 +1133,10 @@ export declare const tMessageSchema: z.ZodObject<{
1130
1133
  masked: boolean;
1131
1134
  } | undefined;
1132
1135
  fadingTiers?: {
1133
- agentId: string;
1134
1136
  v: 1;
1135
1137
  budgetTokens: number;
1136
1138
  masked: boolean;
1139
+ agentId: string;
1137
1140
  }[] | undefined;
1138
1141
  } | undefined;
1139
1142
  manualSkills?: string[] | undefined;
@@ -1220,21 +1223,21 @@ export declare const subagentThreadLineageSchema: z.ZodObject<{
1220
1223
  subagentKind: z.ZodEnum<["agent", "graph"]>;
1221
1224
  depth: z.ZodNumber;
1222
1225
  }, "strip", z.ZodTypeAny, {
1223
- subagentKind: "agent" | "graph";
1224
1226
  parentMessageId: string;
1225
1227
  rootConversationId: string;
1226
1228
  parentConversationId: string;
1227
1229
  parentToolCallId: string;
1228
1230
  subagentType: string;
1231
+ subagentKind: "agent" | "graph";
1229
1232
  depth: number;
1230
1233
  parentAgentId?: string | undefined;
1231
1234
  }, {
1232
- subagentKind: "agent" | "graph";
1233
1235
  parentMessageId: string;
1234
1236
  rootConversationId: string;
1235
1237
  parentConversationId: string;
1236
1238
  parentToolCallId: string;
1237
1239
  subagentType: string;
1240
+ subagentKind: "agent" | "graph";
1238
1241
  depth: number;
1239
1242
  parentAgentId?: string | undefined;
1240
1243
  }>;
@@ -1278,14 +1281,14 @@ export declare const tConversationSchema: z.ZodObject<{
1278
1281
  sensitive: z.ZodOptional<z.ZodBoolean>;
1279
1282
  }, "strip", z.ZodTypeAny, {
1280
1283
  description: string;
1281
- authField: string;
1282
1284
  label: string;
1285
+ authField: string;
1283
1286
  optional?: boolean | undefined;
1284
1287
  sensitive?: boolean | undefined;
1285
1288
  }, {
1286
1289
  description: string;
1287
- authField: string;
1288
1290
  label: string;
1291
+ authField: string;
1289
1292
  optional?: boolean | undefined;
1290
1293
  sensitive?: boolean | undefined;
1291
1294
  }>, "many">>;
@@ -1303,8 +1306,8 @@ export declare const tConversationSchema: z.ZodObject<{
1303
1306
  icon?: string | undefined;
1304
1307
  authConfig?: {
1305
1308
  description: string;
1306
- authField: string;
1307
1309
  label: string;
1310
+ authField: string;
1308
1311
  optional?: boolean | undefined;
1309
1312
  sensitive?: boolean | undefined;
1310
1313
  }[] | undefined;
@@ -1320,8 +1323,8 @@ export declare const tConversationSchema: z.ZodObject<{
1320
1323
  icon?: string | undefined;
1321
1324
  authConfig?: {
1322
1325
  description: string;
1323
- authField: string;
1324
1326
  label: string;
1327
+ authField: string;
1325
1328
  optional?: boolean | undefined;
1326
1329
  sensitive?: boolean | undefined;
1327
1330
  }[] | undefined;
@@ -1370,19 +1373,19 @@ export declare const tConversationSchema: z.ZodObject<{
1370
1373
  content: string;
1371
1374
  }>;
1372
1375
  }, "strip", z.ZodTypeAny, {
1373
- input: {
1374
- content: string;
1375
- };
1376
1376
  output: {
1377
1377
  content: string;
1378
1378
  };
1379
- }, {
1380
1379
  input: {
1381
1380
  content: string;
1382
1381
  };
1382
+ }, {
1383
1383
  output: {
1384
1384
  content: string;
1385
1385
  };
1386
+ input: {
1387
+ content: string;
1388
+ };
1386
1389
  }>, "many">>;
1387
1390
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1388
1391
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1415,21 +1418,21 @@ export declare const tConversationSchema: z.ZodObject<{
1415
1418
  subagentKind: z.ZodEnum<["agent", "graph"]>;
1416
1419
  depth: z.ZodNumber;
1417
1420
  }, "strip", z.ZodTypeAny, {
1418
- subagentKind: "agent" | "graph";
1419
1421
  parentMessageId: string;
1420
1422
  rootConversationId: string;
1421
1423
  parentConversationId: string;
1422
1424
  parentToolCallId: string;
1423
1425
  subagentType: string;
1426
+ subagentKind: "agent" | "graph";
1424
1427
  depth: number;
1425
1428
  parentAgentId?: string | undefined;
1426
1429
  }, {
1427
- subagentKind: "agent" | "graph";
1428
1430
  parentMessageId: string;
1429
1431
  rootConversationId: string;
1430
1432
  parentConversationId: string;
1431
1433
  parentToolCallId: string;
1432
1434
  subagentType: string;
1435
+ subagentKind: "agent" | "graph";
1433
1436
  depth: number;
1434
1437
  parentAgentId?: string | undefined;
1435
1438
  }>>;
@@ -1453,17 +1456,33 @@ export declare const tConversationSchema: z.ZodObject<{
1453
1456
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
1454
1457
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1455
1458
  }, "strip", z.ZodTypeAny, {
1456
- endpoint: EModelEndpoint | null;
1457
- conversationId: string | null;
1458
1459
  title: string | null;
1460
+ conversationId: string | null;
1461
+ endpoint: EModelEndpoint | null;
1459
1462
  createdAt: string;
1460
1463
  updatedAt: string;
1461
1464
  user?: string | undefined;
1462
- web_search?: boolean | undefined;
1465
+ system?: string | undefined;
1463
1466
  context?: string | null | undefined;
1464
- artifacts?: string | undefined;
1465
1467
  instructions?: string | undefined;
1466
1468
  additional_instructions?: string | undefined;
1469
+ greeting?: string | undefined;
1470
+ artifacts?: string | undefined;
1471
+ stop?: string[] | undefined;
1472
+ messages?: string[] | undefined;
1473
+ tags?: string[] | undefined;
1474
+ model?: string | null | undefined;
1475
+ endpointType?: EModelEndpoint | null | undefined;
1476
+ isArchived?: boolean | undefined;
1477
+ archivedAt?: string | null | undefined;
1478
+ pinned?: boolean | undefined;
1479
+ isShared?: boolean | undefined;
1480
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1481
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1482
+ codeWorkspaces?: {
1483
+ environmentId: string;
1484
+ workspaceId: string;
1485
+ }[] | undefined;
1467
1486
  tools?: string[] | {
1468
1487
  name: string;
1469
1488
  pluginKey: string;
@@ -1471,8 +1490,8 @@ export declare const tConversationSchema: z.ZodObject<{
1471
1490
  icon?: string | undefined;
1472
1491
  authConfig?: {
1473
1492
  description: string;
1474
- authField: string;
1475
1493
  label: string;
1494
+ authField: string;
1476
1495
  optional?: boolean | undefined;
1477
1496
  sensitive?: boolean | undefined;
1478
1497
  }[] | undefined;
@@ -1482,20 +1501,6 @@ export declare const tConversationSchema: z.ZodObject<{
1482
1501
  toolkit?: boolean | undefined;
1483
1502
  serverToolName?: string | undefined;
1484
1503
  }[] | undefined;
1485
- model?: string | null | undefined;
1486
- tags?: string[] | undefined;
1487
- endpointType?: EModelEndpoint | null | undefined;
1488
- isArchived?: boolean | undefined;
1489
- archivedAt?: string | null | undefined;
1490
- pinned?: boolean | undefined;
1491
- isShared?: boolean | undefined;
1492
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1493
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1494
- codeWorkspaces?: {
1495
- environmentId: string;
1496
- workspaceId: string;
1497
- }[] | undefined;
1498
- messages?: string[] | undefined;
1499
1504
  modelLabel?: string | null | undefined;
1500
1505
  userLabel?: string | undefined;
1501
1506
  promptPrefix?: string | null | undefined;
@@ -1511,16 +1516,15 @@ export declare const tConversationSchema: z.ZodObject<{
1511
1516
  max_tokens?: number | undefined;
1512
1517
  promptCache?: boolean | undefined;
1513
1518
  promptCacheTtl?: "5m" | "1h" | undefined;
1514
- system?: string | undefined;
1515
1519
  thinking?: boolean | undefined;
1516
1520
  thinkingBudget?: number | undefined;
1517
1521
  thinkingLevel?: ThinkingLevel | undefined;
1518
1522
  stream?: boolean | undefined;
1519
1523
  examples?: {
1520
- input: {
1524
+ output: {
1521
1525
  content: string;
1522
1526
  };
1523
- output: {
1527
+ input: {
1524
1528
  content: string;
1525
1529
  };
1526
1530
  }[] | undefined;
@@ -1536,17 +1540,18 @@ export declare const tConversationSchema: z.ZodObject<{
1536
1540
  useResponsesApi?: boolean | undefined;
1537
1541
  effort?: AnthropicEffort | null | undefined;
1538
1542
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1543
+ web_search?: boolean | undefined;
1539
1544
  url_context?: boolean | undefined;
1540
1545
  disableStreaming?: boolean | undefined;
1541
1546
  assistant_id?: string | undefined;
1542
1547
  agent_id?: string | undefined;
1543
1548
  subagentThread?: {
1544
- subagentKind: "agent" | "graph";
1545
1549
  parentMessageId: string;
1546
1550
  rootConversationId: string;
1547
1551
  parentConversationId: string;
1548
1552
  parentToolCallId: string;
1549
1553
  subagentType: string;
1554
+ subagentKind: "agent" | "graph";
1550
1555
  depth: number;
1551
1556
  parentAgentId?: string | undefined;
1552
1557
  } | undefined;
@@ -1555,8 +1560,6 @@ export declare const tConversationSchema: z.ZodObject<{
1555
1560
  additionalModelRequestFields?: DocumentTypeValue | undefined;
1556
1561
  append_current_datetime?: boolean | undefined;
1557
1562
  presetOverride?: Record<string, unknown> | undefined;
1558
- stop?: string[] | undefined;
1559
- greeting?: string | undefined;
1560
1563
  spec?: string | null | undefined;
1561
1564
  iconURL?: string | null | undefined;
1562
1565
  expiredAt?: string | null | undefined;
@@ -1565,16 +1568,33 @@ export declare const tConversationSchema: z.ZodObject<{
1565
1568
  resendImages?: boolean | undefined;
1566
1569
  chatGptLabel?: string | null | undefined;
1567
1570
  }, {
1568
- endpoint: EModelEndpoint | null;
1569
1571
  conversationId: string | null;
1572
+ endpoint: EModelEndpoint | null;
1570
1573
  createdAt: string;
1571
1574
  updatedAt: string;
1572
1575
  user?: string | undefined;
1573
- web_search?: boolean | undefined;
1576
+ system?: string | undefined;
1574
1577
  context?: string | null | undefined;
1575
- artifacts?: string | undefined;
1576
1578
  instructions?: string | undefined;
1577
1579
  additional_instructions?: string | undefined;
1580
+ greeting?: string | undefined;
1581
+ artifacts?: string | undefined;
1582
+ title?: string | null | undefined;
1583
+ stop?: string[] | undefined;
1584
+ messages?: string[] | undefined;
1585
+ tags?: string[] | undefined;
1586
+ model?: string | null | undefined;
1587
+ endpointType?: EModelEndpoint | null | undefined;
1588
+ isArchived?: boolean | undefined;
1589
+ archivedAt?: string | null | undefined;
1590
+ pinned?: boolean | undefined;
1591
+ isShared?: boolean | undefined;
1592
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1593
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1594
+ codeWorkspaces?: {
1595
+ environmentId: string;
1596
+ workspaceId: string;
1597
+ }[] | undefined;
1578
1598
  tools?: string[] | {
1579
1599
  name: string;
1580
1600
  pluginKey: string;
@@ -1582,8 +1602,8 @@ export declare const tConversationSchema: z.ZodObject<{
1582
1602
  icon?: string | undefined;
1583
1603
  authConfig?: {
1584
1604
  description: string;
1585
- authField: string;
1586
1605
  label: string;
1606
+ authField: string;
1587
1607
  optional?: boolean | undefined;
1588
1608
  sensitive?: boolean | undefined;
1589
1609
  }[] | undefined;
@@ -1593,21 +1613,6 @@ export declare const tConversationSchema: z.ZodObject<{
1593
1613
  toolkit?: boolean | undefined;
1594
1614
  serverToolName?: string | undefined;
1595
1615
  }[] | undefined;
1596
- model?: string | null | undefined;
1597
- tags?: string[] | undefined;
1598
- endpointType?: EModelEndpoint | null | undefined;
1599
- isArchived?: boolean | undefined;
1600
- archivedAt?: string | null | undefined;
1601
- pinned?: boolean | undefined;
1602
- isShared?: boolean | undefined;
1603
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1604
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1605
- codeWorkspaces?: {
1606
- environmentId: string;
1607
- workspaceId: string;
1608
- }[] | undefined;
1609
- title?: string | null | undefined;
1610
- messages?: string[] | undefined;
1611
1616
  modelLabel?: string | null | undefined;
1612
1617
  userLabel?: string | undefined;
1613
1618
  promptPrefix?: string | null | undefined;
@@ -1623,16 +1628,15 @@ export declare const tConversationSchema: z.ZodObject<{
1623
1628
  max_tokens?: string | number | undefined;
1624
1629
  promptCache?: boolean | undefined;
1625
1630
  promptCacheTtl?: "5m" | "1h" | undefined;
1626
- system?: string | undefined;
1627
1631
  thinking?: boolean | undefined;
1628
1632
  thinkingBudget?: string | number | undefined;
1629
1633
  thinkingLevel?: ThinkingLevel | undefined;
1630
1634
  stream?: boolean | undefined;
1631
1635
  examples?: {
1632
- input: {
1636
+ output: {
1633
1637
  content: string;
1634
1638
  };
1635
- output: {
1639
+ input: {
1636
1640
  content: string;
1637
1641
  };
1638
1642
  }[] | undefined;
@@ -1648,17 +1652,18 @@ export declare const tConversationSchema: z.ZodObject<{
1648
1652
  useResponsesApi?: boolean | undefined;
1649
1653
  effort?: AnthropicEffort | null | undefined;
1650
1654
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1655
+ web_search?: boolean | undefined;
1651
1656
  url_context?: boolean | undefined;
1652
1657
  disableStreaming?: boolean | undefined;
1653
1658
  assistant_id?: string | undefined;
1654
1659
  agent_id?: string | undefined;
1655
1660
  subagentThread?: {
1656
- subagentKind: "agent" | "graph";
1657
1661
  parentMessageId: string;
1658
1662
  rootConversationId: string;
1659
1663
  parentConversationId: string;
1660
1664
  parentToolCallId: string;
1661
1665
  subagentType: string;
1666
+ subagentKind: "agent" | "graph";
1662
1667
  depth: number;
1663
1668
  parentAgentId?: string | undefined;
1664
1669
  } | undefined;
@@ -1667,8 +1672,6 @@ export declare const tConversationSchema: z.ZodObject<{
1667
1672
  additionalModelRequestFields?: DocumentTypeValue | undefined;
1668
1673
  append_current_datetime?: boolean | undefined;
1669
1674
  presetOverride?: Record<string, unknown> | undefined;
1670
- stop?: string[] | undefined;
1671
- greeting?: string | undefined;
1672
1675
  spec?: string | null | undefined;
1673
1676
  iconURL?: string | null | undefined;
1674
1677
  expiredAt?: string | null | undefined;
@@ -1679,11 +1682,33 @@ export declare const tConversationSchema: z.ZodObject<{
1679
1682
  }>;
1680
1683
  export declare const tPresetSchema: z.ZodObject<{
1681
1684
  user: z.ZodOptional<z.ZodString>;
1682
- web_search: z.ZodOptional<z.ZodBoolean>;
1685
+ system: z.ZodOptional<z.ZodString>;
1683
1686
  context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1684
- artifacts: z.ZodOptional<z.ZodString>;
1685
1687
  instructions: z.ZodOptional<z.ZodString>;
1686
1688
  additional_instructions: z.ZodOptional<z.ZodString>;
1689
+ greeting: z.ZodOptional<z.ZodString>;
1690
+ artifacts: z.ZodOptional<z.ZodString>;
1691
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1692
+ messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1693
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1694
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1695
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1696
+ isArchived: z.ZodOptional<z.ZodBoolean>;
1697
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1698
+ pinned: z.ZodOptional<z.ZodBoolean>;
1699
+ isShared: z.ZodOptional<z.ZodBoolean>;
1700
+ codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
1701
+ codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
1702
+ codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1703
+ environmentId: z.ZodString;
1704
+ workspaceId: z.ZodString;
1705
+ }, "strict", z.ZodTypeAny, {
1706
+ environmentId: string;
1707
+ workspaceId: string;
1708
+ }, {
1709
+ environmentId: string;
1710
+ workspaceId: string;
1711
+ }>, "many">>;
1687
1712
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1688
1713
  name: z.ZodString;
1689
1714
  pluginKey: z.ZodString;
@@ -1698,14 +1723,14 @@ export declare const tPresetSchema: z.ZodObject<{
1698
1723
  sensitive: z.ZodOptional<z.ZodBoolean>;
1699
1724
  }, "strip", z.ZodTypeAny, {
1700
1725
  description: string;
1701
- authField: string;
1702
1726
  label: string;
1727
+ authField: string;
1703
1728
  optional?: boolean | undefined;
1704
1729
  sensitive?: boolean | undefined;
1705
1730
  }, {
1706
1731
  description: string;
1707
- authField: string;
1708
1732
  label: string;
1733
+ authField: string;
1709
1734
  optional?: boolean | undefined;
1710
1735
  sensitive?: boolean | undefined;
1711
1736
  }>, "many">>;
@@ -1723,8 +1748,8 @@ export declare const tPresetSchema: z.ZodObject<{
1723
1748
  icon?: string | undefined;
1724
1749
  authConfig?: {
1725
1750
  description: string;
1726
- authField: string;
1727
1751
  label: string;
1752
+ authField: string;
1728
1753
  optional?: boolean | undefined;
1729
1754
  sensitive?: boolean | undefined;
1730
1755
  }[] | undefined;
@@ -1740,8 +1765,8 @@ export declare const tPresetSchema: z.ZodObject<{
1740
1765
  icon?: string | undefined;
1741
1766
  authConfig?: {
1742
1767
  description: string;
1743
- authField: string;
1744
1768
  label: string;
1769
+ authField: string;
1745
1770
  optional?: boolean | undefined;
1746
1771
  sensitive?: boolean | undefined;
1747
1772
  }[] | undefined;
@@ -1751,26 +1776,6 @@ export declare const tPresetSchema: z.ZodObject<{
1751
1776
  toolkit?: boolean | undefined;
1752
1777
  serverToolName?: string | undefined;
1753
1778
  }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
1754
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1755
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1756
- endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1757
- isArchived: z.ZodOptional<z.ZodBoolean>;
1758
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1759
- pinned: z.ZodOptional<z.ZodBoolean>;
1760
- isShared: z.ZodOptional<z.ZodBoolean>;
1761
- codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
1762
- codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
1763
- codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1764
- environmentId: z.ZodString;
1765
- workspaceId: z.ZodString;
1766
- }, "strict", z.ZodTypeAny, {
1767
- environmentId: string;
1768
- workspaceId: string;
1769
- }, {
1770
- environmentId: string;
1771
- workspaceId: string;
1772
- }>, "many">>;
1773
- messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1774
1779
  modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1775
1780
  userLabel: z.ZodOptional<z.ZodString>;
1776
1781
  promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1786,7 +1791,6 @@ export declare const tPresetSchema: z.ZodObject<{
1786
1791
  max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1787
1792
  promptCache: z.ZodOptional<z.ZodBoolean>;
1788
1793
  promptCacheTtl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1789
- system: z.ZodOptional<z.ZodString>;
1790
1794
  thinking: z.ZodOptional<z.ZodBoolean>;
1791
1795
  thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1792
1796
  thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
@@ -1807,19 +1811,19 @@ export declare const tPresetSchema: z.ZodObject<{
1807
1811
  content: string;
1808
1812
  }>;
1809
1813
  }, "strip", z.ZodTypeAny, {
1810
- input: {
1811
- content: string;
1812
- };
1813
1814
  output: {
1814
1815
  content: string;
1815
1816
  };
1816
- }, {
1817
1817
  input: {
1818
1818
  content: string;
1819
1819
  };
1820
+ }, {
1820
1821
  output: {
1821
1822
  content: string;
1822
1823
  };
1824
+ input: {
1825
+ content: string;
1826
+ };
1823
1827
  }>, "many">>;
1824
1828
  resendFiles: z.ZodOptional<z.ZodBoolean>;
1825
1829
  file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1832,6 +1836,7 @@ export declare const tPresetSchema: z.ZodObject<{
1832
1836
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
1833
1837
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
1834
1838
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
1839
+ web_search: z.ZodOptional<z.ZodBoolean>;
1835
1840
  url_context: z.ZodOptional<z.ZodBoolean>;
1836
1841
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
1837
1842
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -1846,21 +1851,21 @@ export declare const tPresetSchema: z.ZodObject<{
1846
1851
  subagentKind: z.ZodEnum<["agent", "graph"]>;
1847
1852
  depth: z.ZodNumber;
1848
1853
  }, "strip", z.ZodTypeAny, {
1849
- subagentKind: "agent" | "graph";
1850
1854
  parentMessageId: string;
1851
1855
  rootConversationId: string;
1852
1856
  parentConversationId: string;
1853
1857
  parentToolCallId: string;
1854
1858
  subagentType: string;
1859
+ subagentKind: "agent" | "graph";
1855
1860
  depth: number;
1856
1861
  parentAgentId?: string | undefined;
1857
1862
  }, {
1858
- subagentKind: "agent" | "graph";
1859
1863
  parentMessageId: string;
1860
1864
  rootConversationId: string;
1861
1865
  parentConversationId: string;
1862
1866
  parentToolCallId: string;
1863
1867
  subagentType: string;
1868
+ subagentKind: "agent" | "graph";
1864
1869
  depth: number;
1865
1870
  parentAgentId?: string | undefined;
1866
1871
  }>>;
@@ -1869,8 +1874,6 @@ export declare const tPresetSchema: z.ZodObject<{
1869
1874
  additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
1870
1875
  append_current_datetime: z.ZodOptional<z.ZodBoolean>;
1871
1876
  presetOverride: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1872
- stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1873
- greeting: z.ZodOptional<z.ZodString>;
1874
1877
  spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1875
1878
  iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1876
1879
  expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1888,11 +1891,29 @@ export declare const tPresetSchema: z.ZodObject<{
1888
1891
  }, "strip", z.ZodTypeAny, {
1889
1892
  endpoint: string | null;
1890
1893
  user?: string | undefined;
1891
- web_search?: boolean | undefined;
1894
+ system?: string | undefined;
1892
1895
  context?: string | null | undefined;
1893
- artifacts?: string | undefined;
1894
1896
  instructions?: string | undefined;
1895
1897
  additional_instructions?: string | undefined;
1898
+ greeting?: string | undefined;
1899
+ artifacts?: string | undefined;
1900
+ title?: string | null | undefined;
1901
+ stop?: string[] | undefined;
1902
+ messages?: string[] | undefined;
1903
+ tags?: string[] | undefined;
1904
+ model?: string | null | undefined;
1905
+ conversationId?: string | null | undefined;
1906
+ endpointType?: EModelEndpoint | null | undefined;
1907
+ isArchived?: boolean | undefined;
1908
+ archivedAt?: string | null | undefined;
1909
+ pinned?: boolean | undefined;
1910
+ isShared?: boolean | undefined;
1911
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1912
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1913
+ codeWorkspaces?: {
1914
+ environmentId: string;
1915
+ workspaceId: string;
1916
+ }[] | undefined;
1896
1917
  tools?: string[] | {
1897
1918
  name: string;
1898
1919
  pluginKey: string;
@@ -1900,8 +1921,8 @@ export declare const tPresetSchema: z.ZodObject<{
1900
1921
  icon?: string | undefined;
1901
1922
  authConfig?: {
1902
1923
  description: string;
1903
- authField: string;
1904
1924
  label: string;
1925
+ authField: string;
1905
1926
  optional?: boolean | undefined;
1906
1927
  sensitive?: boolean | undefined;
1907
1928
  }[] | undefined;
@@ -1911,22 +1932,6 @@ export declare const tPresetSchema: z.ZodObject<{
1911
1932
  toolkit?: boolean | undefined;
1912
1933
  serverToolName?: string | undefined;
1913
1934
  }[] | undefined;
1914
- model?: string | null | undefined;
1915
- tags?: string[] | undefined;
1916
- conversationId?: string | null | undefined;
1917
- endpointType?: EModelEndpoint | null | undefined;
1918
- isArchived?: boolean | undefined;
1919
- archivedAt?: string | null | undefined;
1920
- pinned?: boolean | undefined;
1921
- isShared?: boolean | undefined;
1922
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1923
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1924
- codeWorkspaces?: {
1925
- environmentId: string;
1926
- workspaceId: string;
1927
- }[] | undefined;
1928
- title?: string | null | undefined;
1929
- messages?: string[] | undefined;
1930
1935
  modelLabel?: string | null | undefined;
1931
1936
  userLabel?: string | undefined;
1932
1937
  promptPrefix?: string | null | undefined;
@@ -1942,16 +1947,15 @@ export declare const tPresetSchema: z.ZodObject<{
1942
1947
  max_tokens?: number | undefined;
1943
1948
  promptCache?: boolean | undefined;
1944
1949
  promptCacheTtl?: "5m" | "1h" | undefined;
1945
- system?: string | undefined;
1946
1950
  thinking?: boolean | undefined;
1947
1951
  thinkingBudget?: number | undefined;
1948
1952
  thinkingLevel?: ThinkingLevel | undefined;
1949
1953
  stream?: boolean | undefined;
1950
1954
  examples?: {
1951
- input: {
1955
+ output: {
1952
1956
  content: string;
1953
1957
  };
1954
- output: {
1958
+ input: {
1955
1959
  content: string;
1956
1960
  };
1957
1961
  }[] | undefined;
@@ -1966,17 +1970,18 @@ export declare const tPresetSchema: z.ZodObject<{
1966
1970
  useResponsesApi?: boolean | undefined;
1967
1971
  effort?: AnthropicEffort | null | undefined;
1968
1972
  thinkingDisplay?: ThinkingDisplay | null | undefined;
1973
+ web_search?: boolean | undefined;
1969
1974
  url_context?: boolean | undefined;
1970
1975
  disableStreaming?: boolean | undefined;
1971
1976
  assistant_id?: string | undefined;
1972
1977
  agent_id?: string | undefined;
1973
1978
  subagentThread?: {
1974
- subagentKind: "agent" | "graph";
1975
1979
  parentMessageId: string;
1976
1980
  rootConversationId: string;
1977
1981
  parentConversationId: string;
1978
1982
  parentToolCallId: string;
1979
1983
  subagentType: string;
1984
+ subagentKind: "agent" | "graph";
1980
1985
  depth: number;
1981
1986
  parentAgentId?: string | undefined;
1982
1987
  } | undefined;
@@ -1985,8 +1990,6 @@ export declare const tPresetSchema: z.ZodObject<{
1985
1990
  additionalModelRequestFields?: DocumentTypeValue | undefined;
1986
1991
  append_current_datetime?: boolean | undefined;
1987
1992
  presetOverride?: Record<string, unknown> | undefined;
1988
- stop?: string[] | undefined;
1989
- greeting?: string | undefined;
1990
1993
  spec?: string | null | undefined;
1991
1994
  iconURL?: string | null | undefined;
1992
1995
  expiredAt?: string | null | undefined;
@@ -2000,11 +2003,29 @@ export declare const tPresetSchema: z.ZodObject<{
2000
2003
  }, {
2001
2004
  endpoint: string | null;
2002
2005
  user?: string | undefined;
2003
- web_search?: boolean | undefined;
2006
+ system?: string | undefined;
2004
2007
  context?: string | null | undefined;
2005
- artifacts?: string | undefined;
2006
2008
  instructions?: string | undefined;
2007
2009
  additional_instructions?: string | undefined;
2010
+ greeting?: string | undefined;
2011
+ artifacts?: string | undefined;
2012
+ title?: string | null | undefined;
2013
+ stop?: string[] | undefined;
2014
+ messages?: string[] | undefined;
2015
+ tags?: string[] | undefined;
2016
+ model?: string | null | undefined;
2017
+ conversationId?: string | null | undefined;
2018
+ endpointType?: EModelEndpoint | null | undefined;
2019
+ isArchived?: boolean | undefined;
2020
+ archivedAt?: string | null | undefined;
2021
+ pinned?: boolean | undefined;
2022
+ isShared?: boolean | undefined;
2023
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2024
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2025
+ codeWorkspaces?: {
2026
+ environmentId: string;
2027
+ workspaceId: string;
2028
+ }[] | undefined;
2008
2029
  tools?: string[] | {
2009
2030
  name: string;
2010
2031
  pluginKey: string;
@@ -2012,8 +2033,8 @@ export declare const tPresetSchema: z.ZodObject<{
2012
2033
  icon?: string | undefined;
2013
2034
  authConfig?: {
2014
2035
  description: string;
2015
- authField: string;
2016
2036
  label: string;
2037
+ authField: string;
2017
2038
  optional?: boolean | undefined;
2018
2039
  sensitive?: boolean | undefined;
2019
2040
  }[] | undefined;
@@ -2023,22 +2044,6 @@ export declare const tPresetSchema: z.ZodObject<{
2023
2044
  toolkit?: boolean | undefined;
2024
2045
  serverToolName?: string | undefined;
2025
2046
  }[] | undefined;
2026
- model?: string | null | undefined;
2027
- tags?: string[] | undefined;
2028
- conversationId?: string | null | undefined;
2029
- endpointType?: EModelEndpoint | null | undefined;
2030
- isArchived?: boolean | undefined;
2031
- archivedAt?: string | null | undefined;
2032
- pinned?: boolean | undefined;
2033
- isShared?: boolean | undefined;
2034
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2035
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2036
- codeWorkspaces?: {
2037
- environmentId: string;
2038
- workspaceId: string;
2039
- }[] | undefined;
2040
- title?: string | null | undefined;
2041
- messages?: string[] | undefined;
2042
2047
  modelLabel?: string | null | undefined;
2043
2048
  userLabel?: string | undefined;
2044
2049
  promptPrefix?: string | null | undefined;
@@ -2054,16 +2059,15 @@ export declare const tPresetSchema: z.ZodObject<{
2054
2059
  max_tokens?: string | number | undefined;
2055
2060
  promptCache?: boolean | undefined;
2056
2061
  promptCacheTtl?: "5m" | "1h" | undefined;
2057
- system?: string | undefined;
2058
2062
  thinking?: boolean | undefined;
2059
2063
  thinkingBudget?: string | number | undefined;
2060
2064
  thinkingLevel?: ThinkingLevel | undefined;
2061
2065
  stream?: boolean | undefined;
2062
2066
  examples?: {
2063
- input: {
2067
+ output: {
2064
2068
  content: string;
2065
2069
  };
2066
- output: {
2070
+ input: {
2067
2071
  content: string;
2068
2072
  };
2069
2073
  }[] | undefined;
@@ -2078,17 +2082,18 @@ export declare const tPresetSchema: z.ZodObject<{
2078
2082
  useResponsesApi?: boolean | undefined;
2079
2083
  effort?: AnthropicEffort | null | undefined;
2080
2084
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2085
+ web_search?: boolean | undefined;
2081
2086
  url_context?: boolean | undefined;
2082
2087
  disableStreaming?: boolean | undefined;
2083
2088
  assistant_id?: string | undefined;
2084
2089
  agent_id?: string | undefined;
2085
2090
  subagentThread?: {
2086
- subagentKind: "agent" | "graph";
2087
2091
  parentMessageId: string;
2088
2092
  rootConversationId: string;
2089
2093
  parentConversationId: string;
2090
2094
  parentToolCallId: string;
2091
2095
  subagentType: string;
2096
+ subagentKind: "agent" | "graph";
2092
2097
  depth: number;
2093
2098
  parentAgentId?: string | undefined;
2094
2099
  } | undefined;
@@ -2097,8 +2102,6 @@ export declare const tPresetSchema: z.ZodObject<{
2097
2102
  additionalModelRequestFields?: DocumentTypeValue | undefined;
2098
2103
  append_current_datetime?: boolean | undefined;
2099
2104
  presetOverride?: Record<string, unknown> | undefined;
2100
- stop?: string[] | undefined;
2101
- greeting?: string | undefined;
2102
2105
  spec?: string | null | undefined;
2103
2106
  iconURL?: string | null | undefined;
2104
2107
  expiredAt?: string | null | undefined;
@@ -2146,14 +2149,14 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2146
2149
  sensitive: z.ZodOptional<z.ZodBoolean>;
2147
2150
  }, "strip", z.ZodTypeAny, {
2148
2151
  description: string;
2149
- authField: string;
2150
2152
  label: string;
2153
+ authField: string;
2151
2154
  optional?: boolean | undefined;
2152
2155
  sensitive?: boolean | undefined;
2153
2156
  }, {
2154
2157
  description: string;
2155
- authField: string;
2156
2158
  label: string;
2159
+ authField: string;
2157
2160
  optional?: boolean | undefined;
2158
2161
  sensitive?: boolean | undefined;
2159
2162
  }>, "many">>;
@@ -2171,8 +2174,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2171
2174
  icon?: string | undefined;
2172
2175
  authConfig?: {
2173
2176
  description: string;
2174
- authField: string;
2175
2177
  label: string;
2178
+ authField: string;
2176
2179
  optional?: boolean | undefined;
2177
2180
  sensitive?: boolean | undefined;
2178
2181
  }[] | undefined;
@@ -2188,8 +2191,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2188
2191
  icon?: string | undefined;
2189
2192
  authConfig?: {
2190
2193
  description: string;
2191
- authField: string;
2192
2194
  label: string;
2195
+ authField: string;
2193
2196
  optional?: boolean | undefined;
2194
2197
  sensitive?: boolean | undefined;
2195
2198
  }[] | undefined;
@@ -2238,19 +2241,19 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2238
2241
  content: string;
2239
2242
  }>;
2240
2243
  }, "strip", z.ZodTypeAny, {
2241
- input: {
2242
- content: string;
2243
- };
2244
2244
  output: {
2245
2245
  content: string;
2246
2246
  };
2247
- }, {
2248
2247
  input: {
2249
2248
  content: string;
2250
2249
  };
2250
+ }, {
2251
2251
  output: {
2252
2252
  content: string;
2253
2253
  };
2254
+ input: {
2255
+ content: string;
2256
+ };
2254
2257
  }>, "many">>;
2255
2258
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2256
2259
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2280,21 +2283,21 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2280
2283
  subagentKind: z.ZodEnum<["agent", "graph"]>;
2281
2284
  depth: z.ZodNumber;
2282
2285
  }, "strip", z.ZodTypeAny, {
2283
- subagentKind: "agent" | "graph";
2284
2286
  parentMessageId: string;
2285
2287
  rootConversationId: string;
2286
2288
  parentConversationId: string;
2287
2289
  parentToolCallId: string;
2288
2290
  subagentType: string;
2291
+ subagentKind: "agent" | "graph";
2289
2292
  depth: number;
2290
2293
  parentAgentId?: string | undefined;
2291
2294
  }, {
2292
- subagentKind: "agent" | "graph";
2293
2295
  parentMessageId: string;
2294
2296
  rootConversationId: string;
2295
2297
  parentConversationId: string;
2296
2298
  parentToolCallId: string;
2297
2299
  subagentType: string;
2300
+ subagentKind: "agent" | "graph";
2298
2301
  depth: number;
2299
2302
  parentAgentId?: string | undefined;
2300
2303
  }>>;
@@ -2319,15 +2322,31 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2319
2322
  createdAt: z.ZodOptional<z.ZodString>;
2320
2323
  updatedAt: z.ZodOptional<z.ZodString>;
2321
2324
  }, "strip", z.ZodTypeAny, {
2322
- endpoint: string | null;
2323
- conversationId: string | null;
2324
2325
  title: string | null;
2326
+ conversationId: string | null;
2327
+ endpoint: string | null;
2325
2328
  user?: string | undefined;
2326
- web_search?: boolean | undefined;
2329
+ system?: string | undefined;
2327
2330
  context?: string | null | undefined;
2328
- artifacts?: string | undefined;
2329
2331
  instructions?: string | undefined;
2330
2332
  additional_instructions?: string | undefined;
2333
+ greeting?: string | undefined;
2334
+ artifacts?: string | undefined;
2335
+ stop?: string[] | undefined;
2336
+ messages?: string[] | undefined;
2337
+ tags?: string[] | undefined;
2338
+ model?: string | null | undefined;
2339
+ endpointType?: EModelEndpoint | null | undefined;
2340
+ isArchived?: boolean | undefined;
2341
+ archivedAt?: string | null | undefined;
2342
+ pinned?: boolean | undefined;
2343
+ isShared?: boolean | undefined;
2344
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2345
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2346
+ codeWorkspaces?: {
2347
+ environmentId: string;
2348
+ workspaceId: string;
2349
+ }[] | undefined;
2331
2350
  tools?: string[] | {
2332
2351
  name: string;
2333
2352
  pluginKey: string;
@@ -2335,8 +2354,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2335
2354
  icon?: string | undefined;
2336
2355
  authConfig?: {
2337
2356
  description: string;
2338
- authField: string;
2339
2357
  label: string;
2358
+ authField: string;
2340
2359
  optional?: boolean | undefined;
2341
2360
  sensitive?: boolean | undefined;
2342
2361
  }[] | undefined;
@@ -2346,20 +2365,6 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2346
2365
  toolkit?: boolean | undefined;
2347
2366
  serverToolName?: string | undefined;
2348
2367
  }[] | undefined;
2349
- model?: string | null | undefined;
2350
- tags?: string[] | undefined;
2351
- endpointType?: EModelEndpoint | null | undefined;
2352
- isArchived?: boolean | undefined;
2353
- archivedAt?: string | null | undefined;
2354
- pinned?: boolean | undefined;
2355
- isShared?: boolean | undefined;
2356
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2357
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2358
- codeWorkspaces?: {
2359
- environmentId: string;
2360
- workspaceId: string;
2361
- }[] | undefined;
2362
- messages?: string[] | undefined;
2363
2368
  modelLabel?: string | null | undefined;
2364
2369
  userLabel?: string | undefined;
2365
2370
  promptPrefix?: string | null | undefined;
@@ -2375,16 +2380,15 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2375
2380
  max_tokens?: number | undefined;
2376
2381
  promptCache?: boolean | undefined;
2377
2382
  promptCacheTtl?: "5m" | "1h" | undefined;
2378
- system?: string | undefined;
2379
2383
  thinking?: boolean | undefined;
2380
2384
  thinkingBudget?: number | undefined;
2381
2385
  thinkingLevel?: ThinkingLevel | undefined;
2382
2386
  stream?: boolean | undefined;
2383
2387
  examples?: {
2384
- input: {
2388
+ output: {
2385
2389
  content: string;
2386
2390
  };
2387
- output: {
2391
+ input: {
2388
2392
  content: string;
2389
2393
  };
2390
2394
  }[] | undefined;
@@ -2402,17 +2406,18 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2402
2406
  useResponsesApi?: boolean | undefined;
2403
2407
  effort?: AnthropicEffort | null | undefined;
2404
2408
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2409
+ web_search?: boolean | undefined;
2405
2410
  url_context?: boolean | undefined;
2406
2411
  disableStreaming?: boolean | undefined;
2407
2412
  assistant_id?: string | undefined;
2408
2413
  agent_id?: string | undefined;
2409
2414
  subagentThread?: {
2410
- subagentKind: "agent" | "graph";
2411
2415
  parentMessageId: string;
2412
2416
  rootConversationId: string;
2413
2417
  parentConversationId: string;
2414
2418
  parentToolCallId: string;
2415
2419
  subagentType: string;
2420
+ subagentKind: "agent" | "graph";
2416
2421
  depth: number;
2417
2422
  parentAgentId?: string | undefined;
2418
2423
  } | undefined;
@@ -2421,8 +2426,6 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2421
2426
  additionalModelRequestFields?: DocumentTypeValue | undefined;
2422
2427
  append_current_datetime?: boolean | undefined;
2423
2428
  presetOverride?: Record<string, unknown> | undefined;
2424
- stop?: string[] | undefined;
2425
- greeting?: string | undefined;
2426
2429
  spec?: string | null | undefined;
2427
2430
  iconURL?: string | null | undefined;
2428
2431
  expiredAt?: string | null | undefined;
@@ -2431,14 +2434,31 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2431
2434
  resendImages?: boolean | undefined;
2432
2435
  chatGptLabel?: string | null | undefined;
2433
2436
  }, {
2434
- endpoint: string | null;
2435
2437
  conversationId: string | null;
2438
+ endpoint: string | null;
2436
2439
  user?: string | undefined;
2437
- web_search?: boolean | undefined;
2440
+ system?: string | undefined;
2438
2441
  context?: string | null | undefined;
2439
- artifacts?: string | undefined;
2440
2442
  instructions?: string | undefined;
2441
2443
  additional_instructions?: string | undefined;
2444
+ greeting?: string | undefined;
2445
+ artifacts?: string | undefined;
2446
+ title?: string | null | undefined;
2447
+ stop?: string[] | undefined;
2448
+ messages?: string[] | undefined;
2449
+ tags?: string[] | undefined;
2450
+ model?: string | null | undefined;
2451
+ endpointType?: EModelEndpoint | null | undefined;
2452
+ isArchived?: boolean | undefined;
2453
+ archivedAt?: string | null | undefined;
2454
+ pinned?: boolean | undefined;
2455
+ isShared?: boolean | undefined;
2456
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2457
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2458
+ codeWorkspaces?: {
2459
+ environmentId: string;
2460
+ workspaceId: string;
2461
+ }[] | undefined;
2442
2462
  tools?: string[] | {
2443
2463
  name: string;
2444
2464
  pluginKey: string;
@@ -2446,8 +2466,8 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2446
2466
  icon?: string | undefined;
2447
2467
  authConfig?: {
2448
2468
  description: string;
2449
- authField: string;
2450
2469
  label: string;
2470
+ authField: string;
2451
2471
  optional?: boolean | undefined;
2452
2472
  sensitive?: boolean | undefined;
2453
2473
  }[] | undefined;
@@ -2457,21 +2477,6 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2457
2477
  toolkit?: boolean | undefined;
2458
2478
  serverToolName?: string | undefined;
2459
2479
  }[] | undefined;
2460
- model?: string | null | undefined;
2461
- tags?: string[] | undefined;
2462
- endpointType?: EModelEndpoint | null | undefined;
2463
- isArchived?: boolean | undefined;
2464
- archivedAt?: string | null | undefined;
2465
- pinned?: boolean | undefined;
2466
- isShared?: boolean | undefined;
2467
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2468
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2469
- codeWorkspaces?: {
2470
- environmentId: string;
2471
- workspaceId: string;
2472
- }[] | undefined;
2473
- title?: string | null | undefined;
2474
- messages?: string[] | undefined;
2475
2480
  modelLabel?: string | null | undefined;
2476
2481
  userLabel?: string | undefined;
2477
2482
  promptPrefix?: string | null | undefined;
@@ -2487,16 +2492,15 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2487
2492
  max_tokens?: string | number | undefined;
2488
2493
  promptCache?: boolean | undefined;
2489
2494
  promptCacheTtl?: "5m" | "1h" | undefined;
2490
- system?: string | undefined;
2491
2495
  thinking?: boolean | undefined;
2492
2496
  thinkingBudget?: string | number | undefined;
2493
2497
  thinkingLevel?: ThinkingLevel | undefined;
2494
2498
  stream?: boolean | undefined;
2495
2499
  examples?: {
2496
- input: {
2500
+ output: {
2497
2501
  content: string;
2498
2502
  };
2499
- output: {
2503
+ input: {
2500
2504
  content: string;
2501
2505
  };
2502
2506
  }[] | undefined;
@@ -2514,17 +2518,18 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2514
2518
  useResponsesApi?: boolean | undefined;
2515
2519
  effort?: AnthropicEffort | null | undefined;
2516
2520
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2521
+ web_search?: boolean | undefined;
2517
2522
  url_context?: boolean | undefined;
2518
2523
  disableStreaming?: boolean | undefined;
2519
2524
  assistant_id?: string | undefined;
2520
2525
  agent_id?: string | undefined;
2521
2526
  subagentThread?: {
2522
- subagentKind: "agent" | "graph";
2523
2527
  parentMessageId: string;
2524
2528
  rootConversationId: string;
2525
2529
  parentConversationId: string;
2526
2530
  parentToolCallId: string;
2527
2531
  subagentType: string;
2532
+ subagentKind: "agent" | "graph";
2528
2533
  depth: number;
2529
2534
  parentAgentId?: string | undefined;
2530
2535
  } | undefined;
@@ -2533,8 +2538,6 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
2533
2538
  additionalModelRequestFields?: DocumentTypeValue | undefined;
2534
2539
  append_current_datetime?: boolean | undefined;
2535
2540
  presetOverride?: Record<string, unknown> | undefined;
2536
- stop?: string[] | undefined;
2537
- greeting?: string | undefined;
2538
2541
  spec?: string | null | undefined;
2539
2542
  iconURL?: string | null | undefined;
2540
2543
  expiredAt?: string | null | undefined;
@@ -2582,14 +2585,14 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2582
2585
  sensitive: z.ZodOptional<z.ZodBoolean>;
2583
2586
  }, "strip", z.ZodTypeAny, {
2584
2587
  description: string;
2585
- authField: string;
2586
2588
  label: string;
2589
+ authField: string;
2587
2590
  optional?: boolean | undefined;
2588
2591
  sensitive?: boolean | undefined;
2589
2592
  }, {
2590
2593
  description: string;
2591
- authField: string;
2592
2594
  label: string;
2595
+ authField: string;
2593
2596
  optional?: boolean | undefined;
2594
2597
  sensitive?: boolean | undefined;
2595
2598
  }>, "many">>;
@@ -2607,8 +2610,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2607
2610
  icon?: string | undefined;
2608
2611
  authConfig?: {
2609
2612
  description: string;
2610
- authField: string;
2611
2613
  label: string;
2614
+ authField: string;
2612
2615
  optional?: boolean | undefined;
2613
2616
  sensitive?: boolean | undefined;
2614
2617
  }[] | undefined;
@@ -2624,8 +2627,8 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2624
2627
  icon?: string | undefined;
2625
2628
  authConfig?: {
2626
2629
  description: string;
2627
- authField: string;
2628
2630
  label: string;
2631
+ authField: string;
2629
2632
  optional?: boolean | undefined;
2630
2633
  sensitive?: boolean | undefined;
2631
2634
  }[] | undefined;
@@ -2674,19 +2677,19 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2674
2677
  content: string;
2675
2678
  }>;
2676
2679
  }, "strip", z.ZodTypeAny, {
2677
- input: {
2678
- content: string;
2679
- };
2680
2680
  output: {
2681
2681
  content: string;
2682
2682
  };
2683
- }, {
2684
2683
  input: {
2685
2684
  content: string;
2686
2685
  };
2686
+ }, {
2687
2687
  output: {
2688
2688
  content: string;
2689
2689
  };
2690
+ input: {
2691
+ content: string;
2692
+ };
2690
2693
  }>, "many">>;
2691
2694
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2692
2695
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2719,21 +2722,21 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2719
2722
  subagentKind: z.ZodEnum<["agent", "graph"]>;
2720
2723
  depth: z.ZodNumber;
2721
2724
  }, "strip", z.ZodTypeAny, {
2722
- subagentKind: "agent" | "graph";
2723
2725
  parentMessageId: string;
2724
2726
  rootConversationId: string;
2725
2727
  parentConversationId: string;
2726
2728
  parentToolCallId: string;
2727
2729
  subagentType: string;
2730
+ subagentKind: "agent" | "graph";
2728
2731
  depth: number;
2729
2732
  parentAgentId?: string | undefined;
2730
2733
  }, {
2731
- subagentKind: "agent" | "graph";
2732
2734
  parentMessageId: string;
2733
2735
  rootConversationId: string;
2734
2736
  parentConversationId: string;
2735
2737
  parentToolCallId: string;
2736
2738
  subagentType: string;
2739
+ subagentKind: "agent" | "graph";
2737
2740
  depth: number;
2738
2741
  parentAgentId?: string | undefined;
2739
2742
  }>>;
@@ -2756,13 +2759,13 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2756
2759
  resendImages: z.ZodOptional<z.ZodBoolean>;
2757
2760
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
2758
2761
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
- }, "web_search" | "instructions" | "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" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
2762
+ }, "instructions" | "stop" | "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" | "append_current_datetime" | "spec" | "fileTokenLimit"> & {
2760
2763
  /** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */
2761
2764
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
2762
2765
  }, "strip", z.ZodTypeAny, {
2763
2766
  endpoint: string | null;
2764
- web_search?: boolean | undefined;
2765
2767
  instructions?: string | undefined;
2768
+ stop?: string[] | undefined;
2766
2769
  model?: string | null | undefined;
2767
2770
  promptPrefix?: string | null | undefined;
2768
2771
  temperature?: number | null | undefined;
@@ -2789,6 +2792,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2789
2792
  useResponsesApi?: boolean | undefined;
2790
2793
  effort?: AnthropicEffort | null | undefined;
2791
2794
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2795
+ web_search?: boolean | undefined;
2792
2796
  url_context?: boolean | undefined;
2793
2797
  disableStreaming?: boolean | undefined;
2794
2798
  assistant_id?: string | undefined;
@@ -2796,13 +2800,12 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2796
2800
  region?: string | undefined;
2797
2801
  maxTokens?: number | undefined;
2798
2802
  append_current_datetime?: boolean | undefined;
2799
- stop?: string[] | undefined;
2800
2803
  spec?: string | null | undefined;
2801
2804
  fileTokenLimit?: number | undefined;
2802
2805
  }, {
2803
2806
  endpoint: string | null;
2804
- web_search?: boolean | undefined;
2805
2807
  instructions?: string | undefined;
2808
+ stop?: string[] | undefined;
2806
2809
  model?: string | null | undefined;
2807
2810
  promptPrefix?: string | null | undefined;
2808
2811
  temperature?: number | null | undefined;
@@ -2829,6 +2832,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2829
2832
  useResponsesApi?: boolean | undefined;
2830
2833
  effort?: AnthropicEffort | null | undefined;
2831
2834
  thinkingDisplay?: ThinkingDisplay | null | undefined;
2835
+ web_search?: boolean | undefined;
2832
2836
  url_context?: boolean | undefined;
2833
2837
  disableStreaming?: boolean | undefined;
2834
2838
  assistant_id?: string | undefined;
@@ -2836,7 +2840,6 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2836
2840
  region?: string | undefined;
2837
2841
  maxTokens?: string | number | undefined;
2838
2842
  append_current_datetime?: boolean | undefined;
2839
- stop?: string[] | undefined;
2840
2843
  spec?: string | null | undefined;
2841
2844
  fileTokenLimit?: string | number | undefined;
2842
2845
  }>;
@@ -2848,11 +2851,30 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
2848
2851
  * omitted to avoid duplicate configuration surface.
2849
2852
  */
2850
2853
  export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2851
- web_search: z.ZodOptional<z.ZodBoolean>;
2854
+ system: z.ZodOptional<z.ZodString>;
2852
2855
  context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2853
- artifacts: z.ZodOptional<z.ZodString>;
2854
2856
  instructions: z.ZodOptional<z.ZodString>;
2855
2857
  additional_instructions: z.ZodOptional<z.ZodString>;
2858
+ greeting: z.ZodOptional<z.ZodString>;
2859
+ artifacts: z.ZodOptional<z.ZodString>;
2860
+ stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2861
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2862
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
2863
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2864
+ pinned: z.ZodOptional<z.ZodBoolean>;
2865
+ isShared: z.ZodOptional<z.ZodBoolean>;
2866
+ codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
2867
+ codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
2868
+ codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
2869
+ environmentId: z.ZodString;
2870
+ workspaceId: z.ZodString;
2871
+ }, "strict", z.ZodTypeAny, {
2872
+ environmentId: string;
2873
+ workspaceId: string;
2874
+ }, {
2875
+ environmentId: string;
2876
+ workspaceId: string;
2877
+ }>, "many">>;
2856
2878
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2857
2879
  name: z.ZodString;
2858
2880
  pluginKey: z.ZodString;
@@ -2867,14 +2889,14 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2867
2889
  sensitive: z.ZodOptional<z.ZodBoolean>;
2868
2890
  }, "strip", z.ZodTypeAny, {
2869
2891
  description: string;
2870
- authField: string;
2871
2892
  label: string;
2893
+ authField: string;
2872
2894
  optional?: boolean | undefined;
2873
2895
  sensitive?: boolean | undefined;
2874
2896
  }, {
2875
2897
  description: string;
2876
- authField: string;
2877
2898
  label: string;
2899
+ authField: string;
2878
2900
  optional?: boolean | undefined;
2879
2901
  sensitive?: boolean | undefined;
2880
2902
  }>, "many">>;
@@ -2892,8 +2914,8 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2892
2914
  icon?: string | undefined;
2893
2915
  authConfig?: {
2894
2916
  description: string;
2895
- authField: string;
2896
2917
  label: string;
2918
+ authField: string;
2897
2919
  optional?: boolean | undefined;
2898
2920
  sensitive?: boolean | undefined;
2899
2921
  }[] | undefined;
@@ -2909,8 +2931,8 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2909
2931
  icon?: string | undefined;
2910
2932
  authConfig?: {
2911
2933
  description: string;
2912
- authField: string;
2913
2934
  label: string;
2935
+ authField: string;
2914
2936
  optional?: boolean | undefined;
2915
2937
  sensitive?: boolean | undefined;
2916
2938
  }[] | undefined;
@@ -2920,23 +2942,6 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2920
2942
  toolkit?: boolean | undefined;
2921
2943
  serverToolName?: string | undefined;
2922
2944
  }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
2923
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2924
- endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
2925
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2926
- pinned: z.ZodOptional<z.ZodBoolean>;
2927
- isShared: z.ZodOptional<z.ZodBoolean>;
2928
- codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
2929
- codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
2930
- codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
2931
- environmentId: z.ZodString;
2932
- workspaceId: z.ZodString;
2933
- }, "strict", z.ZodTypeAny, {
2934
- environmentId: string;
2935
- workspaceId: string;
2936
- }, {
2937
- environmentId: string;
2938
- workspaceId: string;
2939
- }>, "many">>;
2940
2945
  modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2941
2946
  userLabel: z.ZodOptional<z.ZodString>;
2942
2947
  promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2951,7 +2956,6 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2951
2956
  max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
2952
2957
  promptCache: z.ZodOptional<z.ZodBoolean>;
2953
2958
  promptCacheTtl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
2954
- system: z.ZodOptional<z.ZodString>;
2955
2959
  thinking: z.ZodOptional<z.ZodBoolean>;
2956
2960
  thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
2957
2961
  thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
@@ -2972,19 +2976,19 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2972
2976
  content: string;
2973
2977
  }>;
2974
2978
  }, "strip", z.ZodTypeAny, {
2975
- input: {
2976
- content: string;
2977
- };
2978
2979
  output: {
2979
2980
  content: string;
2980
2981
  };
2981
- }, {
2982
2982
  input: {
2983
2983
  content: string;
2984
2984
  };
2985
+ }, {
2985
2986
  output: {
2986
2987
  content: string;
2987
2988
  };
2989
+ input: {
2990
+ content: string;
2991
+ };
2988
2992
  }>, "many">>;
2989
2993
  resendFiles: z.ZodOptional<z.ZodBoolean>;
2990
2994
  imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
@@ -2996,6 +3000,7 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
2996
3000
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
2997
3001
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
2998
3002
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
3003
+ web_search: z.ZodOptional<z.ZodBoolean>;
2999
3004
  url_context: z.ZodOptional<z.ZodBoolean>;
3000
3005
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
3001
3006
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -3010,21 +3015,21 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3010
3015
  subagentKind: z.ZodEnum<["agent", "graph"]>;
3011
3016
  depth: z.ZodNumber;
3012
3017
  }, "strip", z.ZodTypeAny, {
3013
- subagentKind: "agent" | "graph";
3014
3018
  parentMessageId: string;
3015
3019
  rootConversationId: string;
3016
3020
  parentConversationId: string;
3017
3021
  parentToolCallId: string;
3018
3022
  subagentType: string;
3023
+ subagentKind: "agent" | "graph";
3019
3024
  depth: number;
3020
3025
  parentAgentId?: string | undefined;
3021
3026
  }, {
3022
- subagentKind: "agent" | "graph";
3023
3027
  parentMessageId: string;
3024
3028
  rootConversationId: string;
3025
3029
  parentConversationId: string;
3026
3030
  parentToolCallId: string;
3027
3031
  subagentType: string;
3032
+ subagentKind: "agent" | "graph";
3028
3033
  depth: number;
3029
3034
  parentAgentId?: string | undefined;
3030
3035
  }>>;
@@ -3032,20 +3037,31 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3032
3037
  maxTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
3033
3038
  additionalModelRequestFields: z.ZodOptional<z.ZodType<DocumentTypeValue, z.ZodTypeDef, DocumentTypeValue>>;
3034
3039
  append_current_datetime: z.ZodOptional<z.ZodBoolean>;
3035
- stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3036
- greeting: z.ZodOptional<z.ZodString>;
3037
3040
  iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3038
3041
  isTemporary: z.ZodOptional<z.ZodBoolean>;
3039
3042
  fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
3040
3043
  } & {
3041
3044
  endpoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>>;
3042
3045
  }, "strip", z.ZodTypeAny, {
3043
- web_search?: boolean | undefined;
3046
+ system?: string | undefined;
3044
3047
  context?: string | null | undefined;
3045
- artifacts?: string | undefined;
3046
- endpoint?: string | null | undefined;
3047
3048
  instructions?: string | undefined;
3048
3049
  additional_instructions?: string | undefined;
3050
+ greeting?: string | undefined;
3051
+ artifacts?: string | undefined;
3052
+ stop?: string[] | undefined;
3053
+ model?: string | null | undefined;
3054
+ endpoint?: string | null | undefined;
3055
+ endpointType?: EModelEndpoint | null | undefined;
3056
+ archivedAt?: string | null | undefined;
3057
+ pinned?: boolean | undefined;
3058
+ isShared?: boolean | undefined;
3059
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3060
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3061
+ codeWorkspaces?: {
3062
+ environmentId: string;
3063
+ workspaceId: string;
3064
+ }[] | undefined;
3049
3065
  tools?: string[] | {
3050
3066
  name: string;
3051
3067
  pluginKey: string;
@@ -3053,8 +3069,8 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3053
3069
  icon?: string | undefined;
3054
3070
  authConfig?: {
3055
3071
  description: string;
3056
- authField: string;
3057
3072
  label: string;
3073
+ authField: string;
3058
3074
  optional?: boolean | undefined;
3059
3075
  sensitive?: boolean | undefined;
3060
3076
  }[] | undefined;
@@ -3064,17 +3080,6 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3064
3080
  toolkit?: boolean | undefined;
3065
3081
  serverToolName?: string | undefined;
3066
3082
  }[] | undefined;
3067
- model?: string | null | undefined;
3068
- endpointType?: EModelEndpoint | null | undefined;
3069
- archivedAt?: string | null | undefined;
3070
- pinned?: boolean | undefined;
3071
- isShared?: boolean | undefined;
3072
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3073
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3074
- codeWorkspaces?: {
3075
- environmentId: string;
3076
- workspaceId: string;
3077
- }[] | undefined;
3078
3083
  modelLabel?: string | null | undefined;
3079
3084
  userLabel?: string | undefined;
3080
3085
  promptPrefix?: string | null | undefined;
@@ -3089,16 +3094,15 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3089
3094
  max_tokens?: number | undefined;
3090
3095
  promptCache?: boolean | undefined;
3091
3096
  promptCacheTtl?: "5m" | "1h" | undefined;
3092
- system?: string | undefined;
3093
3097
  thinking?: boolean | undefined;
3094
3098
  thinkingBudget?: number | undefined;
3095
3099
  thinkingLevel?: ThinkingLevel | undefined;
3096
3100
  stream?: boolean | undefined;
3097
3101
  examples?: {
3098
- input: {
3102
+ output: {
3099
3103
  content: string;
3100
3104
  };
3101
- output: {
3105
+ input: {
3102
3106
  content: string;
3103
3107
  };
3104
3108
  }[] | undefined;
@@ -3112,17 +3116,18 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3112
3116
  useResponsesApi?: boolean | undefined;
3113
3117
  effort?: AnthropicEffort | null | undefined;
3114
3118
  thinkingDisplay?: ThinkingDisplay | null | undefined;
3119
+ web_search?: boolean | undefined;
3115
3120
  url_context?: boolean | undefined;
3116
3121
  disableStreaming?: boolean | undefined;
3117
3122
  assistant_id?: string | undefined;
3118
3123
  agent_id?: string | undefined;
3119
3124
  subagentThread?: {
3120
- subagentKind: "agent" | "graph";
3121
3125
  parentMessageId: string;
3122
3126
  rootConversationId: string;
3123
3127
  parentConversationId: string;
3124
3128
  parentToolCallId: string;
3125
3129
  subagentType: string;
3130
+ subagentKind: "agent" | "graph";
3126
3131
  depth: number;
3127
3132
  parentAgentId?: string | undefined;
3128
3133
  } | undefined;
@@ -3130,18 +3135,29 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3130
3135
  maxTokens?: number | undefined;
3131
3136
  additionalModelRequestFields?: DocumentTypeValue | undefined;
3132
3137
  append_current_datetime?: boolean | undefined;
3133
- stop?: string[] | undefined;
3134
- greeting?: string | undefined;
3135
3138
  iconURL?: string | null | undefined;
3136
3139
  isTemporary?: boolean | undefined;
3137
3140
  fileTokenLimit?: number | undefined;
3138
3141
  }, {
3139
- web_search?: boolean | undefined;
3142
+ system?: string | undefined;
3140
3143
  context?: string | null | undefined;
3141
- artifacts?: string | undefined;
3142
- endpoint?: string | null | undefined;
3143
3144
  instructions?: string | undefined;
3144
3145
  additional_instructions?: string | undefined;
3146
+ greeting?: string | undefined;
3147
+ artifacts?: string | undefined;
3148
+ stop?: string[] | undefined;
3149
+ model?: string | null | undefined;
3150
+ endpoint?: string | null | undefined;
3151
+ endpointType?: EModelEndpoint | null | undefined;
3152
+ archivedAt?: string | null | undefined;
3153
+ pinned?: boolean | undefined;
3154
+ isShared?: boolean | undefined;
3155
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3156
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3157
+ codeWorkspaces?: {
3158
+ environmentId: string;
3159
+ workspaceId: string;
3160
+ }[] | undefined;
3145
3161
  tools?: string[] | {
3146
3162
  name: string;
3147
3163
  pluginKey: string;
@@ -3149,8 +3165,8 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3149
3165
  icon?: string | undefined;
3150
3166
  authConfig?: {
3151
3167
  description: string;
3152
- authField: string;
3153
3168
  label: string;
3169
+ authField: string;
3154
3170
  optional?: boolean | undefined;
3155
3171
  sensitive?: boolean | undefined;
3156
3172
  }[] | undefined;
@@ -3160,17 +3176,6 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3160
3176
  toolkit?: boolean | undefined;
3161
3177
  serverToolName?: string | undefined;
3162
3178
  }[] | undefined;
3163
- model?: string | null | undefined;
3164
- endpointType?: EModelEndpoint | null | undefined;
3165
- archivedAt?: string | null | undefined;
3166
- pinned?: boolean | undefined;
3167
- isShared?: boolean | undefined;
3168
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3169
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3170
- codeWorkspaces?: {
3171
- environmentId: string;
3172
- workspaceId: string;
3173
- }[] | undefined;
3174
3179
  modelLabel?: string | null | undefined;
3175
3180
  userLabel?: string | undefined;
3176
3181
  promptPrefix?: string | null | undefined;
@@ -3185,16 +3190,15 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3185
3190
  max_tokens?: string | number | undefined;
3186
3191
  promptCache?: boolean | undefined;
3187
3192
  promptCacheTtl?: "5m" | "1h" | undefined;
3188
- system?: string | undefined;
3189
3193
  thinking?: boolean | undefined;
3190
3194
  thinkingBudget?: string | number | undefined;
3191
3195
  thinkingLevel?: ThinkingLevel | undefined;
3192
3196
  stream?: boolean | undefined;
3193
3197
  examples?: {
3194
- input: {
3198
+ output: {
3195
3199
  content: string;
3196
3200
  };
3197
- output: {
3201
+ input: {
3198
3202
  content: string;
3199
3203
  };
3200
3204
  }[] | undefined;
@@ -3208,17 +3212,18 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3208
3212
  useResponsesApi?: boolean | undefined;
3209
3213
  effort?: AnthropicEffort | null | undefined;
3210
3214
  thinkingDisplay?: ThinkingDisplay | null | undefined;
3215
+ web_search?: boolean | undefined;
3211
3216
  url_context?: boolean | undefined;
3212
3217
  disableStreaming?: boolean | undefined;
3213
3218
  assistant_id?: string | undefined;
3214
3219
  agent_id?: string | undefined;
3215
3220
  subagentThread?: {
3216
- subagentKind: "agent" | "graph";
3217
3221
  parentMessageId: string;
3218
3222
  rootConversationId: string;
3219
3223
  parentConversationId: string;
3220
3224
  parentToolCallId: string;
3221
3225
  subagentType: string;
3226
+ subagentKind: "agent" | "graph";
3222
3227
  depth: number;
3223
3228
  parentAgentId?: string | undefined;
3224
3229
  } | undefined;
@@ -3226,18 +3231,29 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3226
3231
  maxTokens?: string | number | undefined;
3227
3232
  additionalModelRequestFields?: DocumentTypeValue | undefined;
3228
3233
  append_current_datetime?: boolean | undefined;
3229
- stop?: string[] | undefined;
3230
- greeting?: string | undefined;
3231
3234
  iconURL?: string | null | undefined;
3232
3235
  isTemporary?: boolean | undefined;
3233
3236
  fileTokenLimit?: string | number | undefined;
3234
3237
  }>, {
3235
- web_search?: boolean | undefined;
3238
+ system?: string | undefined;
3236
3239
  context?: string | null | undefined;
3237
- artifacts?: string | undefined;
3238
- endpoint?: string | null | undefined;
3239
3240
  instructions?: string | undefined;
3240
3241
  additional_instructions?: string | undefined;
3242
+ greeting?: string | undefined;
3243
+ artifacts?: string | undefined;
3244
+ stop?: string[] | undefined;
3245
+ model?: string | null | undefined;
3246
+ endpoint?: string | null | undefined;
3247
+ endpointType?: EModelEndpoint | null | undefined;
3248
+ archivedAt?: string | null | undefined;
3249
+ pinned?: boolean | undefined;
3250
+ isShared?: boolean | undefined;
3251
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3252
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3253
+ codeWorkspaces?: {
3254
+ environmentId: string;
3255
+ workspaceId: string;
3256
+ }[] | undefined;
3241
3257
  tools?: string[] | {
3242
3258
  name: string;
3243
3259
  pluginKey: string;
@@ -3245,8 +3261,8 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3245
3261
  icon?: string | undefined;
3246
3262
  authConfig?: {
3247
3263
  description: string;
3248
- authField: string;
3249
3264
  label: string;
3265
+ authField: string;
3250
3266
  optional?: boolean | undefined;
3251
3267
  sensitive?: boolean | undefined;
3252
3268
  }[] | undefined;
@@ -3256,17 +3272,6 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3256
3272
  toolkit?: boolean | undefined;
3257
3273
  serverToolName?: string | undefined;
3258
3274
  }[] | undefined;
3259
- model?: string | null | undefined;
3260
- endpointType?: EModelEndpoint | null | undefined;
3261
- archivedAt?: string | null | undefined;
3262
- pinned?: boolean | undefined;
3263
- isShared?: boolean | undefined;
3264
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3265
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3266
- codeWorkspaces?: {
3267
- environmentId: string;
3268
- workspaceId: string;
3269
- }[] | undefined;
3270
3275
  modelLabel?: string | null | undefined;
3271
3276
  userLabel?: string | undefined;
3272
3277
  promptPrefix?: string | null | undefined;
@@ -3281,16 +3286,15 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3281
3286
  max_tokens?: number | undefined;
3282
3287
  promptCache?: boolean | undefined;
3283
3288
  promptCacheTtl?: "5m" | "1h" | undefined;
3284
- system?: string | undefined;
3285
3289
  thinking?: boolean | undefined;
3286
3290
  thinkingBudget?: number | undefined;
3287
3291
  thinkingLevel?: ThinkingLevel | undefined;
3288
3292
  stream?: boolean | undefined;
3289
3293
  examples?: {
3290
- input: {
3294
+ output: {
3291
3295
  content: string;
3292
3296
  };
3293
- output: {
3297
+ input: {
3294
3298
  content: string;
3295
3299
  };
3296
3300
  }[] | undefined;
@@ -3304,17 +3308,18 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3304
3308
  useResponsesApi?: boolean | undefined;
3305
3309
  effort?: AnthropicEffort | null | undefined;
3306
3310
  thinkingDisplay?: ThinkingDisplay | null | undefined;
3311
+ web_search?: boolean | undefined;
3307
3312
  url_context?: boolean | undefined;
3308
3313
  disableStreaming?: boolean | undefined;
3309
3314
  assistant_id?: string | undefined;
3310
3315
  agent_id?: string | undefined;
3311
3316
  subagentThread?: {
3312
- subagentKind: "agent" | "graph";
3313
3317
  parentMessageId: string;
3314
3318
  rootConversationId: string;
3315
3319
  parentConversationId: string;
3316
3320
  parentToolCallId: string;
3317
3321
  subagentType: string;
3322
+ subagentKind: "agent" | "graph";
3318
3323
  depth: number;
3319
3324
  parentAgentId?: string | undefined;
3320
3325
  } | undefined;
@@ -3322,18 +3327,29 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3322
3327
  maxTokens?: number | undefined;
3323
3328
  additionalModelRequestFields?: DocumentTypeValue | undefined;
3324
3329
  append_current_datetime?: boolean | undefined;
3325
- stop?: string[] | undefined;
3326
- greeting?: string | undefined;
3327
3330
  iconURL?: string | null | undefined;
3328
3331
  isTemporary?: boolean | undefined;
3329
3332
  fileTokenLimit?: number | undefined;
3330
3333
  }, {
3331
- web_search?: boolean | undefined;
3334
+ system?: string | undefined;
3332
3335
  context?: string | null | undefined;
3333
- artifacts?: string | undefined;
3334
- endpoint?: string | null | undefined;
3335
3336
  instructions?: string | undefined;
3336
3337
  additional_instructions?: string | undefined;
3338
+ greeting?: string | undefined;
3339
+ artifacts?: string | undefined;
3340
+ stop?: string[] | undefined;
3341
+ model?: string | null | undefined;
3342
+ endpoint?: string | null | undefined;
3343
+ endpointType?: EModelEndpoint | null | undefined;
3344
+ archivedAt?: string | null | undefined;
3345
+ pinned?: boolean | undefined;
3346
+ isShared?: boolean | undefined;
3347
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3348
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3349
+ codeWorkspaces?: {
3350
+ environmentId: string;
3351
+ workspaceId: string;
3352
+ }[] | undefined;
3337
3353
  tools?: string[] | {
3338
3354
  name: string;
3339
3355
  pluginKey: string;
@@ -3341,8 +3357,8 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3341
3357
  icon?: string | undefined;
3342
3358
  authConfig?: {
3343
3359
  description: string;
3344
- authField: string;
3345
3360
  label: string;
3361
+ authField: string;
3346
3362
  optional?: boolean | undefined;
3347
3363
  sensitive?: boolean | undefined;
3348
3364
  }[] | undefined;
@@ -3352,17 +3368,6 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3352
3368
  toolkit?: boolean | undefined;
3353
3369
  serverToolName?: string | undefined;
3354
3370
  }[] | undefined;
3355
- model?: string | null | undefined;
3356
- endpointType?: EModelEndpoint | null | undefined;
3357
- archivedAt?: string | null | undefined;
3358
- pinned?: boolean | undefined;
3359
- isShared?: boolean | undefined;
3360
- codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
3361
- codeEnvironmentMode?: "attached" | "without_attached" | undefined;
3362
- codeWorkspaces?: {
3363
- environmentId: string;
3364
- workspaceId: string;
3365
- }[] | undefined;
3366
3371
  modelLabel?: string | null | undefined;
3367
3372
  userLabel?: string | undefined;
3368
3373
  promptPrefix?: string | null | undefined;
@@ -3377,16 +3382,15 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3377
3382
  max_tokens?: string | number | undefined;
3378
3383
  promptCache?: boolean | undefined;
3379
3384
  promptCacheTtl?: "5m" | "1h" | undefined;
3380
- system?: string | undefined;
3381
3385
  thinking?: boolean | undefined;
3382
3386
  thinkingBudget?: string | number | undefined;
3383
3387
  thinkingLevel?: ThinkingLevel | undefined;
3384
3388
  stream?: boolean | undefined;
3385
3389
  examples?: {
3386
- input: {
3390
+ output: {
3387
3391
  content: string;
3388
3392
  };
3389
- output: {
3393
+ input: {
3390
3394
  content: string;
3391
3395
  };
3392
3396
  }[] | undefined;
@@ -3400,17 +3404,18 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3400
3404
  useResponsesApi?: boolean | undefined;
3401
3405
  effort?: AnthropicEffort | null | undefined;
3402
3406
  thinkingDisplay?: ThinkingDisplay | null | undefined;
3407
+ web_search?: boolean | undefined;
3403
3408
  url_context?: boolean | undefined;
3404
3409
  disableStreaming?: boolean | undefined;
3405
3410
  assistant_id?: string | undefined;
3406
3411
  agent_id?: string | undefined;
3407
3412
  subagentThread?: {
3408
- subagentKind: "agent" | "graph";
3409
3413
  parentMessageId: string;
3410
3414
  rootConversationId: string;
3411
3415
  parentConversationId: string;
3412
3416
  parentToolCallId: string;
3413
3417
  subagentType: string;
3418
+ subagentKind: "agent" | "graph";
3414
3419
  depth: number;
3415
3420
  parentAgentId?: string | undefined;
3416
3421
  } | undefined;
@@ -3418,8 +3423,6 @@ export declare const tModelSpecPresetSchema: z.ZodEffects<z.ZodObject<{
3418
3423
  maxTokens?: string | number | undefined;
3419
3424
  additionalModelRequestFields?: DocumentTypeValue | undefined;
3420
3425
  append_current_datetime?: boolean | undefined;
3421
- stop?: string[] | undefined;
3422
- greeting?: string | undefined;
3423
3426
  iconURL?: string | null | undefined;
3424
3427
  isTemporary?: boolean | undefined;
3425
3428
  fileTokenLimit?: string | number | undefined;
@@ -3440,17 +3443,17 @@ export declare const tSharedLinkSchema: z.ZodObject<{
3440
3443
  createdAt: z.ZodString;
3441
3444
  updatedAt: z.ZodString;
3442
3445
  }, "strip", z.ZodTypeAny, {
3443
- conversationId: string;
3444
3446
  title: string;
3445
3447
  messages: string[];
3448
+ conversationId: string;
3446
3449
  createdAt: string;
3447
3450
  updatedAt: string;
3448
3451
  shareId: string;
3449
3452
  targetMessageId?: string | undefined;
3450
3453
  }, {
3451
- conversationId: string;
3452
3454
  title: string;
3453
3455
  messages: string[];
3456
+ conversationId: string;
3454
3457
  createdAt: string;
3455
3458
  updatedAt: string;
3456
3459
  shareId: string;
@@ -3468,19 +3471,19 @@ export declare const tConversationTagSchema: z.ZodObject<{
3468
3471
  position: z.ZodNumber;
3469
3472
  }, "strip", z.ZodTypeAny, {
3470
3473
  user: string;
3471
- _id: string;
3472
3474
  createdAt: string;
3473
3475
  updatedAt: string;
3474
3476
  tag: string;
3477
+ _id: string;
3475
3478
  count: number;
3476
3479
  position: number;
3477
3480
  description?: string | undefined;
3478
3481
  }, {
3479
3482
  user: string;
3480
- _id: string;
3481
3483
  createdAt: string;
3482
3484
  updatedAt: string;
3483
3485
  tag: string;
3486
+ _id: string;
3484
3487
  count: number;
3485
3488
  position: number;
3486
3489
  description?: string | undefined;
@@ -3525,14 +3528,14 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3525
3528
  sensitive: z.ZodOptional<z.ZodBoolean>;
3526
3529
  }, "strip", z.ZodTypeAny, {
3527
3530
  description: string;
3528
- authField: string;
3529
3531
  label: string;
3532
+ authField: string;
3530
3533
  optional?: boolean | undefined;
3531
3534
  sensitive?: boolean | undefined;
3532
3535
  }, {
3533
3536
  description: string;
3534
- authField: string;
3535
3537
  label: string;
3538
+ authField: string;
3536
3539
  optional?: boolean | undefined;
3537
3540
  sensitive?: boolean | undefined;
3538
3541
  }>, "many">>;
@@ -3550,8 +3553,8 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3550
3553
  icon?: string | undefined;
3551
3554
  authConfig?: {
3552
3555
  description: string;
3553
- authField: string;
3554
3556
  label: string;
3557
+ authField: string;
3555
3558
  optional?: boolean | undefined;
3556
3559
  sensitive?: boolean | undefined;
3557
3560
  }[] | undefined;
@@ -3567,8 +3570,8 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3567
3570
  icon?: string | undefined;
3568
3571
  authConfig?: {
3569
3572
  description: string;
3570
- authField: string;
3571
3573
  label: string;
3574
+ authField: string;
3572
3575
  optional?: boolean | undefined;
3573
3576
  sensitive?: boolean | undefined;
3574
3577
  }[] | undefined;
@@ -3617,19 +3620,19 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3617
3620
  content: string;
3618
3621
  }>;
3619
3622
  }, "strip", z.ZodTypeAny, {
3620
- input: {
3621
- content: string;
3622
- };
3623
3623
  output: {
3624
3624
  content: string;
3625
3625
  };
3626
- }, {
3627
3626
  input: {
3628
3627
  content: string;
3629
3628
  };
3629
+ }, {
3630
3630
  output: {
3631
3631
  content: string;
3632
3632
  };
3633
+ input: {
3634
+ content: string;
3635
+ };
3633
3636
  }>, "many">>;
3634
3637
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3635
3638
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3662,21 +3665,21 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3662
3665
  subagentKind: z.ZodEnum<["agent", "graph"]>;
3663
3666
  depth: z.ZodNumber;
3664
3667
  }, "strip", z.ZodTypeAny, {
3665
- subagentKind: "agent" | "graph";
3666
3668
  parentMessageId: string;
3667
3669
  rootConversationId: string;
3668
3670
  parentConversationId: string;
3669
3671
  parentToolCallId: string;
3670
3672
  subagentType: string;
3673
+ subagentKind: "agent" | "graph";
3671
3674
  depth: number;
3672
3675
  parentAgentId?: string | undefined;
3673
3676
  }, {
3674
- subagentKind: "agent" | "graph";
3675
3677
  parentMessageId: string;
3676
3678
  rootConversationId: string;
3677
3679
  parentConversationId: string;
3678
3680
  parentToolCallId: string;
3679
3681
  subagentType: string;
3682
+ subagentKind: "agent" | "graph";
3680
3683
  depth: number;
3681
3684
  parentAgentId?: string | undefined;
3682
3685
  }>>;
@@ -3699,8 +3702,8 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3699
3702
  resendImages: z.ZodOptional<z.ZodBoolean>;
3700
3703
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3701
3704
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3702
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
3703
- web_search?: boolean | undefined;
3705
+ }, "greeting" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "web_search" | "url_context" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
3706
+ greeting?: string | undefined;
3704
3707
  artifacts?: string | undefined;
3705
3708
  model?: string | null | undefined;
3706
3709
  modelLabel?: string | null | undefined;
@@ -3714,22 +3717,22 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3714
3717
  thinkingBudget?: number | undefined;
3715
3718
  thinkingLevel?: ThinkingLevel | undefined;
3716
3719
  examples?: {
3717
- input: {
3720
+ output: {
3718
3721
  content: string;
3719
3722
  };
3720
- output: {
3723
+ input: {
3721
3724
  content: string;
3722
3725
  };
3723
3726
  }[] | undefined;
3724
3727
  chatProjectId?: string | null | undefined;
3725
3728
  resendFiles?: boolean | undefined;
3729
+ web_search?: boolean | undefined;
3726
3730
  url_context?: boolean | undefined;
3727
- greeting?: string | undefined;
3728
3731
  spec?: string | null | undefined;
3729
3732
  iconURL?: string | null | undefined;
3730
3733
  fileTokenLimit?: number | undefined;
3731
3734
  }, {
3732
- web_search?: boolean | undefined;
3735
+ greeting?: string | undefined;
3733
3736
  artifacts?: string | undefined;
3734
3737
  model?: string | null | undefined;
3735
3738
  modelLabel?: string | null | undefined;
@@ -3743,17 +3746,17 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
3743
3746
  thinkingBudget?: string | number | undefined;
3744
3747
  thinkingLevel?: ThinkingLevel | undefined;
3745
3748
  examples?: {
3746
- input: {
3749
+ output: {
3747
3750
  content: string;
3748
3751
  };
3749
- output: {
3752
+ input: {
3750
3753
  content: string;
3751
3754
  };
3752
3755
  }[] | undefined;
3753
3756
  chatProjectId?: string | null | undefined;
3754
3757
  resendFiles?: boolean | undefined;
3758
+ web_search?: boolean | undefined;
3755
3759
  url_context?: boolean | undefined;
3756
- greeting?: string | undefined;
3757
3760
  spec?: string | null | undefined;
3758
3761
  iconURL?: string | null | undefined;
3759
3762
  fileTokenLimit?: string | number | undefined;
@@ -3797,14 +3800,14 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3797
3800
  sensitive: z.ZodOptional<z.ZodBoolean>;
3798
3801
  }, "strip", z.ZodTypeAny, {
3799
3802
  description: string;
3800
- authField: string;
3801
3803
  label: string;
3804
+ authField: string;
3802
3805
  optional?: boolean | undefined;
3803
3806
  sensitive?: boolean | undefined;
3804
3807
  }, {
3805
3808
  description: string;
3806
- authField: string;
3807
3809
  label: string;
3810
+ authField: string;
3808
3811
  optional?: boolean | undefined;
3809
3812
  sensitive?: boolean | undefined;
3810
3813
  }>, "many">>;
@@ -3822,8 +3825,8 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3822
3825
  icon?: string | undefined;
3823
3826
  authConfig?: {
3824
3827
  description: string;
3825
- authField: string;
3826
3828
  label: string;
3829
+ authField: string;
3827
3830
  optional?: boolean | undefined;
3828
3831
  sensitive?: boolean | undefined;
3829
3832
  }[] | undefined;
@@ -3839,8 +3842,8 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3839
3842
  icon?: string | undefined;
3840
3843
  authConfig?: {
3841
3844
  description: string;
3842
- authField: string;
3843
3845
  label: string;
3846
+ authField: string;
3844
3847
  optional?: boolean | undefined;
3845
3848
  sensitive?: boolean | undefined;
3846
3849
  }[] | undefined;
@@ -3889,19 +3892,19 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3889
3892
  content: string;
3890
3893
  }>;
3891
3894
  }, "strip", z.ZodTypeAny, {
3892
- input: {
3893
- content: string;
3894
- };
3895
3895
  output: {
3896
3896
  content: string;
3897
3897
  };
3898
- }, {
3899
3898
  input: {
3900
3899
  content: string;
3901
3900
  };
3901
+ }, {
3902
3902
  output: {
3903
3903
  content: string;
3904
3904
  };
3905
+ input: {
3906
+ content: string;
3907
+ };
3905
3908
  }>, "many">>;
3906
3909
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3907
3910
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3934,21 +3937,21 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3934
3937
  subagentKind: z.ZodEnum<["agent", "graph"]>;
3935
3938
  depth: z.ZodNumber;
3936
3939
  }, "strip", z.ZodTypeAny, {
3937
- subagentKind: "agent" | "graph";
3938
3940
  parentMessageId: string;
3939
3941
  rootConversationId: string;
3940
3942
  parentConversationId: string;
3941
3943
  parentToolCallId: string;
3942
3944
  subagentType: string;
3945
+ subagentKind: "agent" | "graph";
3943
3946
  depth: number;
3944
3947
  parentAgentId?: string | undefined;
3945
3948
  }, {
3946
- subagentKind: "agent" | "graph";
3947
3949
  parentMessageId: string;
3948
3950
  rootConversationId: string;
3949
3951
  parentConversationId: string;
3950
3952
  parentToolCallId: string;
3951
3953
  subagentType: string;
3954
+ subagentKind: "agent" | "graph";
3952
3955
  depth: number;
3953
3956
  parentAgentId?: string | undefined;
3954
3957
  }>>;
@@ -3971,8 +3974,8 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3971
3974
  resendImages: z.ZodOptional<z.ZodBoolean>;
3972
3975
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
3973
3976
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3974
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
3975
- web_search?: boolean | undefined;
3977
+ }, "greeting" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "web_search" | "url_context" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
3978
+ greeting?: string | undefined;
3976
3979
  artifacts?: string | undefined;
3977
3980
  model?: string | null | undefined;
3978
3981
  modelLabel?: string | null | undefined;
@@ -3986,22 +3989,22 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
3986
3989
  thinkingBudget?: number | undefined;
3987
3990
  thinkingLevel?: ThinkingLevel | undefined;
3988
3991
  examples?: {
3989
- input: {
3992
+ output: {
3990
3993
  content: string;
3991
3994
  };
3992
- output: {
3995
+ input: {
3993
3996
  content: string;
3994
3997
  };
3995
3998
  }[] | undefined;
3996
3999
  chatProjectId?: string | null | undefined;
3997
4000
  resendFiles?: boolean | undefined;
4001
+ web_search?: boolean | undefined;
3998
4002
  url_context?: boolean | undefined;
3999
- greeting?: string | undefined;
4000
4003
  spec?: string | null | undefined;
4001
4004
  iconURL?: string | null | undefined;
4002
4005
  fileTokenLimit?: number | undefined;
4003
4006
  }, {
4004
- web_search?: boolean | undefined;
4007
+ greeting?: string | undefined;
4005
4008
  artifacts?: string | undefined;
4006
4009
  model?: string | null | undefined;
4007
4010
  modelLabel?: string | null | undefined;
@@ -4015,22 +4018,22 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4015
4018
  thinkingBudget?: string | number | undefined;
4016
4019
  thinkingLevel?: ThinkingLevel | undefined;
4017
4020
  examples?: {
4018
- input: {
4021
+ output: {
4019
4022
  content: string;
4020
4023
  };
4021
- output: {
4024
+ input: {
4022
4025
  content: string;
4023
4026
  };
4024
4027
  }[] | undefined;
4025
4028
  chatProjectId?: string | null | undefined;
4026
4029
  resendFiles?: boolean | undefined;
4030
+ web_search?: boolean | undefined;
4027
4031
  url_context?: boolean | undefined;
4028
- greeting?: string | undefined;
4029
4032
  spec?: string | null | undefined;
4030
4033
  iconURL?: string | null | undefined;
4031
4034
  fileTokenLimit?: string | number | undefined;
4032
4035
  }>, Partial<Partial<TConversation>>, {
4033
- web_search?: boolean | undefined;
4036
+ greeting?: string | undefined;
4034
4037
  artifacts?: string | undefined;
4035
4038
  model?: string | null | undefined;
4036
4039
  modelLabel?: string | null | undefined;
@@ -4044,17 +4047,17 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4044
4047
  thinkingBudget?: string | number | undefined;
4045
4048
  thinkingLevel?: ThinkingLevel | undefined;
4046
4049
  examples?: {
4047
- input: {
4050
+ output: {
4048
4051
  content: string;
4049
4052
  };
4050
- output: {
4053
+ input: {
4051
4054
  content: string;
4052
4055
  };
4053
4056
  }[] | undefined;
4054
4057
  chatProjectId?: string | null | undefined;
4055
4058
  resendFiles?: boolean | undefined;
4059
+ web_search?: boolean | undefined;
4056
4060
  url_context?: boolean | undefined;
4057
- greeting?: string | undefined;
4058
4061
  spec?: string | null | undefined;
4059
4062
  iconURL?: string | null | undefined;
4060
4063
  fileTokenLimit?: string | number | undefined;
@@ -4089,11 +4092,11 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
4089
4092
  web_search: z.ZodOptional<z.ZodBoolean>;
4090
4093
  url_context: z.ZodOptional<z.ZodBoolean>;
4091
4094
  }, "strip", z.ZodTypeAny, {
4092
- web_search?: boolean | undefined;
4093
4095
  temperature?: number | undefined;
4094
4096
  topP?: number | undefined;
4095
4097
  topK?: number | undefined;
4096
4098
  maxOutputTokens?: number | undefined;
4099
+ web_search?: boolean | undefined;
4097
4100
  url_context?: boolean | undefined;
4098
4101
  presencePenalty?: number | undefined;
4099
4102
  frequencyPenalty?: number | undefined;
@@ -4104,11 +4107,11 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
4104
4107
  includeThoughts?: boolean | undefined;
4105
4108
  } | undefined;
4106
4109
  }, {
4107
- web_search?: boolean | undefined;
4108
4110
  temperature?: string | number | undefined;
4109
4111
  topP?: string | number | undefined;
4110
4112
  topK?: string | number | undefined;
4111
4113
  maxOutputTokens?: string | number | undefined;
4114
+ web_search?: boolean | undefined;
4112
4115
  url_context?: boolean | undefined;
4113
4116
  presencePenalty?: string | number | undefined;
4114
4117
  frequencyPenalty?: string | number | undefined;
@@ -4159,14 +4162,14 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4159
4162
  sensitive: z.ZodOptional<z.ZodBoolean>;
4160
4163
  }, "strip", z.ZodTypeAny, {
4161
4164
  description: string;
4162
- authField: string;
4163
4165
  label: string;
4166
+ authField: string;
4164
4167
  optional?: boolean | undefined;
4165
4168
  sensitive?: boolean | undefined;
4166
4169
  }, {
4167
4170
  description: string;
4168
- authField: string;
4169
4171
  label: string;
4172
+ authField: string;
4170
4173
  optional?: boolean | undefined;
4171
4174
  sensitive?: boolean | undefined;
4172
4175
  }>, "many">>;
@@ -4184,8 +4187,8 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4184
4187
  icon?: string | undefined;
4185
4188
  authConfig?: {
4186
4189
  description: string;
4187
- authField: string;
4188
4190
  label: string;
4191
+ authField: string;
4189
4192
  optional?: boolean | undefined;
4190
4193
  sensitive?: boolean | undefined;
4191
4194
  }[] | undefined;
@@ -4201,8 +4204,8 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4201
4204
  icon?: string | undefined;
4202
4205
  authConfig?: {
4203
4206
  description: string;
4204
- authField: string;
4205
4207
  label: string;
4208
+ authField: string;
4206
4209
  optional?: boolean | undefined;
4207
4210
  sensitive?: boolean | undefined;
4208
4211
  }[] | undefined;
@@ -4251,19 +4254,19 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4251
4254
  content: string;
4252
4255
  }>;
4253
4256
  }, "strip", z.ZodTypeAny, {
4254
- input: {
4255
- content: string;
4256
- };
4257
4257
  output: {
4258
4258
  content: string;
4259
4259
  };
4260
- }, {
4261
4260
  input: {
4262
4261
  content: string;
4263
4262
  };
4263
+ }, {
4264
4264
  output: {
4265
4265
  content: string;
4266
4266
  };
4267
+ input: {
4268
+ content: string;
4269
+ };
4267
4270
  }>, "many">>;
4268
4271
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4269
4272
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4296,21 +4299,21 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4296
4299
  subagentKind: z.ZodEnum<["agent", "graph"]>;
4297
4300
  depth: z.ZodNumber;
4298
4301
  }, "strip", z.ZodTypeAny, {
4299
- subagentKind: "agent" | "graph";
4300
4302
  parentMessageId: string;
4301
4303
  rootConversationId: string;
4302
4304
  parentConversationId: string;
4303
4305
  parentToolCallId: string;
4304
4306
  subagentType: string;
4307
+ subagentKind: "agent" | "graph";
4305
4308
  depth: number;
4306
4309
  parentAgentId?: string | undefined;
4307
4310
  }, {
4308
- subagentKind: "agent" | "graph";
4309
4311
  parentMessageId: string;
4310
4312
  rootConversationId: string;
4311
4313
  parentConversationId: string;
4312
4314
  parentToolCallId: string;
4313
4315
  subagentType: string;
4316
+ subagentKind: "agent" | "graph";
4314
4317
  depth: number;
4315
4318
  parentAgentId?: string | undefined;
4316
4319
  }>>;
@@ -4333,26 +4336,26 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4333
4336
  resendImages: z.ZodOptional<z.ZodBoolean>;
4334
4337
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4335
4338
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4336
- }, "artifacts" | "instructions" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "append_current_datetime" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
4337
- artifacts?: string | undefined;
4339
+ }, "instructions" | "greeting" | "artifacts" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "append_current_datetime" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
4338
4340
  instructions?: string | undefined;
4341
+ greeting?: string | undefined;
4342
+ artifacts?: string | undefined;
4339
4343
  model?: string | null | undefined;
4340
4344
  promptPrefix?: string | null | undefined;
4341
4345
  chatProjectId?: string | null | undefined;
4342
4346
  assistant_id?: string | undefined;
4343
4347
  append_current_datetime?: boolean | undefined;
4344
- greeting?: string | undefined;
4345
4348
  spec?: string | null | undefined;
4346
4349
  iconURL?: string | null | undefined;
4347
4350
  }, {
4348
- artifacts?: string | undefined;
4349
4351
  instructions?: string | undefined;
4352
+ greeting?: string | undefined;
4353
+ artifacts?: string | undefined;
4350
4354
  model?: string | null | undefined;
4351
4355
  promptPrefix?: string | null | undefined;
4352
4356
  chatProjectId?: string | null | undefined;
4353
4357
  assistant_id?: string | undefined;
4354
4358
  append_current_datetime?: boolean | undefined;
4355
- greeting?: string | undefined;
4356
4359
  spec?: string | null | undefined;
4357
4360
  iconURL?: string | null | undefined;
4358
4361
  }>, {
@@ -4367,14 +4370,14 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4367
4370
  artifacts?: string | undefined;
4368
4371
  chatProjectId?: string | null | undefined;
4369
4372
  }, {
4370
- artifacts?: string | undefined;
4371
4373
  instructions?: string | undefined;
4374
+ greeting?: string | undefined;
4375
+ artifacts?: string | undefined;
4372
4376
  model?: string | null | undefined;
4373
4377
  promptPrefix?: string | null | undefined;
4374
4378
  chatProjectId?: string | null | undefined;
4375
4379
  assistant_id?: string | undefined;
4376
4380
  append_current_datetime?: boolean | undefined;
4377
- greeting?: string | undefined;
4378
4381
  spec?: string | null | undefined;
4379
4382
  iconURL?: string | null | undefined;
4380
4383
  }>>;
@@ -4417,14 +4420,14 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
4417
4420
  sensitive: z.ZodOptional<z.ZodBoolean>;
4418
4421
  }, "strip", z.ZodTypeAny, {
4419
4422
  description: string;
4420
- authField: string;
4421
4423
  label: string;
4424
+ authField: string;
4422
4425
  optional?: boolean | undefined;
4423
4426
  sensitive?: boolean | undefined;
4424
4427
  }, {
4425
4428
  description: string;
4426
- authField: string;
4427
4429
  label: string;
4430
+ authField: string;
4428
4431
  optional?: boolean | undefined;
4429
4432
  sensitive?: boolean | undefined;
4430
4433
  }>, "many">>;
@@ -4442,8 +4445,8 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
4442
4445
  icon?: string | undefined;
4443
4446
  authConfig?: {
4444
4447
  description: string;
4445
- authField: string;
4446
4448
  label: string;
4449
+ authField: string;
4447
4450
  optional?: boolean | undefined;
4448
4451
  sensitive?: boolean | undefined;
4449
4452
  }[] | undefined;
@@ -4459,8 +4462,8 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
4459
4462
  icon?: string | undefined;
4460
4463
  authConfig?: {
4461
4464
  description: string;
4462
- authField: string;
4463
4465
  label: string;
4466
+ authField: string;
4464
4467
  optional?: boolean | undefined;
4465
4468
  sensitive?: boolean | undefined;
4466
4469
  }[] | undefined;
@@ -4509,19 +4512,19 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
4509
4512
  content: string;
4510
4513
  }>;
4511
4514
  }, "strip", z.ZodTypeAny, {
4512
- input: {
4513
- content: string;
4514
- };
4515
4515
  output: {
4516
4516
  content: string;
4517
4517
  };
4518
- }, {
4519
4518
  input: {
4520
4519
  content: string;
4521
4520
  };
4521
+ }, {
4522
4522
  output: {
4523
4523
  content: string;
4524
4524
  };
4525
+ input: {
4526
+ content: string;
4527
+ };
4525
4528
  }>, "many">>;
4526
4529
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4527
4530
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4554,21 +4557,21 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
4554
4557
  subagentKind: z.ZodEnum<["agent", "graph"]>;
4555
4558
  depth: z.ZodNumber;
4556
4559
  }, "strip", z.ZodTypeAny, {
4557
- subagentKind: "agent" | "graph";
4558
4560
  parentMessageId: string;
4559
4561
  rootConversationId: string;
4560
4562
  parentConversationId: string;
4561
4563
  parentToolCallId: string;
4562
4564
  subagentType: string;
4565
+ subagentKind: "agent" | "graph";
4563
4566
  depth: number;
4564
4567
  parentAgentId?: string | undefined;
4565
4568
  }, {
4566
- subagentKind: "agent" | "graph";
4567
4569
  parentMessageId: string;
4568
4570
  rootConversationId: string;
4569
4571
  parentConversationId: string;
4570
4572
  parentToolCallId: string;
4571
4573
  subagentType: string;
4574
+ subagentKind: "agent" | "graph";
4572
4575
  depth: number;
4573
4576
  parentAgentId?: string | undefined;
4574
4577
  }>>;
@@ -4591,44 +4594,44 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
4591
4594
  resendImages: z.ZodOptional<z.ZodBoolean>;
4592
4595
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4593
4596
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4594
- }, "artifacts" | "instructions" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
4595
- artifacts?: string | undefined;
4597
+ }, "instructions" | "greeting" | "artifacts" | "model" | "promptPrefix" | "chatProjectId" | "assistant_id" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
4596
4598
  instructions?: string | undefined;
4599
+ greeting?: string | undefined;
4600
+ artifacts?: string | undefined;
4597
4601
  model?: string | null | undefined;
4598
4602
  promptPrefix?: string | null | undefined;
4599
4603
  chatProjectId?: string | null | undefined;
4600
4604
  assistant_id?: string | undefined;
4601
- greeting?: string | undefined;
4602
4605
  spec?: string | null | undefined;
4603
4606
  iconURL?: string | null | undefined;
4604
4607
  }, {
4605
- artifacts?: string | undefined;
4606
4608
  instructions?: string | undefined;
4609
+ greeting?: string | undefined;
4610
+ artifacts?: string | undefined;
4607
4611
  model?: string | null | undefined;
4608
4612
  promptPrefix?: string | null | undefined;
4609
4613
  chatProjectId?: string | null | undefined;
4610
4614
  assistant_id?: string | undefined;
4611
- greeting?: string | undefined;
4612
4615
  spec?: string | null | undefined;
4613
4616
  iconURL?: string | null | undefined;
4614
4617
  }>, Partial<{
4615
- artifacts?: string | undefined;
4616
4618
  instructions?: string | undefined;
4619
+ greeting?: string | undefined;
4620
+ artifacts?: string | undefined;
4617
4621
  model?: string | null | undefined;
4618
4622
  promptPrefix?: string | null | undefined;
4619
4623
  chatProjectId?: string | null | undefined;
4620
4624
  assistant_id?: string | undefined;
4621
- greeting?: string | undefined;
4622
4625
  spec?: string | null | undefined;
4623
4626
  iconURL?: string | null | undefined;
4624
4627
  }>, {
4625
- artifacts?: string | undefined;
4626
4628
  instructions?: string | undefined;
4629
+ greeting?: string | undefined;
4630
+ artifacts?: string | undefined;
4627
4631
  model?: string | null | undefined;
4628
4632
  promptPrefix?: string | null | undefined;
4629
4633
  chatProjectId?: string | null | undefined;
4630
4634
  assistant_id?: string | undefined;
4631
- greeting?: string | undefined;
4632
4635
  spec?: string | null | undefined;
4633
4636
  iconURL?: string | null | undefined;
4634
4637
  }>>;
@@ -4671,14 +4674,14 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4671
4674
  sensitive: z.ZodOptional<z.ZodBoolean>;
4672
4675
  }, "strip", z.ZodTypeAny, {
4673
4676
  description: string;
4674
- authField: string;
4675
4677
  label: string;
4678
+ authField: string;
4676
4679
  optional?: boolean | undefined;
4677
4680
  sensitive?: boolean | undefined;
4678
4681
  }, {
4679
4682
  description: string;
4680
- authField: string;
4681
4683
  label: string;
4684
+ authField: string;
4682
4685
  optional?: boolean | undefined;
4683
4686
  sensitive?: boolean | undefined;
4684
4687
  }>, "many">>;
@@ -4696,8 +4699,8 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4696
4699
  icon?: string | undefined;
4697
4700
  authConfig?: {
4698
4701
  description: string;
4699
- authField: string;
4700
4702
  label: string;
4703
+ authField: string;
4701
4704
  optional?: boolean | undefined;
4702
4705
  sensitive?: boolean | undefined;
4703
4706
  }[] | undefined;
@@ -4713,8 +4716,8 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4713
4716
  icon?: string | undefined;
4714
4717
  authConfig?: {
4715
4718
  description: string;
4716
- authField: string;
4717
4719
  label: string;
4720
+ authField: string;
4718
4721
  optional?: boolean | undefined;
4719
4722
  sensitive?: boolean | undefined;
4720
4723
  }[] | undefined;
@@ -4763,19 +4766,19 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4763
4766
  content: string;
4764
4767
  }>;
4765
4768
  }, "strip", z.ZodTypeAny, {
4766
- input: {
4767
- content: string;
4768
- };
4769
4769
  output: {
4770
4770
  content: string;
4771
4771
  };
4772
- }, {
4773
4772
  input: {
4774
4773
  content: string;
4775
4774
  };
4775
+ }, {
4776
4776
  output: {
4777
4777
  content: string;
4778
4778
  };
4779
+ input: {
4780
+ content: string;
4781
+ };
4779
4782
  }>, "many">>;
4780
4783
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4781
4784
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4808,21 +4811,21 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4808
4811
  subagentKind: z.ZodEnum<["agent", "graph"]>;
4809
4812
  depth: z.ZodNumber;
4810
4813
  }, "strip", z.ZodTypeAny, {
4811
- subagentKind: "agent" | "graph";
4812
4814
  parentMessageId: string;
4813
4815
  rootConversationId: string;
4814
4816
  parentConversationId: string;
4815
4817
  parentToolCallId: string;
4816
4818
  subagentType: string;
4819
+ subagentKind: "agent" | "graph";
4817
4820
  depth: number;
4818
4821
  parentAgentId?: string | undefined;
4819
4822
  }, {
4820
- subagentKind: "agent" | "graph";
4821
4823
  parentMessageId: string;
4822
4824
  rootConversationId: string;
4823
4825
  parentConversationId: string;
4824
4826
  parentToolCallId: string;
4825
4827
  subagentType: string;
4828
+ subagentKind: "agent" | "graph";
4826
4829
  depth: number;
4827
4830
  parentAgentId?: string | undefined;
4828
4831
  }>>;
@@ -4845,8 +4848,9 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4845
4848
  resendImages: z.ZodOptional<z.ZodBoolean>;
4846
4849
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
4847
4850
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4848
- }, "instructions" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
4851
+ }, "instructions" | "greeting" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "iconURL">, "strip", z.ZodTypeAny, {
4849
4852
  instructions?: string | undefined;
4853
+ greeting?: string | undefined;
4850
4854
  model?: string | null | undefined;
4851
4855
  modelLabel?: string | null | undefined;
4852
4856
  promptPrefix?: string | null | undefined;
@@ -4859,10 +4863,10 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4859
4863
  resendFiles?: boolean | undefined;
4860
4864
  imageDetail?: ImageDetail | undefined;
4861
4865
  agent_id?: string | undefined;
4862
- greeting?: string | undefined;
4863
4866
  iconURL?: string | null | undefined;
4864
4867
  }, {
4865
4868
  instructions?: string | undefined;
4869
+ greeting?: string | undefined;
4866
4870
  model?: string | null | undefined;
4867
4871
  modelLabel?: string | null | undefined;
4868
4872
  promptPrefix?: string | null | undefined;
@@ -4875,7 +4879,6 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
4875
4879
  resendFiles?: boolean | undefined;
4876
4880
  imageDetail?: ImageDetail | undefined;
4877
4881
  agent_id?: string | undefined;
4878
- greeting?: string | undefined;
4879
4882
  iconURL?: string | null | undefined;
4880
4883
  }>;
4881
4884
  export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
@@ -4917,14 +4920,14 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4917
4920
  sensitive: z.ZodOptional<z.ZodBoolean>;
4918
4921
  }, "strip", z.ZodTypeAny, {
4919
4922
  description: string;
4920
- authField: string;
4921
4923
  label: string;
4924
+ authField: string;
4922
4925
  optional?: boolean | undefined;
4923
4926
  sensitive?: boolean | undefined;
4924
4927
  }, {
4925
4928
  description: string;
4926
- authField: string;
4927
4929
  label: string;
4930
+ authField: string;
4928
4931
  optional?: boolean | undefined;
4929
4932
  sensitive?: boolean | undefined;
4930
4933
  }>, "many">>;
@@ -4942,8 +4945,8 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4942
4945
  icon?: string | undefined;
4943
4946
  authConfig?: {
4944
4947
  description: string;
4945
- authField: string;
4946
4948
  label: string;
4949
+ authField: string;
4947
4950
  optional?: boolean | undefined;
4948
4951
  sensitive?: boolean | undefined;
4949
4952
  }[] | undefined;
@@ -4959,8 +4962,8 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
4959
4962
  icon?: string | undefined;
4960
4963
  authConfig?: {
4961
4964
  description: string;
4962
- authField: string;
4963
4965
  label: string;
4966
+ authField: string;
4964
4967
  optional?: boolean | undefined;
4965
4968
  sensitive?: boolean | undefined;
4966
4969
  }[] | undefined;
@@ -5009,19 +5012,19 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5009
5012
  content: string;
5010
5013
  }>;
5011
5014
  }, "strip", z.ZodTypeAny, {
5012
- input: {
5013
- content: string;
5014
- };
5015
5015
  output: {
5016
5016
  content: string;
5017
5017
  };
5018
- }, {
5019
5018
  input: {
5020
5019
  content: string;
5021
5020
  };
5021
+ }, {
5022
5022
  output: {
5023
5023
  content: string;
5024
5024
  };
5025
+ input: {
5026
+ content: string;
5027
+ };
5025
5028
  }>, "many">>;
5026
5029
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5027
5030
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5054,21 +5057,21 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5054
5057
  subagentKind: z.ZodEnum<["agent", "graph"]>;
5055
5058
  depth: z.ZodNumber;
5056
5059
  }, "strip", z.ZodTypeAny, {
5057
- subagentKind: "agent" | "graph";
5058
5060
  parentMessageId: string;
5059
5061
  rootConversationId: string;
5060
5062
  parentConversationId: string;
5061
5063
  parentToolCallId: string;
5062
5064
  subagentType: string;
5065
+ subagentKind: "agent" | "graph";
5063
5066
  depth: number;
5064
5067
  parentAgentId?: string | undefined;
5065
5068
  }, {
5066
- subagentKind: "agent" | "graph";
5067
5069
  parentMessageId: string;
5068
5070
  rootConversationId: string;
5069
5071
  parentConversationId: string;
5070
5072
  parentToolCallId: string;
5071
5073
  subagentType: string;
5074
+ subagentKind: "agent" | "graph";
5072
5075
  depth: number;
5073
5076
  parentAgentId?: string | undefined;
5074
5077
  }>>;
@@ -5091,8 +5094,9 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5091
5094
  resendImages: z.ZodOptional<z.ZodBoolean>;
5092
5095
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
5093
5096
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5094
- }, "instructions" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
5097
+ }, "instructions" | "greeting" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "iconURL">, "strip", z.ZodTypeAny, {
5095
5098
  instructions?: string | undefined;
5099
+ greeting?: string | undefined;
5096
5100
  model?: string | null | undefined;
5097
5101
  modelLabel?: string | null | undefined;
5098
5102
  promptPrefix?: string | null | undefined;
@@ -5105,10 +5109,10 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5105
5109
  resendFiles?: boolean | undefined;
5106
5110
  imageDetail?: ImageDetail | undefined;
5107
5111
  agent_id?: string | undefined;
5108
- greeting?: string | undefined;
5109
5112
  iconURL?: string | null | undefined;
5110
5113
  }, {
5111
5114
  instructions?: string | undefined;
5115
+ greeting?: string | undefined;
5112
5116
  model?: string | null | undefined;
5113
5117
  modelLabel?: string | null | undefined;
5114
5118
  promptPrefix?: string | null | undefined;
@@ -5121,7 +5125,6 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5121
5125
  resendFiles?: boolean | undefined;
5122
5126
  imageDetail?: ImageDetail | undefined;
5123
5127
  agent_id?: string | undefined;
5124
- greeting?: string | undefined;
5125
5128
  iconURL?: string | null | undefined;
5126
5129
  }>, {
5127
5130
  model: string;
@@ -5141,6 +5144,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5141
5144
  chatProjectId?: string | null | undefined;
5142
5145
  }, {
5143
5146
  instructions?: string | undefined;
5147
+ greeting?: string | undefined;
5144
5148
  model?: string | null | undefined;
5145
5149
  modelLabel?: string | null | undefined;
5146
5150
  promptPrefix?: string | null | undefined;
@@ -5153,7 +5157,6 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5153
5157
  resendFiles?: boolean | undefined;
5154
5158
  imageDetail?: ImageDetail | undefined;
5155
5159
  agent_id?: string | undefined;
5156
- greeting?: string | undefined;
5157
5160
  iconURL?: string | null | undefined;
5158
5161
  }>>;
5159
5162
  export declare const openAIBaseSchema: z.ZodObject<Pick<{
@@ -5195,14 +5198,14 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5195
5198
  sensitive: z.ZodOptional<z.ZodBoolean>;
5196
5199
  }, "strip", z.ZodTypeAny, {
5197
5200
  description: string;
5198
- authField: string;
5199
5201
  label: string;
5202
+ authField: string;
5200
5203
  optional?: boolean | undefined;
5201
5204
  sensitive?: boolean | undefined;
5202
5205
  }, {
5203
5206
  description: string;
5204
- authField: string;
5205
5207
  label: string;
5208
+ authField: string;
5206
5209
  optional?: boolean | undefined;
5207
5210
  sensitive?: boolean | undefined;
5208
5211
  }>, "many">>;
@@ -5220,8 +5223,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5220
5223
  icon?: string | undefined;
5221
5224
  authConfig?: {
5222
5225
  description: string;
5223
- authField: string;
5224
5226
  label: string;
5227
+ authField: string;
5225
5228
  optional?: boolean | undefined;
5226
5229
  sensitive?: boolean | undefined;
5227
5230
  }[] | undefined;
@@ -5237,8 +5240,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5237
5240
  icon?: string | undefined;
5238
5241
  authConfig?: {
5239
5242
  description: string;
5240
- authField: string;
5241
5243
  label: string;
5244
+ authField: string;
5242
5245
  optional?: boolean | undefined;
5243
5246
  sensitive?: boolean | undefined;
5244
5247
  }[] | undefined;
@@ -5287,19 +5290,19 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5287
5290
  content: string;
5288
5291
  }>;
5289
5292
  }, "strip", z.ZodTypeAny, {
5290
- input: {
5291
- content: string;
5292
- };
5293
5293
  output: {
5294
5294
  content: string;
5295
5295
  };
5296
- }, {
5297
5296
  input: {
5298
5297
  content: string;
5299
5298
  };
5299
+ }, {
5300
5300
  output: {
5301
5301
  content: string;
5302
5302
  };
5303
+ input: {
5304
+ content: string;
5305
+ };
5303
5306
  }>, "many">>;
5304
5307
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5305
5308
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5332,21 +5335,21 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5332
5335
  subagentKind: z.ZodEnum<["agent", "graph"]>;
5333
5336
  depth: z.ZodNumber;
5334
5337
  }, "strip", z.ZodTypeAny, {
5335
- subagentKind: "agent" | "graph";
5336
5338
  parentMessageId: string;
5337
5339
  rootConversationId: string;
5338
5340
  parentConversationId: string;
5339
5341
  parentToolCallId: string;
5340
5342
  subagentType: string;
5343
+ subagentKind: "agent" | "graph";
5341
5344
  depth: number;
5342
5345
  parentAgentId?: string | undefined;
5343
5346
  }, {
5344
- subagentKind: "agent" | "graph";
5345
5347
  parentMessageId: string;
5346
5348
  rootConversationId: string;
5347
5349
  parentConversationId: string;
5348
5350
  parentToolCallId: string;
5349
5351
  subagentType: string;
5352
+ subagentKind: "agent" | "graph";
5350
5353
  depth: number;
5351
5354
  parentAgentId?: string | undefined;
5352
5355
  }>>;
@@ -5369,9 +5372,10 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5369
5372
  resendImages: z.ZodOptional<z.ZodBoolean>;
5370
5373
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
5371
5374
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5372
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
5373
- web_search?: boolean | undefined;
5375
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
5376
+ greeting?: string | undefined;
5374
5377
  artifacts?: string | undefined;
5378
+ stop?: string[] | undefined;
5375
5379
  model?: string | null | undefined;
5376
5380
  modelLabel?: string | null | undefined;
5377
5381
  promptPrefix?: string | null | undefined;
@@ -5390,16 +5394,16 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5390
5394
  reasoning_context?: ReasoningContext | null | undefined;
5391
5395
  verbosity?: Verbosity | null | undefined;
5392
5396
  useResponsesApi?: boolean | undefined;
5397
+ web_search?: boolean | undefined;
5393
5398
  disableStreaming?: boolean | undefined;
5394
- stop?: string[] | undefined;
5395
- greeting?: string | undefined;
5396
5399
  spec?: string | null | undefined;
5397
5400
  iconURL?: string | null | undefined;
5398
5401
  fileTokenLimit?: number | undefined;
5399
5402
  chatGptLabel?: string | null | undefined;
5400
5403
  }, {
5401
- web_search?: boolean | undefined;
5404
+ greeting?: string | undefined;
5402
5405
  artifacts?: string | undefined;
5406
+ stop?: string[] | undefined;
5403
5407
  model?: string | null | undefined;
5404
5408
  modelLabel?: string | null | undefined;
5405
5409
  promptPrefix?: string | null | undefined;
@@ -5418,9 +5422,8 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
5418
5422
  reasoning_context?: ReasoningContext | null | undefined;
5419
5423
  verbosity?: Verbosity | null | undefined;
5420
5424
  useResponsesApi?: boolean | undefined;
5425
+ web_search?: boolean | undefined;
5421
5426
  disableStreaming?: boolean | undefined;
5422
- stop?: string[] | undefined;
5423
- greeting?: string | undefined;
5424
5427
  spec?: string | null | undefined;
5425
5428
  iconURL?: string | null | undefined;
5426
5429
  fileTokenLimit?: string | number | undefined;
@@ -5465,14 +5468,14 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5465
5468
  sensitive: z.ZodOptional<z.ZodBoolean>;
5466
5469
  }, "strip", z.ZodTypeAny, {
5467
5470
  description: string;
5468
- authField: string;
5469
5471
  label: string;
5472
+ authField: string;
5470
5473
  optional?: boolean | undefined;
5471
5474
  sensitive?: boolean | undefined;
5472
5475
  }, {
5473
5476
  description: string;
5474
- authField: string;
5475
5477
  label: string;
5478
+ authField: string;
5476
5479
  optional?: boolean | undefined;
5477
5480
  sensitive?: boolean | undefined;
5478
5481
  }>, "many">>;
@@ -5490,8 +5493,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5490
5493
  icon?: string | undefined;
5491
5494
  authConfig?: {
5492
5495
  description: string;
5493
- authField: string;
5494
5496
  label: string;
5497
+ authField: string;
5495
5498
  optional?: boolean | undefined;
5496
5499
  sensitive?: boolean | undefined;
5497
5500
  }[] | undefined;
@@ -5507,8 +5510,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5507
5510
  icon?: string | undefined;
5508
5511
  authConfig?: {
5509
5512
  description: string;
5510
- authField: string;
5511
5513
  label: string;
5514
+ authField: string;
5512
5515
  optional?: boolean | undefined;
5513
5516
  sensitive?: boolean | undefined;
5514
5517
  }[] | undefined;
@@ -5557,19 +5560,19 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5557
5560
  content: string;
5558
5561
  }>;
5559
5562
  }, "strip", z.ZodTypeAny, {
5560
- input: {
5561
- content: string;
5562
- };
5563
5563
  output: {
5564
5564
  content: string;
5565
5565
  };
5566
- }, {
5567
5566
  input: {
5568
5567
  content: string;
5569
5568
  };
5569
+ }, {
5570
5570
  output: {
5571
5571
  content: string;
5572
5572
  };
5573
+ input: {
5574
+ content: string;
5575
+ };
5573
5576
  }>, "many">>;
5574
5577
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5575
5578
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5602,21 +5605,21 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5602
5605
  subagentKind: z.ZodEnum<["agent", "graph"]>;
5603
5606
  depth: z.ZodNumber;
5604
5607
  }, "strip", z.ZodTypeAny, {
5605
- subagentKind: "agent" | "graph";
5606
5608
  parentMessageId: string;
5607
5609
  rootConversationId: string;
5608
5610
  parentConversationId: string;
5609
5611
  parentToolCallId: string;
5610
5612
  subagentType: string;
5613
+ subagentKind: "agent" | "graph";
5611
5614
  depth: number;
5612
5615
  parentAgentId?: string | undefined;
5613
5616
  }, {
5614
- subagentKind: "agent" | "graph";
5615
5617
  parentMessageId: string;
5616
5618
  rootConversationId: string;
5617
5619
  parentConversationId: string;
5618
5620
  parentToolCallId: string;
5619
5621
  subagentType: string;
5622
+ subagentKind: "agent" | "graph";
5620
5623
  depth: number;
5621
5624
  parentAgentId?: string | undefined;
5622
5625
  }>>;
@@ -5639,9 +5642,10 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5639
5642
  resendImages: z.ZodOptional<z.ZodBoolean>;
5640
5643
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
5641
5644
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5642
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
5643
- web_search?: boolean | undefined;
5645
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
5646
+ greeting?: string | undefined;
5644
5647
  artifacts?: string | undefined;
5648
+ stop?: string[] | undefined;
5645
5649
  model?: string | null | undefined;
5646
5650
  modelLabel?: string | null | undefined;
5647
5651
  promptPrefix?: string | null | undefined;
@@ -5660,16 +5664,16 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5660
5664
  reasoning_context?: ReasoningContext | null | undefined;
5661
5665
  verbosity?: Verbosity | null | undefined;
5662
5666
  useResponsesApi?: boolean | undefined;
5667
+ web_search?: boolean | undefined;
5663
5668
  disableStreaming?: boolean | undefined;
5664
- stop?: string[] | undefined;
5665
- greeting?: string | undefined;
5666
5669
  spec?: string | null | undefined;
5667
5670
  iconURL?: string | null | undefined;
5668
5671
  fileTokenLimit?: number | undefined;
5669
5672
  chatGptLabel?: string | null | undefined;
5670
5673
  }, {
5671
- web_search?: boolean | undefined;
5674
+ greeting?: string | undefined;
5672
5675
  artifacts?: string | undefined;
5676
+ stop?: string[] | undefined;
5673
5677
  model?: string | null | undefined;
5674
5678
  modelLabel?: string | null | undefined;
5675
5679
  promptPrefix?: string | null | undefined;
@@ -5688,16 +5692,16 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5688
5692
  reasoning_context?: ReasoningContext | null | undefined;
5689
5693
  verbosity?: Verbosity | null | undefined;
5690
5694
  useResponsesApi?: boolean | undefined;
5695
+ web_search?: boolean | undefined;
5691
5696
  disableStreaming?: boolean | undefined;
5692
- stop?: string[] | undefined;
5693
- greeting?: string | undefined;
5694
5697
  spec?: string | null | undefined;
5695
5698
  iconURL?: string | null | undefined;
5696
5699
  fileTokenLimit?: string | number | undefined;
5697
5700
  chatGptLabel?: string | null | undefined;
5698
5701
  }>, Partial<Partial<TConversation>>, {
5699
- web_search?: boolean | undefined;
5702
+ greeting?: string | undefined;
5700
5703
  artifacts?: string | undefined;
5704
+ stop?: string[] | undefined;
5701
5705
  model?: string | null | undefined;
5702
5706
  modelLabel?: string | null | undefined;
5703
5707
  promptPrefix?: string | null | undefined;
@@ -5716,9 +5720,8 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
5716
5720
  reasoning_context?: ReasoningContext | null | undefined;
5717
5721
  verbosity?: Verbosity | null | undefined;
5718
5722
  useResponsesApi?: boolean | undefined;
5723
+ web_search?: boolean | undefined;
5719
5724
  disableStreaming?: boolean | undefined;
5720
- stop?: string[] | undefined;
5721
- greeting?: string | undefined;
5722
5725
  spec?: string | null | undefined;
5723
5726
  iconURL?: string | null | undefined;
5724
5727
  fileTokenLimit?: string | number | undefined;
@@ -5763,14 +5766,14 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
5763
5766
  sensitive: z.ZodOptional<z.ZodBoolean>;
5764
5767
  }, "strip", z.ZodTypeAny, {
5765
5768
  description: string;
5766
- authField: string;
5767
5769
  label: string;
5770
+ authField: string;
5768
5771
  optional?: boolean | undefined;
5769
5772
  sensitive?: boolean | undefined;
5770
5773
  }, {
5771
5774
  description: string;
5772
- authField: string;
5773
5775
  label: string;
5776
+ authField: string;
5774
5777
  optional?: boolean | undefined;
5775
5778
  sensitive?: boolean | undefined;
5776
5779
  }>, "many">>;
@@ -5788,8 +5791,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
5788
5791
  icon?: string | undefined;
5789
5792
  authConfig?: {
5790
5793
  description: string;
5791
- authField: string;
5792
5794
  label: string;
5795
+ authField: string;
5793
5796
  optional?: boolean | undefined;
5794
5797
  sensitive?: boolean | undefined;
5795
5798
  }[] | undefined;
@@ -5805,8 +5808,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
5805
5808
  icon?: string | undefined;
5806
5809
  authConfig?: {
5807
5810
  description: string;
5808
- authField: string;
5809
5811
  label: string;
5812
+ authField: string;
5810
5813
  optional?: boolean | undefined;
5811
5814
  sensitive?: boolean | undefined;
5812
5815
  }[] | undefined;
@@ -5855,19 +5858,19 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
5855
5858
  content: string;
5856
5859
  }>;
5857
5860
  }, "strip", z.ZodTypeAny, {
5858
- input: {
5859
- content: string;
5860
- };
5861
5861
  output: {
5862
5862
  content: string;
5863
5863
  };
5864
- }, {
5865
5864
  input: {
5866
5865
  content: string;
5867
5866
  };
5867
+ }, {
5868
5868
  output: {
5869
5869
  content: string;
5870
5870
  };
5871
+ input: {
5872
+ content: string;
5873
+ };
5871
5874
  }>, "many">>;
5872
5875
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5873
5876
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5900,21 +5903,21 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
5900
5903
  subagentKind: z.ZodEnum<["agent", "graph"]>;
5901
5904
  depth: z.ZodNumber;
5902
5905
  }, "strip", z.ZodTypeAny, {
5903
- subagentKind: "agent" | "graph";
5904
5906
  parentMessageId: string;
5905
5907
  rootConversationId: string;
5906
5908
  parentConversationId: string;
5907
5909
  parentToolCallId: string;
5908
5910
  subagentType: string;
5911
+ subagentKind: "agent" | "graph";
5909
5912
  depth: number;
5910
5913
  parentAgentId?: string | undefined;
5911
5914
  }, {
5912
- subagentKind: "agent" | "graph";
5913
5915
  parentMessageId: string;
5914
5916
  rootConversationId: string;
5915
5917
  parentConversationId: string;
5916
5918
  parentToolCallId: string;
5917
5919
  subagentType: string;
5920
+ subagentKind: "agent" | "graph";
5918
5921
  depth: number;
5919
5922
  parentAgentId?: string | undefined;
5920
5923
  }>>;
@@ -5937,7 +5940,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
5937
5940
  resendImages: z.ZodOptional<z.ZodBoolean>;
5938
5941
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
5939
5942
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5940
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
5943
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "reasoning_mode" | "reasoning_context" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
5941
5944
  conversationId: z.ZodNullable<z.ZodString>;
5942
5945
  endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
5943
5946
  endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
@@ -5976,14 +5979,14 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
5976
5979
  sensitive: z.ZodOptional<z.ZodBoolean>;
5977
5980
  }, "strip", z.ZodTypeAny, {
5978
5981
  description: string;
5979
- authField: string;
5980
5982
  label: string;
5983
+ authField: string;
5981
5984
  optional?: boolean | undefined;
5982
5985
  sensitive?: boolean | undefined;
5983
5986
  }, {
5984
5987
  description: string;
5985
- authField: string;
5986
5988
  label: string;
5989
+ authField: string;
5987
5990
  optional?: boolean | undefined;
5988
5991
  sensitive?: boolean | undefined;
5989
5992
  }>, "many">>;
@@ -6001,8 +6004,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6001
6004
  icon?: string | undefined;
6002
6005
  authConfig?: {
6003
6006
  description: string;
6004
- authField: string;
6005
6007
  label: string;
6008
+ authField: string;
6006
6009
  optional?: boolean | undefined;
6007
6010
  sensitive?: boolean | undefined;
6008
6011
  }[] | undefined;
@@ -6018,8 +6021,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6018
6021
  icon?: string | undefined;
6019
6022
  authConfig?: {
6020
6023
  description: string;
6021
- authField: string;
6022
6024
  label: string;
6025
+ authField: string;
6023
6026
  optional?: boolean | undefined;
6024
6027
  sensitive?: boolean | undefined;
6025
6028
  }[] | undefined;
@@ -6068,19 +6071,19 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6068
6071
  content: string;
6069
6072
  }>;
6070
6073
  }, "strip", z.ZodTypeAny, {
6071
- input: {
6072
- content: string;
6073
- };
6074
6074
  output: {
6075
6075
  content: string;
6076
6076
  };
6077
- }, {
6078
6077
  input: {
6079
6078
  content: string;
6080
6079
  };
6080
+ }, {
6081
6081
  output: {
6082
6082
  content: string;
6083
6083
  };
6084
+ input: {
6085
+ content: string;
6086
+ };
6084
6087
  }>, "many">>;
6085
6088
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6086
6089
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6113,21 +6116,21 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6113
6116
  subagentKind: z.ZodEnum<["agent", "graph"]>;
6114
6117
  depth: z.ZodNumber;
6115
6118
  }, "strip", z.ZodTypeAny, {
6116
- subagentKind: "agent" | "graph";
6117
6119
  parentMessageId: string;
6118
6120
  rootConversationId: string;
6119
6121
  parentConversationId: string;
6120
6122
  parentToolCallId: string;
6121
6123
  subagentType: string;
6124
+ subagentKind: "agent" | "graph";
6122
6125
  depth: number;
6123
6126
  parentAgentId?: string | undefined;
6124
6127
  }, {
6125
- subagentKind: "agent" | "graph";
6126
6128
  parentMessageId: string;
6127
6129
  rootConversationId: string;
6128
6130
  parentConversationId: string;
6129
6131
  parentToolCallId: string;
6130
6132
  subagentType: string;
6133
+ subagentKind: "agent" | "graph";
6131
6134
  depth: number;
6132
6135
  parentAgentId?: string | undefined;
6133
6136
  }>>;
@@ -6151,8 +6154,9 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6151
6154
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
6152
6155
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6153
6156
  }, "promptCache" | "promptCacheTtl">, "strip", z.ZodTypeAny, {
6154
- web_search?: boolean | undefined;
6157
+ greeting?: string | undefined;
6155
6158
  artifacts?: string | undefined;
6159
+ stop?: string[] | undefined;
6156
6160
  model?: string | null | undefined;
6157
6161
  modelLabel?: string | null | undefined;
6158
6162
  promptPrefix?: string | null | undefined;
@@ -6173,16 +6177,16 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6173
6177
  reasoning_context?: ReasoningContext | null | undefined;
6174
6178
  verbosity?: Verbosity | null | undefined;
6175
6179
  useResponsesApi?: boolean | undefined;
6180
+ web_search?: boolean | undefined;
6176
6181
  disableStreaming?: boolean | undefined;
6177
- stop?: string[] | undefined;
6178
- greeting?: string | undefined;
6179
6182
  spec?: string | null | undefined;
6180
6183
  iconURL?: string | null | undefined;
6181
6184
  fileTokenLimit?: number | undefined;
6182
6185
  chatGptLabel?: string | null | undefined;
6183
6186
  }, {
6184
- web_search?: boolean | undefined;
6187
+ greeting?: string | undefined;
6185
6188
  artifacts?: string | undefined;
6189
+ stop?: string[] | undefined;
6186
6190
  model?: string | null | undefined;
6187
6191
  modelLabel?: string | null | undefined;
6188
6192
  promptPrefix?: string | null | undefined;
@@ -6203,16 +6207,16 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6203
6207
  reasoning_context?: ReasoningContext | null | undefined;
6204
6208
  verbosity?: Verbosity | null | undefined;
6205
6209
  useResponsesApi?: boolean | undefined;
6210
+ web_search?: boolean | undefined;
6206
6211
  disableStreaming?: boolean | undefined;
6207
- stop?: string[] | undefined;
6208
- greeting?: string | undefined;
6209
6212
  spec?: string | null | undefined;
6210
6213
  iconURL?: string | null | undefined;
6211
6214
  fileTokenLimit?: string | number | undefined;
6212
6215
  chatGptLabel?: string | null | undefined;
6213
6216
  }>, Partial<Partial<TConversation>>, {
6214
- web_search?: boolean | undefined;
6217
+ greeting?: string | undefined;
6215
6218
  artifacts?: string | undefined;
6219
+ stop?: string[] | undefined;
6216
6220
  model?: string | null | undefined;
6217
6221
  modelLabel?: string | null | undefined;
6218
6222
  promptPrefix?: string | null | undefined;
@@ -6233,9 +6237,8 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
6233
6237
  reasoning_context?: ReasoningContext | null | undefined;
6234
6238
  verbosity?: Verbosity | null | undefined;
6235
6239
  useResponsesApi?: boolean | undefined;
6240
+ web_search?: boolean | undefined;
6236
6241
  disableStreaming?: boolean | undefined;
6237
- stop?: string[] | undefined;
6238
- greeting?: string | undefined;
6239
6242
  spec?: string | null | undefined;
6240
6243
  iconURL?: string | null | undefined;
6241
6244
  fileTokenLimit?: string | number | undefined;
@@ -6280,14 +6283,14 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6280
6283
  sensitive: z.ZodOptional<z.ZodBoolean>;
6281
6284
  }, "strip", z.ZodTypeAny, {
6282
6285
  description: string;
6283
- authField: string;
6284
6286
  label: string;
6287
+ authField: string;
6285
6288
  optional?: boolean | undefined;
6286
6289
  sensitive?: boolean | undefined;
6287
6290
  }, {
6288
6291
  description: string;
6289
- authField: string;
6290
6292
  label: string;
6293
+ authField: string;
6291
6294
  optional?: boolean | undefined;
6292
6295
  sensitive?: boolean | undefined;
6293
6296
  }>, "many">>;
@@ -6305,8 +6308,8 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6305
6308
  icon?: string | undefined;
6306
6309
  authConfig?: {
6307
6310
  description: string;
6308
- authField: string;
6309
6311
  label: string;
6312
+ authField: string;
6310
6313
  optional?: boolean | undefined;
6311
6314
  sensitive?: boolean | undefined;
6312
6315
  }[] | undefined;
@@ -6322,8 +6325,8 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6322
6325
  icon?: string | undefined;
6323
6326
  authConfig?: {
6324
6327
  description: string;
6325
- authField: string;
6326
6328
  label: string;
6329
+ authField: string;
6327
6330
  optional?: boolean | undefined;
6328
6331
  sensitive?: boolean | undefined;
6329
6332
  }[] | undefined;
@@ -6372,19 +6375,19 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6372
6375
  content: string;
6373
6376
  }>;
6374
6377
  }, "strip", z.ZodTypeAny, {
6375
- input: {
6376
- content: string;
6377
- };
6378
6378
  output: {
6379
6379
  content: string;
6380
6380
  };
6381
- }, {
6382
6381
  input: {
6383
6382
  content: string;
6384
6383
  };
6384
+ }, {
6385
6385
  output: {
6386
6386
  content: string;
6387
6387
  };
6388
+ input: {
6389
+ content: string;
6390
+ };
6388
6391
  }>, "many">>;
6389
6392
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6390
6393
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6417,21 +6420,21 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6417
6420
  subagentKind: z.ZodEnum<["agent", "graph"]>;
6418
6421
  depth: z.ZodNumber;
6419
6422
  }, "strip", z.ZodTypeAny, {
6420
- subagentKind: "agent" | "graph";
6421
6423
  parentMessageId: string;
6422
6424
  rootConversationId: string;
6423
6425
  parentConversationId: string;
6424
6426
  parentToolCallId: string;
6425
6427
  subagentType: string;
6428
+ subagentKind: "agent" | "graph";
6426
6429
  depth: number;
6427
6430
  parentAgentId?: string | undefined;
6428
6431
  }, {
6429
- subagentKind: "agent" | "graph";
6430
6432
  parentMessageId: string;
6431
6433
  rootConversationId: string;
6432
6434
  parentConversationId: string;
6433
6435
  parentToolCallId: string;
6434
6436
  subagentType: string;
6437
+ subagentKind: "agent" | "graph";
6435
6438
  depth: number;
6436
6439
  parentAgentId?: string | undefined;
6437
6440
  }>>;
@@ -6454,8 +6457,8 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6454
6457
  resendImages: z.ZodOptional<z.ZodBoolean>;
6455
6458
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
6456
6459
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6457
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
6458
- web_search?: boolean | undefined;
6460
+ }, "greeting" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "examples" | "chatProjectId" | "resendFiles" | "web_search" | "url_context" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
6461
+ greeting?: string | undefined;
6459
6462
  artifacts?: string | undefined;
6460
6463
  model?: string | null | undefined;
6461
6464
  modelLabel?: string | null | undefined;
@@ -6469,22 +6472,22 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6469
6472
  thinkingBudget?: number | undefined;
6470
6473
  thinkingLevel?: ThinkingLevel | undefined;
6471
6474
  examples?: {
6472
- input: {
6475
+ output: {
6473
6476
  content: string;
6474
6477
  };
6475
- output: {
6478
+ input: {
6476
6479
  content: string;
6477
6480
  };
6478
6481
  }[] | undefined;
6479
6482
  chatProjectId?: string | null | undefined;
6480
6483
  resendFiles?: boolean | undefined;
6484
+ web_search?: boolean | undefined;
6481
6485
  url_context?: boolean | undefined;
6482
- greeting?: string | undefined;
6483
6486
  spec?: string | null | undefined;
6484
6487
  iconURL?: string | null | undefined;
6485
6488
  fileTokenLimit?: number | undefined;
6486
6489
  }, {
6487
- web_search?: boolean | undefined;
6490
+ greeting?: string | undefined;
6488
6491
  artifacts?: string | undefined;
6489
6492
  model?: string | null | undefined;
6490
6493
  modelLabel?: string | null | undefined;
@@ -6498,22 +6501,22 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6498
6501
  thinkingBudget?: string | number | undefined;
6499
6502
  thinkingLevel?: ThinkingLevel | undefined;
6500
6503
  examples?: {
6501
- input: {
6504
+ output: {
6502
6505
  content: string;
6503
6506
  };
6504
- output: {
6507
+ input: {
6505
6508
  content: string;
6506
6509
  };
6507
6510
  }[] | undefined;
6508
6511
  chatProjectId?: string | null | undefined;
6509
6512
  resendFiles?: boolean | undefined;
6513
+ web_search?: boolean | undefined;
6510
6514
  url_context?: boolean | undefined;
6511
- greeting?: string | undefined;
6512
6515
  spec?: string | null | undefined;
6513
6516
  iconURL?: string | null | undefined;
6514
6517
  fileTokenLimit?: string | number | undefined;
6515
6518
  }>, Partial<Partial<TConversation>>, {
6516
- web_search?: boolean | undefined;
6519
+ greeting?: string | undefined;
6517
6520
  artifacts?: string | undefined;
6518
6521
  model?: string | null | undefined;
6519
6522
  modelLabel?: string | null | undefined;
@@ -6527,17 +6530,17 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
6527
6530
  thinkingBudget?: string | number | undefined;
6528
6531
  thinkingLevel?: ThinkingLevel | undefined;
6529
6532
  examples?: {
6530
- input: {
6533
+ output: {
6531
6534
  content: string;
6532
6535
  };
6533
- output: {
6536
+ input: {
6534
6537
  content: string;
6535
6538
  };
6536
6539
  }[] | undefined;
6537
6540
  chatProjectId?: string | null | undefined;
6538
6541
  resendFiles?: boolean | undefined;
6542
+ web_search?: boolean | undefined;
6539
6543
  url_context?: boolean | undefined;
6540
- greeting?: string | undefined;
6541
6544
  spec?: string | null | undefined;
6542
6545
  iconURL?: string | null | undefined;
6543
6546
  fileTokenLimit?: string | number | undefined;
@@ -6581,14 +6584,14 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6581
6584
  sensitive: z.ZodOptional<z.ZodBoolean>;
6582
6585
  }, "strip", z.ZodTypeAny, {
6583
6586
  description: string;
6584
- authField: string;
6585
6587
  label: string;
6588
+ authField: string;
6586
6589
  optional?: boolean | undefined;
6587
6590
  sensitive?: boolean | undefined;
6588
6591
  }, {
6589
6592
  description: string;
6590
- authField: string;
6591
6593
  label: string;
6594
+ authField: string;
6592
6595
  optional?: boolean | undefined;
6593
6596
  sensitive?: boolean | undefined;
6594
6597
  }>, "many">>;
@@ -6606,8 +6609,8 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6606
6609
  icon?: string | undefined;
6607
6610
  authConfig?: {
6608
6611
  description: string;
6609
- authField: string;
6610
6612
  label: string;
6613
+ authField: string;
6611
6614
  optional?: boolean | undefined;
6612
6615
  sensitive?: boolean | undefined;
6613
6616
  }[] | undefined;
@@ -6623,8 +6626,8 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6623
6626
  icon?: string | undefined;
6624
6627
  authConfig?: {
6625
6628
  description: string;
6626
- authField: string;
6627
6629
  label: string;
6630
+ authField: string;
6628
6631
  optional?: boolean | undefined;
6629
6632
  sensitive?: boolean | undefined;
6630
6633
  }[] | undefined;
@@ -6673,19 +6676,19 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6673
6676
  content: string;
6674
6677
  }>;
6675
6678
  }, "strip", z.ZodTypeAny, {
6676
- input: {
6677
- content: string;
6678
- };
6679
6679
  output: {
6680
6680
  content: string;
6681
6681
  };
6682
- }, {
6683
6682
  input: {
6684
6683
  content: string;
6685
6684
  };
6685
+ }, {
6686
6686
  output: {
6687
6687
  content: string;
6688
6688
  };
6689
+ input: {
6690
+ content: string;
6691
+ };
6689
6692
  }>, "many">>;
6690
6693
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6691
6694
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6718,21 +6721,21 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6718
6721
  subagentKind: z.ZodEnum<["agent", "graph"]>;
6719
6722
  depth: z.ZodNumber;
6720
6723
  }, "strip", z.ZodTypeAny, {
6721
- subagentKind: "agent" | "graph";
6722
6724
  parentMessageId: string;
6723
6725
  rootConversationId: string;
6724
6726
  parentConversationId: string;
6725
6727
  parentToolCallId: string;
6726
6728
  subagentType: string;
6729
+ subagentKind: "agent" | "graph";
6727
6730
  depth: number;
6728
6731
  parentAgentId?: string | undefined;
6729
6732
  }, {
6730
- subagentKind: "agent" | "graph";
6731
6733
  parentMessageId: string;
6732
6734
  rootConversationId: string;
6733
6735
  parentConversationId: string;
6734
6736
  parentToolCallId: string;
6735
6737
  subagentType: string;
6738
+ subagentKind: "agent" | "graph";
6736
6739
  depth: number;
6737
6740
  parentAgentId?: string | undefined;
6738
6741
  }>>;
@@ -6755,9 +6758,10 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6755
6758
  resendImages: z.ZodOptional<z.ZodBoolean>;
6756
6759
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
6757
6760
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6758
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
6759
- web_search?: boolean | undefined;
6761
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
6762
+ greeting?: string | undefined;
6760
6763
  artifacts?: string | undefined;
6764
+ stop?: string[] | undefined;
6761
6765
  model?: string | null | undefined;
6762
6766
  modelLabel?: string | null | undefined;
6763
6767
  promptPrefix?: string | null | undefined;
@@ -6775,14 +6779,14 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6775
6779
  resendFiles?: boolean | undefined;
6776
6780
  effort?: AnthropicEffort | null | undefined;
6777
6781
  thinkingDisplay?: ThinkingDisplay | null | undefined;
6778
- stop?: string[] | undefined;
6779
- greeting?: string | undefined;
6782
+ web_search?: boolean | undefined;
6780
6783
  spec?: string | null | undefined;
6781
6784
  iconURL?: string | null | undefined;
6782
6785
  fileTokenLimit?: number | undefined;
6783
6786
  }, {
6784
- web_search?: boolean | undefined;
6787
+ greeting?: string | undefined;
6785
6788
  artifacts?: string | undefined;
6789
+ stop?: string[] | undefined;
6786
6790
  model?: string | null | undefined;
6787
6791
  modelLabel?: string | null | undefined;
6788
6792
  promptPrefix?: string | null | undefined;
@@ -6800,8 +6804,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
6800
6804
  resendFiles?: boolean | undefined;
6801
6805
  effort?: AnthropicEffort | null | undefined;
6802
6806
  thinkingDisplay?: ThinkingDisplay | null | undefined;
6803
- stop?: string[] | undefined;
6804
- greeting?: string | undefined;
6807
+ web_search?: boolean | undefined;
6805
6808
  spec?: string | null | undefined;
6806
6809
  iconURL?: string | null | undefined;
6807
6810
  fileTokenLimit?: string | number | undefined;
@@ -6845,14 +6848,14 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
6845
6848
  sensitive: z.ZodOptional<z.ZodBoolean>;
6846
6849
  }, "strip", z.ZodTypeAny, {
6847
6850
  description: string;
6848
- authField: string;
6849
6851
  label: string;
6852
+ authField: string;
6850
6853
  optional?: boolean | undefined;
6851
6854
  sensitive?: boolean | undefined;
6852
6855
  }, {
6853
6856
  description: string;
6854
- authField: string;
6855
6857
  label: string;
6858
+ authField: string;
6856
6859
  optional?: boolean | undefined;
6857
6860
  sensitive?: boolean | undefined;
6858
6861
  }>, "many">>;
@@ -6870,8 +6873,8 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
6870
6873
  icon?: string | undefined;
6871
6874
  authConfig?: {
6872
6875
  description: string;
6873
- authField: string;
6874
6876
  label: string;
6877
+ authField: string;
6875
6878
  optional?: boolean | undefined;
6876
6879
  sensitive?: boolean | undefined;
6877
6880
  }[] | undefined;
@@ -6887,8 +6890,8 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
6887
6890
  icon?: string | undefined;
6888
6891
  authConfig?: {
6889
6892
  description: string;
6890
- authField: string;
6891
6893
  label: string;
6894
+ authField: string;
6892
6895
  optional?: boolean | undefined;
6893
6896
  sensitive?: boolean | undefined;
6894
6897
  }[] | undefined;
@@ -6937,19 +6940,19 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
6937
6940
  content: string;
6938
6941
  }>;
6939
6942
  }, "strip", z.ZodTypeAny, {
6940
- input: {
6941
- content: string;
6942
- };
6943
6943
  output: {
6944
6944
  content: string;
6945
6945
  };
6946
- }, {
6947
6946
  input: {
6948
6947
  content: string;
6949
6948
  };
6949
+ }, {
6950
6950
  output: {
6951
6951
  content: string;
6952
6952
  };
6953
+ input: {
6954
+ content: string;
6955
+ };
6953
6956
  }>, "many">>;
6954
6957
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6955
6958
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6982,21 +6985,21 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
6982
6985
  subagentKind: z.ZodEnum<["agent", "graph"]>;
6983
6986
  depth: z.ZodNumber;
6984
6987
  }, "strip", z.ZodTypeAny, {
6985
- subagentKind: "agent" | "graph";
6986
6988
  parentMessageId: string;
6987
6989
  rootConversationId: string;
6988
6990
  parentConversationId: string;
6989
6991
  parentToolCallId: string;
6990
6992
  subagentType: string;
6993
+ subagentKind: "agent" | "graph";
6991
6994
  depth: number;
6992
6995
  parentAgentId?: string | undefined;
6993
6996
  }, {
6994
- subagentKind: "agent" | "graph";
6995
6997
  parentMessageId: string;
6996
6998
  rootConversationId: string;
6997
6999
  parentConversationId: string;
6998
7000
  parentToolCallId: string;
6999
7001
  subagentType: string;
7002
+ subagentKind: "agent" | "graph";
7000
7003
  depth: number;
7001
7004
  parentAgentId?: string | undefined;
7002
7005
  }>>;
@@ -7019,9 +7022,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
7019
7022
  resendImages: z.ZodOptional<z.ZodBoolean>;
7020
7023
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
7021
7024
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7022
- }, "web_search" | "artifacts" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
7023
- web_search?: boolean | undefined;
7025
+ }, "greeting" | "artifacts" | "stop" | "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "stream" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
7026
+ greeting?: string | undefined;
7024
7027
  artifacts?: string | undefined;
7028
+ stop?: string[] | undefined;
7025
7029
  model?: string | null | undefined;
7026
7030
  modelLabel?: string | null | undefined;
7027
7031
  promptPrefix?: string | null | undefined;
@@ -7039,14 +7043,14 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
7039
7043
  resendFiles?: boolean | undefined;
7040
7044
  effort?: AnthropicEffort | null | undefined;
7041
7045
  thinkingDisplay?: ThinkingDisplay | null | undefined;
7042
- stop?: string[] | undefined;
7043
- greeting?: string | undefined;
7046
+ web_search?: boolean | undefined;
7044
7047
  spec?: string | null | undefined;
7045
7048
  iconURL?: string | null | undefined;
7046
7049
  fileTokenLimit?: number | undefined;
7047
7050
  }, {
7048
- web_search?: boolean | undefined;
7051
+ greeting?: string | undefined;
7049
7052
  artifacts?: string | undefined;
7053
+ stop?: string[] | undefined;
7050
7054
  model?: string | null | undefined;
7051
7055
  modelLabel?: string | null | undefined;
7052
7056
  promptPrefix?: string | null | undefined;
@@ -7064,14 +7068,14 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
7064
7068
  resendFiles?: boolean | undefined;
7065
7069
  effort?: AnthropicEffort | null | undefined;
7066
7070
  thinkingDisplay?: ThinkingDisplay | null | undefined;
7067
- stop?: string[] | undefined;
7068
- greeting?: string | undefined;
7071
+ web_search?: boolean | undefined;
7069
7072
  spec?: string | null | undefined;
7070
7073
  iconURL?: string | null | undefined;
7071
7074
  fileTokenLimit?: string | number | undefined;
7072
7075
  }>, Partial<{
7073
- web_search?: boolean | undefined;
7076
+ greeting?: string | undefined;
7074
7077
  artifacts?: string | undefined;
7078
+ stop?: string[] | undefined;
7075
7079
  model?: string | null | undefined;
7076
7080
  modelLabel?: string | null | undefined;
7077
7081
  promptPrefix?: string | null | undefined;
@@ -7089,14 +7093,14 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
7089
7093
  resendFiles?: boolean | undefined;
7090
7094
  effort?: AnthropicEffort | null | undefined;
7091
7095
  thinkingDisplay?: ThinkingDisplay | null | undefined;
7092
- stop?: string[] | undefined;
7093
- greeting?: string | undefined;
7096
+ web_search?: boolean | undefined;
7094
7097
  spec?: string | null | undefined;
7095
7098
  iconURL?: string | null | undefined;
7096
7099
  fileTokenLimit?: number | undefined;
7097
7100
  }>, {
7098
- web_search?: boolean | undefined;
7101
+ greeting?: string | undefined;
7099
7102
  artifacts?: string | undefined;
7103
+ stop?: string[] | undefined;
7100
7104
  model?: string | null | undefined;
7101
7105
  modelLabel?: string | null | undefined;
7102
7106
  promptPrefix?: string | null | undefined;
@@ -7114,8 +7118,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
7114
7118
  resendFiles?: boolean | undefined;
7115
7119
  effort?: AnthropicEffort | null | undefined;
7116
7120
  thinkingDisplay?: ThinkingDisplay | null | undefined;
7117
- stop?: string[] | undefined;
7118
- greeting?: string | undefined;
7121
+ web_search?: boolean | undefined;
7119
7122
  spec?: string | null | undefined;
7120
7123
  iconURL?: string | null | undefined;
7121
7124
  fileTokenLimit?: string | number | undefined;
@@ -7131,18 +7134,18 @@ export declare const tBannerSchema: z.ZodObject<{
7131
7134
  persistable: z.ZodDefault<z.ZodBoolean>;
7132
7135
  }, "strip", z.ZodTypeAny, {
7133
7136
  message: string;
7134
- isPublic: boolean;
7135
7137
  createdAt: string;
7136
7138
  updatedAt: string;
7139
+ isPublic: boolean;
7137
7140
  bannerId: string;
7138
7141
  displayFrom: string;
7139
7142
  displayTo: string;
7140
7143
  persistable: boolean;
7141
7144
  }, {
7142
7145
  message: string;
7143
- isPublic: boolean;
7144
7146
  createdAt: string;
7145
7147
  updatedAt: string;
7148
+ isPublic: boolean;
7146
7149
  bannerId: string;
7147
7150
  displayFrom: string;
7148
7151
  displayTo: string;
@@ -7188,14 +7191,14 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
7188
7191
  sensitive: z.ZodOptional<z.ZodBoolean>;
7189
7192
  }, "strip", z.ZodTypeAny, {
7190
7193
  description: string;
7191
- authField: string;
7192
7194
  label: string;
7195
+ authField: string;
7193
7196
  optional?: boolean | undefined;
7194
7197
  sensitive?: boolean | undefined;
7195
7198
  }, {
7196
7199
  description: string;
7197
- authField: string;
7198
7200
  label: string;
7201
+ authField: string;
7199
7202
  optional?: boolean | undefined;
7200
7203
  sensitive?: boolean | undefined;
7201
7204
  }>, "many">>;
@@ -7213,8 +7216,8 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
7213
7216
  icon?: string | undefined;
7214
7217
  authConfig?: {
7215
7218
  description: string;
7216
- authField: string;
7217
7219
  label: string;
7220
+ authField: string;
7218
7221
  optional?: boolean | undefined;
7219
7222
  sensitive?: boolean | undefined;
7220
7223
  }[] | undefined;
@@ -7230,8 +7233,8 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
7230
7233
  icon?: string | undefined;
7231
7234
  authConfig?: {
7232
7235
  description: string;
7233
- authField: string;
7234
7236
  label: string;
7237
+ authField: string;
7235
7238
  optional?: boolean | undefined;
7236
7239
  sensitive?: boolean | undefined;
7237
7240
  }[] | undefined;
@@ -7280,19 +7283,19 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
7280
7283
  content: string;
7281
7284
  }>;
7282
7285
  }, "strip", z.ZodTypeAny, {
7283
- input: {
7284
- content: string;
7285
- };
7286
7286
  output: {
7287
7287
  content: string;
7288
7288
  };
7289
- }, {
7290
7289
  input: {
7291
7290
  content: string;
7292
7291
  };
7292
+ }, {
7293
7293
  output: {
7294
7294
  content: string;
7295
7295
  };
7296
+ input: {
7297
+ content: string;
7298
+ };
7296
7299
  }>, "many">>;
7297
7300
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7298
7301
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7325,21 +7328,21 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
7325
7328
  subagentKind: z.ZodEnum<["agent", "graph"]>;
7326
7329
  depth: z.ZodNumber;
7327
7330
  }, "strip", z.ZodTypeAny, {
7328
- subagentKind: "agent" | "graph";
7329
7331
  parentMessageId: string;
7330
7332
  rootConversationId: string;
7331
7333
  parentConversationId: string;
7332
7334
  parentToolCallId: string;
7333
7335
  subagentType: string;
7336
+ subagentKind: "agent" | "graph";
7334
7337
  depth: number;
7335
7338
  parentAgentId?: string | undefined;
7336
7339
  }, {
7337
- subagentKind: "agent" | "graph";
7338
7340
  parentMessageId: string;
7339
7341
  rootConversationId: string;
7340
7342
  parentConversationId: string;
7341
7343
  parentToolCallId: string;
7342
7344
  subagentType: string;
7345
+ subagentKind: "agent" | "graph";
7343
7346
  depth: number;
7344
7347
  parentAgentId?: string | undefined;
7345
7348
  }>>;
@@ -7362,20 +7365,20 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
7362
7365
  resendImages: z.ZodOptional<z.ZodBoolean>;
7363
7366
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
7364
7367
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7365
- }, "instructions" | "additional_instructions" | "chatProjectId" | "agent_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
7368
+ }, "instructions" | "additional_instructions" | "greeting" | "chatProjectId" | "agent_id" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
7366
7369
  instructions?: string | undefined;
7367
7370
  additional_instructions?: string | undefined;
7371
+ greeting?: string | undefined;
7368
7372
  chatProjectId?: string | null | undefined;
7369
7373
  agent_id?: string | undefined;
7370
- greeting?: string | undefined;
7371
7374
  spec?: string | null | undefined;
7372
7375
  iconURL?: string | null | undefined;
7373
7376
  }, {
7374
7377
  instructions?: string | undefined;
7375
7378
  additional_instructions?: string | undefined;
7379
+ greeting?: string | undefined;
7376
7380
  chatProjectId?: string | null | undefined;
7377
7381
  agent_id?: string | undefined;
7378
- greeting?: string | undefined;
7379
7382
  spec?: string | null | undefined;
7380
7383
  iconURL?: string | null | undefined;
7381
7384
  }>;
@@ -7418,14 +7421,14 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
7418
7421
  sensitive: z.ZodOptional<z.ZodBoolean>;
7419
7422
  }, "strip", z.ZodTypeAny, {
7420
7423
  description: string;
7421
- authField: string;
7422
7424
  label: string;
7425
+ authField: string;
7423
7426
  optional?: boolean | undefined;
7424
7427
  sensitive?: boolean | undefined;
7425
7428
  }, {
7426
7429
  description: string;
7427
- authField: string;
7428
7430
  label: string;
7431
+ authField: string;
7429
7432
  optional?: boolean | undefined;
7430
7433
  sensitive?: boolean | undefined;
7431
7434
  }>, "many">>;
@@ -7443,8 +7446,8 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
7443
7446
  icon?: string | undefined;
7444
7447
  authConfig?: {
7445
7448
  description: string;
7446
- authField: string;
7447
7449
  label: string;
7450
+ authField: string;
7448
7451
  optional?: boolean | undefined;
7449
7452
  sensitive?: boolean | undefined;
7450
7453
  }[] | undefined;
@@ -7460,8 +7463,8 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
7460
7463
  icon?: string | undefined;
7461
7464
  authConfig?: {
7462
7465
  description: string;
7463
- authField: string;
7464
7466
  label: string;
7467
+ authField: string;
7465
7468
  optional?: boolean | undefined;
7466
7469
  sensitive?: boolean | undefined;
7467
7470
  }[] | undefined;
@@ -7510,19 +7513,19 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
7510
7513
  content: string;
7511
7514
  }>;
7512
7515
  }, "strip", z.ZodTypeAny, {
7513
- input: {
7514
- content: string;
7515
- };
7516
7516
  output: {
7517
7517
  content: string;
7518
7518
  };
7519
- }, {
7520
7519
  input: {
7521
7520
  content: string;
7522
7521
  };
7522
+ }, {
7523
7523
  output: {
7524
7524
  content: string;
7525
7525
  };
7526
+ input: {
7527
+ content: string;
7528
+ };
7526
7529
  }>, "many">>;
7527
7530
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7528
7531
  chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7555,21 +7558,21 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
7555
7558
  subagentKind: z.ZodEnum<["agent", "graph"]>;
7556
7559
  depth: z.ZodNumber;
7557
7560
  }, "strip", z.ZodTypeAny, {
7558
- subagentKind: "agent" | "graph";
7559
7561
  parentMessageId: string;
7560
7562
  rootConversationId: string;
7561
7563
  parentConversationId: string;
7562
7564
  parentToolCallId: string;
7563
7565
  subagentType: string;
7566
+ subagentKind: "agent" | "graph";
7564
7567
  depth: number;
7565
7568
  parentAgentId?: string | undefined;
7566
7569
  }, {
7567
- subagentKind: "agent" | "graph";
7568
7570
  parentMessageId: string;
7569
7571
  rootConversationId: string;
7570
7572
  parentConversationId: string;
7571
7573
  parentToolCallId: string;
7572
7574
  subagentType: string;
7575
+ subagentKind: "agent" | "graph";
7573
7576
  depth: number;
7574
7577
  parentAgentId?: string | undefined;
7575
7578
  }>>;
@@ -7592,36 +7595,36 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
7592
7595
  resendImages: z.ZodOptional<z.ZodBoolean>;
7593
7596
  /** @deprecated Prefer `modelLabel` over `chatGptLabel` */
7594
7597
  chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7595
- }, "instructions" | "additional_instructions" | "chatProjectId" | "agent_id" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
7598
+ }, "instructions" | "additional_instructions" | "greeting" | "chatProjectId" | "agent_id" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
7596
7599
  instructions?: string | undefined;
7597
7600
  additional_instructions?: string | undefined;
7601
+ greeting?: string | undefined;
7598
7602
  chatProjectId?: string | null | undefined;
7599
7603
  agent_id?: string | undefined;
7600
- greeting?: string | undefined;
7601
7604
  spec?: string | null | undefined;
7602
7605
  iconURL?: string | null | undefined;
7603
7606
  }, {
7604
7607
  instructions?: string | undefined;
7605
7608
  additional_instructions?: string | undefined;
7609
+ greeting?: string | undefined;
7606
7610
  chatProjectId?: string | null | undefined;
7607
7611
  agent_id?: string | undefined;
7608
- greeting?: string | undefined;
7609
7612
  spec?: string | null | undefined;
7610
7613
  iconURL?: string | null | undefined;
7611
7614
  }>, Partial<{
7612
7615
  instructions?: string | undefined;
7613
7616
  additional_instructions?: string | undefined;
7617
+ greeting?: string | undefined;
7614
7618
  chatProjectId?: string | null | undefined;
7615
7619
  agent_id?: string | undefined;
7616
- greeting?: string | undefined;
7617
7620
  spec?: string | null | undefined;
7618
7621
  iconURL?: string | null | undefined;
7619
7622
  }>, {
7620
7623
  instructions?: string | undefined;
7621
7624
  additional_instructions?: string | undefined;
7625
+ greeting?: string | undefined;
7622
7626
  chatProjectId?: string | null | undefined;
7623
7627
  agent_id?: string | undefined;
7624
- greeting?: string | undefined;
7625
7628
  spec?: string | null | undefined;
7626
7629
  iconURL?: string | null | undefined;
7627
7630
  }>>;