@inkeep/agents-core 0.0.0-dev-20260126181806 → 0.0.0-dev-20260126234950
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-validation-schemas.d.ts +146 -146
- package/dist/auth/auth.d.ts +57 -57
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +15 -15
- package/dist/data-access/manage/agents.d.ts +42 -42
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- 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 +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +30 -30
- package/dist/data-access/manage/tools.d.ts +24 -24
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +19 -19
- package/dist/data-access/runtime/messages.d.ts +12 -12
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +381 -381
- package/dist/db/runtime/runtime-schema.d.ts +181 -181
- package/dist/utils/jmespath-utils.js +1 -1
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1796 -1796
- package/package.json +1 -1
|
@@ -67,8 +67,8 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
|
|
|
67
67
|
tenantId: string;
|
|
68
68
|
projectId: string;
|
|
69
69
|
id: string;
|
|
70
|
-
agentId: string;
|
|
71
70
|
createdAt: string;
|
|
71
|
+
agentId: string;
|
|
72
72
|
subAgentId: string;
|
|
73
73
|
dataComponentId: string;
|
|
74
74
|
}>;
|
|
@@ -109,8 +109,8 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
|
|
|
109
109
|
tenantId: string;
|
|
110
110
|
projectId: string;
|
|
111
111
|
id: string;
|
|
112
|
-
agentId: string;
|
|
113
112
|
createdAt: string;
|
|
113
|
+
agentId: string;
|
|
114
114
|
subAgentId: string;
|
|
115
115
|
dataComponentId: string;
|
|
116
116
|
} | null>;
|
|
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
53
53
|
data: FunctionToolApiInsert;
|
|
54
54
|
scopes: AgentScopeConfig;
|
|
55
55
|
}) => Promise<{
|
|
56
|
+
name: string;
|
|
57
|
+
description: string | null;
|
|
56
58
|
tenantId: string;
|
|
57
59
|
projectId: string;
|
|
58
60
|
id: string;
|
|
59
|
-
name: string;
|
|
60
|
-
description: string | null;
|
|
61
|
-
agentId: string;
|
|
62
61
|
createdAt: string;
|
|
63
62
|
updatedAt: string;
|
|
63
|
+
agentId: string;
|
|
64
64
|
functionId: string;
|
|
65
65
|
}>;
|
|
66
66
|
/**
|
|
@@ -95,14 +95,14 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
95
95
|
data: FunctionToolApiInsert;
|
|
96
96
|
scopes: AgentScopeConfig;
|
|
97
97
|
}) => Promise<{
|
|
98
|
+
name: string;
|
|
99
|
+
description: string | null;
|
|
98
100
|
tenantId: string;
|
|
99
101
|
projectId: string;
|
|
100
102
|
id: string;
|
|
101
|
-
name: string;
|
|
102
|
-
description: string | null;
|
|
103
|
-
agentId: string;
|
|
104
103
|
createdAt: string;
|
|
105
104
|
updatedAt: string;
|
|
105
|
+
agentId: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -164,14 +164,14 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
164
164
|
tenantId: string;
|
|
165
165
|
projectId: string;
|
|
166
166
|
id: string;
|
|
167
|
-
agentId: string;
|
|
168
167
|
createdAt: string;
|
|
169
168
|
updatedAt: string;
|
|
169
|
+
agentId: string;
|
|
170
|
+
subAgentId: string;
|
|
171
|
+
functionToolId: string;
|
|
170
172
|
toolPolicies: Record<string, {
|
|
171
173
|
needsApproval?: boolean;
|
|
172
174
|
}> | null;
|
|
173
|
-
subAgentId: string;
|
|
174
|
-
functionToolId: string;
|
|
175
175
|
}>;
|
|
176
176
|
/**
|
|
177
177
|
* Update an agent-function tool relation
|
|
@@ -229,14 +229,14 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
229
229
|
tenantId: string;
|
|
230
230
|
projectId: string;
|
|
231
231
|
id: string;
|
|
232
|
-
agentId: string;
|
|
233
232
|
createdAt: string;
|
|
234
233
|
updatedAt: string;
|
|
234
|
+
agentId: string;
|
|
235
|
+
subAgentId: string;
|
|
236
|
+
functionToolId: string;
|
|
235
237
|
toolPolicies: Record<string, {
|
|
236
238
|
needsApproval?: boolean;
|
|
237
239
|
}> | null;
|
|
238
|
-
subAgentId: string;
|
|
239
|
-
functionToolId: string;
|
|
240
240
|
}>;
|
|
241
241
|
//#endregion
|
|
242
242
|
export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
|
|
@@ -11,12 +11,12 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
-
agentId: string;
|
|
15
14
|
createdAt: string;
|
|
16
15
|
updatedAt: string;
|
|
16
|
+
agentId: string;
|
|
17
17
|
headers: Record<string, string> | null;
|
|
18
|
-
externalAgentId: string;
|
|
19
18
|
subAgentId: string;
|
|
19
|
+
externalAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: SubAgentScopeConfig;
|
|
@@ -46,12 +46,12 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
|
|
|
46
46
|
tenantId: string;
|
|
47
47
|
projectId: string;
|
|
48
48
|
id: string;
|
|
49
|
-
agentId: string;
|
|
50
49
|
createdAt: string;
|
|
51
50
|
updatedAt: string;
|
|
51
|
+
agentId: string;
|
|
52
52
|
headers: Record<string, string> | null;
|
|
53
|
-
externalAgentId: string;
|
|
54
53
|
subAgentId: string;
|
|
54
|
+
externalAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
@@ -59,12 +59,12 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
|
|
|
59
59
|
tenantId: string;
|
|
60
60
|
projectId: string;
|
|
61
61
|
id: string;
|
|
62
|
-
agentId: string;
|
|
63
62
|
createdAt: string;
|
|
64
63
|
updatedAt: string;
|
|
64
|
+
agentId: string;
|
|
65
65
|
headers: Record<string, string> | null;
|
|
66
|
-
externalAgentId: string;
|
|
67
66
|
subAgentId: string;
|
|
67
|
+
externalAgentId: string;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
70
70
|
scopes: AgentScopeConfig;
|
|
@@ -182,12 +182,12 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
182
182
|
tenantId: string;
|
|
183
183
|
projectId: string;
|
|
184
184
|
id: string;
|
|
185
|
-
agentId: string;
|
|
186
185
|
createdAt: string;
|
|
187
186
|
updatedAt: string;
|
|
187
|
+
agentId: string;
|
|
188
188
|
headers: Record<string, string> | null;
|
|
189
|
-
externalAgentId: string;
|
|
190
189
|
subAgentId: string;
|
|
190
|
+
externalAgentId: string;
|
|
191
191
|
}>;
|
|
192
192
|
/**
|
|
193
193
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -199,12 +199,12 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
199
199
|
tenantId: string;
|
|
200
200
|
projectId: string;
|
|
201
201
|
id: string;
|
|
202
|
-
agentId: string;
|
|
203
202
|
createdAt: string;
|
|
204
203
|
updatedAt: string;
|
|
204
|
+
agentId: string;
|
|
205
205
|
headers: Record<string, string> | null;
|
|
206
|
-
externalAgentId: string;
|
|
207
206
|
subAgentId: string;
|
|
207
|
+
externalAgentId: string;
|
|
208
208
|
} | undefined>;
|
|
209
209
|
/**
|
|
210
210
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -220,12 +220,12 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
220
220
|
tenantId: string;
|
|
221
221
|
projectId: string;
|
|
222
222
|
id: string;
|
|
223
|
-
agentId: string;
|
|
224
223
|
createdAt: string;
|
|
225
224
|
updatedAt: string;
|
|
225
|
+
agentId: string;
|
|
226
226
|
headers: Record<string, string> | null;
|
|
227
|
-
externalAgentId: string;
|
|
228
227
|
subAgentId: string;
|
|
228
|
+
externalAgentId: string;
|
|
229
229
|
}>;
|
|
230
230
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
231
231
|
scopes: SubAgentScopeConfig;
|
|
@@ -11,9 +11,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
-
agentId: string;
|
|
15
14
|
createdAt: string;
|
|
16
15
|
updatedAt: string;
|
|
16
|
+
agentId: string;
|
|
17
17
|
sourceSubAgentId: string;
|
|
18
18
|
targetSubAgentId: string | null;
|
|
19
19
|
relationType: string | null;
|
|
@@ -46,9 +46,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
46
46
|
tenantId: string;
|
|
47
47
|
projectId: string;
|
|
48
48
|
id: string;
|
|
49
|
-
agentId: string;
|
|
50
49
|
createdAt: string;
|
|
51
50
|
updatedAt: string;
|
|
51
|
+
agentId: string;
|
|
52
52
|
sourceSubAgentId: string;
|
|
53
53
|
targetSubAgentId: string | null;
|
|
54
54
|
relationType: string | null;
|
|
@@ -59,9 +59,9 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
59
59
|
tenantId: string;
|
|
60
60
|
projectId: string;
|
|
61
61
|
id: string;
|
|
62
|
-
agentId: string;
|
|
63
62
|
createdAt: string;
|
|
64
63
|
updatedAt: string;
|
|
64
|
+
agentId: string;
|
|
65
65
|
sourceSubAgentId: string;
|
|
66
66
|
targetSubAgentId: string | null;
|
|
67
67
|
relationType: string | null;
|
|
@@ -128,9 +128,9 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
|
|
|
128
128
|
tenantId: string;
|
|
129
129
|
projectId: string;
|
|
130
130
|
id: string;
|
|
131
|
-
agentId: string;
|
|
132
131
|
createdAt: string;
|
|
133
132
|
updatedAt: string;
|
|
133
|
+
agentId: string;
|
|
134
134
|
sourceSubAgentId: string;
|
|
135
135
|
targetSubAgentId: string | null;
|
|
136
136
|
relationType: string | null;
|
|
@@ -147,9 +147,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
147
147
|
tenantId: string;
|
|
148
148
|
projectId: string;
|
|
149
149
|
id: string;
|
|
150
|
-
agentId: string;
|
|
151
150
|
createdAt: string;
|
|
152
151
|
updatedAt: string;
|
|
152
|
+
agentId: string;
|
|
153
153
|
sourceSubAgentId: string;
|
|
154
154
|
targetSubAgentId: string | null;
|
|
155
155
|
relationType: string | null;
|
|
@@ -161,9 +161,9 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
|
|
|
161
161
|
tenantId: string;
|
|
162
162
|
projectId: string;
|
|
163
163
|
id: string;
|
|
164
|
-
agentId: string;
|
|
165
164
|
createdAt: string;
|
|
166
165
|
updatedAt: string;
|
|
166
|
+
agentId: string;
|
|
167
167
|
sourceSubAgentId: string;
|
|
168
168
|
targetSubAgentId: string | null;
|
|
169
169
|
relationType: string | null;
|
|
@@ -206,15 +206,15 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
206
206
|
tenantId: string;
|
|
207
207
|
projectId: string;
|
|
208
208
|
id: string;
|
|
209
|
-
agentId: string;
|
|
210
209
|
createdAt: string;
|
|
211
210
|
updatedAt: string;
|
|
212
|
-
|
|
211
|
+
agentId: string;
|
|
213
212
|
headers: Record<string, string> | null;
|
|
213
|
+
toolId: string;
|
|
214
|
+
subAgentId: string;
|
|
214
215
|
toolPolicies: Record<string, {
|
|
215
216
|
needsApproval?: boolean;
|
|
216
217
|
}> | null;
|
|
217
|
-
subAgentId: string;
|
|
218
218
|
selectedTools: string[] | null;
|
|
219
219
|
}>;
|
|
220
220
|
declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -250,15 +250,15 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
250
250
|
tenantId: string;
|
|
251
251
|
projectId: string;
|
|
252
252
|
id: string;
|
|
253
|
-
agentId: string;
|
|
254
253
|
createdAt: string;
|
|
255
254
|
updatedAt: string;
|
|
256
|
-
|
|
255
|
+
agentId: string;
|
|
257
256
|
headers: Record<string, string> | null;
|
|
257
|
+
toolId: string;
|
|
258
|
+
subAgentId: string;
|
|
258
259
|
toolPolicies: Record<string, {
|
|
259
260
|
needsApproval?: boolean;
|
|
260
261
|
}> | null;
|
|
261
|
-
subAgentId: string;
|
|
262
262
|
selectedTools: string[] | null;
|
|
263
263
|
} | undefined>;
|
|
264
264
|
declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -11,9 +11,9 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
-
agentId: string;
|
|
15
14
|
createdAt: string;
|
|
16
15
|
updatedAt: string;
|
|
16
|
+
agentId: string;
|
|
17
17
|
headers: Record<string, string> | null;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
targetAgentId: string;
|
|
@@ -46,9 +46,9 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
|
|
|
46
46
|
tenantId: string;
|
|
47
47
|
projectId: string;
|
|
48
48
|
id: string;
|
|
49
|
-
agentId: string;
|
|
50
49
|
createdAt: string;
|
|
51
50
|
updatedAt: string;
|
|
51
|
+
agentId: string;
|
|
52
52
|
headers: Record<string, string> | null;
|
|
53
53
|
subAgentId: string;
|
|
54
54
|
targetAgentId: string;
|
|
@@ -59,9 +59,9 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
|
|
|
59
59
|
tenantId: string;
|
|
60
60
|
projectId: string;
|
|
61
61
|
id: string;
|
|
62
|
-
agentId: string;
|
|
63
62
|
createdAt: string;
|
|
64
63
|
updatedAt: string;
|
|
64
|
+
agentId: string;
|
|
65
65
|
headers: Record<string, string> | null;
|
|
66
66
|
subAgentId: string;
|
|
67
67
|
targetAgentId: string;
|
|
@@ -212,9 +212,9 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
212
212
|
tenantId: string;
|
|
213
213
|
projectId: string;
|
|
214
214
|
id: string;
|
|
215
|
-
agentId: string;
|
|
216
215
|
createdAt: string;
|
|
217
216
|
updatedAt: string;
|
|
217
|
+
agentId: string;
|
|
218
218
|
headers: Record<string, string> | null;
|
|
219
219
|
subAgentId: string;
|
|
220
220
|
targetAgentId: string;
|
|
@@ -229,9 +229,9 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
229
229
|
tenantId: string;
|
|
230
230
|
projectId: string;
|
|
231
231
|
id: string;
|
|
232
|
-
agentId: string;
|
|
233
232
|
createdAt: string;
|
|
234
233
|
updatedAt: string;
|
|
234
|
+
agentId: string;
|
|
235
235
|
headers: Record<string, string> | null;
|
|
236
236
|
subAgentId: string;
|
|
237
237
|
targetAgentId: string;
|
|
@@ -250,9 +250,9 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
250
250
|
tenantId: string;
|
|
251
251
|
projectId: string;
|
|
252
252
|
id: string;
|
|
253
|
-
agentId: string;
|
|
254
253
|
createdAt: string;
|
|
255
254
|
updatedAt: string;
|
|
255
|
+
agentId: string;
|
|
256
256
|
headers: Record<string, string> | null;
|
|
257
257
|
subAgentId: string;
|
|
258
258
|
targetAgentId: string;
|
|
@@ -8,15 +8,16 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: AgentScopeConfig;
|
|
9
9
|
subAgentId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
tenantId: string;
|
|
12
|
-
projectId: string;
|
|
13
|
-
id: string;
|
|
14
11
|
name: string;
|
|
15
12
|
description: string | null;
|
|
13
|
+
tenantId: string;
|
|
14
|
+
projectId: string;
|
|
15
|
+
stopWhen: {
|
|
16
|
+
stepCountIs?: number | undefined;
|
|
17
|
+
} | null;
|
|
16
18
|
prompt: string | null;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
updatedAt: string;
|
|
19
|
+
id: string;
|
|
20
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
20
21
|
models: {
|
|
21
22
|
base?: {
|
|
22
23
|
model?: string | undefined;
|
|
@@ -31,23 +32,23 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
31
32
|
providerOptions?: Record<string, any> | undefined;
|
|
32
33
|
} | undefined;
|
|
33
34
|
} | null;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
35
|
+
createdAt: string;
|
|
36
|
+
updatedAt: string;
|
|
37
|
+
agentId: string;
|
|
38
38
|
} | undefined>;
|
|
39
39
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
40
40
|
scopes: AgentScopeConfig;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
tenantId: string;
|
|
43
|
-
projectId: string;
|
|
44
|
-
id: string;
|
|
45
42
|
name: string;
|
|
46
43
|
description: string | null;
|
|
44
|
+
tenantId: string;
|
|
45
|
+
projectId: string;
|
|
46
|
+
stopWhen: {
|
|
47
|
+
stepCountIs?: number | undefined;
|
|
48
|
+
} | null;
|
|
47
49
|
prompt: string | null;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
updatedAt: string;
|
|
50
|
+
id: string;
|
|
51
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
51
52
|
models: {
|
|
52
53
|
base?: {
|
|
53
54
|
model?: string | undefined;
|
|
@@ -62,10 +63,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
62
63
|
providerOptions?: Record<string, any> | undefined;
|
|
63
64
|
} | undefined;
|
|
64
65
|
} | null;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
updatedAt: string;
|
|
68
|
+
agentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
71
71
|
scopes: AgentScopeConfig;
|
|
@@ -108,15 +108,16 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
108
108
|
};
|
|
109
109
|
}>;
|
|
110
110
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
111
|
-
tenantId: string;
|
|
112
|
-
projectId: string;
|
|
113
|
-
id: string;
|
|
114
111
|
name: string;
|
|
115
112
|
description: string | null;
|
|
113
|
+
tenantId: string;
|
|
114
|
+
projectId: string;
|
|
115
|
+
stopWhen: {
|
|
116
|
+
stepCountIs?: number | undefined;
|
|
117
|
+
} | null;
|
|
116
118
|
prompt: string | null;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
updatedAt: string;
|
|
119
|
+
id: string;
|
|
120
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
120
121
|
models: {
|
|
121
122
|
base?: {
|
|
122
123
|
model?: string | undefined;
|
|
@@ -131,10 +132,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
131
132
|
providerOptions?: Record<string, any> | undefined;
|
|
132
133
|
} | undefined;
|
|
133
134
|
} | null;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
135
|
+
createdAt: string;
|
|
136
|
+
updatedAt: string;
|
|
137
|
+
agentId: string;
|
|
138
138
|
}>;
|
|
139
139
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
140
140
|
scopes: AgentScopeConfig;
|
|
@@ -18,19 +18,19 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
18
18
|
scopes: ProjectScopeConfig;
|
|
19
19
|
toolId: string;
|
|
20
20
|
}) => Promise<{
|
|
21
|
+
name: string;
|
|
22
|
+
description: string | null;
|
|
21
23
|
tenantId: string;
|
|
22
24
|
projectId: string;
|
|
23
25
|
id: string;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
createdAt: string;
|
|
27
|
+
updatedAt: string;
|
|
28
|
+
headers: Record<string, string> | null;
|
|
26
29
|
config: {
|
|
27
30
|
type: "mcp";
|
|
28
31
|
mcp: ToolMcpConfig;
|
|
29
32
|
};
|
|
30
33
|
credentialReferenceId: string | null;
|
|
31
|
-
createdAt: string;
|
|
32
|
-
updatedAt: string;
|
|
33
|
-
headers: Record<string, string> | null;
|
|
34
34
|
credentialScope: string;
|
|
35
35
|
imageUrl: string | null;
|
|
36
36
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -74,19 +74,19 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
74
74
|
};
|
|
75
75
|
}>;
|
|
76
76
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
77
|
+
name: string;
|
|
78
|
+
description: string | null;
|
|
77
79
|
tenantId: string;
|
|
78
80
|
projectId: string;
|
|
79
81
|
id: string;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
+
createdAt: string;
|
|
83
|
+
updatedAt: string;
|
|
84
|
+
headers: Record<string, string> | null;
|
|
82
85
|
config: {
|
|
83
86
|
type: "mcp";
|
|
84
87
|
mcp: ToolMcpConfig;
|
|
85
88
|
};
|
|
86
89
|
credentialReferenceId: string | null;
|
|
87
|
-
createdAt: string;
|
|
88
|
-
updatedAt: string;
|
|
89
|
-
headers: Record<string, string> | null;
|
|
90
90
|
credentialScope: string;
|
|
91
91
|
imageUrl: string | null;
|
|
92
92
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -132,15 +132,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
132
132
|
tenantId: string;
|
|
133
133
|
projectId: string;
|
|
134
134
|
id: string;
|
|
135
|
-
agentId: string;
|
|
136
135
|
createdAt: string;
|
|
137
136
|
updatedAt: string;
|
|
138
|
-
|
|
137
|
+
agentId: string;
|
|
139
138
|
headers: Record<string, string> | null;
|
|
139
|
+
toolId: string;
|
|
140
|
+
subAgentId: string;
|
|
140
141
|
toolPolicies: Record<string, {
|
|
141
142
|
needsApproval?: boolean;
|
|
142
143
|
}> | null;
|
|
143
|
-
subAgentId: string;
|
|
144
144
|
selectedTools: string[] | null;
|
|
145
145
|
}>;
|
|
146
146
|
declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -151,15 +151,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
151
151
|
tenantId: string;
|
|
152
152
|
projectId: string;
|
|
153
153
|
id: string;
|
|
154
|
-
agentId: string;
|
|
155
154
|
createdAt: string;
|
|
156
155
|
updatedAt: string;
|
|
157
|
-
|
|
156
|
+
agentId: string;
|
|
158
157
|
headers: Record<string, string> | null;
|
|
158
|
+
toolId: string;
|
|
159
|
+
subAgentId: string;
|
|
159
160
|
toolPolicies: Record<string, {
|
|
160
161
|
needsApproval?: boolean;
|
|
161
162
|
}> | null;
|
|
162
|
-
subAgentId: string;
|
|
163
163
|
selectedTools: string[] | null;
|
|
164
164
|
}>;
|
|
165
165
|
/**
|
|
@@ -179,15 +179,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
179
179
|
tenantId: string;
|
|
180
180
|
projectId: string;
|
|
181
181
|
id: string;
|
|
182
|
-
agentId: string;
|
|
183
182
|
createdAt: string;
|
|
184
183
|
updatedAt: string;
|
|
185
|
-
|
|
184
|
+
agentId: string;
|
|
186
185
|
headers: Record<string, string> | null;
|
|
186
|
+
toolId: string;
|
|
187
|
+
subAgentId: string;
|
|
187
188
|
toolPolicies: Record<string, {
|
|
188
189
|
needsApproval?: boolean;
|
|
189
190
|
}> | null;
|
|
190
|
-
subAgentId: string;
|
|
191
191
|
selectedTools: string[] | null;
|
|
192
192
|
}>;
|
|
193
193
|
/**
|
|
@@ -196,19 +196,19 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
196
196
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
197
197
|
data: ToolInsert;
|
|
198
198
|
}) => Promise<{
|
|
199
|
+
name: string;
|
|
200
|
+
description: string | null;
|
|
199
201
|
tenantId: string;
|
|
200
202
|
projectId: string;
|
|
201
203
|
id: string;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
+
createdAt: string;
|
|
205
|
+
updatedAt: string;
|
|
206
|
+
headers: Record<string, string> | null;
|
|
204
207
|
config: {
|
|
205
208
|
type: "mcp";
|
|
206
209
|
mcp: ToolMcpConfig;
|
|
207
210
|
};
|
|
208
211
|
credentialReferenceId: string | null;
|
|
209
|
-
createdAt: string;
|
|
210
|
-
updatedAt: string;
|
|
211
|
-
headers: Record<string, string> | null;
|
|
212
212
|
credentialScope: string;
|
|
213
213
|
imageUrl: string | null;
|
|
214
214
|
capabilities: ToolServerCapabilities | null;
|
|
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
40
40
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
41
41
|
encoding: "hex" | "base64";
|
|
42
42
|
signature: {
|
|
43
|
-
source: "query" | "
|
|
43
|
+
source: "query" | "header" | "body";
|
|
44
44
|
key: string;
|
|
45
45
|
prefix?: string | undefined;
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "literal" | "
|
|
49
|
+
source: "literal" | "header" | "body";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
@@ -7,49 +7,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
7
7
|
scopes: ProjectScopeConfig;
|
|
8
8
|
id: string;
|
|
9
9
|
}) => Promise<{
|
|
10
|
+
name: string | null;
|
|
10
11
|
tenantId: string;
|
|
11
12
|
projectId: string;
|
|
12
13
|
id: string;
|
|
13
|
-
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
14
16
|
agentId: string;
|
|
15
17
|
publicId: string;
|
|
16
18
|
keyHash: string;
|
|
17
19
|
keyPrefix: string;
|
|
18
20
|
lastUsedAt: string | null;
|
|
19
21
|
expiresAt: string | null;
|
|
20
|
-
createdAt: string;
|
|
21
|
-
updatedAt: string;
|
|
22
22
|
} | undefined>;
|
|
23
23
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
24
|
+
name: string | null;
|
|
24
25
|
tenantId: string;
|
|
25
26
|
projectId: string;
|
|
26
27
|
id: string;
|
|
27
|
-
|
|
28
|
+
createdAt: string;
|
|
29
|
+
updatedAt: string;
|
|
28
30
|
agentId: string;
|
|
29
31
|
publicId: string;
|
|
30
32
|
keyHash: string;
|
|
31
33
|
keyPrefix: string;
|
|
32
34
|
lastUsedAt: string | null;
|
|
33
35
|
expiresAt: string | null;
|
|
34
|
-
createdAt: string;
|
|
35
|
-
updatedAt: string;
|
|
36
36
|
} | undefined>;
|
|
37
37
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
38
38
|
scopes: ProjectScopeConfig;
|
|
39
39
|
agentId?: string;
|
|
40
40
|
}) => Promise<{
|
|
41
|
+
name: string | null;
|
|
41
42
|
tenantId: string;
|
|
42
43
|
projectId: string;
|
|
43
44
|
id: string;
|
|
44
|
-
|
|
45
|
+
createdAt: string;
|
|
46
|
+
updatedAt: string;
|
|
45
47
|
agentId: string;
|
|
46
48
|
publicId: string;
|
|
47
49
|
keyHash: string;
|
|
48
50
|
keyPrefix: string;
|
|
49
51
|
lastUsedAt: string | null;
|
|
50
52
|
expiresAt: string | null;
|
|
51
|
-
createdAt: string;
|
|
52
|
-
updatedAt: string;
|
|
53
53
|
}[]>;
|
|
54
54
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
55
55
|
scopes: ProjectScopeConfig;
|
|
@@ -65,18 +65,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
65
65
|
};
|
|
66
66
|
}>;
|
|
67
67
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
68
|
+
name: string | null;
|
|
68
69
|
tenantId: string;
|
|
69
70
|
projectId: string;
|
|
70
71
|
id: string;
|
|
71
|
-
|
|
72
|
+
createdAt: string;
|
|
73
|
+
updatedAt: string;
|
|
72
74
|
agentId: string;
|
|
73
75
|
publicId: string;
|
|
74
76
|
keyHash: string;
|
|
75
77
|
keyPrefix: string;
|
|
76
78
|
lastUsedAt: string | null;
|
|
77
79
|
expiresAt: string | null;
|
|
78
|
-
createdAt: string;
|
|
79
|
-
updatedAt: string;
|
|
80
80
|
}>;
|
|
81
81
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
82
82
|
scopes: ProjectScopeConfig;
|