@inkeep/agents-core 0.0.0-dev-20251009223620 → 0.0.0-dev-20251010064032
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-ZSQFZL3Y.js → chunk-2TJ2L67D.js} +1 -1
- package/dist/{chunk-BVURASVM.js → chunk-NEJ3QDK6.js} +42 -40
- package/dist/client-exports.cjs +31 -29
- 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 +69 -67
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +6 -6
- package/dist/{schema-B1rukNyF.d.ts → schema-B6nVWV--.d.ts} +1 -1
- package/dist/{schema-BIYOOKX_.d.cts → schema-BwkT6bbU.d.cts} +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-BEeDGMP9.d.cts → utility-D_8q6Vlh.d.cts} +57 -57
- package/dist/{utility-BEeDGMP9.d.ts → utility-D_8q6Vlh.d.ts} +57 -57
- package/dist/validation/index.cjs +69 -67
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GraphWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-
|
|
1
|
+
import { GraphWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-NEJ3QDK6.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var TransferDataSchema = z.object({
|
|
@@ -9,7 +9,7 @@ var StopWhenSchema = z.object({
|
|
|
9
9
|
stepCountIs: z.number().min(1).max(1e3).optional()
|
|
10
10
|
});
|
|
11
11
|
var GraphStopWhenSchema = StopWhenSchema.pick({ transferCountIs: true });
|
|
12
|
-
var
|
|
12
|
+
var SubAgentStopWhenSchema = StopWhenSchema.pick({ stepCountIs: true });
|
|
13
13
|
var MIN_ID_LENGTH = 1;
|
|
14
14
|
var MAX_ID_LENGTH = 255;
|
|
15
15
|
var URL_SAFE_ID_PATTERN = /^[a-zA-Z0-9\-_.]+$/;
|
|
@@ -61,18 +61,20 @@ var SubAgentUpdateSchema = SubAgentInsertSchema.partial();
|
|
|
61
61
|
var SubAgentApiSelectSchema = createGraphScopedApiSchema(SubAgentSelectSchema);
|
|
62
62
|
var SubAgentApiInsertSchema = createGraphScopedApiInsertSchema(SubAgentInsertSchema);
|
|
63
63
|
var SubAgentApiUpdateSchema = createGraphScopedApiUpdateSchema(SubAgentUpdateSchema);
|
|
64
|
-
var
|
|
65
|
-
var
|
|
64
|
+
var SubAgentRelationSelectSchema = createSelectSchema(subAgentRelations);
|
|
65
|
+
var SubAgentRelationInsertSchema = createInsertSchema(subAgentRelations).extend({
|
|
66
66
|
id: resourceIdSchema,
|
|
67
67
|
graphId: resourceIdSchema,
|
|
68
68
|
sourceSubAgentId: resourceIdSchema,
|
|
69
69
|
targetSubAgentId: resourceIdSchema.optional(),
|
|
70
70
|
externalSubAgentId: resourceIdSchema.optional()
|
|
71
71
|
});
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
var SubAgentRelationUpdateSchema = SubAgentRelationInsertSchema.partial();
|
|
73
|
+
var SubAgentRelationApiSelectSchema = createGraphScopedApiSchema(
|
|
74
|
+
SubAgentRelationSelectSchema
|
|
75
|
+
);
|
|
76
|
+
var SubAgentRelationApiInsertSchema = createGraphScopedApiInsertSchema(
|
|
77
|
+
SubAgentRelationInsertSchema
|
|
76
78
|
).extend({
|
|
77
79
|
relationType: z.enum(VALID_RELATION_TYPES)
|
|
78
80
|
}).refine(
|
|
@@ -86,8 +88,8 @@ var AgentRelationApiInsertSchema = createGraphScopedApiInsertSchema(
|
|
|
86
88
|
path: ["targetSubAgentId", "externalSubAgentId"]
|
|
87
89
|
}
|
|
88
90
|
);
|
|
89
|
-
var
|
|
90
|
-
|
|
91
|
+
var SubAgentRelationApiUpdateSchema = createGraphScopedApiUpdateSchema(
|
|
92
|
+
SubAgentRelationUpdateSchema
|
|
91
93
|
).extend({
|
|
92
94
|
relationType: z.enum(VALID_RELATION_TYPES).optional()
|
|
93
95
|
}).refine(
|
|
@@ -100,23 +102,23 @@ var AgentRelationApiUpdateSchema = createGraphScopedApiUpdateSchema(
|
|
|
100
102
|
return hasTarget !== hasExternal;
|
|
101
103
|
},
|
|
102
104
|
{
|
|
103
|
-
message: "Must specify exactly one of targetSubAgentId or externalSubAgentId when updating agent relationships",
|
|
105
|
+
message: "Must specify exactly one of targetSubAgentId or externalSubAgentId when updating sub-agent relationships",
|
|
104
106
|
path: ["targetSubAgentId", "externalSubAgentId"]
|
|
105
107
|
}
|
|
106
108
|
);
|
|
107
|
-
var
|
|
109
|
+
var SubAgentRelationQuerySchema = z.object({
|
|
108
110
|
sourceSubAgentId: z.string().optional(),
|
|
109
111
|
targetSubAgentId: z.string().optional(),
|
|
110
112
|
externalSubAgentId: z.string().optional()
|
|
111
113
|
});
|
|
112
|
-
var
|
|
114
|
+
var ExternalSubAgentRelationInsertSchema = createInsertSchema(subAgentRelations).extend({
|
|
113
115
|
id: resourceIdSchema,
|
|
114
116
|
graphId: resourceIdSchema,
|
|
115
117
|
sourceSubAgentId: resourceIdSchema,
|
|
116
118
|
externalSubAgentId: resourceIdSchema
|
|
117
119
|
});
|
|
118
|
-
var
|
|
119
|
-
|
|
120
|
+
var ExternalSubAgentRelationApiInsertSchema = createApiInsertSchema(
|
|
121
|
+
ExternalSubAgentRelationInsertSchema
|
|
120
122
|
);
|
|
121
123
|
var AgentGraphSelectSchema = createSelectSchema(agentGraph);
|
|
122
124
|
var AgentGraphInsertSchema = createInsertSchema(agentGraph).extend({
|
|
@@ -247,20 +249,20 @@ var DataComponentUpdateSchema = DataComponentInsertSchema.partial();
|
|
|
247
249
|
var DataComponentApiSelectSchema = createApiSchema(DataComponentSelectSchema);
|
|
248
250
|
var DataComponentApiInsertSchema = createApiInsertSchema(DataComponentInsertSchema);
|
|
249
251
|
var DataComponentApiUpdateSchema = createApiUpdateSchema(DataComponentUpdateSchema);
|
|
250
|
-
var
|
|
251
|
-
var
|
|
252
|
-
var
|
|
253
|
-
var
|
|
254
|
-
|
|
252
|
+
var SubAgentDataComponentSelectSchema = createSelectSchema(subAgentDataComponents);
|
|
253
|
+
var SubAgentDataComponentInsertSchema = createInsertSchema(subAgentDataComponents);
|
|
254
|
+
var SubAgentDataComponentUpdateSchema = SubAgentDataComponentInsertSchema.partial();
|
|
255
|
+
var SubAgentDataComponentApiSelectSchema = createGraphScopedApiSchema(
|
|
256
|
+
SubAgentDataComponentSelectSchema
|
|
255
257
|
);
|
|
256
|
-
var
|
|
258
|
+
var SubAgentDataComponentApiInsertSchema = SubAgentDataComponentInsertSchema.omit({
|
|
257
259
|
tenantId: true,
|
|
258
260
|
projectId: true,
|
|
259
261
|
id: true,
|
|
260
262
|
createdAt: true
|
|
261
263
|
});
|
|
262
|
-
var
|
|
263
|
-
|
|
264
|
+
var SubAgentDataComponentApiUpdateSchema = createGraphScopedApiUpdateSchema(
|
|
265
|
+
SubAgentDataComponentUpdateSchema
|
|
264
266
|
);
|
|
265
267
|
var ArtifactComponentSelectSchema = createSelectSchema(artifactComponents);
|
|
266
268
|
var ArtifactComponentInsertSchema = createInsertSchema(artifactComponents).extend({
|
|
@@ -277,26 +279,26 @@ var ArtifactComponentApiInsertSchema = ArtifactComponentInsertSchema.omit({
|
|
|
277
279
|
var ArtifactComponentApiUpdateSchema = createApiUpdateSchema(
|
|
278
280
|
ArtifactComponentUpdateSchema
|
|
279
281
|
);
|
|
280
|
-
var
|
|
281
|
-
var
|
|
282
|
+
var SubAgentArtifactComponentSelectSchema = createSelectSchema(subAgentArtifactComponents);
|
|
283
|
+
var SubAgentArtifactComponentInsertSchema = createInsertSchema(
|
|
282
284
|
subAgentArtifactComponents
|
|
283
285
|
).extend({
|
|
284
286
|
id: resourceIdSchema,
|
|
285
287
|
subAgentId: resourceIdSchema,
|
|
286
288
|
artifactComponentId: resourceIdSchema
|
|
287
289
|
});
|
|
288
|
-
var
|
|
289
|
-
var
|
|
290
|
-
|
|
290
|
+
var SubAgentArtifactComponentUpdateSchema = SubAgentArtifactComponentInsertSchema.partial();
|
|
291
|
+
var SubAgentArtifactComponentApiSelectSchema = createGraphScopedApiSchema(
|
|
292
|
+
SubAgentArtifactComponentSelectSchema
|
|
291
293
|
);
|
|
292
|
-
var
|
|
294
|
+
var SubAgentArtifactComponentApiInsertSchema = SubAgentArtifactComponentInsertSchema.omit({
|
|
293
295
|
tenantId: true,
|
|
294
296
|
projectId: true,
|
|
295
297
|
id: true,
|
|
296
298
|
createdAt: true
|
|
297
299
|
});
|
|
298
|
-
var
|
|
299
|
-
|
|
300
|
+
var SubAgentArtifactComponentApiUpdateSchema = createGraphScopedApiUpdateSchema(
|
|
301
|
+
SubAgentArtifactComponentUpdateSchema
|
|
300
302
|
);
|
|
301
303
|
var ExternalAgentSelectSchema = createSelectSchema(externalAgents).extend({
|
|
302
304
|
credentialReferenceId: z.string().nullable().optional(),
|
|
@@ -465,23 +467,23 @@ var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSche
|
|
|
465
467
|
var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema).omit({
|
|
466
468
|
graphId: true
|
|
467
469
|
});
|
|
468
|
-
var
|
|
469
|
-
var
|
|
470
|
+
var SubAgentToolRelationSelectSchema = createSelectSchema(subAgentToolRelations);
|
|
471
|
+
var SubAgentToolRelationInsertSchema = createInsertSchema(subAgentToolRelations).extend({
|
|
470
472
|
id: resourceIdSchema,
|
|
471
473
|
subAgentId: resourceIdSchema,
|
|
472
474
|
toolId: resourceIdSchema,
|
|
473
475
|
selectedTools: z.array(z.string()).nullish(),
|
|
474
476
|
headers: z.record(z.string(), z.string()).nullish()
|
|
475
477
|
});
|
|
476
|
-
var
|
|
477
|
-
var
|
|
478
|
-
|
|
478
|
+
var SubAgentToolRelationUpdateSchema = SubAgentToolRelationInsertSchema.partial();
|
|
479
|
+
var SubAgentToolRelationApiSelectSchema = createGraphScopedApiSchema(
|
|
480
|
+
SubAgentToolRelationSelectSchema
|
|
479
481
|
);
|
|
480
|
-
var
|
|
481
|
-
|
|
482
|
+
var SubAgentToolRelationApiInsertSchema = createGraphScopedApiInsertSchema(
|
|
483
|
+
SubAgentToolRelationInsertSchema
|
|
482
484
|
);
|
|
483
|
-
var
|
|
484
|
-
|
|
485
|
+
var SubAgentToolRelationApiUpdateSchema = createGraphScopedApiUpdateSchema(
|
|
486
|
+
SubAgentToolRelationUpdateSchema
|
|
485
487
|
);
|
|
486
488
|
var LedgerArtifactSelectSchema = createSelectSchema(ledgerArtifacts);
|
|
487
489
|
var LedgerArtifactInsertSchema = createInsertSchema(ledgerArtifacts);
|
|
@@ -749,4 +751,4 @@ function validatePropsAsJsonSchema(props) {
|
|
|
749
751
|
}
|
|
750
752
|
}
|
|
751
753
|
|
|
752
|
-
export {
|
|
754
|
+
export { AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, 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, FullGraphAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionSelectSchema, FunctionToolConfigSchema, FunctionUpdateSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, 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, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectGraphSubAgentIdParamsSchema, TenantProjectGraphSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema };
|
package/dist/client-exports.cjs
CHANGED
|
@@ -861,7 +861,7 @@ var StopWhenSchema = zodOpenapi.z.object({
|
|
|
861
861
|
stepCountIs: zodOpenapi.z.number().min(1).max(1e3).optional()
|
|
862
862
|
});
|
|
863
863
|
var GraphStopWhenSchema = StopWhenSchema.pick({ transferCountIs: true });
|
|
864
|
-
var
|
|
864
|
+
var SubAgentStopWhenSchema = StopWhenSchema.pick({ stepCountIs: true });
|
|
865
865
|
var MIN_ID_LENGTH = 1;
|
|
866
866
|
var MAX_ID_LENGTH = 255;
|
|
867
867
|
var URL_SAFE_ID_PATTERN = /^[a-zA-Z0-9\-_.]+$/;
|
|
@@ -913,18 +913,20 @@ var SubAgentUpdateSchema = SubAgentInsertSchema.partial();
|
|
|
913
913
|
var SubAgentApiSelectSchema = createGraphScopedApiSchema(SubAgentSelectSchema);
|
|
914
914
|
var SubAgentApiInsertSchema = createGraphScopedApiInsertSchema(SubAgentInsertSchema);
|
|
915
915
|
createGraphScopedApiUpdateSchema(SubAgentUpdateSchema);
|
|
916
|
-
var
|
|
917
|
-
var
|
|
916
|
+
var SubAgentRelationSelectSchema = drizzleZod.createSelectSchema(subAgentRelations);
|
|
917
|
+
var SubAgentRelationInsertSchema = drizzleZod.createInsertSchema(subAgentRelations).extend({
|
|
918
918
|
id: resourceIdSchema,
|
|
919
919
|
graphId: resourceIdSchema,
|
|
920
920
|
sourceSubAgentId: resourceIdSchema,
|
|
921
921
|
targetSubAgentId: resourceIdSchema.optional(),
|
|
922
922
|
externalSubAgentId: resourceIdSchema.optional()
|
|
923
923
|
});
|
|
924
|
-
var
|
|
925
|
-
createGraphScopedApiSchema(
|
|
924
|
+
var SubAgentRelationUpdateSchema = SubAgentRelationInsertSchema.partial();
|
|
925
|
+
createGraphScopedApiSchema(
|
|
926
|
+
SubAgentRelationSelectSchema
|
|
927
|
+
);
|
|
926
928
|
createGraphScopedApiInsertSchema(
|
|
927
|
-
|
|
929
|
+
SubAgentRelationInsertSchema
|
|
928
930
|
).extend({
|
|
929
931
|
relationType: zodOpenapi.z.enum(VALID_RELATION_TYPES)
|
|
930
932
|
}).refine(
|
|
@@ -939,7 +941,7 @@ createGraphScopedApiInsertSchema(
|
|
|
939
941
|
}
|
|
940
942
|
);
|
|
941
943
|
createGraphScopedApiUpdateSchema(
|
|
942
|
-
|
|
944
|
+
SubAgentRelationUpdateSchema
|
|
943
945
|
).extend({
|
|
944
946
|
relationType: zodOpenapi.z.enum(VALID_RELATION_TYPES).optional()
|
|
945
947
|
}).refine(
|
|
@@ -952,7 +954,7 @@ createGraphScopedApiUpdateSchema(
|
|
|
952
954
|
return hasTarget !== hasExternal;
|
|
953
955
|
},
|
|
954
956
|
{
|
|
955
|
-
message: "Must specify exactly one of targetSubAgentId or externalSubAgentId when updating agent relationships",
|
|
957
|
+
message: "Must specify exactly one of targetSubAgentId or externalSubAgentId when updating sub-agent relationships",
|
|
956
958
|
path: ["targetSubAgentId", "externalSubAgentId"]
|
|
957
959
|
}
|
|
958
960
|
);
|
|
@@ -961,14 +963,14 @@ zodOpenapi.z.object({
|
|
|
961
963
|
targetSubAgentId: zodOpenapi.z.string().optional(),
|
|
962
964
|
externalSubAgentId: zodOpenapi.z.string().optional()
|
|
963
965
|
});
|
|
964
|
-
var
|
|
966
|
+
var ExternalSubAgentRelationInsertSchema = drizzleZod.createInsertSchema(subAgentRelations).extend({
|
|
965
967
|
id: resourceIdSchema,
|
|
966
968
|
graphId: resourceIdSchema,
|
|
967
969
|
sourceSubAgentId: resourceIdSchema,
|
|
968
970
|
externalSubAgentId: resourceIdSchema
|
|
969
971
|
});
|
|
970
972
|
createApiInsertSchema(
|
|
971
|
-
|
|
973
|
+
ExternalSubAgentRelationInsertSchema
|
|
972
974
|
);
|
|
973
975
|
var AgentGraphSelectSchema = drizzleZod.createSelectSchema(agentGraph);
|
|
974
976
|
var AgentGraphInsertSchema = drizzleZod.createInsertSchema(agentGraph).extend({
|
|
@@ -1099,20 +1101,20 @@ var DataComponentUpdateSchema = DataComponentInsertSchema.partial();
|
|
|
1099
1101
|
createApiSchema(DataComponentSelectSchema);
|
|
1100
1102
|
var DataComponentApiInsertSchema = createApiInsertSchema(DataComponentInsertSchema);
|
|
1101
1103
|
createApiUpdateSchema(DataComponentUpdateSchema);
|
|
1102
|
-
var
|
|
1103
|
-
var
|
|
1104
|
-
var
|
|
1104
|
+
var SubAgentDataComponentSelectSchema = drizzleZod.createSelectSchema(subAgentDataComponents);
|
|
1105
|
+
var SubAgentDataComponentInsertSchema = drizzleZod.createInsertSchema(subAgentDataComponents);
|
|
1106
|
+
var SubAgentDataComponentUpdateSchema = SubAgentDataComponentInsertSchema.partial();
|
|
1105
1107
|
createGraphScopedApiSchema(
|
|
1106
|
-
|
|
1108
|
+
SubAgentDataComponentSelectSchema
|
|
1107
1109
|
);
|
|
1108
|
-
|
|
1110
|
+
SubAgentDataComponentInsertSchema.omit({
|
|
1109
1111
|
tenantId: true,
|
|
1110
1112
|
projectId: true,
|
|
1111
1113
|
id: true,
|
|
1112
1114
|
createdAt: true
|
|
1113
1115
|
});
|
|
1114
1116
|
createGraphScopedApiUpdateSchema(
|
|
1115
|
-
|
|
1117
|
+
SubAgentDataComponentUpdateSchema
|
|
1116
1118
|
);
|
|
1117
1119
|
var ArtifactComponentSelectSchema = drizzleZod.createSelectSchema(artifactComponents);
|
|
1118
1120
|
var ArtifactComponentInsertSchema = drizzleZod.createInsertSchema(artifactComponents).extend({
|
|
@@ -1129,26 +1131,26 @@ var ArtifactComponentApiInsertSchema = ArtifactComponentInsertSchema.omit({
|
|
|
1129
1131
|
createApiUpdateSchema(
|
|
1130
1132
|
ArtifactComponentUpdateSchema
|
|
1131
1133
|
);
|
|
1132
|
-
var
|
|
1133
|
-
var
|
|
1134
|
+
var SubAgentArtifactComponentSelectSchema = drizzleZod.createSelectSchema(subAgentArtifactComponents);
|
|
1135
|
+
var SubAgentArtifactComponentInsertSchema = drizzleZod.createInsertSchema(
|
|
1134
1136
|
subAgentArtifactComponents
|
|
1135
1137
|
).extend({
|
|
1136
1138
|
id: resourceIdSchema,
|
|
1137
1139
|
subAgentId: resourceIdSchema,
|
|
1138
1140
|
artifactComponentId: resourceIdSchema
|
|
1139
1141
|
});
|
|
1140
|
-
var
|
|
1142
|
+
var SubAgentArtifactComponentUpdateSchema = SubAgentArtifactComponentInsertSchema.partial();
|
|
1141
1143
|
createGraphScopedApiSchema(
|
|
1142
|
-
|
|
1144
|
+
SubAgentArtifactComponentSelectSchema
|
|
1143
1145
|
);
|
|
1144
|
-
|
|
1146
|
+
SubAgentArtifactComponentInsertSchema.omit({
|
|
1145
1147
|
tenantId: true,
|
|
1146
1148
|
projectId: true,
|
|
1147
1149
|
id: true,
|
|
1148
1150
|
createdAt: true
|
|
1149
1151
|
});
|
|
1150
1152
|
createGraphScopedApiUpdateSchema(
|
|
1151
|
-
|
|
1153
|
+
SubAgentArtifactComponentUpdateSchema
|
|
1152
1154
|
);
|
|
1153
1155
|
var ExternalAgentSelectSchema = drizzleZod.createSelectSchema(externalAgents).extend({
|
|
1154
1156
|
credentialReferenceId: zodOpenapi.z.string().nullable().optional(),
|
|
@@ -1316,23 +1318,23 @@ var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSche
|
|
|
1316
1318
|
createApiUpdateSchema(ContextConfigUpdateSchema).omit({
|
|
1317
1319
|
graphId: true
|
|
1318
1320
|
});
|
|
1319
|
-
var
|
|
1320
|
-
var
|
|
1321
|
+
var SubAgentToolRelationSelectSchema = drizzleZod.createSelectSchema(subAgentToolRelations);
|
|
1322
|
+
var SubAgentToolRelationInsertSchema = drizzleZod.createInsertSchema(subAgentToolRelations).extend({
|
|
1321
1323
|
id: resourceIdSchema,
|
|
1322
1324
|
subAgentId: resourceIdSchema,
|
|
1323
1325
|
toolId: resourceIdSchema,
|
|
1324
1326
|
selectedTools: zodOpenapi.z.array(zodOpenapi.z.string()).nullish(),
|
|
1325
1327
|
headers: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.string()).nullish()
|
|
1326
1328
|
});
|
|
1327
|
-
var
|
|
1329
|
+
var SubAgentToolRelationUpdateSchema = SubAgentToolRelationInsertSchema.partial();
|
|
1328
1330
|
createGraphScopedApiSchema(
|
|
1329
|
-
|
|
1331
|
+
SubAgentToolRelationSelectSchema
|
|
1330
1332
|
);
|
|
1331
1333
|
createGraphScopedApiInsertSchema(
|
|
1332
|
-
|
|
1334
|
+
SubAgentToolRelationInsertSchema
|
|
1333
1335
|
);
|
|
1334
1336
|
createGraphScopedApiUpdateSchema(
|
|
1335
|
-
|
|
1337
|
+
SubAgentToolRelationUpdateSchema
|
|
1336
1338
|
);
|
|
1337
1339
|
var LedgerArtifactSelectSchema = drizzleZod.createSelectSchema(ledgerArtifacts);
|
|
1338
1340
|
var LedgerArtifactInsertSchema = drizzleZod.createInsertSchema(ledgerArtifacts);
|
|
@@ -2041,7 +2043,7 @@ exports.AI_OPERATIONS = AI_OPERATIONS;
|
|
|
2041
2043
|
exports.AI_TOOL_TYPES = AI_TOOL_TYPES;
|
|
2042
2044
|
exports.AgentApiInsertSchema = AgentApiInsertSchema;
|
|
2043
2045
|
exports.AgentGraphApiInsertSchema = AgentGraphApiInsertSchema2;
|
|
2044
|
-
exports.AgentStopWhenSchema =
|
|
2046
|
+
exports.AgentStopWhenSchema = SubAgentStopWhenSchema;
|
|
2045
2047
|
exports.ApiKeyApiCreationResponseSchema = ApiKeyApiCreationResponseSchema2;
|
|
2046
2048
|
exports.ApiKeyApiSelectSchema = ApiKeyApiSelectSchema2;
|
|
2047
2049
|
exports.ArtifactComponentApiInsertSchema = ArtifactComponentApiInsertSchema2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k 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, m as ORDER_DIRECTIONS, P as PANEL_TYPES, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, i as TOOL_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-CifqdbnO.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, g as CredentialStoreType, i as FunctionApiSelectSchema, j as FunctionApiUpdateSchema, d as GraphStopWhen, G as GraphStopWhenSchema, h as MCPTransportType, f as ModelSettings, M as ModelSettingsSchema, k as SandboxConfigSchema, c as StopWhen, S as StopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-D_8q6Vlh.cjs';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, g as CredentialStoreType, i as FunctionApiSelectSchema, j as FunctionApiUpdateSchema, d as GraphStopWhen, G as GraphStopWhenSchema, h as MCPTransportType, f as ModelSettings, M as ModelSettingsSchema, k as SandboxConfigSchema, c as StopWhen, S as StopWhenSchema } from './utility-D_8q6Vlh.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, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k 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, m as ORDER_DIRECTIONS, P as PANEL_TYPES, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, i as TOOL_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-CifqdbnO.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, g as CredentialStoreType, i as FunctionApiSelectSchema, j as FunctionApiUpdateSchema, d as GraphStopWhen, G as GraphStopWhenSchema, h as MCPTransportType, f as ModelSettings, M as ModelSettingsSchema, k as SandboxConfigSchema, c as StopWhen, S as StopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-D_8q6Vlh.js';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, g as CredentialStoreType, i as FunctionApiSelectSchema, j as FunctionApiUpdateSchema, d as GraphStopWhen, G as GraphStopWhenSchema, h as MCPTransportType, f as ModelSettings, M as ModelSettingsSchema, k as SandboxConfigSchema, c as StopWhen, S as StopWhenSchema } from './utility-D_8q6Vlh.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, TOOL_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-TCLX6C3C.js';
|
|
2
|
-
import { ModelSettingsSchema, FullGraphAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-
|
|
3
|
-
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, GraphStopWhenSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, validatePropsAsJsonSchema } from './chunk-
|
|
2
|
+
import { ModelSettingsSchema, FullGraphAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-NEJ3QDK6.js';
|
|
3
|
+
export { SubAgentStopWhenSchema as AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, GraphStopWhenSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, validatePropsAsJsonSchema } from './chunk-NEJ3QDK6.js';
|
|
4
4
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
5
5
|
export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
6
6
|
import { z } from 'zod';
|
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 { a as agentGraph, C as agentGraphRelations, F as agentToolRelationsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, k as subAgentArtifactComponents, L as subAgentArtifactComponentsRelations, i as subAgentDataComponents, N as subAgentDataComponentsRelations, e as subAgentRelations, Q as subAgentRelationsRelations, n as subAgentToolRelations, d as subAgents, B as subAgentsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-D_8q6Vlh.cjs';
|
|
4
|
+
export { a as agentGraph, C as agentGraphRelations, F as agentToolRelationsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, k as subAgentArtifactComponents, L as subAgentArtifactComponentsRelations, i as subAgentDataComponents, N as subAgentDataComponentsRelations, e as subAgentRelations, Q as subAgentRelationsRelations, n as subAgentToolRelations, d as subAgents, B as subAgentsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from '../schema-BwkT6bbU.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 { a as agentGraph, C as agentGraphRelations, F as agentToolRelationsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, k as subAgentArtifactComponents, L as subAgentArtifactComponentsRelations, i as subAgentDataComponents, N as subAgentDataComponentsRelations, e as subAgentRelations, Q as subAgentRelationsRelations, n as subAgentToolRelations, d as subAgents, B as subAgentsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-D_8q6Vlh.js';
|
|
4
|
+
export { a as agentGraph, C as agentGraphRelations, F as agentToolRelationsRelations, u as apiKeys, E as apiKeysRelations, j as artifactComponents, K as artifactComponentsRelations, b as contextCache, A as contextCacheRelations, c as contextConfigs, z as contextConfigsRelations, o as conversations, I as conversationsRelations, v as credentialReferences, G as credentialReferencesRelations, h as dataComponents, M as dataComponentsRelations, f as externalAgents, D as externalAgentsRelations, m as functions, P as functionsRelations, r as ledgerArtifacts, O as ledgerArtifactsRelations, q as messages, J as messagesRelations, p as projects, x as projectsRelations, k as subAgentArtifactComponents, L as subAgentArtifactComponentsRelations, i as subAgentDataComponents, N as subAgentDataComponentsRelations, e as subAgentRelations, Q as subAgentRelationsRelations, n as subAgentToolRelations, d as subAgents, B as subAgentsRelations, g as taskRelations, y as taskRelationsRelations, t as tasks, w as tasksRelations, l as tools, H as toolsRelations } from '../schema-B6nVWV--.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|