@inkeep/agents-core 0.0.0-dev-20250911192304 → 0.0.0-dev-20250911210702
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-355CYJ6K.js → chunk-M4JXMAG7.js} +1 -0
- package/dist/{chunk-DIBIH44H.js → chunk-PXIJWVD4.js} +4 -2
- package/dist/client-exports.d.cts +1 -1
- package/dist/client-exports.d.ts +1 -1
- package/dist/db/schema.cjs +1 -0
- 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/{entities-B59eRwT_.d.cts → entities-Cl_yssfC.d.cts} +27 -0
- package/dist/{entities-B59eRwT_.d.ts → entities-Cl_yssfC.d.ts} +27 -0
- package/dist/index.cjs +118 -185
- package/dist/index.d.cts +27 -21
- package/dist/index.d.ts +27 -21
- package/dist/index.js +117 -161
- package/dist/{schema-B3zZJ85n.d.ts → schema-Baa5JhqR.d.ts} +20 -1
- package/dist/{schema-CzRwwW8E.d.cts → schema-BflhLoiw.d.cts} +20 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.cjs +4 -1
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +1 -1
- package/package.json +1 -1
|
@@ -377,6 +377,7 @@ var agentToolRelations = sqliteTable(
|
|
|
377
377
|
id: text("id").notNull(),
|
|
378
378
|
agentId: text("agent_id").notNull(),
|
|
379
379
|
toolId: text("tool_id").notNull(),
|
|
380
|
+
selectedTools: blob("selected_tools", { mode: "json" }).$type(),
|
|
380
381
|
createdAt: text("created_at").notNull().default(sql`CURRENT_TIMESTAMP`),
|
|
381
382
|
updatedAt: text("updated_at").notNull().default(sql`CURRENT_TIMESTAMP`)
|
|
382
383
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { agents, agentRelations, agentGraph, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, agentDataComponents, artifactComponents, agentArtifactComponents, externalAgents, apiKeys, contextConfigs, agentToolRelations, ledgerArtifacts, projects } from './chunk-
|
|
1
|
+
import { agents, agentRelations, agentGraph, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, agentDataComponents, artifactComponents, agentArtifactComponents, externalAgents, apiKeys, contextConfigs, agentToolRelations, ledgerArtifacts, projects } from './chunk-M4JXMAG7.js';
|
|
2
2
|
import { VALID_RELATION_TYPES, MCPTransportType, TOOL_STATUS_VALUES, CredentialStoreType, MCPServerType } from './chunk-SVGQSPW4.js';
|
|
3
3
|
import { z } from '@hono/zod-openapi';
|
|
4
4
|
import { createSelectSchema, createInsertSchema } from 'drizzle-zod';
|
|
@@ -404,7 +404,8 @@ var AgentToolRelationSelectSchema = createSelectSchema(agentToolRelations);
|
|
|
404
404
|
var AgentToolRelationInsertSchema = createInsertSchema(agentToolRelations).extend({
|
|
405
405
|
id: resourceIdSchema,
|
|
406
406
|
agentId: resourceIdSchema,
|
|
407
|
-
toolId: resourceIdSchema
|
|
407
|
+
toolId: resourceIdSchema,
|
|
408
|
+
selectedTools: z.array(z.string()).nullish()
|
|
408
409
|
});
|
|
409
410
|
var AgentToolRelationUpdateSchema = AgentToolRelationInsertSchema.partial();
|
|
410
411
|
var AgentToolRelationApiSelectSchema = createApiSchema(AgentToolRelationSelectSchema);
|
|
@@ -438,6 +439,7 @@ var StatusUpdateSchema = z.object({
|
|
|
438
439
|
});
|
|
439
440
|
var FullGraphAgentInsertSchema = AgentApiInsertSchema.extend({
|
|
440
441
|
tools: z.array(z.string()),
|
|
442
|
+
selectedTools: z.record(z.string(), z.array(z.string())).optional(),
|
|
441
443
|
dataComponents: z.array(z.string()).optional(),
|
|
442
444
|
artifactComponents: z.array(z.string()).optional(),
|
|
443
445
|
canTransferTo: z.array(z.string()).optional(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export { C as CredentialStoreType, M as MCPTransportType } from './entities-
|
|
2
|
+
export { C as CredentialStoreType, M as MCPTransportType } from './entities-Cl_yssfC.cjs';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
5
5
|
import '@hono/zod-openapi';
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export { C as CredentialStoreType, M as MCPTransportType } from './entities-
|
|
2
|
+
export { C as CredentialStoreType, M as MCPTransportType } from './entities-Cl_yssfC.js';
|
|
3
3
|
import 'drizzle-zod';
|
|
4
4
|
import 'drizzle-orm/sqlite-core';
|
|
5
5
|
import '@hono/zod-openapi';
|
package/dist/db/schema.cjs
CHANGED
|
@@ -335,6 +335,7 @@ var agentToolRelations = sqliteCore.sqliteTable(
|
|
|
335
335
|
id: sqliteCore.text("id").notNull(),
|
|
336
336
|
agentId: sqliteCore.text("agent_id").notNull(),
|
|
337
337
|
toolId: sqliteCore.text("tool_id").notNull(),
|
|
338
|
+
selectedTools: sqliteCore.blob("selected_tools", { mode: "json" }).$type(),
|
|
338
339
|
createdAt: sqliteCore.text("created_at").notNull().default(drizzleOrm.sql`CURRENT_TIMESTAMP`),
|
|
339
340
|
updatedAt: sqliteCore.text("updated_at").notNull().default(drizzleOrm.sql`CURRENT_TIMESTAMP`)
|
|
340
341
|
},
|
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 '../entities-
|
|
4
|
-
export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-
|
|
3
|
+
import '../entities-Cl_yssfC.cjs';
|
|
4
|
+
export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-BflhLoiw.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 '../entities-
|
|
4
|
-
export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-
|
|
3
|
+
import '../entities-Cl_yssfC.js';
|
|
4
|
+
export { k as agentArtifactComponents, N as agentArtifactComponentsRelations, i as agentDataComponents, f as agentGraph, E as agentGraphRelations, d as agentRelations, O as agentRelationsRelations, m as agentToolRelations, H as agentToolRelationsRelations, b as agents, D as agentsRelations, r as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, a as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, n as conversations, K as conversationsRelations, u as credentialReferences, I as credentialReferencesRelations, h as dataComponents, e as externalAgents, F as externalAgentsRelations, q as ledgerArtifacts, w as ledgerArtifactsContextIdIdx, x as ledgerArtifactsTaskContextNameUnique, v as ledgerArtifactsTaskIdIdx, o as messages, L as messagesRelations, p as projects, z as projectsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-Baa5JhqR.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 { agentArtifactComponents, agentArtifactComponentsRelations, agentDataComponents, agentGraph, agentGraphRelations, agentRelations, agentRelationsRelations, agentToolRelations, agentToolRelationsRelations, agents, agentsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, externalAgents, externalAgentsRelations, ledgerArtifacts, ledgerArtifactsContextIdIdx, ledgerArtifactsTaskContextNameUnique, ledgerArtifactsTaskIdIdx, messages, messagesRelations, projects, projectsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-
|
|
1
|
+
export { agentArtifactComponents, agentArtifactComponentsRelations, agentDataComponents, agentGraph, agentGraphRelations, agentRelations, agentRelationsRelations, agentToolRelations, agentToolRelationsRelations, agents, agentsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, externalAgents, externalAgentsRelations, ledgerArtifacts, ledgerArtifactsContextIdIdx, ledgerArtifactsTaskContextNameUnique, ledgerArtifactsTaskIdIdx, messages, messagesRelations, projects, projectsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-M4JXMAG7.js';
|
|
@@ -6197,6 +6197,25 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6197
6197
|
}, {}, {
|
|
6198
6198
|
length: number | undefined;
|
|
6199
6199
|
}>;
|
|
6200
|
+
selectedTools: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6201
|
+
name: "selected_tools";
|
|
6202
|
+
tableName: "agent_tool_relations";
|
|
6203
|
+
dataType: "json";
|
|
6204
|
+
columnType: "SQLiteBlobJson";
|
|
6205
|
+
data: string[] | null;
|
|
6206
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
6207
|
+
notNull: false;
|
|
6208
|
+
hasDefault: false;
|
|
6209
|
+
isPrimaryKey: false;
|
|
6210
|
+
isAutoincrement: false;
|
|
6211
|
+
hasRuntimeDefault: false;
|
|
6212
|
+
enumValues: undefined;
|
|
6213
|
+
baseColumn: never;
|
|
6214
|
+
identity: undefined;
|
|
6215
|
+
generated: undefined;
|
|
6216
|
+
}, {}, {
|
|
6217
|
+
$type: string[] | null;
|
|
6218
|
+
}>;
|
|
6200
6219
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6201
6220
|
name: "created_at";
|
|
6202
6221
|
tableName: "agent_tool_relations";
|
|
@@ -6244,6 +6263,7 @@ declare const AgentToolRelationInsertSchema: z$1.ZodObject<{
|
|
|
6244
6263
|
id: z$1.ZodString;
|
|
6245
6264
|
agentId: z$1.ZodString;
|
|
6246
6265
|
toolId: z$1.ZodString;
|
|
6266
|
+
selectedTools: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
6247
6267
|
}, {
|
|
6248
6268
|
out: {};
|
|
6249
6269
|
in: {};
|
|
@@ -6256,6 +6276,7 @@ declare const AgentToolRelationUpdateSchema: z$1.ZodObject<{
|
|
|
6256
6276
|
id: z$1.ZodOptional<z$1.ZodString>;
|
|
6257
6277
|
agentId: z$1.ZodOptional<z$1.ZodString>;
|
|
6258
6278
|
toolId: z$1.ZodOptional<z$1.ZodString>;
|
|
6279
|
+
selectedTools: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>>;
|
|
6259
6280
|
}, {
|
|
6260
6281
|
out: {};
|
|
6261
6282
|
in: {};
|
|
@@ -6264,6 +6285,7 @@ declare const AgentToolRelationApiSelectSchema: z$1.ZodObject<{
|
|
|
6264
6285
|
id: z$1.ZodString;
|
|
6265
6286
|
createdAt: z$1.ZodString;
|
|
6266
6287
|
updatedAt: z$1.ZodString;
|
|
6288
|
+
selectedTools: z$1.ZodNullable<z$1.ZodType<drizzle_zod.Json, unknown, z$1.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
6267
6289
|
agentId: z$1.ZodString;
|
|
6268
6290
|
toolId: z$1.ZodString;
|
|
6269
6291
|
}, z$1.core.$strip>;
|
|
@@ -6271,6 +6293,7 @@ declare const AgentToolRelationApiInsertSchema: z$1.ZodObject<{
|
|
|
6271
6293
|
id: z$1.ZodString;
|
|
6272
6294
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
6273
6295
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
6296
|
+
selectedTools: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
6274
6297
|
agentId: z$1.ZodString;
|
|
6275
6298
|
toolId: z$1.ZodString;
|
|
6276
6299
|
}, z$1.core.$strip>;
|
|
@@ -6278,6 +6301,7 @@ declare const AgentToolRelationApiUpdateSchema: z$1.ZodObject<{
|
|
|
6278
6301
|
id: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
|
|
6279
6302
|
createdAt: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>>;
|
|
6280
6303
|
updatedAt: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>>;
|
|
6304
|
+
selectedTools: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>>>;
|
|
6281
6305
|
agentId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
|
|
6282
6306
|
toolId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
|
|
6283
6307
|
}, z$1.core.$strip>;
|
|
@@ -7060,6 +7084,7 @@ declare const FullGraphAgentInsertSchema: z$1.ZodObject<{
|
|
|
7060
7084
|
}>>>>;
|
|
7061
7085
|
conversationHistoryConfig: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z$1.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
7062
7086
|
tools: z$1.ZodArray<z$1.ZodString>;
|
|
7087
|
+
selectedTools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodArray<z$1.ZodString>>>;
|
|
7063
7088
|
dataComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7064
7089
|
artifactComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7065
7090
|
canTransferTo: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -7105,6 +7130,7 @@ declare const FullGraphDefinitionSchema: z$1.ZodObject<{
|
|
|
7105
7130
|
}>>>>;
|
|
7106
7131
|
conversationHistoryConfig: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z$1.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
7107
7132
|
tools: z$1.ZodArray<z$1.ZodString>;
|
|
7133
|
+
selectedTools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodArray<z$1.ZodString>>>;
|
|
7108
7134
|
dataComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7109
7135
|
artifactComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7110
7136
|
canTransferTo: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -7846,6 +7872,7 @@ type FullGraphDefinition = z.infer<typeof FullGraphDefinitionSchema>;
|
|
|
7846
7872
|
type FullGraphAgentInsert = z.infer<typeof FullGraphAgentInsertSchema>;
|
|
7847
7873
|
type InternalAgentDefinition = z.infer<typeof AgentApiInsertSchema> & {
|
|
7848
7874
|
tools: string[];
|
|
7875
|
+
selectedTools?: Record<string, string[]>;
|
|
7849
7876
|
dataComponents?: string[];
|
|
7850
7877
|
artifactComponents?: string[];
|
|
7851
7878
|
canTransferTo?: string[];
|
|
@@ -6197,6 +6197,25 @@ declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6197
6197
|
}, {}, {
|
|
6198
6198
|
length: number | undefined;
|
|
6199
6199
|
}>;
|
|
6200
|
+
selectedTools: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6201
|
+
name: "selected_tools";
|
|
6202
|
+
tableName: "agent_tool_relations";
|
|
6203
|
+
dataType: "json";
|
|
6204
|
+
columnType: "SQLiteBlobJson";
|
|
6205
|
+
data: string[] | null;
|
|
6206
|
+
driverParam: Buffer<ArrayBufferLike>;
|
|
6207
|
+
notNull: false;
|
|
6208
|
+
hasDefault: false;
|
|
6209
|
+
isPrimaryKey: false;
|
|
6210
|
+
isAutoincrement: false;
|
|
6211
|
+
hasRuntimeDefault: false;
|
|
6212
|
+
enumValues: undefined;
|
|
6213
|
+
baseColumn: never;
|
|
6214
|
+
identity: undefined;
|
|
6215
|
+
generated: undefined;
|
|
6216
|
+
}, {}, {
|
|
6217
|
+
$type: string[] | null;
|
|
6218
|
+
}>;
|
|
6200
6219
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6201
6220
|
name: "created_at";
|
|
6202
6221
|
tableName: "agent_tool_relations";
|
|
@@ -6244,6 +6263,7 @@ declare const AgentToolRelationInsertSchema: z$1.ZodObject<{
|
|
|
6244
6263
|
id: z$1.ZodString;
|
|
6245
6264
|
agentId: z$1.ZodString;
|
|
6246
6265
|
toolId: z$1.ZodString;
|
|
6266
|
+
selectedTools: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
6247
6267
|
}, {
|
|
6248
6268
|
out: {};
|
|
6249
6269
|
in: {};
|
|
@@ -6256,6 +6276,7 @@ declare const AgentToolRelationUpdateSchema: z$1.ZodObject<{
|
|
|
6256
6276
|
id: z$1.ZodOptional<z$1.ZodString>;
|
|
6257
6277
|
agentId: z$1.ZodOptional<z$1.ZodString>;
|
|
6258
6278
|
toolId: z$1.ZodOptional<z$1.ZodString>;
|
|
6279
|
+
selectedTools: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>>;
|
|
6259
6280
|
}, {
|
|
6260
6281
|
out: {};
|
|
6261
6282
|
in: {};
|
|
@@ -6264,6 +6285,7 @@ declare const AgentToolRelationApiSelectSchema: z$1.ZodObject<{
|
|
|
6264
6285
|
id: z$1.ZodString;
|
|
6265
6286
|
createdAt: z$1.ZodString;
|
|
6266
6287
|
updatedAt: z$1.ZodString;
|
|
6288
|
+
selectedTools: z$1.ZodNullable<z$1.ZodType<drizzle_zod.Json, unknown, z$1.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
6267
6289
|
agentId: z$1.ZodString;
|
|
6268
6290
|
toolId: z$1.ZodString;
|
|
6269
6291
|
}, z$1.core.$strip>;
|
|
@@ -6271,6 +6293,7 @@ declare const AgentToolRelationApiInsertSchema: z$1.ZodObject<{
|
|
|
6271
6293
|
id: z$1.ZodString;
|
|
6272
6294
|
createdAt: z$1.ZodOptional<z$1.ZodString>;
|
|
6273
6295
|
updatedAt: z$1.ZodOptional<z$1.ZodString>;
|
|
6296
|
+
selectedTools: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
6274
6297
|
agentId: z$1.ZodString;
|
|
6275
6298
|
toolId: z$1.ZodString;
|
|
6276
6299
|
}, z$1.core.$strip>;
|
|
@@ -6278,6 +6301,7 @@ declare const AgentToolRelationApiUpdateSchema: z$1.ZodObject<{
|
|
|
6278
6301
|
id: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
|
|
6279
6302
|
createdAt: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>>;
|
|
6280
6303
|
updatedAt: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>>;
|
|
6304
|
+
selectedTools: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>>>;
|
|
6281
6305
|
agentId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
|
|
6282
6306
|
toolId: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
|
|
6283
6307
|
}, z$1.core.$strip>;
|
|
@@ -7060,6 +7084,7 @@ declare const FullGraphAgentInsertSchema: z$1.ZodObject<{
|
|
|
7060
7084
|
}>>>>;
|
|
7061
7085
|
conversationHistoryConfig: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z$1.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
7062
7086
|
tools: z$1.ZodArray<z$1.ZodString>;
|
|
7087
|
+
selectedTools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodArray<z$1.ZodString>>>;
|
|
7063
7088
|
dataComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7064
7089
|
artifactComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7065
7090
|
canTransferTo: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -7105,6 +7130,7 @@ declare const FullGraphDefinitionSchema: z$1.ZodObject<{
|
|
|
7105
7130
|
}>>>>;
|
|
7106
7131
|
conversationHistoryConfig: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z$1.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
7107
7132
|
tools: z$1.ZodArray<z$1.ZodString>;
|
|
7133
|
+
selectedTools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodArray<z$1.ZodString>>>;
|
|
7108
7134
|
dataComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7109
7135
|
artifactComponents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
7110
7136
|
canTransferTo: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -7846,6 +7872,7 @@ type FullGraphDefinition = z.infer<typeof FullGraphDefinitionSchema>;
|
|
|
7846
7872
|
type FullGraphAgentInsert = z.infer<typeof FullGraphAgentInsertSchema>;
|
|
7847
7873
|
type InternalAgentDefinition = z.infer<typeof AgentApiInsertSchema> & {
|
|
7848
7874
|
tools: string[];
|
|
7875
|
+
selectedTools?: Record<string, string[]>;
|
|
7849
7876
|
dataComponents?: string[];
|
|
7850
7877
|
artifactComponents?: string[];
|
|
7851
7878
|
canTransferTo?: string[];
|