@inkeep/agents-core 0.0.0-dev-20260205075846 → 0.0.0-dev-20260205141225
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/auth/auth-schema.d.ts +104 -104
- package/dist/auth/auth.d.ts +53 -53
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +1 -1
- package/dist/data-access/manage/agents.d.ts +16 -16
- package/dist/data-access/manage/artifactComponents.d.ts +2 -2
- package/dist/data-access/manage/contextConfigs.d.ts +4 -4
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +2 -2
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +12 -12
- package/dist/data-access/runtime/messages.d.ts +18 -18
- package/dist/data-access/runtime/tasks.d.ts +1 -1
- package/dist/db/manage/manage-schema.d.ts +378 -378
- package/dist/db/runtime/runtime-schema.d.ts +232 -232
- package/dist/validation/schemas.d.ts +1228 -1228
- package/package.json +1 -1
|
@@ -8,7 +8,6 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
subAgentId: string;
|
|
12
11
|
id: string;
|
|
13
12
|
createdAt: string;
|
|
14
13
|
updatedAt: string;
|
|
@@ -17,6 +16,7 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
17
16
|
projectId: string;
|
|
18
17
|
agentId: string;
|
|
19
18
|
externalAgentId: string;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: SubAgentScopeConfig;
|
|
@@ -43,7 +43,6 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
|
|
|
43
43
|
declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
subAgentId: string;
|
|
47
46
|
id: string;
|
|
48
47
|
createdAt: string;
|
|
49
48
|
updatedAt: string;
|
|
@@ -52,11 +51,11 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
|
|
|
52
51
|
projectId: string;
|
|
53
52
|
agentId: string;
|
|
54
53
|
externalAgentId: string;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
subAgentId: string;
|
|
60
59
|
id: string;
|
|
61
60
|
createdAt: string;
|
|
62
61
|
updatedAt: string;
|
|
@@ -65,6 +64,7 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
|
|
|
65
64
|
projectId: string;
|
|
66
65
|
agentId: string;
|
|
67
66
|
externalAgentId: string;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
70
70
|
scopes: AgentScopeConfig;
|
|
@@ -179,7 +179,6 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
179
179
|
headers?: Record<string, string> | null;
|
|
180
180
|
};
|
|
181
181
|
}) => Promise<{
|
|
182
|
-
subAgentId: string;
|
|
183
182
|
id: string;
|
|
184
183
|
createdAt: string;
|
|
185
184
|
updatedAt: string;
|
|
@@ -188,6 +187,7 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
188
187
|
projectId: string;
|
|
189
188
|
agentId: string;
|
|
190
189
|
externalAgentId: string;
|
|
190
|
+
subAgentId: string;
|
|
191
191
|
}>;
|
|
192
192
|
/**
|
|
193
193
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -196,7 +196,6 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
196
196
|
scopes: SubAgentScopeConfig;
|
|
197
197
|
externalAgentId: string;
|
|
198
198
|
}) => Promise<{
|
|
199
|
-
subAgentId: string;
|
|
200
199
|
id: string;
|
|
201
200
|
createdAt: string;
|
|
202
201
|
updatedAt: string;
|
|
@@ -205,6 +204,7 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
205
204
|
projectId: string;
|
|
206
205
|
agentId: string;
|
|
207
206
|
externalAgentId: string;
|
|
207
|
+
subAgentId: string;
|
|
208
208
|
} | undefined>;
|
|
209
209
|
/**
|
|
210
210
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -217,7 +217,6 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
217
217
|
headers?: Record<string, string> | null;
|
|
218
218
|
};
|
|
219
219
|
}) => Promise<{
|
|
220
|
-
subAgentId: string;
|
|
221
220
|
id: string;
|
|
222
221
|
createdAt: string;
|
|
223
222
|
updatedAt: string;
|
|
@@ -226,6 +225,7 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
226
225
|
projectId: string;
|
|
227
226
|
agentId: string;
|
|
228
227
|
externalAgentId: string;
|
|
228
|
+
subAgentId: string;
|
|
229
229
|
}>;
|
|
230
230
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
231
231
|
scopes: SubAgentScopeConfig;
|
|
@@ -14,9 +14,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
14
14
|
tenantId: string;
|
|
15
15
|
projectId: string;
|
|
16
16
|
agentId: string;
|
|
17
|
+
relationType: string | null;
|
|
17
18
|
sourceSubAgentId: string;
|
|
18
19
|
targetSubAgentId: string | null;
|
|
19
|
-
relationType: string | null;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: AgentScopeConfig;
|
|
@@ -49,9 +49,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
49
49
|
tenantId: string;
|
|
50
50
|
projectId: string;
|
|
51
51
|
agentId: string;
|
|
52
|
+
relationType: string | null;
|
|
52
53
|
sourceSubAgentId: string;
|
|
53
54
|
targetSubAgentId: string | null;
|
|
54
|
-
relationType: string | null;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
@@ -62,9 +62,9 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
62
62
|
tenantId: string;
|
|
63
63
|
projectId: string;
|
|
64
64
|
agentId: string;
|
|
65
|
+
relationType: string | null;
|
|
65
66
|
sourceSubAgentId: string;
|
|
66
67
|
targetSubAgentId: string | null;
|
|
67
|
-
relationType: string | null;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
|
|
70
70
|
scopes: AgentScopeConfig;
|
|
@@ -131,9 +131,9 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
|
|
|
131
131
|
tenantId: string;
|
|
132
132
|
projectId: string;
|
|
133
133
|
agentId: string;
|
|
134
|
+
relationType: string | null;
|
|
134
135
|
sourceSubAgentId: string;
|
|
135
136
|
targetSubAgentId: string | null;
|
|
136
|
-
relationType: string | null;
|
|
137
137
|
}>;
|
|
138
138
|
/**
|
|
139
139
|
* Check if sub-agent relation exists by agent, source, target, and relation type
|
|
@@ -150,9 +150,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
150
150
|
tenantId: string;
|
|
151
151
|
projectId: string;
|
|
152
152
|
agentId: string;
|
|
153
|
+
relationType: string | null;
|
|
153
154
|
sourceSubAgentId: string;
|
|
154
155
|
targetSubAgentId: string | null;
|
|
155
|
-
relationType: string | null;
|
|
156
156
|
} | undefined>;
|
|
157
157
|
/**
|
|
158
158
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
@@ -164,9 +164,9 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
|
|
|
164
164
|
tenantId: string;
|
|
165
165
|
projectId: string;
|
|
166
166
|
agentId: string;
|
|
167
|
+
relationType: string | null;
|
|
167
168
|
sourceSubAgentId: string;
|
|
168
169
|
targetSubAgentId: string | null;
|
|
169
|
-
relationType: string | null;
|
|
170
170
|
}>;
|
|
171
171
|
declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
172
172
|
scopes: AgentScopeConfig;
|
|
@@ -203,7 +203,6 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
203
203
|
}> | null;
|
|
204
204
|
};
|
|
205
205
|
}) => Promise<{
|
|
206
|
-
subAgentId: string;
|
|
207
206
|
id: string;
|
|
208
207
|
createdAt: string;
|
|
209
208
|
updatedAt: string;
|
|
@@ -212,10 +211,11 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
212
211
|
projectId: string;
|
|
213
212
|
agentId: string;
|
|
214
213
|
toolId: string;
|
|
215
|
-
selectedTools: string[] | null;
|
|
216
214
|
toolPolicies: Record<string, {
|
|
217
215
|
needsApproval?: boolean;
|
|
218
216
|
}> | null;
|
|
217
|
+
subAgentId: string;
|
|
218
|
+
selectedTools: string[] | null;
|
|
219
219
|
}>;
|
|
220
220
|
declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
221
221
|
scopes: AgentScopeConfig;
|
|
@@ -247,7 +247,6 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
247
247
|
scopes: SubAgentScopeConfig;
|
|
248
248
|
relationId: string;
|
|
249
249
|
}) => Promise<{
|
|
250
|
-
subAgentId: string;
|
|
251
250
|
id: string;
|
|
252
251
|
createdAt: string;
|
|
253
252
|
updatedAt: string;
|
|
@@ -256,10 +255,11 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
256
255
|
projectId: string;
|
|
257
256
|
agentId: string;
|
|
258
257
|
toolId: string;
|
|
259
|
-
selectedTools: string[] | null;
|
|
260
258
|
toolPolicies: Record<string, {
|
|
261
259
|
needsApproval?: boolean;
|
|
262
260
|
}> | null;
|
|
261
|
+
subAgentId: string;
|
|
262
|
+
selectedTools: string[] | null;
|
|
263
263
|
} | undefined>;
|
|
264
264
|
declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
265
265
|
scopes: SubAgentScopeConfig;
|
|
@@ -8,7 +8,6 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
subAgentId: string;
|
|
12
11
|
id: string;
|
|
13
12
|
createdAt: string;
|
|
14
13
|
updatedAt: string;
|
|
@@ -16,6 +15,7 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
16
15
|
tenantId: string;
|
|
17
16
|
projectId: string;
|
|
18
17
|
agentId: string;
|
|
18
|
+
subAgentId: string;
|
|
19
19
|
targetAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -43,7 +43,6 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
43
43
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
subAgentId: string;
|
|
47
46
|
id: string;
|
|
48
47
|
createdAt: string;
|
|
49
48
|
updatedAt: string;
|
|
@@ -51,12 +50,12 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
|
|
|
51
50
|
tenantId: string;
|
|
52
51
|
projectId: string;
|
|
53
52
|
agentId: string;
|
|
53
|
+
subAgentId: string;
|
|
54
54
|
targetAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
subAgentId: string;
|
|
60
59
|
id: string;
|
|
61
60
|
createdAt: string;
|
|
62
61
|
updatedAt: string;
|
|
@@ -64,6 +63,7 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
|
|
|
64
63
|
tenantId: string;
|
|
65
64
|
projectId: string;
|
|
66
65
|
agentId: string;
|
|
66
|
+
subAgentId: string;
|
|
67
67
|
targetAgentId: string;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -209,7 +209,6 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
209
209
|
headers?: Record<string, string> | null;
|
|
210
210
|
};
|
|
211
211
|
}) => Promise<{
|
|
212
|
-
subAgentId: string;
|
|
213
212
|
id: string;
|
|
214
213
|
createdAt: string;
|
|
215
214
|
updatedAt: string;
|
|
@@ -217,6 +216,7 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
217
216
|
tenantId: string;
|
|
218
217
|
projectId: string;
|
|
219
218
|
agentId: string;
|
|
219
|
+
subAgentId: string;
|
|
220
220
|
targetAgentId: string;
|
|
221
221
|
}>;
|
|
222
222
|
/**
|
|
@@ -226,7 +226,6 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
226
226
|
scopes: SubAgentScopeConfig;
|
|
227
227
|
targetAgentId: string;
|
|
228
228
|
}) => Promise<{
|
|
229
|
-
subAgentId: string;
|
|
230
229
|
id: string;
|
|
231
230
|
createdAt: string;
|
|
232
231
|
updatedAt: string;
|
|
@@ -234,6 +233,7 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
234
233
|
tenantId: string;
|
|
235
234
|
projectId: string;
|
|
236
235
|
agentId: string;
|
|
236
|
+
subAgentId: string;
|
|
237
237
|
targetAgentId: string;
|
|
238
238
|
} | undefined>;
|
|
239
239
|
/**
|
|
@@ -247,7 +247,6 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
247
247
|
headers?: Record<string, string> | null;
|
|
248
248
|
};
|
|
249
249
|
}) => Promise<{
|
|
250
|
-
subAgentId: string;
|
|
251
250
|
id: string;
|
|
252
251
|
createdAt: string;
|
|
253
252
|
updatedAt: string;
|
|
@@ -255,6 +254,7 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
255
254
|
tenantId: string;
|
|
256
255
|
projectId: string;
|
|
257
256
|
agentId: string;
|
|
257
|
+
subAgentId: string;
|
|
258
258
|
targetAgentId: string;
|
|
259
259
|
}>;
|
|
260
260
|
declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -13,6 +13,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (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
|
+
agentId: string;
|
|
16
20
|
models: {
|
|
17
21
|
base?: {
|
|
18
22
|
model?: string | undefined;
|
|
@@ -30,10 +34,6 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
30
34
|
stopWhen: {
|
|
31
35
|
stepCountIs?: number | undefined;
|
|
32
36
|
} | null;
|
|
33
|
-
tenantId: string;
|
|
34
|
-
prompt: string | null;
|
|
35
|
-
projectId: string;
|
|
36
|
-
agentId: string;
|
|
37
37
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
38
38
|
} | undefined>;
|
|
39
39
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -44,6 +44,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (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
|
+
agentId: string;
|
|
47
51
|
models: {
|
|
48
52
|
base?: {
|
|
49
53
|
model?: string | undefined;
|
|
@@ -61,10 +65,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
61
65
|
stopWhen: {
|
|
62
66
|
stepCountIs?: number | undefined;
|
|
63
67
|
} | null;
|
|
64
|
-
tenantId: string;
|
|
65
|
-
prompt: string | null;
|
|
66
|
-
projectId: string;
|
|
67
|
-
agentId: string;
|
|
68
68
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -113,6 +113,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
113
113
|
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
115
115
|
description: string | null;
|
|
116
|
+
tenantId: string;
|
|
117
|
+
projectId: string;
|
|
118
|
+
prompt: string | null;
|
|
119
|
+
agentId: string;
|
|
116
120
|
models: {
|
|
117
121
|
base?: {
|
|
118
122
|
model?: string | undefined;
|
|
@@ -130,10 +134,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
130
134
|
stopWhen: {
|
|
131
135
|
stepCountIs?: number | undefined;
|
|
132
136
|
} | null;
|
|
133
|
-
tenantId: string;
|
|
134
|
-
prompt: string | null;
|
|
135
|
-
projectId: string;
|
|
136
|
-
agentId: string;
|
|
137
137
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
138
138
|
}>;
|
|
139
139
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -22,15 +22,15 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
22
22
|
name: string;
|
|
23
23
|
createdAt: string;
|
|
24
24
|
updatedAt: string;
|
|
25
|
-
headers: Record<string, string> | null;
|
|
26
25
|
description: string | null;
|
|
26
|
+
headers: Record<string, string> | null;
|
|
27
27
|
tenantId: string;
|
|
28
28
|
projectId: string;
|
|
29
|
-
credentialReferenceId: string | null;
|
|
30
29
|
config: {
|
|
31
30
|
type: "mcp";
|
|
32
31
|
mcp: ToolMcpConfig;
|
|
33
32
|
};
|
|
33
|
+
credentialReferenceId: string | null;
|
|
34
34
|
credentialScope: string;
|
|
35
35
|
imageUrl: string | null;
|
|
36
36
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -80,15 +80,15 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
|
|
|
80
80
|
name: string;
|
|
81
81
|
createdAt: string;
|
|
82
82
|
updatedAt: string;
|
|
83
|
-
headers: Record<string, string> | null;
|
|
84
83
|
description: string | null;
|
|
84
|
+
headers: Record<string, string> | null;
|
|
85
85
|
tenantId: string;
|
|
86
86
|
projectId: string;
|
|
87
|
-
credentialReferenceId: string | null;
|
|
88
87
|
config: {
|
|
89
88
|
type: "mcp";
|
|
90
89
|
mcp: ToolMcpConfig;
|
|
91
90
|
};
|
|
91
|
+
credentialReferenceId: string | null;
|
|
92
92
|
credentialScope: string;
|
|
93
93
|
imageUrl: string | null;
|
|
94
94
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -133,7 +133,6 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
133
133
|
needsApproval?: boolean;
|
|
134
134
|
}> | null;
|
|
135
135
|
}) => Promise<{
|
|
136
|
-
subAgentId: string;
|
|
137
136
|
id: string;
|
|
138
137
|
createdAt: string;
|
|
139
138
|
updatedAt: string;
|
|
@@ -142,17 +141,17 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
142
141
|
projectId: string;
|
|
143
142
|
agentId: string;
|
|
144
143
|
toolId: string;
|
|
145
|
-
selectedTools: string[] | null;
|
|
146
144
|
toolPolicies: Record<string, {
|
|
147
145
|
needsApproval?: boolean;
|
|
148
146
|
}> | null;
|
|
147
|
+
subAgentId: string;
|
|
148
|
+
selectedTools: string[] | null;
|
|
149
149
|
}>;
|
|
150
150
|
declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
151
151
|
scopes: AgentScopeConfig;
|
|
152
152
|
subAgentId: string;
|
|
153
153
|
toolId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
-
subAgentId: string;
|
|
156
155
|
id: string;
|
|
157
156
|
createdAt: string;
|
|
158
157
|
updatedAt: string;
|
|
@@ -161,10 +160,11 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
161
160
|
projectId: string;
|
|
162
161
|
agentId: string;
|
|
163
162
|
toolId: string;
|
|
164
|
-
selectedTools: string[] | null;
|
|
165
163
|
toolPolicies: Record<string, {
|
|
166
164
|
needsApproval?: boolean;
|
|
167
165
|
}> | null;
|
|
166
|
+
subAgentId: string;
|
|
167
|
+
selectedTools: string[] | null;
|
|
168
168
|
}>;
|
|
169
169
|
/**
|
|
170
170
|
* Upsert agent-tool relation (create if it doesn't exist, update if it does)
|
|
@@ -180,7 +180,6 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
180
180
|
}> | null;
|
|
181
181
|
relationId?: string;
|
|
182
182
|
}) => Promise<{
|
|
183
|
-
subAgentId: string;
|
|
184
183
|
id: string;
|
|
185
184
|
createdAt: string;
|
|
186
185
|
updatedAt: string;
|
|
@@ -189,10 +188,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
189
188
|
projectId: string;
|
|
190
189
|
agentId: string;
|
|
191
190
|
toolId: string;
|
|
192
|
-
selectedTools: string[] | null;
|
|
193
191
|
toolPolicies: Record<string, {
|
|
194
192
|
needsApproval?: boolean;
|
|
195
193
|
}> | null;
|
|
194
|
+
subAgentId: string;
|
|
195
|
+
selectedTools: string[] | null;
|
|
196
196
|
}>;
|
|
197
197
|
/**
|
|
198
198
|
* Upsert a tool (create if it doesn't exist, update if it does)
|
|
@@ -204,15 +204,15 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
204
204
|
name: string;
|
|
205
205
|
createdAt: string;
|
|
206
206
|
updatedAt: string;
|
|
207
|
-
headers: Record<string, string> | null;
|
|
208
207
|
description: string | null;
|
|
208
|
+
headers: Record<string, string> | null;
|
|
209
209
|
tenantId: string;
|
|
210
210
|
projectId: string;
|
|
211
|
-
credentialReferenceId: string | null;
|
|
212
211
|
config: {
|
|
213
212
|
type: "mcp";
|
|
214
213
|
mcp: ToolMcpConfig;
|
|
215
214
|
};
|
|
215
|
+
credentialReferenceId: string | null;
|
|
216
216
|
credentialScope: string;
|
|
217
217
|
imageUrl: string | null;
|
|
218
218
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -9,12 +9,6 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
fromSubAgentId: string | null;
|
|
13
|
-
toSubAgentId: string | null;
|
|
14
|
-
fromExternalAgentId: string | null;
|
|
15
|
-
toExternalAgentId: string | null;
|
|
16
|
-
taskId: string | null;
|
|
17
|
-
a2aTaskId: string | null;
|
|
18
12
|
id: string;
|
|
19
13
|
createdAt: string;
|
|
20
14
|
updatedAt: string;
|
|
@@ -24,11 +18,17 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
24
18
|
projectId: string;
|
|
25
19
|
content: MessageContent;
|
|
26
20
|
conversationId: string;
|
|
21
|
+
fromSubAgentId: string | null;
|
|
22
|
+
toSubAgentId: string | null;
|
|
23
|
+
fromExternalAgentId: string | null;
|
|
24
|
+
toExternalAgentId: string | null;
|
|
27
25
|
fromTeamAgentId: string | null;
|
|
28
26
|
toTeamAgentId: string | null;
|
|
29
27
|
visibility: string;
|
|
30
28
|
messageType: string;
|
|
29
|
+
taskId: string | null;
|
|
31
30
|
parentMessageId: string | null;
|
|
31
|
+
a2aTaskId: string | null;
|
|
32
32
|
a2aSessionId: string | null;
|
|
33
33
|
} | undefined>;
|
|
34
34
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -140,12 +140,6 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
140
140
|
id: string;
|
|
141
141
|
}[]>;
|
|
142
142
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
143
|
-
fromSubAgentId: string | null;
|
|
144
|
-
toSubAgentId: string | null;
|
|
145
|
-
fromExternalAgentId: string | null;
|
|
146
|
-
toExternalAgentId: string | null;
|
|
147
|
-
taskId: string | null;
|
|
148
|
-
a2aTaskId: string | null;
|
|
149
143
|
id: string;
|
|
150
144
|
createdAt: string;
|
|
151
145
|
updatedAt: string;
|
|
@@ -155,11 +149,17 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
|
|
|
155
149
|
projectId: string;
|
|
156
150
|
content: MessageContent;
|
|
157
151
|
conversationId: string;
|
|
152
|
+
fromSubAgentId: string | null;
|
|
153
|
+
toSubAgentId: string | null;
|
|
154
|
+
fromExternalAgentId: string | null;
|
|
155
|
+
toExternalAgentId: string | null;
|
|
158
156
|
fromTeamAgentId: string | null;
|
|
159
157
|
toTeamAgentId: string | null;
|
|
160
158
|
visibility: string;
|
|
161
159
|
messageType: string;
|
|
160
|
+
taskId: string | null;
|
|
162
161
|
parentMessageId: string | null;
|
|
162
|
+
a2aTaskId: string | null;
|
|
163
163
|
a2aSessionId: string | null;
|
|
164
164
|
}>;
|
|
165
165
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -193,12 +193,6 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
-
fromSubAgentId: string | null;
|
|
197
|
-
toSubAgentId: string | null;
|
|
198
|
-
fromExternalAgentId: string | null;
|
|
199
|
-
toExternalAgentId: string | null;
|
|
200
|
-
taskId: string | null;
|
|
201
|
-
a2aTaskId: string | null;
|
|
202
196
|
id: string;
|
|
203
197
|
createdAt: string;
|
|
204
198
|
updatedAt: string;
|
|
@@ -208,11 +202,17 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
208
202
|
projectId: string;
|
|
209
203
|
content: MessageContent;
|
|
210
204
|
conversationId: string;
|
|
205
|
+
fromSubAgentId: string | null;
|
|
206
|
+
toSubAgentId: string | null;
|
|
207
|
+
fromExternalAgentId: string | null;
|
|
208
|
+
toExternalAgentId: string | null;
|
|
211
209
|
fromTeamAgentId: string | null;
|
|
212
210
|
toTeamAgentId: string | null;
|
|
213
211
|
visibility: string;
|
|
214
212
|
messageType: string;
|
|
213
|
+
taskId: string | null;
|
|
215
214
|
parentMessageId: string | null;
|
|
215
|
+
a2aTaskId: string | null;
|
|
216
216
|
a2aSessionId: string | null;
|
|
217
217
|
}>;
|
|
218
218
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -6,7 +6,6 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
6
6
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
|
-
subAgentId: string;
|
|
10
9
|
id: string;
|
|
11
10
|
createdAt: string;
|
|
12
11
|
updatedAt: string;
|
|
@@ -21,6 +20,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
21
20
|
projectId: string;
|
|
22
21
|
agentId: string;
|
|
23
22
|
contextId: string;
|
|
23
|
+
subAgentId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|