@inkeep/agents-core 0.0.0-dev-20251012062813 → 0.0.0-dev-20251012070910
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.
- package/dist/{chunk-3GZBRBXP.js → chunk-BP22PPZQ.js} +114 -62
- package/dist/{chunk-3XUV5Q4D.js → chunk-CBYAUFSZ.js} +1 -1
- package/dist/client-exports.cjs +115 -62
- package/dist/client-exports.d.cts +2 -2
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.cjs +114 -62
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +4 -4
- package/dist/{schema-Dp-qgdBT.d.ts → schema-C1HkCVUi.d.ts} +1 -1
- package/dist/{schema-DrDaCn6H.d.cts → schema-Dl66M9ug.d.cts} +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.cjs +114 -62
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/package.json +1 -1
- package/dist/{utility-BxbySenH.d.cts → utility-C81bmoNF.d.cts} +3 -3
- package/dist/{utility-BxbySenH.d.ts → utility-C81bmoNF.d.ts} +3 -3
|
@@ -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
|
-
|
|
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
|
-
|
|
989
|
-
|
|
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
|
-
|
|
1145
|
-
|
|
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
|
-
|
|
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(
|
|
1172
|
-
|
|
1173
|
-
|
|
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(
|
|
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(
|
|
1234
|
-
|
|
1235
|
-
|
|
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
|
-
|
|
1352
|
-
|
|
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
|
-
|
|
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
|
|
@@ -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
|
-
|
|
1524
|
-
|
|
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),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { d6 as SubAgentDefinition, d5 as InternalSubAgentDefinition, cM as ExternalSubAgentApiInsert, fP as AgentWithinContextOfProjectSchema, B as FullAgentDefinition } from '../utility-
|
|
3
|
-
export { dY as AgentApiInsertSchema, dX as AgentApiSelectSchema, dZ as AgentApiUpdateSchema, dV as AgentInsertSchema, dU as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, dW as AgentUpdateSchema, f0 as AllAgentSchema, f5 as ApiKeyApiCreationResponseSchema, f6 as ApiKeyApiInsertSchema, f4 as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, f2 as ApiKeyInsertSchema, f1 as ApiKeySelectSchema, f3 as ApiKeyUpdateSchema, eO as ArtifactComponentApiInsertSchema, eN as ArtifactComponentApiSelectSchema, eP as ArtifactComponentApiUpdateSchema, eL as ArtifactComponentInsertSchema, eK as ArtifactComponentSelectSchema, eM as ArtifactComponentUpdateSchema, fO as CanUseItemSchema, ev as ContextCacheApiInsertSchema, eu as ContextCacheApiSelectSchema, ew as ContextCacheApiUpdateSchema, es as ContextCacheInsertSchema, er as ContextCacheSelectSchema, et as ContextCacheUpdateSchema, fy as ContextConfigApiInsertSchema, fx as ContextConfigApiSelectSchema, fz as ContextConfigApiUpdateSchema, fv as ContextConfigInsertSchema, fu as ContextConfigSelectSchema, fw as ContextConfigUpdateSchema, ej as ConversationApiInsertSchema, ei as ConversationApiSelectSchema, ek as ConversationApiUpdateSchema, eg as ConversationInsertSchema, ef as ConversationSelectSchema, eh as ConversationUpdateSchema, fb as CredentialReferenceApiInsertSchema, fa as CredentialReferenceApiSelectSchema, fc as CredentialReferenceApiUpdateSchema, f8 as CredentialReferenceInsertSchema, f7 as CredentialReferenceSelectSchema, f9 as CredentialReferenceUpdateSchema, eC as DataComponentApiInsertSchema, eB as DataComponentApiSelectSchema, eD as DataComponentApiUpdateSchema, ez as DataComponentBaseSchema, ey as DataComponentInsertSchema, ex as DataComponentSelectSchema, eA as DataComponentUpdateSchema, fT as ErrorResponseSchema, fU as ExistsResponseSchema, e_ as ExternalAgentApiInsertSchema, eZ as ExternalAgentApiSelectSchema, e$ as ExternalAgentApiUpdateSchema, eX as ExternalAgentInsertSchema, eW as ExternalAgentSelectSchema, eY as ExternalAgentUpdateSchema, dT as ExternalSubAgentRelationApiInsertSchema, dS as ExternalSubAgentRelationInsertSchema, fs as FetchConfigSchema, ft as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, g0 as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fq as FunctionInsertSchema, fp as FunctionSelectSchema, fn as FunctionToolApiInsertSchema, fm as FunctionToolApiSelectSchema, fo as FunctionToolApiUpdateSchema, dE as FunctionToolConfig, dD as FunctionToolConfigSchema, fk as FunctionToolInsertSchema, fj as FunctionToolSelectSchema, fl as FunctionToolUpdateSchema, fr as FunctionUpdateSchema, g1 as HeadersScopeSchema, fK as LedgerArtifactApiInsertSchema, fJ as LedgerArtifactApiSelectSchema, fL as LedgerArtifactApiUpdateSchema, fH as LedgerArtifactInsertSchema, fG as LedgerArtifactSelectSchema, fI as LedgerArtifactUpdateSchema, fR as ListResponseSchema, dx as MAX_ID_LENGTH, fe as MCPToolConfigSchema, dw as MIN_ID_LENGTH, ec as McpToolDefinitionSchema, fd as McpToolSchema, ea as McpTransportConfigSchema, ep as MessageApiInsertSchema, eo as MessageApiSelectSchema, eq as MessageApiUpdateSchema, em as MessageInsertSchema, el as MessageSelectSchema, en as MessageUpdateSchema, dA as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ga as PaginationQueryParamsSchema, fQ as PaginationSchema, f_ as ProjectApiInsertSchema, fZ as ProjectApiSelectSchema, f$ as ProjectApiUpdateSchema, fX as ProjectInsertSchema, dB as ProjectModelSchema, fW as ProjectSelectSchema, fY as ProjectUpdateSchema, fV as RemovedResponseSchema, dC as SandboxConfig, l as SandboxConfigSchema, fS as SingleResponseSchema, fM as StatusComponentSchema, fN as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dJ as SubAgentApiInsertSchema, dI as SubAgentApiSelectSchema, dK as SubAgentApiUpdateSchema, eU as SubAgentArtifactComponentApiInsertSchema, eT as SubAgentArtifactComponentApiSelectSchema, eV as SubAgentArtifactComponentApiUpdateSchema, eR as SubAgentArtifactComponentInsertSchema, eQ as SubAgentArtifactComponentSelectSchema, eS as SubAgentArtifactComponentUpdateSchema, eI as SubAgentDataComponentApiInsertSchema, eH as SubAgentDataComponentApiSelectSchema, eJ as SubAgentDataComponentApiUpdateSchema, eF as SubAgentDataComponentInsertSchema, eE as SubAgentDataComponentSelectSchema, eG as SubAgentDataComponentUpdateSchema, dG as SubAgentInsertSchema, dP as SubAgentRelationApiInsertSchema, dO as SubAgentRelationApiSelectSchema, dQ as SubAgentRelationApiUpdateSchema, dM as SubAgentRelationInsertSchema, dR as SubAgentRelationQuerySchema, dL as SubAgentRelationSelectSchema, dN as SubAgentRelationUpdateSchema, dF as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, fE as SubAgentToolRelationApiInsertSchema, fD as SubAgentToolRelationApiSelectSchema, fF as SubAgentToolRelationApiUpdateSchema, fB as SubAgentToolRelationInsertSchema, fA as SubAgentToolRelationSelectSchema, fC as SubAgentToolRelationUpdateSchema, dH as SubAgentUpdateSchema, e2 as TaskApiInsertSchema, e1 as TaskApiSelectSchema, e3 as TaskApiUpdateSchema, d$ as TaskInsertSchema, e8 as TaskRelationApiInsertSchema, e7 as TaskRelationApiSelectSchema, e9 as TaskRelationApiUpdateSchema, e5 as TaskRelationInsertSchema, e4 as TaskRelationSelectSchema, e6 as TaskRelationUpdateSchema, d_ as TaskSelectSchema, e0 as TaskUpdateSchema, g3 as TenantIdParamsSchema, g2 as TenantParamsSchema, g7 as TenantProjectAgentIdParamsSchema, g6 as TenantProjectAgentParamsSchema, g9 as TenantProjectAgentSubAgentIdParamsSchema, g8 as TenantProjectAgentSubAgentParamsSchema, g5 as TenantProjectIdParamsSchema, g4 as TenantProjectParamsSchema, fh as ToolApiInsertSchema, fg as ToolApiSelectSchema, fi as ToolApiUpdateSchema, ee as ToolInsertSchema, ed as ToolSelectSchema, eb as ToolStatusSchema, ff as ToolUpdateSchema, dy as URL_SAFE_ID_PATTERN, dz as resourceIdSchema } from '../utility-
|
|
2
|
+
import { d6 as SubAgentDefinition, d5 as InternalSubAgentDefinition, cM as ExternalSubAgentApiInsert, fP as AgentWithinContextOfProjectSchema, B as FullAgentDefinition } from '../utility-C81bmoNF.cjs';
|
|
3
|
+
export { dY as AgentApiInsertSchema, dX as AgentApiSelectSchema, dZ as AgentApiUpdateSchema, dV as AgentInsertSchema, dU as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, dW as AgentUpdateSchema, f0 as AllAgentSchema, f5 as ApiKeyApiCreationResponseSchema, f6 as ApiKeyApiInsertSchema, f4 as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, f2 as ApiKeyInsertSchema, f1 as ApiKeySelectSchema, f3 as ApiKeyUpdateSchema, eO as ArtifactComponentApiInsertSchema, eN as ArtifactComponentApiSelectSchema, eP as ArtifactComponentApiUpdateSchema, eL as ArtifactComponentInsertSchema, eK as ArtifactComponentSelectSchema, eM as ArtifactComponentUpdateSchema, fO as CanUseItemSchema, ev as ContextCacheApiInsertSchema, eu as ContextCacheApiSelectSchema, ew as ContextCacheApiUpdateSchema, es as ContextCacheInsertSchema, er as ContextCacheSelectSchema, et as ContextCacheUpdateSchema, fy as ContextConfigApiInsertSchema, fx as ContextConfigApiSelectSchema, fz as ContextConfigApiUpdateSchema, fv as ContextConfigInsertSchema, fu as ContextConfigSelectSchema, fw as ContextConfigUpdateSchema, ej as ConversationApiInsertSchema, ei as ConversationApiSelectSchema, ek as ConversationApiUpdateSchema, eg as ConversationInsertSchema, ef as ConversationSelectSchema, eh as ConversationUpdateSchema, fb as CredentialReferenceApiInsertSchema, fa as CredentialReferenceApiSelectSchema, fc as CredentialReferenceApiUpdateSchema, f8 as CredentialReferenceInsertSchema, f7 as CredentialReferenceSelectSchema, f9 as CredentialReferenceUpdateSchema, eC as DataComponentApiInsertSchema, eB as DataComponentApiSelectSchema, eD as DataComponentApiUpdateSchema, ez as DataComponentBaseSchema, ey as DataComponentInsertSchema, ex as DataComponentSelectSchema, eA as DataComponentUpdateSchema, fT as ErrorResponseSchema, fU as ExistsResponseSchema, e_ as ExternalAgentApiInsertSchema, eZ as ExternalAgentApiSelectSchema, e$ as ExternalAgentApiUpdateSchema, eX as ExternalAgentInsertSchema, eW as ExternalAgentSelectSchema, eY as ExternalAgentUpdateSchema, dT as ExternalSubAgentRelationApiInsertSchema, dS as ExternalSubAgentRelationInsertSchema, fs as FetchConfigSchema, ft as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, g0 as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fq as FunctionInsertSchema, fp as FunctionSelectSchema, fn as FunctionToolApiInsertSchema, fm as FunctionToolApiSelectSchema, fo as FunctionToolApiUpdateSchema, dE as FunctionToolConfig, dD as FunctionToolConfigSchema, fk as FunctionToolInsertSchema, fj as FunctionToolSelectSchema, fl as FunctionToolUpdateSchema, fr as FunctionUpdateSchema, g1 as HeadersScopeSchema, fK as LedgerArtifactApiInsertSchema, fJ as LedgerArtifactApiSelectSchema, fL as LedgerArtifactApiUpdateSchema, fH as LedgerArtifactInsertSchema, fG as LedgerArtifactSelectSchema, fI as LedgerArtifactUpdateSchema, fR as ListResponseSchema, dx as MAX_ID_LENGTH, fe as MCPToolConfigSchema, dw as MIN_ID_LENGTH, ec as McpToolDefinitionSchema, fd as McpToolSchema, ea as McpTransportConfigSchema, ep as MessageApiInsertSchema, eo as MessageApiSelectSchema, eq as MessageApiUpdateSchema, em as MessageInsertSchema, el as MessageSelectSchema, en as MessageUpdateSchema, dA as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ga as PaginationQueryParamsSchema, fQ as PaginationSchema, f_ as ProjectApiInsertSchema, fZ as ProjectApiSelectSchema, f$ as ProjectApiUpdateSchema, fX as ProjectInsertSchema, dB as ProjectModelSchema, fW as ProjectSelectSchema, fY as ProjectUpdateSchema, fV as RemovedResponseSchema, dC as SandboxConfig, l as SandboxConfigSchema, fS as SingleResponseSchema, fM as StatusComponentSchema, fN as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dJ as SubAgentApiInsertSchema, dI as SubAgentApiSelectSchema, dK as SubAgentApiUpdateSchema, eU as SubAgentArtifactComponentApiInsertSchema, eT as SubAgentArtifactComponentApiSelectSchema, eV as SubAgentArtifactComponentApiUpdateSchema, eR as SubAgentArtifactComponentInsertSchema, eQ as SubAgentArtifactComponentSelectSchema, eS as SubAgentArtifactComponentUpdateSchema, eI as SubAgentDataComponentApiInsertSchema, eH as SubAgentDataComponentApiSelectSchema, eJ as SubAgentDataComponentApiUpdateSchema, eF as SubAgentDataComponentInsertSchema, eE as SubAgentDataComponentSelectSchema, eG as SubAgentDataComponentUpdateSchema, dG as SubAgentInsertSchema, dP as SubAgentRelationApiInsertSchema, dO as SubAgentRelationApiSelectSchema, dQ as SubAgentRelationApiUpdateSchema, dM as SubAgentRelationInsertSchema, dR as SubAgentRelationQuerySchema, dL as SubAgentRelationSelectSchema, dN as SubAgentRelationUpdateSchema, dF as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, fE as SubAgentToolRelationApiInsertSchema, fD as SubAgentToolRelationApiSelectSchema, fF as SubAgentToolRelationApiUpdateSchema, fB as SubAgentToolRelationInsertSchema, fA as SubAgentToolRelationSelectSchema, fC as SubAgentToolRelationUpdateSchema, dH as SubAgentUpdateSchema, e2 as TaskApiInsertSchema, e1 as TaskApiSelectSchema, e3 as TaskApiUpdateSchema, d$ as TaskInsertSchema, e8 as TaskRelationApiInsertSchema, e7 as TaskRelationApiSelectSchema, e9 as TaskRelationApiUpdateSchema, e5 as TaskRelationInsertSchema, e4 as TaskRelationSelectSchema, e6 as TaskRelationUpdateSchema, d_ as TaskSelectSchema, e0 as TaskUpdateSchema, g3 as TenantIdParamsSchema, g2 as TenantParamsSchema, g7 as TenantProjectAgentIdParamsSchema, g6 as TenantProjectAgentParamsSchema, g9 as TenantProjectAgentSubAgentIdParamsSchema, g8 as TenantProjectAgentSubAgentParamsSchema, g5 as TenantProjectIdParamsSchema, g4 as TenantProjectParamsSchema, fh as ToolApiInsertSchema, fg as ToolApiSelectSchema, fi as ToolApiUpdateSchema, ee as ToolInsertSchema, ed as ToolSelectSchema, eb as ToolStatusSchema, ff as ToolUpdateSchema, dy as URL_SAFE_ID_PATTERN, dz as resourceIdSchema } from '../utility-C81bmoNF.cjs';
|
|
4
4
|
export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.cjs';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { d6 as SubAgentDefinition, d5 as InternalSubAgentDefinition, cM as ExternalSubAgentApiInsert, fP as AgentWithinContextOfProjectSchema, B as FullAgentDefinition } from '../utility-
|
|
3
|
-
export { dY as AgentApiInsertSchema, dX as AgentApiSelectSchema, dZ as AgentApiUpdateSchema, dV as AgentInsertSchema, dU as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, dW as AgentUpdateSchema, f0 as AllAgentSchema, f5 as ApiKeyApiCreationResponseSchema, f6 as ApiKeyApiInsertSchema, f4 as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, f2 as ApiKeyInsertSchema, f1 as ApiKeySelectSchema, f3 as ApiKeyUpdateSchema, eO as ArtifactComponentApiInsertSchema, eN as ArtifactComponentApiSelectSchema, eP as ArtifactComponentApiUpdateSchema, eL as ArtifactComponentInsertSchema, eK as ArtifactComponentSelectSchema, eM as ArtifactComponentUpdateSchema, fO as CanUseItemSchema, ev as ContextCacheApiInsertSchema, eu as ContextCacheApiSelectSchema, ew as ContextCacheApiUpdateSchema, es as ContextCacheInsertSchema, er as ContextCacheSelectSchema, et as ContextCacheUpdateSchema, fy as ContextConfigApiInsertSchema, fx as ContextConfigApiSelectSchema, fz as ContextConfigApiUpdateSchema, fv as ContextConfigInsertSchema, fu as ContextConfigSelectSchema, fw as ContextConfigUpdateSchema, ej as ConversationApiInsertSchema, ei as ConversationApiSelectSchema, ek as ConversationApiUpdateSchema, eg as ConversationInsertSchema, ef as ConversationSelectSchema, eh as ConversationUpdateSchema, fb as CredentialReferenceApiInsertSchema, fa as CredentialReferenceApiSelectSchema, fc as CredentialReferenceApiUpdateSchema, f8 as CredentialReferenceInsertSchema, f7 as CredentialReferenceSelectSchema, f9 as CredentialReferenceUpdateSchema, eC as DataComponentApiInsertSchema, eB as DataComponentApiSelectSchema, eD as DataComponentApiUpdateSchema, ez as DataComponentBaseSchema, ey as DataComponentInsertSchema, ex as DataComponentSelectSchema, eA as DataComponentUpdateSchema, fT as ErrorResponseSchema, fU as ExistsResponseSchema, e_ as ExternalAgentApiInsertSchema, eZ as ExternalAgentApiSelectSchema, e$ as ExternalAgentApiUpdateSchema, eX as ExternalAgentInsertSchema, eW as ExternalAgentSelectSchema, eY as ExternalAgentUpdateSchema, dT as ExternalSubAgentRelationApiInsertSchema, dS as ExternalSubAgentRelationInsertSchema, fs as FetchConfigSchema, ft as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, g0 as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fq as FunctionInsertSchema, fp as FunctionSelectSchema, fn as FunctionToolApiInsertSchema, fm as FunctionToolApiSelectSchema, fo as FunctionToolApiUpdateSchema, dE as FunctionToolConfig, dD as FunctionToolConfigSchema, fk as FunctionToolInsertSchema, fj as FunctionToolSelectSchema, fl as FunctionToolUpdateSchema, fr as FunctionUpdateSchema, g1 as HeadersScopeSchema, fK as LedgerArtifactApiInsertSchema, fJ as LedgerArtifactApiSelectSchema, fL as LedgerArtifactApiUpdateSchema, fH as LedgerArtifactInsertSchema, fG as LedgerArtifactSelectSchema, fI as LedgerArtifactUpdateSchema, fR as ListResponseSchema, dx as MAX_ID_LENGTH, fe as MCPToolConfigSchema, dw as MIN_ID_LENGTH, ec as McpToolDefinitionSchema, fd as McpToolSchema, ea as McpTransportConfigSchema, ep as MessageApiInsertSchema, eo as MessageApiSelectSchema, eq as MessageApiUpdateSchema, em as MessageInsertSchema, el as MessageSelectSchema, en as MessageUpdateSchema, dA as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ga as PaginationQueryParamsSchema, fQ as PaginationSchema, f_ as ProjectApiInsertSchema, fZ as ProjectApiSelectSchema, f$ as ProjectApiUpdateSchema, fX as ProjectInsertSchema, dB as ProjectModelSchema, fW as ProjectSelectSchema, fY as ProjectUpdateSchema, fV as RemovedResponseSchema, dC as SandboxConfig, l as SandboxConfigSchema, fS as SingleResponseSchema, fM as StatusComponentSchema, fN as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dJ as SubAgentApiInsertSchema, dI as SubAgentApiSelectSchema, dK as SubAgentApiUpdateSchema, eU as SubAgentArtifactComponentApiInsertSchema, eT as SubAgentArtifactComponentApiSelectSchema, eV as SubAgentArtifactComponentApiUpdateSchema, eR as SubAgentArtifactComponentInsertSchema, eQ as SubAgentArtifactComponentSelectSchema, eS as SubAgentArtifactComponentUpdateSchema, eI as SubAgentDataComponentApiInsertSchema, eH as SubAgentDataComponentApiSelectSchema, eJ as SubAgentDataComponentApiUpdateSchema, eF as SubAgentDataComponentInsertSchema, eE as SubAgentDataComponentSelectSchema, eG as SubAgentDataComponentUpdateSchema, dG as SubAgentInsertSchema, dP as SubAgentRelationApiInsertSchema, dO as SubAgentRelationApiSelectSchema, dQ as SubAgentRelationApiUpdateSchema, dM as SubAgentRelationInsertSchema, dR as SubAgentRelationQuerySchema, dL as SubAgentRelationSelectSchema, dN as SubAgentRelationUpdateSchema, dF as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, fE as SubAgentToolRelationApiInsertSchema, fD as SubAgentToolRelationApiSelectSchema, fF as SubAgentToolRelationApiUpdateSchema, fB as SubAgentToolRelationInsertSchema, fA as SubAgentToolRelationSelectSchema, fC as SubAgentToolRelationUpdateSchema, dH as SubAgentUpdateSchema, e2 as TaskApiInsertSchema, e1 as TaskApiSelectSchema, e3 as TaskApiUpdateSchema, d$ as TaskInsertSchema, e8 as TaskRelationApiInsertSchema, e7 as TaskRelationApiSelectSchema, e9 as TaskRelationApiUpdateSchema, e5 as TaskRelationInsertSchema, e4 as TaskRelationSelectSchema, e6 as TaskRelationUpdateSchema, d_ as TaskSelectSchema, e0 as TaskUpdateSchema, g3 as TenantIdParamsSchema, g2 as TenantParamsSchema, g7 as TenantProjectAgentIdParamsSchema, g6 as TenantProjectAgentParamsSchema, g9 as TenantProjectAgentSubAgentIdParamsSchema, g8 as TenantProjectAgentSubAgentParamsSchema, g5 as TenantProjectIdParamsSchema, g4 as TenantProjectParamsSchema, fh as ToolApiInsertSchema, fg as ToolApiSelectSchema, fi as ToolApiUpdateSchema, ee as ToolInsertSchema, ed as ToolSelectSchema, eb as ToolStatusSchema, ff as ToolUpdateSchema, dy as URL_SAFE_ID_PATTERN, dz as resourceIdSchema } from '../utility-
|
|
2
|
+
import { d6 as SubAgentDefinition, d5 as InternalSubAgentDefinition, cM as ExternalSubAgentApiInsert, fP as AgentWithinContextOfProjectSchema, B as FullAgentDefinition } from '../utility-C81bmoNF.js';
|
|
3
|
+
export { dY as AgentApiInsertSchema, dX as AgentApiSelectSchema, dZ as AgentApiUpdateSchema, dV as AgentInsertSchema, dU as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, dW as AgentUpdateSchema, f0 as AllAgentSchema, f5 as ApiKeyApiCreationResponseSchema, f6 as ApiKeyApiInsertSchema, f4 as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, f2 as ApiKeyInsertSchema, f1 as ApiKeySelectSchema, f3 as ApiKeyUpdateSchema, eO as ArtifactComponentApiInsertSchema, eN as ArtifactComponentApiSelectSchema, eP as ArtifactComponentApiUpdateSchema, eL as ArtifactComponentInsertSchema, eK as ArtifactComponentSelectSchema, eM as ArtifactComponentUpdateSchema, fO as CanUseItemSchema, ev as ContextCacheApiInsertSchema, eu as ContextCacheApiSelectSchema, ew as ContextCacheApiUpdateSchema, es as ContextCacheInsertSchema, er as ContextCacheSelectSchema, et as ContextCacheUpdateSchema, fy as ContextConfigApiInsertSchema, fx as ContextConfigApiSelectSchema, fz as ContextConfigApiUpdateSchema, fv as ContextConfigInsertSchema, fu as ContextConfigSelectSchema, fw as ContextConfigUpdateSchema, ej as ConversationApiInsertSchema, ei as ConversationApiSelectSchema, ek as ConversationApiUpdateSchema, eg as ConversationInsertSchema, ef as ConversationSelectSchema, eh as ConversationUpdateSchema, fb as CredentialReferenceApiInsertSchema, fa as CredentialReferenceApiSelectSchema, fc as CredentialReferenceApiUpdateSchema, f8 as CredentialReferenceInsertSchema, f7 as CredentialReferenceSelectSchema, f9 as CredentialReferenceUpdateSchema, eC as DataComponentApiInsertSchema, eB as DataComponentApiSelectSchema, eD as DataComponentApiUpdateSchema, ez as DataComponentBaseSchema, ey as DataComponentInsertSchema, ex as DataComponentSelectSchema, eA as DataComponentUpdateSchema, fT as ErrorResponseSchema, fU as ExistsResponseSchema, e_ as ExternalAgentApiInsertSchema, eZ as ExternalAgentApiSelectSchema, e$ as ExternalAgentApiUpdateSchema, eX as ExternalAgentInsertSchema, eW as ExternalAgentSelectSchema, eY as ExternalAgentUpdateSchema, dT as ExternalSubAgentRelationApiInsertSchema, dS as ExternalSubAgentRelationInsertSchema, fs as FetchConfigSchema, ft as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, g0 as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fq as FunctionInsertSchema, fp as FunctionSelectSchema, fn as FunctionToolApiInsertSchema, fm as FunctionToolApiSelectSchema, fo as FunctionToolApiUpdateSchema, dE as FunctionToolConfig, dD as FunctionToolConfigSchema, fk as FunctionToolInsertSchema, fj as FunctionToolSelectSchema, fl as FunctionToolUpdateSchema, fr as FunctionUpdateSchema, g1 as HeadersScopeSchema, fK as LedgerArtifactApiInsertSchema, fJ as LedgerArtifactApiSelectSchema, fL as LedgerArtifactApiUpdateSchema, fH as LedgerArtifactInsertSchema, fG as LedgerArtifactSelectSchema, fI as LedgerArtifactUpdateSchema, fR as ListResponseSchema, dx as MAX_ID_LENGTH, fe as MCPToolConfigSchema, dw as MIN_ID_LENGTH, ec as McpToolDefinitionSchema, fd as McpToolSchema, ea as McpTransportConfigSchema, ep as MessageApiInsertSchema, eo as MessageApiSelectSchema, eq as MessageApiUpdateSchema, em as MessageInsertSchema, el as MessageSelectSchema, en as MessageUpdateSchema, dA as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ga as PaginationQueryParamsSchema, fQ as PaginationSchema, f_ as ProjectApiInsertSchema, fZ as ProjectApiSelectSchema, f$ as ProjectApiUpdateSchema, fX as ProjectInsertSchema, dB as ProjectModelSchema, fW as ProjectSelectSchema, fY as ProjectUpdateSchema, fV as RemovedResponseSchema, dC as SandboxConfig, l as SandboxConfigSchema, fS as SingleResponseSchema, fM as StatusComponentSchema, fN as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dJ as SubAgentApiInsertSchema, dI as SubAgentApiSelectSchema, dK as SubAgentApiUpdateSchema, eU as SubAgentArtifactComponentApiInsertSchema, eT as SubAgentArtifactComponentApiSelectSchema, eV as SubAgentArtifactComponentApiUpdateSchema, eR as SubAgentArtifactComponentInsertSchema, eQ as SubAgentArtifactComponentSelectSchema, eS as SubAgentArtifactComponentUpdateSchema, eI as SubAgentDataComponentApiInsertSchema, eH as SubAgentDataComponentApiSelectSchema, eJ as SubAgentDataComponentApiUpdateSchema, eF as SubAgentDataComponentInsertSchema, eE as SubAgentDataComponentSelectSchema, eG as SubAgentDataComponentUpdateSchema, dG as SubAgentInsertSchema, dP as SubAgentRelationApiInsertSchema, dO as SubAgentRelationApiSelectSchema, dQ as SubAgentRelationApiUpdateSchema, dM as SubAgentRelationInsertSchema, dR as SubAgentRelationQuerySchema, dL as SubAgentRelationSelectSchema, dN as SubAgentRelationUpdateSchema, dF as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, fE as SubAgentToolRelationApiInsertSchema, fD as SubAgentToolRelationApiSelectSchema, fF as SubAgentToolRelationApiUpdateSchema, fB as SubAgentToolRelationInsertSchema, fA as SubAgentToolRelationSelectSchema, fC as SubAgentToolRelationUpdateSchema, dH as SubAgentUpdateSchema, e2 as TaskApiInsertSchema, e1 as TaskApiSelectSchema, e3 as TaskApiUpdateSchema, d$ as TaskInsertSchema, e8 as TaskRelationApiInsertSchema, e7 as TaskRelationApiSelectSchema, e9 as TaskRelationApiUpdateSchema, e5 as TaskRelationInsertSchema, e4 as TaskRelationSelectSchema, e6 as TaskRelationUpdateSchema, d_ as TaskSelectSchema, e0 as TaskUpdateSchema, g3 as TenantIdParamsSchema, g2 as TenantParamsSchema, g7 as TenantProjectAgentIdParamsSchema, g6 as TenantProjectAgentParamsSchema, g9 as TenantProjectAgentSubAgentIdParamsSchema, g8 as TenantProjectAgentSubAgentParamsSchema, g5 as TenantProjectIdParamsSchema, g4 as TenantProjectParamsSchema, fh as ToolApiInsertSchema, fg as ToolApiSelectSchema, fi as ToolApiUpdateSchema, ee as ToolInsertSchema, ed as ToolSelectSchema, eb as ToolStatusSchema, ff as ToolUpdateSchema, dy as URL_SAFE_ID_PATTERN, dz as resourceIdSchema } from '../utility-C81bmoNF.js';
|
|
4
4
|
export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.js';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/sqlite-core';
|
package/dist/validation/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateToolReferences } from '../chunk-
|
|
2
|
-
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SandboxConfigSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentInsertSchema, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationQuerySchema, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-
|
|
1
|
+
export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateToolReferences } from '../chunk-CBYAUFSZ.js';
|
|
2
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SandboxConfigSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentInsertSchema, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationQuerySchema, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-BP22PPZQ.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251012070910",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -3166,9 +3166,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
3166
3166
|
}>;
|
|
3167
3167
|
declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
3168
3168
|
id: z.ZodString;
|
|
3169
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3169
3170
|
createdAt: z.ZodString;
|
|
3170
3171
|
updatedAt: z.ZodString;
|
|
3171
|
-
title: z.ZodNullable<z.ZodString>;
|
|
3172
3172
|
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
3173
3173
|
userId: z.ZodNullable<z.ZodString>;
|
|
3174
3174
|
activeSubAgentId: z.ZodString;
|
|
@@ -3176,9 +3176,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
|
3176
3176
|
}, z.core.$strip>;
|
|
3177
3177
|
declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
3178
3178
|
id: z.ZodString;
|
|
3179
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3179
3180
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3180
3181
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3181
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3182
3182
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
3183
3183
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
3184
3184
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3187,9 +3187,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
|
3187
3187
|
}, z.core.$strip>;
|
|
3188
3188
|
declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
3189
3189
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3190
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3190
3191
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3191
3192
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3192
|
-
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3193
3193
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3194
3194
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
3195
3195
|
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
@@ -3166,9 +3166,9 @@ declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
3166
3166
|
}>;
|
|
3167
3167
|
declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
3168
3168
|
id: z.ZodString;
|
|
3169
|
+
title: z.ZodNullable<z.ZodString>;
|
|
3169
3170
|
createdAt: z.ZodString;
|
|
3170
3171
|
updatedAt: z.ZodString;
|
|
3171
|
-
title: z.ZodNullable<z.ZodString>;
|
|
3172
3172
|
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
3173
3173
|
userId: z.ZodNullable<z.ZodString>;
|
|
3174
3174
|
activeSubAgentId: z.ZodString;
|
|
@@ -3176,9 +3176,9 @@ declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
|
3176
3176
|
}, z.core.$strip>;
|
|
3177
3177
|
declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
3178
3178
|
id: z.ZodString;
|
|
3179
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3179
3180
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3180
3181
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3181
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3182
3182
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
3183
3183
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
3184
3184
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3187,9 +3187,9 @@ declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
|
3187
3187
|
}, z.core.$strip>;
|
|
3188
3188
|
declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
3189
3189
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3190
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3190
3191
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3191
3192
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3192
|
-
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3193
3193
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3194
3194
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
3195
3195
|
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|