@inkeep/agents-core 0.0.0-dev-20251009194333 → 0.0.0-dev-20251009215610

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 (34) hide show
  1. package/README.md +2 -2
  2. package/dist/{chunk-VPJ6Z5QZ.js → chunk-5LRSB445.js} +115 -118
  3. package/dist/{chunk-TO2HNKGP.js → chunk-BVURASVM.js} +74 -110
  4. package/dist/chunk-TCLX6C3C.js +271 -0
  5. package/dist/chunk-ZSQFZL3Y.js +173 -0
  6. package/dist/client-exports.cjs +483 -225
  7. package/dist/client-exports.d.cts +6 -5
  8. package/dist/client-exports.d.ts +6 -5
  9. package/dist/client-exports.js +5 -4
  10. package/dist/db/schema.cjs +114 -117
  11. package/dist/db/schema.d.cts +2 -2
  12. package/dist/db/schema.d.ts +2 -2
  13. package/dist/db/schema.js +1 -1
  14. package/dist/index.cjs +1687 -1360
  15. package/dist/index.d.cts +1530 -1524
  16. package/dist/index.d.ts +1530 -1524
  17. package/dist/index.js +1016 -989
  18. package/dist/{schema-Ct2NlO81.d.cts → schema-B1rukNyF.d.ts} +118 -137
  19. package/dist/{schema-BQk_FMBV.d.ts → schema-BIYOOKX_.d.cts} +118 -137
  20. package/dist/signoz-queries-CifqdbnO.d.cts +269 -0
  21. package/dist/signoz-queries-CifqdbnO.d.ts +269 -0
  22. package/dist/types/index.d.cts +2 -2
  23. package/dist/types/index.d.ts +2 -2
  24. package/dist/{utility-s9c5CVOe.d.cts → utility-BEeDGMP9.d.cts} +226 -297
  25. package/dist/{utility-s9c5CVOe.d.ts → utility-BEeDGMP9.d.ts} +226 -297
  26. package/dist/validation/index.cjs +243 -238
  27. package/dist/validation/index.d.cts +76 -4
  28. package/dist/validation/index.d.ts +76 -4
  29. package/dist/validation/index.js +2 -2
  30. package/drizzle/0005_wide_shriek.sql +127 -0
  31. package/drizzle/meta/0005_snapshot.json +2558 -0
  32. package/drizzle/meta/_journal.json +7 -0
  33. package/package.json +1 -1
  34. package/dist/chunk-L53XWAYG.js +0 -134
@@ -451,10 +451,10 @@ declare const FunctionToolConfigSchema: z.ZodObject<{
451
451
  type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execute'> & {
452
452
  execute: ((params: any) => Promise<any>) | string;
453
453
  };
454
- declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
454
+ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
455
455
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
456
456
  name: "created_at";
457
- tableName: "agents";
457
+ tableName: "sub_agents";
458
458
  dataType: "string";
459
459
  columnType: "SQLiteText";
460
460
  data: string;
@@ -473,7 +473,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
473
473
  }>;
474
474
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
475
475
  name: "updated_at";
476
- tableName: "agents";
476
+ tableName: "sub_agents";
477
477
  dataType: "string";
478
478
  columnType: "SQLiteText";
479
479
  data: string;
@@ -492,7 +492,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
492
492
  }>;
493
493
  prompt: drizzle_orm_sqlite_core.SQLiteColumn<{
494
494
  name: "prompt";
495
- tableName: "agents";
495
+ tableName: "sub_agents";
496
496
  dataType: "string";
497
497
  columnType: "SQLiteText";
498
498
  data: string;
@@ -511,7 +511,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
511
511
  }>;
512
512
  conversationHistoryConfig: drizzle_orm_sqlite_core.SQLiteColumn<{
513
513
  name: "conversation_history_config";
514
- tableName: "agents";
514
+ tableName: "sub_agents";
515
515
  dataType: "json";
516
516
  columnType: "SQLiteTextJson";
517
517
  data: ConversationHistoryConfig;
@@ -530,7 +530,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
530
530
  }>;
531
531
  models: drizzle_orm_sqlite_core.SQLiteColumn<{
532
532
  name: "models";
533
- tableName: "agents";
533
+ tableName: "sub_agents";
534
534
  dataType: "json";
535
535
  columnType: "SQLiteTextJson";
536
536
  data: {
@@ -575,7 +575,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
575
575
  }>;
576
576
  stopWhen: drizzle_orm_sqlite_core.SQLiteColumn<{
577
577
  name: "stop_when";
578
- tableName: "agents";
578
+ tableName: "sub_agents";
579
579
  dataType: "json";
580
580
  columnType: "SQLiteTextJson";
581
581
  data: {
@@ -598,7 +598,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
598
598
  }>;
599
599
  name: drizzle_orm_sqlite_core.SQLiteColumn<{
600
600
  name: "name";
601
- tableName: "agents";
601
+ tableName: "sub_agents";
602
602
  dataType: "string";
603
603
  columnType: "SQLiteText";
604
604
  data: string;
@@ -617,7 +617,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
617
617
  }>;
618
618
  description: drizzle_orm_sqlite_core.SQLiteColumn<{
619
619
  name: "description";
620
- tableName: "agents";
620
+ tableName: "sub_agents";
621
621
  dataType: "string";
622
622
  columnType: "SQLiteText";
623
623
  data: string;
@@ -636,7 +636,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
636
636
  }>;
637
637
  graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
638
638
  name: "graph_id";
639
- tableName: "agents";
639
+ tableName: "sub_agents";
640
640
  dataType: "string";
641
641
  columnType: "SQLiteText";
642
642
  data: string;
@@ -655,7 +655,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
655
655
  }>;
656
656
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
657
657
  name: "project_id";
658
- tableName: "agents";
658
+ tableName: "sub_agents";
659
659
  dataType: "string";
660
660
  columnType: "SQLiteText";
661
661
  data: string;
@@ -674,7 +674,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
674
674
  }>;
675
675
  tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
676
676
  name: "tenant_id";
677
- tableName: "agents";
677
+ tableName: "sub_agents";
678
678
  dataType: "string";
679
679
  columnType: "SQLiteText";
680
680
  data: string;
@@ -693,7 +693,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
693
693
  }>;
694
694
  id: drizzle_orm_sqlite_core.SQLiteColumn<{
695
695
  name: "id";
696
- tableName: "agents";
696
+ tableName: "sub_agents";
697
697
  dataType: "string";
698
698
  columnType: "SQLiteText";
699
699
  data: string;
@@ -711,7 +711,7 @@ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
711
711
  length: number | undefined;
712
712
  }>;
713
713
  }, undefined, undefined>;
714
- declare const AgentInsertSchema: z.ZodObject<{
714
+ declare const SubAgentInsertSchema: z.ZodObject<{
715
715
  createdAt: z.ZodOptional<z.ZodString>;
716
716
  updatedAt: z.ZodOptional<z.ZodString>;
717
717
  prompt: z.ZodString;
@@ -749,7 +749,7 @@ declare const AgentInsertSchema: z.ZodObject<{
749
749
  out: {};
750
750
  in: {};
751
751
  }>;
752
- declare const AgentUpdateSchema: z.ZodObject<{
752
+ declare const SubAgentUpdateSchema: z.ZodObject<{
753
753
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
754
754
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
755
755
  prompt: z.ZodOptional<z.ZodString>;
@@ -787,7 +787,7 @@ declare const AgentUpdateSchema: z.ZodObject<{
787
787
  out: {};
788
788
  in: {};
789
789
  }>;
790
- declare const AgentApiSelectSchema: z.ZodObject<{
790
+ declare const SubAgentApiSelectSchema: z.ZodObject<{
791
791
  id: z.ZodString;
792
792
  name: z.ZodString;
793
793
  description: z.ZodString;
@@ -858,7 +858,7 @@ declare const AgentApiSelectSchema: z.ZodObject<{
858
858
  }>>>;
859
859
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
860
860
  }, z.core.$strip>;
861
- declare const AgentApiInsertSchema: z.ZodObject<{
861
+ declare const SubAgentApiInsertSchema: z.ZodObject<{
862
862
  id: z.ZodString;
863
863
  name: z.ZodString;
864
864
  description: z.ZodString;
@@ -890,7 +890,7 @@ declare const AgentApiInsertSchema: z.ZodObject<{
890
890
  }>>>>;
891
891
  conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
892
892
  }, z.core.$strip>;
893
- declare const AgentApiUpdateSchema: z.ZodObject<{
893
+ declare const SubAgentApiUpdateSchema: z.ZodObject<{
894
894
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
895
895
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
896
896
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -925,7 +925,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
925
925
  declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
926
926
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
927
927
  name: "created_at";
928
- tableName: "agent_relations";
928
+ tableName: "sub_agent_relations";
929
929
  dataType: "string";
930
930
  columnType: "SQLiteText";
931
931
  data: string;
@@ -944,7 +944,7 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
944
944
  }>;
945
945
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
946
946
  name: "updated_at";
947
- tableName: "agent_relations";
947
+ tableName: "sub_agent_relations";
948
948
  dataType: "string";
949
949
  columnType: "SQLiteText";
950
950
  data: string;
@@ -961,9 +961,9 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
961
961
  }, {}, {
962
962
  length: number | undefined;
963
963
  }>;
964
- sourceAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
965
- name: "source_agent_id";
966
- tableName: "agent_relations";
964
+ sourceSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
965
+ name: "source_sub_agent_id";
966
+ tableName: "sub_agent_relations";
967
967
  dataType: "string";
968
968
  columnType: "SQLiteText";
969
969
  data: string;
@@ -980,9 +980,9 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
980
980
  }, {}, {
981
981
  length: number | undefined;
982
982
  }>;
983
- targetAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
984
- name: "target_agent_id";
985
- tableName: "agent_relations";
983
+ targetSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
984
+ name: "target_sub_agent_id";
985
+ tableName: "sub_agent_relations";
986
986
  dataType: "string";
987
987
  columnType: "SQLiteText";
988
988
  data: string;
@@ -999,9 +999,9 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
999
999
  }, {}, {
1000
1000
  length: number | undefined;
1001
1001
  }>;
1002
- externalAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
1003
- name: "external_agent_id";
1004
- tableName: "agent_relations";
1002
+ externalSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
1003
+ name: "external_sub_agent_id";
1004
+ tableName: "sub_agent_relations";
1005
1005
  dataType: "string";
1006
1006
  columnType: "SQLiteText";
1007
1007
  data: string;
@@ -1020,7 +1020,7 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
1020
1020
  }>;
1021
1021
  relationType: drizzle_orm_sqlite_core.SQLiteColumn<{
1022
1022
  name: "relation_type";
1023
- tableName: "agent_relations";
1023
+ tableName: "sub_agent_relations";
1024
1024
  dataType: "string";
1025
1025
  columnType: "SQLiteText";
1026
1026
  data: string;
@@ -1039,7 +1039,7 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
1039
1039
  }>;
1040
1040
  graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
1041
1041
  name: "graph_id";
1042
- tableName: "agent_relations";
1042
+ tableName: "sub_agent_relations";
1043
1043
  dataType: "string";
1044
1044
  columnType: "SQLiteText";
1045
1045
  data: string;
@@ -1058,7 +1058,7 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
1058
1058
  }>;
1059
1059
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
1060
1060
  name: "project_id";
1061
- tableName: "agent_relations";
1061
+ tableName: "sub_agent_relations";
1062
1062
  dataType: "string";
1063
1063
  columnType: "SQLiteText";
1064
1064
  data: string;
@@ -1077,7 +1077,7 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
1077
1077
  }>;
1078
1078
  tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
1079
1079
  name: "tenant_id";
1080
- tableName: "agent_relations";
1080
+ tableName: "sub_agent_relations";
1081
1081
  dataType: "string";
1082
1082
  columnType: "SQLiteText";
1083
1083
  data: string;
@@ -1096,7 +1096,7 @@ declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
1096
1096
  }>;
1097
1097
  id: drizzle_orm_sqlite_core.SQLiteColumn<{
1098
1098
  name: "id";
1099
- tableName: "agent_relations";
1099
+ tableName: "sub_agent_relations";
1100
1100
  dataType: "string";
1101
1101
  columnType: "SQLiteText";
1102
1102
  data: string;
@@ -1122,9 +1122,9 @@ declare const AgentRelationInsertSchema: z.ZodObject<{
1122
1122
  tenantId: z.ZodString;
1123
1123
  id: z.ZodString;
1124
1124
  graphId: z.ZodString;
1125
- sourceAgentId: z.ZodString;
1126
- targetAgentId: z.ZodOptional<z.ZodString>;
1127
- externalAgentId: z.ZodOptional<z.ZodString>;
1125
+ sourceSubAgentId: z.ZodString;
1126
+ targetSubAgentId: z.ZodOptional<z.ZodString>;
1127
+ externalSubAgentId: z.ZodOptional<z.ZodString>;
1128
1128
  }, {
1129
1129
  out: {};
1130
1130
  in: {};
@@ -1137,9 +1137,9 @@ declare const AgentRelationUpdateSchema: z.ZodObject<{
1137
1137
  tenantId: z.ZodOptional<z.ZodString>;
1138
1138
  id: z.ZodOptional<z.ZodString>;
1139
1139
  graphId: z.ZodOptional<z.ZodString>;
1140
- sourceAgentId: z.ZodOptional<z.ZodString>;
1141
- targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1142
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1140
+ sourceSubAgentId: z.ZodOptional<z.ZodString>;
1141
+ targetSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1142
+ externalSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1143
1143
  }, {
1144
1144
  out: {};
1145
1145
  in: {};
@@ -1148,18 +1148,18 @@ declare const AgentRelationApiSelectSchema: z.ZodObject<{
1148
1148
  id: z.ZodString;
1149
1149
  createdAt: z.ZodString;
1150
1150
  updatedAt: z.ZodString;
1151
- sourceAgentId: z.ZodString;
1152
- targetAgentId: z.ZodNullable<z.ZodString>;
1153
- externalAgentId: z.ZodNullable<z.ZodString>;
1151
+ sourceSubAgentId: z.ZodString;
1152
+ targetSubAgentId: z.ZodNullable<z.ZodString>;
1153
+ externalSubAgentId: z.ZodNullable<z.ZodString>;
1154
1154
  relationType: z.ZodNullable<z.ZodString>;
1155
1155
  }, z.core.$strip>;
1156
1156
  declare const AgentRelationApiInsertSchema: z.ZodObject<{
1157
1157
  id: z.ZodString;
1158
1158
  createdAt: z.ZodOptional<z.ZodString>;
1159
1159
  updatedAt: z.ZodOptional<z.ZodString>;
1160
- sourceAgentId: z.ZodString;
1161
- targetAgentId: z.ZodOptional<z.ZodString>;
1162
- externalAgentId: z.ZodOptional<z.ZodString>;
1160
+ sourceSubAgentId: z.ZodString;
1161
+ targetSubAgentId: z.ZodOptional<z.ZodString>;
1162
+ externalSubAgentId: z.ZodOptional<z.ZodString>;
1163
1163
  relationType: z.ZodEnum<{
1164
1164
  transfer: "transfer";
1165
1165
  delegate: "delegate";
@@ -1169,30 +1169,30 @@ declare const AgentRelationApiUpdateSchema: z.ZodObject<{
1169
1169
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1170
1170
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1171
1171
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1172
- sourceAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1173
- targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1174
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1172
+ sourceSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1173
+ targetSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1174
+ externalSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
1175
1175
  relationType: z.ZodOptional<z.ZodEnum<{
1176
1176
  transfer: "transfer";
1177
1177
  delegate: "delegate";
1178
1178
  }>>;
1179
1179
  }, z.core.$strip>;
1180
1180
  declare const AgentRelationQuerySchema: z.ZodObject<{
1181
- sourceAgentId: z.ZodOptional<z.ZodString>;
1182
- targetAgentId: z.ZodOptional<z.ZodString>;
1183
- externalAgentId: z.ZodOptional<z.ZodString>;
1181
+ sourceSubAgentId: z.ZodOptional<z.ZodString>;
1182
+ targetSubAgentId: z.ZodOptional<z.ZodString>;
1183
+ externalSubAgentId: z.ZodOptional<z.ZodString>;
1184
1184
  }, z.core.$strip>;
1185
1185
  declare const ExternalAgentRelationInsertSchema: z.ZodObject<{
1186
1186
  createdAt: z.ZodOptional<z.ZodString>;
1187
1187
  updatedAt: z.ZodOptional<z.ZodString>;
1188
- targetAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1188
+ targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1189
1189
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1190
1190
  projectId: z.ZodString;
1191
1191
  tenantId: z.ZodString;
1192
1192
  id: z.ZodString;
1193
1193
  graphId: z.ZodString;
1194
- sourceAgentId: z.ZodString;
1195
- externalAgentId: z.ZodString;
1194
+ sourceSubAgentId: z.ZodString;
1195
+ externalSubAgentId: z.ZodString;
1196
1196
  }, {
1197
1197
  out: {};
1198
1198
  in: {};
@@ -1202,9 +1202,9 @@ declare const ExternalAgentRelationApiInsertSchema: z.ZodObject<{
1202
1202
  graphId: z.ZodString;
1203
1203
  createdAt: z.ZodOptional<z.ZodString>;
1204
1204
  updatedAt: z.ZodOptional<z.ZodString>;
1205
- sourceAgentId: z.ZodString;
1206
- targetAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1207
- externalAgentId: z.ZodString;
1205
+ sourceSubAgentId: z.ZodString;
1206
+ targetSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1207
+ externalSubAgentId: z.ZodString;
1208
1208
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1209
1209
  }, z.core.$strip>;
1210
1210
  declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -1284,8 +1284,8 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1284
1284
  }, {}, {
1285
1285
  length: number | undefined;
1286
1286
  }>;
1287
- defaultAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
1288
- name: "default_agent_id";
1287
+ defaultSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
1288
+ name: "default_sub_agent_id";
1289
1289
  tableName: "agent_graph";
1290
1290
  dataType: "string";
1291
1291
  columnType: "SQLiteText";
@@ -1519,7 +1519,7 @@ declare const AgentGraphInsertSchema: z.ZodObject<{
1519
1519
  updatedAt: z.ZodOptional<z.ZodString>;
1520
1520
  name: z.ZodString;
1521
1521
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1523
1523
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1524
1524
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
1525
1525
  base?: {
@@ -1653,7 +1653,7 @@ declare const AgentGraphUpdateSchema: z.ZodObject<{
1653
1653
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1654
1654
  name: z.ZodOptional<z.ZodString>;
1655
1655
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1656
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1656
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1657
1657
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1658
1658
  models: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
1659
1659
  base?: {
@@ -1850,7 +1850,7 @@ declare const AgentGraphApiSelectSchema: z.ZodObject<{
1850
1850
  }, {
1851
1851
  transferCountIs?: number | undefined;
1852
1852
  }>>>;
1853
- defaultAgentId: z.ZodNullable<z.ZodString>;
1853
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
1854
1854
  contextConfigId: z.ZodNullable<z.ZodString>;
1855
1855
  statusUpdates: z.ZodNullable<z.ZodType<{
1856
1856
  enabled?: boolean | undefined;
@@ -1978,7 +1978,7 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
1978
1978
  }, {
1979
1979
  transferCountIs?: number | undefined;
1980
1980
  }>>>>;
1981
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1981
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1982
1982
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1983
1983
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
1984
1984
  enabled?: boolean | undefined;
@@ -2108,7 +2108,7 @@ declare const AgentGraphApiUpdateSchema: z.ZodObject<{
2108
2108
  }, {
2109
2109
  transferCountIs?: number | undefined;
2110
2110
  }>>>>>>;
2111
- defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2111
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2112
2112
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2113
2113
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2114
2114
  enabled?: boolean | undefined;
@@ -2265,8 +2265,8 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
2265
2265
  }, {}, {
2266
2266
  $type: TaskMetadataConfig;
2267
2267
  }>;
2268
- agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
2269
- name: "agent_id";
2268
+ subAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
2269
+ name: "sub_agent_id";
2270
2270
  tableName: "tasks";
2271
2271
  dataType: "string";
2272
2272
  columnType: "SQLiteText";
@@ -2367,7 +2367,7 @@ declare const TaskInsertSchema: z.ZodObject<{
2367
2367
  contextId: z.ZodString;
2368
2368
  status: z.ZodString;
2369
2369
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2370
- agentId: z.ZodString;
2370
+ subAgentId: z.ZodString;
2371
2371
  graphId: z.ZodString;
2372
2372
  projectId: z.ZodString;
2373
2373
  tenantId: z.ZodString;
@@ -2383,7 +2383,7 @@ declare const TaskUpdateSchema: z.ZodObject<{
2383
2383
  contextId: z.ZodOptional<z.ZodString>;
2384
2384
  status: z.ZodOptional<z.ZodString>;
2385
2385
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>;
2386
- agentId: z.ZodOptional<z.ZodString>;
2386
+ subAgentId: z.ZodOptional<z.ZodString>;
2387
2387
  graphId: z.ZodOptional<z.ZodString>;
2388
2388
  projectId: z.ZodOptional<z.ZodString>;
2389
2389
  tenantId: z.ZodOptional<z.ZodString>;
@@ -2401,7 +2401,7 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2401
2401
  status: z.ZodString;
2402
2402
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
2403
2403
  contextId: z.ZodString;
2404
- agentId: z.ZodString;
2404
+ subAgentId: z.ZodString;
2405
2405
  }, z.core.$strip>;
2406
2406
  declare const TaskApiInsertSchema: z.ZodObject<{
2407
2407
  id: z.ZodString;
@@ -2412,7 +2412,7 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2412
2412
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2413
2413
  conversationId: z.ZodOptional<z.ZodString>;
2414
2414
  contextId: z.ZodString;
2415
- agentId: z.ZodString;
2415
+ subAgentId: z.ZodString;
2416
2416
  }, z.core.$strip>;
2417
2417
  declare const TaskApiUpdateSchema: z.ZodObject<{
2418
2418
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2423,7 +2423,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
2423
2423
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
2424
2424
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2425
2425
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2426
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2426
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2427
2427
  }, z.core.$strip>;
2428
2428
  declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
2429
2429
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -3035,8 +3035,8 @@ declare const ConversationSelectSchema: drizzle_zod.BuildSchema<"select", {
3035
3035
  }, {}, {
3036
3036
  length: number | undefined;
3037
3037
  }>;
3038
- activeAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3039
- name: "active_agent_id";
3038
+ activeSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3039
+ name: "active_sub_agent_id";
3040
3040
  tableName: "conversations";
3041
3041
  dataType: "string";
3042
3042
  columnType: "SQLiteText";
@@ -3173,7 +3173,7 @@ declare const ConversationInsertSchema: z.ZodObject<{
3173
3173
  createdAt: z.ZodOptional<z.ZodString>;
3174
3174
  updatedAt: z.ZodOptional<z.ZodString>;
3175
3175
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3176
- activeAgentId: z.ZodString;
3176
+ activeSubAgentId: z.ZodString;
3177
3177
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3178
3178
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3179
3179
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
@@ -3189,7 +3189,7 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3189
3189
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3190
3190
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3191
3191
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3192
- activeAgentId: z.ZodOptional<z.ZodString>;
3192
+ activeSubAgentId: z.ZodOptional<z.ZodString>;
3193
3193
  title: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3194
3194
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3195
3195
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>;
@@ -3208,7 +3208,7 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3208
3208
  title: z.ZodNullable<z.ZodString>;
3209
3209
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3210
3210
  userId: z.ZodNullable<z.ZodString>;
3211
- activeAgentId: z.ZodString;
3211
+ activeSubAgentId: z.ZodString;
3212
3212
  lastContextResolution: z.ZodNullable<z.ZodString>;
3213
3213
  }, z.core.$strip>;
3214
3214
  declare const ConversationApiInsertSchema: z.ZodObject<{
@@ -3219,7 +3219,7 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3219
3219
  contextConfigId: z.ZodOptional<z.ZodString>;
3220
3220
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3221
3221
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3222
- activeAgentId: z.ZodString;
3222
+ activeSubAgentId: z.ZodString;
3223
3223
  lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3224
3224
  }, z.core.$strip>;
3225
3225
  declare const ConversationApiUpdateSchema: z.ZodObject<{
@@ -3230,7 +3230,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
3230
3230
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3231
3231
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3232
3232
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3233
- activeAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3233
+ activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3234
3234
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3235
3235
  }, z.core.$strip>;
3236
3236
  declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -3310,8 +3310,8 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
3310
3310
  }, {}, {
3311
3311
  length: number | undefined;
3312
3312
  }>;
3313
- fromAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3314
- name: "from_agent_id";
3313
+ fromSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3314
+ name: "from_sub_agent_id";
3315
3315
  tableName: "messages";
3316
3316
  dataType: "string";
3317
3317
  columnType: "SQLiteText";
@@ -3329,8 +3329,8 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
3329
3329
  }, {}, {
3330
3330
  length: number | undefined;
3331
3331
  }>;
3332
- toAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3333
- name: "to_agent_id";
3332
+ toSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3333
+ name: "to_sub_agent_id";
3334
3334
  tableName: "messages";
3335
3335
  dataType: "string";
3336
3336
  columnType: "SQLiteText";
@@ -3349,7 +3349,7 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
3349
3349
  length: number | undefined;
3350
3350
  }>;
3351
3351
  fromExternalAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3352
- name: "from_external_agent_id";
3352
+ name: "from_external_sub_agent_id";
3353
3353
  tableName: "messages";
3354
3354
  dataType: "string";
3355
3355
  columnType: "SQLiteText";
@@ -3368,7 +3368,7 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
3368
3368
  length: number | undefined;
3369
3369
  }>;
3370
3370
  toExternalAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3371
- name: "to_external_agent_id";
3371
+ name: "to_external_sub_agent_id";
3372
3372
  tableName: "messages";
3373
3373
  dataType: "string";
3374
3374
  columnType: "SQLiteText";
@@ -3443,25 +3443,6 @@ declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
3443
3443
  }, {}, {
3444
3444
  length: number | undefined;
3445
3445
  }>;
3446
- agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
3447
- name: "agent_id";
3448
- tableName: "messages";
3449
- dataType: "string";
3450
- columnType: "SQLiteText";
3451
- data: string;
3452
- driverParam: string;
3453
- notNull: false;
3454
- hasDefault: false;
3455
- isPrimaryKey: false;
3456
- isAutoincrement: false;
3457
- hasRuntimeDefault: false;
3458
- enumValues: [string, ...string[]];
3459
- baseColumn: never;
3460
- identity: undefined;
3461
- generated: undefined;
3462
- }, {}, {
3463
- length: number | undefined;
3464
- }>;
3465
3446
  taskId: drizzle_orm_sqlite_core.SQLiteColumn<{
3466
3447
  name: "task_id";
3467
3448
  tableName: "messages";
@@ -3619,14 +3600,13 @@ declare const MessageInsertSchema: z.ZodObject<{
3619
3600
  createdAt: z.ZodOptional<z.ZodString>;
3620
3601
  updatedAt: z.ZodOptional<z.ZodString>;
3621
3602
  role: z.ZodString;
3622
- fromAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3623
- toAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3603
+ fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3604
+ toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3624
3605
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3625
3606
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3626
3607
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
3627
3608
  visibility: z.ZodOptional<z.ZodString>;
3628
3609
  messageType: z.ZodOptional<z.ZodString>;
3629
- agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3630
3610
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3631
3611
  a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3632
3612
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3644,14 +3624,13 @@ declare const MessageUpdateSchema: z.ZodObject<{
3644
3624
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3645
3625
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3646
3626
  role: z.ZodOptional<z.ZodString>;
3647
- fromAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3648
- toAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3627
+ fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3628
+ toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3649
3629
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3650
3630
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3651
3631
  content: z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
3652
3632
  visibility: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3653
3633
  messageType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3654
- agentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3655
3634
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3656
3635
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3657
3636
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -3672,10 +3651,9 @@ declare const MessageApiSelectSchema: z.ZodObject<{
3672
3651
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
3673
3652
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
3674
3653
  conversationId: z.ZodString;
3675
- agentId: z.ZodNullable<z.ZodString>;
3676
3654
  role: z.ZodString;
3677
- fromAgentId: z.ZodNullable<z.ZodString>;
3678
- toAgentId: z.ZodNullable<z.ZodString>;
3655
+ fromSubAgentId: z.ZodNullable<z.ZodString>;
3656
+ toSubAgentId: z.ZodNullable<z.ZodString>;
3679
3657
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
3680
3658
  toExternalAgentId: z.ZodNullable<z.ZodString>;
3681
3659
  visibility: z.ZodString;
@@ -3692,10 +3670,9 @@ declare const MessageApiInsertSchema: z.ZodObject<{
3692
3670
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
3693
3671
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
3694
3672
  conversationId: z.ZodString;
3695
- agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3696
3673
  role: z.ZodString;
3697
- fromAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3698
- toAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3674
+ fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3675
+ toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3699
3676
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3700
3677
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3701
3678
  visibility: z.ZodOptional<z.ZodString>;
@@ -3712,10 +3689,9 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
3712
3689
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
3713
3690
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
3714
3691
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3715
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3716
3692
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3717
- fromAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3718
- toAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3693
+ fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3694
+ toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3719
3695
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3720
3696
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3721
3697
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
@@ -4494,7 +4470,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
4494
4470
  declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
4495
4471
  dataComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4496
4472
  name: "data_component_id";
4497
- tableName: "agent_data_components";
4473
+ tableName: "sub_agent_data_components";
4498
4474
  dataType: "string";
4499
4475
  columnType: "SQLiteText";
4500
4476
  data: string;
@@ -4513,7 +4489,7 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
4513
4489
  }>;
4514
4490
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4515
4491
  name: "created_at";
4516
- tableName: "agent_data_components";
4492
+ tableName: "sub_agent_data_components";
4517
4493
  dataType: "string";
4518
4494
  columnType: "SQLiteText";
4519
4495
  data: string;
@@ -4530,9 +4506,9 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
4530
4506
  }, {}, {
4531
4507
  length: number | undefined;
4532
4508
  }>;
4533
- agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4534
- name: "agent_id";
4535
- tableName: "agent_data_components";
4509
+ subAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4510
+ name: "sub_agent_id";
4511
+ tableName: "sub_agent_data_components";
4536
4512
  dataType: "string";
4537
4513
  columnType: "SQLiteText";
4538
4514
  data: string;
@@ -4551,7 +4527,7 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
4551
4527
  }>;
4552
4528
  graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
4553
4529
  name: "graph_id";
4554
- tableName: "agent_data_components";
4530
+ tableName: "sub_agent_data_components";
4555
4531
  dataType: "string";
4556
4532
  columnType: "SQLiteText";
4557
4533
  data: string;
@@ -4570,7 +4546,7 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
4570
4546
  }>;
4571
4547
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
4572
4548
  name: "project_id";
4573
- tableName: "agent_data_components";
4549
+ tableName: "sub_agent_data_components";
4574
4550
  dataType: "string";
4575
4551
  columnType: "SQLiteText";
4576
4552
  data: string;
@@ -4589,7 +4565,7 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
4589
4565
  }>;
4590
4566
  tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
4591
4567
  name: "tenant_id";
4592
- tableName: "agent_data_components";
4568
+ tableName: "sub_agent_data_components";
4593
4569
  dataType: "string";
4594
4570
  columnType: "SQLiteText";
4595
4571
  data: string;
@@ -4608,7 +4584,7 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
4608
4584
  }>;
4609
4585
  id: drizzle_orm_sqlite_core.SQLiteColumn<{
4610
4586
  name: "id";
4611
- tableName: "agent_data_components";
4587
+ tableName: "sub_agent_data_components";
4612
4588
  dataType: "string";
4613
4589
  columnType: "SQLiteText";
4614
4590
  data: string;
@@ -4629,7 +4605,7 @@ declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select",
4629
4605
  declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert", {
4630
4606
  dataComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4631
4607
  name: "data_component_id";
4632
- tableName: "agent_data_components";
4608
+ tableName: "sub_agent_data_components";
4633
4609
  dataType: "string";
4634
4610
  columnType: "SQLiteText";
4635
4611
  data: string;
@@ -4648,7 +4624,7 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
4648
4624
  }>;
4649
4625
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4650
4626
  name: "created_at";
4651
- tableName: "agent_data_components";
4627
+ tableName: "sub_agent_data_components";
4652
4628
  dataType: "string";
4653
4629
  columnType: "SQLiteText";
4654
4630
  data: string;
@@ -4665,9 +4641,9 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
4665
4641
  }, {}, {
4666
4642
  length: number | undefined;
4667
4643
  }>;
4668
- agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4669
- name: "agent_id";
4670
- tableName: "agent_data_components";
4644
+ subAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4645
+ name: "sub_agent_id";
4646
+ tableName: "sub_agent_data_components";
4671
4647
  dataType: "string";
4672
4648
  columnType: "SQLiteText";
4673
4649
  data: string;
@@ -4686,7 +4662,7 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
4686
4662
  }>;
4687
4663
  graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
4688
4664
  name: "graph_id";
4689
- tableName: "agent_data_components";
4665
+ tableName: "sub_agent_data_components";
4690
4666
  dataType: "string";
4691
4667
  columnType: "SQLiteText";
4692
4668
  data: string;
@@ -4705,7 +4681,7 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
4705
4681
  }>;
4706
4682
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
4707
4683
  name: "project_id";
4708
- tableName: "agent_data_components";
4684
+ tableName: "sub_agent_data_components";
4709
4685
  dataType: "string";
4710
4686
  columnType: "SQLiteText";
4711
4687
  data: string;
@@ -4724,7 +4700,7 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
4724
4700
  }>;
4725
4701
  tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
4726
4702
  name: "tenant_id";
4727
- tableName: "agent_data_components";
4703
+ tableName: "sub_agent_data_components";
4728
4704
  dataType: "string";
4729
4705
  columnType: "SQLiteText";
4730
4706
  data: string;
@@ -4743,7 +4719,7 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
4743
4719
  }>;
4744
4720
  id: drizzle_orm_sqlite_core.SQLiteColumn<{
4745
4721
  name: "id";
4746
- tableName: "agent_data_components";
4722
+ tableName: "sub_agent_data_components";
4747
4723
  dataType: "string";
4748
4724
  columnType: "SQLiteText";
4749
4725
  data: string;
@@ -4764,7 +4740,7 @@ declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert",
4764
4740
  declare const AgentDataComponentUpdateSchema: z.ZodObject<{
4765
4741
  dataComponentId: z.ZodOptional<z.ZodString>;
4766
4742
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4767
- agentId: z.ZodOptional<z.ZodString>;
4743
+ subAgentId: z.ZodOptional<z.ZodString>;
4768
4744
  graphId: z.ZodOptional<z.ZodString>;
4769
4745
  projectId: z.ZodOptional<z.ZodString>;
4770
4746
  tenantId: z.ZodOptional<z.ZodString>;
@@ -4776,12 +4752,12 @@ declare const AgentDataComponentUpdateSchema: z.ZodObject<{
4776
4752
  declare const AgentDataComponentApiSelectSchema: z.ZodObject<{
4777
4753
  id: z.ZodString;
4778
4754
  createdAt: z.ZodString;
4779
- agentId: z.ZodString;
4755
+ subAgentId: z.ZodString;
4780
4756
  dataComponentId: z.ZodString;
4781
4757
  }, z.core.$strip>;
4782
4758
  declare const AgentDataComponentApiInsertSchema: z.ZodObject<{
4783
4759
  graphId: z.ZodString;
4784
- agentId: z.ZodString;
4760
+ subAgentId: z.ZodString;
4785
4761
  dataComponentId: z.ZodString;
4786
4762
  }, {
4787
4763
  out: {};
@@ -4790,7 +4766,7 @@ declare const AgentDataComponentApiInsertSchema: z.ZodObject<{
4790
4766
  declare const AgentDataComponentApiUpdateSchema: z.ZodObject<{
4791
4767
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4792
4768
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4793
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4769
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4794
4770
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4795
4771
  }, z.core.$strip>;
4796
4772
  declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
@@ -5001,7 +4977,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
5001
4977
  declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
5002
4978
  artifactComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
5003
4979
  name: "artifact_component_id";
5004
- tableName: "agent_artifact_components";
4980
+ tableName: "sub_agent_artifact_components";
5005
4981
  dataType: "string";
5006
4982
  columnType: "SQLiteText";
5007
4983
  data: string;
@@ -5020,7 +4996,7 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
5020
4996
  }>;
5021
4997
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
5022
4998
  name: "created_at";
5023
- tableName: "agent_artifact_components";
4999
+ tableName: "sub_agent_artifact_components";
5024
5000
  dataType: "string";
5025
5001
  columnType: "SQLiteText";
5026
5002
  data: string;
@@ -5037,9 +5013,9 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
5037
5013
  }, {}, {
5038
5014
  length: number | undefined;
5039
5015
  }>;
5040
- agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
5041
- name: "agent_id";
5042
- tableName: "agent_artifact_components";
5016
+ subAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
5017
+ name: "sub_agent_id";
5018
+ tableName: "sub_agent_artifact_components";
5043
5019
  dataType: "string";
5044
5020
  columnType: "SQLiteText";
5045
5021
  data: string;
@@ -5058,7 +5034,7 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
5058
5034
  }>;
5059
5035
  graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
5060
5036
  name: "graph_id";
5061
- tableName: "agent_artifact_components";
5037
+ tableName: "sub_agent_artifact_components";
5062
5038
  dataType: "string";
5063
5039
  columnType: "SQLiteText";
5064
5040
  data: string;
@@ -5077,7 +5053,7 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
5077
5053
  }>;
5078
5054
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
5079
5055
  name: "project_id";
5080
- tableName: "agent_artifact_components";
5056
+ tableName: "sub_agent_artifact_components";
5081
5057
  dataType: "string";
5082
5058
  columnType: "SQLiteText";
5083
5059
  data: string;
@@ -5096,7 +5072,7 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
5096
5072
  }>;
5097
5073
  tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
5098
5074
  name: "tenant_id";
5099
- tableName: "agent_artifact_components";
5075
+ tableName: "sub_agent_artifact_components";
5100
5076
  dataType: "string";
5101
5077
  columnType: "SQLiteText";
5102
5078
  data: string;
@@ -5115,7 +5091,7 @@ declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"selec
5115
5091
  }>;
5116
5092
  id: drizzle_orm_sqlite_core.SQLiteColumn<{
5117
5093
  name: "id";
5118
- tableName: "agent_artifact_components";
5094
+ tableName: "sub_agent_artifact_components";
5119
5095
  dataType: "string";
5120
5096
  columnType: "SQLiteText";
5121
5097
  data: string;
@@ -5139,7 +5115,7 @@ declare const AgentArtifactComponentInsertSchema: z.ZodObject<{
5139
5115
  projectId: z.ZodString;
5140
5116
  tenantId: z.ZodString;
5141
5117
  id: z.ZodString;
5142
- agentId: z.ZodString;
5118
+ subAgentId: z.ZodString;
5143
5119
  artifactComponentId: z.ZodString;
5144
5120
  }, {
5145
5121
  out: {};
@@ -5151,7 +5127,7 @@ declare const AgentArtifactComponentUpdateSchema: z.ZodObject<{
5151
5127
  projectId: z.ZodOptional<z.ZodString>;
5152
5128
  tenantId: z.ZodOptional<z.ZodString>;
5153
5129
  id: z.ZodOptional<z.ZodString>;
5154
- agentId: z.ZodOptional<z.ZodString>;
5130
+ subAgentId: z.ZodOptional<z.ZodString>;
5155
5131
  artifactComponentId: z.ZodOptional<z.ZodString>;
5156
5132
  }, {
5157
5133
  out: {};
@@ -5160,12 +5136,12 @@ declare const AgentArtifactComponentUpdateSchema: z.ZodObject<{
5160
5136
  declare const AgentArtifactComponentApiSelectSchema: z.ZodObject<{
5161
5137
  id: z.ZodString;
5162
5138
  createdAt: z.ZodString;
5163
- agentId: z.ZodString;
5139
+ subAgentId: z.ZodString;
5164
5140
  artifactComponentId: z.ZodString;
5165
5141
  }, z.core.$strip>;
5166
5142
  declare const AgentArtifactComponentApiInsertSchema: z.ZodObject<{
5167
5143
  graphId: z.ZodString;
5168
- agentId: z.ZodString;
5144
+ subAgentId: z.ZodString;
5169
5145
  artifactComponentId: z.ZodString;
5170
5146
  }, {
5171
5147
  out: {};
@@ -5174,7 +5150,7 @@ declare const AgentArtifactComponentApiInsertSchema: z.ZodObject<{
5174
5150
  declare const AgentArtifactComponentApiUpdateSchema: z.ZodObject<{
5175
5151
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5176
5152
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5177
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5153
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5178
5154
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5179
5155
  }, z.core.$strip>;
5180
5156
  declare const ExternalAgentSelectSchema: z.ZodObject<{
@@ -6576,7 +6552,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
6576
6552
  declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6577
6553
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
6578
6554
  name: "created_at";
6579
- tableName: "agent_tool_relations";
6555
+ tableName: "sub_agent_tool_relations";
6580
6556
  dataType: "string";
6581
6557
  columnType: "SQLiteText";
6582
6558
  data: string;
@@ -6595,7 +6571,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6595
6571
  }>;
6596
6572
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
6597
6573
  name: "updated_at";
6598
- tableName: "agent_tool_relations";
6574
+ tableName: "sub_agent_tool_relations";
6599
6575
  dataType: "string";
6600
6576
  columnType: "SQLiteText";
6601
6577
  data: string;
@@ -6614,7 +6590,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6614
6590
  }>;
6615
6591
  toolId: drizzle_orm_sqlite_core.SQLiteColumn<{
6616
6592
  name: "tool_id";
6617
- tableName: "agent_tool_relations";
6593
+ tableName: "sub_agent_tool_relations";
6618
6594
  dataType: "string";
6619
6595
  columnType: "SQLiteText";
6620
6596
  data: string;
@@ -6633,7 +6609,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6633
6609
  }>;
6634
6610
  selectedTools: drizzle_orm_sqlite_core.SQLiteColumn<{
6635
6611
  name: "selected_tools";
6636
- tableName: "agent_tool_relations";
6612
+ tableName: "sub_agent_tool_relations";
6637
6613
  dataType: "json";
6638
6614
  columnType: "SQLiteBlobJson";
6639
6615
  data: string[] | null;
@@ -6652,7 +6628,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6652
6628
  }>;
6653
6629
  headers: drizzle_orm_sqlite_core.SQLiteColumn<{
6654
6630
  name: "headers";
6655
- tableName: "agent_tool_relations";
6631
+ tableName: "sub_agent_tool_relations";
6656
6632
  dataType: "json";
6657
6633
  columnType: "SQLiteBlobJson";
6658
6634
  data: Record<string, string> | null;
@@ -6669,9 +6645,9 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6669
6645
  }, {}, {
6670
6646
  $type: Record<string, string> | null;
6671
6647
  }>;
6672
- agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
6673
- name: "agent_id";
6674
- tableName: "agent_tool_relations";
6648
+ subAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
6649
+ name: "sub_agent_id";
6650
+ tableName: "sub_agent_tool_relations";
6675
6651
  dataType: "string";
6676
6652
  columnType: "SQLiteText";
6677
6653
  data: string;
@@ -6690,7 +6666,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6690
6666
  }>;
6691
6667
  graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
6692
6668
  name: "graph_id";
6693
- tableName: "agent_tool_relations";
6669
+ tableName: "sub_agent_tool_relations";
6694
6670
  dataType: "string";
6695
6671
  columnType: "SQLiteText";
6696
6672
  data: string;
@@ -6709,7 +6685,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6709
6685
  }>;
6710
6686
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
6711
6687
  name: "project_id";
6712
- tableName: "agent_tool_relations";
6688
+ tableName: "sub_agent_tool_relations";
6713
6689
  dataType: "string";
6714
6690
  columnType: "SQLiteText";
6715
6691
  data: string;
@@ -6728,7 +6704,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6728
6704
  }>;
6729
6705
  tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
6730
6706
  name: "tenant_id";
6731
- tableName: "agent_tool_relations";
6707
+ tableName: "sub_agent_tool_relations";
6732
6708
  dataType: "string";
6733
6709
  columnType: "SQLiteText";
6734
6710
  data: string;
@@ -6747,7 +6723,7 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6747
6723
  }>;
6748
6724
  id: drizzle_orm_sqlite_core.SQLiteColumn<{
6749
6725
  name: "id";
6750
- tableName: "agent_tool_relations";
6726
+ tableName: "sub_agent_tool_relations";
6751
6727
  dataType: "string";
6752
6728
  columnType: "SQLiteText";
6753
6729
  data: string;
@@ -6772,7 +6748,7 @@ declare const AgentToolRelationInsertSchema: z.ZodObject<{
6772
6748
  projectId: z.ZodString;
6773
6749
  tenantId: z.ZodString;
6774
6750
  id: z.ZodString;
6775
- agentId: z.ZodString;
6751
+ subAgentId: z.ZodString;
6776
6752
  toolId: z.ZodString;
6777
6753
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6778
6754
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
@@ -6787,7 +6763,7 @@ declare const AgentToolRelationUpdateSchema: z.ZodObject<{
6787
6763
  projectId: z.ZodOptional<z.ZodString>;
6788
6764
  tenantId: z.ZodOptional<z.ZodString>;
6789
6765
  id: z.ZodOptional<z.ZodString>;
6790
- agentId: z.ZodOptional<z.ZodString>;
6766
+ subAgentId: z.ZodOptional<z.ZodString>;
6791
6767
  toolId: z.ZodOptional<z.ZodString>;
6792
6768
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
6793
6769
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
@@ -6802,7 +6778,7 @@ declare const AgentToolRelationApiSelectSchema: z.ZodObject<{
6802
6778
  headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6803
6779
  toolId: z.ZodString;
6804
6780
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
6805
- agentId: z.ZodString;
6781
+ subAgentId: z.ZodString;
6806
6782
  }, z.core.$strip>;
6807
6783
  declare const AgentToolRelationApiInsertSchema: z.ZodObject<{
6808
6784
  id: z.ZodString;
@@ -6811,7 +6787,7 @@ declare const AgentToolRelationApiInsertSchema: z.ZodObject<{
6811
6787
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
6812
6788
  toolId: z.ZodString;
6813
6789
  selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6814
- agentId: z.ZodString;
6790
+ subAgentId: z.ZodString;
6815
6791
  }, z.core.$strip>;
6816
6792
  declare const AgentToolRelationApiUpdateSchema: z.ZodObject<{
6817
6793
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6820,7 +6796,7 @@ declare const AgentToolRelationApiUpdateSchema: z.ZodObject<{
6820
6796
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
6821
6797
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6822
6798
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
6823
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6799
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6824
6800
  }, z.core.$strip>;
6825
6801
  declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
6826
6802
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -7660,15 +7636,15 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7660
7636
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7661
7637
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7662
7638
  }, z.core.$strip>;
7663
- declare const FullGraphDefinitionSchema: z.ZodObject<{
7639
+ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7664
7640
  name: z.ZodString;
7665
7641
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7666
7642
  createdAt: z.ZodOptional<z.ZodString>;
7667
7643
  updatedAt: z.ZodOptional<z.ZodString>;
7668
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7644
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7669
7645
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7670
7646
  id: z.ZodString;
7671
- agents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
7647
+ subAgents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7672
7648
  id: z.ZodString;
7673
7649
  name: z.ZodString;
7674
7650
  description: z.ZodString;
@@ -7719,7 +7695,8 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7719
7695
  updatedAt: z.ZodOptional<z.ZodString>;
7720
7696
  baseUrl: z.ZodString;
7721
7697
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7722
- }, z.core.$strip>]>>;
7698
+ type: z.ZodLiteral<"external">;
7699
+ }, z.core.$strip>], "type">>;
7723
7700
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7724
7701
  id: z.ZodString;
7725
7702
  name: z.ZodString;
@@ -7801,106 +7778,6 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7801
7778
  }, z.core.$strip>>;
7802
7779
  graphPrompt: z.ZodOptional<z.ZodString>;
7803
7780
  }, z.core.$strip>;
7804
- declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7805
- name: z.ZodString;
7806
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7807
- createdAt: z.ZodOptional<z.ZodString>;
7808
- updatedAt: z.ZodOptional<z.ZodString>;
7809
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7810
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7811
- id: z.ZodString;
7812
- agents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7813
- id: z.ZodString;
7814
- name: z.ZodString;
7815
- description: z.ZodString;
7816
- prompt: z.ZodString;
7817
- createdAt: z.ZodOptional<z.ZodString>;
7818
- updatedAt: z.ZodOptional<z.ZodString>;
7819
- models: z.ZodOptional<z.ZodObject<{
7820
- base: z.ZodOptional<z.ZodObject<{
7821
- model: z.ZodOptional<z.ZodString>;
7822
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7823
- }, z.core.$strip>>;
7824
- structuredOutput: z.ZodOptional<z.ZodObject<{
7825
- model: z.ZodOptional<z.ZodString>;
7826
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7827
- }, z.core.$strip>>;
7828
- summarizer: z.ZodOptional<z.ZodObject<{
7829
- model: z.ZodOptional<z.ZodString>;
7830
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7831
- }, z.core.$strip>>;
7832
- }, z.core.$strip>>;
7833
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
7834
- stepCountIs?: number | undefined;
7835
- }, {
7836
- stepCountIs?: number | undefined;
7837
- }, z.core.$ZodTypeInternals<{
7838
- stepCountIs?: number | undefined;
7839
- }, {
7840
- stepCountIs?: number | undefined;
7841
- }>>>>;
7842
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7843
- type: z.ZodLiteral<"internal">;
7844
- canUse: z.ZodArray<z.ZodObject<{
7845
- agentToolRelationId: z.ZodOptional<z.ZodString>;
7846
- toolId: z.ZodString;
7847
- toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7848
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7849
- }, z.core.$strip>>;
7850
- dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
7851
- artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
7852
- canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7853
- canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7854
- }, z.core.$strip>, z.ZodObject<{
7855
- id: z.ZodString;
7856
- name: z.ZodString;
7857
- description: z.ZodString;
7858
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7859
- createdAt: z.ZodOptional<z.ZodString>;
7860
- updatedAt: z.ZodOptional<z.ZodString>;
7861
- baseUrl: z.ZodString;
7862
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7863
- type: z.ZodLiteral<"external">;
7864
- }, z.core.$strip>], "type">>;
7865
- contextConfig: z.ZodOptional<z.ZodObject<{
7866
- id: z.ZodOptional<z.ZodString>;
7867
- headersSchema: z.ZodOptional<z.ZodUnknown>;
7868
- contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7869
- }, z.core.$strip>>;
7870
- statusUpdates: z.ZodOptional<z.ZodObject<{
7871
- enabled: z.ZodOptional<z.ZodBoolean>;
7872
- numEvents: z.ZodOptional<z.ZodNumber>;
7873
- timeInSeconds: z.ZodOptional<z.ZodNumber>;
7874
- prompt: z.ZodOptional<z.ZodString>;
7875
- statusComponents: z.ZodOptional<z.ZodArray<z.ZodObject<{
7876
- type: z.ZodString;
7877
- description: z.ZodOptional<z.ZodString>;
7878
- detailsSchema: z.ZodOptional<z.ZodObject<{
7879
- type: z.ZodLiteral<"object">;
7880
- properties: z.ZodRecord<z.ZodString, z.ZodAny>;
7881
- required: z.ZodOptional<z.ZodArray<z.ZodString>>;
7882
- }, z.core.$strip>>;
7883
- }, z.core.$strip>>>;
7884
- }, z.core.$strip>>;
7885
- models: z.ZodOptional<z.ZodObject<{
7886
- base: z.ZodOptional<z.ZodObject<{
7887
- model: z.ZodOptional<z.ZodString>;
7888
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7889
- }, z.core.$strip>>;
7890
- structuredOutput: z.ZodOptional<z.ZodObject<{
7891
- model: z.ZodOptional<z.ZodString>;
7892
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7893
- }, z.core.$strip>>;
7894
- summarizer: z.ZodOptional<z.ZodObject<{
7895
- model: z.ZodOptional<z.ZodString>;
7896
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7897
- }, z.core.$strip>>;
7898
- }, z.core.$strip>>;
7899
- stopWhen: z.ZodOptional<z.ZodObject<{
7900
- transferCountIs: z.ZodOptional<z.ZodNumber>;
7901
- }, z.core.$strip>>;
7902
- graphPrompt: z.ZodOptional<z.ZodString>;
7903
- }, z.core.$strip>;
7904
7781
  declare const PaginationSchema: z.ZodObject<{
7905
7782
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
7906
7783
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -8436,10 +8313,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8436
8313
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8437
8314
  createdAt: z.ZodOptional<z.ZodString>;
8438
8315
  updatedAt: z.ZodOptional<z.ZodString>;
8439
- defaultAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8316
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8440
8317
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8441
8318
  id: z.ZodString;
8442
- agents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
8319
+ subAgents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
8443
8320
  id: z.ZodString;
8444
8321
  name: z.ZodString;
8445
8322
  description: z.ZodString;
@@ -8492,6 +8369,48 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8492
8369
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8493
8370
  type: z.ZodLiteral<"external">;
8494
8371
  }, z.core.$strip>], "type">>;
8372
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8373
+ id: z.ZodString;
8374
+ name: z.ZodString;
8375
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8376
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
8377
+ type: z.ZodLiteral<"mcp">;
8378
+ mcp: z.ZodObject<{
8379
+ server: z.ZodObject<{
8380
+ url: z.ZodString;
8381
+ }, z.core.$strip>;
8382
+ transport: z.ZodOptional<z.ZodObject<{
8383
+ type: z.ZodEnum<{
8384
+ readonly streamableHttp: "streamable_http";
8385
+ readonly sse: "sse";
8386
+ }>;
8387
+ requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8388
+ eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8389
+ reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
8390
+ sessionId: z.ZodOptional<z.ZodString>;
8391
+ }, z.core.$strip>>;
8392
+ activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
8393
+ }, z.core.$strip>;
8394
+ }, z.core.$strip>, z.ZodObject<{
8395
+ type: z.ZodLiteral<"function">;
8396
+ }, z.core.$strip>], "type">;
8397
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8398
+ createdAt: z.ZodOptional<z.ZodString>;
8399
+ updatedAt: z.ZodOptional<z.ZodString>;
8400
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8401
+ capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
8402
+ functionId: z.ZodOptional<z.ZodString>;
8403
+ imageUrl: z.ZodOptional<z.ZodString>;
8404
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8405
+ }, z.core.$strip>>>;
8406
+ functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8407
+ id: z.ZodString;
8408
+ createdAt: z.ZodOptional<z.ZodString>;
8409
+ updatedAt: z.ZodOptional<z.ZodString>;
8410
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
8411
+ executeCode: z.ZodString;
8412
+ dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8413
+ }, z.core.$strip>>>;
8495
8414
  contextConfig: z.ZodOptional<z.ZodObject<{
8496
8415
  id: z.ZodOptional<z.ZodString>;
8497
8416
  headersSchema: z.ZodOptional<z.ZodUnknown>;
@@ -8631,10 +8550,19 @@ declare const HeadersScopeSchema: z.ZodObject<{
8631
8550
  declare const TenantParamsSchema: z.ZodObject<{
8632
8551
  tenantId: z.ZodString;
8633
8552
  }, z.core.$strip>;
8553
+ declare const TenantIdParamsSchema: z.ZodObject<{
8554
+ tenantId: z.ZodString;
8555
+ id: z.ZodString;
8556
+ }, z.core.$strip>;
8634
8557
  declare const TenantProjectParamsSchema: z.ZodObject<{
8635
8558
  tenantId: z.ZodString;
8636
8559
  projectId: z.ZodString;
8637
8560
  }, z.core.$strip>;
8561
+ declare const TenantProjectIdParamsSchema: z.ZodObject<{
8562
+ tenantId: z.ZodString;
8563
+ projectId: z.ZodString;
8564
+ id: z.ZodString;
8565
+ }, z.core.$strip>;
8638
8566
  declare const TenantProjectGraphParamsSchema: z.ZodObject<{
8639
8567
  tenantId: z.ZodString;
8640
8568
  projectId: z.ZodString;
@@ -8646,16 +8574,17 @@ declare const TenantProjectGraphIdParamsSchema: z.ZodObject<{
8646
8574
  graphId: z.ZodString;
8647
8575
  id: z.ZodString;
8648
8576
  }, z.core.$strip>;
8649
- declare const TenantProjectIdParamsSchema: z.ZodObject<{
8577
+ declare const TenantProjectGraphSubAgentParamsSchema: z.ZodObject<{
8650
8578
  tenantId: z.ZodString;
8651
8579
  projectId: z.ZodString;
8652
- id: z.ZodString;
8580
+ graphId: z.ZodString;
8581
+ subAgentId: z.ZodString;
8653
8582
  }, z.core.$strip>;
8654
- declare const TenantIdParamsSchema: z.ZodObject<{
8583
+ declare const TenantProjectGraphSubAgentIdParamsSchema: z.ZodObject<{
8655
8584
  tenantId: z.ZodString;
8656
- id: z.ZodString;
8657
- }, z.core.$strip>;
8658
- declare const IdParamsSchema: z.ZodObject<{
8585
+ projectId: z.ZodString;
8586
+ graphId: z.ZodString;
8587
+ subAgentId: z.ZodString;
8659
8588
  id: z.ZodString;
8660
8589
  }, z.core.$strip>;
8661
8590
  declare const PaginationQueryParamsSchema: z.ZodObject<{
@@ -8663,12 +8592,12 @@ declare const PaginationQueryParamsSchema: z.ZodObject<{
8663
8592
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
8664
8593
  }, z.core.$strip>;
8665
8594
 
8666
- type AgentSelect = z$1.infer<typeof AgentSelectSchema>;
8667
- type AgentInsert = z$1.infer<typeof AgentInsertSchema>;
8668
- type AgentUpdate = z$1.infer<typeof AgentUpdateSchema>;
8669
- type AgentApiSelect = z$1.infer<typeof AgentApiSelectSchema>;
8670
- type AgentApiInsert = z$1.infer<typeof AgentApiInsertSchema>;
8671
- type AgentApiUpdate = z$1.infer<typeof AgentApiUpdateSchema>;
8595
+ type SubAgentSelect = z$1.infer<typeof SubAgentSelectSchema>;
8596
+ type SubAgentInsert = z$1.infer<typeof SubAgentInsertSchema>;
8597
+ type SubAgentUpdate = z$1.infer<typeof SubAgentUpdateSchema>;
8598
+ type SubAgentApiSelect = z$1.infer<typeof SubAgentApiSelectSchema>;
8599
+ type SubAgentApiInsert = z$1.infer<typeof SubAgentApiInsertSchema>;
8600
+ type SubAgentApiUpdate = z$1.infer<typeof SubAgentApiUpdateSchema>;
8672
8601
  type AgentRelationSelect = z$1.infer<typeof AgentRelationSelectSchema>;
8673
8602
  type AgentRelationInsert = z$1.infer<typeof AgentRelationInsertSchema>;
8674
8603
  type AgentRelationUpdate = z$1.infer<typeof AgentRelationUpdateSchema>;
@@ -8792,7 +8721,7 @@ type LedgerArtifactUpdate = z$1.infer<typeof LedgerArtifactUpdateSchema>;
8792
8721
  type LedgerArtifactApiSelect = z$1.infer<typeof LedgerArtifactApiSelectSchema>;
8793
8722
  type LedgerArtifactApiInsert = z$1.infer<typeof LedgerArtifactApiInsertSchema>;
8794
8723
  type LedgerArtifactApiUpdate = z$1.infer<typeof LedgerArtifactApiUpdateSchema>;
8795
- type FullGraphDefinition = z$1.infer<typeof FullGraphDefinitionSchema>;
8724
+ type FullGraphDefinition = z$1.infer<typeof GraphWithinContextOfProjectSchema>;
8796
8725
  type FullGraphAgentInsert = z$1.infer<typeof FullGraphAgentInsertSchema>;
8797
8726
  type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
8798
8727
  type CanUseItem = {
@@ -8801,7 +8730,7 @@ type CanUseItem = {
8801
8730
  headers?: Record<string, string> | null;
8802
8731
  agentToolRelationId?: string;
8803
8732
  };
8804
- type InternalAgentDefinition = z$1.infer<typeof AgentApiInsertSchema> & {
8733
+ type InternalAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
8805
8734
  canUse: CanUseItem[];
8806
8735
  dataComponents?: string[];
8807
8736
  artifactComponents?: string[];
@@ -8853,11 +8782,11 @@ type GraphScopeConfig = ProjectScopeConfig & {
8853
8782
  graphId: string;
8854
8783
  };
8855
8784
  type AgentScopeConfig = GraphScopeConfig & {
8856
- agentId: string;
8785
+ subAgentId: string;
8857
8786
  };
8858
8787
  interface ConversationScopeOptions {
8859
8788
  taskId?: string;
8860
- agentId?: string;
8789
+ subAgentId?: string;
8861
8790
  }
8862
8791
  type ConversationHistoryConfig = {
8863
8792
  mode?: 'full' | 'scoped' | 'none';
@@ -9037,8 +8966,8 @@ interface ExecutionContext {
9037
8966
  baseUrl: string;
9038
8967
  /** API key ID for tracking */
9039
8968
  apiKeyId: string;
9040
- /** Agent ID extracted from request headers (only for internal A2A calls) */
9041
- agentId?: string;
8969
+ /** Sub Agent ID extracted from request headers (only for internal A2A calls) */
8970
+ subAgentId?: string;
9042
8971
  }
9043
8972
 
9044
- export { type ContextConfigUpdate as $, ApiKeyApiUpdateSchema as A, type AgentScopeConfig as B, type ConversationHistoryConfig as C, type AgentRelationInsert as D, type ExternalAgentRelationInsert as E, FunctionApiInsertSchema as F, GraphStopWhenSchema as G, type AgentRelationUpdate as H, type AgentToolRelationUpdate as I, type AgentInsert as J, type AgentUpdate as K, type AgentSelect as L, ModelSettingsSchema as M, type ApiKeySelect as N, type ApiKeyInsert as O, type Part as P, type ApiKeyUpdate as Q, type CreateApiKeyParams as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ApiKeyCreateResult as U, type ArtifactComponentSelect as V, type ArtifactComponentInsert as W, type ArtifactComponentUpdate as X, type ContextCacheSelect as Y, type ContextCacheInsert as Z, type ContextConfigInsert as _, FullGraphAgentInsertSchema as a, type InvalidParamsError as a$, type ConversationSelect as a0, type ConversationInsert as a1, type ConversationUpdate as a2, type CredentialReferenceSelect as a3, type ToolSelect as a4, type CredentialReferenceInsert as a5, type CredentialReferenceUpdate as a6, type DataComponentSelect as a7, type DataComponentInsert as a8, type DataComponentUpdate as a9, type FileWithUri as aA, type FilePart as aB, type DataPart as aC, TaskState as aD, type AgentCapabilities as aE, type AgentProvider as aF, type AgentSkill as aG, type SecuritySchemeBase as aH, type APIKeySecurityScheme as aI, type HTTPAuthSecurityScheme as aJ, type OAuthFlows as aK, type AuthorizationCodeOAuthFlow as aL, type ClientCredentialsOAuthFlow as aM, type ImplicitOAuthFlow as aN, type PasswordOAuthFlow as aO, type OAuth2SecurityScheme as aP, type OpenIdConnectSecurityScheme as aQ, type SecurityScheme as aR, type AgentCard as aS, type Message as aT, type TaskStatus as aU, type Task as aV, type TaskStatusUpdateEvent as aW, type TaskArtifactUpdateEvent as aX, type JSONParseError as aY, type InvalidRequestError as aZ, type MethodNotFoundError as a_, type ExternalAgentInsert as aa, type ExternalAgentSelect as ab, type ExternalAgentUpdate as ac, type FunctionApiInsert as ad, type Artifact as ae, type LedgerArtifactSelect as af, type MessageVisibility as ag, type MessageInsert as ah, type MessageUpdate as ai, type FullProjectDefinition as aj, type ProjectInfo as ak, type ProjectSelect as al, type PaginationResult as am, type ProjectResourceCounts as an, type ProjectInsert as ao, type ProjectUpdate as ap, type TaskInsert as aq, type TaskSelect as ar, type McpTool as as, type ToolInsert as at, type ToolUpdate as au, type ExecutionContext as av, type PartBase as aw, type TextPart as ax, type FileBase as ay, type FileWithBytes as az, AgentStopWhenSchema as b, type TaskRelationApiSelect as b$, type InternalError as b0, type TaskNotFoundError as b1, type TaskNotCancelableError as b2, type PushNotificationNotSupportedError as b3, type UnsupportedOperationError as b4, type ContentTypeNotSupportedError as b5, type InvalidAgentResponseError as b6, type A2AError as b7, type PushNotificationAuthenticationInfo as b8, type PushNotificationConfig as b9, type SetTaskPushNotificationConfigResponse as bA, type GetTaskPushNotificationConfigSuccessResponse as bB, type GetTaskPushNotificationConfigResponse as bC, type A2ARequest as bD, type A2AResponse as bE, type MessagePart as bF, type TaskArtifact as bG, type AgentApiSelect as bH, type AgentApiInsert as bI, type AgentApiUpdate as bJ, type AgentRelationSelect as bK, type AgentRelationApiSelect as bL, type AgentRelationApiInsert as bM, type AgentRelationApiUpdate as bN, type AgentRelationQuery as bO, type ExternalAgentRelationApiInsert as bP, type AgentGraphSelect as bQ, type AgentGraphApiSelect as bR, type AgentGraphApiInsert as bS, type AgentGraphApiUpdate as bT, type TaskUpdate as bU, type TaskApiSelect as bV, type TaskApiInsert as bW, type TaskApiUpdate as bX, type TaskRelationSelect as bY, type TaskRelationInsert as bZ, type TaskRelationUpdate as b_, type TaskPushNotificationConfig as ba, type TaskIdParams as bb, type TaskQueryParams as bc, type MessageSendConfiguration as bd, type MessageSendParams as be, type JSONRPCMessage as bf, type JSONRPCRequest as bg, type JSONRPCError as bh, type JSONRPCResult as bi, type JSONRPCErrorResponse as bj, type SendMessageRequest as bk, type SendStreamingMessageRequest as bl, type GetTaskRequest as bm, type CancelTaskRequest as bn, type SetTaskPushNotificationConfigRequest as bo, type GetTaskPushNotificationConfigRequest as bp, type TaskResubscriptionRequest as bq, type SendMessageSuccessResponse as br, type SendMessageResponse as bs, type SendStreamingMessageSuccessResponse as bt, type SendStreamingMessageResponse as bu, type GetTaskSuccessResponse as bv, type GetTaskResponse as bw, type CancelTaskSuccessResponse as bx, type CancelTaskResponse as by, type SetTaskPushNotificationConfigSuccessResponse as bz, type StopWhen as c, type LedgerArtifactApiUpdate as c$, type TaskRelationApiInsert as c0, type TaskRelationApiUpdate as c1, type ToolApiSelect as c2, type ToolApiInsert as c3, type ToolApiUpdate as c4, type FunctionSelect as c5, type FunctionInsert as c6, type FunctionUpdate as c7, type FunctionApiSelect as c8, type FunctionApiUpdate as c9, type ArtifactComponentApiInsert as cA, type ArtifactComponentApiUpdate as cB, type AgentArtifactComponentSelect as cC, type AgentArtifactComponentInsert as cD, type AgentArtifactComponentUpdate as cE, type AgentArtifactComponentApiSelect as cF, type AgentArtifactComponentApiInsert as cG, type AgentArtifactComponentApiUpdate as cH, type ExternalAgentApiSelect as cI, type ExternalAgentApiInsert as cJ, type ExternalAgentApiUpdate as cK, type AllAgentSelect as cL, type ApiKeyApiSelect as cM, type ApiKeyApiInsert as cN, type ApiKeyApiUpdate as cO, type ApiKeyApiCreationResponse as cP, type CredentialReferenceApiSelect as cQ, type CredentialReferenceApiUpdate as cR, type AgentToolRelationSelect as cS, type AgentToolRelationInsert as cT, type AgentToolRelationApiSelect as cU, type AgentToolRelationApiInsert as cV, type AgentToolRelationApiUpdate as cW, type LedgerArtifactInsert as cX, type LedgerArtifactUpdate as cY, type LedgerArtifactApiSelect as cZ, type LedgerArtifactApiInsert as c_, type ConversationApiSelect as ca, type ConversationApiInsert as cb, type ConversationApiUpdate as cc, type MessageSelect as cd, type MessageApiSelect as ce, type MessageApiInsert as cf, type MessageApiUpdate as cg, type ContextConfigApiSelect as ch, type ContextConfigApiInsert as ci, type ContextConfigApiUpdate as cj, type FetchDefinition as ck, type FetchConfig as cl, type ContextCacheUpdate as cm, type ContextCacheApiSelect as cn, type ContextCacheApiInsert as co, type ContextCacheApiUpdate as cp, type DataComponentApiSelect as cq, type DataComponentApiInsert as cr, type DataComponentApiUpdate as cs, type AgentDataComponentSelect as ct, type AgentDataComponentInsert as cu, type AgentDataComponentUpdate as cv, type AgentDataComponentApiSelect as cw, type AgentDataComponentApiInsert as cx, type AgentDataComponentApiUpdate as cy, type ArtifactComponentApiSelect as cz, type GraphStopWhen as d, TaskApiInsertSchema as d$, type FullGraphAgentInsert as d0, type CanUseItem as d1, type InternalAgentDefinition as d2, type AgentDefinition as d3, type ToolDefinition as d4, type ProjectApiSelect as d5, type ProjectApiInsert as d6, type ProjectApiUpdate as d7, type Pagination as d8, type SummaryEvent as d9, FunctionToolConfigSchema as dA, type FunctionToolConfig as dB, AgentSelectSchema as dC, AgentInsertSchema as dD, AgentUpdateSchema as dE, AgentApiSelectSchema as dF, AgentApiInsertSchema as dG, AgentApiUpdateSchema as dH, AgentRelationSelectSchema as dI, AgentRelationInsertSchema as dJ, AgentRelationUpdateSchema as dK, AgentRelationApiSelectSchema as dL, AgentRelationApiInsertSchema as dM, AgentRelationApiUpdateSchema as dN, AgentRelationQuerySchema as dO, ExternalAgentRelationInsertSchema as dP, ExternalAgentRelationApiInsertSchema as dQ, AgentGraphSelectSchema as dR, AgentGraphInsertSchema as dS, AgentGraphUpdateSchema as dT, AgentGraphApiSelectSchema as dU, AgentGraphApiInsertSchema as dV, AgentGraphApiUpdateSchema as dW, TaskSelectSchema as dX, TaskInsertSchema as dY, TaskUpdateSchema as dZ, TaskApiSelectSchema as d_, type MessageType as da, type MessageRole as db, type MessageMode as dc, type Models as dd, type ProjectModels as de, type StatusUpdateSettings as df, type StatusComponent as dg, type ConversationScopeOptions as dh, type AgentConversationHistoryConfig as di, type ContextCacheEntry as dj, type McpAuthType as dk, type McpServerAuth as dl, type McpTransportConfig as dm, type McpServerCapabilities as dn, type McpToolDefinition as dp, TOOL_STATUS_VALUES as dq, VALID_RELATION_TYPES as dr, MCPServerType as ds, MIN_ID_LENGTH as dt, MAX_ID_LENGTH as du, URL_SAFE_ID_PATTERN as dv, resourceIdSchema as dw, ModelSchema as dx, ProjectModelSchema as dy, type SandboxConfig as dz, type AgentStopWhen as e, ApiKeyInsertSchema as e$, TaskApiUpdateSchema as e0, TaskRelationSelectSchema as e1, TaskRelationInsertSchema as e2, TaskRelationUpdateSchema as e3, TaskRelationApiSelectSchema as e4, TaskRelationApiInsertSchema as e5, TaskRelationApiUpdateSchema as e6, McpTransportConfigSchema as e7, ToolStatusSchema as e8, McpToolDefinitionSchema as e9, DataComponentApiUpdateSchema as eA, AgentDataComponentSelectSchema as eB, AgentDataComponentInsertSchema as eC, AgentDataComponentUpdateSchema as eD, AgentDataComponentApiSelectSchema as eE, AgentDataComponentApiInsertSchema as eF, AgentDataComponentApiUpdateSchema as eG, ArtifactComponentSelectSchema as eH, ArtifactComponentInsertSchema as eI, ArtifactComponentUpdateSchema as eJ, ArtifactComponentApiSelectSchema as eK, ArtifactComponentApiInsertSchema as eL, ArtifactComponentApiUpdateSchema as eM, AgentArtifactComponentSelectSchema as eN, AgentArtifactComponentInsertSchema as eO, AgentArtifactComponentUpdateSchema as eP, AgentArtifactComponentApiSelectSchema as eQ, AgentArtifactComponentApiInsertSchema as eR, AgentArtifactComponentApiUpdateSchema as eS, ExternalAgentSelectSchema as eT, ExternalAgentInsertSchema as eU, ExternalAgentUpdateSchema as eV, ExternalAgentApiSelectSchema as eW, ExternalAgentApiInsertSchema as eX, ExternalAgentApiUpdateSchema as eY, AllAgentSchema as eZ, ApiKeySelectSchema as e_, ToolSelectSchema as ea, ToolInsertSchema as eb, ConversationSelectSchema as ec, ConversationInsertSchema as ed, ConversationUpdateSchema as ee, ConversationApiSelectSchema as ef, ConversationApiInsertSchema as eg, ConversationApiUpdateSchema as eh, MessageSelectSchema as ei, MessageInsertSchema as ej, MessageUpdateSchema as ek, MessageApiSelectSchema as el, MessageApiInsertSchema as em, MessageApiUpdateSchema as en, ContextCacheSelectSchema as eo, ContextCacheInsertSchema as ep, ContextCacheUpdateSchema as eq, ContextCacheApiSelectSchema as er, ContextCacheApiInsertSchema as es, ContextCacheApiUpdateSchema as et, DataComponentSelectSchema as eu, DataComponentInsertSchema as ev, DataComponentBaseSchema as ew, DataComponentUpdateSchema as ex, DataComponentApiSelectSchema as ey, DataComponentApiInsertSchema as ez, type ModelSettings as f, TenantIdParamsSchema as f$, ApiKeyUpdateSchema as f0, ApiKeyApiSelectSchema as f1, ApiKeyApiCreationResponseSchema as f2, ApiKeyApiInsertSchema as f3, CredentialReferenceSelectSchema as f4, CredentialReferenceInsertSchema as f5, CredentialReferenceUpdateSchema as f6, CredentialReferenceApiSelectSchema as f7, CredentialReferenceApiInsertSchema as f8, CredentialReferenceApiUpdateSchema as f9, LedgerArtifactApiSelectSchema as fA, LedgerArtifactApiInsertSchema as fB, LedgerArtifactApiUpdateSchema as fC, StatusComponentSchema as fD, StatusUpdateSchema as fE, CanUseItemSchema as fF, FullGraphDefinitionSchema as fG, GraphWithinContextOfProjectSchema as fH, PaginationSchema as fI, ListResponseSchema as fJ, SingleResponseSchema as fK, ErrorResponseSchema as fL, ExistsResponseSchema as fM, RemovedResponseSchema as fN, ProjectSelectSchema as fO, ProjectInsertSchema as fP, ProjectUpdateSchema as fQ, ProjectApiSelectSchema as fR, ProjectApiInsertSchema as fS, ProjectApiUpdateSchema as fT, FullProjectDefinitionSchema as fU, HeadersScopeSchema as fV, TenantParamsSchema as fW, TenantProjectParamsSchema as fX, TenantProjectGraphParamsSchema as fY, TenantProjectGraphIdParamsSchema as fZ, TenantProjectIdParamsSchema as f_, McpToolSchema as fa, MCPToolConfigSchema as fb, ToolUpdateSchema as fc, ToolApiSelectSchema as fd, ToolApiInsertSchema as fe, ToolApiUpdateSchema as ff, FunctionSelectSchema as fg, FunctionInsertSchema as fh, FunctionUpdateSchema as fi, FetchConfigSchema as fj, FetchDefinitionSchema as fk, ContextConfigSelectSchema as fl, ContextConfigInsertSchema as fm, ContextConfigUpdateSchema as fn, ContextConfigApiSelectSchema as fo, ContextConfigApiInsertSchema as fp, ContextConfigApiUpdateSchema as fq, AgentToolRelationSelectSchema as fr, AgentToolRelationInsertSchema as fs, AgentToolRelationUpdateSchema as ft, AgentToolRelationApiSelectSchema as fu, AgentToolRelationApiInsertSchema as fv, AgentToolRelationApiUpdateSchema as fw, LedgerArtifactSelectSchema as fx, LedgerArtifactInsertSchema as fy, LedgerArtifactUpdateSchema as fz, CredentialStoreType as g, IdParamsSchema as g0, PaginationQueryParamsSchema as g1, MCPTransportType as h, FunctionApiSelectSchema as i, FunctionApiUpdateSchema as j, SandboxConfigSchema as k, type ContextFetchDefinition as l, type ToolMcpConfig as m, type ToolServerCapabilities as n, type ConversationMetadata as o, type MessageContent as p, type MessageMetadata as q, type CredentialReferenceApiInsert as r, type ContextConfigSelect as s, type MCPToolConfig as t, type GraphScopeConfig as u, type ProjectScopeConfig as v, type PaginationConfig as w, type AgentGraphInsert as x, type AgentGraphUpdate as y, type FullGraphDefinition as z };
8973
+ export { type CredentialReferenceUpdate as $, ApiKeyApiUpdateSchema as A, type ApiKeySelect as B, type ConversationHistoryConfig as C, type ApiKeyInsert as D, type ApiKeyUpdate as E, FunctionApiInsertSchema as F, GraphStopWhenSchema as G, type CreateApiKeyParams as H, type ApiKeyCreateResult as I, type ArtifactComponentSelect as J, type ArtifactComponentInsert as K, type ArtifactComponentUpdate as L, ModelSettingsSchema as M, type AgentScopeConfig as N, type ContextCacheSelect as O, type Part as P, type ContextCacheInsert as Q, type ContextConfigInsert as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ContextConfigUpdate as U, type ConversationSelect as V, type ConversationInsert as W, type ConversationUpdate as X, type CredentialReferenceSelect as Y, type ToolSelect as Z, type CredentialReferenceInsert as _, FullGraphAgentInsertSchema as a, type InvalidParamsError as a$, type DataComponentSelect as a0, type DataComponentInsert as a1, type DataComponentUpdate as a2, type ExternalAgentInsert as a3, type ExternalAgentSelect as a4, type ExternalAgentUpdate as a5, type FunctionApiInsert as a6, type Artifact as a7, type LedgerArtifactSelect as a8, type MessageVisibility as a9, type FileWithUri as aA, type FilePart as aB, type DataPart as aC, TaskState as aD, type AgentCapabilities as aE, type AgentProvider as aF, type AgentSkill as aG, type SecuritySchemeBase as aH, type APIKeySecurityScheme as aI, type HTTPAuthSecurityScheme as aJ, type OAuthFlows as aK, type AuthorizationCodeOAuthFlow as aL, type ClientCredentialsOAuthFlow as aM, type ImplicitOAuthFlow as aN, type PasswordOAuthFlow as aO, type OAuth2SecurityScheme as aP, type OpenIdConnectSecurityScheme as aQ, type SecurityScheme as aR, type AgentCard as aS, type Message as aT, type TaskStatus as aU, type Task as aV, type TaskStatusUpdateEvent as aW, type TaskArtifactUpdateEvent as aX, type JSONParseError as aY, type InvalidRequestError as aZ, type MethodNotFoundError as a_, type MessageInsert as aa, type MessageUpdate as ab, type FullProjectDefinition as ac, type ProjectInfo as ad, type ProjectSelect as ae, type PaginationResult as af, type ProjectResourceCounts as ag, type ProjectInsert as ah, type ProjectUpdate as ai, type AgentRelationInsert as aj, type ExternalAgentRelationInsert as ak, type AgentRelationUpdate as al, type AgentToolRelationUpdate as am, type SubAgentInsert as an, type SubAgentUpdate as ao, type SubAgentSelect as ap, type TaskInsert as aq, type TaskSelect as ar, type McpTool as as, type ToolInsert as at, type ToolUpdate as au, type ExecutionContext as av, type PartBase as aw, type TextPart as ax, type FileBase as ay, type FileWithBytes as az, AgentStopWhenSchema as b, type TaskRelationApiSelect as b$, type InternalError as b0, type TaskNotFoundError as b1, type TaskNotCancelableError as b2, type PushNotificationNotSupportedError as b3, type UnsupportedOperationError as b4, type ContentTypeNotSupportedError as b5, type InvalidAgentResponseError as b6, type A2AError as b7, type PushNotificationAuthenticationInfo as b8, type PushNotificationConfig as b9, type SetTaskPushNotificationConfigResponse as bA, type GetTaskPushNotificationConfigSuccessResponse as bB, type GetTaskPushNotificationConfigResponse as bC, type A2ARequest as bD, type A2AResponse as bE, type MessagePart as bF, type TaskArtifact as bG, type SubAgentApiSelect as bH, type SubAgentApiInsert as bI, type SubAgentApiUpdate as bJ, type AgentRelationSelect as bK, type AgentRelationApiSelect as bL, type AgentRelationApiInsert as bM, type AgentRelationApiUpdate as bN, type AgentRelationQuery as bO, type ExternalAgentRelationApiInsert as bP, type AgentGraphSelect as bQ, type AgentGraphApiSelect as bR, type AgentGraphApiInsert as bS, type AgentGraphApiUpdate as bT, type TaskUpdate as bU, type TaskApiSelect as bV, type TaskApiInsert as bW, type TaskApiUpdate as bX, type TaskRelationSelect as bY, type TaskRelationInsert as bZ, type TaskRelationUpdate as b_, type TaskPushNotificationConfig as ba, type TaskIdParams as bb, type TaskQueryParams as bc, type MessageSendConfiguration as bd, type MessageSendParams as be, type JSONRPCMessage as bf, type JSONRPCRequest as bg, type JSONRPCError as bh, type JSONRPCResult as bi, type JSONRPCErrorResponse as bj, type SendMessageRequest as bk, type SendStreamingMessageRequest as bl, type GetTaskRequest as bm, type CancelTaskRequest as bn, type SetTaskPushNotificationConfigRequest as bo, type GetTaskPushNotificationConfigRequest as bp, type TaskResubscriptionRequest as bq, type SendMessageSuccessResponse as br, type SendMessageResponse as bs, type SendStreamingMessageSuccessResponse as bt, type SendStreamingMessageResponse as bu, type GetTaskSuccessResponse as bv, type GetTaskResponse as bw, type CancelTaskSuccessResponse as bx, type CancelTaskResponse as by, type SetTaskPushNotificationConfigSuccessResponse as bz, type StopWhen as c, type LedgerArtifactApiUpdate as c$, type TaskRelationApiInsert as c0, type TaskRelationApiUpdate as c1, type ToolApiSelect as c2, type ToolApiInsert as c3, type ToolApiUpdate as c4, type FunctionSelect as c5, type FunctionInsert as c6, type FunctionUpdate as c7, type FunctionApiSelect as c8, type FunctionApiUpdate as c9, type ArtifactComponentApiInsert as cA, type ArtifactComponentApiUpdate as cB, type AgentArtifactComponentSelect as cC, type AgentArtifactComponentInsert as cD, type AgentArtifactComponentUpdate as cE, type AgentArtifactComponentApiSelect as cF, type AgentArtifactComponentApiInsert as cG, type AgentArtifactComponentApiUpdate as cH, type ExternalAgentApiSelect as cI, type ExternalAgentApiInsert as cJ, type ExternalAgentApiUpdate as cK, type AllAgentSelect as cL, type ApiKeyApiSelect as cM, type ApiKeyApiInsert as cN, type ApiKeyApiUpdate as cO, type ApiKeyApiCreationResponse as cP, type CredentialReferenceApiSelect as cQ, type CredentialReferenceApiUpdate as cR, type AgentToolRelationSelect as cS, type AgentToolRelationInsert as cT, type AgentToolRelationApiSelect as cU, type AgentToolRelationApiInsert as cV, type AgentToolRelationApiUpdate as cW, type LedgerArtifactInsert as cX, type LedgerArtifactUpdate as cY, type LedgerArtifactApiSelect as cZ, type LedgerArtifactApiInsert as c_, type ConversationApiSelect as ca, type ConversationApiInsert as cb, type ConversationApiUpdate as cc, type MessageSelect as cd, type MessageApiSelect as ce, type MessageApiInsert as cf, type MessageApiUpdate as cg, type ContextConfigApiSelect as ch, type ContextConfigApiInsert as ci, type ContextConfigApiUpdate as cj, type FetchDefinition as ck, type FetchConfig as cl, type ContextCacheUpdate as cm, type ContextCacheApiSelect as cn, type ContextCacheApiInsert as co, type ContextCacheApiUpdate as cp, type DataComponentApiSelect as cq, type DataComponentApiInsert as cr, type DataComponentApiUpdate as cs, type AgentDataComponentSelect as ct, type AgentDataComponentInsert as cu, type AgentDataComponentUpdate as cv, type AgentDataComponentApiSelect as cw, type AgentDataComponentApiInsert as cx, type AgentDataComponentApiUpdate as cy, type ArtifactComponentApiSelect as cz, type GraphStopWhen as d, TaskApiInsertSchema as d$, type FullGraphAgentInsert as d0, type CanUseItem as d1, type InternalAgentDefinition as d2, type AgentDefinition as d3, type ToolDefinition as d4, type ProjectApiSelect as d5, type ProjectApiInsert as d6, type ProjectApiUpdate as d7, type Pagination as d8, type SummaryEvent as d9, FunctionToolConfigSchema as dA, type FunctionToolConfig as dB, SubAgentSelectSchema as dC, SubAgentInsertSchema as dD, SubAgentUpdateSchema as dE, SubAgentApiSelectSchema as dF, SubAgentApiInsertSchema as dG, SubAgentApiUpdateSchema as dH, AgentRelationSelectSchema as dI, AgentRelationInsertSchema as dJ, AgentRelationUpdateSchema as dK, AgentRelationApiSelectSchema as dL, AgentRelationApiInsertSchema as dM, AgentRelationApiUpdateSchema as dN, AgentRelationQuerySchema as dO, ExternalAgentRelationInsertSchema as dP, ExternalAgentRelationApiInsertSchema as dQ, AgentGraphSelectSchema as dR, AgentGraphInsertSchema as dS, AgentGraphUpdateSchema as dT, AgentGraphApiSelectSchema as dU, AgentGraphApiInsertSchema as dV, AgentGraphApiUpdateSchema as dW, TaskSelectSchema as dX, TaskInsertSchema as dY, TaskUpdateSchema as dZ, TaskApiSelectSchema as d_, type MessageType as da, type MessageRole as db, type MessageMode as dc, type Models as dd, type ProjectModels as de, type StatusUpdateSettings as df, type StatusComponent as dg, type ConversationScopeOptions as dh, type AgentConversationHistoryConfig as di, type ContextCacheEntry as dj, type McpAuthType as dk, type McpServerAuth as dl, type McpTransportConfig as dm, type McpServerCapabilities as dn, type McpToolDefinition as dp, TOOL_STATUS_VALUES as dq, VALID_RELATION_TYPES as dr, MCPServerType as ds, MIN_ID_LENGTH as dt, MAX_ID_LENGTH as du, URL_SAFE_ID_PATTERN as dv, resourceIdSchema as dw, ModelSchema as dx, ProjectModelSchema as dy, type SandboxConfig as dz, type AgentStopWhen as e, ApiKeyInsertSchema as e$, TaskApiUpdateSchema as e0, TaskRelationSelectSchema as e1, TaskRelationInsertSchema as e2, TaskRelationUpdateSchema as e3, TaskRelationApiSelectSchema as e4, TaskRelationApiInsertSchema as e5, TaskRelationApiUpdateSchema as e6, McpTransportConfigSchema as e7, ToolStatusSchema as e8, McpToolDefinitionSchema as e9, DataComponentApiUpdateSchema as eA, AgentDataComponentSelectSchema as eB, AgentDataComponentInsertSchema as eC, AgentDataComponentUpdateSchema as eD, AgentDataComponentApiSelectSchema as eE, AgentDataComponentApiInsertSchema as eF, AgentDataComponentApiUpdateSchema as eG, ArtifactComponentSelectSchema as eH, ArtifactComponentInsertSchema as eI, ArtifactComponentUpdateSchema as eJ, ArtifactComponentApiSelectSchema as eK, ArtifactComponentApiInsertSchema as eL, ArtifactComponentApiUpdateSchema as eM, AgentArtifactComponentSelectSchema as eN, AgentArtifactComponentInsertSchema as eO, AgentArtifactComponentUpdateSchema as eP, AgentArtifactComponentApiSelectSchema as eQ, AgentArtifactComponentApiInsertSchema as eR, AgentArtifactComponentApiUpdateSchema as eS, ExternalAgentSelectSchema as eT, ExternalAgentInsertSchema as eU, ExternalAgentUpdateSchema as eV, ExternalAgentApiSelectSchema as eW, ExternalAgentApiInsertSchema as eX, ExternalAgentApiUpdateSchema as eY, AllAgentSchema as eZ, ApiKeySelectSchema as e_, ToolSelectSchema as ea, ToolInsertSchema as eb, ConversationSelectSchema as ec, ConversationInsertSchema as ed, ConversationUpdateSchema as ee, ConversationApiSelectSchema as ef, ConversationApiInsertSchema as eg, ConversationApiUpdateSchema as eh, MessageSelectSchema as ei, MessageInsertSchema as ej, MessageUpdateSchema as ek, MessageApiSelectSchema as el, MessageApiInsertSchema as em, MessageApiUpdateSchema as en, ContextCacheSelectSchema as eo, ContextCacheInsertSchema as ep, ContextCacheUpdateSchema as eq, ContextCacheApiSelectSchema as er, ContextCacheApiInsertSchema as es, ContextCacheApiUpdateSchema as et, DataComponentSelectSchema as eu, DataComponentInsertSchema as ev, DataComponentBaseSchema as ew, DataComponentUpdateSchema as ex, DataComponentApiSelectSchema as ey, DataComponentApiInsertSchema as ez, type ModelSettings as f, TenantProjectGraphSubAgentParamsSchema as f$, ApiKeyUpdateSchema as f0, ApiKeyApiSelectSchema as f1, ApiKeyApiCreationResponseSchema as f2, ApiKeyApiInsertSchema as f3, CredentialReferenceSelectSchema as f4, CredentialReferenceInsertSchema as f5, CredentialReferenceUpdateSchema as f6, CredentialReferenceApiSelectSchema as f7, CredentialReferenceApiInsertSchema as f8, CredentialReferenceApiUpdateSchema as f9, LedgerArtifactApiSelectSchema as fA, LedgerArtifactApiInsertSchema as fB, LedgerArtifactApiUpdateSchema as fC, StatusComponentSchema as fD, StatusUpdateSchema as fE, CanUseItemSchema as fF, GraphWithinContextOfProjectSchema as fG, PaginationSchema as fH, ListResponseSchema as fI, SingleResponseSchema as fJ, ErrorResponseSchema as fK, ExistsResponseSchema as fL, RemovedResponseSchema as fM, ProjectSelectSchema as fN, ProjectInsertSchema as fO, ProjectUpdateSchema as fP, ProjectApiSelectSchema as fQ, ProjectApiInsertSchema as fR, ProjectApiUpdateSchema as fS, FullProjectDefinitionSchema as fT, HeadersScopeSchema as fU, TenantParamsSchema as fV, TenantIdParamsSchema as fW, TenantProjectParamsSchema as fX, TenantProjectIdParamsSchema as fY, TenantProjectGraphParamsSchema as fZ, TenantProjectGraphIdParamsSchema as f_, McpToolSchema as fa, MCPToolConfigSchema as fb, ToolUpdateSchema as fc, ToolApiSelectSchema as fd, ToolApiInsertSchema as fe, ToolApiUpdateSchema as ff, FunctionSelectSchema as fg, FunctionInsertSchema as fh, FunctionUpdateSchema as fi, FetchConfigSchema as fj, FetchDefinitionSchema as fk, ContextConfigSelectSchema as fl, ContextConfigInsertSchema as fm, ContextConfigUpdateSchema as fn, ContextConfigApiSelectSchema as fo, ContextConfigApiInsertSchema as fp, ContextConfigApiUpdateSchema as fq, AgentToolRelationSelectSchema as fr, AgentToolRelationInsertSchema as fs, AgentToolRelationUpdateSchema as ft, AgentToolRelationApiSelectSchema as fu, AgentToolRelationApiInsertSchema as fv, AgentToolRelationApiUpdateSchema as fw, LedgerArtifactSelectSchema as fx, LedgerArtifactInsertSchema as fy, LedgerArtifactUpdateSchema as fz, CredentialStoreType as g, TenantProjectGraphSubAgentIdParamsSchema as g0, PaginationQueryParamsSchema as g1, MCPTransportType as h, FunctionApiSelectSchema as i, FunctionApiUpdateSchema as j, SandboxConfigSchema as k, type ContextFetchDefinition as l, type ToolMcpConfig as m, type ToolServerCapabilities as n, type ConversationMetadata as o, type MessageContent as p, type MessageMetadata as q, type CredentialReferenceApiInsert as r, type ContextConfigSelect as s, type MCPToolConfig as t, type GraphScopeConfig as u, type ProjectScopeConfig as v, type PaginationConfig as w, type AgentGraphInsert as x, type AgentGraphUpdate as y, type FullGraphDefinition as z };