@inkeep/agents-core 0.19.0 → 0.19.2

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.
@@ -933,9 +933,13 @@ var CredentialStoreType = {
933
933
  var StopWhenSchema = zodOpenapi.z.object({
934
934
  transferCountIs: zodOpenapi.z.number().min(1).max(100).optional(),
935
935
  stepCountIs: zodOpenapi.z.number().min(1).max(1e3).optional()
936
- });
937
- var AgentStopWhenSchema = StopWhenSchema.pick({ transferCountIs: true });
938
- var SubAgentStopWhenSchema = StopWhenSchema.pick({ stepCountIs: true });
936
+ }).openapi("StopWhen");
937
+ var AgentStopWhenSchema = StopWhenSchema.pick({ transferCountIs: true }).openapi(
938
+ "AgentStopWhen"
939
+ );
940
+ var SubAgentStopWhenSchema = StopWhenSchema.pick({ stepCountIs: true }).openapi(
941
+ "SubAgentStopWhen"
942
+ );
939
943
  var MIN_ID_LENGTH = 1;
940
944
  var MAX_ID_LENGTH = 255;
941
945
  var URL_SAFE_ID_PATTERN = /^[a-zA-Z0-9\-_.]+$/;
@@ -948,23 +952,23 @@ var resourceIdSchema = zodOpenapi.z.string().min(MIN_ID_LENGTH).max(MAX_ID_LENGT
948
952
  var ModelSettingsSchema = zodOpenapi.z.object({
949
953
  model: zodOpenapi.z.string().optional(),
950
954
  providerOptions: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any()).optional()
951
- });
955
+ }).openapi("ModelSettings");
952
956
  var ModelSchema = zodOpenapi.z.object({
953
957
  base: ModelSettingsSchema.optional(),
954
958
  structuredOutput: ModelSettingsSchema.optional(),
955
959
  summarizer: ModelSettingsSchema.optional()
956
- });
960
+ }).openapi("Model");
957
961
  var ProjectModelSchema = zodOpenapi.z.object({
958
962
  base: ModelSettingsSchema,
959
963
  structuredOutput: ModelSettingsSchema.optional(),
960
964
  summarizer: ModelSettingsSchema.optional()
961
- });
965
+ }).openapi("ProjectModel");
962
966
  var SandboxConfigSchema = zodOpenapi.z.object({
963
967
  provider: zodOpenapi.z.enum(["vercel", "local"]),
964
968
  runtime: zodOpenapi.z.enum(["node22", "typescript"]),
965
969
  timeout: zodOpenapi.z.number().min(1e3).max(3e5).optional(),
966
970
  vcpus: zodOpenapi.z.number().min(1).max(8).optional()
967
- });
971
+ }).openapi("SandboxConfig");
968
972
  var FunctionToolConfigSchema = zodOpenapi.z.object({
969
973
  name: zodOpenapi.z.string(),
970
974
  description: zodOpenapi.z.string(),
@@ -984,9 +988,15 @@ var SubAgentInsertSchema = drizzleZod.createInsertSchema(subAgents).extend({
984
988
  models: ModelSchema.optional()
985
989
  });
986
990
  var SubAgentUpdateSchema = SubAgentInsertSchema.partial();
987
- var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema);
988
- var SubAgentApiInsertSchema = createAgentScopedApiInsertSchema(SubAgentInsertSchema);
989
- var SubAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(SubAgentUpdateSchema);
991
+ var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema).openapi(
992
+ "SubAgent"
993
+ );
994
+ var SubAgentApiInsertSchema = createAgentScopedApiInsertSchema(
995
+ SubAgentInsertSchema
996
+ ).openapi("SubAgentCreate");
997
+ var SubAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(
998
+ SubAgentUpdateSchema
999
+ ).openapi("SubAgentUpdate");
990
1000
  var SubAgentRelationSelectSchema = drizzleZod.createSelectSchema(subAgentRelations);
991
1001
  var SubAgentRelationInsertSchema = drizzleZod.createInsertSchema(subAgentRelations).extend({
992
1002
  id: resourceIdSchema,
@@ -998,7 +1008,7 @@ var SubAgentRelationInsertSchema = drizzleZod.createInsertSchema(subAgentRelatio
998
1008
  var SubAgentRelationUpdateSchema = SubAgentRelationInsertSchema.partial();
999
1009
  var SubAgentRelationApiSelectSchema = createAgentScopedApiSchema(
1000
1010
  SubAgentRelationSelectSchema
1001
- );
1011
+ ).openapi("SubAgentRelation");
1002
1012
  var SubAgentRelationApiInsertSchema = createAgentScopedApiInsertSchema(
1003
1013
  SubAgentRelationInsertSchema
1004
1014
  ).extend({
@@ -1013,7 +1023,7 @@ var SubAgentRelationApiInsertSchema = createAgentScopedApiInsertSchema(
1013
1023
  message: "Must specify exactly one of targetSubAgentId or externalSubAgentId",
1014
1024
  path: ["targetSubAgentId", "externalSubAgentId"]
1015
1025
  }
1016
- );
1026
+ ).openapi("SubAgentRelationCreate");
1017
1027
  var SubAgentRelationApiUpdateSchema = createAgentScopedApiUpdateSchema(
1018
1028
  SubAgentRelationUpdateSchema
1019
1029
  ).extend({
@@ -1031,7 +1041,7 @@ var SubAgentRelationApiUpdateSchema = createAgentScopedApiUpdateSchema(
1031
1041
  message: "Must specify exactly one of targetSubAgentId or externalSubAgentId when updating sub-agent relationships",
1032
1042
  path: ["targetSubAgentId", "externalSubAgentId"]
1033
1043
  }
1034
- );
1044
+ ).openapi("SubAgentRelationUpdate");
1035
1045
  var SubAgentRelationQuerySchema = zodOpenapi.z.object({
1036
1046
  sourceSubAgentId: zodOpenapi.z.string().optional(),
1037
1047
  targetSubAgentId: zodOpenapi.z.string().optional(),
@@ -1051,11 +1061,13 @@ var AgentInsertSchema = drizzleZod.createInsertSchema(agents).extend({
1051
1061
  id: resourceIdSchema
1052
1062
  });
1053
1063
  var AgentUpdateSchema = AgentInsertSchema.partial();
1054
- var AgentApiSelectSchema = createApiSchema(AgentSelectSchema);
1064
+ var AgentApiSelectSchema = createApiSchema(AgentSelectSchema).openapi("Agent");
1055
1065
  var AgentApiInsertSchema = createApiInsertSchema(AgentInsertSchema).extend({
1056
1066
  id: resourceIdSchema
1057
- });
1058
- var AgentApiUpdateSchema = createApiUpdateSchema(AgentUpdateSchema);
1067
+ }).openapi("AgentCreate");
1068
+ var AgentApiUpdateSchema = createApiUpdateSchema(AgentUpdateSchema).openapi(
1069
+ "AgentUpdate"
1070
+ );
1059
1071
  var TaskSelectSchema = drizzleZod.createSelectSchema(tasks);
1060
1072
  var TaskInsertSchema = drizzleZod.createInsertSchema(tasks).extend({
1061
1073
  id: resourceIdSchema,
@@ -1103,7 +1115,7 @@ var McpTransportConfigSchema = zodOpenapi.z.object({
1103
1115
  description: "Reconnection options for streamable HTTP transport"
1104
1116
  }),
1105
1117
  sessionId: zodOpenapi.z.string().optional()
1106
- });
1118
+ }).openapi("McpTransportConfig");
1107
1119
  var ToolStatusSchema = zodOpenapi.z.enum(TOOL_STATUS_VALUES);
1108
1120
  var McpToolDefinitionSchema = zodOpenapi.z.object({
1109
1121
  name: zodOpenapi.z.string(),
@@ -1140,9 +1152,15 @@ var ConversationInsertSchema = drizzleZod.createInsertSchema(conversations).exte
1140
1152
  contextConfigId: resourceIdSchema.optional()
1141
1153
  });
1142
1154
  var ConversationUpdateSchema = ConversationInsertSchema.partial();
1143
- var ConversationApiSelectSchema = createApiSchema(ConversationSelectSchema);
1144
- var ConversationApiInsertSchema = createApiInsertSchema(ConversationInsertSchema);
1145
- var ConversationApiUpdateSchema = createApiUpdateSchema(ConversationUpdateSchema);
1155
+ var ConversationApiSelectSchema = createApiSchema(ConversationSelectSchema).openapi(
1156
+ "Conversation"
1157
+ );
1158
+ var ConversationApiInsertSchema = createApiInsertSchema(ConversationInsertSchema).openapi(
1159
+ "ConversationCreate"
1160
+ );
1161
+ var ConversationApiUpdateSchema = createApiUpdateSchema(ConversationUpdateSchema).openapi(
1162
+ "ConversationUpdate"
1163
+ );
1146
1164
  var MessageSelectSchema = drizzleZod.createSelectSchema(messages);
1147
1165
  var MessageInsertSchema = drizzleZod.createInsertSchema(messages).extend({
1148
1166
  id: resourceIdSchema,
@@ -1150,9 +1168,13 @@ var MessageInsertSchema = drizzleZod.createInsertSchema(messages).extend({
1150
1168
  taskId: resourceIdSchema.optional()
1151
1169
  });
1152
1170
  var MessageUpdateSchema = MessageInsertSchema.partial();
1153
- var MessageApiSelectSchema = createApiSchema(MessageSelectSchema);
1154
- var MessageApiInsertSchema = createApiInsertSchema(MessageInsertSchema);
1155
- var MessageApiUpdateSchema = createApiUpdateSchema(MessageUpdateSchema);
1171
+ var MessageApiSelectSchema = createApiSchema(MessageSelectSchema).openapi("Message");
1172
+ var MessageApiInsertSchema = createApiInsertSchema(MessageInsertSchema).openapi(
1173
+ "MessageCreate"
1174
+ );
1175
+ var MessageApiUpdateSchema = createApiUpdateSchema(MessageUpdateSchema).openapi(
1176
+ "MessageUpdate"
1177
+ );
1156
1178
  var ContextCacheSelectSchema = drizzleZod.createSelectSchema(contextCache);
1157
1179
  var ContextCacheInsertSchema = drizzleZod.createInsertSchema(contextCache);
1158
1180
  var ContextCacheUpdateSchema = ContextCacheInsertSchema.partial();
@@ -1168,9 +1190,15 @@ var DataComponentBaseSchema = DataComponentInsertSchema.omit({
1168
1190
  updatedAt: true
1169
1191
  });
1170
1192
  var DataComponentUpdateSchema = DataComponentInsertSchema.partial();
1171
- var DataComponentApiSelectSchema = createApiSchema(DataComponentSelectSchema);
1172
- var DataComponentApiInsertSchema = createApiInsertSchema(DataComponentInsertSchema);
1173
- var DataComponentApiUpdateSchema = createApiUpdateSchema(DataComponentUpdateSchema);
1193
+ var DataComponentApiSelectSchema = createApiSchema(
1194
+ DataComponentSelectSchema
1195
+ ).openapi("DataComponent");
1196
+ var DataComponentApiInsertSchema = createApiInsertSchema(
1197
+ DataComponentInsertSchema
1198
+ ).openapi("DataComponentCreate");
1199
+ var DataComponentApiUpdateSchema = createApiUpdateSchema(
1200
+ DataComponentUpdateSchema
1201
+ ).openapi("DataComponentUpdate");
1174
1202
  var SubAgentDataComponentSelectSchema = drizzleZod.createSelectSchema(subAgentDataComponents);
1175
1203
  var SubAgentDataComponentInsertSchema = drizzleZod.createInsertSchema(subAgentDataComponents);
1176
1204
  var SubAgentDataComponentUpdateSchema = SubAgentDataComponentInsertSchema.partial();
@@ -1191,16 +1219,18 @@ var ArtifactComponentInsertSchema = drizzleZod.createInsertSchema(artifactCompon
1191
1219
  id: resourceIdSchema
1192
1220
  });
1193
1221
  var ArtifactComponentUpdateSchema = ArtifactComponentInsertSchema.partial();
1194
- var ArtifactComponentApiSelectSchema = createApiSchema(ArtifactComponentSelectSchema);
1222
+ var ArtifactComponentApiSelectSchema = createApiSchema(
1223
+ ArtifactComponentSelectSchema
1224
+ ).openapi("ArtifactComponent");
1195
1225
  var ArtifactComponentApiInsertSchema = ArtifactComponentInsertSchema.omit({
1196
1226
  tenantId: true,
1197
1227
  projectId: true,
1198
1228
  createdAt: true,
1199
1229
  updatedAt: true
1200
- });
1230
+ }).openapi("ArtifactComponentCreate");
1201
1231
  var ArtifactComponentApiUpdateSchema = createApiUpdateSchema(
1202
1232
  ArtifactComponentUpdateSchema
1203
- );
1233
+ ).openapi("ArtifactComponentUpdate");
1204
1234
  var SubAgentArtifactComponentSelectSchema = drizzleZod.createSelectSchema(subAgentArtifactComponents);
1205
1235
  var SubAgentArtifactComponentInsertSchema = drizzleZod.createInsertSchema(
1206
1236
  subAgentArtifactComponents
@@ -1230,9 +1260,15 @@ var ExternalAgentInsertSchema = drizzleZod.createInsertSchema(externalAgents).ex
1230
1260
  id: resourceIdSchema
1231
1261
  });
1232
1262
  var ExternalAgentUpdateSchema = ExternalAgentInsertSchema.partial();
1233
- var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(ExternalAgentSelectSchema);
1234
- var ExternalAgentApiInsertSchema = createAgentScopedApiInsertSchema(ExternalAgentInsertSchema);
1235
- var ExternalAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(ExternalAgentUpdateSchema);
1263
+ var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(
1264
+ ExternalAgentSelectSchema
1265
+ ).openapi("ExternalAgent");
1266
+ var ExternalAgentApiInsertSchema = createAgentScopedApiInsertSchema(
1267
+ ExternalAgentInsertSchema
1268
+ ).openapi("ExternalAgentCreate");
1269
+ var ExternalAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(
1270
+ ExternalAgentUpdateSchema
1271
+ ).openapi("ExternalAgentUpdate");
1236
1272
  var AllAgentSchema = zodOpenapi.z.discriminatedUnion("type", [
1237
1273
  SubAgentApiSelectSchema.extend({ type: zodOpenapi.z.literal("internal") }),
1238
1274
  ExternalAgentApiSelectSchema.extend({ type: zodOpenapi.z.literal("external") })
@@ -1256,7 +1292,7 @@ var ApiKeyApiSelectSchema = ApiKeySelectSchema.omit({
1256
1292
  projectId: true,
1257
1293
  keyHash: true
1258
1294
  // Never expose the hash
1259
- });
1295
+ }).openapi("ApiKey");
1260
1296
  var ApiKeyApiCreationResponseSchema = zodOpenapi.z.object({
1261
1297
  data: zodOpenapi.z.object({
1262
1298
  apiKey: ApiKeyApiSelectSchema,
@@ -1276,8 +1312,8 @@ var ApiKeyApiInsertSchema = ApiKeyInsertSchema.omit({
1276
1312
  // Auto-generated
1277
1313
  lastUsedAt: true
1278
1314
  // Not set on creation
1279
- });
1280
- var ApiKeyApiUpdateSchema = ApiKeyUpdateSchema;
1315
+ }).openapi("ApiKeyCreate");
1316
+ var ApiKeyApiUpdateSchema = ApiKeyUpdateSchema.openapi("ApiKeyUpdate");
1281
1317
  var CredentialReferenceSelectSchema = zodOpenapi.z.object({
1282
1318
  id: zodOpenapi.z.string(),
1283
1319
  tenantId: zodOpenapi.z.string(),
@@ -1300,17 +1336,17 @@ var CredentialReferenceApiSelectSchema = createApiSchema(
1300
1336
  ).extend({
1301
1337
  type: zodOpenapi.z.enum(CredentialStoreType),
1302
1338
  tools: zodOpenapi.z.array(ToolSelectSchema).optional()
1303
- });
1339
+ }).openapi("CredentialReference");
1304
1340
  var CredentialReferenceApiInsertSchema = createApiInsertSchema(
1305
1341
  CredentialReferenceInsertSchema
1306
1342
  ).extend({
1307
1343
  type: zodOpenapi.z.enum(CredentialStoreType)
1308
- });
1344
+ }).openapi("CredentialReferenceCreate");
1309
1345
  var CredentialReferenceApiUpdateSchema = createApiUpdateSchema(
1310
1346
  CredentialReferenceUpdateSchema
1311
1347
  ).extend({
1312
1348
  type: zodOpenapi.z.enum(CredentialStoreType).optional()
1313
- });
1349
+ }).openapi("CredentialReferenceUpdate");
1314
1350
  var McpToolSchema = ToolInsertSchema.extend({
1315
1351
  imageUrl: imageUrlSchema,
1316
1352
  availableTools: zodOpenapi.z.array(McpToolDefinitionSchema).optional(),
@@ -1339,25 +1375,35 @@ var MCPToolConfigSchema = McpToolSchema.omit({
1339
1375
  credential: CredentialReferenceApiInsertSchema.optional()
1340
1376
  });
1341
1377
  var ToolUpdateSchema = ToolInsertSchema.partial();
1342
- var ToolApiSelectSchema = createApiSchema(ToolSelectSchema);
1343
- var ToolApiInsertSchema = createApiInsertSchema(ToolInsertSchema);
1344
- var ToolApiUpdateSchema = createApiUpdateSchema(ToolUpdateSchema);
1378
+ var ToolApiSelectSchema = createApiSchema(ToolSelectSchema).openapi("Tool");
1379
+ var ToolApiInsertSchema = createApiInsertSchema(ToolInsertSchema).openapi("ToolCreate");
1380
+ var ToolApiUpdateSchema = createApiUpdateSchema(ToolUpdateSchema).openapi("ToolUpdate");
1345
1381
  var FunctionToolSelectSchema = drizzleZod.createSelectSchema(functionTools);
1346
1382
  var FunctionToolInsertSchema = drizzleZod.createInsertSchema(functionTools).extend({
1347
1383
  id: resourceIdSchema
1348
1384
  });
1349
1385
  var FunctionToolUpdateSchema = FunctionToolInsertSchema.partial();
1350
- var FunctionToolApiSelectSchema = createApiSchema(FunctionToolSelectSchema);
1351
- var FunctionToolApiInsertSchema = createAgentScopedApiInsertSchema(FunctionToolInsertSchema);
1352
- var FunctionToolApiUpdateSchema = createApiUpdateSchema(FunctionToolUpdateSchema);
1386
+ var FunctionToolApiSelectSchema = createApiSchema(FunctionToolSelectSchema).openapi(
1387
+ "FunctionTool"
1388
+ );
1389
+ var FunctionToolApiInsertSchema = createAgentScopedApiInsertSchema(
1390
+ FunctionToolInsertSchema
1391
+ ).openapi("FunctionToolCreate");
1392
+ var FunctionToolApiUpdateSchema = createApiUpdateSchema(
1393
+ FunctionToolUpdateSchema
1394
+ ).openapi("FunctionToolUpdate");
1353
1395
  var FunctionSelectSchema = drizzleZod.createSelectSchema(functions);
1354
1396
  var FunctionInsertSchema = drizzleZod.createInsertSchema(functions).extend({
1355
1397
  id: resourceIdSchema
1356
1398
  });
1357
1399
  var FunctionUpdateSchema = FunctionInsertSchema.partial();
1358
- var FunctionApiSelectSchema = createApiSchema(FunctionSelectSchema);
1359
- var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema);
1360
- var FunctionApiUpdateSchema = createApiUpdateSchema(FunctionUpdateSchema);
1400
+ var FunctionApiSelectSchema = createApiSchema(FunctionSelectSchema).openapi("Function");
1401
+ var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema).openapi(
1402
+ "FunctionCreate"
1403
+ );
1404
+ var FunctionApiUpdateSchema = createApiUpdateSchema(FunctionUpdateSchema).openapi(
1405
+ "FunctionUpdate"
1406
+ );
1361
1407
  var FetchConfigSchema = zodOpenapi.z.object({
1362
1408
  url: zodOpenapi.z.string().min(1, "URL is required"),
1363
1409
  method: zodOpenapi.z.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional().default("GET"),
@@ -1366,7 +1412,7 @@ var FetchConfigSchema = zodOpenapi.z.object({
1366
1412
  transform: zodOpenapi.z.string().optional(),
1367
1413
  // JSONPath or JS transform function
1368
1414
  timeout: zodOpenapi.z.number().min(0).optional().default(1e4).optional()
1369
- });
1415
+ }).openapi("FetchConfig");
1370
1416
  var FetchDefinitionSchema = zodOpenapi.z.object({
1371
1417
  id: zodOpenapi.z.string().min(1, "Fetch definition ID is required"),
1372
1418
  name: zodOpenapi.z.string().optional(),
@@ -1378,7 +1424,7 @@ var FetchDefinitionSchema = zodOpenapi.z.object({
1378
1424
  description: "Default value if fetch fails"
1379
1425
  }),
1380
1426
  credential: CredentialReferenceApiInsertSchema.optional()
1381
- });
1427
+ }).openapi("FetchDefinition");
1382
1428
  var ContextConfigSelectSchema = drizzleZod.createSelectSchema(contextConfigs).extend({
1383
1429
  headersSchema: zodOpenapi.z.any().optional().openapi({
1384
1430
  type: "object",
@@ -1402,13 +1448,13 @@ var ContextConfigInsertSchema = drizzleZod.createInsertSchema(contextConfigs).ex
1402
1448
  var ContextConfigUpdateSchema = ContextConfigInsertSchema.partial();
1403
1449
  var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema).omit({
1404
1450
  agentId: true
1405
- });
1451
+ }).openapi("ContextConfig");
1406
1452
  var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema).omit({
1407
1453
  agentId: true
1408
- });
1454
+ }).openapi("ContextConfigCreate");
1409
1455
  var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema).omit({
1410
1456
  agentId: true
1411
- });
1457
+ }).openapi("ContextConfigUpdate");
1412
1458
  var SubAgentToolRelationSelectSchema = drizzleZod.createSelectSchema(subAgentToolRelations);
1413
1459
  var SubAgentToolRelationInsertSchema = drizzleZod.createInsertSchema(subAgentToolRelations).extend({
1414
1460
  id: resourceIdSchema,
@@ -1420,13 +1466,13 @@ var SubAgentToolRelationInsertSchema = drizzleZod.createInsertSchema(subAgentToo
1420
1466
  var SubAgentToolRelationUpdateSchema = SubAgentToolRelationInsertSchema.partial();
1421
1467
  var SubAgentToolRelationApiSelectSchema = createAgentScopedApiSchema(
1422
1468
  SubAgentToolRelationSelectSchema
1423
- );
1469
+ ).openapi("SubAgentToolRelation");
1424
1470
  var SubAgentToolRelationApiInsertSchema = createAgentScopedApiInsertSchema(
1425
1471
  SubAgentToolRelationInsertSchema
1426
- );
1472
+ ).openapi("SubAgentToolRelationCreate");
1427
1473
  var SubAgentToolRelationApiUpdateSchema = createAgentScopedApiUpdateSchema(
1428
1474
  SubAgentToolRelationUpdateSchema
1429
- );
1475
+ ).openapi("SubAgentToolRelationUpdate");
1430
1476
  var LedgerArtifactSelectSchema = drizzleZod.createSelectSchema(ledgerArtifacts);
1431
1477
  var LedgerArtifactInsertSchema = drizzleZod.createInsertSchema(ledgerArtifacts);
1432
1478
  var LedgerArtifactUpdateSchema = LedgerArtifactInsertSchema.partial();
@@ -1441,20 +1487,20 @@ var StatusComponentSchema = zodOpenapi.z.object({
1441
1487
  properties: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any()),
1442
1488
  required: zodOpenapi.z.array(zodOpenapi.z.string()).optional()
1443
1489
  }).optional()
1444
- });
1490
+ }).openapi("StatusComponent");
1445
1491
  var StatusUpdateSchema = zodOpenapi.z.object({
1446
1492
  enabled: zodOpenapi.z.boolean().optional(),
1447
1493
  numEvents: zodOpenapi.z.number().min(1).max(100).optional(),
1448
1494
  timeInSeconds: zodOpenapi.z.number().min(1).max(600).optional(),
1449
1495
  prompt: zodOpenapi.z.string().max(2e3, "Custom prompt cannot exceed 2000 characters").optional(),
1450
1496
  statusComponents: zodOpenapi.z.array(StatusComponentSchema).optional()
1451
- });
1497
+ }).openapi("StatusUpdate");
1452
1498
  var CanUseItemSchema = zodOpenapi.z.object({
1453
1499
  agentToolRelationId: zodOpenapi.z.string().optional(),
1454
1500
  toolId: zodOpenapi.z.string(),
1455
1501
  toolSelection: zodOpenapi.z.array(zodOpenapi.z.string()).nullish(),
1456
1502
  headers: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.string()).nullish()
1457
- });
1503
+ }).openapi("CanUseItem");
1458
1504
  var FullAgentAgentInsertSchema = SubAgentApiInsertSchema.extend({
1459
1505
  type: zodOpenapi.z.literal("internal"),
1460
1506
  canUse: zodOpenapi.z.array(CanUseItemSchema),
@@ -1487,7 +1533,7 @@ var PaginationSchema = zodOpenapi.z.object({
1487
1533
  limit: zodOpenapi.z.coerce.number().min(1).max(100).default(10),
1488
1534
  total: zodOpenapi.z.number(),
1489
1535
  pages: zodOpenapi.z.number()
1490
- });
1536
+ }).openapi("Pagination");
1491
1537
  var ListResponseSchema = (itemSchema) => zodOpenapi.z.object({
1492
1538
  data: zodOpenapi.z.array(itemSchema),
1493
1539
  pagination: PaginationSchema
@@ -1501,14 +1547,14 @@ var ErrorResponseSchema = zodOpenapi.z.object({
1501
1547
  details: zodOpenapi.z.any().optional().openapi({
1502
1548
  description: "Additional error details"
1503
1549
  })
1504
- });
1550
+ }).openapi("ErrorResponse");
1505
1551
  var ExistsResponseSchema = zodOpenapi.z.object({
1506
1552
  exists: zodOpenapi.z.boolean()
1507
- });
1553
+ }).openapi("ExistsResponse");
1508
1554
  var RemovedResponseSchema = zodOpenapi.z.object({
1509
1555
  message: zodOpenapi.z.string(),
1510
1556
  removed: zodOpenapi.z.boolean()
1511
- });
1557
+ }).openapi("RemovedResponse");
1512
1558
  var ProjectSelectSchema = drizzleZod.createSelectSchema(projects);
1513
1559
  var ProjectInsertSchema = drizzleZod.createInsertSchema(projects).extend({
1514
1560
  models: ProjectModelSchema,
@@ -1519,9 +1565,15 @@ var ProjectInsertSchema = drizzleZod.createInsertSchema(projects).extend({
1519
1565
  updatedAt: true
1520
1566
  });
1521
1567
  var ProjectUpdateSchema = ProjectInsertSchema.partial();
1522
- var ProjectApiSelectSchema = ProjectSelectSchema.omit({ tenantId: true });
1523
- var ProjectApiInsertSchema = ProjectInsertSchema.omit({ tenantId: true });
1524
- var ProjectApiUpdateSchema = ProjectUpdateSchema.omit({ tenantId: true });
1568
+ var ProjectApiSelectSchema = ProjectSelectSchema.omit({ tenantId: true }).openapi(
1569
+ "Project"
1570
+ );
1571
+ var ProjectApiInsertSchema = ProjectInsertSchema.omit({ tenantId: true }).openapi(
1572
+ "ProjectCreate"
1573
+ );
1574
+ var ProjectApiUpdateSchema = ProjectUpdateSchema.omit({ tenantId: true }).openapi(
1575
+ "ProjectUpdate"
1576
+ );
1525
1577
  var FullProjectDefinitionSchema = ProjectApiInsertSchema.extend({
1526
1578
  agents: zodOpenapi.z.record(zodOpenapi.z.string(), AgentWithinContextOfProjectSchema),
1527
1579
  tools: zodOpenapi.z.record(zodOpenapi.z.string(), ToolApiInsertSchema),
@@ -1533,6 +1585,96 @@ var FullProjectDefinitionSchema = ProjectApiInsertSchema.extend({
1533
1585
  createdAt: zodOpenapi.z.string().optional(),
1534
1586
  updatedAt: zodOpenapi.z.string().optional()
1535
1587
  });
1588
+ var ProjectResponse = zodOpenapi.z.object({ data: ProjectApiSelectSchema }).openapi("ProjectResponse");
1589
+ var SubAgentResponse = zodOpenapi.z.object({ data: SubAgentApiSelectSchema }).openapi("SubAgentResponse");
1590
+ var AgentResponse = zodOpenapi.z.object({ data: AgentApiSelectSchema }).openapi("AgentResponse");
1591
+ var ToolResponse = zodOpenapi.z.object({ data: ToolApiSelectSchema }).openapi("ToolResponse");
1592
+ var ExternalAgentResponse = zodOpenapi.z.object({ data: ExternalAgentApiSelectSchema }).openapi("ExternalAgentResponse");
1593
+ var ContextConfigResponse = zodOpenapi.z.object({ data: ContextConfigApiSelectSchema }).openapi("ContextConfigResponse");
1594
+ var ApiKeyResponse = zodOpenapi.z.object({ data: ApiKeyApiSelectSchema }).openapi("ApiKeyResponse");
1595
+ var CredentialReferenceResponse = zodOpenapi.z.object({ data: CredentialReferenceApiSelectSchema }).openapi("CredentialReferenceResponse");
1596
+ var FunctionResponse = zodOpenapi.z.object({ data: FunctionApiSelectSchema }).openapi("FunctionResponse");
1597
+ var FunctionToolResponse = zodOpenapi.z.object({ data: FunctionToolApiSelectSchema }).openapi("FunctionToolResponse");
1598
+ var DataComponentResponse = zodOpenapi.z.object({ data: DataComponentApiSelectSchema }).openapi("DataComponentResponse");
1599
+ var ArtifactComponentResponse = zodOpenapi.z.object({ data: ArtifactComponentApiSelectSchema }).openapi("ArtifactComponentResponse");
1600
+ var SubAgentRelationResponse = zodOpenapi.z.object({ data: SubAgentRelationApiSelectSchema }).openapi("SubAgentRelationResponse");
1601
+ var SubAgentToolRelationResponse = zodOpenapi.z.object({ data: SubAgentToolRelationApiSelectSchema }).openapi("SubAgentToolRelationResponse");
1602
+ var ConversationResponse = zodOpenapi.z.object({ data: ConversationApiSelectSchema }).openapi("ConversationResponse");
1603
+ var MessageResponse = zodOpenapi.z.object({ data: MessageApiSelectSchema }).openapi("MessageResponse");
1604
+ var ProjectListResponse = zodOpenapi.z.object({
1605
+ data: zodOpenapi.z.array(ProjectApiSelectSchema),
1606
+ pagination: PaginationSchema
1607
+ }).openapi("ProjectListResponse");
1608
+ var SubAgentListResponse = zodOpenapi.z.object({
1609
+ data: zodOpenapi.z.array(SubAgentApiSelectSchema),
1610
+ pagination: PaginationSchema
1611
+ }).openapi("SubAgentListResponse");
1612
+ var AgentListResponse = zodOpenapi.z.object({
1613
+ data: zodOpenapi.z.array(AgentApiSelectSchema),
1614
+ pagination: PaginationSchema
1615
+ }).openapi("AgentListResponse");
1616
+ var ToolListResponse = zodOpenapi.z.object({
1617
+ data: zodOpenapi.z.array(ToolApiSelectSchema),
1618
+ pagination: PaginationSchema
1619
+ }).openapi("ToolListResponse");
1620
+ var ExternalAgentListResponse = zodOpenapi.z.object({
1621
+ data: zodOpenapi.z.array(ExternalAgentApiSelectSchema),
1622
+ pagination: PaginationSchema
1623
+ }).openapi("ExternalAgentListResponse");
1624
+ var ContextConfigListResponse = zodOpenapi.z.object({
1625
+ data: zodOpenapi.z.array(ContextConfigApiSelectSchema),
1626
+ pagination: PaginationSchema
1627
+ }).openapi("ContextConfigListResponse");
1628
+ var ApiKeyListResponse = zodOpenapi.z.object({
1629
+ data: zodOpenapi.z.array(ApiKeyApiSelectSchema),
1630
+ pagination: PaginationSchema
1631
+ }).openapi("ApiKeyListResponse");
1632
+ var CredentialReferenceListResponse = zodOpenapi.z.object({
1633
+ data: zodOpenapi.z.array(CredentialReferenceApiSelectSchema),
1634
+ pagination: PaginationSchema
1635
+ }).openapi("CredentialReferenceListResponse");
1636
+ var FunctionListResponse = zodOpenapi.z.object({
1637
+ data: zodOpenapi.z.array(FunctionApiSelectSchema),
1638
+ pagination: PaginationSchema
1639
+ }).openapi("FunctionListResponse");
1640
+ var FunctionToolListResponse = zodOpenapi.z.object({
1641
+ data: zodOpenapi.z.array(FunctionToolApiSelectSchema),
1642
+ pagination: PaginationSchema
1643
+ }).openapi("FunctionToolListResponse");
1644
+ var DataComponentListResponse = zodOpenapi.z.object({
1645
+ data: zodOpenapi.z.array(DataComponentApiSelectSchema),
1646
+ pagination: PaginationSchema
1647
+ }).openapi("DataComponentListResponse");
1648
+ var ArtifactComponentListResponse = zodOpenapi.z.object({
1649
+ data: zodOpenapi.z.array(ArtifactComponentApiSelectSchema),
1650
+ pagination: PaginationSchema
1651
+ }).openapi("ArtifactComponentListResponse");
1652
+ var SubAgentRelationListResponse = zodOpenapi.z.object({
1653
+ data: zodOpenapi.z.array(SubAgentRelationApiSelectSchema),
1654
+ pagination: PaginationSchema
1655
+ }).openapi("SubAgentRelationListResponse");
1656
+ var SubAgentToolRelationListResponse = zodOpenapi.z.object({
1657
+ data: zodOpenapi.z.array(SubAgentToolRelationApiSelectSchema),
1658
+ pagination: PaginationSchema
1659
+ }).openapi("SubAgentToolRelationListResponse");
1660
+ var ConversationListResponse = zodOpenapi.z.object({
1661
+ data: zodOpenapi.z.array(ConversationApiSelectSchema),
1662
+ pagination: PaginationSchema
1663
+ }).openapi("ConversationListResponse");
1664
+ var MessageListResponse = zodOpenapi.z.object({
1665
+ data: zodOpenapi.z.array(MessageApiSelectSchema),
1666
+ pagination: PaginationSchema
1667
+ }).openapi("MessageListResponse");
1668
+ var SubAgentDataComponentResponse = zodOpenapi.z.object({ data: SubAgentDataComponentApiSelectSchema }).openapi("SubAgentDataComponentResponse");
1669
+ var SubAgentArtifactComponentResponse = zodOpenapi.z.object({ data: SubAgentArtifactComponentApiSelectSchema }).openapi("SubAgentArtifactComponentResponse");
1670
+ var SubAgentDataComponentListResponse = zodOpenapi.z.object({
1671
+ data: zodOpenapi.z.array(SubAgentDataComponentApiSelectSchema),
1672
+ pagination: PaginationSchema
1673
+ }).openapi("SubAgentDataComponentListResponse");
1674
+ var SubAgentArtifactComponentListResponse = zodOpenapi.z.object({
1675
+ data: zodOpenapi.z.array(SubAgentArtifactComponentApiSelectSchema),
1676
+ pagination: PaginationSchema
1677
+ }).openapi("SubAgentArtifactComponentListResponse");
1536
1678
  var HeadersScopeSchema = zodOpenapi.z.object({
1537
1679
  "x-inkeep-tenant-id": zodOpenapi.z.string().optional().openapi({
1538
1680
  description: "Tenant identifier",
@@ -1830,6 +1972,8 @@ exports.AgentApiInsertSchema = AgentApiInsertSchema;
1830
1972
  exports.AgentApiSelectSchema = AgentApiSelectSchema;
1831
1973
  exports.AgentApiUpdateSchema = AgentApiUpdateSchema;
1832
1974
  exports.AgentInsertSchema = AgentInsertSchema;
1975
+ exports.AgentListResponse = AgentListResponse;
1976
+ exports.AgentResponse = AgentResponse;
1833
1977
  exports.AgentSelectSchema = AgentSelectSchema;
1834
1978
  exports.AgentStopWhenSchema = AgentStopWhenSchema;
1835
1979
  exports.AgentUpdateSchema = AgentUpdateSchema;
@@ -1840,12 +1984,16 @@ exports.ApiKeyApiInsertSchema = ApiKeyApiInsertSchema;
1840
1984
  exports.ApiKeyApiSelectSchema = ApiKeyApiSelectSchema;
1841
1985
  exports.ApiKeyApiUpdateSchema = ApiKeyApiUpdateSchema;
1842
1986
  exports.ApiKeyInsertSchema = ApiKeyInsertSchema;
1987
+ exports.ApiKeyListResponse = ApiKeyListResponse;
1988
+ exports.ApiKeyResponse = ApiKeyResponse;
1843
1989
  exports.ApiKeySelectSchema = ApiKeySelectSchema;
1844
1990
  exports.ApiKeyUpdateSchema = ApiKeyUpdateSchema;
1845
1991
  exports.ArtifactComponentApiInsertSchema = ArtifactComponentApiInsertSchema;
1846
1992
  exports.ArtifactComponentApiSelectSchema = ArtifactComponentApiSelectSchema;
1847
1993
  exports.ArtifactComponentApiUpdateSchema = ArtifactComponentApiUpdateSchema;
1848
1994
  exports.ArtifactComponentInsertSchema = ArtifactComponentInsertSchema;
1995
+ exports.ArtifactComponentListResponse = ArtifactComponentListResponse;
1996
+ exports.ArtifactComponentResponse = ArtifactComponentResponse;
1849
1997
  exports.ArtifactComponentSelectSchema = ArtifactComponentSelectSchema;
1850
1998
  exports.ArtifactComponentUpdateSchema = ArtifactComponentUpdateSchema;
1851
1999
  exports.CanUseItemSchema = CanUseItemSchema;
@@ -1859,18 +2007,24 @@ exports.ContextConfigApiInsertSchema = ContextConfigApiInsertSchema;
1859
2007
  exports.ContextConfigApiSelectSchema = ContextConfigApiSelectSchema;
1860
2008
  exports.ContextConfigApiUpdateSchema = ContextConfigApiUpdateSchema;
1861
2009
  exports.ContextConfigInsertSchema = ContextConfigInsertSchema;
2010
+ exports.ContextConfigListResponse = ContextConfigListResponse;
2011
+ exports.ContextConfigResponse = ContextConfigResponse;
1862
2012
  exports.ContextConfigSelectSchema = ContextConfigSelectSchema;
1863
2013
  exports.ContextConfigUpdateSchema = ContextConfigUpdateSchema;
1864
2014
  exports.ConversationApiInsertSchema = ConversationApiInsertSchema;
1865
2015
  exports.ConversationApiSelectSchema = ConversationApiSelectSchema;
1866
2016
  exports.ConversationApiUpdateSchema = ConversationApiUpdateSchema;
1867
2017
  exports.ConversationInsertSchema = ConversationInsertSchema;
2018
+ exports.ConversationListResponse = ConversationListResponse;
2019
+ exports.ConversationResponse = ConversationResponse;
1868
2020
  exports.ConversationSelectSchema = ConversationSelectSchema;
1869
2021
  exports.ConversationUpdateSchema = ConversationUpdateSchema;
1870
2022
  exports.CredentialReferenceApiInsertSchema = CredentialReferenceApiInsertSchema;
1871
2023
  exports.CredentialReferenceApiSelectSchema = CredentialReferenceApiSelectSchema;
1872
2024
  exports.CredentialReferenceApiUpdateSchema = CredentialReferenceApiUpdateSchema;
1873
2025
  exports.CredentialReferenceInsertSchema = CredentialReferenceInsertSchema;
2026
+ exports.CredentialReferenceListResponse = CredentialReferenceListResponse;
2027
+ exports.CredentialReferenceResponse = CredentialReferenceResponse;
1874
2028
  exports.CredentialReferenceSelectSchema = CredentialReferenceSelectSchema;
1875
2029
  exports.CredentialReferenceUpdateSchema = CredentialReferenceUpdateSchema;
1876
2030
  exports.DataComponentApiInsertSchema = DataComponentApiInsertSchema;
@@ -1878,6 +2032,8 @@ exports.DataComponentApiSelectSchema = DataComponentApiSelectSchema;
1878
2032
  exports.DataComponentApiUpdateSchema = DataComponentApiUpdateSchema;
1879
2033
  exports.DataComponentBaseSchema = DataComponentBaseSchema;
1880
2034
  exports.DataComponentInsertSchema = DataComponentInsertSchema;
2035
+ exports.DataComponentListResponse = DataComponentListResponse;
2036
+ exports.DataComponentResponse = DataComponentResponse;
1881
2037
  exports.DataComponentSelectSchema = DataComponentSelectSchema;
1882
2038
  exports.DataComponentUpdateSchema = DataComponentUpdateSchema;
1883
2039
  exports.DataOperationDetailsSchema = DataOperationDetailsSchema;
@@ -1890,6 +2046,8 @@ exports.ExternalAgentApiInsertSchema = ExternalAgentApiInsertSchema;
1890
2046
  exports.ExternalAgentApiSelectSchema = ExternalAgentApiSelectSchema;
1891
2047
  exports.ExternalAgentApiUpdateSchema = ExternalAgentApiUpdateSchema;
1892
2048
  exports.ExternalAgentInsertSchema = ExternalAgentInsertSchema;
2049
+ exports.ExternalAgentListResponse = ExternalAgentListResponse;
2050
+ exports.ExternalAgentResponse = ExternalAgentResponse;
1893
2051
  exports.ExternalAgentSelectSchema = ExternalAgentSelectSchema;
1894
2052
  exports.ExternalAgentUpdateSchema = ExternalAgentUpdateSchema;
1895
2053
  exports.ExternalSubAgentRelationApiInsertSchema = ExternalSubAgentRelationApiInsertSchema;
@@ -1902,12 +2060,16 @@ exports.FunctionApiInsertSchema = FunctionApiInsertSchema;
1902
2060
  exports.FunctionApiSelectSchema = FunctionApiSelectSchema;
1903
2061
  exports.FunctionApiUpdateSchema = FunctionApiUpdateSchema;
1904
2062
  exports.FunctionInsertSchema = FunctionInsertSchema;
2063
+ exports.FunctionListResponse = FunctionListResponse;
2064
+ exports.FunctionResponse = FunctionResponse;
1905
2065
  exports.FunctionSelectSchema = FunctionSelectSchema;
1906
2066
  exports.FunctionToolApiInsertSchema = FunctionToolApiInsertSchema;
1907
2067
  exports.FunctionToolApiSelectSchema = FunctionToolApiSelectSchema;
1908
2068
  exports.FunctionToolApiUpdateSchema = FunctionToolApiUpdateSchema;
1909
2069
  exports.FunctionToolConfigSchema = FunctionToolConfigSchema;
1910
2070
  exports.FunctionToolInsertSchema = FunctionToolInsertSchema;
2071
+ exports.FunctionToolListResponse = FunctionToolListResponse;
2072
+ exports.FunctionToolResponse = FunctionToolResponse;
1911
2073
  exports.FunctionToolSelectSchema = FunctionToolSelectSchema;
1912
2074
  exports.FunctionToolUpdateSchema = FunctionToolUpdateSchema;
1913
2075
  exports.FunctionUpdateSchema = FunctionUpdateSchema;
@@ -1929,6 +2091,8 @@ exports.MessageApiInsertSchema = MessageApiInsertSchema;
1929
2091
  exports.MessageApiSelectSchema = MessageApiSelectSchema;
1930
2092
  exports.MessageApiUpdateSchema = MessageApiUpdateSchema;
1931
2093
  exports.MessageInsertSchema = MessageInsertSchema;
2094
+ exports.MessageListResponse = MessageListResponse;
2095
+ exports.MessageResponse = MessageResponse;
1932
2096
  exports.MessageSelectSchema = MessageSelectSchema;
1933
2097
  exports.MessageUpdateSchema = MessageUpdateSchema;
1934
2098
  exports.ModelSchema = ModelSchema;
@@ -1939,7 +2103,9 @@ exports.ProjectApiInsertSchema = ProjectApiInsertSchema;
1939
2103
  exports.ProjectApiSelectSchema = ProjectApiSelectSchema;
1940
2104
  exports.ProjectApiUpdateSchema = ProjectApiUpdateSchema;
1941
2105
  exports.ProjectInsertSchema = ProjectInsertSchema;
2106
+ exports.ProjectListResponse = ProjectListResponse;
1942
2107
  exports.ProjectModelSchema = ProjectModelSchema;
2108
+ exports.ProjectResponse = ProjectResponse;
1943
2109
  exports.ProjectSelectSchema = ProjectSelectSchema;
1944
2110
  exports.ProjectUpdateSchema = ProjectUpdateSchema;
1945
2111
  exports.RemovedResponseSchema = RemovedResponseSchema;
@@ -1955,28 +2121,38 @@ exports.SubAgentArtifactComponentApiInsertSchema = SubAgentArtifactComponentApiI
1955
2121
  exports.SubAgentArtifactComponentApiSelectSchema = SubAgentArtifactComponentApiSelectSchema;
1956
2122
  exports.SubAgentArtifactComponentApiUpdateSchema = SubAgentArtifactComponentApiUpdateSchema;
1957
2123
  exports.SubAgentArtifactComponentInsertSchema = SubAgentArtifactComponentInsertSchema;
2124
+ exports.SubAgentArtifactComponentListResponse = SubAgentArtifactComponentListResponse;
2125
+ exports.SubAgentArtifactComponentResponse = SubAgentArtifactComponentResponse;
1958
2126
  exports.SubAgentArtifactComponentSelectSchema = SubAgentArtifactComponentSelectSchema;
1959
2127
  exports.SubAgentArtifactComponentUpdateSchema = SubAgentArtifactComponentUpdateSchema;
1960
2128
  exports.SubAgentDataComponentApiInsertSchema = SubAgentDataComponentApiInsertSchema;
1961
2129
  exports.SubAgentDataComponentApiSelectSchema = SubAgentDataComponentApiSelectSchema;
1962
2130
  exports.SubAgentDataComponentApiUpdateSchema = SubAgentDataComponentApiUpdateSchema;
1963
2131
  exports.SubAgentDataComponentInsertSchema = SubAgentDataComponentInsertSchema;
2132
+ exports.SubAgentDataComponentListResponse = SubAgentDataComponentListResponse;
2133
+ exports.SubAgentDataComponentResponse = SubAgentDataComponentResponse;
1964
2134
  exports.SubAgentDataComponentSelectSchema = SubAgentDataComponentSelectSchema;
1965
2135
  exports.SubAgentDataComponentUpdateSchema = SubAgentDataComponentUpdateSchema;
1966
2136
  exports.SubAgentInsertSchema = SubAgentInsertSchema;
2137
+ exports.SubAgentListResponse = SubAgentListResponse;
1967
2138
  exports.SubAgentRelationApiInsertSchema = SubAgentRelationApiInsertSchema;
1968
2139
  exports.SubAgentRelationApiSelectSchema = SubAgentRelationApiSelectSchema;
1969
2140
  exports.SubAgentRelationApiUpdateSchema = SubAgentRelationApiUpdateSchema;
1970
2141
  exports.SubAgentRelationInsertSchema = SubAgentRelationInsertSchema;
2142
+ exports.SubAgentRelationListResponse = SubAgentRelationListResponse;
1971
2143
  exports.SubAgentRelationQuerySchema = SubAgentRelationQuerySchema;
2144
+ exports.SubAgentRelationResponse = SubAgentRelationResponse;
1972
2145
  exports.SubAgentRelationSelectSchema = SubAgentRelationSelectSchema;
1973
2146
  exports.SubAgentRelationUpdateSchema = SubAgentRelationUpdateSchema;
2147
+ exports.SubAgentResponse = SubAgentResponse;
1974
2148
  exports.SubAgentSelectSchema = SubAgentSelectSchema;
1975
2149
  exports.SubAgentStopWhenSchema = SubAgentStopWhenSchema;
1976
2150
  exports.SubAgentToolRelationApiInsertSchema = SubAgentToolRelationApiInsertSchema;
1977
2151
  exports.SubAgentToolRelationApiSelectSchema = SubAgentToolRelationApiSelectSchema;
1978
2152
  exports.SubAgentToolRelationApiUpdateSchema = SubAgentToolRelationApiUpdateSchema;
1979
2153
  exports.SubAgentToolRelationInsertSchema = SubAgentToolRelationInsertSchema;
2154
+ exports.SubAgentToolRelationListResponse = SubAgentToolRelationListResponse;
2155
+ exports.SubAgentToolRelationResponse = SubAgentToolRelationResponse;
1980
2156
  exports.SubAgentToolRelationSelectSchema = SubAgentToolRelationSelectSchema;
1981
2157
  exports.SubAgentToolRelationUpdateSchema = SubAgentToolRelationUpdateSchema;
1982
2158
  exports.SubAgentUpdateSchema = SubAgentUpdateSchema;
@@ -2004,6 +2180,8 @@ exports.ToolApiInsertSchema = ToolApiInsertSchema;
2004
2180
  exports.ToolApiSelectSchema = ToolApiSelectSchema;
2005
2181
  exports.ToolApiUpdateSchema = ToolApiUpdateSchema;
2006
2182
  exports.ToolInsertSchema = ToolInsertSchema;
2183
+ exports.ToolListResponse = ToolListResponse;
2184
+ exports.ToolResponse = ToolResponse;
2007
2185
  exports.ToolSelectSchema = ToolSelectSchema;
2008
2186
  exports.ToolStatusSchema = ToolStatusSchema;
2009
2187
  exports.ToolUpdateSchema = ToolUpdateSchema;