@inkeep/agents-core 0.0.0-dev-20260327225559 → 0.0.0-dev-20260329211800
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 +86 -86
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +55 -55
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- package/dist/data-access/manage/contextConfigs.d.ts +16 -16
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +10 -10
- package/dist/data-access/manage/skills.d.ts +17 -17
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +33 -33
- package/dist/data-access/manage/tools.d.ts +24 -24
- package/dist/data-access/manage/triggers.d.ts +1 -1
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +14 -14
- package/dist/data-access/runtime/conversations.d.ts +16 -16
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +360 -360
- package/dist/db/runtime/runtime-schema.d.ts +314 -314
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +2210 -2210
- package/package.json +1 -1
|
@@ -9,14 +9,14 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
12
|
id: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
17
15
|
agentId: string;
|
|
18
|
-
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
19
18
|
headers: Record<string, string> | null;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
externalAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -44,27 +44,27 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
|
|
|
44
44
|
declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
47
|
id: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
50
|
agentId: string;
|
|
53
|
-
|
|
51
|
+
projectId: string;
|
|
52
|
+
tenantId: string;
|
|
54
53
|
headers: Record<string, string> | null;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
externalAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
tenantId: string;
|
|
61
|
-
projectId: string;
|
|
62
60
|
id: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
65
63
|
agentId: string;
|
|
66
|
-
|
|
64
|
+
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
67
66
|
headers: Record<string, string> | null;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
externalAgentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -180,14 +180,14 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
180
180
|
headers?: Record<string, string> | null;
|
|
181
181
|
};
|
|
182
182
|
}) => Promise<{
|
|
183
|
-
tenantId: string;
|
|
184
|
-
projectId: string;
|
|
185
183
|
id: string;
|
|
186
184
|
createdAt: string;
|
|
187
185
|
updatedAt: string;
|
|
188
186
|
agentId: string;
|
|
189
|
-
|
|
187
|
+
projectId: string;
|
|
188
|
+
tenantId: string;
|
|
190
189
|
headers: Record<string, string> | null;
|
|
190
|
+
subAgentId: string;
|
|
191
191
|
externalAgentId: string;
|
|
192
192
|
}>;
|
|
193
193
|
/**
|
|
@@ -197,14 +197,14 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
197
197
|
scopes: SubAgentScopeConfig;
|
|
198
198
|
externalAgentId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
tenantId: string;
|
|
201
|
-
projectId: string;
|
|
202
200
|
id: string;
|
|
203
201
|
createdAt: string;
|
|
204
202
|
updatedAt: string;
|
|
205
203
|
agentId: string;
|
|
206
|
-
|
|
204
|
+
projectId: string;
|
|
205
|
+
tenantId: string;
|
|
207
206
|
headers: Record<string, string> | null;
|
|
207
|
+
subAgentId: string;
|
|
208
208
|
externalAgentId: string;
|
|
209
209
|
} | undefined>;
|
|
210
210
|
/**
|
|
@@ -218,14 +218,14 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
218
218
|
headers?: Record<string, string> | null;
|
|
219
219
|
};
|
|
220
220
|
}) => Promise<{
|
|
221
|
-
tenantId: string;
|
|
222
|
-
projectId: string;
|
|
223
221
|
id: string;
|
|
224
222
|
createdAt: string;
|
|
225
223
|
updatedAt: string;
|
|
226
224
|
agentId: string;
|
|
227
|
-
|
|
225
|
+
projectId: string;
|
|
226
|
+
tenantId: string;
|
|
228
227
|
headers: Record<string, string> | null;
|
|
228
|
+
subAgentId: string;
|
|
229
229
|
externalAgentId: string;
|
|
230
230
|
}>;
|
|
231
231
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -9,15 +9,15 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
12
|
id: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
17
15
|
agentId: string;
|
|
18
|
-
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
19
18
|
sourceSubAgentId: string;
|
|
20
19
|
targetSubAgentId: string | null;
|
|
20
|
+
relationType: string | null;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
23
23
|
scopes: AgentScopeConfig;
|
|
@@ -44,28 +44,28 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
44
44
|
declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
47
|
id: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
50
|
agentId: string;
|
|
53
|
-
|
|
51
|
+
projectId: string;
|
|
52
|
+
tenantId: string;
|
|
54
53
|
sourceSubAgentId: string;
|
|
55
54
|
targetSubAgentId: string | null;
|
|
55
|
+
relationType: string | null;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
tenantId: string;
|
|
61
|
-
projectId: string;
|
|
62
60
|
id: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
65
63
|
agentId: string;
|
|
66
|
-
|
|
64
|
+
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
67
66
|
sourceSubAgentId: string;
|
|
68
67
|
targetSubAgentId: string | null;
|
|
68
|
+
relationType: string | null;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
|
|
71
71
|
scopes: AgentScopeConfig;
|
|
@@ -126,15 +126,15 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
126
126
|
}[];
|
|
127
127
|
}>;
|
|
128
128
|
declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
129
|
-
tenantId: string;
|
|
130
|
-
projectId: string;
|
|
131
129
|
id: string;
|
|
132
130
|
createdAt: string;
|
|
133
131
|
updatedAt: string;
|
|
134
132
|
agentId: string;
|
|
135
|
-
|
|
133
|
+
projectId: string;
|
|
134
|
+
tenantId: string;
|
|
136
135
|
sourceSubAgentId: string;
|
|
137
136
|
targetSubAgentId: string | null;
|
|
137
|
+
relationType: string | null;
|
|
138
138
|
}>;
|
|
139
139
|
/**
|
|
140
140
|
* Check if sub-agent relation exists by agent, source, target, and relation type
|
|
@@ -145,29 +145,29 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
145
145
|
targetSubAgentId?: string;
|
|
146
146
|
relationType: string;
|
|
147
147
|
}) => Promise<{
|
|
148
|
-
tenantId: string;
|
|
149
|
-
projectId: string;
|
|
150
148
|
id: string;
|
|
151
149
|
createdAt: string;
|
|
152
150
|
updatedAt: string;
|
|
153
151
|
agentId: string;
|
|
154
|
-
|
|
152
|
+
projectId: string;
|
|
153
|
+
tenantId: string;
|
|
155
154
|
sourceSubAgentId: string;
|
|
156
155
|
targetSubAgentId: string | null;
|
|
156
|
+
relationType: string | null;
|
|
157
157
|
} | undefined>;
|
|
158
158
|
/**
|
|
159
159
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
160
160
|
*/
|
|
161
161
|
declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
162
|
-
tenantId: string;
|
|
163
|
-
projectId: string;
|
|
164
162
|
id: string;
|
|
165
163
|
createdAt: string;
|
|
166
164
|
updatedAt: string;
|
|
167
165
|
agentId: string;
|
|
168
|
-
|
|
166
|
+
projectId: string;
|
|
167
|
+
tenantId: string;
|
|
169
168
|
sourceSubAgentId: string;
|
|
170
169
|
targetSubAgentId: string | null;
|
|
170
|
+
relationType: string | null;
|
|
171
171
|
}>;
|
|
172
172
|
declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
173
173
|
scopes: AgentScopeConfig;
|
|
@@ -204,15 +204,15 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
204
204
|
}> | null;
|
|
205
205
|
};
|
|
206
206
|
}) => Promise<{
|
|
207
|
-
tenantId: string;
|
|
208
|
-
projectId: string;
|
|
209
207
|
id: string;
|
|
210
208
|
createdAt: string;
|
|
211
209
|
updatedAt: string;
|
|
212
210
|
agentId: string;
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
projectId: string;
|
|
212
|
+
tenantId: string;
|
|
215
213
|
headers: Record<string, string> | null;
|
|
214
|
+
toolId: string;
|
|
215
|
+
subAgentId: string;
|
|
216
216
|
toolPolicies: Record<string, {
|
|
217
217
|
needsApproval?: boolean;
|
|
218
218
|
}> | null;
|
|
@@ -248,15 +248,15 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
248
248
|
scopes: SubAgentScopeConfig;
|
|
249
249
|
relationId: string;
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
tenantId: string;
|
|
252
|
-
projectId: string;
|
|
253
251
|
id: string;
|
|
254
252
|
createdAt: string;
|
|
255
253
|
updatedAt: string;
|
|
256
254
|
agentId: string;
|
|
257
|
-
|
|
258
|
-
|
|
255
|
+
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
259
257
|
headers: Record<string, string> | null;
|
|
258
|
+
toolId: string;
|
|
259
|
+
subAgentId: string;
|
|
260
260
|
toolPolicies: Record<string, {
|
|
261
261
|
needsApproval?: boolean;
|
|
262
262
|
}> | null;
|
|
@@ -9,14 +9,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
12
|
id: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
17
15
|
agentId: string;
|
|
18
|
-
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
19
18
|
headers: Record<string, string> | null;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
targetAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -44,27 +44,27 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
44
44
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
47
|
id: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
50
|
agentId: string;
|
|
53
|
-
|
|
51
|
+
projectId: string;
|
|
52
|
+
tenantId: string;
|
|
54
53
|
headers: Record<string, string> | null;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
targetAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
tenantId: string;
|
|
61
|
-
projectId: string;
|
|
62
60
|
id: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
65
63
|
agentId: string;
|
|
66
|
-
|
|
64
|
+
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
67
66
|
headers: Record<string, string> | null;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
targetAgentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -210,14 +210,14 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
210
210
|
headers?: Record<string, string> | null;
|
|
211
211
|
};
|
|
212
212
|
}) => Promise<{
|
|
213
|
-
tenantId: string;
|
|
214
|
-
projectId: string;
|
|
215
213
|
id: string;
|
|
216
214
|
createdAt: string;
|
|
217
215
|
updatedAt: string;
|
|
218
216
|
agentId: string;
|
|
219
|
-
|
|
217
|
+
projectId: string;
|
|
218
|
+
tenantId: string;
|
|
220
219
|
headers: Record<string, string> | null;
|
|
220
|
+
subAgentId: string;
|
|
221
221
|
targetAgentId: string;
|
|
222
222
|
}>;
|
|
223
223
|
/**
|
|
@@ -227,14 +227,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
227
227
|
scopes: SubAgentScopeConfig;
|
|
228
228
|
targetAgentId: string;
|
|
229
229
|
}) => Promise<{
|
|
230
|
-
tenantId: string;
|
|
231
|
-
projectId: string;
|
|
232
230
|
id: string;
|
|
233
231
|
createdAt: string;
|
|
234
232
|
updatedAt: string;
|
|
235
233
|
agentId: string;
|
|
236
|
-
|
|
234
|
+
projectId: string;
|
|
235
|
+
tenantId: string;
|
|
237
236
|
headers: Record<string, string> | null;
|
|
237
|
+
subAgentId: string;
|
|
238
238
|
targetAgentId: string;
|
|
239
239
|
} | undefined>;
|
|
240
240
|
/**
|
|
@@ -248,14 +248,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
248
248
|
headers?: Record<string, string> | null;
|
|
249
249
|
};
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
tenantId: string;
|
|
252
|
-
projectId: string;
|
|
253
251
|
id: string;
|
|
254
252
|
createdAt: string;
|
|
255
253
|
updatedAt: string;
|
|
256
254
|
agentId: string;
|
|
257
|
-
|
|
255
|
+
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
258
257
|
headers: Record<string, string> | null;
|
|
258
|
+
subAgentId: string;
|
|
259
259
|
targetAgentId: string;
|
|
260
260
|
}>;
|
|
261
261
|
declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -9,14 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
name: string;
|
|
13
12
|
description: string | null;
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
name: string;
|
|
14
|
+
stopWhen: {
|
|
15
|
+
stepCountIs?: number | undefined;
|
|
16
|
+
} | null;
|
|
17
|
+
prompt: string | null;
|
|
16
18
|
id: string;
|
|
17
|
-
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
agentId: string;
|
|
19
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
20
20
|
models: {
|
|
21
21
|
base?: {
|
|
22
22
|
model?: string | undefined;
|
|
@@ -31,23 +31,23 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
31
31
|
providerOptions?: Record<string, unknown> | undefined;
|
|
32
32
|
} | undefined;
|
|
33
33
|
} | null;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
createdAt: string;
|
|
35
|
+
updatedAt: string;
|
|
36
|
+
agentId: string;
|
|
37
|
+
projectId: string;
|
|
38
|
+
tenantId: string;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
41
41
|
scopes: AgentScopeConfig;
|
|
42
42
|
}) => Promise<{
|
|
43
|
-
name: string;
|
|
44
43
|
description: string | null;
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
name: string;
|
|
45
|
+
stopWhen: {
|
|
46
|
+
stepCountIs?: number | undefined;
|
|
47
|
+
} | null;
|
|
48
|
+
prompt: string | null;
|
|
47
49
|
id: string;
|
|
48
|
-
|
|
49
|
-
updatedAt: string;
|
|
50
|
-
agentId: string;
|
|
50
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
51
51
|
models: {
|
|
52
52
|
base?: {
|
|
53
53
|
model?: string | undefined;
|
|
@@ -62,11 +62,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
62
62
|
providerOptions?: Record<string, unknown> | undefined;
|
|
63
63
|
} | undefined;
|
|
64
64
|
} | null;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
createdAt: string;
|
|
66
|
+
updatedAt: string;
|
|
67
|
+
agentId: string;
|
|
68
|
+
projectId: string;
|
|
69
|
+
tenantId: string;
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
72
72
|
scopes: AgentScopeConfig;
|
|
@@ -109,14 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
109
109
|
};
|
|
110
110
|
}>;
|
|
111
111
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
112
|
-
name: string;
|
|
113
112
|
description: string | null;
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
name: string;
|
|
114
|
+
stopWhen: {
|
|
115
|
+
stepCountIs?: number | undefined;
|
|
116
|
+
} | null;
|
|
117
|
+
prompt: string | null;
|
|
116
118
|
id: string;
|
|
117
|
-
|
|
118
|
-
updatedAt: string;
|
|
119
|
-
agentId: string;
|
|
119
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
120
120
|
models: {
|
|
121
121
|
base?: {
|
|
122
122
|
model?: string | undefined;
|
|
@@ -131,11 +131,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
131
131
|
providerOptions?: Record<string, unknown> | undefined;
|
|
132
132
|
} | undefined;
|
|
133
133
|
} | null;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
134
|
+
createdAt: string;
|
|
135
|
+
updatedAt: string;
|
|
136
|
+
agentId: string;
|
|
137
|
+
projectId: string;
|
|
138
|
+
tenantId: string;
|
|
139
139
|
}>;
|
|
140
140
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
141
141
|
scopes: AgentScopeConfig;
|
|
@@ -20,18 +20,18 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
20
20
|
scopes: ProjectScopeConfig;
|
|
21
21
|
toolId: string;
|
|
22
22
|
}) => Promise<{
|
|
23
|
-
name: string;
|
|
24
23
|
description: string | null;
|
|
25
|
-
|
|
26
|
-
projectId: string;
|
|
24
|
+
name: string;
|
|
27
25
|
id: string;
|
|
28
26
|
createdAt: string;
|
|
29
27
|
updatedAt: string;
|
|
28
|
+
projectId: string;
|
|
29
|
+
tenantId: string;
|
|
30
|
+
headers: Record<string, string> | null;
|
|
30
31
|
config: {
|
|
31
32
|
type: "mcp";
|
|
32
33
|
mcp: ToolMcpConfig;
|
|
33
34
|
};
|
|
34
|
-
headers: Record<string, string> | null;
|
|
35
35
|
credentialReferenceId: string | null;
|
|
36
36
|
credentialScope: string;
|
|
37
37
|
imageUrl: string | null;
|
|
@@ -78,18 +78,18 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
80
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
81
|
-
name: string;
|
|
82
81
|
description: string | null;
|
|
83
|
-
|
|
84
|
-
projectId: string;
|
|
82
|
+
name: string;
|
|
85
83
|
id: string;
|
|
86
84
|
createdAt: string;
|
|
87
85
|
updatedAt: string;
|
|
86
|
+
projectId: string;
|
|
87
|
+
tenantId: string;
|
|
88
|
+
headers: Record<string, string> | null;
|
|
88
89
|
config: {
|
|
89
90
|
type: "mcp";
|
|
90
91
|
mcp: ToolMcpConfig;
|
|
91
92
|
};
|
|
92
|
-
headers: Record<string, string> | null;
|
|
93
93
|
credentialReferenceId: string | null;
|
|
94
94
|
credentialScope: string;
|
|
95
95
|
imageUrl: string | null;
|
|
@@ -135,15 +135,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
135
135
|
needsApproval?: boolean;
|
|
136
136
|
}> | null;
|
|
137
137
|
}) => Promise<{
|
|
138
|
-
tenantId: string;
|
|
139
|
-
projectId: string;
|
|
140
138
|
id: string;
|
|
141
139
|
createdAt: string;
|
|
142
140
|
updatedAt: string;
|
|
143
141
|
agentId: string;
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
projectId: string;
|
|
143
|
+
tenantId: string;
|
|
146
144
|
headers: Record<string, string> | null;
|
|
145
|
+
toolId: string;
|
|
146
|
+
subAgentId: string;
|
|
147
147
|
toolPolicies: Record<string, {
|
|
148
148
|
needsApproval?: boolean;
|
|
149
149
|
}> | null;
|
|
@@ -154,15 +154,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
154
154
|
subAgentId: string;
|
|
155
155
|
toolId: string;
|
|
156
156
|
}) => Promise<{
|
|
157
|
-
tenantId: string;
|
|
158
|
-
projectId: string;
|
|
159
157
|
id: string;
|
|
160
158
|
createdAt: string;
|
|
161
159
|
updatedAt: string;
|
|
162
160
|
agentId: string;
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
projectId: string;
|
|
162
|
+
tenantId: string;
|
|
165
163
|
headers: Record<string, string> | null;
|
|
164
|
+
toolId: string;
|
|
165
|
+
subAgentId: string;
|
|
166
166
|
toolPolicies: Record<string, {
|
|
167
167
|
needsApproval?: boolean;
|
|
168
168
|
}> | null;
|
|
@@ -182,15 +182,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
182
182
|
}> | null;
|
|
183
183
|
relationId?: string;
|
|
184
184
|
}) => Promise<{
|
|
185
|
-
tenantId: string;
|
|
186
|
-
projectId: string;
|
|
187
185
|
id: string;
|
|
188
186
|
createdAt: string;
|
|
189
187
|
updatedAt: string;
|
|
190
188
|
agentId: string;
|
|
191
|
-
|
|
192
|
-
|
|
189
|
+
projectId: string;
|
|
190
|
+
tenantId: string;
|
|
193
191
|
headers: Record<string, string> | null;
|
|
192
|
+
toolId: string;
|
|
193
|
+
subAgentId: string;
|
|
194
194
|
toolPolicies: Record<string, {
|
|
195
195
|
needsApproval?: boolean;
|
|
196
196
|
}> | null;
|
|
@@ -202,18 +202,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
202
202
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
203
203
|
data: ToolInsert;
|
|
204
204
|
}) => Promise<{
|
|
205
|
-
name: string;
|
|
206
205
|
description: string | null;
|
|
207
|
-
|
|
208
|
-
projectId: string;
|
|
206
|
+
name: string;
|
|
209
207
|
id: string;
|
|
210
208
|
createdAt: string;
|
|
211
209
|
updatedAt: string;
|
|
210
|
+
projectId: string;
|
|
211
|
+
tenantId: string;
|
|
212
|
+
headers: Record<string, string> | null;
|
|
212
213
|
config: {
|
|
213
214
|
type: "mcp";
|
|
214
215
|
mcp: ToolMcpConfig;
|
|
215
216
|
};
|
|
216
|
-
headers: Record<string, string> | null;
|
|
217
217
|
credentialReferenceId: string | null;
|
|
218
218
|
credentialScope: string;
|
|
219
219
|
imageUrl: string | null;
|
|
@@ -46,7 +46,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "
|
|
49
|
+
source: "header" | "literal" | "body";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
@@ -9,48 +9,48 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
id: string;
|
|
10
10
|
}) => Promise<{
|
|
11
11
|
name: string | null;
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
12
|
id: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
17
15
|
agentId: string;
|
|
18
|
-
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
19
18
|
publicId: string;
|
|
20
19
|
keyHash: string;
|
|
21
20
|
keyPrefix: string;
|
|
22
21
|
lastUsedAt: string | null;
|
|
22
|
+
expiresAt: string | null;
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
25
|
name: string | null;
|
|
26
|
-
tenantId: string;
|
|
27
|
-
projectId: string;
|
|
28
26
|
id: string;
|
|
29
27
|
createdAt: string;
|
|
30
28
|
updatedAt: string;
|
|
31
29
|
agentId: string;
|
|
32
|
-
|
|
30
|
+
projectId: string;
|
|
31
|
+
tenantId: string;
|
|
33
32
|
publicId: string;
|
|
34
33
|
keyHash: string;
|
|
35
34
|
keyPrefix: string;
|
|
36
35
|
lastUsedAt: string | null;
|
|
36
|
+
expiresAt: string | null;
|
|
37
37
|
} | undefined>;
|
|
38
38
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
39
39
|
scopes: ProjectScopeConfig;
|
|
40
40
|
agentId?: string;
|
|
41
41
|
}) => Promise<{
|
|
42
42
|
name: string | null;
|
|
43
|
-
tenantId: string;
|
|
44
|
-
projectId: string;
|
|
45
43
|
id: string;
|
|
46
44
|
createdAt: string;
|
|
47
45
|
updatedAt: string;
|
|
48
46
|
agentId: string;
|
|
49
|
-
|
|
47
|
+
projectId: string;
|
|
48
|
+
tenantId: string;
|
|
50
49
|
publicId: string;
|
|
51
50
|
keyHash: string;
|
|
52
51
|
keyPrefix: string;
|
|
53
52
|
lastUsedAt: string | null;
|
|
53
|
+
expiresAt: string | null;
|
|
54
54
|
}[]>;
|
|
55
55
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
56
56
|
scopes: ProjectScopeConfig;
|
|
@@ -67,17 +67,17 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
67
67
|
}>;
|
|
68
68
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
69
69
|
name: string | null;
|
|
70
|
-
tenantId: string;
|
|
71
|
-
projectId: string;
|
|
72
70
|
id: string;
|
|
73
71
|
createdAt: string;
|
|
74
72
|
updatedAt: string;
|
|
75
73
|
agentId: string;
|
|
76
|
-
|
|
74
|
+
projectId: string;
|
|
75
|
+
tenantId: string;
|
|
77
76
|
publicId: string;
|
|
78
77
|
keyHash: string;
|
|
79
78
|
keyPrefix: string;
|
|
80
79
|
lastUsedAt: string | null;
|
|
80
|
+
expiresAt: string | null;
|
|
81
81
|
}>;
|
|
82
82
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
83
83
|
scopes: ProjectScopeConfig;
|