@inkeep/agents-core 0.53.6 → 0.53.7
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 +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +2 -2
- package/dist/data-access/manage/agents.d.ts +31 -31
- package/dist/data-access/manage/artifactComponents.d.ts +20 -20
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +8 -8
- package/dist/data-access/manage/functionTools.d.ts +20 -20
- package/dist/data-access/manage/skills.d.ts +20 -20
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +21 -21
- package/dist/data-access/manage/tools.d.ts +27 -27
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +20 -20
- package/dist/data-access/runtime/conversations.d.ts +31 -31
- package/dist/data-access/runtime/messages.d.ts +27 -27
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +9 -9
- package/dist/db/manage/manage-schema.d.ts +357 -357
- package/dist/db/runtime/runtime-schema.d.ts +272 -272
- package/dist/utils/service-token-auth.d.ts +1 -1
- package/dist/utils/service-token-auth.js +2 -2
- package/dist/utils/slack-user-token.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 +1982 -1982
- package/dist/validation/schemas.js +7 -1
- package/package.json +1 -1
|
@@ -8,15 +8,15 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: ProjectScopeConfig;
|
|
9
9
|
skillId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
|
|
11
|
+
projectId: string;
|
|
12
|
+
tenantId: string;
|
|
13
|
+
description: string;
|
|
12
14
|
name: string;
|
|
15
|
+
content: string;
|
|
16
|
+
id: string;
|
|
13
17
|
createdAt: string;
|
|
14
18
|
updatedAt: string;
|
|
15
19
|
metadata: Record<string, string> | null;
|
|
16
|
-
description: string;
|
|
17
|
-
tenantId: string;
|
|
18
|
-
projectId: string;
|
|
19
|
-
content: string;
|
|
20
20
|
} | null>;
|
|
21
21
|
declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: ProjectScopeConfig;
|
|
@@ -41,26 +41,26 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
41
41
|
};
|
|
42
42
|
}>;
|
|
43
43
|
declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
44
|
-
|
|
44
|
+
projectId: string;
|
|
45
|
+
tenantId: string;
|
|
46
|
+
description: string;
|
|
45
47
|
name: string;
|
|
48
|
+
content: string;
|
|
49
|
+
id: string;
|
|
46
50
|
createdAt: string;
|
|
47
51
|
updatedAt: string;
|
|
48
52
|
metadata: Record<string, string> | null;
|
|
49
|
-
description: string;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
|
-
content: string;
|
|
53
53
|
}>;
|
|
54
54
|
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
55
|
-
|
|
55
|
+
projectId: string;
|
|
56
|
+
tenantId: string;
|
|
57
|
+
description: string;
|
|
56
58
|
name: string;
|
|
59
|
+
content: string;
|
|
60
|
+
id: string;
|
|
57
61
|
createdAt: string;
|
|
58
62
|
updatedAt: string;
|
|
59
63
|
metadata: Record<string, string> | null;
|
|
60
|
-
description: string;
|
|
61
|
-
tenantId: string;
|
|
62
|
-
projectId: string;
|
|
63
|
-
content: string;
|
|
64
64
|
}>;
|
|
65
65
|
declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
66
66
|
scopes: ProjectScopeConfig;
|
|
@@ -91,16 +91,16 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
|
|
|
91
91
|
index: number;
|
|
92
92
|
alwaysLoaded?: boolean;
|
|
93
93
|
}) => Promise<{
|
|
94
|
+
agentId: string;
|
|
95
|
+
projectId: string;
|
|
96
|
+
tenantId: string;
|
|
97
|
+
subAgentId: string;
|
|
94
98
|
id: string;
|
|
95
99
|
createdAt: string;
|
|
96
100
|
updatedAt: string;
|
|
97
|
-
|
|
98
|
-
projectId: string;
|
|
99
|
-
agentId: string;
|
|
101
|
+
skillId: string;
|
|
100
102
|
index: number;
|
|
101
103
|
alwaysLoaded: boolean;
|
|
102
|
-
skillId: string;
|
|
103
|
-
subAgentId: string;
|
|
104
104
|
}>;
|
|
105
105
|
declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
106
106
|
scopes: AgentScopeConfig;
|
|
@@ -9,15 +9,15 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
agentId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
subAgentId: string;
|
|
12
16
|
id: string;
|
|
13
17
|
createdAt: string;
|
|
14
18
|
updatedAt: string;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
|
-
agentId: string;
|
|
18
19
|
headers: Record<string, string> | null;
|
|
19
20
|
externalAgentId: string;
|
|
20
|
-
subAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
23
23
|
scopes: SubAgentScopeConfig;
|
|
@@ -44,28 +44,28 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
|
|
|
44
44
|
declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
+
agentId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
50
|
+
subAgentId: string;
|
|
47
51
|
id: string;
|
|
48
52
|
createdAt: string;
|
|
49
53
|
updatedAt: string;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
|
-
agentId: string;
|
|
53
54
|
headers: Record<string, string> | null;
|
|
54
55
|
externalAgentId: string;
|
|
55
|
-
subAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
+
agentId: string;
|
|
61
|
+
projectId: string;
|
|
62
|
+
tenantId: string;
|
|
63
|
+
subAgentId: string;
|
|
60
64
|
id: string;
|
|
61
65
|
createdAt: string;
|
|
62
66
|
updatedAt: string;
|
|
63
|
-
tenantId: string;
|
|
64
|
-
projectId: string;
|
|
65
|
-
agentId: string;
|
|
66
67
|
headers: Record<string, string> | null;
|
|
67
68
|
externalAgentId: string;
|
|
68
|
-
subAgentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
71
71
|
scopes: AgentScopeConfig;
|
|
@@ -180,15 +180,15 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
180
180
|
headers?: Record<string, string> | null;
|
|
181
181
|
};
|
|
182
182
|
}) => Promise<{
|
|
183
|
+
agentId: string;
|
|
184
|
+
projectId: string;
|
|
185
|
+
tenantId: string;
|
|
186
|
+
subAgentId: string;
|
|
183
187
|
id: string;
|
|
184
188
|
createdAt: string;
|
|
185
189
|
updatedAt: string;
|
|
186
|
-
tenantId: string;
|
|
187
|
-
projectId: string;
|
|
188
|
-
agentId: string;
|
|
189
190
|
headers: Record<string, string> | null;
|
|
190
191
|
externalAgentId: string;
|
|
191
|
-
subAgentId: string;
|
|
192
192
|
}>;
|
|
193
193
|
/**
|
|
194
194
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -197,15 +197,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
197
197
|
scopes: SubAgentScopeConfig;
|
|
198
198
|
externalAgentId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
+
agentId: string;
|
|
201
|
+
projectId: string;
|
|
202
|
+
tenantId: string;
|
|
203
|
+
subAgentId: string;
|
|
200
204
|
id: string;
|
|
201
205
|
createdAt: string;
|
|
202
206
|
updatedAt: string;
|
|
203
|
-
tenantId: string;
|
|
204
|
-
projectId: string;
|
|
205
|
-
agentId: string;
|
|
206
207
|
headers: Record<string, string> | null;
|
|
207
208
|
externalAgentId: string;
|
|
208
|
-
subAgentId: string;
|
|
209
209
|
} | undefined>;
|
|
210
210
|
/**
|
|
211
211
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -218,15 +218,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
218
218
|
headers?: Record<string, string> | null;
|
|
219
219
|
};
|
|
220
220
|
}) => Promise<{
|
|
221
|
+
agentId: string;
|
|
222
|
+
projectId: string;
|
|
223
|
+
tenantId: string;
|
|
224
|
+
subAgentId: string;
|
|
221
225
|
id: string;
|
|
222
226
|
createdAt: string;
|
|
223
227
|
updatedAt: string;
|
|
224
|
-
tenantId: string;
|
|
225
|
-
projectId: string;
|
|
226
|
-
agentId: string;
|
|
227
228
|
headers: Record<string, string> | null;
|
|
228
229
|
externalAgentId: string;
|
|
229
|
-
subAgentId: string;
|
|
230
230
|
}>;
|
|
231
231
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
232
232
|
scopes: SubAgentScopeConfig;
|
|
@@ -9,12 +9,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
agentId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
tenantId: string;
|
|
12
15
|
id: string;
|
|
13
16
|
createdAt: string;
|
|
14
17
|
updatedAt: string;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
|
-
agentId: string;
|
|
18
18
|
sourceSubAgentId: string;
|
|
19
19
|
targetSubAgentId: string | null;
|
|
20
20
|
relationType: string | null;
|
|
@@ -44,12 +44,12 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
44
44
|
declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
+
agentId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
47
50
|
id: string;
|
|
48
51
|
createdAt: string;
|
|
49
52
|
updatedAt: string;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
|
-
agentId: string;
|
|
53
53
|
sourceSubAgentId: string;
|
|
54
54
|
targetSubAgentId: string | null;
|
|
55
55
|
relationType: string | null;
|
|
@@ -57,12 +57,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
57
57
|
declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
+
agentId: string;
|
|
61
|
+
projectId: string;
|
|
62
|
+
tenantId: string;
|
|
60
63
|
id: string;
|
|
61
64
|
createdAt: string;
|
|
62
65
|
updatedAt: string;
|
|
63
|
-
tenantId: string;
|
|
64
|
-
projectId: string;
|
|
65
|
-
agentId: string;
|
|
66
66
|
sourceSubAgentId: string;
|
|
67
67
|
targetSubAgentId: string | null;
|
|
68
68
|
relationType: string | null;
|
|
@@ -126,12 +126,12 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
126
126
|
}[];
|
|
127
127
|
}>;
|
|
128
128
|
declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
129
|
+
agentId: string;
|
|
130
|
+
projectId: string;
|
|
131
|
+
tenantId: string;
|
|
129
132
|
id: string;
|
|
130
133
|
createdAt: string;
|
|
131
134
|
updatedAt: string;
|
|
132
|
-
tenantId: string;
|
|
133
|
-
projectId: string;
|
|
134
|
-
agentId: string;
|
|
135
135
|
sourceSubAgentId: string;
|
|
136
136
|
targetSubAgentId: string | null;
|
|
137
137
|
relationType: string | null;
|
|
@@ -145,12 +145,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
145
145
|
targetSubAgentId?: string;
|
|
146
146
|
relationType: string;
|
|
147
147
|
}) => Promise<{
|
|
148
|
+
agentId: string;
|
|
149
|
+
projectId: string;
|
|
150
|
+
tenantId: string;
|
|
148
151
|
id: string;
|
|
149
152
|
createdAt: string;
|
|
150
153
|
updatedAt: string;
|
|
151
|
-
tenantId: string;
|
|
152
|
-
projectId: string;
|
|
153
|
-
agentId: string;
|
|
154
154
|
sourceSubAgentId: string;
|
|
155
155
|
targetSubAgentId: string | null;
|
|
156
156
|
relationType: string | null;
|
|
@@ -159,12 +159,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
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
|
+
agentId: string;
|
|
163
|
+
projectId: string;
|
|
164
|
+
tenantId: string;
|
|
162
165
|
id: string;
|
|
163
166
|
createdAt: string;
|
|
164
167
|
updatedAt: string;
|
|
165
|
-
tenantId: string;
|
|
166
|
-
projectId: string;
|
|
167
|
-
agentId: string;
|
|
168
168
|
sourceSubAgentId: string;
|
|
169
169
|
targetSubAgentId: string | null;
|
|
170
170
|
relationType: string | null;
|
|
@@ -204,18 +204,18 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
204
204
|
}> | null;
|
|
205
205
|
};
|
|
206
206
|
}) => Promise<{
|
|
207
|
+
agentId: string;
|
|
208
|
+
projectId: string;
|
|
209
|
+
tenantId: string;
|
|
210
|
+
subAgentId: string;
|
|
207
211
|
id: string;
|
|
208
212
|
createdAt: string;
|
|
209
213
|
updatedAt: string;
|
|
210
|
-
tenantId: string;
|
|
211
|
-
projectId: string;
|
|
212
|
-
agentId: string;
|
|
213
|
-
toolId: string;
|
|
214
214
|
headers: Record<string, string> | null;
|
|
215
|
+
toolId: string;
|
|
215
216
|
toolPolicies: Record<string, {
|
|
216
217
|
needsApproval?: boolean;
|
|
217
218
|
}> | null;
|
|
218
|
-
subAgentId: string;
|
|
219
219
|
selectedTools: string[] | null;
|
|
220
220
|
}>;
|
|
221
221
|
declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -248,18 +248,18 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
248
248
|
scopes: SubAgentScopeConfig;
|
|
249
249
|
relationId: string;
|
|
250
250
|
}) => Promise<{
|
|
251
|
+
agentId: string;
|
|
252
|
+
projectId: string;
|
|
253
|
+
tenantId: string;
|
|
254
|
+
subAgentId: string;
|
|
251
255
|
id: string;
|
|
252
256
|
createdAt: string;
|
|
253
257
|
updatedAt: string;
|
|
254
|
-
tenantId: string;
|
|
255
|
-
projectId: string;
|
|
256
|
-
agentId: string;
|
|
257
|
-
toolId: string;
|
|
258
258
|
headers: Record<string, string> | null;
|
|
259
|
+
toolId: string;
|
|
259
260
|
toolPolicies: Record<string, {
|
|
260
261
|
needsApproval?: boolean;
|
|
261
262
|
}> | null;
|
|
262
|
-
subAgentId: string;
|
|
263
263
|
selectedTools: string[] | null;
|
|
264
264
|
} | undefined>;
|
|
265
265
|
declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -9,14 +9,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
agentId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
subAgentId: string;
|
|
12
16
|
id: string;
|
|
13
17
|
createdAt: string;
|
|
14
18
|
updatedAt: string;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
|
-
agentId: string;
|
|
18
19
|
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
|
+
agentId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
50
|
+
subAgentId: string;
|
|
47
51
|
id: string;
|
|
48
52
|
createdAt: string;
|
|
49
53
|
updatedAt: string;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
|
-
agentId: string;
|
|
53
54
|
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
|
+
agentId: string;
|
|
61
|
+
projectId: string;
|
|
62
|
+
tenantId: string;
|
|
63
|
+
subAgentId: string;
|
|
60
64
|
id: string;
|
|
61
65
|
createdAt: string;
|
|
62
66
|
updatedAt: string;
|
|
63
|
-
tenantId: string;
|
|
64
|
-
projectId: string;
|
|
65
|
-
agentId: string;
|
|
66
67
|
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
|
+
agentId: string;
|
|
214
|
+
projectId: string;
|
|
215
|
+
tenantId: string;
|
|
216
|
+
subAgentId: string;
|
|
213
217
|
id: string;
|
|
214
218
|
createdAt: string;
|
|
215
219
|
updatedAt: string;
|
|
216
|
-
tenantId: string;
|
|
217
|
-
projectId: string;
|
|
218
|
-
agentId: string;
|
|
219
220
|
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
|
+
agentId: string;
|
|
231
|
+
projectId: string;
|
|
232
|
+
tenantId: string;
|
|
233
|
+
subAgentId: string;
|
|
230
234
|
id: string;
|
|
231
235
|
createdAt: string;
|
|
232
236
|
updatedAt: string;
|
|
233
|
-
tenantId: string;
|
|
234
|
-
projectId: string;
|
|
235
|
-
agentId: string;
|
|
236
237
|
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
|
+
agentId: string;
|
|
252
|
+
projectId: string;
|
|
253
|
+
tenantId: string;
|
|
254
|
+
subAgentId: string;
|
|
251
255
|
id: string;
|
|
252
256
|
createdAt: string;
|
|
253
257
|
updatedAt: string;
|
|
254
|
-
tenantId: string;
|
|
255
|
-
projectId: string;
|
|
256
|
-
agentId: string;
|
|
257
258
|
headers: Record<string, string> | null;
|
|
258
|
-
subAgentId: string;
|
|
259
259
|
targetAgentId: string;
|
|
260
260
|
}>;
|
|
261
261
|
declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -9,16 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
|
|
12
|
+
agentId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
description: string | null;
|
|
13
16
|
name: string;
|
|
17
|
+
id: string;
|
|
14
18
|
createdAt: string;
|
|
15
19
|
updatedAt: string;
|
|
16
|
-
description: string | null;
|
|
17
|
-
tenantId: string;
|
|
18
|
-
projectId: string;
|
|
19
|
-
agentId: string;
|
|
20
|
-
prompt: string | null;
|
|
21
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
22
20
|
models: {
|
|
23
21
|
base?: {
|
|
24
22
|
model?: string | undefined;
|
|
@@ -36,20 +34,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
36
34
|
stopWhen: {
|
|
37
35
|
stepCountIs?: number | undefined;
|
|
38
36
|
} | null;
|
|
37
|
+
prompt: string | null;
|
|
38
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
41
41
|
scopes: AgentScopeConfig;
|
|
42
42
|
}) => Promise<{
|
|
43
|
-
|
|
43
|
+
agentId: string;
|
|
44
|
+
projectId: string;
|
|
45
|
+
tenantId: string;
|
|
46
|
+
description: string | null;
|
|
44
47
|
name: string;
|
|
48
|
+
id: string;
|
|
45
49
|
createdAt: string;
|
|
46
50
|
updatedAt: string;
|
|
47
|
-
description: string | null;
|
|
48
|
-
tenantId: string;
|
|
49
|
-
projectId: string;
|
|
50
|
-
agentId: string;
|
|
51
|
-
prompt: string | null;
|
|
52
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
53
51
|
models: {
|
|
54
52
|
base?: {
|
|
55
53
|
model?: string | undefined;
|
|
@@ -67,6 +65,8 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
67
65
|
stopWhen: {
|
|
68
66
|
stepCountIs?: number | undefined;
|
|
69
67
|
} | null;
|
|
68
|
+
prompt: string | null;
|
|
69
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
72
72
|
scopes: AgentScopeConfig;
|
|
@@ -109,16 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
109
109
|
};
|
|
110
110
|
}>;
|
|
111
111
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
112
|
-
|
|
112
|
+
agentId: string;
|
|
113
|
+
projectId: string;
|
|
114
|
+
tenantId: string;
|
|
115
|
+
description: string | null;
|
|
113
116
|
name: string;
|
|
117
|
+
id: string;
|
|
114
118
|
createdAt: string;
|
|
115
119
|
updatedAt: string;
|
|
116
|
-
description: string | null;
|
|
117
|
-
tenantId: string;
|
|
118
|
-
projectId: string;
|
|
119
|
-
agentId: string;
|
|
120
|
-
prompt: string | null;
|
|
121
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
122
120
|
models: {
|
|
123
121
|
base?: {
|
|
124
122
|
model?: string | undefined;
|
|
@@ -136,6 +134,8 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
136
134
|
stopWhen: {
|
|
137
135
|
stepCountIs?: number | undefined;
|
|
138
136
|
} | null;
|
|
137
|
+
prompt: string | null;
|
|
138
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
139
139
|
}>;
|
|
140
140
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
141
141
|
scopes: AgentScopeConfig;
|
|
@@ -19,13 +19,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
19
19
|
scopes: ProjectScopeConfig;
|
|
20
20
|
toolId: string;
|
|
21
21
|
}) => Promise<{
|
|
22
|
-
|
|
22
|
+
projectId: string;
|
|
23
|
+
tenantId: string;
|
|
24
|
+
description: string | null;
|
|
23
25
|
name: string;
|
|
26
|
+
id: string;
|
|
24
27
|
createdAt: string;
|
|
25
28
|
updatedAt: string;
|
|
26
|
-
description: string | null;
|
|
27
|
-
tenantId: string;
|
|
28
|
-
projectId: string;
|
|
29
29
|
headers: Record<string, string> | null;
|
|
30
30
|
config: {
|
|
31
31
|
type: "mcp";
|
|
@@ -77,13 +77,13 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
79
79
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
80
|
-
|
|
80
|
+
projectId: string;
|
|
81
|
+
tenantId: string;
|
|
82
|
+
description: string | null;
|
|
81
83
|
name: string;
|
|
84
|
+
id: string;
|
|
82
85
|
createdAt: string;
|
|
83
86
|
updatedAt: string;
|
|
84
|
-
description: string | null;
|
|
85
|
-
tenantId: string;
|
|
86
|
-
projectId: string;
|
|
87
87
|
headers: Record<string, string> | null;
|
|
88
88
|
config: {
|
|
89
89
|
type: "mcp";
|
|
@@ -134,18 +134,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
134
134
|
needsApproval?: boolean;
|
|
135
135
|
}> | null;
|
|
136
136
|
}) => Promise<{
|
|
137
|
+
agentId: string;
|
|
138
|
+
projectId: string;
|
|
139
|
+
tenantId: string;
|
|
140
|
+
subAgentId: string;
|
|
137
141
|
id: string;
|
|
138
142
|
createdAt: string;
|
|
139
143
|
updatedAt: string;
|
|
140
|
-
tenantId: string;
|
|
141
|
-
projectId: string;
|
|
142
|
-
agentId: string;
|
|
143
|
-
toolId: string;
|
|
144
144
|
headers: Record<string, string> | null;
|
|
145
|
+
toolId: string;
|
|
145
146
|
toolPolicies: Record<string, {
|
|
146
147
|
needsApproval?: boolean;
|
|
147
148
|
}> | null;
|
|
148
|
-
subAgentId: string;
|
|
149
149
|
selectedTools: string[] | null;
|
|
150
150
|
}>;
|
|
151
151
|
declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -153,18 +153,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
153
153
|
subAgentId: string;
|
|
154
154
|
toolId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
+
agentId: string;
|
|
157
|
+
projectId: string;
|
|
158
|
+
tenantId: string;
|
|
159
|
+
subAgentId: string;
|
|
156
160
|
id: string;
|
|
157
161
|
createdAt: string;
|
|
158
162
|
updatedAt: string;
|
|
159
|
-
tenantId: string;
|
|
160
|
-
projectId: string;
|
|
161
|
-
agentId: string;
|
|
162
|
-
toolId: string;
|
|
163
163
|
headers: Record<string, string> | null;
|
|
164
|
+
toolId: string;
|
|
164
165
|
toolPolicies: Record<string, {
|
|
165
166
|
needsApproval?: boolean;
|
|
166
167
|
}> | null;
|
|
167
|
-
subAgentId: string;
|
|
168
168
|
selectedTools: string[] | null;
|
|
169
169
|
}>;
|
|
170
170
|
/**
|
|
@@ -181,18 +181,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
181
181
|
}> | null;
|
|
182
182
|
relationId?: string;
|
|
183
183
|
}) => Promise<{
|
|
184
|
+
agentId: string;
|
|
185
|
+
projectId: string;
|
|
186
|
+
tenantId: string;
|
|
187
|
+
subAgentId: string;
|
|
184
188
|
id: string;
|
|
185
189
|
createdAt: string;
|
|
186
190
|
updatedAt: string;
|
|
187
|
-
tenantId: string;
|
|
188
|
-
projectId: string;
|
|
189
|
-
agentId: string;
|
|
190
|
-
toolId: string;
|
|
191
191
|
headers: Record<string, string> | null;
|
|
192
|
+
toolId: string;
|
|
192
193
|
toolPolicies: Record<string, {
|
|
193
194
|
needsApproval?: boolean;
|
|
194
195
|
}> | null;
|
|
195
|
-
subAgentId: string;
|
|
196
196
|
selectedTools: string[] | null;
|
|
197
197
|
}>;
|
|
198
198
|
/**
|
|
@@ -201,13 +201,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
201
201
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
202
202
|
data: ToolInsert;
|
|
203
203
|
}) => Promise<{
|
|
204
|
-
|
|
204
|
+
projectId: string;
|
|
205
|
+
tenantId: string;
|
|
206
|
+
description: string | null;
|
|
205
207
|
name: string;
|
|
208
|
+
id: string;
|
|
206
209
|
createdAt: string;
|
|
207
210
|
updatedAt: string;
|
|
208
|
-
description: string | null;
|
|
209
|
-
tenantId: string;
|
|
210
|
-
projectId: string;
|
|
211
211
|
headers: Record<string, string> | null;
|
|
212
212
|
config: {
|
|
213
213
|
type: "mcp";
|
|
@@ -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;
|