@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.
- package/dist/{chunk-3XUV5Q4D.js → chunk-4FMDWUE4.js} +1 -1
- package/dist/{chunk-HYS7HUYJ.js → chunk-4VEUH2FG.js} +1 -1
- package/dist/{chunk-3GZBRBXP.js → chunk-VICWT3WO.js} +208 -66
- package/dist/client-exports.cjs +215 -72
- 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/constants/models.cjs +1 -1
- package/dist/constants/models.d.cts +1 -1
- package/dist/constants/models.d.ts +1 -1
- package/dist/constants/models.js +1 -1
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.cjs +244 -66
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +6 -6
- package/dist/{schema-DrDaCn6H.d.cts → schema-CcSN2XcZ.d.cts} +1 -1
- package/dist/{schema-Dp-qgdBT.d.ts → schema-D8h85qdU.d.ts} +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-BxbySenH.d.cts → utility-HqRMF7sM.d.cts} +1608 -4
- package/dist/{utility-BxbySenH.d.ts → utility-HqRMF7sM.d.ts} +1608 -4
- package/dist/validation/index.cjs +243 -65
- 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/client-exports.cjs
CHANGED
|
@@ -896,9 +896,13 @@ drizzleOrm.relations(
|
|
|
896
896
|
var StopWhenSchema = zodOpenapi.z.object({
|
|
897
897
|
transferCountIs: zodOpenapi.z.number().min(1).max(100).optional(),
|
|
898
898
|
stepCountIs: zodOpenapi.z.number().min(1).max(1e3).optional()
|
|
899
|
-
});
|
|
900
|
-
var AgentStopWhenSchema = StopWhenSchema.pick({ transferCountIs: true })
|
|
901
|
-
|
|
899
|
+
}).openapi("StopWhen");
|
|
900
|
+
var AgentStopWhenSchema = StopWhenSchema.pick({ transferCountIs: true }).openapi(
|
|
901
|
+
"AgentStopWhen"
|
|
902
|
+
);
|
|
903
|
+
var SubAgentStopWhenSchema = StopWhenSchema.pick({ stepCountIs: true }).openapi(
|
|
904
|
+
"SubAgentStopWhen"
|
|
905
|
+
);
|
|
902
906
|
var MIN_ID_LENGTH = 1;
|
|
903
907
|
var MAX_ID_LENGTH = 255;
|
|
904
908
|
var URL_SAFE_ID_PATTERN = /^[a-zA-Z0-9\-_.]+$/;
|
|
@@ -911,23 +915,23 @@ var resourceIdSchema = zodOpenapi.z.string().min(MIN_ID_LENGTH).max(MAX_ID_LENGT
|
|
|
911
915
|
var ModelSettingsSchema = zodOpenapi.z.object({
|
|
912
916
|
model: zodOpenapi.z.string().optional(),
|
|
913
917
|
providerOptions: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any()).optional()
|
|
914
|
-
});
|
|
918
|
+
}).openapi("ModelSettings");
|
|
915
919
|
var ModelSchema = zodOpenapi.z.object({
|
|
916
920
|
base: ModelSettingsSchema.optional(),
|
|
917
921
|
structuredOutput: ModelSettingsSchema.optional(),
|
|
918
922
|
summarizer: ModelSettingsSchema.optional()
|
|
919
|
-
});
|
|
923
|
+
}).openapi("Model");
|
|
920
924
|
var ProjectModelSchema = zodOpenapi.z.object({
|
|
921
925
|
base: ModelSettingsSchema,
|
|
922
926
|
structuredOutput: ModelSettingsSchema.optional(),
|
|
923
927
|
summarizer: ModelSettingsSchema.optional()
|
|
924
|
-
});
|
|
928
|
+
}).openapi("ProjectModel");
|
|
925
929
|
var SandboxConfigSchema = zodOpenapi.z.object({
|
|
926
930
|
provider: zodOpenapi.z.enum(["vercel", "local"]),
|
|
927
931
|
runtime: zodOpenapi.z.enum(["node22", "typescript"]),
|
|
928
932
|
timeout: zodOpenapi.z.number().min(1e3).max(3e5).optional(),
|
|
929
933
|
vcpus: zodOpenapi.z.number().min(1).max(8).optional()
|
|
930
|
-
});
|
|
934
|
+
}).openapi("SandboxConfig");
|
|
931
935
|
zodOpenapi.z.object({
|
|
932
936
|
name: zodOpenapi.z.string(),
|
|
933
937
|
description: zodOpenapi.z.string(),
|
|
@@ -947,9 +951,15 @@ var SubAgentInsertSchema = drizzleZod.createInsertSchema(subAgents).extend({
|
|
|
947
951
|
models: ModelSchema.optional()
|
|
948
952
|
});
|
|
949
953
|
var SubAgentUpdateSchema = SubAgentInsertSchema.partial();
|
|
950
|
-
var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema)
|
|
951
|
-
|
|
952
|
-
|
|
954
|
+
var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema).openapi(
|
|
955
|
+
"SubAgent"
|
|
956
|
+
);
|
|
957
|
+
var SubAgentApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
958
|
+
SubAgentInsertSchema
|
|
959
|
+
).openapi("SubAgentCreate");
|
|
960
|
+
createAgentScopedApiUpdateSchema(
|
|
961
|
+
SubAgentUpdateSchema
|
|
962
|
+
).openapi("SubAgentUpdate");
|
|
953
963
|
var SubAgentRelationSelectSchema = drizzleZod.createSelectSchema(subAgentRelations);
|
|
954
964
|
var SubAgentRelationInsertSchema = drizzleZod.createInsertSchema(subAgentRelations).extend({
|
|
955
965
|
id: resourceIdSchema,
|
|
@@ -959,9 +969,9 @@ var SubAgentRelationInsertSchema = drizzleZod.createInsertSchema(subAgentRelatio
|
|
|
959
969
|
externalSubAgentId: resourceIdSchema.optional()
|
|
960
970
|
});
|
|
961
971
|
var SubAgentRelationUpdateSchema = SubAgentRelationInsertSchema.partial();
|
|
962
|
-
createAgentScopedApiSchema(
|
|
972
|
+
var SubAgentRelationApiSelectSchema = createAgentScopedApiSchema(
|
|
963
973
|
SubAgentRelationSelectSchema
|
|
964
|
-
);
|
|
974
|
+
).openapi("SubAgentRelation");
|
|
965
975
|
createAgentScopedApiInsertSchema(
|
|
966
976
|
SubAgentRelationInsertSchema
|
|
967
977
|
).extend({
|
|
@@ -976,7 +986,7 @@ createAgentScopedApiInsertSchema(
|
|
|
976
986
|
message: "Must specify exactly one of targetSubAgentId or externalSubAgentId",
|
|
977
987
|
path: ["targetSubAgentId", "externalSubAgentId"]
|
|
978
988
|
}
|
|
979
|
-
);
|
|
989
|
+
).openapi("SubAgentRelationCreate");
|
|
980
990
|
createAgentScopedApiUpdateSchema(
|
|
981
991
|
SubAgentRelationUpdateSchema
|
|
982
992
|
).extend({
|
|
@@ -994,7 +1004,7 @@ createAgentScopedApiUpdateSchema(
|
|
|
994
1004
|
message: "Must specify exactly one of targetSubAgentId or externalSubAgentId when updating sub-agent relationships",
|
|
995
1005
|
path: ["targetSubAgentId", "externalSubAgentId"]
|
|
996
1006
|
}
|
|
997
|
-
);
|
|
1007
|
+
).openapi("SubAgentRelationUpdate");
|
|
998
1008
|
zodOpenapi.z.object({
|
|
999
1009
|
sourceSubAgentId: zodOpenapi.z.string().optional(),
|
|
1000
1010
|
targetSubAgentId: zodOpenapi.z.string().optional(),
|
|
@@ -1014,11 +1024,13 @@ var AgentInsertSchema = drizzleZod.createInsertSchema(agents).extend({
|
|
|
1014
1024
|
id: resourceIdSchema
|
|
1015
1025
|
});
|
|
1016
1026
|
var AgentUpdateSchema = AgentInsertSchema.partial();
|
|
1017
|
-
createApiSchema(AgentSelectSchema);
|
|
1027
|
+
var AgentApiSelectSchema = createApiSchema(AgentSelectSchema).openapi("Agent");
|
|
1018
1028
|
var AgentApiInsertSchema = createApiInsertSchema(AgentInsertSchema).extend({
|
|
1019
1029
|
id: resourceIdSchema
|
|
1020
|
-
});
|
|
1021
|
-
createApiUpdateSchema(AgentUpdateSchema)
|
|
1030
|
+
}).openapi("AgentCreate");
|
|
1031
|
+
createApiUpdateSchema(AgentUpdateSchema).openapi(
|
|
1032
|
+
"AgentUpdate"
|
|
1033
|
+
);
|
|
1022
1034
|
var TaskSelectSchema = drizzleZod.createSelectSchema(tasks);
|
|
1023
1035
|
var TaskInsertSchema = drizzleZod.createInsertSchema(tasks).extend({
|
|
1024
1036
|
id: resourceIdSchema,
|
|
@@ -1066,7 +1078,7 @@ var McpTransportConfigSchema = zodOpenapi.z.object({
|
|
|
1066
1078
|
description: "Reconnection options for streamable HTTP transport"
|
|
1067
1079
|
}),
|
|
1068
1080
|
sessionId: zodOpenapi.z.string().optional()
|
|
1069
|
-
});
|
|
1081
|
+
}).openapi("McpTransportConfig");
|
|
1070
1082
|
var ToolStatusSchema = zodOpenapi.z.enum(TOOL_STATUS_VALUES);
|
|
1071
1083
|
var McpToolDefinitionSchema = zodOpenapi.z.object({
|
|
1072
1084
|
name: zodOpenapi.z.string(),
|
|
@@ -1103,9 +1115,15 @@ var ConversationInsertSchema = drizzleZod.createInsertSchema(conversations).exte
|
|
|
1103
1115
|
contextConfigId: resourceIdSchema.optional()
|
|
1104
1116
|
});
|
|
1105
1117
|
var ConversationUpdateSchema = ConversationInsertSchema.partial();
|
|
1106
|
-
createApiSchema(ConversationSelectSchema)
|
|
1107
|
-
|
|
1108
|
-
|
|
1118
|
+
var ConversationApiSelectSchema = createApiSchema(ConversationSelectSchema).openapi(
|
|
1119
|
+
"Conversation"
|
|
1120
|
+
);
|
|
1121
|
+
createApiInsertSchema(ConversationInsertSchema).openapi(
|
|
1122
|
+
"ConversationCreate"
|
|
1123
|
+
);
|
|
1124
|
+
createApiUpdateSchema(ConversationUpdateSchema).openapi(
|
|
1125
|
+
"ConversationUpdate"
|
|
1126
|
+
);
|
|
1109
1127
|
var MessageSelectSchema = drizzleZod.createSelectSchema(messages);
|
|
1110
1128
|
var MessageInsertSchema = drizzleZod.createInsertSchema(messages).extend({
|
|
1111
1129
|
id: resourceIdSchema,
|
|
@@ -1113,9 +1131,13 @@ var MessageInsertSchema = drizzleZod.createInsertSchema(messages).extend({
|
|
|
1113
1131
|
taskId: resourceIdSchema.optional()
|
|
1114
1132
|
});
|
|
1115
1133
|
var MessageUpdateSchema = MessageInsertSchema.partial();
|
|
1116
|
-
createApiSchema(MessageSelectSchema);
|
|
1117
|
-
createApiInsertSchema(MessageInsertSchema)
|
|
1118
|
-
|
|
1134
|
+
var MessageApiSelectSchema = createApiSchema(MessageSelectSchema).openapi("Message");
|
|
1135
|
+
createApiInsertSchema(MessageInsertSchema).openapi(
|
|
1136
|
+
"MessageCreate"
|
|
1137
|
+
);
|
|
1138
|
+
createApiUpdateSchema(MessageUpdateSchema).openapi(
|
|
1139
|
+
"MessageUpdate"
|
|
1140
|
+
);
|
|
1119
1141
|
var ContextCacheSelectSchema = drizzleZod.createSelectSchema(contextCache);
|
|
1120
1142
|
var ContextCacheInsertSchema = drizzleZod.createInsertSchema(contextCache);
|
|
1121
1143
|
var ContextCacheUpdateSchema = ContextCacheInsertSchema.partial();
|
|
@@ -1131,13 +1153,19 @@ DataComponentInsertSchema.omit({
|
|
|
1131
1153
|
updatedAt: true
|
|
1132
1154
|
});
|
|
1133
1155
|
var DataComponentUpdateSchema = DataComponentInsertSchema.partial();
|
|
1134
|
-
createApiSchema(
|
|
1135
|
-
|
|
1136
|
-
|
|
1156
|
+
var DataComponentApiSelectSchema = createApiSchema(
|
|
1157
|
+
DataComponentSelectSchema
|
|
1158
|
+
).openapi("DataComponent");
|
|
1159
|
+
var DataComponentApiInsertSchema = createApiInsertSchema(
|
|
1160
|
+
DataComponentInsertSchema
|
|
1161
|
+
).openapi("DataComponentCreate");
|
|
1162
|
+
createApiUpdateSchema(
|
|
1163
|
+
DataComponentUpdateSchema
|
|
1164
|
+
).openapi("DataComponentUpdate");
|
|
1137
1165
|
var SubAgentDataComponentSelectSchema = drizzleZod.createSelectSchema(subAgentDataComponents);
|
|
1138
1166
|
var SubAgentDataComponentInsertSchema = drizzleZod.createInsertSchema(subAgentDataComponents);
|
|
1139
1167
|
var SubAgentDataComponentUpdateSchema = SubAgentDataComponentInsertSchema.partial();
|
|
1140
|
-
createAgentScopedApiSchema(
|
|
1168
|
+
var SubAgentDataComponentApiSelectSchema = createAgentScopedApiSchema(
|
|
1141
1169
|
SubAgentDataComponentSelectSchema
|
|
1142
1170
|
);
|
|
1143
1171
|
SubAgentDataComponentInsertSchema.omit({
|
|
@@ -1154,16 +1182,18 @@ var ArtifactComponentInsertSchema = drizzleZod.createInsertSchema(artifactCompon
|
|
|
1154
1182
|
id: resourceIdSchema
|
|
1155
1183
|
});
|
|
1156
1184
|
var ArtifactComponentUpdateSchema = ArtifactComponentInsertSchema.partial();
|
|
1157
|
-
createApiSchema(
|
|
1185
|
+
var ArtifactComponentApiSelectSchema = createApiSchema(
|
|
1186
|
+
ArtifactComponentSelectSchema
|
|
1187
|
+
).openapi("ArtifactComponent");
|
|
1158
1188
|
var ArtifactComponentApiInsertSchema = ArtifactComponentInsertSchema.omit({
|
|
1159
1189
|
tenantId: true,
|
|
1160
1190
|
projectId: true,
|
|
1161
1191
|
createdAt: true,
|
|
1162
1192
|
updatedAt: true
|
|
1163
|
-
});
|
|
1193
|
+
}).openapi("ArtifactComponentCreate");
|
|
1164
1194
|
createApiUpdateSchema(
|
|
1165
1195
|
ArtifactComponentUpdateSchema
|
|
1166
|
-
);
|
|
1196
|
+
).openapi("ArtifactComponentUpdate");
|
|
1167
1197
|
var SubAgentArtifactComponentSelectSchema = drizzleZod.createSelectSchema(subAgentArtifactComponents);
|
|
1168
1198
|
var SubAgentArtifactComponentInsertSchema = drizzleZod.createInsertSchema(
|
|
1169
1199
|
subAgentArtifactComponents
|
|
@@ -1173,7 +1203,7 @@ var SubAgentArtifactComponentInsertSchema = drizzleZod.createInsertSchema(
|
|
|
1173
1203
|
artifactComponentId: resourceIdSchema
|
|
1174
1204
|
});
|
|
1175
1205
|
var SubAgentArtifactComponentUpdateSchema = SubAgentArtifactComponentInsertSchema.partial();
|
|
1176
|
-
createAgentScopedApiSchema(
|
|
1206
|
+
var SubAgentArtifactComponentApiSelectSchema = createAgentScopedApiSchema(
|
|
1177
1207
|
SubAgentArtifactComponentSelectSchema
|
|
1178
1208
|
);
|
|
1179
1209
|
SubAgentArtifactComponentInsertSchema.omit({
|
|
@@ -1193,9 +1223,15 @@ var ExternalAgentInsertSchema = drizzleZod.createInsertSchema(externalAgents).ex
|
|
|
1193
1223
|
id: resourceIdSchema
|
|
1194
1224
|
});
|
|
1195
1225
|
var ExternalAgentUpdateSchema = ExternalAgentInsertSchema.partial();
|
|
1196
|
-
var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(
|
|
1197
|
-
|
|
1198
|
-
|
|
1226
|
+
var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(
|
|
1227
|
+
ExternalAgentSelectSchema
|
|
1228
|
+
).openapi("ExternalAgent");
|
|
1229
|
+
var ExternalAgentApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
1230
|
+
ExternalAgentInsertSchema
|
|
1231
|
+
).openapi("ExternalAgentCreate");
|
|
1232
|
+
createAgentScopedApiUpdateSchema(
|
|
1233
|
+
ExternalAgentUpdateSchema
|
|
1234
|
+
).openapi("ExternalAgentUpdate");
|
|
1199
1235
|
zodOpenapi.z.discriminatedUnion("type", [
|
|
1200
1236
|
SubAgentApiSelectSchema.extend({ type: zodOpenapi.z.literal("internal") }),
|
|
1201
1237
|
ExternalAgentApiSelectSchema.extend({ type: zodOpenapi.z.literal("external") })
|
|
@@ -1205,7 +1241,7 @@ var ApiKeyInsertSchema = drizzleZod.createInsertSchema(apiKeys).extend({
|
|
|
1205
1241
|
id: resourceIdSchema,
|
|
1206
1242
|
agentId: resourceIdSchema
|
|
1207
1243
|
});
|
|
1208
|
-
ApiKeyInsertSchema.partial().omit({
|
|
1244
|
+
var ApiKeyUpdateSchema = ApiKeyInsertSchema.partial().omit({
|
|
1209
1245
|
tenantId: true,
|
|
1210
1246
|
projectId: true,
|
|
1211
1247
|
id: true,
|
|
@@ -1219,7 +1255,7 @@ var ApiKeyApiSelectSchema = ApiKeySelectSchema.omit({
|
|
|
1219
1255
|
projectId: true,
|
|
1220
1256
|
keyHash: true
|
|
1221
1257
|
// Never expose the hash
|
|
1222
|
-
});
|
|
1258
|
+
}).openapi("ApiKey");
|
|
1223
1259
|
zodOpenapi.z.object({
|
|
1224
1260
|
data: zodOpenapi.z.object({
|
|
1225
1261
|
apiKey: ApiKeyApiSelectSchema,
|
|
@@ -1239,7 +1275,8 @@ ApiKeyInsertSchema.omit({
|
|
|
1239
1275
|
// Auto-generated
|
|
1240
1276
|
lastUsedAt: true
|
|
1241
1277
|
// Not set on creation
|
|
1242
|
-
});
|
|
1278
|
+
}).openapi("ApiKeyCreate");
|
|
1279
|
+
ApiKeyUpdateSchema.openapi("ApiKeyUpdate");
|
|
1243
1280
|
var CredentialReferenceSelectSchema = zodOpenapi.z.object({
|
|
1244
1281
|
id: zodOpenapi.z.string(),
|
|
1245
1282
|
tenantId: zodOpenapi.z.string(),
|
|
@@ -1257,22 +1294,22 @@ var CredentialReferenceInsertSchema = drizzleZod.createInsertSchema(credentialRe
|
|
|
1257
1294
|
retrievalParams: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.unknown()).nullish()
|
|
1258
1295
|
});
|
|
1259
1296
|
var CredentialReferenceUpdateSchema = CredentialReferenceInsertSchema.partial();
|
|
1260
|
-
createApiSchema(
|
|
1297
|
+
var CredentialReferenceApiSelectSchema = createApiSchema(
|
|
1261
1298
|
CredentialReferenceSelectSchema
|
|
1262
1299
|
).extend({
|
|
1263
1300
|
type: zodOpenapi.z.enum(CredentialStoreType),
|
|
1264
1301
|
tools: zodOpenapi.z.array(ToolSelectSchema).optional()
|
|
1265
|
-
});
|
|
1302
|
+
}).openapi("CredentialReference");
|
|
1266
1303
|
var CredentialReferenceApiInsertSchema = createApiInsertSchema(
|
|
1267
1304
|
CredentialReferenceInsertSchema
|
|
1268
1305
|
).extend({
|
|
1269
1306
|
type: zodOpenapi.z.enum(CredentialStoreType)
|
|
1270
|
-
});
|
|
1307
|
+
}).openapi("CredentialReferenceCreate");
|
|
1271
1308
|
createApiUpdateSchema(
|
|
1272
1309
|
CredentialReferenceUpdateSchema
|
|
1273
1310
|
).extend({
|
|
1274
1311
|
type: zodOpenapi.z.enum(CredentialStoreType).optional()
|
|
1275
|
-
});
|
|
1312
|
+
}).openapi("CredentialReferenceUpdate");
|
|
1276
1313
|
var McpToolSchema = ToolInsertSchema.extend({
|
|
1277
1314
|
imageUrl: imageUrlSchema,
|
|
1278
1315
|
availableTools: zodOpenapi.z.array(McpToolDefinitionSchema).optional(),
|
|
@@ -1301,25 +1338,35 @@ McpToolSchema.omit({
|
|
|
1301
1338
|
credential: CredentialReferenceApiInsertSchema.optional()
|
|
1302
1339
|
});
|
|
1303
1340
|
var ToolUpdateSchema = ToolInsertSchema.partial();
|
|
1304
|
-
createApiSchema(ToolSelectSchema);
|
|
1305
|
-
var ToolApiInsertSchema = createApiInsertSchema(ToolInsertSchema);
|
|
1306
|
-
createApiUpdateSchema(ToolUpdateSchema);
|
|
1341
|
+
var ToolApiSelectSchema = createApiSchema(ToolSelectSchema).openapi("Tool");
|
|
1342
|
+
var ToolApiInsertSchema = createApiInsertSchema(ToolInsertSchema).openapi("ToolCreate");
|
|
1343
|
+
createApiUpdateSchema(ToolUpdateSchema).openapi("ToolUpdate");
|
|
1307
1344
|
var FunctionToolSelectSchema = drizzleZod.createSelectSchema(functionTools);
|
|
1308
1345
|
var FunctionToolInsertSchema = drizzleZod.createInsertSchema(functionTools).extend({
|
|
1309
1346
|
id: resourceIdSchema
|
|
1310
1347
|
});
|
|
1311
1348
|
var FunctionToolUpdateSchema = FunctionToolInsertSchema.partial();
|
|
1312
|
-
createApiSchema(FunctionToolSelectSchema)
|
|
1313
|
-
|
|
1314
|
-
|
|
1349
|
+
var FunctionToolApiSelectSchema = createApiSchema(FunctionToolSelectSchema).openapi(
|
|
1350
|
+
"FunctionTool"
|
|
1351
|
+
);
|
|
1352
|
+
var FunctionToolApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
1353
|
+
FunctionToolInsertSchema
|
|
1354
|
+
).openapi("FunctionToolCreate");
|
|
1355
|
+
createApiUpdateSchema(
|
|
1356
|
+
FunctionToolUpdateSchema
|
|
1357
|
+
).openapi("FunctionToolUpdate");
|
|
1315
1358
|
var FunctionSelectSchema = drizzleZod.createSelectSchema(functions);
|
|
1316
1359
|
var FunctionInsertSchema = drizzleZod.createInsertSchema(functions).extend({
|
|
1317
1360
|
id: resourceIdSchema
|
|
1318
1361
|
});
|
|
1319
1362
|
var FunctionUpdateSchema = FunctionInsertSchema.partial();
|
|
1320
|
-
var FunctionApiSelectSchema = createApiSchema(FunctionSelectSchema);
|
|
1321
|
-
var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema)
|
|
1322
|
-
|
|
1363
|
+
var FunctionApiSelectSchema = createApiSchema(FunctionSelectSchema).openapi("Function");
|
|
1364
|
+
var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema).openapi(
|
|
1365
|
+
"FunctionCreate"
|
|
1366
|
+
);
|
|
1367
|
+
var FunctionApiUpdateSchema = createApiUpdateSchema(FunctionUpdateSchema).openapi(
|
|
1368
|
+
"FunctionUpdate"
|
|
1369
|
+
);
|
|
1323
1370
|
var FetchConfigSchema = zodOpenapi.z.object({
|
|
1324
1371
|
url: zodOpenapi.z.string().min(1, "URL is required"),
|
|
1325
1372
|
method: zodOpenapi.z.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional().default("GET"),
|
|
@@ -1328,7 +1375,7 @@ var FetchConfigSchema = zodOpenapi.z.object({
|
|
|
1328
1375
|
transform: zodOpenapi.z.string().optional(),
|
|
1329
1376
|
// JSONPath or JS transform function
|
|
1330
1377
|
timeout: zodOpenapi.z.number().min(0).optional().default(1e4).optional()
|
|
1331
|
-
});
|
|
1378
|
+
}).openapi("FetchConfig");
|
|
1332
1379
|
zodOpenapi.z.object({
|
|
1333
1380
|
id: zodOpenapi.z.string().min(1, "Fetch definition ID is required"),
|
|
1334
1381
|
name: zodOpenapi.z.string().optional(),
|
|
@@ -1340,7 +1387,7 @@ zodOpenapi.z.object({
|
|
|
1340
1387
|
description: "Default value if fetch fails"
|
|
1341
1388
|
}),
|
|
1342
1389
|
credential: CredentialReferenceApiInsertSchema.optional()
|
|
1343
|
-
});
|
|
1390
|
+
}).openapi("FetchDefinition");
|
|
1344
1391
|
var ContextConfigSelectSchema = drizzleZod.createSelectSchema(contextConfigs).extend({
|
|
1345
1392
|
headersSchema: zodOpenapi.z.any().optional().openapi({
|
|
1346
1393
|
type: "object",
|
|
@@ -1362,15 +1409,15 @@ var ContextConfigInsertSchema = drizzleZod.createInsertSchema(contextConfigs).ex
|
|
|
1362
1409
|
updatedAt: true
|
|
1363
1410
|
});
|
|
1364
1411
|
var ContextConfigUpdateSchema = ContextConfigInsertSchema.partial();
|
|
1365
|
-
createApiSchema(ContextConfigSelectSchema).omit({
|
|
1412
|
+
var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema).omit({
|
|
1366
1413
|
agentId: true
|
|
1367
|
-
});
|
|
1414
|
+
}).openapi("ContextConfig");
|
|
1368
1415
|
var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema).omit({
|
|
1369
1416
|
agentId: true
|
|
1370
|
-
});
|
|
1417
|
+
}).openapi("ContextConfigCreate");
|
|
1371
1418
|
createApiUpdateSchema(ContextConfigUpdateSchema).omit({
|
|
1372
1419
|
agentId: true
|
|
1373
|
-
});
|
|
1420
|
+
}).openapi("ContextConfigUpdate");
|
|
1374
1421
|
var SubAgentToolRelationSelectSchema = drizzleZod.createSelectSchema(subAgentToolRelations);
|
|
1375
1422
|
var SubAgentToolRelationInsertSchema = drizzleZod.createInsertSchema(subAgentToolRelations).extend({
|
|
1376
1423
|
id: resourceIdSchema,
|
|
@@ -1380,15 +1427,15 @@ var SubAgentToolRelationInsertSchema = drizzleZod.createInsertSchema(subAgentToo
|
|
|
1380
1427
|
headers: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.string()).nullish()
|
|
1381
1428
|
});
|
|
1382
1429
|
var SubAgentToolRelationUpdateSchema = SubAgentToolRelationInsertSchema.partial();
|
|
1383
|
-
createAgentScopedApiSchema(
|
|
1430
|
+
var SubAgentToolRelationApiSelectSchema = createAgentScopedApiSchema(
|
|
1384
1431
|
SubAgentToolRelationSelectSchema
|
|
1385
|
-
);
|
|
1432
|
+
).openapi("SubAgentToolRelation");
|
|
1386
1433
|
createAgentScopedApiInsertSchema(
|
|
1387
1434
|
SubAgentToolRelationInsertSchema
|
|
1388
|
-
);
|
|
1435
|
+
).openapi("SubAgentToolRelationCreate");
|
|
1389
1436
|
createAgentScopedApiUpdateSchema(
|
|
1390
1437
|
SubAgentToolRelationUpdateSchema
|
|
1391
|
-
);
|
|
1438
|
+
).openapi("SubAgentToolRelationUpdate");
|
|
1392
1439
|
var LedgerArtifactSelectSchema = drizzleZod.createSelectSchema(ledgerArtifacts);
|
|
1393
1440
|
var LedgerArtifactInsertSchema = drizzleZod.createInsertSchema(ledgerArtifacts);
|
|
1394
1441
|
var LedgerArtifactUpdateSchema = LedgerArtifactInsertSchema.partial();
|
|
@@ -1403,20 +1450,20 @@ var StatusComponentSchema = zodOpenapi.z.object({
|
|
|
1403
1450
|
properties: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.any()),
|
|
1404
1451
|
required: zodOpenapi.z.array(zodOpenapi.z.string()).optional()
|
|
1405
1452
|
}).optional()
|
|
1406
|
-
});
|
|
1453
|
+
}).openapi("StatusComponent");
|
|
1407
1454
|
var StatusUpdateSchema = zodOpenapi.z.object({
|
|
1408
1455
|
enabled: zodOpenapi.z.boolean().optional(),
|
|
1409
1456
|
numEvents: zodOpenapi.z.number().min(1).max(100).optional(),
|
|
1410
1457
|
timeInSeconds: zodOpenapi.z.number().min(1).max(600).optional(),
|
|
1411
1458
|
prompt: zodOpenapi.z.string().max(2e3, "Custom prompt cannot exceed 2000 characters").optional(),
|
|
1412
1459
|
statusComponents: zodOpenapi.z.array(StatusComponentSchema).optional()
|
|
1413
|
-
});
|
|
1460
|
+
}).openapi("StatusUpdate");
|
|
1414
1461
|
var CanUseItemSchema = zodOpenapi.z.object({
|
|
1415
1462
|
agentToolRelationId: zodOpenapi.z.string().optional(),
|
|
1416
1463
|
toolId: zodOpenapi.z.string(),
|
|
1417
1464
|
toolSelection: zodOpenapi.z.array(zodOpenapi.z.string()).nullish(),
|
|
1418
1465
|
headers: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.string()).nullish()
|
|
1419
|
-
});
|
|
1466
|
+
}).openapi("CanUseItem");
|
|
1420
1467
|
var FullAgentAgentInsertSchema = SubAgentApiInsertSchema.extend({
|
|
1421
1468
|
type: zodOpenapi.z.literal("internal"),
|
|
1422
1469
|
canUse: zodOpenapi.z.array(CanUseItemSchema),
|
|
@@ -1444,26 +1491,26 @@ var AgentWithinContextOfProjectSchema = AgentApiInsertSchema.extend({
|
|
|
1444
1491
|
stopWhen: AgentStopWhenSchema.optional(),
|
|
1445
1492
|
prompt: zodOpenapi.z.string().max(5e3, "Agent prompt cannot exceed 5000 characters").optional()
|
|
1446
1493
|
});
|
|
1447
|
-
zodOpenapi.z.object({
|
|
1494
|
+
var PaginationSchema = zodOpenapi.z.object({
|
|
1448
1495
|
page: zodOpenapi.z.coerce.number().min(1).default(1),
|
|
1449
1496
|
limit: zodOpenapi.z.coerce.number().min(1).max(100).default(10),
|
|
1450
1497
|
total: zodOpenapi.z.number(),
|
|
1451
1498
|
pages: zodOpenapi.z.number()
|
|
1452
|
-
});
|
|
1499
|
+
}).openapi("Pagination");
|
|
1453
1500
|
zodOpenapi.z.object({
|
|
1454
1501
|
error: zodOpenapi.z.string(),
|
|
1455
1502
|
message: zodOpenapi.z.string().optional(),
|
|
1456
1503
|
details: zodOpenapi.z.any().optional().openapi({
|
|
1457
1504
|
description: "Additional error details"
|
|
1458
1505
|
})
|
|
1459
|
-
});
|
|
1506
|
+
}).openapi("ErrorResponse");
|
|
1460
1507
|
zodOpenapi.z.object({
|
|
1461
1508
|
exists: zodOpenapi.z.boolean()
|
|
1462
|
-
});
|
|
1509
|
+
}).openapi("ExistsResponse");
|
|
1463
1510
|
zodOpenapi.z.object({
|
|
1464
1511
|
message: zodOpenapi.z.string(),
|
|
1465
1512
|
removed: zodOpenapi.z.boolean()
|
|
1466
|
-
});
|
|
1513
|
+
}).openapi("RemovedResponse");
|
|
1467
1514
|
var ProjectSelectSchema = drizzleZod.createSelectSchema(projects);
|
|
1468
1515
|
var ProjectInsertSchema = drizzleZod.createInsertSchema(projects).extend({
|
|
1469
1516
|
models: ProjectModelSchema,
|
|
@@ -1474,9 +1521,15 @@ var ProjectInsertSchema = drizzleZod.createInsertSchema(projects).extend({
|
|
|
1474
1521
|
updatedAt: true
|
|
1475
1522
|
});
|
|
1476
1523
|
var ProjectUpdateSchema = ProjectInsertSchema.partial();
|
|
1477
|
-
ProjectSelectSchema.omit({ tenantId: true })
|
|
1478
|
-
|
|
1479
|
-
|
|
1524
|
+
var ProjectApiSelectSchema = ProjectSelectSchema.omit({ tenantId: true }).openapi(
|
|
1525
|
+
"Project"
|
|
1526
|
+
);
|
|
1527
|
+
var ProjectApiInsertSchema = ProjectInsertSchema.omit({ tenantId: true }).openapi(
|
|
1528
|
+
"ProjectCreate"
|
|
1529
|
+
);
|
|
1530
|
+
ProjectUpdateSchema.omit({ tenantId: true }).openapi(
|
|
1531
|
+
"ProjectUpdate"
|
|
1532
|
+
);
|
|
1480
1533
|
ProjectApiInsertSchema.extend({
|
|
1481
1534
|
agents: zodOpenapi.z.record(zodOpenapi.z.string(), AgentWithinContextOfProjectSchema),
|
|
1482
1535
|
tools: zodOpenapi.z.record(zodOpenapi.z.string(), ToolApiInsertSchema),
|
|
@@ -1488,6 +1541,96 @@ ProjectApiInsertSchema.extend({
|
|
|
1488
1541
|
createdAt: zodOpenapi.z.string().optional(),
|
|
1489
1542
|
updatedAt: zodOpenapi.z.string().optional()
|
|
1490
1543
|
});
|
|
1544
|
+
zodOpenapi.z.object({ data: ProjectApiSelectSchema }).openapi("ProjectResponse");
|
|
1545
|
+
zodOpenapi.z.object({ data: SubAgentApiSelectSchema }).openapi("SubAgentResponse");
|
|
1546
|
+
zodOpenapi.z.object({ data: AgentApiSelectSchema }).openapi("AgentResponse");
|
|
1547
|
+
zodOpenapi.z.object({ data: ToolApiSelectSchema }).openapi("ToolResponse");
|
|
1548
|
+
zodOpenapi.z.object({ data: ExternalAgentApiSelectSchema }).openapi("ExternalAgentResponse");
|
|
1549
|
+
zodOpenapi.z.object({ data: ContextConfigApiSelectSchema }).openapi("ContextConfigResponse");
|
|
1550
|
+
zodOpenapi.z.object({ data: ApiKeyApiSelectSchema }).openapi("ApiKeyResponse");
|
|
1551
|
+
zodOpenapi.z.object({ data: CredentialReferenceApiSelectSchema }).openapi("CredentialReferenceResponse");
|
|
1552
|
+
zodOpenapi.z.object({ data: FunctionApiSelectSchema }).openapi("FunctionResponse");
|
|
1553
|
+
zodOpenapi.z.object({ data: FunctionToolApiSelectSchema }).openapi("FunctionToolResponse");
|
|
1554
|
+
zodOpenapi.z.object({ data: DataComponentApiSelectSchema }).openapi("DataComponentResponse");
|
|
1555
|
+
zodOpenapi.z.object({ data: ArtifactComponentApiSelectSchema }).openapi("ArtifactComponentResponse");
|
|
1556
|
+
zodOpenapi.z.object({ data: SubAgentRelationApiSelectSchema }).openapi("SubAgentRelationResponse");
|
|
1557
|
+
zodOpenapi.z.object({ data: SubAgentToolRelationApiSelectSchema }).openapi("SubAgentToolRelationResponse");
|
|
1558
|
+
zodOpenapi.z.object({ data: ConversationApiSelectSchema }).openapi("ConversationResponse");
|
|
1559
|
+
zodOpenapi.z.object({ data: MessageApiSelectSchema }).openapi("MessageResponse");
|
|
1560
|
+
zodOpenapi.z.object({
|
|
1561
|
+
data: zodOpenapi.z.array(ProjectApiSelectSchema),
|
|
1562
|
+
pagination: PaginationSchema
|
|
1563
|
+
}).openapi("ProjectListResponse");
|
|
1564
|
+
zodOpenapi.z.object({
|
|
1565
|
+
data: zodOpenapi.z.array(SubAgentApiSelectSchema),
|
|
1566
|
+
pagination: PaginationSchema
|
|
1567
|
+
}).openapi("SubAgentListResponse");
|
|
1568
|
+
zodOpenapi.z.object({
|
|
1569
|
+
data: zodOpenapi.z.array(AgentApiSelectSchema),
|
|
1570
|
+
pagination: PaginationSchema
|
|
1571
|
+
}).openapi("AgentListResponse");
|
|
1572
|
+
zodOpenapi.z.object({
|
|
1573
|
+
data: zodOpenapi.z.array(ToolApiSelectSchema),
|
|
1574
|
+
pagination: PaginationSchema
|
|
1575
|
+
}).openapi("ToolListResponse");
|
|
1576
|
+
zodOpenapi.z.object({
|
|
1577
|
+
data: zodOpenapi.z.array(ExternalAgentApiSelectSchema),
|
|
1578
|
+
pagination: PaginationSchema
|
|
1579
|
+
}).openapi("ExternalAgentListResponse");
|
|
1580
|
+
zodOpenapi.z.object({
|
|
1581
|
+
data: zodOpenapi.z.array(ContextConfigApiSelectSchema),
|
|
1582
|
+
pagination: PaginationSchema
|
|
1583
|
+
}).openapi("ContextConfigListResponse");
|
|
1584
|
+
zodOpenapi.z.object({
|
|
1585
|
+
data: zodOpenapi.z.array(ApiKeyApiSelectSchema),
|
|
1586
|
+
pagination: PaginationSchema
|
|
1587
|
+
}).openapi("ApiKeyListResponse");
|
|
1588
|
+
zodOpenapi.z.object({
|
|
1589
|
+
data: zodOpenapi.z.array(CredentialReferenceApiSelectSchema),
|
|
1590
|
+
pagination: PaginationSchema
|
|
1591
|
+
}).openapi("CredentialReferenceListResponse");
|
|
1592
|
+
zodOpenapi.z.object({
|
|
1593
|
+
data: zodOpenapi.z.array(FunctionApiSelectSchema),
|
|
1594
|
+
pagination: PaginationSchema
|
|
1595
|
+
}).openapi("FunctionListResponse");
|
|
1596
|
+
zodOpenapi.z.object({
|
|
1597
|
+
data: zodOpenapi.z.array(FunctionToolApiSelectSchema),
|
|
1598
|
+
pagination: PaginationSchema
|
|
1599
|
+
}).openapi("FunctionToolListResponse");
|
|
1600
|
+
zodOpenapi.z.object({
|
|
1601
|
+
data: zodOpenapi.z.array(DataComponentApiSelectSchema),
|
|
1602
|
+
pagination: PaginationSchema
|
|
1603
|
+
}).openapi("DataComponentListResponse");
|
|
1604
|
+
zodOpenapi.z.object({
|
|
1605
|
+
data: zodOpenapi.z.array(ArtifactComponentApiSelectSchema),
|
|
1606
|
+
pagination: PaginationSchema
|
|
1607
|
+
}).openapi("ArtifactComponentListResponse");
|
|
1608
|
+
zodOpenapi.z.object({
|
|
1609
|
+
data: zodOpenapi.z.array(SubAgentRelationApiSelectSchema),
|
|
1610
|
+
pagination: PaginationSchema
|
|
1611
|
+
}).openapi("SubAgentRelationListResponse");
|
|
1612
|
+
zodOpenapi.z.object({
|
|
1613
|
+
data: zodOpenapi.z.array(SubAgentToolRelationApiSelectSchema),
|
|
1614
|
+
pagination: PaginationSchema
|
|
1615
|
+
}).openapi("SubAgentToolRelationListResponse");
|
|
1616
|
+
zodOpenapi.z.object({
|
|
1617
|
+
data: zodOpenapi.z.array(ConversationApiSelectSchema),
|
|
1618
|
+
pagination: PaginationSchema
|
|
1619
|
+
}).openapi("ConversationListResponse");
|
|
1620
|
+
zodOpenapi.z.object({
|
|
1621
|
+
data: zodOpenapi.z.array(MessageApiSelectSchema),
|
|
1622
|
+
pagination: PaginationSchema
|
|
1623
|
+
}).openapi("MessageListResponse");
|
|
1624
|
+
zodOpenapi.z.object({ data: SubAgentDataComponentApiSelectSchema }).openapi("SubAgentDataComponentResponse");
|
|
1625
|
+
zodOpenapi.z.object({ data: SubAgentArtifactComponentApiSelectSchema }).openapi("SubAgentArtifactComponentResponse");
|
|
1626
|
+
zodOpenapi.z.object({
|
|
1627
|
+
data: zodOpenapi.z.array(SubAgentDataComponentApiSelectSchema),
|
|
1628
|
+
pagination: PaginationSchema
|
|
1629
|
+
}).openapi("SubAgentDataComponentListResponse");
|
|
1630
|
+
zodOpenapi.z.object({
|
|
1631
|
+
data: zodOpenapi.z.array(SubAgentArtifactComponentApiSelectSchema),
|
|
1632
|
+
pagination: PaginationSchema
|
|
1633
|
+
}).openapi("SubAgentArtifactComponentListResponse");
|
|
1491
1634
|
zodOpenapi.z.object({
|
|
1492
1635
|
"x-inkeep-tenant-id": zodOpenapi.z.string().optional().openapi({
|
|
1493
1636
|
description: "Tenant identifier",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-CuWMQh1H.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-HqRMF7sM.cjs';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-HqRMF7sM.cjs';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.cjs';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-CuWMQh1H.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-HqRMF7sM.js';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-HqRMF7sM.js';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
package/dist/client-exports.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-SLL6V3AE.js';
|
|
2
|
-
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-
|
|
3
|
-
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-
|
|
2
|
+
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-VICWT3WO.js';
|
|
3
|
+
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-VICWT3WO.js';
|
|
4
4
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
5
5
|
export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
6
6
|
import { z } from 'zod';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/constants/models.ts
|
|
4
4
|
var ANTHROPIC_MODELS = {
|
|
5
5
|
CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1-20250805",
|
|
6
|
-
CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4
|
|
6
|
+
CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5-20250929",
|
|
7
7
|
CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-20250514",
|
|
8
8
|
CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet-20241022",
|
|
9
9
|
CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-20241022"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
declare const ANTHROPIC_MODELS: {
|
|
5
5
|
readonly CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1-20250805";
|
|
6
|
-
readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4
|
|
6
|
+
readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5-20250929";
|
|
7
7
|
readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-20250514";
|
|
8
8
|
readonly CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet-20241022";
|
|
9
9
|
readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-20241022";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
declare const ANTHROPIC_MODELS: {
|
|
5
5
|
readonly CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1-20250805";
|
|
6
|
-
readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4
|
|
6
|
+
readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5-20250929";
|
|
7
7
|
readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-20250514";
|
|
8
8
|
readonly CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet-20241022";
|
|
9
9
|
readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-20241022";
|
package/dist/constants/models.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from '../chunk-
|
|
1
|
+
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from '../chunk-4VEUH2FG.js';
|
package/dist/db/schema.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
-
import '../utility-
|
|
4
|
-
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-HqRMF7sM.cjs';
|
|
4
|
+
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-CcSN2XcZ.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
-
import '../utility-
|
|
4
|
-
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-HqRMF7sM.js';
|
|
4
|
+
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-D8h85qdU.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|