@inkeep/agents-core 0.0.0-dev-20260102022857 → 0.0.0-dev-20260105194521
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/constants/otel-attributes.d.ts +2 -0
- package/dist/constants/otel-attributes.js +4 -2
- package/dist/constants/signoz-queries.d.ts +1 -0
- package/dist/constants/signoz-queries.js +2 -1
- package/dist/data-access/agents.d.ts +31 -31
- package/dist/data-access/apiKeys.d.ts +8 -8
- package/dist/data-access/artifactComponents.d.ts +6 -6
- package/dist/data-access/contextConfigs.d.ts +12 -12
- package/dist/data-access/conversations.d.ts +4 -4
- package/dist/data-access/dataComponents.d.ts +4 -4
- package/dist/data-access/functionTools.d.ts +4 -4
- package/dist/data-access/ledgerArtifacts.d.ts +4 -2
- package/dist/data-access/ledgerArtifacts.js +10 -6
- package/dist/data-access/messages.d.ts +9 -9
- package/dist/data-access/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/subAgentRelations.d.ts +16 -16
- package/dist/data-access/subAgentTeamAgentRelations.d.ts +12 -12
- package/dist/data-access/subAgents.d.ts +9 -9
- package/dist/data-access/tasks.d.ts +2 -2
- package/dist/data-access/tools.d.ts +9 -9
- package/dist/types/a2a.d.ts +1 -0
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +192 -192
- package/package.json +1 -1
|
@@ -11,9 +11,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
11
11
|
id: string;
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
agentId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
17
|
sourceSubAgentId: string;
|
|
18
18
|
targetSubAgentId: string | null;
|
|
19
19
|
relationType: string | null;
|
|
@@ -46,9 +46,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
46
46
|
id: string;
|
|
47
47
|
createdAt: string;
|
|
48
48
|
updatedAt: string;
|
|
49
|
-
tenantId: string;
|
|
50
|
-
projectId: string;
|
|
51
49
|
agentId: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
tenantId: string;
|
|
52
52
|
sourceSubAgentId: string;
|
|
53
53
|
targetSubAgentId: string | null;
|
|
54
54
|
relationType: string | null;
|
|
@@ -59,9 +59,9 @@ declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
|
59
59
|
id: string;
|
|
60
60
|
createdAt: string;
|
|
61
61
|
updatedAt: string;
|
|
62
|
-
tenantId: string;
|
|
63
|
-
projectId: string;
|
|
64
62
|
agentId: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
tenantId: string;
|
|
65
65
|
sourceSubAgentId: string;
|
|
66
66
|
targetSubAgentId: string | null;
|
|
67
67
|
relationType: string | null;
|
|
@@ -128,9 +128,9 @@ declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
|
|
|
128
128
|
id: string;
|
|
129
129
|
createdAt: string;
|
|
130
130
|
updatedAt: string;
|
|
131
|
-
tenantId: string;
|
|
132
|
-
projectId: string;
|
|
133
131
|
agentId: string;
|
|
132
|
+
projectId: string;
|
|
133
|
+
tenantId: string;
|
|
134
134
|
sourceSubAgentId: string;
|
|
135
135
|
targetSubAgentId: string | null;
|
|
136
136
|
relationType: string | null;
|
|
@@ -147,9 +147,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
147
147
|
id: string;
|
|
148
148
|
createdAt: string;
|
|
149
149
|
updatedAt: string;
|
|
150
|
-
tenantId: string;
|
|
151
|
-
projectId: string;
|
|
152
150
|
agentId: string;
|
|
151
|
+
projectId: string;
|
|
152
|
+
tenantId: string;
|
|
153
153
|
sourceSubAgentId: string;
|
|
154
154
|
targetSubAgentId: string | null;
|
|
155
155
|
relationType: string | null;
|
|
@@ -161,9 +161,9 @@ declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
|
|
|
161
161
|
id: string;
|
|
162
162
|
createdAt: string;
|
|
163
163
|
updatedAt: string;
|
|
164
|
-
tenantId: string;
|
|
165
|
-
projectId: string;
|
|
166
164
|
agentId: string;
|
|
165
|
+
projectId: string;
|
|
166
|
+
tenantId: string;
|
|
167
167
|
sourceSubAgentId: string;
|
|
168
168
|
targetSubAgentId: string | null;
|
|
169
169
|
relationType: string | null;
|
|
@@ -207,9 +207,9 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
207
207
|
createdAt: string;
|
|
208
208
|
updatedAt: string;
|
|
209
209
|
headers: Record<string, string> | null;
|
|
210
|
-
tenantId: string;
|
|
211
|
-
projectId: string;
|
|
212
210
|
agentId: string;
|
|
211
|
+
projectId: string;
|
|
212
|
+
tenantId: string;
|
|
213
213
|
toolId: string;
|
|
214
214
|
toolPolicies: Record<string, {
|
|
215
215
|
needsApproval?: boolean;
|
|
@@ -251,9 +251,9 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
251
251
|
createdAt: string;
|
|
252
252
|
updatedAt: string;
|
|
253
253
|
headers: Record<string, string> | null;
|
|
254
|
-
tenantId: string;
|
|
255
|
-
projectId: string;
|
|
256
254
|
agentId: string;
|
|
255
|
+
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
257
257
|
toolId: string;
|
|
258
258
|
toolPolicies: Record<string, {
|
|
259
259
|
needsApproval?: boolean;
|
|
@@ -12,9 +12,9 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
14
14
|
headers: Record<string, string> | null;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
15
|
agentId: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
targetAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
@@ -47,9 +47,9 @@ declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
47
47
|
createdAt: string;
|
|
48
48
|
updatedAt: string;
|
|
49
49
|
headers: Record<string, string> | null;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
50
|
agentId: string;
|
|
51
|
+
projectId: string;
|
|
52
|
+
tenantId: string;
|
|
53
53
|
subAgentId: string;
|
|
54
54
|
targetAgentId: string;
|
|
55
55
|
}[]>;
|
|
@@ -60,9 +60,9 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (par
|
|
|
60
60
|
createdAt: string;
|
|
61
61
|
updatedAt: string;
|
|
62
62
|
headers: Record<string, string> | null;
|
|
63
|
-
tenantId: string;
|
|
64
|
-
projectId: string;
|
|
65
63
|
agentId: string;
|
|
64
|
+
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
66
66
|
subAgentId: string;
|
|
67
67
|
targetAgentId: string;
|
|
68
68
|
}[]>;
|
|
@@ -213,9 +213,9 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
213
213
|
createdAt: string;
|
|
214
214
|
updatedAt: string;
|
|
215
215
|
headers: Record<string, string> | null;
|
|
216
|
-
tenantId: string;
|
|
217
|
-
projectId: string;
|
|
218
216
|
agentId: string;
|
|
217
|
+
projectId: string;
|
|
218
|
+
tenantId: string;
|
|
219
219
|
subAgentId: string;
|
|
220
220
|
targetAgentId: string;
|
|
221
221
|
}>;
|
|
@@ -230,9 +230,9 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
230
230
|
createdAt: string;
|
|
231
231
|
updatedAt: string;
|
|
232
232
|
headers: Record<string, string> | null;
|
|
233
|
-
tenantId: string;
|
|
234
|
-
projectId: string;
|
|
235
233
|
agentId: string;
|
|
234
|
+
projectId: string;
|
|
235
|
+
tenantId: string;
|
|
236
236
|
subAgentId: string;
|
|
237
237
|
targetAgentId: string;
|
|
238
238
|
} | undefined>;
|
|
@@ -251,9 +251,9 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
251
251
|
createdAt: string;
|
|
252
252
|
updatedAt: string;
|
|
253
253
|
headers: Record<string, string> | null;
|
|
254
|
-
tenantId: string;
|
|
255
|
-
projectId: string;
|
|
256
254
|
agentId: string;
|
|
255
|
+
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
257
257
|
subAgentId: string;
|
|
258
258
|
targetAgentId: string;
|
|
259
259
|
}>;
|
|
@@ -13,10 +13,9 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
description: string | null;
|
|
16
|
-
tenantId: string;
|
|
17
|
-
projectId: string;
|
|
18
|
-
prompt: string | null;
|
|
19
16
|
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
20
19
|
models: {
|
|
21
20
|
base?: {
|
|
22
21
|
model?: string | undefined;
|
|
@@ -31,6 +30,7 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
31
30
|
providerOptions?: Record<string, any> | undefined;
|
|
32
31
|
} | undefined;
|
|
33
32
|
} | null;
|
|
33
|
+
prompt: string | null;
|
|
34
34
|
stopWhen: {
|
|
35
35
|
stepCountIs?: number | undefined;
|
|
36
36
|
} | null;
|
|
@@ -44,10 +44,9 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
46
|
description: string | null;
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
|
-
prompt: string | null;
|
|
50
47
|
agentId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
51
50
|
models: {
|
|
52
51
|
base?: {
|
|
53
52
|
model?: string | undefined;
|
|
@@ -62,6 +61,7 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
62
61
|
providerOptions?: Record<string, any> | undefined;
|
|
63
62
|
} | undefined;
|
|
64
63
|
} | null;
|
|
64
|
+
prompt: string | null;
|
|
65
65
|
stopWhen: {
|
|
66
66
|
stepCountIs?: number | undefined;
|
|
67
67
|
} | null;
|
|
@@ -113,10 +113,9 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
113
113
|
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
115
115
|
description: string | null;
|
|
116
|
-
tenantId: string;
|
|
117
|
-
projectId: string;
|
|
118
|
-
prompt: string | null;
|
|
119
116
|
agentId: string;
|
|
117
|
+
projectId: string;
|
|
118
|
+
tenantId: string;
|
|
120
119
|
models: {
|
|
121
120
|
base?: {
|
|
122
121
|
model?: string | undefined;
|
|
@@ -131,6 +130,7 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
131
130
|
providerOptions?: Record<string, any> | undefined;
|
|
132
131
|
} | undefined;
|
|
133
132
|
} | null;
|
|
133
|
+
prompt: string | null;
|
|
134
134
|
stopWhen: {
|
|
135
135
|
stepCountIs?: number | undefined;
|
|
136
136
|
} | null;
|
|
@@ -11,9 +11,9 @@ declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promis
|
|
|
11
11
|
updatedAt: string;
|
|
12
12
|
metadata: TaskMetadataConfig | null;
|
|
13
13
|
status: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
agentId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
17
|
contextId: string;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
}>;
|
|
@@ -18,8 +18,8 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
18
18
|
updatedAt: string;
|
|
19
19
|
description: string | null;
|
|
20
20
|
headers: Record<string, string> | null;
|
|
21
|
-
tenantId: string;
|
|
22
21
|
projectId: string;
|
|
22
|
+
tenantId: string;
|
|
23
23
|
config: {
|
|
24
24
|
type: "mcp";
|
|
25
25
|
mcp: ToolMcpConfig;
|
|
@@ -67,8 +67,8 @@ declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promis
|
|
|
67
67
|
updatedAt: string;
|
|
68
68
|
description: string | null;
|
|
69
69
|
headers: Record<string, string> | null;
|
|
70
|
-
tenantId: string;
|
|
71
70
|
projectId: string;
|
|
71
|
+
tenantId: string;
|
|
72
72
|
config: {
|
|
73
73
|
type: "mcp";
|
|
74
74
|
mcp: ToolMcpConfig;
|
|
@@ -120,9 +120,9 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
120
120
|
createdAt: string;
|
|
121
121
|
updatedAt: string;
|
|
122
122
|
headers: Record<string, string> | null;
|
|
123
|
-
tenantId: string;
|
|
124
|
-
projectId: string;
|
|
125
123
|
agentId: string;
|
|
124
|
+
projectId: string;
|
|
125
|
+
tenantId: string;
|
|
126
126
|
toolId: string;
|
|
127
127
|
toolPolicies: Record<string, {
|
|
128
128
|
needsApproval?: boolean;
|
|
@@ -139,9 +139,9 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
139
139
|
createdAt: string;
|
|
140
140
|
updatedAt: string;
|
|
141
141
|
headers: Record<string, string> | null;
|
|
142
|
-
tenantId: string;
|
|
143
|
-
projectId: string;
|
|
144
142
|
agentId: string;
|
|
143
|
+
projectId: string;
|
|
144
|
+
tenantId: string;
|
|
145
145
|
toolId: string;
|
|
146
146
|
toolPolicies: Record<string, {
|
|
147
147
|
needsApproval?: boolean;
|
|
@@ -167,9 +167,9 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
167
167
|
createdAt: string;
|
|
168
168
|
updatedAt: string;
|
|
169
169
|
headers: Record<string, string> | null;
|
|
170
|
-
tenantId: string;
|
|
171
|
-
projectId: string;
|
|
172
170
|
agentId: string;
|
|
171
|
+
projectId: string;
|
|
172
|
+
tenantId: string;
|
|
173
173
|
toolId: string;
|
|
174
174
|
toolPolicies: Record<string, {
|
|
175
175
|
needsApproval?: boolean;
|
|
@@ -189,8 +189,8 @@ declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
|
189
189
|
updatedAt: string;
|
|
190
190
|
description: string | null;
|
|
191
191
|
headers: Record<string, string> | null;
|
|
192
|
-
tenantId: string;
|
|
193
192
|
projectId: string;
|
|
193
|
+
tenantId: string;
|
|
194
194
|
config: {
|
|
195
195
|
type: "mcp";
|
|
196
196
|
mcp: ToolMcpConfig;
|
package/dist/types/a2a.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as drizzle_zod15 from "drizzle-zod";
|
|
3
3
|
import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
|
|
4
4
|
|
|
5
5
|
//#region src/validation/drizzle-schema-helpers.d.ts
|
|
@@ -22,8 +22,8 @@ declare const resourceIdSchema: z.ZodString;
|
|
|
22
22
|
declare function createResourceIdSchema(description: string, options?: {
|
|
23
23
|
example?: string;
|
|
24
24
|
}): z.ZodString;
|
|
25
|
-
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
26
|
-
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
25
|
+
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"select", T["_"]["columns"], drizzle_zod15.BuildRefine<T["_"]["columns"], undefined>, undefined>;
|
|
26
|
+
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"insert", T["_"]["columns"], drizzle_zod15.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
|
|
27
27
|
declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
|
|
28
28
|
declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
|
|
29
29
|
/**
|