@inkeep/agents-core 0.18.1 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +4 -4
  2. package/dist/{chunk-JTHQYGCX.js → chunk-4FMDWUE4.js} +34 -34
  3. package/dist/{chunk-ID4CFGVF.js → chunk-B6F3RF4T.js} +87 -120
  4. package/dist/chunk-E6R6PML7.js +19 -0
  5. package/dist/chunk-HYS7HUYJ.js +27 -0
  6. package/dist/{chunk-H6PMWHNV.js → chunk-SLL6V3AE.js} +12 -12
  7. package/dist/{chunk-E4SFK6AI.js → chunk-VICWT3WO.js} +281 -142
  8. package/dist/{chunk-R2EERZSW.js → chunk-YECQCT5N.js} +1 -1
  9. package/dist/client-exports.cjs +390 -283
  10. package/dist/client-exports.d.cts +13 -14
  11. package/dist/client-exports.d.ts +13 -14
  12. package/dist/client-exports.js +10 -10
  13. package/dist/constants/models.cjs +31 -0
  14. package/dist/constants/models.d.cts +33 -0
  15. package/dist/constants/models.d.ts +33 -0
  16. package/dist/constants/models.js +1 -0
  17. package/dist/db/schema.cjs +85 -118
  18. package/dist/db/schema.d.cts +2 -3
  19. package/dist/db/schema.d.ts +2 -3
  20. package/dist/db/schema.js +1 -1
  21. package/dist/index.cjs +214164 -1095
  22. package/dist/index.d.cts +215 -214
  23. package/dist/index.d.ts +215 -214
  24. package/dist/index.js +213657 -767
  25. package/dist/{schema-ULFEZCOL.d.cts → schema-CcSN2XcZ.d.cts} +54 -52
  26. package/dist/{schema-wbZXiVWb.d.ts → schema-D8h85qdU.d.ts} +54 -52
  27. package/dist/{signoz-queries-BuiipZTk.d.cts → signoz-queries-CuWMQh1H.d.cts} +10 -10
  28. package/dist/{signoz-queries-BuiipZTk.d.ts → signoz-queries-CuWMQh1H.d.ts} +10 -10
  29. package/dist/types/index.d.cts +2 -3
  30. package/dist/types/index.d.ts +2 -3
  31. package/dist/{utility-CyPQ1tC_.d.cts → utility-HqRMF7sM.d.cts} +1775 -320
  32. package/dist/{utility-CyPQ1tC_.d.ts → utility-HqRMF7sM.d.ts} +1775 -320
  33. package/dist/utils/schema-conversion.js +1 -1
  34. package/dist/validation/index.cjs +445 -304
  35. package/dist/validation/index.d.cts +12 -13
  36. package/dist/validation/index.d.ts +12 -13
  37. package/dist/validation/index.js +2 -2
  38. package/drizzle/0007_mighty_typhoid_mary.sql +227 -0
  39. package/drizzle/meta/0007_snapshot.json +2766 -0
  40. package/drizzle/meta/_journal.json +7 -0
  41. package/package.json +6 -1
  42. package/dist/chunk-MKBO26DX.js +0 -9
@@ -2,7 +2,6 @@ import { z as z$1 } from 'zod';
2
2
  import * as drizzle_zod from 'drizzle-zod';
3
3
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
4
4
  import { z } from '@hono/zod-openapi';
5
- import { StreamableHTTPReconnectionOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
6
5
 
7
6
  interface PartBase {
8
7
  metadata?: {
@@ -382,14 +381,14 @@ declare const StopWhenSchema: z.ZodObject<{
382
381
  transferCountIs: z.ZodOptional<z.ZodNumber>;
383
382
  stepCountIs: z.ZodOptional<z.ZodNumber>;
384
383
  }, z.core.$strip>;
385
- declare const GraphStopWhenSchema: z.ZodObject<{
384
+ declare const AgentStopWhenSchema: z.ZodObject<{
386
385
  transferCountIs: z.ZodOptional<z.ZodNumber>;
387
386
  }, z.core.$strip>;
388
387
  declare const SubAgentStopWhenSchema: z.ZodObject<{
389
388
  stepCountIs: z.ZodOptional<z.ZodNumber>;
390
389
  }, z.core.$strip>;
391
390
  type StopWhen = z.infer<typeof StopWhenSchema>;
392
- type GraphStopWhen = z.infer<typeof GraphStopWhenSchema>;
391
+ type AgentStopWhen = z.infer<typeof AgentStopWhenSchema>;
393
392
  type SubAgentStopWhen = z.infer<typeof SubAgentStopWhenSchema>;
394
393
  declare const MIN_ID_LENGTH = 1;
395
394
  declare const MAX_ID_LENGTH = 255;
@@ -634,8 +633,8 @@ declare const SubAgentSelectSchema: drizzle_zod.BuildSchema<"select", {
634
633
  }, {}, {
635
634
  length: number | undefined;
636
635
  }>;
637
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
638
- name: "graph_id";
636
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
637
+ name: "agent_id";
639
638
  tableName: "sub_agents";
640
639
  dataType: "string";
641
640
  columnType: "SQLiteText";
@@ -727,7 +726,7 @@ declare const SubAgentInsertSchema: z.ZodObject<{
727
726
  }>>>>;
728
727
  name: z.ZodString;
729
728
  description: z.ZodString;
730
- graphId: z.ZodString;
729
+ agentId: z.ZodString;
731
730
  projectId: z.ZodString;
732
731
  tenantId: z.ZodString;
733
732
  id: z.ZodString;
@@ -765,7 +764,7 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
765
764
  }>>>>>;
766
765
  name: z.ZodOptional<z.ZodString>;
767
766
  description: z.ZodOptional<z.ZodString>;
768
- graphId: z.ZodOptional<z.ZodString>;
767
+ agentId: z.ZodOptional<z.ZodString>;
769
768
  projectId: z.ZodOptional<z.ZodString>;
770
769
  tenantId: z.ZodOptional<z.ZodString>;
771
770
  id: z.ZodOptional<z.ZodString>;
@@ -1037,8 +1036,8 @@ declare const SubAgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
1037
1036
  }, {}, {
1038
1037
  length: number | undefined;
1039
1038
  }>;
1040
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
1041
- name: "graph_id";
1039
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
1040
+ name: "agent_id";
1042
1041
  tableName: "sub_agent_relations";
1043
1042
  dataType: "string";
1044
1043
  columnType: "SQLiteText";
@@ -1121,7 +1120,7 @@ declare const SubAgentRelationInsertSchema: z.ZodObject<{
1121
1120
  projectId: z.ZodString;
1122
1121
  tenantId: z.ZodString;
1123
1122
  id: z.ZodString;
1124
- graphId: z.ZodString;
1123
+ agentId: z.ZodString;
1125
1124
  sourceSubAgentId: z.ZodString;
1126
1125
  targetSubAgentId: z.ZodOptional<z.ZodString>;
1127
1126
  externalSubAgentId: z.ZodOptional<z.ZodString>;
@@ -1136,7 +1135,7 @@ declare const SubAgentRelationUpdateSchema: z.ZodObject<{
1136
1135
  projectId: z.ZodOptional<z.ZodString>;
1137
1136
  tenantId: z.ZodOptional<z.ZodString>;
1138
1137
  id: z.ZodOptional<z.ZodString>;
1139
- graphId: z.ZodOptional<z.ZodString>;
1138
+ agentId: z.ZodOptional<z.ZodString>;
1140
1139
  sourceSubAgentId: z.ZodOptional<z.ZodString>;
1141
1140
  targetSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1142
1141
  externalSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1190,7 +1189,7 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1190
1189
  projectId: z.ZodString;
1191
1190
  tenantId: z.ZodString;
1192
1191
  id: z.ZodString;
1193
- graphId: z.ZodString;
1192
+ agentId: z.ZodString;
1194
1193
  sourceSubAgentId: z.ZodString;
1195
1194
  externalSubAgentId: z.ZodString;
1196
1195
  }, {
@@ -1199,7 +1198,7 @@ declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{
1199
1198
  }>;
1200
1199
  declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1201
1200
  id: z.ZodString;
1202
- graphId: z.ZodString;
1201
+ agentId: z.ZodString;
1203
1202
  createdAt: z.ZodOptional<z.ZodString>;
1204
1203
  updatedAt: z.ZodOptional<z.ZodString>;
1205
1204
  sourceSubAgentId: z.ZodString;
@@ -1207,10 +1206,10 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{
1207
1206
  externalSubAgentId: z.ZodString;
1208
1207
  relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1209
1208
  }, z.core.$strip>;
1210
- declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1209
+ declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
1211
1210
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1212
1211
  name: "created_at";
1213
- tableName: "agent_graph";
1212
+ tableName: "agent";
1214
1213
  dataType: "string";
1215
1214
  columnType: "SQLiteText";
1216
1215
  data: string;
@@ -1229,7 +1228,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1229
1228
  }>;
1230
1229
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1231
1230
  name: "updated_at";
1232
- tableName: "agent_graph";
1231
+ tableName: "agent";
1233
1232
  dataType: "string";
1234
1233
  columnType: "SQLiteText";
1235
1234
  data: string;
@@ -1248,7 +1247,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1248
1247
  }>;
1249
1248
  name: drizzle_orm_sqlite_core.SQLiteColumn<{
1250
1249
  name: "name";
1251
- tableName: "agent_graph";
1250
+ tableName: "agent";
1252
1251
  dataType: "string";
1253
1252
  columnType: "SQLiteText";
1254
1253
  data: string;
@@ -1267,7 +1266,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1267
1266
  }>;
1268
1267
  description: drizzle_orm_sqlite_core.SQLiteColumn<{
1269
1268
  name: "description";
1270
- tableName: "agent_graph";
1269
+ tableName: "agent";
1271
1270
  dataType: "string";
1272
1271
  columnType: "SQLiteText";
1273
1272
  data: string;
@@ -1286,7 +1285,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1286
1285
  }>;
1287
1286
  defaultSubAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
1288
1287
  name: "default_sub_agent_id";
1289
- tableName: "agent_graph";
1288
+ tableName: "agent";
1290
1289
  dataType: "string";
1291
1290
  columnType: "SQLiteText";
1292
1291
  data: string;
@@ -1305,7 +1304,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1305
1304
  }>;
1306
1305
  contextConfigId: drizzle_orm_sqlite_core.SQLiteColumn<{
1307
1306
  name: "context_config_id";
1308
- tableName: "agent_graph";
1307
+ tableName: "agent";
1309
1308
  dataType: "string";
1310
1309
  columnType: "SQLiteText";
1311
1310
  data: string;
@@ -1324,7 +1323,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1324
1323
  }>;
1325
1324
  models: drizzle_orm_sqlite_core.SQLiteColumn<{
1326
1325
  name: "models";
1327
- tableName: "agent_graph";
1326
+ tableName: "agent";
1328
1327
  dataType: "json";
1329
1328
  columnType: "SQLiteTextJson";
1330
1329
  data: {
@@ -1369,7 +1368,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1369
1368
  }>;
1370
1369
  statusUpdates: drizzle_orm_sqlite_core.SQLiteColumn<{
1371
1370
  name: "status_updates";
1372
- tableName: "agent_graph";
1371
+ tableName: "agent";
1373
1372
  dataType: "json";
1374
1373
  columnType: "SQLiteTextJson";
1375
1374
  data: {
@@ -1414,9 +1413,9 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1414
1413
  }[] | undefined;
1415
1414
  };
1416
1415
  }>;
1417
- graphPrompt: drizzle_orm_sqlite_core.SQLiteColumn<{
1418
- name: "graph_prompt";
1419
- tableName: "agent_graph";
1416
+ prompt: drizzle_orm_sqlite_core.SQLiteColumn<{
1417
+ name: "prompt";
1418
+ tableName: "agent";
1420
1419
  dataType: "string";
1421
1420
  columnType: "SQLiteText";
1422
1421
  data: string;
@@ -1435,7 +1434,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1435
1434
  }>;
1436
1435
  stopWhen: drizzle_orm_sqlite_core.SQLiteColumn<{
1437
1436
  name: "stop_when";
1438
- tableName: "agent_graph";
1437
+ tableName: "agent";
1439
1438
  dataType: "json";
1440
1439
  columnType: "SQLiteTextJson";
1441
1440
  data: {
@@ -1458,7 +1457,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1458
1457
  }>;
1459
1458
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
1460
1459
  name: "project_id";
1461
- tableName: "agent_graph";
1460
+ tableName: "agent";
1462
1461
  dataType: "string";
1463
1462
  columnType: "SQLiteText";
1464
1463
  data: string;
@@ -1477,7 +1476,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1477
1476
  }>;
1478
1477
  tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
1479
1478
  name: "tenant_id";
1480
- tableName: "agent_graph";
1479
+ tableName: "agent";
1481
1480
  dataType: "string";
1482
1481
  columnType: "SQLiteText";
1483
1482
  data: string;
@@ -1496,7 +1495,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1496
1495
  }>;
1497
1496
  id: drizzle_orm_sqlite_core.SQLiteColumn<{
1498
1497
  name: "id";
1499
- tableName: "agent_graph";
1498
+ tableName: "agent";
1500
1499
  dataType: "string";
1501
1500
  columnType: "SQLiteText";
1502
1501
  data: string;
@@ -1514,7 +1513,7 @@ declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
1514
1513
  length: number | undefined;
1515
1514
  }>;
1516
1515
  }, undefined, undefined>;
1517
- declare const AgentGraphInsertSchema: z.ZodObject<{
1516
+ declare const AgentInsertSchema: z.ZodObject<{
1518
1517
  createdAt: z.ZodOptional<z.ZodString>;
1519
1518
  updatedAt: z.ZodOptional<z.ZodString>;
1520
1519
  name: z.ZodString;
@@ -1631,7 +1630,7 @@ declare const AgentGraphInsertSchema: z.ZodObject<{
1631
1630
  } | undefined;
1632
1631
  }[] | undefined;
1633
1632
  }>>>>;
1634
- graphPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1633
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1635
1634
  stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
1636
1635
  transferCountIs?: number | undefined;
1637
1636
  }, {
@@ -1648,7 +1647,7 @@ declare const AgentGraphInsertSchema: z.ZodObject<{
1648
1647
  out: {};
1649
1648
  in: {};
1650
1649
  }>;
1651
- declare const AgentGraphUpdateSchema: z.ZodObject<{
1650
+ declare const AgentUpdateSchema: z.ZodObject<{
1652
1651
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1653
1652
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1654
1653
  name: z.ZodOptional<z.ZodString>;
@@ -1765,7 +1764,7 @@ declare const AgentGraphUpdateSchema: z.ZodObject<{
1765
1764
  } | undefined;
1766
1765
  }[] | undefined;
1767
1766
  }>>>>>;
1768
- graphPrompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1767
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1769
1768
  stopWhen: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
1770
1769
  transferCountIs?: number | undefined;
1771
1770
  }, {
@@ -1782,10 +1781,11 @@ declare const AgentGraphUpdateSchema: z.ZodObject<{
1782
1781
  out: {};
1783
1782
  in: {};
1784
1783
  }>;
1785
- declare const AgentGraphApiSelectSchema: z.ZodObject<{
1784
+ declare const AgentApiSelectSchema: z.ZodObject<{
1786
1785
  id: z.ZodString;
1787
1786
  name: z.ZodString;
1788
1787
  description: z.ZodNullable<z.ZodString>;
1788
+ prompt: z.ZodNullable<z.ZodString>;
1789
1789
  createdAt: z.ZodString;
1790
1790
  updatedAt: z.ZodString;
1791
1791
  models: z.ZodNullable<z.ZodType<{
@@ -1909,11 +1909,11 @@ declare const AgentGraphApiSelectSchema: z.ZodObject<{
1909
1909
  } | undefined;
1910
1910
  }[] | undefined;
1911
1911
  }>>>;
1912
- graphPrompt: z.ZodNullable<z.ZodString>;
1913
1912
  }, z.core.$strip>;
1914
- declare const AgentGraphApiInsertSchema: z.ZodObject<{
1913
+ declare const AgentApiInsertSchema: z.ZodObject<{
1915
1914
  name: z.ZodString;
1916
1915
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1916
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1917
1917
  createdAt: z.ZodOptional<z.ZodString>;
1918
1918
  updatedAt: z.ZodOptional<z.ZodString>;
1919
1919
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2037,13 +2037,13 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
2037
2037
  } | undefined;
2038
2038
  }[] | undefined;
2039
2039
  }>>>>;
2040
- graphPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2041
2040
  id: z.ZodString;
2042
2041
  }, z.core.$strip>;
2043
- declare const AgentGraphApiUpdateSchema: z.ZodObject<{
2042
+ declare const AgentApiUpdateSchema: z.ZodObject<{
2044
2043
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2045
2044
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2046
2045
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2046
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2047
2047
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2048
2048
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2049
2049
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2167,7 +2167,6 @@ declare const AgentGraphApiUpdateSchema: z.ZodObject<{
2167
2167
  } | undefined;
2168
2168
  }[] | undefined;
2169
2169
  }>>>>>>;
2170
- graphPrompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2171
2170
  }, z.core.$strip>;
2172
2171
  declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
2173
2172
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -2284,8 +2283,8 @@ declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
2284
2283
  }, {}, {
2285
2284
  length: number | undefined;
2286
2285
  }>;
2287
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
2288
- name: "graph_id";
2286
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
2287
+ name: "agent_id";
2289
2288
  tableName: "tasks";
2290
2289
  dataType: "string";
2291
2290
  columnType: "SQLiteText";
@@ -2368,7 +2367,7 @@ declare const TaskInsertSchema: z.ZodObject<{
2368
2367
  status: z.ZodString;
2369
2368
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
2370
2369
  subAgentId: z.ZodString;
2371
- graphId: z.ZodString;
2370
+ agentId: z.ZodString;
2372
2371
  projectId: z.ZodString;
2373
2372
  tenantId: z.ZodString;
2374
2373
  id: z.ZodString;
@@ -2384,7 +2383,7 @@ declare const TaskUpdateSchema: z.ZodObject<{
2384
2383
  status: z.ZodOptional<z.ZodString>;
2385
2384
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>;
2386
2385
  subAgentId: z.ZodOptional<z.ZodString>;
2387
- graphId: z.ZodOptional<z.ZodString>;
2386
+ agentId: z.ZodOptional<z.ZodString>;
2388
2387
  projectId: z.ZodOptional<z.ZodString>;
2389
2388
  tenantId: z.ZodOptional<z.ZodString>;
2390
2389
  id: z.ZodOptional<z.ZodString>;
@@ -2395,7 +2394,7 @@ declare const TaskUpdateSchema: z.ZodObject<{
2395
2394
  }>;
2396
2395
  declare const TaskApiSelectSchema: z.ZodObject<{
2397
2396
  id: z.ZodString;
2398
- graphId: z.ZodString;
2397
+ agentId: z.ZodString;
2399
2398
  createdAt: z.ZodString;
2400
2399
  updatedAt: z.ZodString;
2401
2400
  status: z.ZodString;
@@ -2405,7 +2404,7 @@ declare const TaskApiSelectSchema: z.ZodObject<{
2405
2404
  }, z.core.$strip>;
2406
2405
  declare const TaskApiInsertSchema: z.ZodObject<{
2407
2406
  id: z.ZodString;
2408
- graphId: z.ZodString;
2407
+ agentId: z.ZodString;
2409
2408
  createdAt: z.ZodOptional<z.ZodString>;
2410
2409
  updatedAt: z.ZodOptional<z.ZodString>;
2411
2410
  status: z.ZodString;
@@ -2416,7 +2415,7 @@ declare const TaskApiInsertSchema: z.ZodObject<{
2416
2415
  }, z.core.$strip>;
2417
2416
  declare const TaskApiUpdateSchema: z.ZodObject<{
2418
2417
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2419
- graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2418
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2420
2419
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2421
2420
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2422
2421
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2636,7 +2635,7 @@ declare const McpTransportConfigSchema: z.ZodObject<{
2636
2635
  }>;
2637
2636
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2638
2637
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2639
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
2638
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
2640
2639
  sessionId: z.ZodOptional<z.ZodString>;
2641
2640
  }, z.core.$strip>;
2642
2641
  declare const ToolStatusSchema: z.ZodEnum<{
@@ -2922,7 +2921,7 @@ declare const ToolInsertSchema: z.ZodObject<{
2922
2921
  type: z.ZodLiteral<"mcp">;
2923
2922
  mcp: z.ZodObject<{
2924
2923
  server: z.ZodObject<{
2925
- url: z.ZodString;
2924
+ url: z.ZodURL;
2926
2925
  }, z.core.$strip>;
2927
2926
  transport: z.ZodOptional<z.ZodObject<{
2928
2927
  type: z.ZodEnum<{
@@ -2931,7 +2930,7 @@ declare const ToolInsertSchema: z.ZodObject<{
2931
2930
  }>;
2932
2931
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2933
2932
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2934
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
2933
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
2935
2934
  sessionId: z.ZodOptional<z.ZodString>;
2936
2935
  }, z.core.$strip>>;
2937
2936
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -3167,9 +3166,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
3167
3166
  }>;
3168
3167
  declare const ConversationApiSelectSchema: z.ZodObject<{
3169
3168
  id: z.ZodString;
3169
+ title: z.ZodNullable<z.ZodString>;
3170
3170
  createdAt: z.ZodString;
3171
3171
  updatedAt: z.ZodString;
3172
- title: z.ZodNullable<z.ZodString>;
3173
3172
  metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
3174
3173
  userId: z.ZodNullable<z.ZodString>;
3175
3174
  activeSubAgentId: z.ZodString;
@@ -3177,9 +3176,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
3177
3176
  }, z.core.$strip>;
3178
3177
  declare const ConversationApiInsertSchema: z.ZodObject<{
3179
3178
  id: z.ZodString;
3179
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
3180
  createdAt: z.ZodOptional<z.ZodString>;
3181
3181
  updatedAt: z.ZodOptional<z.ZodString>;
3182
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3183
3182
  contextConfigId: z.ZodOptional<z.ZodString>;
3184
3183
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
3185
3184
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3188,9 +3187,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
3188
3187
  }, z.core.$strip>;
3189
3188
  declare const ConversationApiUpdateSchema: z.ZodObject<{
3190
3189
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3190
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3191
3191
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3192
3192
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3193
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
3194
3193
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
3195
3194
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
3196
3195
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -4489,8 +4488,8 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select
4489
4488
  }, {}, {
4490
4489
  length: number | undefined;
4491
4490
  }>;
4492
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
4493
- name: "graph_id";
4491
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4492
+ name: "agent_id";
4494
4493
  tableName: "sub_agent_data_components";
4495
4494
  dataType: "string";
4496
4495
  columnType: "SQLiteText";
@@ -4624,8 +4623,8 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert
4624
4623
  }, {}, {
4625
4624
  length: number | undefined;
4626
4625
  }>;
4627
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
4628
- name: "graph_id";
4626
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4627
+ name: "agent_id";
4629
4628
  tableName: "sub_agent_data_components";
4630
4629
  dataType: "string";
4631
4630
  columnType: "SQLiteText";
@@ -4705,7 +4704,7 @@ declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
4705
4704
  dataComponentId: z.ZodOptional<z.ZodString>;
4706
4705
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4707
4706
  subAgentId: z.ZodOptional<z.ZodString>;
4708
- graphId: z.ZodOptional<z.ZodString>;
4707
+ agentId: z.ZodOptional<z.ZodString>;
4709
4708
  projectId: z.ZodOptional<z.ZodString>;
4710
4709
  tenantId: z.ZodOptional<z.ZodString>;
4711
4710
  id: z.ZodOptional<z.ZodString>;
@@ -4720,7 +4719,7 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<{
4720
4719
  dataComponentId: z.ZodString;
4721
4720
  }, z.core.$strip>;
4722
4721
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
4723
- graphId: z.ZodString;
4722
+ agentId: z.ZodString;
4724
4723
  subAgentId: z.ZodString;
4725
4724
  dataComponentId: z.ZodString;
4726
4725
  }, {
@@ -4996,8 +4995,8 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"se
4996
4995
  }, {}, {
4997
4996
  length: number | undefined;
4998
4997
  }>;
4999
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
5000
- name: "graph_id";
4998
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
4999
+ name: "agent_id";
5001
5000
  tableName: "sub_agent_artifact_components";
5002
5001
  dataType: "string";
5003
5002
  columnType: "SQLiteText";
@@ -5075,7 +5074,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"se
5075
5074
  }, undefined, undefined>;
5076
5075
  declare const SubAgentArtifactComponentInsertSchema: z.ZodObject<{
5077
5076
  createdAt: z.ZodOptional<z.ZodString>;
5078
- graphId: z.ZodString;
5077
+ agentId: z.ZodString;
5079
5078
  projectId: z.ZodString;
5080
5079
  tenantId: z.ZodString;
5081
5080
  id: z.ZodString;
@@ -5087,7 +5086,7 @@ declare const SubAgentArtifactComponentInsertSchema: z.ZodObject<{
5087
5086
  }>;
5088
5087
  declare const SubAgentArtifactComponentUpdateSchema: z.ZodObject<{
5089
5088
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5090
- graphId: z.ZodOptional<z.ZodString>;
5089
+ agentId: z.ZodOptional<z.ZodString>;
5091
5090
  projectId: z.ZodOptional<z.ZodString>;
5092
5091
  tenantId: z.ZodOptional<z.ZodString>;
5093
5092
  id: z.ZodOptional<z.ZodString>;
@@ -5104,7 +5103,7 @@ declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<{
5104
5103
  artifactComponentId: z.ZodString;
5105
5104
  }, z.core.$strip>;
5106
5105
  declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
5107
- graphId: z.ZodString;
5106
+ agentId: z.ZodString;
5108
5107
  subAgentId: z.ZodString;
5109
5108
  artifactComponentId: z.ZodString;
5110
5109
  }, {
@@ -5123,7 +5122,7 @@ declare const ExternalAgentSelectSchema: z.ZodObject<{
5123
5122
  baseUrl: z.ZodString;
5124
5123
  name: z.ZodString;
5125
5124
  description: z.ZodString;
5126
- graphId: z.ZodString;
5125
+ agentId: z.ZodString;
5127
5126
  projectId: z.ZodString;
5128
5127
  tenantId: z.ZodString;
5129
5128
  id: z.ZodString;
@@ -5141,7 +5140,7 @@ declare const ExternalAgentInsertSchema: z.ZodObject<{
5141
5140
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
5142
5141
  name: z.ZodString;
5143
5142
  description: z.ZodString;
5144
- graphId: z.ZodString;
5143
+ agentId: z.ZodString;
5145
5144
  projectId: z.ZodString;
5146
5145
  tenantId: z.ZodString;
5147
5146
  id: z.ZodString;
@@ -5157,7 +5156,7 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
5157
5156
  headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
5158
5157
  name: z.ZodOptional<z.ZodString>;
5159
5158
  description: z.ZodOptional<z.ZodString>;
5160
- graphId: z.ZodOptional<z.ZodString>;
5159
+ agentId: z.ZodOptional<z.ZodString>;
5161
5160
  projectId: z.ZodOptional<z.ZodString>;
5162
5161
  tenantId: z.ZodOptional<z.ZodString>;
5163
5162
  id: z.ZodOptional<z.ZodString>;
@@ -5430,8 +5429,8 @@ declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
5430
5429
  }, {}, {
5431
5430
  length: number | undefined;
5432
5431
  }>;
5433
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
5434
- name: "graph_id";
5432
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
5433
+ name: "agent_id";
5435
5434
  tableName: "api_keys";
5436
5435
  dataType: "string";
5437
5436
  columnType: "SQLiteText";
@@ -5519,14 +5518,14 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
5519
5518
  projectId: z.ZodString;
5520
5519
  tenantId: z.ZodString;
5521
5520
  id: z.ZodString;
5522
- graphId: z.ZodString;
5521
+ agentId: z.ZodString;
5523
5522
  }, {
5524
5523
  out: {};
5525
5524
  in: {};
5526
5525
  }>;
5527
5526
  declare const ApiKeyUpdateSchema: z.ZodObject<{
5528
5527
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5529
- graphId: z.ZodOptional<z.ZodString>;
5528
+ agentId: z.ZodOptional<z.ZodString>;
5530
5529
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5531
5530
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5532
5531
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5537,7 +5536,7 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
5537
5536
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
5538
5537
  id: z.ZodString;
5539
5538
  name: z.ZodNullable<z.ZodString>;
5540
- graphId: z.ZodString;
5539
+ agentId: z.ZodString;
5541
5540
  publicId: z.ZodString;
5542
5541
  keyPrefix: z.ZodString;
5543
5542
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -5553,7 +5552,7 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5553
5552
  apiKey: z.ZodObject<{
5554
5553
  id: z.ZodString;
5555
5554
  name: z.ZodNullable<z.ZodString>;
5556
- graphId: z.ZodString;
5555
+ agentId: z.ZodString;
5557
5556
  publicId: z.ZodString;
5558
5557
  keyPrefix: z.ZodString;
5559
5558
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -5569,7 +5568,7 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
5569
5568
  }, z.core.$strip>;
5570
5569
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
5571
5570
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5572
- graphId: z.ZodString;
5571
+ agentId: z.ZodString;
5573
5572
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5574
5573
  createdAt: z.ZodOptional<z.ZodString>;
5575
5574
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -5579,7 +5578,7 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
5579
5578
  }>;
5580
5579
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
5581
5580
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5582
- graphId: z.ZodOptional<z.ZodString>;
5581
+ agentId: z.ZodOptional<z.ZodString>;
5583
5582
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5584
5583
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5585
5584
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5928,7 +5927,7 @@ declare const McpToolSchema: z.ZodObject<{
5928
5927
  type: z.ZodLiteral<"mcp">;
5929
5928
  mcp: z.ZodObject<{
5930
5929
  server: z.ZodObject<{
5931
- url: z.ZodString;
5930
+ url: z.ZodURL;
5932
5931
  }, z.core.$strip>;
5933
5932
  transport: z.ZodOptional<z.ZodObject<{
5934
5933
  type: z.ZodEnum<{
@@ -5937,7 +5936,7 @@ declare const McpToolSchema: z.ZodObject<{
5937
5936
  }>;
5938
5937
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5939
5938
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5940
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
5939
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
5941
5940
  sessionId: z.ZodOptional<z.ZodString>;
5942
5941
  }, z.core.$strip>>;
5943
5942
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -5990,7 +5989,7 @@ declare const MCPToolConfigSchema: z.ZodObject<{
5990
5989
  }>;
5991
5990
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5992
5991
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5993
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
5992
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
5994
5993
  sessionId: z.ZodOptional<z.ZodString>;
5995
5994
  }, z.core.$strip>>;
5996
5995
  credential: z.ZodOptional<z.ZodObject<{
@@ -6026,7 +6025,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
6026
6025
  type: z.ZodLiteral<"mcp">;
6027
6026
  mcp: z.ZodObject<{
6028
6027
  server: z.ZodObject<{
6029
- url: z.ZodString;
6028
+ url: z.ZodURL;
6030
6029
  }, z.core.$strip>;
6031
6030
  transport: z.ZodOptional<z.ZodObject<{
6032
6031
  type: z.ZodEnum<{
@@ -6035,7 +6034,7 @@ declare const ToolUpdateSchema: z.ZodObject<{
6035
6034
  }>;
6036
6035
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6037
6036
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6038
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6037
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
6039
6038
  sessionId: z.ZodOptional<z.ZodString>;
6040
6039
  }, z.core.$strip>>;
6041
6040
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6078,7 +6077,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6078
6077
  type: z.ZodLiteral<"mcp">;
6079
6078
  mcp: z.ZodObject<{
6080
6079
  server: z.ZodObject<{
6081
- url: z.ZodString;
6080
+ url: z.ZodURL;
6082
6081
  }, z.core.$strip>;
6083
6082
  transport: z.ZodOptional<z.ZodObject<{
6084
6083
  type: z.ZodEnum<{
@@ -6087,7 +6086,7 @@ declare const ToolApiInsertSchema: z.ZodObject<{
6087
6086
  }>;
6088
6087
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6089
6088
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6090
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6089
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
6091
6090
  sessionId: z.ZodOptional<z.ZodString>;
6092
6091
  }, z.core.$strip>>;
6093
6092
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6109,7 +6108,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6109
6108
  type: z.ZodLiteral<"mcp">;
6110
6109
  mcp: z.ZodObject<{
6111
6110
  server: z.ZodObject<{
6112
- url: z.ZodString;
6111
+ url: z.ZodURL;
6113
6112
  }, z.core.$strip>;
6114
6113
  transport: z.ZodOptional<z.ZodObject<{
6115
6114
  type: z.ZodEnum<{
@@ -6118,7 +6117,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
6118
6117
  }>;
6119
6118
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6120
6119
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6121
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
6120
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
6122
6121
  sessionId: z.ZodOptional<z.ZodString>;
6123
6122
  }, z.core.$strip>>;
6124
6123
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6228,8 +6227,8 @@ declare const FunctionToolSelectSchema: drizzle_zod.BuildSchema<"select", {
6228
6227
  }, {}, {
6229
6228
  length: number | undefined;
6230
6229
  }>;
6231
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
6232
- name: "graph_id";
6230
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
6231
+ name: "agent_id";
6233
6232
  tableName: "function_tools";
6234
6233
  dataType: "string";
6235
6234
  columnType: "SQLiteText";
@@ -6311,7 +6310,7 @@ declare const FunctionToolInsertSchema: z.ZodObject<{
6311
6310
  name: z.ZodString;
6312
6311
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6313
6312
  functionId: z.ZodString;
6314
- graphId: z.ZodString;
6313
+ agentId: z.ZodString;
6315
6314
  projectId: z.ZodString;
6316
6315
  tenantId: z.ZodString;
6317
6316
  id: z.ZodString;
@@ -6325,7 +6324,7 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
6325
6324
  name: z.ZodOptional<z.ZodString>;
6326
6325
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6327
6326
  functionId: z.ZodOptional<z.ZodString>;
6328
- graphId: z.ZodOptional<z.ZodString>;
6327
+ agentId: z.ZodOptional<z.ZodString>;
6329
6328
  projectId: z.ZodOptional<z.ZodString>;
6330
6329
  tenantId: z.ZodOptional<z.ZodString>;
6331
6330
  id: z.ZodOptional<z.ZodString>;
@@ -6337,7 +6336,7 @@ declare const FunctionToolApiSelectSchema: z.ZodObject<{
6337
6336
  id: z.ZodString;
6338
6337
  name: z.ZodString;
6339
6338
  description: z.ZodNullable<z.ZodString>;
6340
- graphId: z.ZodString;
6339
+ agentId: z.ZodString;
6341
6340
  createdAt: z.ZodString;
6342
6341
  updatedAt: z.ZodString;
6343
6342
  functionId: z.ZodString;
@@ -6354,7 +6353,7 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
6354
6353
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6355
6354
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6356
6355
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
6357
- graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6356
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6358
6357
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6359
6358
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6360
6359
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6599,7 +6598,7 @@ declare const FetchDefinitionSchema: z.ZodObject<{
6599
6598
  timeout: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
6600
6599
  }, z.core.$strip>;
6601
6600
  responseSchema: z.ZodOptional<z.ZodAny>;
6602
- defaultValue: z.ZodOptional<z.ZodUnknown>;
6601
+ defaultValue: z.ZodOptional<z.ZodAny>;
6603
6602
  credential: z.ZodOptional<z.ZodObject<{
6604
6603
  id: z.ZodString;
6605
6604
  createdAt: z.ZodOptional<z.ZodString>;
@@ -6617,11 +6616,11 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
6617
6616
  createdAt: z.ZodString;
6618
6617
  updatedAt: z.ZodString;
6619
6618
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
6620
- graphId: z.ZodString;
6619
+ agentId: z.ZodString;
6621
6620
  projectId: z.ZodString;
6622
6621
  tenantId: z.ZodString;
6623
6622
  id: z.ZodString;
6624
- headersSchema: z.ZodOptional<z.ZodUnknown>;
6623
+ headersSchema: z.ZodOptional<z.ZodAny>;
6625
6624
  }, {
6626
6625
  out: {};
6627
6626
  in: {};
@@ -6630,9 +6629,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
6630
6629
  tenantId: z.ZodString;
6631
6630
  projectId: z.ZodString;
6632
6631
  id: z.ZodOptional<z.ZodString>;
6633
- graphId: z.ZodString;
6634
- headersSchema: z.ZodOptional<z.ZodUnknown>;
6635
- contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6632
+ agentId: z.ZodString;
6633
+ headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6634
+ contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6636
6635
  }, {
6637
6636
  out: {};
6638
6637
  in: {};
@@ -6641,9 +6640,9 @@ declare const ContextConfigUpdateSchema: z.ZodObject<{
6641
6640
  tenantId: z.ZodOptional<z.ZodString>;
6642
6641
  projectId: z.ZodOptional<z.ZodString>;
6643
6642
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6644
- graphId: z.ZodOptional<z.ZodString>;
6645
- headersSchema: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
6646
- contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>;
6643
+ agentId: z.ZodOptional<z.ZodString>;
6644
+ headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6645
+ contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
6647
6646
  }, {
6648
6647
  out: {};
6649
6648
  in: {};
@@ -6652,18 +6651,18 @@ declare const ContextConfigApiSelectSchema: z.ZodObject<{
6652
6651
  id: z.ZodString;
6653
6652
  createdAt: z.ZodString;
6654
6653
  updatedAt: z.ZodString;
6655
- headersSchema: z.ZodOptional<z.ZodUnknown>;
6654
+ headersSchema: z.ZodOptional<z.ZodAny>;
6656
6655
  contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
6657
6656
  }, z.core.$strip>;
6658
6657
  declare const ContextConfigApiInsertSchema: z.ZodObject<{
6659
6658
  id: z.ZodOptional<z.ZodString>;
6660
- headersSchema: z.ZodOptional<z.ZodUnknown>;
6661
- contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6659
+ headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6660
+ contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
6662
6661
  }, z.core.$strip>;
6663
6662
  declare const ContextConfigApiUpdateSchema: z.ZodObject<{
6664
6663
  id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6665
- headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodUnknown>>>;
6666
- contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>>;
6664
+ headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
6665
+ contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
6667
6666
  }, z.core.$strip>;
6668
6667
  declare const SubAgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
6669
6668
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -6780,8 +6779,8 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select"
6780
6779
  }, {}, {
6781
6780
  length: number | undefined;
6782
6781
  }>;
6783
- graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
6784
- name: "graph_id";
6782
+ agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
6783
+ name: "agent_id";
6785
6784
  tableName: "sub_agent_tool_relations";
6786
6785
  dataType: "string";
6787
6786
  columnType: "SQLiteText";
@@ -6860,7 +6859,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select"
6860
6859
  declare const SubAgentToolRelationInsertSchema: z.ZodObject<{
6861
6860
  createdAt: z.ZodOptional<z.ZodString>;
6862
6861
  updatedAt: z.ZodOptional<z.ZodString>;
6863
- graphId: z.ZodString;
6862
+ agentId: z.ZodString;
6864
6863
  projectId: z.ZodString;
6865
6864
  tenantId: z.ZodString;
6866
6865
  id: z.ZodString;
@@ -6875,7 +6874,7 @@ declare const SubAgentToolRelationInsertSchema: z.ZodObject<{
6875
6874
  declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
6876
6875
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6877
6876
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6878
- graphId: z.ZodOptional<z.ZodString>;
6877
+ agentId: z.ZodOptional<z.ZodString>;
6879
6878
  projectId: z.ZodOptional<z.ZodString>;
6880
6879
  tenantId: z.ZodOptional<z.ZodString>;
6881
6880
  id: z.ZodOptional<z.ZodString>;
@@ -7709,7 +7708,7 @@ declare const CanUseItemSchema: z.ZodObject<{
7709
7708
  toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7710
7709
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7711
7710
  }, z.core.$strip>;
7712
- declare const FullGraphAgentInsertSchema: z.ZodObject<{
7711
+ declare const FullAgentAgentInsertSchema: z.ZodObject<{
7713
7712
  id: z.ZodString;
7714
7713
  name: z.ZodString;
7715
7714
  description: z.ZodString;
@@ -7752,7 +7751,7 @@ declare const FullGraphAgentInsertSchema: z.ZodObject<{
7752
7751
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7753
7752
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7754
7753
  }, z.core.$strip>;
7755
- declare const FullGraphDefinitionSchema: z.ZodObject<{
7754
+ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
7756
7755
  name: z.ZodString;
7757
7756
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7758
7757
  createdAt: z.ZodOptional<z.ZodString>;
@@ -7820,154 +7819,7 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7820
7819
  type: z.ZodLiteral<"mcp">;
7821
7820
  mcp: z.ZodObject<{
7822
7821
  server: z.ZodObject<{
7823
- url: z.ZodString;
7824
- }, z.core.$strip>;
7825
- transport: z.ZodOptional<z.ZodObject<{
7826
- type: z.ZodEnum<{
7827
- readonly streamableHttp: "streamable_http";
7828
- readonly sse: "sse";
7829
- }>;
7830
- requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7831
- eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7832
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
7833
- sessionId: z.ZodOptional<z.ZodString>;
7834
- }, z.core.$strip>>;
7835
- activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
7836
- }, z.core.$strip>;
7837
- }, z.core.$strip>;
7838
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7839
- createdAt: z.ZodOptional<z.ZodString>;
7840
- updatedAt: z.ZodOptional<z.ZodString>;
7841
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7842
- capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
7843
- imageUrl: z.ZodOptional<z.ZodString>;
7844
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7845
- }, z.core.$strip>>>;
7846
- functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7847
- id: z.ZodString;
7848
- name: z.ZodString;
7849
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7850
- createdAt: z.ZodOptional<z.ZodString>;
7851
- updatedAt: z.ZodOptional<z.ZodString>;
7852
- functionId: z.ZodString;
7853
- }, z.core.$strip>>>;
7854
- functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7855
- id: z.ZodString;
7856
- createdAt: z.ZodOptional<z.ZodString>;
7857
- updatedAt: z.ZodOptional<z.ZodString>;
7858
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
7859
- executeCode: z.ZodString;
7860
- dependencies: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7861
- }, z.core.$strip>>>;
7862
- contextConfig: z.ZodOptional<z.ZodObject<{
7863
- id: z.ZodOptional<z.ZodString>;
7864
- headersSchema: z.ZodOptional<z.ZodUnknown>;
7865
- contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7866
- }, z.core.$strip>>;
7867
- statusUpdates: z.ZodOptional<z.ZodObject<{
7868
- enabled: z.ZodOptional<z.ZodBoolean>;
7869
- numEvents: z.ZodOptional<z.ZodNumber>;
7870
- timeInSeconds: z.ZodOptional<z.ZodNumber>;
7871
- prompt: z.ZodOptional<z.ZodString>;
7872
- statusComponents: z.ZodOptional<z.ZodArray<z.ZodObject<{
7873
- type: z.ZodString;
7874
- description: z.ZodOptional<z.ZodString>;
7875
- detailsSchema: z.ZodOptional<z.ZodObject<{
7876
- type: z.ZodLiteral<"object">;
7877
- properties: z.ZodRecord<z.ZodString, z.ZodAny>;
7878
- required: z.ZodOptional<z.ZodArray<z.ZodString>>;
7879
- }, z.core.$strip>>;
7880
- }, z.core.$strip>>>;
7881
- }, z.core.$strip>>;
7882
- models: z.ZodOptional<z.ZodObject<{
7883
- base: z.ZodOptional<z.ZodObject<{
7884
- model: z.ZodOptional<z.ZodString>;
7885
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7886
- }, z.core.$strip>>;
7887
- structuredOutput: z.ZodOptional<z.ZodObject<{
7888
- model: z.ZodOptional<z.ZodString>;
7889
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7890
- }, z.core.$strip>>;
7891
- summarizer: z.ZodOptional<z.ZodObject<{
7892
- model: z.ZodOptional<z.ZodString>;
7893
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7894
- }, z.core.$strip>>;
7895
- }, z.core.$strip>>;
7896
- stopWhen: z.ZodOptional<z.ZodObject<{
7897
- transferCountIs: z.ZodOptional<z.ZodNumber>;
7898
- }, z.core.$strip>>;
7899
- graphPrompt: z.ZodOptional<z.ZodString>;
7900
- }, z.core.$strip>;
7901
- declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7902
- name: z.ZodString;
7903
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7904
- createdAt: z.ZodOptional<z.ZodString>;
7905
- updatedAt: z.ZodOptional<z.ZodString>;
7906
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7907
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7908
- id: z.ZodString;
7909
- subAgents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7910
- id: z.ZodString;
7911
- name: z.ZodString;
7912
- description: z.ZodString;
7913
- prompt: z.ZodString;
7914
- createdAt: z.ZodOptional<z.ZodString>;
7915
- updatedAt: z.ZodOptional<z.ZodString>;
7916
- models: z.ZodOptional<z.ZodObject<{
7917
- base: z.ZodOptional<z.ZodObject<{
7918
- model: z.ZodOptional<z.ZodString>;
7919
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7920
- }, z.core.$strip>>;
7921
- structuredOutput: z.ZodOptional<z.ZodObject<{
7922
- model: z.ZodOptional<z.ZodString>;
7923
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7924
- }, z.core.$strip>>;
7925
- summarizer: z.ZodOptional<z.ZodObject<{
7926
- model: z.ZodOptional<z.ZodString>;
7927
- providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7928
- }, z.core.$strip>>;
7929
- }, z.core.$strip>>;
7930
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
7931
- stepCountIs?: number | undefined;
7932
- }, {
7933
- stepCountIs?: number | undefined;
7934
- }, z.core.$ZodTypeInternals<{
7935
- stepCountIs?: number | undefined;
7936
- }, {
7937
- stepCountIs?: number | undefined;
7938
- }>>>>;
7939
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
7940
- type: z.ZodLiteral<"internal">;
7941
- canUse: z.ZodArray<z.ZodObject<{
7942
- agentToolRelationId: z.ZodOptional<z.ZodString>;
7943
- toolId: z.ZodString;
7944
- toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
7945
- headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
7946
- }, z.core.$strip>>;
7947
- dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
7948
- artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
7949
- canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7950
- canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
7951
- }, z.core.$strip>, z.ZodObject<{
7952
- id: z.ZodString;
7953
- name: z.ZodString;
7954
- description: z.ZodString;
7955
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7956
- createdAt: z.ZodOptional<z.ZodString>;
7957
- updatedAt: z.ZodOptional<z.ZodString>;
7958
- baseUrl: z.ZodString;
7959
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
7960
- type: z.ZodLiteral<"external">;
7961
- }, z.core.$strip>], "type">>;
7962
- tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7963
- id: z.ZodString;
7964
- name: z.ZodString;
7965
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7966
- config: z.ZodObject<{
7967
- type: z.ZodLiteral<"mcp">;
7968
- mcp: z.ZodObject<{
7969
- server: z.ZodObject<{
7970
- url: z.ZodString;
7822
+ url: z.ZodURL;
7971
7823
  }, z.core.$strip>;
7972
7824
  transport: z.ZodOptional<z.ZodObject<{
7973
7825
  type: z.ZodEnum<{
@@ -7976,7 +7828,7 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7976
7828
  }>;
7977
7829
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7978
7830
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7979
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
7831
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
7980
7832
  sessionId: z.ZodOptional<z.ZodString>;
7981
7833
  }, z.core.$strip>>;
7982
7834
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -8008,8 +7860,8 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
8008
7860
  }, z.core.$strip>>>;
8009
7861
  contextConfig: z.ZodOptional<z.ZodObject<{
8010
7862
  id: z.ZodOptional<z.ZodString>;
8011
- headersSchema: z.ZodOptional<z.ZodUnknown>;
8012
- contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7863
+ headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
7864
+ contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
8013
7865
  }, z.core.$strip>>;
8014
7866
  statusUpdates: z.ZodOptional<z.ZodObject<{
8015
7867
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -8043,7 +7895,7 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
8043
7895
  stopWhen: z.ZodOptional<z.ZodObject<{
8044
7896
  transferCountIs: z.ZodOptional<z.ZodNumber>;
8045
7897
  }, z.core.$strip>>;
8046
- graphPrompt: z.ZodOptional<z.ZodString>;
7898
+ prompt: z.ZodOptional<z.ZodString>;
8047
7899
  }, z.core.$strip>;
8048
7900
  declare const PaginationSchema: z.ZodObject<{
8049
7901
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -8066,7 +7918,7 @@ declare const SingleResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z
8066
7918
  declare const ErrorResponseSchema: z.ZodObject<{
8067
7919
  error: z.ZodString;
8068
7920
  message: z.ZodOptional<z.ZodString>;
8069
- details: z.ZodOptional<z.ZodUnknown>;
7921
+ details: z.ZodOptional<z.ZodAny>;
8070
7922
  }, z.core.$strip>;
8071
7923
  declare const ExistsResponseSchema: z.ZodObject<{
8072
7924
  exists: z.ZodBoolean;
@@ -8575,7 +8427,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8575
8427
  timeout: z.ZodOptional<z.ZodNumber>;
8576
8428
  vcpus: z.ZodOptional<z.ZodNumber>;
8577
8429
  }, z.core.$strip>>;
8578
- graphs: z.ZodRecord<z.ZodString, z.ZodObject<{
8430
+ agents: z.ZodRecord<z.ZodString, z.ZodObject<{
8579
8431
  name: z.ZodString;
8580
8432
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8581
8433
  createdAt: z.ZodOptional<z.ZodString>;
@@ -8583,7 +8435,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8583
8435
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8584
8436
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8585
8437
  id: z.ZodString;
8586
- subAgents: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
8438
+ subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
8587
8439
  id: z.ZodString;
8588
8440
  name: z.ZodString;
8589
8441
  description: z.ZodString;
@@ -8634,8 +8486,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8634
8486
  updatedAt: z.ZodOptional<z.ZodString>;
8635
8487
  baseUrl: z.ZodString;
8636
8488
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
8637
- type: z.ZodLiteral<"external">;
8638
- }, z.core.$strip>], "type">>;
8489
+ }, z.core.$strip>]>>;
8639
8490
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8640
8491
  id: z.ZodString;
8641
8492
  name: z.ZodString;
@@ -8644,7 +8495,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8644
8495
  type: z.ZodLiteral<"mcp">;
8645
8496
  mcp: z.ZodObject<{
8646
8497
  server: z.ZodObject<{
8647
- url: z.ZodString;
8498
+ url: z.ZodURL;
8648
8499
  }, z.core.$strip>;
8649
8500
  transport: z.ZodOptional<z.ZodObject<{
8650
8501
  type: z.ZodEnum<{
@@ -8653,7 +8504,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8653
8504
  }>;
8654
8505
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8655
8506
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8656
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
8507
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
8657
8508
  sessionId: z.ZodOptional<z.ZodString>;
8658
8509
  }, z.core.$strip>>;
8659
8510
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -8685,8 +8536,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8685
8536
  }, z.core.$strip>>>;
8686
8537
  contextConfig: z.ZodOptional<z.ZodObject<{
8687
8538
  id: z.ZodOptional<z.ZodString>;
8688
- headersSchema: z.ZodOptional<z.ZodUnknown>;
8689
- contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
8539
+ headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
8540
+ contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
8690
8541
  }, z.core.$strip>>;
8691
8542
  statusUpdates: z.ZodOptional<z.ZodObject<{
8692
8543
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -8720,7 +8571,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8720
8571
  stopWhen: z.ZodOptional<z.ZodObject<{
8721
8572
  transferCountIs: z.ZodOptional<z.ZodNumber>;
8722
8573
  }, z.core.$strip>>;
8723
- graphPrompt: z.ZodOptional<z.ZodString>;
8574
+ prompt: z.ZodOptional<z.ZodString>;
8724
8575
  }, z.core.$strip>>;
8725
8576
  tools: z.ZodRecord<z.ZodString, z.ZodObject<{
8726
8577
  id: z.ZodString;
@@ -8730,7 +8581,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8730
8581
  type: z.ZodLiteral<"mcp">;
8731
8582
  mcp: z.ZodObject<{
8732
8583
  server: z.ZodObject<{
8733
- url: z.ZodString;
8584
+ url: z.ZodURL;
8734
8585
  }, z.core.$strip>;
8735
8586
  transport: z.ZodOptional<z.ZodObject<{
8736
8587
  type: z.ZodEnum<{
@@ -8739,7 +8590,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8739
8590
  }>;
8740
8591
  requestInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8741
8592
  eventSourceInit: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8742
- reconnectionOptions: z.ZodOptional<z.ZodCustom<StreamableHTTPReconnectionOptions, StreamableHTTPReconnectionOptions>>;
8593
+ reconnectionOptions: z.ZodOptional<z.ZodAny>;
8743
8594
  sessionId: z.ZodOptional<z.ZodString>;
8744
8595
  }, z.core.$strip>>;
8745
8596
  activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -8811,48 +8662,1652 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
8811
8662
  out: {};
8812
8663
  in: {};
8813
8664
  }>;
8814
- declare const HeadersScopeSchema: z.ZodObject<{
8815
- 'x-inkeep-tenant-id': z.ZodOptional<z.ZodString>;
8816
- 'x-inkeep-project-id': z.ZodOptional<z.ZodString>;
8817
- 'x-inkeep-graph-id': z.ZodOptional<z.ZodString>;
8818
- }, z.core.$strip>;
8819
- declare const TenantParamsSchema: z.ZodObject<{
8820
- tenantId: z.ZodString;
8821
- }, z.core.$strip>;
8822
- declare const TenantIdParamsSchema: z.ZodObject<{
8823
- tenantId: z.ZodString;
8824
- id: z.ZodString;
8825
- }, z.core.$strip>;
8826
- declare const TenantProjectParamsSchema: z.ZodObject<{
8827
- tenantId: z.ZodString;
8828
- projectId: z.ZodString;
8665
+ declare const ProjectResponse: z.ZodObject<{
8666
+ data: z.ZodObject<{
8667
+ id: z.ZodString;
8668
+ name: z.ZodString;
8669
+ description: z.ZodString;
8670
+ createdAt: z.ZodString;
8671
+ updatedAt: z.ZodString;
8672
+ models: z.ZodNullable<z.ZodType<{
8673
+ base: {
8674
+ model?: string | undefined;
8675
+ providerOptions?: Record<string, any> | undefined;
8676
+ };
8677
+ structuredOutput?: {
8678
+ model?: string | undefined;
8679
+ providerOptions?: Record<string, any> | undefined;
8680
+ } | undefined;
8681
+ summarizer?: {
8682
+ model?: string | undefined;
8683
+ providerOptions?: Record<string, any> | undefined;
8684
+ } | undefined;
8685
+ }, {
8686
+ base: {
8687
+ model?: string | undefined;
8688
+ providerOptions?: Record<string, any> | undefined;
8689
+ };
8690
+ structuredOutput?: {
8691
+ model?: string | undefined;
8692
+ providerOptions?: Record<string, any> | undefined;
8693
+ } | undefined;
8694
+ summarizer?: {
8695
+ model?: string | undefined;
8696
+ providerOptions?: Record<string, any> | undefined;
8697
+ } | undefined;
8698
+ }, z.core.$ZodTypeInternals<{
8699
+ base: {
8700
+ model?: string | undefined;
8701
+ providerOptions?: Record<string, any> | undefined;
8702
+ };
8703
+ structuredOutput?: {
8704
+ model?: string | undefined;
8705
+ providerOptions?: Record<string, any> | undefined;
8706
+ } | undefined;
8707
+ summarizer?: {
8708
+ model?: string | undefined;
8709
+ providerOptions?: Record<string, any> | undefined;
8710
+ } | undefined;
8711
+ }, {
8712
+ base: {
8713
+ model?: string | undefined;
8714
+ providerOptions?: Record<string, any> | undefined;
8715
+ };
8716
+ structuredOutput?: {
8717
+ model?: string | undefined;
8718
+ providerOptions?: Record<string, any> | undefined;
8719
+ } | undefined;
8720
+ summarizer?: {
8721
+ model?: string | undefined;
8722
+ providerOptions?: Record<string, any> | undefined;
8723
+ } | undefined;
8724
+ }>>>;
8725
+ stopWhen: z.ZodNullable<z.ZodType<{
8726
+ transferCountIs?: number | undefined;
8727
+ stepCountIs?: number | undefined;
8728
+ }, {
8729
+ transferCountIs?: number | undefined;
8730
+ stepCountIs?: number | undefined;
8731
+ }, z.core.$ZodTypeInternals<{
8732
+ transferCountIs?: number | undefined;
8733
+ stepCountIs?: number | undefined;
8734
+ }, {
8735
+ transferCountIs?: number | undefined;
8736
+ stepCountIs?: number | undefined;
8737
+ }>>>;
8738
+ sandboxConfig: z.ZodNullable<z.ZodType<{
8739
+ provider: "vercel" | "local";
8740
+ runtime: "node22" | "typescript";
8741
+ timeout?: number;
8742
+ vcpus?: number;
8743
+ }, {
8744
+ provider: "vercel" | "local";
8745
+ runtime: "node22" | "typescript";
8746
+ timeout?: number;
8747
+ vcpus?: number;
8748
+ }, z.core.$ZodTypeInternals<{
8749
+ provider: "vercel" | "local";
8750
+ runtime: "node22" | "typescript";
8751
+ timeout?: number;
8752
+ vcpus?: number;
8753
+ }, {
8754
+ provider: "vercel" | "local";
8755
+ runtime: "node22" | "typescript";
8756
+ timeout?: number;
8757
+ vcpus?: number;
8758
+ }>>>;
8759
+ }, {
8760
+ out: {};
8761
+ in: {};
8762
+ }>;
8829
8763
  }, z.core.$strip>;
8830
- declare const TenantProjectIdParamsSchema: z.ZodObject<{
8831
- tenantId: z.ZodString;
8764
+ declare const SubAgentResponse: z.ZodObject<{
8765
+ data: z.ZodObject<{
8766
+ id: z.ZodString;
8767
+ name: z.ZodString;
8768
+ description: z.ZodString;
8769
+ prompt: z.ZodString;
8770
+ createdAt: z.ZodString;
8771
+ updatedAt: z.ZodString;
8772
+ models: z.ZodNullable<z.ZodType<{
8773
+ base?: {
8774
+ model?: string | undefined;
8775
+ providerOptions?: Record<string, any> | undefined;
8776
+ } | undefined;
8777
+ structuredOutput?: {
8778
+ model?: string | undefined;
8779
+ providerOptions?: Record<string, any> | undefined;
8780
+ } | undefined;
8781
+ summarizer?: {
8782
+ model?: string | undefined;
8783
+ providerOptions?: Record<string, any> | undefined;
8784
+ } | undefined;
8785
+ }, {
8786
+ base?: {
8787
+ model?: string | undefined;
8788
+ providerOptions?: Record<string, any> | undefined;
8789
+ } | undefined;
8790
+ structuredOutput?: {
8791
+ model?: string | undefined;
8792
+ providerOptions?: Record<string, any> | undefined;
8793
+ } | undefined;
8794
+ summarizer?: {
8795
+ model?: string | undefined;
8796
+ providerOptions?: Record<string, any> | undefined;
8797
+ } | undefined;
8798
+ }, z.core.$ZodTypeInternals<{
8799
+ base?: {
8800
+ model?: string | undefined;
8801
+ providerOptions?: Record<string, any> | undefined;
8802
+ } | undefined;
8803
+ structuredOutput?: {
8804
+ model?: string | undefined;
8805
+ providerOptions?: Record<string, any> | undefined;
8806
+ } | undefined;
8807
+ summarizer?: {
8808
+ model?: string | undefined;
8809
+ providerOptions?: Record<string, any> | undefined;
8810
+ } | undefined;
8811
+ }, {
8812
+ base?: {
8813
+ model?: string | undefined;
8814
+ providerOptions?: Record<string, any> | undefined;
8815
+ } | undefined;
8816
+ structuredOutput?: {
8817
+ model?: string | undefined;
8818
+ providerOptions?: Record<string, any> | undefined;
8819
+ } | undefined;
8820
+ summarizer?: {
8821
+ model?: string | undefined;
8822
+ providerOptions?: Record<string, any> | undefined;
8823
+ } | undefined;
8824
+ }>>>;
8825
+ stopWhen: z.ZodNullable<z.ZodType<{
8826
+ stepCountIs?: number | undefined;
8827
+ }, {
8828
+ stepCountIs?: number | undefined;
8829
+ }, z.core.$ZodTypeInternals<{
8830
+ stepCountIs?: number | undefined;
8831
+ }, {
8832
+ stepCountIs?: number | undefined;
8833
+ }>>>;
8834
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
8835
+ }, z.core.$strip>;
8836
+ }, z.core.$strip>;
8837
+ declare const AgentResponse: z.ZodObject<{
8838
+ data: z.ZodObject<{
8839
+ id: z.ZodString;
8840
+ name: z.ZodString;
8841
+ description: z.ZodNullable<z.ZodString>;
8842
+ prompt: z.ZodNullable<z.ZodString>;
8843
+ createdAt: z.ZodString;
8844
+ updatedAt: z.ZodString;
8845
+ models: z.ZodNullable<z.ZodType<{
8846
+ base?: {
8847
+ model?: string | undefined;
8848
+ providerOptions?: Record<string, any> | undefined;
8849
+ } | undefined;
8850
+ structuredOutput?: {
8851
+ model?: string | undefined;
8852
+ providerOptions?: Record<string, any> | undefined;
8853
+ } | undefined;
8854
+ summarizer?: {
8855
+ model?: string | undefined;
8856
+ providerOptions?: Record<string, any> | undefined;
8857
+ } | undefined;
8858
+ }, {
8859
+ base?: {
8860
+ model?: string | undefined;
8861
+ providerOptions?: Record<string, any> | undefined;
8862
+ } | undefined;
8863
+ structuredOutput?: {
8864
+ model?: string | undefined;
8865
+ providerOptions?: Record<string, any> | undefined;
8866
+ } | undefined;
8867
+ summarizer?: {
8868
+ model?: string | undefined;
8869
+ providerOptions?: Record<string, any> | undefined;
8870
+ } | undefined;
8871
+ }, z.core.$ZodTypeInternals<{
8872
+ base?: {
8873
+ model?: string | undefined;
8874
+ providerOptions?: Record<string, any> | undefined;
8875
+ } | undefined;
8876
+ structuredOutput?: {
8877
+ model?: string | undefined;
8878
+ providerOptions?: Record<string, any> | undefined;
8879
+ } | undefined;
8880
+ summarizer?: {
8881
+ model?: string | undefined;
8882
+ providerOptions?: Record<string, any> | undefined;
8883
+ } | undefined;
8884
+ }, {
8885
+ base?: {
8886
+ model?: string | undefined;
8887
+ providerOptions?: Record<string, any> | undefined;
8888
+ } | undefined;
8889
+ structuredOutput?: {
8890
+ model?: string | undefined;
8891
+ providerOptions?: Record<string, any> | undefined;
8892
+ } | undefined;
8893
+ summarizer?: {
8894
+ model?: string | undefined;
8895
+ providerOptions?: Record<string, any> | undefined;
8896
+ } | undefined;
8897
+ }>>>;
8898
+ stopWhen: z.ZodNullable<z.ZodType<{
8899
+ transferCountIs?: number | undefined;
8900
+ }, {
8901
+ transferCountIs?: number | undefined;
8902
+ }, z.core.$ZodTypeInternals<{
8903
+ transferCountIs?: number | undefined;
8904
+ }, {
8905
+ transferCountIs?: number | undefined;
8906
+ }>>>;
8907
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
8908
+ contextConfigId: z.ZodNullable<z.ZodString>;
8909
+ statusUpdates: z.ZodNullable<z.ZodType<{
8910
+ enabled?: boolean | undefined;
8911
+ numEvents?: number | undefined;
8912
+ timeInSeconds?: number | undefined;
8913
+ prompt?: string | undefined;
8914
+ statusComponents?: {
8915
+ type: string;
8916
+ description?: string | undefined;
8917
+ detailsSchema?: {
8918
+ type: "object";
8919
+ properties: Record<string, any>;
8920
+ required?: string[] | undefined;
8921
+ } | undefined;
8922
+ }[] | undefined;
8923
+ }, {
8924
+ enabled?: boolean | undefined;
8925
+ numEvents?: number | undefined;
8926
+ timeInSeconds?: number | undefined;
8927
+ prompt?: string | undefined;
8928
+ statusComponents?: {
8929
+ type: string;
8930
+ description?: string | undefined;
8931
+ detailsSchema?: {
8932
+ type: "object";
8933
+ properties: Record<string, any>;
8934
+ required?: string[] | undefined;
8935
+ } | undefined;
8936
+ }[] | undefined;
8937
+ }, z.core.$ZodTypeInternals<{
8938
+ enabled?: boolean | undefined;
8939
+ numEvents?: number | undefined;
8940
+ timeInSeconds?: number | undefined;
8941
+ prompt?: string | undefined;
8942
+ statusComponents?: {
8943
+ type: string;
8944
+ description?: string | undefined;
8945
+ detailsSchema?: {
8946
+ type: "object";
8947
+ properties: Record<string, any>;
8948
+ required?: string[] | undefined;
8949
+ } | undefined;
8950
+ }[] | undefined;
8951
+ }, {
8952
+ enabled?: boolean | undefined;
8953
+ numEvents?: number | undefined;
8954
+ timeInSeconds?: number | undefined;
8955
+ prompt?: string | undefined;
8956
+ statusComponents?: {
8957
+ type: string;
8958
+ description?: string | undefined;
8959
+ detailsSchema?: {
8960
+ type: "object";
8961
+ properties: Record<string, any>;
8962
+ required?: string[] | undefined;
8963
+ } | undefined;
8964
+ }[] | undefined;
8965
+ }>>>;
8966
+ }, z.core.$strip>;
8967
+ }, z.core.$strip>;
8968
+ declare const ToolResponse: z.ZodObject<{
8969
+ data: z.ZodObject<{
8970
+ id: z.ZodString;
8971
+ name: z.ZodString;
8972
+ description: z.ZodNullable<z.ZodString>;
8973
+ config: z.ZodType<{
8974
+ type: "mcp";
8975
+ mcp: ToolMcpConfig;
8976
+ }, {
8977
+ type: "mcp";
8978
+ mcp: ToolMcpConfig;
8979
+ }, z.core.$ZodTypeInternals<{
8980
+ type: "mcp";
8981
+ mcp: ToolMcpConfig;
8982
+ }, {
8983
+ type: "mcp";
8984
+ mcp: ToolMcpConfig;
8985
+ }>>;
8986
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
8987
+ createdAt: z.ZodString;
8988
+ updatedAt: z.ZodString;
8989
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
8990
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
8991
+ imageUrl: z.ZodNullable<z.ZodString>;
8992
+ lastError: z.ZodNullable<z.ZodString>;
8993
+ }, z.core.$strip>;
8994
+ }, z.core.$strip>;
8995
+ declare const ExternalAgentResponse: z.ZodObject<{
8996
+ data: z.ZodObject<{
8997
+ id: z.ZodString;
8998
+ name: z.ZodString;
8999
+ description: z.ZodString;
9000
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9001
+ createdAt: z.ZodString;
9002
+ updatedAt: z.ZodString;
9003
+ baseUrl: z.ZodString;
9004
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9005
+ }, z.core.$strip>;
9006
+ }, z.core.$strip>;
9007
+ declare const ContextConfigResponse: z.ZodObject<{
9008
+ data: z.ZodObject<{
9009
+ id: z.ZodString;
9010
+ createdAt: z.ZodString;
9011
+ updatedAt: z.ZodString;
9012
+ headersSchema: z.ZodOptional<z.ZodAny>;
9013
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
9014
+ }, z.core.$strip>;
9015
+ }, z.core.$strip>;
9016
+ declare const ApiKeyResponse: z.ZodObject<{
9017
+ data: z.ZodObject<{
9018
+ id: z.ZodString;
9019
+ name: z.ZodNullable<z.ZodString>;
9020
+ agentId: z.ZodString;
9021
+ publicId: z.ZodString;
9022
+ keyPrefix: z.ZodString;
9023
+ lastUsedAt: z.ZodNullable<z.ZodString>;
9024
+ expiresAt: z.ZodNullable<z.ZodString>;
9025
+ createdAt: z.ZodString;
9026
+ updatedAt: z.ZodString;
9027
+ }, {
9028
+ out: {};
9029
+ in: {};
9030
+ }>;
9031
+ }, z.core.$strip>;
9032
+ declare const CredentialReferenceResponse: z.ZodObject<{
9033
+ data: z.ZodObject<{
9034
+ id: z.ZodString;
9035
+ createdAt: z.ZodString;
9036
+ updatedAt: z.ZodString;
9037
+ credentialStoreId: z.ZodString;
9038
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9039
+ type: z.ZodEnum<{
9040
+ readonly memory: "memory";
9041
+ readonly keychain: "keychain";
9042
+ readonly nango: "nango";
9043
+ }>;
9044
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod.BuildSchema<"select", {
9045
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9046
+ name: "created_at";
9047
+ tableName: "tools";
9048
+ dataType: "string";
9049
+ columnType: "SQLiteText";
9050
+ data: string;
9051
+ driverParam: string;
9052
+ notNull: true;
9053
+ hasDefault: true;
9054
+ isPrimaryKey: false;
9055
+ isAutoincrement: false;
9056
+ hasRuntimeDefault: false;
9057
+ enumValues: [string, ...string[]];
9058
+ baseColumn: never;
9059
+ identity: undefined;
9060
+ generated: undefined;
9061
+ }, {}, {
9062
+ length: number | undefined;
9063
+ }>;
9064
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9065
+ name: "updated_at";
9066
+ tableName: "tools";
9067
+ dataType: "string";
9068
+ columnType: "SQLiteText";
9069
+ data: string;
9070
+ driverParam: string;
9071
+ notNull: true;
9072
+ hasDefault: true;
9073
+ isPrimaryKey: false;
9074
+ isAutoincrement: false;
9075
+ hasRuntimeDefault: false;
9076
+ enumValues: [string, ...string[]];
9077
+ baseColumn: never;
9078
+ identity: undefined;
9079
+ generated: undefined;
9080
+ }, {}, {
9081
+ length: number | undefined;
9082
+ }>;
9083
+ name: drizzle_orm_sqlite_core.SQLiteColumn<{
9084
+ name: "name";
9085
+ tableName: "tools";
9086
+ dataType: "string";
9087
+ columnType: "SQLiteText";
9088
+ data: string;
9089
+ driverParam: string;
9090
+ notNull: true;
9091
+ hasDefault: false;
9092
+ isPrimaryKey: false;
9093
+ isAutoincrement: false;
9094
+ hasRuntimeDefault: false;
9095
+ enumValues: [string, ...string[]];
9096
+ baseColumn: never;
9097
+ identity: undefined;
9098
+ generated: undefined;
9099
+ }, {}, {
9100
+ length: number | undefined;
9101
+ }>;
9102
+ description: drizzle_orm_sqlite_core.SQLiteColumn<{
9103
+ name: "description";
9104
+ tableName: "tools";
9105
+ dataType: "string";
9106
+ columnType: "SQLiteText";
9107
+ data: string;
9108
+ driverParam: string;
9109
+ notNull: false;
9110
+ hasDefault: false;
9111
+ isPrimaryKey: false;
9112
+ isAutoincrement: false;
9113
+ hasRuntimeDefault: false;
9114
+ enumValues: [string, ...string[]];
9115
+ baseColumn: never;
9116
+ identity: undefined;
9117
+ generated: undefined;
9118
+ }, {}, {
9119
+ length: number | undefined;
9120
+ }>;
9121
+ config: drizzle_orm_sqlite_core.SQLiteColumn<{
9122
+ name: "config";
9123
+ tableName: "tools";
9124
+ dataType: "json";
9125
+ columnType: "SQLiteBlobJson";
9126
+ data: {
9127
+ type: "mcp";
9128
+ mcp: ToolMcpConfig;
9129
+ };
9130
+ driverParam: Buffer<ArrayBufferLike>;
9131
+ notNull: true;
9132
+ hasDefault: false;
9133
+ isPrimaryKey: false;
9134
+ isAutoincrement: false;
9135
+ hasRuntimeDefault: false;
9136
+ enumValues: undefined;
9137
+ baseColumn: never;
9138
+ identity: undefined;
9139
+ generated: undefined;
9140
+ }, {}, {
9141
+ $type: {
9142
+ type: "mcp";
9143
+ mcp: ToolMcpConfig;
9144
+ };
9145
+ }>;
9146
+ credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
9147
+ name: "credential_reference_id";
9148
+ tableName: "tools";
9149
+ dataType: "string";
9150
+ columnType: "SQLiteText";
9151
+ data: string;
9152
+ driverParam: string;
9153
+ notNull: false;
9154
+ hasDefault: false;
9155
+ isPrimaryKey: false;
9156
+ isAutoincrement: false;
9157
+ hasRuntimeDefault: false;
9158
+ enumValues: [string, ...string[]];
9159
+ baseColumn: never;
9160
+ identity: undefined;
9161
+ generated: undefined;
9162
+ }, {}, {
9163
+ length: number | undefined;
9164
+ }>;
9165
+ headers: drizzle_orm_sqlite_core.SQLiteColumn<{
9166
+ name: "headers";
9167
+ tableName: "tools";
9168
+ dataType: "json";
9169
+ columnType: "SQLiteBlobJson";
9170
+ data: Record<string, string>;
9171
+ driverParam: Buffer<ArrayBufferLike>;
9172
+ notNull: false;
9173
+ hasDefault: false;
9174
+ isPrimaryKey: false;
9175
+ isAutoincrement: false;
9176
+ hasRuntimeDefault: false;
9177
+ enumValues: undefined;
9178
+ baseColumn: never;
9179
+ identity: undefined;
9180
+ generated: undefined;
9181
+ }, {}, {
9182
+ $type: Record<string, string>;
9183
+ }>;
9184
+ imageUrl: drizzle_orm_sqlite_core.SQLiteColumn<{
9185
+ name: "image_url";
9186
+ tableName: "tools";
9187
+ dataType: "string";
9188
+ columnType: "SQLiteText";
9189
+ data: string;
9190
+ driverParam: string;
9191
+ notNull: false;
9192
+ hasDefault: false;
9193
+ isPrimaryKey: false;
9194
+ isAutoincrement: false;
9195
+ hasRuntimeDefault: false;
9196
+ enumValues: [string, ...string[]];
9197
+ baseColumn: never;
9198
+ identity: undefined;
9199
+ generated: undefined;
9200
+ }, {}, {
9201
+ length: number | undefined;
9202
+ }>;
9203
+ capabilities: drizzle_orm_sqlite_core.SQLiteColumn<{
9204
+ name: "capabilities";
9205
+ tableName: "tools";
9206
+ dataType: "json";
9207
+ columnType: "SQLiteBlobJson";
9208
+ data: ToolServerCapabilities;
9209
+ driverParam: Buffer<ArrayBufferLike>;
9210
+ notNull: false;
9211
+ hasDefault: false;
9212
+ isPrimaryKey: false;
9213
+ isAutoincrement: false;
9214
+ hasRuntimeDefault: false;
9215
+ enumValues: undefined;
9216
+ baseColumn: never;
9217
+ identity: undefined;
9218
+ generated: undefined;
9219
+ }, {}, {
9220
+ $type: ToolServerCapabilities;
9221
+ }>;
9222
+ lastError: drizzle_orm_sqlite_core.SQLiteColumn<{
9223
+ name: "last_error";
9224
+ tableName: "tools";
9225
+ dataType: "string";
9226
+ columnType: "SQLiteText";
9227
+ data: string;
9228
+ driverParam: string;
9229
+ notNull: false;
9230
+ hasDefault: false;
9231
+ isPrimaryKey: false;
9232
+ isAutoincrement: false;
9233
+ hasRuntimeDefault: false;
9234
+ enumValues: [string, ...string[]];
9235
+ baseColumn: never;
9236
+ identity: undefined;
9237
+ generated: undefined;
9238
+ }, {}, {
9239
+ length: number | undefined;
9240
+ }>;
9241
+ projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
9242
+ name: "project_id";
9243
+ tableName: "tools";
9244
+ dataType: "string";
9245
+ columnType: "SQLiteText";
9246
+ data: string;
9247
+ driverParam: string;
9248
+ notNull: true;
9249
+ hasDefault: false;
9250
+ isPrimaryKey: false;
9251
+ isAutoincrement: false;
9252
+ hasRuntimeDefault: false;
9253
+ enumValues: [string, ...string[]];
9254
+ baseColumn: never;
9255
+ identity: undefined;
9256
+ generated: undefined;
9257
+ }, {}, {
9258
+ length: number | undefined;
9259
+ }>;
9260
+ tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
9261
+ name: "tenant_id";
9262
+ tableName: "tools";
9263
+ dataType: "string";
9264
+ columnType: "SQLiteText";
9265
+ data: string;
9266
+ driverParam: string;
9267
+ notNull: true;
9268
+ hasDefault: false;
9269
+ isPrimaryKey: false;
9270
+ isAutoincrement: false;
9271
+ hasRuntimeDefault: false;
9272
+ enumValues: [string, ...string[]];
9273
+ baseColumn: never;
9274
+ identity: undefined;
9275
+ generated: undefined;
9276
+ }, {}, {
9277
+ length: number | undefined;
9278
+ }>;
9279
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
9280
+ name: "id";
9281
+ tableName: "tools";
9282
+ dataType: "string";
9283
+ columnType: "SQLiteText";
9284
+ data: string;
9285
+ driverParam: string;
9286
+ notNull: true;
9287
+ hasDefault: false;
9288
+ isPrimaryKey: false;
9289
+ isAutoincrement: false;
9290
+ hasRuntimeDefault: false;
9291
+ enumValues: [string, ...string[]];
9292
+ baseColumn: never;
9293
+ identity: undefined;
9294
+ generated: undefined;
9295
+ }, {}, {
9296
+ length: number | undefined;
9297
+ }>;
9298
+ }, undefined, undefined>>>;
9299
+ }, z.core.$strip>;
9300
+ }, z.core.$strip>;
9301
+ declare const FunctionResponse: z.ZodObject<{
9302
+ data: z.ZodObject<{
9303
+ id: z.ZodString;
9304
+ createdAt: z.ZodString;
9305
+ updatedAt: z.ZodString;
9306
+ inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9307
+ executeCode: z.ZodString;
9308
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9309
+ }, z.core.$strip>;
9310
+ }, z.core.$strip>;
9311
+ declare const FunctionToolResponse: z.ZodObject<{
9312
+ data: z.ZodObject<{
9313
+ id: z.ZodString;
9314
+ name: z.ZodString;
9315
+ description: z.ZodNullable<z.ZodString>;
9316
+ agentId: z.ZodString;
9317
+ createdAt: z.ZodString;
9318
+ updatedAt: z.ZodString;
9319
+ functionId: z.ZodString;
9320
+ }, z.core.$strip>;
9321
+ }, z.core.$strip>;
9322
+ declare const DataComponentResponse: z.ZodObject<{
9323
+ data: z.ZodObject<{
9324
+ id: z.ZodString;
9325
+ name: z.ZodString;
9326
+ description: z.ZodString;
9327
+ createdAt: z.ZodString;
9328
+ updatedAt: z.ZodString;
9329
+ props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9330
+ }, z.core.$strip>;
9331
+ }, z.core.$strip>;
9332
+ declare const ArtifactComponentResponse: z.ZodObject<{
9333
+ data: z.ZodObject<{
9334
+ id: z.ZodString;
9335
+ name: z.ZodString;
9336
+ description: z.ZodString;
9337
+ createdAt: z.ZodString;
9338
+ updatedAt: z.ZodString;
9339
+ props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
9340
+ }, z.core.$strip>;
9341
+ }, z.core.$strip>;
9342
+ declare const SubAgentRelationResponse: z.ZodObject<{
9343
+ data: z.ZodObject<{
9344
+ id: z.ZodString;
9345
+ createdAt: z.ZodString;
9346
+ updatedAt: z.ZodString;
9347
+ sourceSubAgentId: z.ZodString;
9348
+ targetSubAgentId: z.ZodNullable<z.ZodString>;
9349
+ externalSubAgentId: z.ZodNullable<z.ZodString>;
9350
+ relationType: z.ZodNullable<z.ZodString>;
9351
+ }, z.core.$strip>;
9352
+ }, z.core.$strip>;
9353
+ declare const SubAgentToolRelationResponse: z.ZodObject<{
9354
+ data: z.ZodObject<{
9355
+ id: z.ZodString;
9356
+ createdAt: z.ZodString;
9357
+ updatedAt: z.ZodString;
9358
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9359
+ toolId: z.ZodString;
9360
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
9361
+ subAgentId: z.ZodString;
9362
+ }, z.core.$strip>;
9363
+ }, z.core.$strip>;
9364
+ declare const ConversationResponse: z.ZodObject<{
9365
+ data: z.ZodObject<{
9366
+ id: z.ZodString;
9367
+ title: z.ZodNullable<z.ZodString>;
9368
+ createdAt: z.ZodString;
9369
+ updatedAt: z.ZodString;
9370
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
9371
+ userId: z.ZodNullable<z.ZodString>;
9372
+ activeSubAgentId: z.ZodString;
9373
+ lastContextResolution: z.ZodNullable<z.ZodString>;
9374
+ }, z.core.$strip>;
9375
+ }, z.core.$strip>;
9376
+ declare const MessageResponse: z.ZodObject<{
9377
+ data: z.ZodObject<{
9378
+ id: z.ZodString;
9379
+ createdAt: z.ZodString;
9380
+ updatedAt: z.ZodString;
9381
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
9382
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
9383
+ conversationId: z.ZodString;
9384
+ role: z.ZodString;
9385
+ fromSubAgentId: z.ZodNullable<z.ZodString>;
9386
+ toSubAgentId: z.ZodNullable<z.ZodString>;
9387
+ fromExternalAgentId: z.ZodNullable<z.ZodString>;
9388
+ toExternalAgentId: z.ZodNullable<z.ZodString>;
9389
+ visibility: z.ZodString;
9390
+ messageType: z.ZodString;
9391
+ taskId: z.ZodNullable<z.ZodString>;
9392
+ parentMessageId: z.ZodNullable<z.ZodString>;
9393
+ a2aTaskId: z.ZodNullable<z.ZodString>;
9394
+ a2aSessionId: z.ZodNullable<z.ZodString>;
9395
+ }, z.core.$strip>;
9396
+ }, z.core.$strip>;
9397
+ declare const ProjectListResponse: z.ZodObject<{
9398
+ data: z.ZodArray<z.ZodObject<{
9399
+ id: z.ZodString;
9400
+ name: z.ZodString;
9401
+ description: z.ZodString;
9402
+ createdAt: z.ZodString;
9403
+ updatedAt: z.ZodString;
9404
+ models: z.ZodNullable<z.ZodType<{
9405
+ base: {
9406
+ model?: string | undefined;
9407
+ providerOptions?: Record<string, any> | undefined;
9408
+ };
9409
+ structuredOutput?: {
9410
+ model?: string | undefined;
9411
+ providerOptions?: Record<string, any> | undefined;
9412
+ } | undefined;
9413
+ summarizer?: {
9414
+ model?: string | undefined;
9415
+ providerOptions?: Record<string, any> | undefined;
9416
+ } | undefined;
9417
+ }, {
9418
+ base: {
9419
+ model?: string | undefined;
9420
+ providerOptions?: Record<string, any> | undefined;
9421
+ };
9422
+ structuredOutput?: {
9423
+ model?: string | undefined;
9424
+ providerOptions?: Record<string, any> | undefined;
9425
+ } | undefined;
9426
+ summarizer?: {
9427
+ model?: string | undefined;
9428
+ providerOptions?: Record<string, any> | undefined;
9429
+ } | undefined;
9430
+ }, z.core.$ZodTypeInternals<{
9431
+ base: {
9432
+ model?: string | undefined;
9433
+ providerOptions?: Record<string, any> | undefined;
9434
+ };
9435
+ structuredOutput?: {
9436
+ model?: string | undefined;
9437
+ providerOptions?: Record<string, any> | undefined;
9438
+ } | undefined;
9439
+ summarizer?: {
9440
+ model?: string | undefined;
9441
+ providerOptions?: Record<string, any> | undefined;
9442
+ } | undefined;
9443
+ }, {
9444
+ base: {
9445
+ model?: string | undefined;
9446
+ providerOptions?: Record<string, any> | undefined;
9447
+ };
9448
+ structuredOutput?: {
9449
+ model?: string | undefined;
9450
+ providerOptions?: Record<string, any> | undefined;
9451
+ } | undefined;
9452
+ summarizer?: {
9453
+ model?: string | undefined;
9454
+ providerOptions?: Record<string, any> | undefined;
9455
+ } | undefined;
9456
+ }>>>;
9457
+ stopWhen: z.ZodNullable<z.ZodType<{
9458
+ transferCountIs?: number | undefined;
9459
+ stepCountIs?: number | undefined;
9460
+ }, {
9461
+ transferCountIs?: number | undefined;
9462
+ stepCountIs?: number | undefined;
9463
+ }, z.core.$ZodTypeInternals<{
9464
+ transferCountIs?: number | undefined;
9465
+ stepCountIs?: number | undefined;
9466
+ }, {
9467
+ transferCountIs?: number | undefined;
9468
+ stepCountIs?: number | undefined;
9469
+ }>>>;
9470
+ sandboxConfig: z.ZodNullable<z.ZodType<{
9471
+ provider: "vercel" | "local";
9472
+ runtime: "node22" | "typescript";
9473
+ timeout?: number;
9474
+ vcpus?: number;
9475
+ }, {
9476
+ provider: "vercel" | "local";
9477
+ runtime: "node22" | "typescript";
9478
+ timeout?: number;
9479
+ vcpus?: number;
9480
+ }, z.core.$ZodTypeInternals<{
9481
+ provider: "vercel" | "local";
9482
+ runtime: "node22" | "typescript";
9483
+ timeout?: number;
9484
+ vcpus?: number;
9485
+ }, {
9486
+ provider: "vercel" | "local";
9487
+ runtime: "node22" | "typescript";
9488
+ timeout?: number;
9489
+ vcpus?: number;
9490
+ }>>>;
9491
+ }, {
9492
+ out: {};
9493
+ in: {};
9494
+ }>>;
9495
+ pagination: z.ZodObject<{
9496
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9497
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9498
+ total: z.ZodNumber;
9499
+ pages: z.ZodNumber;
9500
+ }, z.core.$strip>;
9501
+ }, z.core.$strip>;
9502
+ declare const SubAgentListResponse: z.ZodObject<{
9503
+ data: z.ZodArray<z.ZodObject<{
9504
+ id: z.ZodString;
9505
+ name: z.ZodString;
9506
+ description: z.ZodString;
9507
+ prompt: z.ZodString;
9508
+ createdAt: z.ZodString;
9509
+ updatedAt: z.ZodString;
9510
+ models: z.ZodNullable<z.ZodType<{
9511
+ base?: {
9512
+ model?: string | undefined;
9513
+ providerOptions?: Record<string, any> | undefined;
9514
+ } | undefined;
9515
+ structuredOutput?: {
9516
+ model?: string | undefined;
9517
+ providerOptions?: Record<string, any> | undefined;
9518
+ } | undefined;
9519
+ summarizer?: {
9520
+ model?: string | undefined;
9521
+ providerOptions?: Record<string, any> | undefined;
9522
+ } | undefined;
9523
+ }, {
9524
+ base?: {
9525
+ model?: string | undefined;
9526
+ providerOptions?: Record<string, any> | undefined;
9527
+ } | undefined;
9528
+ structuredOutput?: {
9529
+ model?: string | undefined;
9530
+ providerOptions?: Record<string, any> | undefined;
9531
+ } | undefined;
9532
+ summarizer?: {
9533
+ model?: string | undefined;
9534
+ providerOptions?: Record<string, any> | undefined;
9535
+ } | undefined;
9536
+ }, z.core.$ZodTypeInternals<{
9537
+ base?: {
9538
+ model?: string | undefined;
9539
+ providerOptions?: Record<string, any> | undefined;
9540
+ } | undefined;
9541
+ structuredOutput?: {
9542
+ model?: string | undefined;
9543
+ providerOptions?: Record<string, any> | undefined;
9544
+ } | undefined;
9545
+ summarizer?: {
9546
+ model?: string | undefined;
9547
+ providerOptions?: Record<string, any> | undefined;
9548
+ } | undefined;
9549
+ }, {
9550
+ base?: {
9551
+ model?: string | undefined;
9552
+ providerOptions?: Record<string, any> | undefined;
9553
+ } | undefined;
9554
+ structuredOutput?: {
9555
+ model?: string | undefined;
9556
+ providerOptions?: Record<string, any> | undefined;
9557
+ } | undefined;
9558
+ summarizer?: {
9559
+ model?: string | undefined;
9560
+ providerOptions?: Record<string, any> | undefined;
9561
+ } | undefined;
9562
+ }>>>;
9563
+ stopWhen: z.ZodNullable<z.ZodType<{
9564
+ stepCountIs?: number | undefined;
9565
+ }, {
9566
+ stepCountIs?: number | undefined;
9567
+ }, z.core.$ZodTypeInternals<{
9568
+ stepCountIs?: number | undefined;
9569
+ }, {
9570
+ stepCountIs?: number | undefined;
9571
+ }>>>;
9572
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
9573
+ }, z.core.$strip>>;
9574
+ pagination: z.ZodObject<{
9575
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9576
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9577
+ total: z.ZodNumber;
9578
+ pages: z.ZodNumber;
9579
+ }, z.core.$strip>;
9580
+ }, z.core.$strip>;
9581
+ declare const AgentListResponse: z.ZodObject<{
9582
+ data: z.ZodArray<z.ZodObject<{
9583
+ id: z.ZodString;
9584
+ name: z.ZodString;
9585
+ description: z.ZodNullable<z.ZodString>;
9586
+ prompt: z.ZodNullable<z.ZodString>;
9587
+ createdAt: z.ZodString;
9588
+ updatedAt: z.ZodString;
9589
+ models: z.ZodNullable<z.ZodType<{
9590
+ base?: {
9591
+ model?: string | undefined;
9592
+ providerOptions?: Record<string, any> | undefined;
9593
+ } | undefined;
9594
+ structuredOutput?: {
9595
+ model?: string | undefined;
9596
+ providerOptions?: Record<string, any> | undefined;
9597
+ } | undefined;
9598
+ summarizer?: {
9599
+ model?: string | undefined;
9600
+ providerOptions?: Record<string, any> | undefined;
9601
+ } | undefined;
9602
+ }, {
9603
+ base?: {
9604
+ model?: string | undefined;
9605
+ providerOptions?: Record<string, any> | undefined;
9606
+ } | undefined;
9607
+ structuredOutput?: {
9608
+ model?: string | undefined;
9609
+ providerOptions?: Record<string, any> | undefined;
9610
+ } | undefined;
9611
+ summarizer?: {
9612
+ model?: string | undefined;
9613
+ providerOptions?: Record<string, any> | undefined;
9614
+ } | undefined;
9615
+ }, z.core.$ZodTypeInternals<{
9616
+ base?: {
9617
+ model?: string | undefined;
9618
+ providerOptions?: Record<string, any> | undefined;
9619
+ } | undefined;
9620
+ structuredOutput?: {
9621
+ model?: string | undefined;
9622
+ providerOptions?: Record<string, any> | undefined;
9623
+ } | undefined;
9624
+ summarizer?: {
9625
+ model?: string | undefined;
9626
+ providerOptions?: Record<string, any> | undefined;
9627
+ } | undefined;
9628
+ }, {
9629
+ base?: {
9630
+ model?: string | undefined;
9631
+ providerOptions?: Record<string, any> | undefined;
9632
+ } | undefined;
9633
+ structuredOutput?: {
9634
+ model?: string | undefined;
9635
+ providerOptions?: Record<string, any> | undefined;
9636
+ } | undefined;
9637
+ summarizer?: {
9638
+ model?: string | undefined;
9639
+ providerOptions?: Record<string, any> | undefined;
9640
+ } | undefined;
9641
+ }>>>;
9642
+ stopWhen: z.ZodNullable<z.ZodType<{
9643
+ transferCountIs?: number | undefined;
9644
+ }, {
9645
+ transferCountIs?: number | undefined;
9646
+ }, z.core.$ZodTypeInternals<{
9647
+ transferCountIs?: number | undefined;
9648
+ }, {
9649
+ transferCountIs?: number | undefined;
9650
+ }>>>;
9651
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
9652
+ contextConfigId: z.ZodNullable<z.ZodString>;
9653
+ statusUpdates: z.ZodNullable<z.ZodType<{
9654
+ enabled?: boolean | undefined;
9655
+ numEvents?: number | undefined;
9656
+ timeInSeconds?: number | undefined;
9657
+ prompt?: string | undefined;
9658
+ statusComponents?: {
9659
+ type: string;
9660
+ description?: string | undefined;
9661
+ detailsSchema?: {
9662
+ type: "object";
9663
+ properties: Record<string, any>;
9664
+ required?: string[] | undefined;
9665
+ } | undefined;
9666
+ }[] | undefined;
9667
+ }, {
9668
+ enabled?: boolean | undefined;
9669
+ numEvents?: number | undefined;
9670
+ timeInSeconds?: number | undefined;
9671
+ prompt?: string | undefined;
9672
+ statusComponents?: {
9673
+ type: string;
9674
+ description?: string | undefined;
9675
+ detailsSchema?: {
9676
+ type: "object";
9677
+ properties: Record<string, any>;
9678
+ required?: string[] | undefined;
9679
+ } | undefined;
9680
+ }[] | undefined;
9681
+ }, z.core.$ZodTypeInternals<{
9682
+ enabled?: boolean | undefined;
9683
+ numEvents?: number | undefined;
9684
+ timeInSeconds?: number | undefined;
9685
+ prompt?: string | undefined;
9686
+ statusComponents?: {
9687
+ type: string;
9688
+ description?: string | undefined;
9689
+ detailsSchema?: {
9690
+ type: "object";
9691
+ properties: Record<string, any>;
9692
+ required?: string[] | undefined;
9693
+ } | undefined;
9694
+ }[] | undefined;
9695
+ }, {
9696
+ enabled?: boolean | undefined;
9697
+ numEvents?: number | undefined;
9698
+ timeInSeconds?: number | undefined;
9699
+ prompt?: string | undefined;
9700
+ statusComponents?: {
9701
+ type: string;
9702
+ description?: string | undefined;
9703
+ detailsSchema?: {
9704
+ type: "object";
9705
+ properties: Record<string, any>;
9706
+ required?: string[] | undefined;
9707
+ } | undefined;
9708
+ }[] | undefined;
9709
+ }>>>;
9710
+ }, z.core.$strip>>;
9711
+ pagination: z.ZodObject<{
9712
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9713
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9714
+ total: z.ZodNumber;
9715
+ pages: z.ZodNumber;
9716
+ }, z.core.$strip>;
9717
+ }, z.core.$strip>;
9718
+ declare const ToolListResponse: z.ZodObject<{
9719
+ data: z.ZodArray<z.ZodObject<{
9720
+ id: z.ZodString;
9721
+ name: z.ZodString;
9722
+ description: z.ZodNullable<z.ZodString>;
9723
+ config: z.ZodType<{
9724
+ type: "mcp";
9725
+ mcp: ToolMcpConfig;
9726
+ }, {
9727
+ type: "mcp";
9728
+ mcp: ToolMcpConfig;
9729
+ }, z.core.$ZodTypeInternals<{
9730
+ type: "mcp";
9731
+ mcp: ToolMcpConfig;
9732
+ }, {
9733
+ type: "mcp";
9734
+ mcp: ToolMcpConfig;
9735
+ }>>;
9736
+ credentialReferenceId: z.ZodNullable<z.ZodString>;
9737
+ createdAt: z.ZodString;
9738
+ updatedAt: z.ZodString;
9739
+ headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
9740
+ capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
9741
+ imageUrl: z.ZodNullable<z.ZodString>;
9742
+ lastError: z.ZodNullable<z.ZodString>;
9743
+ }, z.core.$strip>>;
9744
+ pagination: z.ZodObject<{
9745
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9746
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9747
+ total: z.ZodNumber;
9748
+ pages: z.ZodNumber;
9749
+ }, z.core.$strip>;
9750
+ }, z.core.$strip>;
9751
+ declare const ExternalAgentListResponse: z.ZodObject<{
9752
+ data: z.ZodArray<z.ZodObject<{
9753
+ id: z.ZodString;
9754
+ name: z.ZodString;
9755
+ description: z.ZodString;
9756
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9757
+ createdAt: z.ZodString;
9758
+ updatedAt: z.ZodString;
9759
+ baseUrl: z.ZodString;
9760
+ headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
9761
+ }, z.core.$strip>>;
9762
+ pagination: z.ZodObject<{
9763
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9764
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9765
+ total: z.ZodNumber;
9766
+ pages: z.ZodNumber;
9767
+ }, z.core.$strip>;
9768
+ }, z.core.$strip>;
9769
+ declare const ContextConfigListResponse: z.ZodObject<{
9770
+ data: z.ZodArray<z.ZodObject<{
9771
+ id: z.ZodString;
9772
+ createdAt: z.ZodString;
9773
+ updatedAt: z.ZodString;
9774
+ headersSchema: z.ZodOptional<z.ZodAny>;
9775
+ contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
9776
+ }, z.core.$strip>>;
9777
+ pagination: z.ZodObject<{
9778
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9779
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9780
+ total: z.ZodNumber;
9781
+ pages: z.ZodNumber;
9782
+ }, z.core.$strip>;
9783
+ }, z.core.$strip>;
9784
+ declare const ApiKeyListResponse: z.ZodObject<{
9785
+ data: z.ZodArray<z.ZodObject<{
9786
+ id: z.ZodString;
9787
+ name: z.ZodNullable<z.ZodString>;
9788
+ agentId: z.ZodString;
9789
+ publicId: z.ZodString;
9790
+ keyPrefix: z.ZodString;
9791
+ lastUsedAt: z.ZodNullable<z.ZodString>;
9792
+ expiresAt: z.ZodNullable<z.ZodString>;
9793
+ createdAt: z.ZodString;
9794
+ updatedAt: z.ZodString;
9795
+ }, {
9796
+ out: {};
9797
+ in: {};
9798
+ }>>;
9799
+ pagination: z.ZodObject<{
9800
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9801
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
9802
+ total: z.ZodNumber;
9803
+ pages: z.ZodNumber;
9804
+ }, z.core.$strip>;
9805
+ }, z.core.$strip>;
9806
+ declare const CredentialReferenceListResponse: z.ZodObject<{
9807
+ data: z.ZodArray<z.ZodObject<{
9808
+ id: z.ZodString;
9809
+ createdAt: z.ZodString;
9810
+ updatedAt: z.ZodString;
9811
+ credentialStoreId: z.ZodString;
9812
+ retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
9813
+ type: z.ZodEnum<{
9814
+ readonly memory: "memory";
9815
+ readonly keychain: "keychain";
9816
+ readonly nango: "nango";
9817
+ }>;
9818
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod.BuildSchema<"select", {
9819
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9820
+ name: "created_at";
9821
+ tableName: "tools";
9822
+ dataType: "string";
9823
+ columnType: "SQLiteText";
9824
+ data: string;
9825
+ driverParam: string;
9826
+ notNull: true;
9827
+ hasDefault: true;
9828
+ isPrimaryKey: false;
9829
+ isAutoincrement: false;
9830
+ hasRuntimeDefault: false;
9831
+ enumValues: [string, ...string[]];
9832
+ baseColumn: never;
9833
+ identity: undefined;
9834
+ generated: undefined;
9835
+ }, {}, {
9836
+ length: number | undefined;
9837
+ }>;
9838
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9839
+ name: "updated_at";
9840
+ tableName: "tools";
9841
+ dataType: "string";
9842
+ columnType: "SQLiteText";
9843
+ data: string;
9844
+ driverParam: string;
9845
+ notNull: true;
9846
+ hasDefault: true;
9847
+ isPrimaryKey: false;
9848
+ isAutoincrement: false;
9849
+ hasRuntimeDefault: false;
9850
+ enumValues: [string, ...string[]];
9851
+ baseColumn: never;
9852
+ identity: undefined;
9853
+ generated: undefined;
9854
+ }, {}, {
9855
+ length: number | undefined;
9856
+ }>;
9857
+ name: drizzle_orm_sqlite_core.SQLiteColumn<{
9858
+ name: "name";
9859
+ tableName: "tools";
9860
+ dataType: "string";
9861
+ columnType: "SQLiteText";
9862
+ data: string;
9863
+ driverParam: string;
9864
+ notNull: true;
9865
+ hasDefault: false;
9866
+ isPrimaryKey: false;
9867
+ isAutoincrement: false;
9868
+ hasRuntimeDefault: false;
9869
+ enumValues: [string, ...string[]];
9870
+ baseColumn: never;
9871
+ identity: undefined;
9872
+ generated: undefined;
9873
+ }, {}, {
9874
+ length: number | undefined;
9875
+ }>;
9876
+ description: drizzle_orm_sqlite_core.SQLiteColumn<{
9877
+ name: "description";
9878
+ tableName: "tools";
9879
+ dataType: "string";
9880
+ columnType: "SQLiteText";
9881
+ data: string;
9882
+ driverParam: string;
9883
+ notNull: false;
9884
+ hasDefault: false;
9885
+ isPrimaryKey: false;
9886
+ isAutoincrement: false;
9887
+ hasRuntimeDefault: false;
9888
+ enumValues: [string, ...string[]];
9889
+ baseColumn: never;
9890
+ identity: undefined;
9891
+ generated: undefined;
9892
+ }, {}, {
9893
+ length: number | undefined;
9894
+ }>;
9895
+ config: drizzle_orm_sqlite_core.SQLiteColumn<{
9896
+ name: "config";
9897
+ tableName: "tools";
9898
+ dataType: "json";
9899
+ columnType: "SQLiteBlobJson";
9900
+ data: {
9901
+ type: "mcp";
9902
+ mcp: ToolMcpConfig;
9903
+ };
9904
+ driverParam: Buffer<ArrayBufferLike>;
9905
+ notNull: true;
9906
+ hasDefault: false;
9907
+ isPrimaryKey: false;
9908
+ isAutoincrement: false;
9909
+ hasRuntimeDefault: false;
9910
+ enumValues: undefined;
9911
+ baseColumn: never;
9912
+ identity: undefined;
9913
+ generated: undefined;
9914
+ }, {}, {
9915
+ $type: {
9916
+ type: "mcp";
9917
+ mcp: ToolMcpConfig;
9918
+ };
9919
+ }>;
9920
+ credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
9921
+ name: "credential_reference_id";
9922
+ tableName: "tools";
9923
+ dataType: "string";
9924
+ columnType: "SQLiteText";
9925
+ data: string;
9926
+ driverParam: string;
9927
+ notNull: false;
9928
+ hasDefault: false;
9929
+ isPrimaryKey: false;
9930
+ isAutoincrement: false;
9931
+ hasRuntimeDefault: false;
9932
+ enumValues: [string, ...string[]];
9933
+ baseColumn: never;
9934
+ identity: undefined;
9935
+ generated: undefined;
9936
+ }, {}, {
9937
+ length: number | undefined;
9938
+ }>;
9939
+ headers: drizzle_orm_sqlite_core.SQLiteColumn<{
9940
+ name: "headers";
9941
+ tableName: "tools";
9942
+ dataType: "json";
9943
+ columnType: "SQLiteBlobJson";
9944
+ data: Record<string, string>;
9945
+ driverParam: Buffer<ArrayBufferLike>;
9946
+ notNull: false;
9947
+ hasDefault: false;
9948
+ isPrimaryKey: false;
9949
+ isAutoincrement: false;
9950
+ hasRuntimeDefault: false;
9951
+ enumValues: undefined;
9952
+ baseColumn: never;
9953
+ identity: undefined;
9954
+ generated: undefined;
9955
+ }, {}, {
9956
+ $type: Record<string, string>;
9957
+ }>;
9958
+ imageUrl: drizzle_orm_sqlite_core.SQLiteColumn<{
9959
+ name: "image_url";
9960
+ tableName: "tools";
9961
+ dataType: "string";
9962
+ columnType: "SQLiteText";
9963
+ data: string;
9964
+ driverParam: string;
9965
+ notNull: false;
9966
+ hasDefault: false;
9967
+ isPrimaryKey: false;
9968
+ isAutoincrement: false;
9969
+ hasRuntimeDefault: false;
9970
+ enumValues: [string, ...string[]];
9971
+ baseColumn: never;
9972
+ identity: undefined;
9973
+ generated: undefined;
9974
+ }, {}, {
9975
+ length: number | undefined;
9976
+ }>;
9977
+ capabilities: drizzle_orm_sqlite_core.SQLiteColumn<{
9978
+ name: "capabilities";
9979
+ tableName: "tools";
9980
+ dataType: "json";
9981
+ columnType: "SQLiteBlobJson";
9982
+ data: ToolServerCapabilities;
9983
+ driverParam: Buffer<ArrayBufferLike>;
9984
+ notNull: false;
9985
+ hasDefault: false;
9986
+ isPrimaryKey: false;
9987
+ isAutoincrement: false;
9988
+ hasRuntimeDefault: false;
9989
+ enumValues: undefined;
9990
+ baseColumn: never;
9991
+ identity: undefined;
9992
+ generated: undefined;
9993
+ }, {}, {
9994
+ $type: ToolServerCapabilities;
9995
+ }>;
9996
+ lastError: drizzle_orm_sqlite_core.SQLiteColumn<{
9997
+ name: "last_error";
9998
+ tableName: "tools";
9999
+ dataType: "string";
10000
+ columnType: "SQLiteText";
10001
+ data: string;
10002
+ driverParam: string;
10003
+ notNull: false;
10004
+ hasDefault: false;
10005
+ isPrimaryKey: false;
10006
+ isAutoincrement: false;
10007
+ hasRuntimeDefault: false;
10008
+ enumValues: [string, ...string[]];
10009
+ baseColumn: never;
10010
+ identity: undefined;
10011
+ generated: undefined;
10012
+ }, {}, {
10013
+ length: number | undefined;
10014
+ }>;
10015
+ projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
10016
+ name: "project_id";
10017
+ tableName: "tools";
10018
+ dataType: "string";
10019
+ columnType: "SQLiteText";
10020
+ data: string;
10021
+ driverParam: string;
10022
+ notNull: true;
10023
+ hasDefault: false;
10024
+ isPrimaryKey: false;
10025
+ isAutoincrement: false;
10026
+ hasRuntimeDefault: false;
10027
+ enumValues: [string, ...string[]];
10028
+ baseColumn: never;
10029
+ identity: undefined;
10030
+ generated: undefined;
10031
+ }, {}, {
10032
+ length: number | undefined;
10033
+ }>;
10034
+ tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
10035
+ name: "tenant_id";
10036
+ tableName: "tools";
10037
+ dataType: "string";
10038
+ columnType: "SQLiteText";
10039
+ data: string;
10040
+ driverParam: string;
10041
+ notNull: true;
10042
+ hasDefault: false;
10043
+ isPrimaryKey: false;
10044
+ isAutoincrement: false;
10045
+ hasRuntimeDefault: false;
10046
+ enumValues: [string, ...string[]];
10047
+ baseColumn: never;
10048
+ identity: undefined;
10049
+ generated: undefined;
10050
+ }, {}, {
10051
+ length: number | undefined;
10052
+ }>;
10053
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
10054
+ name: "id";
10055
+ tableName: "tools";
10056
+ dataType: "string";
10057
+ columnType: "SQLiteText";
10058
+ data: string;
10059
+ driverParam: string;
10060
+ notNull: true;
10061
+ hasDefault: false;
10062
+ isPrimaryKey: false;
10063
+ isAutoincrement: false;
10064
+ hasRuntimeDefault: false;
10065
+ enumValues: [string, ...string[]];
10066
+ baseColumn: never;
10067
+ identity: undefined;
10068
+ generated: undefined;
10069
+ }, {}, {
10070
+ length: number | undefined;
10071
+ }>;
10072
+ }, undefined, undefined>>>;
10073
+ }, z.core.$strip>>;
10074
+ pagination: z.ZodObject<{
10075
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10076
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10077
+ total: z.ZodNumber;
10078
+ pages: z.ZodNumber;
10079
+ }, z.core.$strip>;
10080
+ }, z.core.$strip>;
10081
+ declare const FunctionListResponse: z.ZodObject<{
10082
+ data: z.ZodArray<z.ZodObject<{
10083
+ id: z.ZodString;
10084
+ createdAt: z.ZodString;
10085
+ updatedAt: z.ZodString;
10086
+ inputSchema: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10087
+ executeCode: z.ZodString;
10088
+ dependencies: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
10089
+ }, z.core.$strip>>;
10090
+ pagination: z.ZodObject<{
10091
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10092
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10093
+ total: z.ZodNumber;
10094
+ pages: z.ZodNumber;
10095
+ }, z.core.$strip>;
10096
+ }, z.core.$strip>;
10097
+ declare const FunctionToolListResponse: z.ZodObject<{
10098
+ data: z.ZodArray<z.ZodObject<{
10099
+ id: z.ZodString;
10100
+ name: z.ZodString;
10101
+ description: z.ZodNullable<z.ZodString>;
10102
+ agentId: z.ZodString;
10103
+ createdAt: z.ZodString;
10104
+ updatedAt: z.ZodString;
10105
+ functionId: z.ZodString;
10106
+ }, z.core.$strip>>;
10107
+ pagination: z.ZodObject<{
10108
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10109
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10110
+ total: z.ZodNumber;
10111
+ pages: z.ZodNumber;
10112
+ }, z.core.$strip>;
10113
+ }, z.core.$strip>;
10114
+ declare const DataComponentListResponse: z.ZodObject<{
10115
+ data: z.ZodArray<z.ZodObject<{
10116
+ id: z.ZodString;
10117
+ name: z.ZodString;
10118
+ description: z.ZodString;
10119
+ createdAt: z.ZodString;
10120
+ updatedAt: z.ZodString;
10121
+ props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10122
+ }, z.core.$strip>>;
10123
+ pagination: z.ZodObject<{
10124
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10125
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10126
+ total: z.ZodNumber;
10127
+ pages: z.ZodNumber;
10128
+ }, z.core.$strip>;
10129
+ }, z.core.$strip>;
10130
+ declare const ArtifactComponentListResponse: z.ZodObject<{
10131
+ data: z.ZodArray<z.ZodObject<{
10132
+ id: z.ZodString;
10133
+ name: z.ZodString;
10134
+ description: z.ZodString;
10135
+ createdAt: z.ZodString;
10136
+ updatedAt: z.ZodString;
10137
+ props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
10138
+ }, z.core.$strip>>;
10139
+ pagination: z.ZodObject<{
10140
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10141
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10142
+ total: z.ZodNumber;
10143
+ pages: z.ZodNumber;
10144
+ }, z.core.$strip>;
10145
+ }, z.core.$strip>;
10146
+ declare const SubAgentRelationListResponse: z.ZodObject<{
10147
+ data: z.ZodArray<z.ZodObject<{
10148
+ id: z.ZodString;
10149
+ createdAt: z.ZodString;
10150
+ updatedAt: z.ZodString;
10151
+ sourceSubAgentId: z.ZodString;
10152
+ targetSubAgentId: z.ZodNullable<z.ZodString>;
10153
+ externalSubAgentId: z.ZodNullable<z.ZodString>;
10154
+ relationType: z.ZodNullable<z.ZodString>;
10155
+ }, z.core.$strip>>;
10156
+ pagination: z.ZodObject<{
10157
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10158
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10159
+ total: z.ZodNumber;
10160
+ pages: z.ZodNumber;
10161
+ }, z.core.$strip>;
10162
+ }, z.core.$strip>;
10163
+ declare const SubAgentToolRelationListResponse: z.ZodObject<{
10164
+ data: z.ZodArray<z.ZodObject<{
10165
+ id: z.ZodString;
10166
+ createdAt: z.ZodString;
10167
+ updatedAt: z.ZodString;
10168
+ headers: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10169
+ toolId: z.ZodString;
10170
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
10171
+ subAgentId: z.ZodString;
10172
+ }, z.core.$strip>>;
10173
+ pagination: z.ZodObject<{
10174
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10175
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10176
+ total: z.ZodNumber;
10177
+ pages: z.ZodNumber;
10178
+ }, z.core.$strip>;
10179
+ }, z.core.$strip>;
10180
+ declare const ConversationListResponse: z.ZodObject<{
10181
+ data: z.ZodArray<z.ZodObject<{
10182
+ id: z.ZodString;
10183
+ title: z.ZodNullable<z.ZodString>;
10184
+ createdAt: z.ZodString;
10185
+ updatedAt: z.ZodString;
10186
+ metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
10187
+ userId: z.ZodNullable<z.ZodString>;
10188
+ activeSubAgentId: z.ZodString;
10189
+ lastContextResolution: z.ZodNullable<z.ZodString>;
10190
+ }, z.core.$strip>>;
10191
+ pagination: z.ZodObject<{
10192
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10193
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10194
+ total: z.ZodNumber;
10195
+ pages: z.ZodNumber;
10196
+ }, z.core.$strip>;
10197
+ }, z.core.$strip>;
10198
+ declare const MessageListResponse: z.ZodObject<{
10199
+ data: z.ZodArray<z.ZodObject<{
10200
+ id: z.ZodString;
10201
+ createdAt: z.ZodString;
10202
+ updatedAt: z.ZodString;
10203
+ metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
10204
+ content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
10205
+ conversationId: z.ZodString;
10206
+ role: z.ZodString;
10207
+ fromSubAgentId: z.ZodNullable<z.ZodString>;
10208
+ toSubAgentId: z.ZodNullable<z.ZodString>;
10209
+ fromExternalAgentId: z.ZodNullable<z.ZodString>;
10210
+ toExternalAgentId: z.ZodNullable<z.ZodString>;
10211
+ visibility: z.ZodString;
10212
+ messageType: z.ZodString;
10213
+ taskId: z.ZodNullable<z.ZodString>;
10214
+ parentMessageId: z.ZodNullable<z.ZodString>;
10215
+ a2aTaskId: z.ZodNullable<z.ZodString>;
10216
+ a2aSessionId: z.ZodNullable<z.ZodString>;
10217
+ }, z.core.$strip>>;
10218
+ pagination: z.ZodObject<{
10219
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10220
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10221
+ total: z.ZodNumber;
10222
+ pages: z.ZodNumber;
10223
+ }, z.core.$strip>;
10224
+ }, z.core.$strip>;
10225
+ declare const SubAgentDataComponentResponse: z.ZodObject<{
10226
+ data: z.ZodObject<{
10227
+ id: z.ZodString;
10228
+ createdAt: z.ZodString;
10229
+ subAgentId: z.ZodString;
10230
+ dataComponentId: z.ZodString;
10231
+ }, z.core.$strip>;
10232
+ }, z.core.$strip>;
10233
+ declare const SubAgentArtifactComponentResponse: z.ZodObject<{
10234
+ data: z.ZodObject<{
10235
+ id: z.ZodString;
10236
+ createdAt: z.ZodString;
10237
+ subAgentId: z.ZodString;
10238
+ artifactComponentId: z.ZodString;
10239
+ }, z.core.$strip>;
10240
+ }, z.core.$strip>;
10241
+ declare const SubAgentDataComponentListResponse: z.ZodObject<{
10242
+ data: z.ZodArray<z.ZodObject<{
10243
+ id: z.ZodString;
10244
+ createdAt: z.ZodString;
10245
+ subAgentId: z.ZodString;
10246
+ dataComponentId: z.ZodString;
10247
+ }, z.core.$strip>>;
10248
+ pagination: z.ZodObject<{
10249
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10250
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10251
+ total: z.ZodNumber;
10252
+ pages: z.ZodNumber;
10253
+ }, z.core.$strip>;
10254
+ }, z.core.$strip>;
10255
+ declare const SubAgentArtifactComponentListResponse: z.ZodObject<{
10256
+ data: z.ZodArray<z.ZodObject<{
10257
+ id: z.ZodString;
10258
+ createdAt: z.ZodString;
10259
+ subAgentId: z.ZodString;
10260
+ artifactComponentId: z.ZodString;
10261
+ }, z.core.$strip>>;
10262
+ pagination: z.ZodObject<{
10263
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10264
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
10265
+ total: z.ZodNumber;
10266
+ pages: z.ZodNumber;
10267
+ }, z.core.$strip>;
10268
+ }, z.core.$strip>;
10269
+ declare const HeadersScopeSchema: z.ZodObject<{
10270
+ 'x-inkeep-tenant-id': z.ZodOptional<z.ZodString>;
10271
+ 'x-inkeep-project-id': z.ZodOptional<z.ZodString>;
10272
+ 'x-inkeep-agent-id': z.ZodOptional<z.ZodString>;
10273
+ }, z.core.$strip>;
10274
+ declare const TenantParamsSchema: z.ZodObject<{
10275
+ tenantId: z.ZodString;
10276
+ }, z.core.$strip>;
10277
+ declare const TenantIdParamsSchema: z.ZodObject<{
10278
+ tenantId: z.ZodString;
10279
+ id: z.ZodString;
10280
+ }, z.core.$strip>;
10281
+ declare const TenantProjectParamsSchema: z.ZodObject<{
10282
+ tenantId: z.ZodString;
10283
+ projectId: z.ZodString;
10284
+ }, z.core.$strip>;
10285
+ declare const TenantProjectIdParamsSchema: z.ZodObject<{
10286
+ tenantId: z.ZodString;
8832
10287
  projectId: z.ZodString;
8833
10288
  id: z.ZodString;
8834
10289
  }, z.core.$strip>;
8835
- declare const TenantProjectGraphParamsSchema: z.ZodObject<{
10290
+ declare const TenantProjectAgentParamsSchema: z.ZodObject<{
8836
10291
  tenantId: z.ZodString;
8837
10292
  projectId: z.ZodString;
8838
- graphId: z.ZodString;
10293
+ agentId: z.ZodString;
8839
10294
  }, z.core.$strip>;
8840
- declare const TenantProjectGraphIdParamsSchema: z.ZodObject<{
10295
+ declare const TenantProjectAgentIdParamsSchema: z.ZodObject<{
8841
10296
  tenantId: z.ZodString;
8842
10297
  projectId: z.ZodString;
8843
- graphId: z.ZodString;
10298
+ agentId: z.ZodString;
8844
10299
  id: z.ZodString;
8845
10300
  }, z.core.$strip>;
8846
- declare const TenantProjectGraphSubAgentParamsSchema: z.ZodObject<{
10301
+ declare const TenantProjectAgentSubAgentParamsSchema: z.ZodObject<{
8847
10302
  tenantId: z.ZodString;
8848
10303
  projectId: z.ZodString;
8849
- graphId: z.ZodString;
10304
+ agentId: z.ZodString;
8850
10305
  subAgentId: z.ZodString;
8851
10306
  }, z.core.$strip>;
8852
- declare const TenantProjectGraphSubAgentIdParamsSchema: z.ZodObject<{
10307
+ declare const TenantProjectAgentSubAgentIdParamsSchema: z.ZodObject<{
8853
10308
  tenantId: z.ZodString;
8854
10309
  projectId: z.ZodString;
8855
- graphId: z.ZodString;
10310
+ agentId: z.ZodString;
8856
10311
  subAgentId: z.ZodString;
8857
10312
  id: z.ZodString;
8858
10313
  }, z.core.$strip>;
@@ -8876,12 +10331,12 @@ type SubAgentRelationApiUpdate = z$1.infer<typeof SubAgentRelationApiUpdateSchem
8876
10331
  type SubAgentRelationQuery = z$1.infer<typeof SubAgentRelationQuerySchema>;
8877
10332
  type ExternalSubAgentRelationInsert = z$1.infer<typeof ExternalSubAgentRelationInsertSchema>;
8878
10333
  type ExternalSubAgentRelationApiInsert = z$1.infer<typeof ExternalSubAgentRelationApiInsertSchema>;
8879
- type AgentGraphSelect = z$1.infer<typeof AgentGraphSelectSchema>;
8880
- type AgentGraphInsert = z$1.infer<typeof AgentGraphInsertSchema>;
8881
- type AgentGraphUpdate = z$1.infer<typeof AgentGraphUpdateSchema>;
8882
- type AgentGraphApiSelect = z$1.infer<typeof AgentGraphApiSelectSchema>;
8883
- type AgentGraphApiInsert = z$1.infer<typeof AgentGraphApiInsertSchema>;
8884
- type AgentGraphApiUpdate = z$1.infer<typeof AgentGraphApiUpdateSchema>;
10334
+ type AgentSelect = z$1.infer<typeof AgentSelectSchema>;
10335
+ type AgentInsert = z$1.infer<typeof AgentInsertSchema>;
10336
+ type AgentUpdate = z$1.infer<typeof AgentUpdateSchema>;
10337
+ type AgentApiSelect = z$1.infer<typeof AgentApiSelectSchema>;
10338
+ type AgentApiInsert = z$1.infer<typeof AgentApiInsertSchema>;
10339
+ type AgentApiUpdate = z$1.infer<typeof AgentApiUpdateSchema>;
8885
10340
  type TaskSelect = z$1.infer<typeof TaskSelectSchema>;
8886
10341
  type TaskInsert = z$1.infer<typeof TaskInsertSchema>;
8887
10342
  type TaskUpdate = z$1.infer<typeof TaskUpdateSchema>;
@@ -8965,7 +10420,7 @@ type ExternalAgentSelect = z$1.infer<typeof ExternalAgentSelectSchema>;
8965
10420
  type ExternalAgentInsert = z$1.infer<typeof ExternalAgentInsertSchema>;
8966
10421
  type ExternalAgentUpdate = z$1.infer<typeof ExternalAgentUpdateSchema>;
8967
10422
  type ExternalAgentApiSelect = z$1.infer<typeof ExternalAgentApiSelectSchema>;
8968
- type ExternalAgentApiInsert = z$1.infer<typeof ExternalAgentApiInsertSchema>;
10423
+ type ExternalSubAgentApiInsert = z$1.infer<typeof ExternalAgentApiInsertSchema>;
8969
10424
  type ExternalAgentApiUpdate = z$1.infer<typeof ExternalAgentApiUpdateSchema>;
8970
10425
  type AllAgentSelect = z$1.infer<typeof AllAgentSchema>;
8971
10426
  type ApiKeySelect = z$1.infer<typeof ApiKeySelectSchema>;
@@ -8993,8 +10448,8 @@ type LedgerArtifactUpdate = z$1.infer<typeof LedgerArtifactUpdateSchema>;
8993
10448
  type LedgerArtifactApiSelect = z$1.infer<typeof LedgerArtifactApiSelectSchema>;
8994
10449
  type LedgerArtifactApiInsert = z$1.infer<typeof LedgerArtifactApiInsertSchema>;
8995
10450
  type LedgerArtifactApiUpdate = z$1.infer<typeof LedgerArtifactApiUpdateSchema>;
8996
- type FullGraphDefinition = z$1.infer<typeof GraphWithinContextOfProjectSchema>;
8997
- type FullGraphAgentInsert = z$1.infer<typeof FullGraphAgentInsertSchema>;
10451
+ type FullAgentDefinition = z$1.infer<typeof AgentWithinContextOfProjectSchema>;
10452
+ type FullAgentAgentInsert = z$1.infer<typeof FullAgentAgentInsertSchema>;
8998
10453
  type FullProjectDefinition = z$1.infer<typeof FullProjectDefinitionSchema>;
8999
10454
  type CanUseItem = {
9000
10455
  toolId: string;
@@ -9002,14 +10457,14 @@ type CanUseItem = {
9002
10457
  headers?: Record<string, string> | null;
9003
10458
  agentToolRelationId?: string;
9004
10459
  };
9005
- type InternalAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
10460
+ type InternalSubAgentDefinition = z$1.infer<typeof SubAgentApiInsertSchema> & {
9006
10461
  canUse: CanUseItem[];
9007
10462
  dataComponents?: string[];
9008
10463
  artifactComponents?: string[];
9009
10464
  canTransferTo?: string[];
9010
10465
  canDelegateTo?: string[];
9011
10466
  };
9012
- type AgentDefinition = InternalAgentDefinition | ExternalAgentApiInsert;
10467
+ type SubAgentDefinition = InternalSubAgentDefinition | ExternalSubAgentApiInsert;
9013
10468
  type ToolDefinition = ToolApiInsert & {
9014
10469
  credentialReferenceId?: string | null;
9015
10470
  };
@@ -9050,10 +10505,10 @@ type ProjectScopeConfig = {
9050
10505
  tenantId: string;
9051
10506
  projectId: string;
9052
10507
  };
9053
- type GraphScopeConfig = ProjectScopeConfig & {
9054
- graphId: string;
10508
+ type AgentScopeConfig = ProjectScopeConfig & {
10509
+ agentId: string;
9055
10510
  };
9056
- type AgentScopeConfig = GraphScopeConfig & {
10511
+ type SubAgentScopeConfig = AgentScopeConfig & {
9057
10512
  subAgentId: string;
9058
10513
  };
9059
10514
  interface ConversationScopeOptions {
@@ -9179,18 +10634,18 @@ type TaskMetadataConfig = {
9179
10634
  message_id: string;
9180
10635
  created_at: string;
9181
10636
  updated_at: string;
9182
- root_agent_id?: string;
9183
- agent_id?: string;
10637
+ root_sub_agent_id?: string;
10638
+ sub_agent_id?: string;
9184
10639
  tool_id?: string;
9185
- graph_id?: string;
10640
+ agent_id?: string;
9186
10641
  stream_request_id?: string;
9187
10642
  };
9188
10643
  interface ProjectInfo {
9189
10644
  projectId: string;
9190
10645
  }
9191
10646
  interface ProjectResourceCounts {
10647
+ subAgents: number;
9192
10648
  agents: number;
9193
- agentGraphs: number;
9194
10649
  tools: number;
9195
10650
  contextConfigs: number;
9196
10651
  externalAgents: number;
@@ -9213,7 +10668,7 @@ declare const CredentialStoreType: {
9213
10668
  interface CreateApiKeyParams {
9214
10669
  tenantId: string;
9215
10670
  projectId: string;
9216
- graphId: string;
10671
+ agentId: string;
9217
10672
  name: string;
9218
10673
  expiresAt?: string;
9219
10674
  }
@@ -9232,8 +10687,8 @@ interface ExecutionContext {
9232
10687
  tenantId: string;
9233
10688
  /** Project ID extracted from API key */
9234
10689
  projectId: string;
9235
- /** Graph ID extracted from API key */
9236
- graphId: string;
10690
+ /** Agent ID extracted from API key */
10691
+ agentId: string;
9237
10692
  /** Base URL for internal API calls */
9238
10693
  baseUrl: string;
9239
10694
  /** API key ID for tracking */
@@ -9242,4 +10697,4 @@ interface ExecutionContext {
9242
10697
  subAgentId?: string;
9243
10698
  }
9244
10699
 
9245
- 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 InvalidRequestError 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 FunctionToolApiInsert as a7, type FunctionToolApiUpdate as a8, type Artifact as a9, type FileBase as aA, type FileWithBytes as aB, type FileWithUri as aC, type FilePart as aD, type DataPart as aE, TaskState as aF, type AgentCapabilities as aG, type AgentProvider as aH, type AgentSkill as aI, type SecuritySchemeBase as aJ, type APIKeySecurityScheme as aK, type HTTPAuthSecurityScheme as aL, type OAuthFlows as aM, type AuthorizationCodeOAuthFlow as aN, type ClientCredentialsOAuthFlow as aO, type ImplicitOAuthFlow as aP, type PasswordOAuthFlow as aQ, type OAuth2SecurityScheme as aR, type OpenIdConnectSecurityScheme as aS, type SecurityScheme as aT, type AgentCard as aU, type Message as aV, type TaskStatus as aW, type Task as aX, type TaskStatusUpdateEvent as aY, type TaskArtifactUpdateEvent as aZ, type JSONParseError as a_, type LedgerArtifactSelect as aa, type MessageVisibility as ab, type MessageInsert as ac, type MessageUpdate as ad, type FullProjectDefinition as ae, type ProjectInfo as af, type ProjectSelect as ag, type PaginationResult as ah, type ProjectResourceCounts as ai, type ProjectInsert as aj, type ProjectUpdate as ak, type SubAgentRelationInsert as al, type ExternalSubAgentRelationInsert as am, type SubAgentRelationUpdate as an, type SubAgentToolRelationUpdate as ao, type SubAgentInsert as ap, type SubAgentUpdate as aq, type SubAgentSelect as ar, type TaskInsert as as, type TaskSelect as at, type McpTool as au, type ToolInsert as av, type ToolUpdate as aw, type ExecutionContext as ax, type PartBase as ay, type TextPart as az, SubAgentStopWhenSchema as b, type TaskRelationInsert as b$, type MethodNotFoundError as b0, type InvalidParamsError as b1, type InternalError as b2, type TaskNotFoundError as b3, type TaskNotCancelableError as b4, type PushNotificationNotSupportedError as b5, type UnsupportedOperationError as b6, type ContentTypeNotSupportedError as b7, type InvalidAgentResponseError as b8, type A2AError as b9, type CancelTaskResponse as bA, type SetTaskPushNotificationConfigSuccessResponse as bB, type SetTaskPushNotificationConfigResponse as bC, type GetTaskPushNotificationConfigSuccessResponse as bD, type GetTaskPushNotificationConfigResponse as bE, type A2ARequest as bF, type A2AResponse as bG, type MessagePart as bH, type TaskArtifact as bI, type SubAgentApiSelect as bJ, type SubAgentApiInsert as bK, type SubAgentApiUpdate as bL, type SubAgentRelationSelect as bM, type SubAgentRelationApiSelect as bN, type SubAgentRelationApiInsert as bO, type SubAgentRelationApiUpdate as bP, type SubAgentRelationQuery as bQ, type ExternalSubAgentRelationApiInsert as bR, type AgentGraphSelect as bS, type AgentGraphApiSelect as bT, type AgentGraphApiInsert as bU, type AgentGraphApiUpdate as bV, type TaskUpdate as bW, type TaskApiSelect as bX, type TaskApiInsert as bY, type TaskApiUpdate as bZ, type TaskRelationSelect as b_, type PushNotificationAuthenticationInfo as ba, type PushNotificationConfig as bb, type TaskPushNotificationConfig as bc, type TaskIdParams as bd, type TaskQueryParams as be, type MessageSendConfiguration as bf, type MessageSendParams as bg, type JSONRPCMessage as bh, type JSONRPCRequest as bi, type JSONRPCError as bj, type JSONRPCResult as bk, type JSONRPCErrorResponse as bl, type SendMessageRequest as bm, type SendStreamingMessageRequest as bn, type GetTaskRequest as bo, type CancelTaskRequest as bp, type SetTaskPushNotificationConfigRequest as bq, type GetTaskPushNotificationConfigRequest as br, type TaskResubscriptionRequest as bs, type SendMessageSuccessResponse as bt, type SendMessageResponse as bu, type SendStreamingMessageSuccessResponse as bv, type SendStreamingMessageResponse as bw, type GetTaskSuccessResponse as bx, type GetTaskResponse as by, type CancelTaskSuccessResponse as bz, type StopWhen as c, type LedgerArtifactUpdate as c$, type TaskRelationUpdate as c0, type TaskRelationApiSelect as c1, type TaskRelationApiInsert as c2, type TaskRelationApiUpdate as c3, type ToolApiSelect as c4, type ToolApiInsert as c5, type ToolApiUpdate as c6, type FunctionSelect as c7, type FunctionInsert as c8, type FunctionUpdate as c9, type SubAgentDataComponentApiInsert as cA, type SubAgentDataComponentApiUpdate as cB, type ArtifactComponentApiSelect as cC, type ArtifactComponentApiInsert as cD, type ArtifactComponentApiUpdate as cE, type SubAgentArtifactComponentSelect as cF, type SubAgentArtifactComponentInsert as cG, type SubAgentArtifactComponentUpdate as cH, type SubAgentArtifactComponentApiSelect as cI, type SubAgentArtifactComponentApiInsert as cJ, type SubAgentArtifactComponentApiUpdate as cK, type ExternalAgentApiSelect as cL, type ExternalAgentApiInsert as cM, type ExternalAgentApiUpdate as cN, type AllAgentSelect as cO, type ApiKeyApiSelect as cP, type ApiKeyApiInsert as cQ, type ApiKeyApiUpdate as cR, type ApiKeyApiCreationResponse as cS, type CredentialReferenceApiSelect as cT, type CredentialReferenceApiUpdate as cU, type SubAgentToolRelationSelect as cV, type SubAgentToolRelationInsert as cW, type SubAgentToolRelationApiSelect as cX, type SubAgentToolRelationApiInsert as cY, type SubAgentToolRelationApiUpdate as cZ, type LedgerArtifactInsert as c_, type FunctionApiSelect as ca, type FunctionApiUpdate as cb, type FunctionToolApiSelect as cc, type ConversationApiSelect as cd, type ConversationApiInsert as ce, type ConversationApiUpdate as cf, type MessageSelect as cg, type MessageApiSelect as ch, type MessageApiInsert as ci, type MessageApiUpdate as cj, type ContextConfigApiSelect as ck, type ContextConfigApiInsert as cl, type ContextConfigApiUpdate as cm, type FetchDefinition as cn, type FetchConfig as co, type ContextCacheUpdate as cp, type ContextCacheApiSelect as cq, type ContextCacheApiInsert as cr, type ContextCacheApiUpdate as cs, type DataComponentApiSelect as ct, type DataComponentApiInsert as cu, type DataComponentApiUpdate as cv, type SubAgentDataComponentSelect as cw, type SubAgentDataComponentInsert as cx, type SubAgentDataComponentUpdate as cy, type SubAgentDataComponentApiSelect as cz, type GraphStopWhen as d, TaskInsertSchema as d$, type LedgerArtifactApiSelect as d0, type LedgerArtifactApiInsert as d1, type LedgerArtifactApiUpdate as d2, type FullGraphAgentInsert as d3, type CanUseItem as d4, type InternalAgentDefinition as d5, type AgentDefinition as d6, type ToolDefinition as d7, type ProjectApiSelect as d8, type ProjectApiInsert as d9, ModelSchema as dA, ProjectModelSchema as dB, type SandboxConfig as dC, FunctionToolConfigSchema as dD, type FunctionToolConfig as dE, SubAgentSelectSchema as dF, SubAgentInsertSchema as dG, SubAgentUpdateSchema as dH, SubAgentApiSelectSchema as dI, SubAgentApiInsertSchema as dJ, SubAgentApiUpdateSchema as dK, SubAgentRelationSelectSchema as dL, SubAgentRelationInsertSchema as dM, SubAgentRelationUpdateSchema as dN, SubAgentRelationApiSelectSchema as dO, SubAgentRelationApiInsertSchema as dP, SubAgentRelationApiUpdateSchema as dQ, SubAgentRelationQuerySchema as dR, ExternalSubAgentRelationInsertSchema as dS, ExternalSubAgentRelationApiInsertSchema as dT, AgentGraphSelectSchema as dU, AgentGraphInsertSchema as dV, AgentGraphUpdateSchema as dW, AgentGraphApiSelectSchema as dX, AgentGraphApiInsertSchema as dY, AgentGraphApiUpdateSchema as dZ, TaskSelectSchema as d_, type ProjectApiUpdate as da, type Pagination as db, type SummaryEvent as dc, type MessageType as dd, type MessageRole as de, type MessageMode as df, type Models as dg, type ProjectModels as dh, type StatusUpdateSettings as di, type StatusComponent as dj, type ConversationScopeOptions as dk, type AgentConversationHistoryConfig as dl, type ContextCacheEntry as dm, type McpAuthType as dn, type McpServerAuth as dp, type McpTransportConfig as dq, type McpServerCapabilities as dr, type McpToolDefinition as ds, TOOL_STATUS_VALUES as dt, VALID_RELATION_TYPES as du, MCPServerType as dv, MIN_ID_LENGTH as dw, MAX_ID_LENGTH as dx, URL_SAFE_ID_PATTERN as dy, resourceIdSchema as dz, type SubAgentStopWhen as e, ExternalAgentApiUpdateSchema as e$, TaskUpdateSchema as e0, TaskApiSelectSchema as e1, TaskApiInsertSchema as e2, TaskApiUpdateSchema as e3, TaskRelationSelectSchema as e4, TaskRelationInsertSchema as e5, TaskRelationUpdateSchema as e6, TaskRelationApiSelectSchema as e7, TaskRelationApiInsertSchema as e8, TaskRelationApiUpdateSchema as e9, DataComponentUpdateSchema as eA, DataComponentApiSelectSchema as eB, DataComponentApiInsertSchema as eC, DataComponentApiUpdateSchema as eD, SubAgentDataComponentSelectSchema as eE, SubAgentDataComponentInsertSchema as eF, SubAgentDataComponentUpdateSchema as eG, SubAgentDataComponentApiSelectSchema as eH, SubAgentDataComponentApiInsertSchema as eI, SubAgentDataComponentApiUpdateSchema as eJ, ArtifactComponentSelectSchema as eK, ArtifactComponentInsertSchema as eL, ArtifactComponentUpdateSchema as eM, ArtifactComponentApiSelectSchema as eN, ArtifactComponentApiInsertSchema as eO, ArtifactComponentApiUpdateSchema as eP, SubAgentArtifactComponentSelectSchema as eQ, SubAgentArtifactComponentInsertSchema as eR, SubAgentArtifactComponentUpdateSchema as eS, SubAgentArtifactComponentApiSelectSchema as eT, SubAgentArtifactComponentApiInsertSchema as eU, SubAgentArtifactComponentApiUpdateSchema as eV, ExternalAgentSelectSchema as eW, ExternalAgentInsertSchema as eX, ExternalAgentUpdateSchema as eY, ExternalAgentApiSelectSchema as eZ, ExternalAgentApiInsertSchema as e_, McpTransportConfigSchema as ea, ToolStatusSchema as eb, McpToolDefinitionSchema as ec, ToolSelectSchema as ed, ToolInsertSchema as ee, ConversationSelectSchema as ef, ConversationInsertSchema as eg, ConversationUpdateSchema as eh, ConversationApiSelectSchema as ei, ConversationApiInsertSchema as ej, ConversationApiUpdateSchema as ek, MessageSelectSchema as el, MessageInsertSchema as em, MessageUpdateSchema as en, MessageApiSelectSchema as eo, MessageApiInsertSchema as ep, MessageApiUpdateSchema as eq, ContextCacheSelectSchema as er, ContextCacheInsertSchema as es, ContextCacheUpdateSchema as et, ContextCacheApiSelectSchema as eu, ContextCacheApiInsertSchema as ev, ContextCacheApiUpdateSchema as ew, DataComponentSelectSchema as ex, DataComponentInsertSchema as ey, DataComponentBaseSchema as ez, type ModelSettings as f, ProjectApiInsertSchema as f$, AllAgentSchema as f0, ApiKeySelectSchema as f1, ApiKeyInsertSchema as f2, ApiKeyUpdateSchema as f3, ApiKeyApiSelectSchema as f4, ApiKeyApiCreationResponseSchema as f5, ApiKeyApiInsertSchema as f6, CredentialReferenceSelectSchema as f7, CredentialReferenceInsertSchema as f8, CredentialReferenceUpdateSchema as f9, SubAgentToolRelationSelectSchema as fA, SubAgentToolRelationInsertSchema as fB, SubAgentToolRelationUpdateSchema as fC, SubAgentToolRelationApiSelectSchema as fD, SubAgentToolRelationApiInsertSchema as fE, SubAgentToolRelationApiUpdateSchema as fF, LedgerArtifactSelectSchema as fG, LedgerArtifactInsertSchema as fH, LedgerArtifactUpdateSchema as fI, LedgerArtifactApiSelectSchema as fJ, LedgerArtifactApiInsertSchema as fK, LedgerArtifactApiUpdateSchema as fL, StatusComponentSchema as fM, StatusUpdateSchema as fN, CanUseItemSchema as fO, FullGraphDefinitionSchema as fP, GraphWithinContextOfProjectSchema as fQ, PaginationSchema as fR, ListResponseSchema as fS, SingleResponseSchema as fT, ErrorResponseSchema as fU, ExistsResponseSchema as fV, RemovedResponseSchema as fW, ProjectSelectSchema as fX, ProjectInsertSchema as fY, ProjectUpdateSchema as fZ, ProjectApiSelectSchema as f_, CredentialReferenceApiSelectSchema as fa, CredentialReferenceApiInsertSchema as fb, CredentialReferenceApiUpdateSchema as fc, McpToolSchema as fd, MCPToolConfigSchema as fe, ToolUpdateSchema as ff, ToolApiSelectSchema as fg, ToolApiInsertSchema as fh, ToolApiUpdateSchema as fi, FunctionToolSelectSchema as fj, FunctionToolInsertSchema as fk, FunctionToolUpdateSchema as fl, FunctionToolApiSelectSchema as fm, FunctionToolApiInsertSchema as fn, FunctionToolApiUpdateSchema as fo, FunctionSelectSchema as fp, FunctionInsertSchema as fq, FunctionUpdateSchema as fr, FetchConfigSchema as fs, FetchDefinitionSchema as ft, ContextConfigSelectSchema as fu, ContextConfigInsertSchema as fv, ContextConfigUpdateSchema as fw, ContextConfigApiSelectSchema as fx, ContextConfigApiInsertSchema as fy, ContextConfigApiUpdateSchema as fz, CredentialStoreType as g, ProjectApiUpdateSchema as g0, FullProjectDefinitionSchema as g1, HeadersScopeSchema as g2, TenantParamsSchema as g3, TenantIdParamsSchema as g4, TenantProjectParamsSchema as g5, TenantProjectIdParamsSchema as g6, TenantProjectGraphParamsSchema as g7, TenantProjectGraphIdParamsSchema as g8, TenantProjectGraphSubAgentParamsSchema as g9, TenantProjectGraphSubAgentIdParamsSchema as ga, PaginationQueryParamsSchema as gb, 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 };
10700
+ export { type CredentialReferenceInsert as $, ApiKeyApiUpdateSchema as A, type FullAgentDefinition as B, type ConversationHistoryConfig as C, type AgentSelect as D, type ApiKeySelect as E, FunctionApiInsertSchema as F, type ApiKeyInsert as G, type ApiKeyUpdate as H, type CreateApiKeyParams as I, type ApiKeyCreateResult as J, type ArtifactComponentSelect as K, type ArtifactComponentInsert as L, ModelSettingsSchema as M, type ArtifactComponentUpdate as N, type SubAgentScopeConfig as O, type Part as P, type ContextCacheSelect as Q, type ContextCacheInsert as R, StopWhenSchema as S, type TaskMetadataConfig as T, type ContextConfigInsert as U, type ContextConfigUpdate as V, type ConversationSelect as W, type ConversationInsert as X, type ConversationUpdate as Y, type CredentialReferenceSelect as Z, type ToolSelect as _, FullAgentAgentInsertSchema as a, type JSONParseError as a$, type CredentialReferenceUpdate as a0, type DataComponentSelect as a1, type DataComponentInsert as a2, type DataComponentUpdate as a3, type ExternalAgentInsert as a4, type ExternalAgentSelect as a5, type ExternalAgentUpdate as a6, type FunctionApiInsert as a7, type FunctionToolApiInsert as a8, type FunctionToolApiUpdate as a9, type TextPart as aA, type FileBase as aB, type FileWithBytes as aC, type FileWithUri as aD, type FilePart as aE, type DataPart as aF, TaskState as aG, type AgentCapabilities as aH, type AgentProvider as aI, type AgentSkill as aJ, type SecuritySchemeBase as aK, type APIKeySecurityScheme as aL, type HTTPAuthSecurityScheme as aM, type OAuthFlows as aN, type AuthorizationCodeOAuthFlow as aO, type ClientCredentialsOAuthFlow as aP, type ImplicitOAuthFlow as aQ, type PasswordOAuthFlow as aR, type OAuth2SecurityScheme as aS, type OpenIdConnectSecurityScheme as aT, type SecurityScheme as aU, type AgentCard as aV, type Message as aW, type TaskStatus as aX, type Task as aY, type TaskStatusUpdateEvent as aZ, type TaskArtifactUpdateEvent as a_, type Artifact as aa, type LedgerArtifactSelect as ab, type MessageVisibility as ac, type MessageInsert as ad, type MessageUpdate as ae, type FullProjectDefinition as af, type ProjectInfo as ag, type ProjectSelect as ah, type PaginationResult as ai, type ProjectResourceCounts as aj, type ProjectInsert as ak, type ProjectUpdate as al, type SubAgentRelationInsert as am, type ExternalSubAgentRelationInsert as an, type SubAgentRelationUpdate as ao, type SubAgentToolRelationUpdate as ap, type SubAgentInsert as aq, type SubAgentUpdate as ar, type SubAgentSelect as as, type TaskInsert as at, type TaskSelect as au, type McpTool as av, type ToolInsert as aw, type ToolUpdate as ax, type ExecutionContext as ay, type PartBase as az, AgentStopWhenSchema as b, type TaskRelationInsert as b$, type InvalidRequestError as b0, type MethodNotFoundError as b1, type InvalidParamsError as b2, type InternalError as b3, type TaskNotFoundError as b4, type TaskNotCancelableError as b5, type PushNotificationNotSupportedError as b6, type UnsupportedOperationError as b7, type ContentTypeNotSupportedError as b8, type InvalidAgentResponseError as b9, type CancelTaskSuccessResponse as bA, type CancelTaskResponse as bB, type SetTaskPushNotificationConfigSuccessResponse as bC, type SetTaskPushNotificationConfigResponse as bD, type GetTaskPushNotificationConfigSuccessResponse as bE, type GetTaskPushNotificationConfigResponse as bF, type A2ARequest as bG, type A2AResponse as bH, type MessagePart as bI, type TaskArtifact as bJ, type SubAgentApiSelect as bK, type SubAgentApiInsert as bL, type SubAgentApiUpdate as bM, type SubAgentRelationSelect as bN, type SubAgentRelationApiSelect as bO, type SubAgentRelationApiInsert as bP, type SubAgentRelationApiUpdate as bQ, type SubAgentRelationQuery as bR, type ExternalSubAgentRelationApiInsert as bS, type AgentApiSelect as bT, type AgentApiInsert as bU, type AgentApiUpdate as bV, type TaskUpdate as bW, type TaskApiSelect as bX, type TaskApiInsert as bY, type TaskApiUpdate as bZ, type TaskRelationSelect as b_, type A2AError as ba, type PushNotificationAuthenticationInfo as bb, type PushNotificationConfig as bc, type TaskPushNotificationConfig as bd, type TaskIdParams as be, type TaskQueryParams as bf, type MessageSendConfiguration as bg, type MessageSendParams as bh, type JSONRPCMessage as bi, type JSONRPCRequest as bj, type JSONRPCError as bk, type JSONRPCResult as bl, type JSONRPCErrorResponse as bm, type SendMessageRequest as bn, type SendStreamingMessageRequest as bo, type GetTaskRequest as bp, type CancelTaskRequest as bq, type SetTaskPushNotificationConfigRequest as br, type GetTaskPushNotificationConfigRequest as bs, type TaskResubscriptionRequest as bt, type SendMessageSuccessResponse as bu, type SendMessageResponse as bv, type SendStreamingMessageSuccessResponse as bw, type SendStreamingMessageResponse as bx, type GetTaskSuccessResponse as by, type GetTaskResponse as bz, SubAgentStopWhenSchema as c, type LedgerArtifactUpdate as c$, type TaskRelationUpdate as c0, type TaskRelationApiSelect as c1, type TaskRelationApiInsert as c2, type TaskRelationApiUpdate as c3, type ToolApiSelect as c4, type ToolApiInsert as c5, type ToolApiUpdate as c6, type FunctionSelect as c7, type FunctionInsert as c8, type FunctionUpdate as c9, type SubAgentDataComponentApiInsert as cA, type SubAgentDataComponentApiUpdate as cB, type ArtifactComponentApiSelect as cC, type ArtifactComponentApiInsert as cD, type ArtifactComponentApiUpdate as cE, type SubAgentArtifactComponentSelect as cF, type SubAgentArtifactComponentInsert as cG, type SubAgentArtifactComponentUpdate as cH, type SubAgentArtifactComponentApiSelect as cI, type SubAgentArtifactComponentApiInsert as cJ, type SubAgentArtifactComponentApiUpdate as cK, type ExternalAgentApiSelect as cL, type ExternalSubAgentApiInsert as cM, type ExternalAgentApiUpdate as cN, type AllAgentSelect as cO, type ApiKeyApiSelect as cP, type ApiKeyApiInsert as cQ, type ApiKeyApiUpdate as cR, type ApiKeyApiCreationResponse as cS, type CredentialReferenceApiSelect as cT, type CredentialReferenceApiUpdate as cU, type SubAgentToolRelationSelect as cV, type SubAgentToolRelationInsert as cW, type SubAgentToolRelationApiSelect as cX, type SubAgentToolRelationApiInsert as cY, type SubAgentToolRelationApiUpdate as cZ, type LedgerArtifactInsert as c_, type FunctionApiSelect as ca, type FunctionApiUpdate as cb, type FunctionToolApiSelect as cc, type ConversationApiSelect as cd, type ConversationApiInsert as ce, type ConversationApiUpdate as cf, type MessageSelect as cg, type MessageApiSelect as ch, type MessageApiInsert as ci, type MessageApiUpdate as cj, type ContextConfigApiSelect as ck, type ContextConfigApiInsert as cl, type ContextConfigApiUpdate as cm, type FetchDefinition as cn, type FetchConfig as co, type ContextCacheUpdate as cp, type ContextCacheApiSelect as cq, type ContextCacheApiInsert as cr, type ContextCacheApiUpdate as cs, type DataComponentApiSelect as ct, type DataComponentApiInsert as cu, type DataComponentApiUpdate as cv, type SubAgentDataComponentSelect as cw, type SubAgentDataComponentInsert as cx, type SubAgentDataComponentUpdate as cy, type SubAgentDataComponentApiSelect as cz, type StopWhen as d, TaskInsertSchema as d$, type LedgerArtifactApiSelect as d0, type LedgerArtifactApiInsert as d1, type LedgerArtifactApiUpdate as d2, type FullAgentAgentInsert as d3, type CanUseItem as d4, type InternalSubAgentDefinition as d5, type SubAgentDefinition as d6, type ToolDefinition as d7, type ProjectApiSelect as d8, type ProjectApiInsert as d9, ModelSchema as dA, ProjectModelSchema as dB, type SandboxConfig as dC, FunctionToolConfigSchema as dD, type FunctionToolConfig as dE, SubAgentSelectSchema as dF, SubAgentInsertSchema as dG, SubAgentUpdateSchema as dH, SubAgentApiSelectSchema as dI, SubAgentApiInsertSchema as dJ, SubAgentApiUpdateSchema as dK, SubAgentRelationSelectSchema as dL, SubAgentRelationInsertSchema as dM, SubAgentRelationUpdateSchema as dN, SubAgentRelationApiSelectSchema as dO, SubAgentRelationApiInsertSchema as dP, SubAgentRelationApiUpdateSchema as dQ, SubAgentRelationQuerySchema as dR, ExternalSubAgentRelationInsertSchema as dS, ExternalSubAgentRelationApiInsertSchema as dT, AgentSelectSchema as dU, AgentInsertSchema as dV, AgentUpdateSchema as dW, AgentApiSelectSchema as dX, AgentApiInsertSchema as dY, AgentApiUpdateSchema as dZ, TaskSelectSchema as d_, type ProjectApiUpdate as da, type Pagination as db, type SummaryEvent as dc, type MessageType as dd, type MessageRole as de, type MessageMode as df, type Models as dg, type ProjectModels as dh, type StatusUpdateSettings as di, type StatusComponent as dj, type ConversationScopeOptions as dk, type AgentConversationHistoryConfig as dl, type ContextCacheEntry as dm, type McpAuthType as dn, type McpServerAuth as dp, type McpTransportConfig as dq, type McpServerCapabilities as dr, type McpToolDefinition as ds, TOOL_STATUS_VALUES as dt, VALID_RELATION_TYPES as du, MCPServerType as dv, MIN_ID_LENGTH as dw, MAX_ID_LENGTH as dx, URL_SAFE_ID_PATTERN as dy, resourceIdSchema as dz, type AgentStopWhen as e, ExternalAgentApiUpdateSchema as e$, TaskUpdateSchema as e0, TaskApiSelectSchema as e1, TaskApiInsertSchema as e2, TaskApiUpdateSchema as e3, TaskRelationSelectSchema as e4, TaskRelationInsertSchema as e5, TaskRelationUpdateSchema as e6, TaskRelationApiSelectSchema as e7, TaskRelationApiInsertSchema as e8, TaskRelationApiUpdateSchema as e9, DataComponentUpdateSchema as eA, DataComponentApiSelectSchema as eB, DataComponentApiInsertSchema as eC, DataComponentApiUpdateSchema as eD, SubAgentDataComponentSelectSchema as eE, SubAgentDataComponentInsertSchema as eF, SubAgentDataComponentUpdateSchema as eG, SubAgentDataComponentApiSelectSchema as eH, SubAgentDataComponentApiInsertSchema as eI, SubAgentDataComponentApiUpdateSchema as eJ, ArtifactComponentSelectSchema as eK, ArtifactComponentInsertSchema as eL, ArtifactComponentUpdateSchema as eM, ArtifactComponentApiSelectSchema as eN, ArtifactComponentApiInsertSchema as eO, ArtifactComponentApiUpdateSchema as eP, SubAgentArtifactComponentSelectSchema as eQ, SubAgentArtifactComponentInsertSchema as eR, SubAgentArtifactComponentUpdateSchema as eS, SubAgentArtifactComponentApiSelectSchema as eT, SubAgentArtifactComponentApiInsertSchema as eU, SubAgentArtifactComponentApiUpdateSchema as eV, ExternalAgentSelectSchema as eW, ExternalAgentInsertSchema as eX, ExternalAgentUpdateSchema as eY, ExternalAgentApiSelectSchema as eZ, ExternalAgentApiInsertSchema as e_, McpTransportConfigSchema as ea, ToolStatusSchema as eb, McpToolDefinitionSchema as ec, ToolSelectSchema as ed, ToolInsertSchema as ee, ConversationSelectSchema as ef, ConversationInsertSchema as eg, ConversationUpdateSchema as eh, ConversationApiSelectSchema as ei, ConversationApiInsertSchema as ej, ConversationApiUpdateSchema as ek, MessageSelectSchema as el, MessageInsertSchema as em, MessageUpdateSchema as en, MessageApiSelectSchema as eo, MessageApiInsertSchema as ep, MessageApiUpdateSchema as eq, ContextCacheSelectSchema as er, ContextCacheInsertSchema as es, ContextCacheUpdateSchema as et, ContextCacheApiSelectSchema as eu, ContextCacheApiInsertSchema as ev, ContextCacheApiUpdateSchema as ew, DataComponentSelectSchema as ex, DataComponentInsertSchema as ey, DataComponentBaseSchema as ez, type SubAgentStopWhen as f, ProjectApiUpdateSchema as f$, AllAgentSchema as f0, ApiKeySelectSchema as f1, ApiKeyInsertSchema as f2, ApiKeyUpdateSchema as f3, ApiKeyApiSelectSchema as f4, ApiKeyApiCreationResponseSchema as f5, ApiKeyApiInsertSchema as f6, CredentialReferenceSelectSchema as f7, CredentialReferenceInsertSchema as f8, CredentialReferenceUpdateSchema as f9, SubAgentToolRelationSelectSchema as fA, SubAgentToolRelationInsertSchema as fB, SubAgentToolRelationUpdateSchema as fC, SubAgentToolRelationApiSelectSchema as fD, SubAgentToolRelationApiInsertSchema as fE, SubAgentToolRelationApiUpdateSchema as fF, LedgerArtifactSelectSchema as fG, LedgerArtifactInsertSchema as fH, LedgerArtifactUpdateSchema as fI, LedgerArtifactApiSelectSchema as fJ, LedgerArtifactApiInsertSchema as fK, LedgerArtifactApiUpdateSchema as fL, StatusComponentSchema as fM, StatusUpdateSchema as fN, CanUseItemSchema as fO, AgentWithinContextOfProjectSchema as fP, PaginationSchema as fQ, ListResponseSchema as fR, SingleResponseSchema as fS, ErrorResponseSchema as fT, ExistsResponseSchema as fU, RemovedResponseSchema as fV, ProjectSelectSchema as fW, ProjectInsertSchema as fX, ProjectUpdateSchema as fY, ProjectApiSelectSchema as fZ, ProjectApiInsertSchema as f_, CredentialReferenceApiSelectSchema as fa, CredentialReferenceApiInsertSchema as fb, CredentialReferenceApiUpdateSchema as fc, McpToolSchema as fd, MCPToolConfigSchema as fe, ToolUpdateSchema as ff, ToolApiSelectSchema as fg, ToolApiInsertSchema as fh, ToolApiUpdateSchema as fi, FunctionToolSelectSchema as fj, FunctionToolInsertSchema as fk, FunctionToolUpdateSchema as fl, FunctionToolApiSelectSchema as fm, FunctionToolApiInsertSchema as fn, FunctionToolApiUpdateSchema as fo, FunctionSelectSchema as fp, FunctionInsertSchema as fq, FunctionUpdateSchema as fr, FetchConfigSchema as fs, FetchDefinitionSchema as ft, ContextConfigSelectSchema as fu, ContextConfigInsertSchema as fv, ContextConfigUpdateSchema as fw, ContextConfigApiSelectSchema as fx, ContextConfigApiInsertSchema as fy, ContextConfigApiUpdateSchema as fz, type ModelSettings as g, FullProjectDefinitionSchema as g0, ProjectResponse as g1, SubAgentResponse as g2, AgentResponse as g3, ToolResponse as g4, ExternalAgentResponse as g5, ContextConfigResponse as g6, ApiKeyResponse as g7, CredentialReferenceResponse as g8, FunctionResponse as g9, SubAgentArtifactComponentListResponse as gA, HeadersScopeSchema as gB, TenantParamsSchema as gC, TenantIdParamsSchema as gD, TenantProjectParamsSchema as gE, TenantProjectIdParamsSchema as gF, TenantProjectAgentParamsSchema as gG, TenantProjectAgentIdParamsSchema as gH, TenantProjectAgentSubAgentParamsSchema as gI, TenantProjectAgentSubAgentIdParamsSchema as gJ, PaginationQueryParamsSchema as gK, FunctionToolResponse as ga, DataComponentResponse as gb, ArtifactComponentResponse as gc, SubAgentRelationResponse as gd, SubAgentToolRelationResponse as ge, ConversationResponse as gf, MessageResponse as gg, ProjectListResponse as gh, SubAgentListResponse as gi, AgentListResponse as gj, ToolListResponse as gk, ExternalAgentListResponse as gl, ContextConfigListResponse as gm, ApiKeyListResponse as gn, CredentialReferenceListResponse as go, FunctionListResponse as gp, FunctionToolListResponse as gq, DataComponentListResponse as gr, ArtifactComponentListResponse as gs, SubAgentRelationListResponse as gt, SubAgentToolRelationListResponse as gu, ConversationListResponse as gv, MessageListResponse as gw, SubAgentDataComponentResponse as gx, SubAgentArtifactComponentResponse as gy, SubAgentDataComponentListResponse as gz, CredentialStoreType as h, MCPTransportType as i, FunctionApiSelectSchema as j, FunctionApiUpdateSchema as k, SandboxConfigSchema as l, type ContextFetchDefinition as m, type ToolMcpConfig as n, type ToolServerCapabilities as o, type ConversationMetadata as p, type MessageContent as q, type MessageMetadata as r, type CredentialReferenceApiInsert as s, type ContextConfigSelect as t, type MCPToolConfig as u, type AgentScopeConfig as v, type ProjectScopeConfig as w, type PaginationConfig as x, type AgentInsert as y, type AgentUpdate as z };