@inkeep/agents-core 0.21.1 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XKJPMUGE.js → chunk-F3AFTJB7.js} +24 -73
- package/dist/{chunk-TNHJH73I.js → chunk-PR3DDXVU.js} +0 -1
- package/dist/{chunk-QEXLYPVZ.js → chunk-TSKVAFS4.js} +1 -1
- package/dist/client-exports.cjs +22 -73
- 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.cjs +0 -1
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/index.cjs +22 -73
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/{schema-DylNIx0j.d.ts → schema-9o975__r.d.ts} +1 -30
- package/dist/{schema-BjQKqtdC.d.cts → schema-lnJ7dKE3.d.cts} +1 -30
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-HqRMF7sM.d.cts → utility-DmLVF565.d.cts} +1 -166
- package/dist/{utility-HqRMF7sM.d.ts → utility-DmLVF565.d.ts} +1 -166
- package/dist/validation/index.cjs +22 -73
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/drizzle/0009_old_black_cat.sql +1 -0
- package/drizzle/meta/0009_snapshot.json +2744 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { subAgents, subAgentRelations, agents, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, functionTools, functions, contextConfigs, subAgentToolRelations, ledgerArtifacts, projects } from './chunk-
|
|
1
|
+
import { subAgents, subAgentRelations, agents, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, functionTools, functions, contextConfigs, subAgentToolRelations, ledgerArtifacts, projects } from './chunk-PR3DDXVU.js';
|
|
2
2
|
import { VALID_RELATION_TYPES, MCPTransportType, TOOL_STATUS_VALUES, CredentialStoreType, MCPServerType } from './chunk-YFHT5M2R.js';
|
|
3
3
|
import { z } from '@hono/zod-openapi';
|
|
4
4
|
import { createSelectSchema, createInsertSchema } from 'drizzle-zod';
|
|
@@ -37,12 +37,6 @@ var ProjectModelSchema = z.object({
|
|
|
37
37
|
structuredOutput: ModelSettingsSchema.optional(),
|
|
38
38
|
summarizer: ModelSettingsSchema.optional()
|
|
39
39
|
}).openapi("ProjectModel");
|
|
40
|
-
var SandboxConfigSchema = z.object({
|
|
41
|
-
provider: z.enum(["vercel", "local"]),
|
|
42
|
-
runtime: z.enum(["node22", "typescript"]),
|
|
43
|
-
timeout: z.number().min(1e3).max(3e5).optional(),
|
|
44
|
-
vcpus: z.number().min(1).max(8).optional()
|
|
45
|
-
}).openapi("SandboxConfig");
|
|
46
40
|
var FunctionToolConfigSchema = z.object({
|
|
47
41
|
name: z.string(),
|
|
48
42
|
description: z.string(),
|
|
@@ -62,15 +56,9 @@ var SubAgentInsertSchema = createInsertSchema(subAgents).extend({
|
|
|
62
56
|
models: ModelSchema.optional()
|
|
63
57
|
});
|
|
64
58
|
var SubAgentUpdateSchema = SubAgentInsertSchema.partial();
|
|
65
|
-
var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema).openapi(
|
|
66
|
-
|
|
67
|
-
);
|
|
68
|
-
var SubAgentApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
69
|
-
SubAgentInsertSchema
|
|
70
|
-
).openapi("SubAgentCreate");
|
|
71
|
-
var SubAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(
|
|
72
|
-
SubAgentUpdateSchema
|
|
73
|
-
).openapi("SubAgentUpdate");
|
|
59
|
+
var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema).openapi("SubAgent");
|
|
60
|
+
var SubAgentApiInsertSchema = createAgentScopedApiInsertSchema(SubAgentInsertSchema).openapi("SubAgentCreate");
|
|
61
|
+
var SubAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(SubAgentUpdateSchema).openapi("SubAgentUpdate");
|
|
74
62
|
var SubAgentRelationSelectSchema = createSelectSchema(subAgentRelations);
|
|
75
63
|
var SubAgentRelationInsertSchema = createInsertSchema(subAgentRelations).extend({
|
|
76
64
|
id: resourceIdSchema,
|
|
@@ -139,9 +127,7 @@ var AgentApiSelectSchema = createApiSchema(AgentSelectSchema).openapi("Agent");
|
|
|
139
127
|
var AgentApiInsertSchema = createApiInsertSchema(AgentInsertSchema).extend({
|
|
140
128
|
id: resourceIdSchema
|
|
141
129
|
}).openapi("AgentCreate");
|
|
142
|
-
var AgentApiUpdateSchema = createApiUpdateSchema(AgentUpdateSchema).openapi(
|
|
143
|
-
"AgentUpdate"
|
|
144
|
-
);
|
|
130
|
+
var AgentApiUpdateSchema = createApiUpdateSchema(AgentUpdateSchema).openapi("AgentUpdate");
|
|
145
131
|
var TaskSelectSchema = createSelectSchema(tasks);
|
|
146
132
|
var TaskInsertSchema = createInsertSchema(tasks).extend({
|
|
147
133
|
id: resourceIdSchema,
|
|
@@ -226,15 +212,9 @@ var ConversationInsertSchema = createInsertSchema(conversations).extend({
|
|
|
226
212
|
contextConfigId: resourceIdSchema.optional()
|
|
227
213
|
});
|
|
228
214
|
var ConversationUpdateSchema = ConversationInsertSchema.partial();
|
|
229
|
-
var ConversationApiSelectSchema = createApiSchema(ConversationSelectSchema).openapi(
|
|
230
|
-
|
|
231
|
-
);
|
|
232
|
-
var ConversationApiInsertSchema = createApiInsertSchema(ConversationInsertSchema).openapi(
|
|
233
|
-
"ConversationCreate"
|
|
234
|
-
);
|
|
235
|
-
var ConversationApiUpdateSchema = createApiUpdateSchema(ConversationUpdateSchema).openapi(
|
|
236
|
-
"ConversationUpdate"
|
|
237
|
-
);
|
|
215
|
+
var ConversationApiSelectSchema = createApiSchema(ConversationSelectSchema).openapi("Conversation");
|
|
216
|
+
var ConversationApiInsertSchema = createApiInsertSchema(ConversationInsertSchema).openapi("ConversationCreate");
|
|
217
|
+
var ConversationApiUpdateSchema = createApiUpdateSchema(ConversationUpdateSchema).openapi("ConversationUpdate");
|
|
238
218
|
var MessageSelectSchema = createSelectSchema(messages);
|
|
239
219
|
var MessageInsertSchema = createInsertSchema(messages).extend({
|
|
240
220
|
id: resourceIdSchema,
|
|
@@ -243,12 +223,8 @@ var MessageInsertSchema = createInsertSchema(messages).extend({
|
|
|
243
223
|
});
|
|
244
224
|
var MessageUpdateSchema = MessageInsertSchema.partial();
|
|
245
225
|
var MessageApiSelectSchema = createApiSchema(MessageSelectSchema).openapi("Message");
|
|
246
|
-
var MessageApiInsertSchema = createApiInsertSchema(MessageInsertSchema).openapi(
|
|
247
|
-
|
|
248
|
-
);
|
|
249
|
-
var MessageApiUpdateSchema = createApiUpdateSchema(MessageUpdateSchema).openapi(
|
|
250
|
-
"MessageUpdate"
|
|
251
|
-
);
|
|
226
|
+
var MessageApiInsertSchema = createApiInsertSchema(MessageInsertSchema).openapi("MessageCreate");
|
|
227
|
+
var MessageApiUpdateSchema = createApiUpdateSchema(MessageUpdateSchema).openapi("MessageUpdate");
|
|
252
228
|
var ContextCacheSelectSchema = createSelectSchema(contextCache);
|
|
253
229
|
var ContextCacheInsertSchema = createInsertSchema(contextCache);
|
|
254
230
|
var ContextCacheUpdateSchema = ContextCacheInsertSchema.partial();
|
|
@@ -264,15 +240,9 @@ var DataComponentBaseSchema = DataComponentInsertSchema.omit({
|
|
|
264
240
|
updatedAt: true
|
|
265
241
|
});
|
|
266
242
|
var DataComponentUpdateSchema = DataComponentInsertSchema.partial();
|
|
267
|
-
var DataComponentApiSelectSchema = createApiSchema(
|
|
268
|
-
|
|
269
|
-
).openapi("
|
|
270
|
-
var DataComponentApiInsertSchema = createApiInsertSchema(
|
|
271
|
-
DataComponentInsertSchema
|
|
272
|
-
).openapi("DataComponentCreate");
|
|
273
|
-
var DataComponentApiUpdateSchema = createApiUpdateSchema(
|
|
274
|
-
DataComponentUpdateSchema
|
|
275
|
-
).openapi("DataComponentUpdate");
|
|
243
|
+
var DataComponentApiSelectSchema = createApiSchema(DataComponentSelectSchema).openapi("DataComponent");
|
|
244
|
+
var DataComponentApiInsertSchema = createApiInsertSchema(DataComponentInsertSchema).openapi("DataComponentCreate");
|
|
245
|
+
var DataComponentApiUpdateSchema = createApiUpdateSchema(DataComponentUpdateSchema).openapi("DataComponentUpdate");
|
|
276
246
|
var SubAgentDataComponentSelectSchema = createSelectSchema(subAgentDataComponents);
|
|
277
247
|
var SubAgentDataComponentInsertSchema = createInsertSchema(subAgentDataComponents);
|
|
278
248
|
var SubAgentDataComponentUpdateSchema = SubAgentDataComponentInsertSchema.partial();
|
|
@@ -334,15 +304,9 @@ var ExternalAgentInsertSchema = createInsertSchema(externalAgents).extend({
|
|
|
334
304
|
id: resourceIdSchema
|
|
335
305
|
});
|
|
336
306
|
var ExternalAgentUpdateSchema = ExternalAgentInsertSchema.partial();
|
|
337
|
-
var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(
|
|
338
|
-
|
|
339
|
-
).openapi("
|
|
340
|
-
var ExternalAgentApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
341
|
-
ExternalAgentInsertSchema
|
|
342
|
-
).openapi("ExternalAgentCreate");
|
|
343
|
-
var ExternalAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(
|
|
344
|
-
ExternalAgentUpdateSchema
|
|
345
|
-
).openapi("ExternalAgentUpdate");
|
|
307
|
+
var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(ExternalAgentSelectSchema).openapi("ExternalAgent");
|
|
308
|
+
var ExternalAgentApiInsertSchema = createAgentScopedApiInsertSchema(ExternalAgentInsertSchema).openapi("ExternalAgentCreate");
|
|
309
|
+
var ExternalAgentApiUpdateSchema = createAgentScopedApiUpdateSchema(ExternalAgentUpdateSchema).openapi("ExternalAgentUpdate");
|
|
346
310
|
var AllAgentSchema = z.discriminatedUnion("type", [
|
|
347
311
|
SubAgentApiSelectSchema.extend({ type: z.literal("internal") }),
|
|
348
312
|
ExternalAgentApiSelectSchema.extend({ type: z.literal("external") })
|
|
@@ -405,9 +369,7 @@ var CredentialReferenceInsertSchema = createInsertSchema(credentialReferences).e
|
|
|
405
369
|
retrievalParams: z.record(z.string(), z.unknown()).nullish()
|
|
406
370
|
});
|
|
407
371
|
var CredentialReferenceUpdateSchema = CredentialReferenceInsertSchema.partial();
|
|
408
|
-
var CredentialReferenceApiSelectSchema = createApiSchema(
|
|
409
|
-
CredentialReferenceSelectSchema
|
|
410
|
-
).extend({
|
|
372
|
+
var CredentialReferenceApiSelectSchema = createApiSchema(CredentialReferenceSelectSchema).extend({
|
|
411
373
|
type: z.enum(CredentialStoreType),
|
|
412
374
|
tools: z.array(ToolSelectSchema).optional()
|
|
413
375
|
}).openapi("CredentialReference");
|
|
@@ -457,27 +419,17 @@ var FunctionToolInsertSchema = createInsertSchema(functionTools).extend({
|
|
|
457
419
|
id: resourceIdSchema
|
|
458
420
|
});
|
|
459
421
|
var FunctionToolUpdateSchema = FunctionToolInsertSchema.partial();
|
|
460
|
-
var FunctionToolApiSelectSchema = createApiSchema(FunctionToolSelectSchema).openapi(
|
|
461
|
-
|
|
462
|
-
);
|
|
463
|
-
var FunctionToolApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
464
|
-
FunctionToolInsertSchema
|
|
465
|
-
).openapi("FunctionToolCreate");
|
|
466
|
-
var FunctionToolApiUpdateSchema = createApiUpdateSchema(
|
|
467
|
-
FunctionToolUpdateSchema
|
|
468
|
-
).openapi("FunctionToolUpdate");
|
|
422
|
+
var FunctionToolApiSelectSchema = createApiSchema(FunctionToolSelectSchema).openapi("FunctionTool");
|
|
423
|
+
var FunctionToolApiInsertSchema = createAgentScopedApiInsertSchema(FunctionToolInsertSchema).openapi("FunctionToolCreate");
|
|
424
|
+
var FunctionToolApiUpdateSchema = createApiUpdateSchema(FunctionToolUpdateSchema).openapi("FunctionToolUpdate");
|
|
469
425
|
var FunctionSelectSchema = createSelectSchema(functions);
|
|
470
426
|
var FunctionInsertSchema = createInsertSchema(functions).extend({
|
|
471
427
|
id: resourceIdSchema
|
|
472
428
|
});
|
|
473
429
|
var FunctionUpdateSchema = FunctionInsertSchema.partial();
|
|
474
430
|
var FunctionApiSelectSchema = createApiSchema(FunctionSelectSchema).openapi("Function");
|
|
475
|
-
var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema).openapi(
|
|
476
|
-
|
|
477
|
-
);
|
|
478
|
-
var FunctionApiUpdateSchema = createApiUpdateSchema(FunctionUpdateSchema).openapi(
|
|
479
|
-
"FunctionUpdate"
|
|
480
|
-
);
|
|
431
|
+
var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema).openapi("FunctionCreate");
|
|
432
|
+
var FunctionApiUpdateSchema = createApiUpdateSchema(FunctionUpdateSchema).openapi("FunctionUpdate");
|
|
481
433
|
var FetchConfigSchema = z.object({
|
|
482
434
|
url: z.string().min(1, "URL is required"),
|
|
483
435
|
method: z.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional().default("GET"),
|
|
@@ -632,8 +584,7 @@ var RemovedResponseSchema = z.object({
|
|
|
632
584
|
var ProjectSelectSchema = createSelectSchema(projects);
|
|
633
585
|
var ProjectInsertSchema = createInsertSchema(projects).extend({
|
|
634
586
|
models: ProjectModelSchema,
|
|
635
|
-
stopWhen: StopWhenSchema.optional()
|
|
636
|
-
sandboxConfig: SandboxConfigSchema.optional()
|
|
587
|
+
stopWhen: StopWhenSchema.optional()
|
|
637
588
|
}).omit({
|
|
638
589
|
createdAt: true,
|
|
639
590
|
updatedAt: true
|
|
@@ -910,4 +861,4 @@ function validatePropsAsJsonSchema(props) {
|
|
|
910
861
|
}
|
|
911
862
|
}
|
|
912
863
|
|
|
913
|
-
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, 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, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema,
|
|
864
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, 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, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, 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, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema };
|
|
@@ -83,7 +83,6 @@ var projects = sqliteTable(
|
|
|
83
83
|
...uiProperties,
|
|
84
84
|
models: text("models", { mode: "json" }).$type(),
|
|
85
85
|
stopWhen: text("stop_when", { mode: "json" }).$type(),
|
|
86
|
-
sandboxConfig: text("sandbox_config", { mode: "json" }).$type(),
|
|
87
86
|
...timestamps
|
|
88
87
|
},
|
|
89
88
|
(table) => [primaryKey({ columns: [table.tenantId, table.id] })]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-
|
|
1
|
+
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-F3AFTJB7.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var TransferDataSchema = z.object({
|
package/dist/client-exports.cjs
CHANGED
|
@@ -60,7 +60,6 @@ var projects = sqliteCore.sqliteTable(
|
|
|
60
60
|
...uiProperties,
|
|
61
61
|
models: sqliteCore.text("models", { mode: "json" }).$type(),
|
|
62
62
|
stopWhen: sqliteCore.text("stop_when", { mode: "json" }).$type(),
|
|
63
|
-
sandboxConfig: sqliteCore.text("sandbox_config", { mode: "json" }).$type(),
|
|
64
63
|
...timestamps
|
|
65
64
|
},
|
|
66
65
|
(table) => [sqliteCore.primaryKey({ columns: [table.tenantId, table.id] })]
|
|
@@ -899,12 +898,6 @@ var ProjectModelSchema = zodOpenapi.z.object({
|
|
|
899
898
|
structuredOutput: ModelSettingsSchema.optional(),
|
|
900
899
|
summarizer: ModelSettingsSchema.optional()
|
|
901
900
|
}).openapi("ProjectModel");
|
|
902
|
-
var SandboxConfigSchema = zodOpenapi.z.object({
|
|
903
|
-
provider: zodOpenapi.z.enum(["vercel", "local"]),
|
|
904
|
-
runtime: zodOpenapi.z.enum(["node22", "typescript"]),
|
|
905
|
-
timeout: zodOpenapi.z.number().min(1e3).max(3e5).optional(),
|
|
906
|
-
vcpus: zodOpenapi.z.number().min(1).max(8).optional()
|
|
907
|
-
}).openapi("SandboxConfig");
|
|
908
901
|
zodOpenapi.z.object({
|
|
909
902
|
name: zodOpenapi.z.string(),
|
|
910
903
|
description: zodOpenapi.z.string(),
|
|
@@ -924,15 +917,9 @@ var SubAgentInsertSchema = drizzleZod.createInsertSchema(subAgents).extend({
|
|
|
924
917
|
models: ModelSchema.optional()
|
|
925
918
|
});
|
|
926
919
|
var SubAgentUpdateSchema = SubAgentInsertSchema.partial();
|
|
927
|
-
var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema).openapi(
|
|
928
|
-
|
|
929
|
-
);
|
|
930
|
-
var SubAgentApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
931
|
-
SubAgentInsertSchema
|
|
932
|
-
).openapi("SubAgentCreate");
|
|
933
|
-
createAgentScopedApiUpdateSchema(
|
|
934
|
-
SubAgentUpdateSchema
|
|
935
|
-
).openapi("SubAgentUpdate");
|
|
920
|
+
var SubAgentApiSelectSchema = createAgentScopedApiSchema(SubAgentSelectSchema).openapi("SubAgent");
|
|
921
|
+
var SubAgentApiInsertSchema = createAgentScopedApiInsertSchema(SubAgentInsertSchema).openapi("SubAgentCreate");
|
|
922
|
+
createAgentScopedApiUpdateSchema(SubAgentUpdateSchema).openapi("SubAgentUpdate");
|
|
936
923
|
var SubAgentRelationSelectSchema = drizzleZod.createSelectSchema(subAgentRelations);
|
|
937
924
|
var SubAgentRelationInsertSchema = drizzleZod.createInsertSchema(subAgentRelations).extend({
|
|
938
925
|
id: resourceIdSchema,
|
|
@@ -1001,9 +988,7 @@ var AgentApiSelectSchema = createApiSchema(AgentSelectSchema).openapi("Agent");
|
|
|
1001
988
|
var AgentApiInsertSchema = createApiInsertSchema(AgentInsertSchema).extend({
|
|
1002
989
|
id: resourceIdSchema
|
|
1003
990
|
}).openapi("AgentCreate");
|
|
1004
|
-
createApiUpdateSchema(AgentUpdateSchema).openapi(
|
|
1005
|
-
"AgentUpdate"
|
|
1006
|
-
);
|
|
991
|
+
createApiUpdateSchema(AgentUpdateSchema).openapi("AgentUpdate");
|
|
1007
992
|
var TaskSelectSchema = drizzleZod.createSelectSchema(tasks);
|
|
1008
993
|
var TaskInsertSchema = drizzleZod.createInsertSchema(tasks).extend({
|
|
1009
994
|
id: resourceIdSchema,
|
|
@@ -1088,15 +1073,9 @@ var ConversationInsertSchema = drizzleZod.createInsertSchema(conversations).exte
|
|
|
1088
1073
|
contextConfigId: resourceIdSchema.optional()
|
|
1089
1074
|
});
|
|
1090
1075
|
var ConversationUpdateSchema = ConversationInsertSchema.partial();
|
|
1091
|
-
var ConversationApiSelectSchema = createApiSchema(ConversationSelectSchema).openapi(
|
|
1092
|
-
|
|
1093
|
-
);
|
|
1094
|
-
createApiInsertSchema(ConversationInsertSchema).openapi(
|
|
1095
|
-
"ConversationCreate"
|
|
1096
|
-
);
|
|
1097
|
-
createApiUpdateSchema(ConversationUpdateSchema).openapi(
|
|
1098
|
-
"ConversationUpdate"
|
|
1099
|
-
);
|
|
1076
|
+
var ConversationApiSelectSchema = createApiSchema(ConversationSelectSchema).openapi("Conversation");
|
|
1077
|
+
createApiInsertSchema(ConversationInsertSchema).openapi("ConversationCreate");
|
|
1078
|
+
createApiUpdateSchema(ConversationUpdateSchema).openapi("ConversationUpdate");
|
|
1100
1079
|
var MessageSelectSchema = drizzleZod.createSelectSchema(messages);
|
|
1101
1080
|
var MessageInsertSchema = drizzleZod.createInsertSchema(messages).extend({
|
|
1102
1081
|
id: resourceIdSchema,
|
|
@@ -1105,12 +1084,8 @@ var MessageInsertSchema = drizzleZod.createInsertSchema(messages).extend({
|
|
|
1105
1084
|
});
|
|
1106
1085
|
var MessageUpdateSchema = MessageInsertSchema.partial();
|
|
1107
1086
|
var MessageApiSelectSchema = createApiSchema(MessageSelectSchema).openapi("Message");
|
|
1108
|
-
createApiInsertSchema(MessageInsertSchema).openapi(
|
|
1109
|
-
|
|
1110
|
-
);
|
|
1111
|
-
createApiUpdateSchema(MessageUpdateSchema).openapi(
|
|
1112
|
-
"MessageUpdate"
|
|
1113
|
-
);
|
|
1087
|
+
createApiInsertSchema(MessageInsertSchema).openapi("MessageCreate");
|
|
1088
|
+
createApiUpdateSchema(MessageUpdateSchema).openapi("MessageUpdate");
|
|
1114
1089
|
var ContextCacheSelectSchema = drizzleZod.createSelectSchema(contextCache);
|
|
1115
1090
|
var ContextCacheInsertSchema = drizzleZod.createInsertSchema(contextCache);
|
|
1116
1091
|
var ContextCacheUpdateSchema = ContextCacheInsertSchema.partial();
|
|
@@ -1126,15 +1101,9 @@ DataComponentInsertSchema.omit({
|
|
|
1126
1101
|
updatedAt: true
|
|
1127
1102
|
});
|
|
1128
1103
|
var DataComponentUpdateSchema = DataComponentInsertSchema.partial();
|
|
1129
|
-
var DataComponentApiSelectSchema = createApiSchema(
|
|
1130
|
-
|
|
1131
|
-
).openapi("
|
|
1132
|
-
var DataComponentApiInsertSchema = createApiInsertSchema(
|
|
1133
|
-
DataComponentInsertSchema
|
|
1134
|
-
).openapi("DataComponentCreate");
|
|
1135
|
-
createApiUpdateSchema(
|
|
1136
|
-
DataComponentUpdateSchema
|
|
1137
|
-
).openapi("DataComponentUpdate");
|
|
1104
|
+
var DataComponentApiSelectSchema = createApiSchema(DataComponentSelectSchema).openapi("DataComponent");
|
|
1105
|
+
var DataComponentApiInsertSchema = createApiInsertSchema(DataComponentInsertSchema).openapi("DataComponentCreate");
|
|
1106
|
+
createApiUpdateSchema(DataComponentUpdateSchema).openapi("DataComponentUpdate");
|
|
1138
1107
|
var SubAgentDataComponentSelectSchema = drizzleZod.createSelectSchema(subAgentDataComponents);
|
|
1139
1108
|
var SubAgentDataComponentInsertSchema = drizzleZod.createInsertSchema(subAgentDataComponents);
|
|
1140
1109
|
var SubAgentDataComponentUpdateSchema = SubAgentDataComponentInsertSchema.partial();
|
|
@@ -1196,15 +1165,9 @@ var ExternalAgentInsertSchema = drizzleZod.createInsertSchema(externalAgents).ex
|
|
|
1196
1165
|
id: resourceIdSchema
|
|
1197
1166
|
});
|
|
1198
1167
|
var ExternalAgentUpdateSchema = ExternalAgentInsertSchema.partial();
|
|
1199
|
-
var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(
|
|
1200
|
-
|
|
1201
|
-
).openapi("
|
|
1202
|
-
var ExternalAgentApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
1203
|
-
ExternalAgentInsertSchema
|
|
1204
|
-
).openapi("ExternalAgentCreate");
|
|
1205
|
-
createAgentScopedApiUpdateSchema(
|
|
1206
|
-
ExternalAgentUpdateSchema
|
|
1207
|
-
).openapi("ExternalAgentUpdate");
|
|
1168
|
+
var ExternalAgentApiSelectSchema = createAgentScopedApiSchema(ExternalAgentSelectSchema).openapi("ExternalAgent");
|
|
1169
|
+
var ExternalAgentApiInsertSchema = createAgentScopedApiInsertSchema(ExternalAgentInsertSchema).openapi("ExternalAgentCreate");
|
|
1170
|
+
createAgentScopedApiUpdateSchema(ExternalAgentUpdateSchema).openapi("ExternalAgentUpdate");
|
|
1208
1171
|
zodOpenapi.z.discriminatedUnion("type", [
|
|
1209
1172
|
SubAgentApiSelectSchema.extend({ type: zodOpenapi.z.literal("internal") }),
|
|
1210
1173
|
ExternalAgentApiSelectSchema.extend({ type: zodOpenapi.z.literal("external") })
|
|
@@ -1267,9 +1230,7 @@ var CredentialReferenceInsertSchema = drizzleZod.createInsertSchema(credentialRe
|
|
|
1267
1230
|
retrievalParams: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.unknown()).nullish()
|
|
1268
1231
|
});
|
|
1269
1232
|
var CredentialReferenceUpdateSchema = CredentialReferenceInsertSchema.partial();
|
|
1270
|
-
var CredentialReferenceApiSelectSchema = createApiSchema(
|
|
1271
|
-
CredentialReferenceSelectSchema
|
|
1272
|
-
).extend({
|
|
1233
|
+
var CredentialReferenceApiSelectSchema = createApiSchema(CredentialReferenceSelectSchema).extend({
|
|
1273
1234
|
type: zodOpenapi.z.enum(CredentialStoreType),
|
|
1274
1235
|
tools: zodOpenapi.z.array(ToolSelectSchema).optional()
|
|
1275
1236
|
}).openapi("CredentialReference");
|
|
@@ -1319,27 +1280,17 @@ var FunctionToolInsertSchema = drizzleZod.createInsertSchema(functionTools).exte
|
|
|
1319
1280
|
id: resourceIdSchema
|
|
1320
1281
|
});
|
|
1321
1282
|
var FunctionToolUpdateSchema = FunctionToolInsertSchema.partial();
|
|
1322
|
-
var FunctionToolApiSelectSchema = createApiSchema(FunctionToolSelectSchema).openapi(
|
|
1323
|
-
|
|
1324
|
-
);
|
|
1325
|
-
var FunctionToolApiInsertSchema = createAgentScopedApiInsertSchema(
|
|
1326
|
-
FunctionToolInsertSchema
|
|
1327
|
-
).openapi("FunctionToolCreate");
|
|
1328
|
-
createApiUpdateSchema(
|
|
1329
|
-
FunctionToolUpdateSchema
|
|
1330
|
-
).openapi("FunctionToolUpdate");
|
|
1283
|
+
var FunctionToolApiSelectSchema = createApiSchema(FunctionToolSelectSchema).openapi("FunctionTool");
|
|
1284
|
+
var FunctionToolApiInsertSchema = createAgentScopedApiInsertSchema(FunctionToolInsertSchema).openapi("FunctionToolCreate");
|
|
1285
|
+
createApiUpdateSchema(FunctionToolUpdateSchema).openapi("FunctionToolUpdate");
|
|
1331
1286
|
var FunctionSelectSchema = drizzleZod.createSelectSchema(functions);
|
|
1332
1287
|
var FunctionInsertSchema = drizzleZod.createInsertSchema(functions).extend({
|
|
1333
1288
|
id: resourceIdSchema
|
|
1334
1289
|
});
|
|
1335
1290
|
var FunctionUpdateSchema = FunctionInsertSchema.partial();
|
|
1336
1291
|
var FunctionApiSelectSchema = createApiSchema(FunctionSelectSchema).openapi("Function");
|
|
1337
|
-
var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema).openapi(
|
|
1338
|
-
|
|
1339
|
-
);
|
|
1340
|
-
var FunctionApiUpdateSchema = createApiUpdateSchema(FunctionUpdateSchema).openapi(
|
|
1341
|
-
"FunctionUpdate"
|
|
1342
|
-
);
|
|
1292
|
+
var FunctionApiInsertSchema = createApiInsertSchema(FunctionInsertSchema).openapi("FunctionCreate");
|
|
1293
|
+
var FunctionApiUpdateSchema = createApiUpdateSchema(FunctionUpdateSchema).openapi("FunctionUpdate");
|
|
1343
1294
|
var FetchConfigSchema = zodOpenapi.z.object({
|
|
1344
1295
|
url: zodOpenapi.z.string().min(1, "URL is required"),
|
|
1345
1296
|
method: zodOpenapi.z.enum(["GET", "POST", "PUT", "DELETE", "PATCH"]).optional().default("GET"),
|
|
@@ -1487,8 +1438,7 @@ zodOpenapi.z.object({
|
|
|
1487
1438
|
var ProjectSelectSchema = drizzleZod.createSelectSchema(projects);
|
|
1488
1439
|
var ProjectInsertSchema = drizzleZod.createInsertSchema(projects).extend({
|
|
1489
1440
|
models: ProjectModelSchema,
|
|
1490
|
-
stopWhen: StopWhenSchema.optional()
|
|
1491
|
-
sandboxConfig: SandboxConfigSchema.optional()
|
|
1441
|
+
stopWhen: StopWhenSchema.optional()
|
|
1492
1442
|
}).omit({
|
|
1493
1443
|
createdAt: true,
|
|
1494
1444
|
updatedAt: true
|
|
@@ -2262,7 +2212,6 @@ exports.QUERY_TYPES = QUERY_TYPES;
|
|
|
2262
2212
|
exports.REDUCE_OPERATIONS = REDUCE_OPERATIONS;
|
|
2263
2213
|
exports.SPAN_KEYS = SPAN_KEYS;
|
|
2264
2214
|
exports.SPAN_NAMES = SPAN_NAMES;
|
|
2265
|
-
exports.SandboxConfigSchema = SandboxConfigSchema;
|
|
2266
2215
|
exports.SingleResponseSchema = SingleResponseSchema;
|
|
2267
2216
|
exports.StopWhenSchema = StopWhenSchema;
|
|
2268
2217
|
exports.SubAgentStopWhenSchema = SubAgentStopWhenSchema;
|
|
@@ -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-Bqpkx5sK.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,
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-DmLVF565.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, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-DmLVF565.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-Bqpkx5sK.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,
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-DmLVF565.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, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-DmLVF565.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-QFIITHNT.js';
|
|
2
|
-
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-
|
|
3
|
-
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema,
|
|
2
|
+
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-F3AFTJB7.js';
|
|
3
|
+
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-F3AFTJB7.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.cjs
CHANGED
|
@@ -35,7 +35,6 @@ var projects = sqliteCore.sqliteTable(
|
|
|
35
35
|
...uiProperties,
|
|
36
36
|
models: sqliteCore.text("models", { mode: "json" }).$type(),
|
|
37
37
|
stopWhen: sqliteCore.text("stop_when", { mode: "json" }).$type(),
|
|
38
|
-
sandboxConfig: sqliteCore.text("sandbox_config", { mode: "json" }).$type(),
|
|
39
38
|
...timestamps
|
|
40
39
|
},
|
|
41
40
|
(table) => [sqliteCore.primaryKey({ columns: [table.tenantId, table.id] })]
|
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 { 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, q as subAgentFunctionToolRelations, U as subAgentFunctionToolRelationsRelations, 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-DmLVF565.cjs';
|
|
4
|
+
export { 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, q as subAgentFunctionToolRelations, U as subAgentFunctionToolRelationsRelations, 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-lnJ7dKE3.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 { 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, q as subAgentFunctionToolRelations, U as subAgentFunctionToolRelationsRelations, 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-DmLVF565.js';
|
|
4
|
+
export { 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, q as subAgentFunctionToolRelations, U as subAgentFunctionToolRelationsRelations, 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-9o975__r.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|
package/dist/db/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-
|
|
1
|
+
export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-PR3DDXVU.js';
|