@inkeep/agents-core 0.0.0-dev-20260225194742 → 0.0.0-dev-20260225215837
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 +4 -4
- package/dist/data-access/manage/agents.d.ts +37 -37
- package/dist/data-access/manage/artifactComponents.d.ts +16 -16
- package/dist/data-access/manage/contextConfigs.d.ts +20 -20
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +16 -16
- package/dist/data-access/manage/skills.d.ts +16 -16
- 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 +15 -15
- package/dist/data-access/manage/tools.d.ts +27 -27
- package/dist/data-access/manage/triggers.d.ts +1 -1
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/conversations.d.ts +27 -27
- 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 +7 -7
- package/dist/db/manage/manage-schema.d.ts +447 -447
- package/dist/db/runtime/runtime-schema.d.ts +300 -300
- package/dist/utils/error.d.ts +51 -51
- 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 +1829 -1829
- package/package.json +1 -1
|
@@ -9,14 +9,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
skillId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
11
|
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
tenantId: string;
|
|
14
|
+
projectId: string;
|
|
15
|
+
content: string;
|
|
12
16
|
id: string;
|
|
13
17
|
createdAt: string;
|
|
14
18
|
updatedAt: string;
|
|
15
|
-
projectId: string;
|
|
16
|
-
tenantId: string;
|
|
17
|
-
description: string;
|
|
18
19
|
metadata: Record<string, string> | null;
|
|
19
|
-
content: string;
|
|
20
20
|
} | null>;
|
|
21
21
|
declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: ProjectScopeConfig;
|
|
@@ -42,25 +42,25 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
42
42
|
}>;
|
|
43
43
|
declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
44
44
|
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
tenantId: string;
|
|
47
|
+
projectId: string;
|
|
48
|
+
content: string;
|
|
45
49
|
id: string;
|
|
46
50
|
createdAt: string;
|
|
47
51
|
updatedAt: string;
|
|
48
|
-
projectId: string;
|
|
49
|
-
tenantId: string;
|
|
50
|
-
description: string;
|
|
51
52
|
metadata: Record<string, string> | null;
|
|
52
|
-
content: string;
|
|
53
53
|
}>;
|
|
54
54
|
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
55
55
|
name: string;
|
|
56
|
+
description: string;
|
|
57
|
+
tenantId: string;
|
|
58
|
+
projectId: string;
|
|
59
|
+
content: string;
|
|
56
60
|
id: string;
|
|
57
61
|
createdAt: string;
|
|
58
62
|
updatedAt: string;
|
|
59
|
-
projectId: string;
|
|
60
|
-
tenantId: string;
|
|
61
|
-
description: string;
|
|
62
63
|
metadata: Record<string, string> | null;
|
|
63
|
-
content: string;
|
|
64
64
|
}>;
|
|
65
65
|
declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
66
66
|
scopes: ProjectScopeConfig;
|
|
@@ -91,13 +91,13 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
|
|
|
91
91
|
index: number;
|
|
92
92
|
alwaysLoaded?: boolean;
|
|
93
93
|
}) => Promise<{
|
|
94
|
-
|
|
95
|
-
createdAt: string;
|
|
96
|
-
updatedAt: string;
|
|
94
|
+
tenantId: string;
|
|
97
95
|
agentId: string;
|
|
98
96
|
projectId: string;
|
|
99
|
-
tenantId: string;
|
|
100
97
|
subAgentId: string;
|
|
98
|
+
id: string;
|
|
99
|
+
createdAt: string;
|
|
100
|
+
updatedAt: string;
|
|
101
101
|
skillId: string;
|
|
102
102
|
index: number;
|
|
103
103
|
alwaysLoaded: boolean;
|
|
@@ -9,13 +9,13 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
12
|
+
tenantId: string;
|
|
15
13
|
agentId: string;
|
|
16
14
|
projectId: string;
|
|
17
|
-
tenantId: string;
|
|
18
15
|
subAgentId: string;
|
|
16
|
+
id: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
19
|
headers: Record<string, string> | null;
|
|
20
20
|
externalAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
@@ -44,26 +44,26 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
|
|
|
44
44
|
declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
|
|
48
|
-
createdAt: string;
|
|
49
|
-
updatedAt: string;
|
|
47
|
+
tenantId: string;
|
|
50
48
|
agentId: string;
|
|
51
49
|
projectId: string;
|
|
52
|
-
tenantId: string;
|
|
53
50
|
subAgentId: string;
|
|
51
|
+
id: string;
|
|
52
|
+
createdAt: string;
|
|
53
|
+
updatedAt: string;
|
|
54
54
|
headers: Record<string, string> | null;
|
|
55
55
|
externalAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
|
|
61
|
-
createdAt: string;
|
|
62
|
-
updatedAt: string;
|
|
60
|
+
tenantId: string;
|
|
63
61
|
agentId: string;
|
|
64
62
|
projectId: string;
|
|
65
|
-
tenantId: string;
|
|
66
63
|
subAgentId: string;
|
|
64
|
+
id: string;
|
|
65
|
+
createdAt: string;
|
|
66
|
+
updatedAt: string;
|
|
67
67
|
headers: Record<string, string> | null;
|
|
68
68
|
externalAgentId: string;
|
|
69
69
|
}[]>;
|
|
@@ -180,13 +180,13 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
180
180
|
headers?: Record<string, string> | null;
|
|
181
181
|
};
|
|
182
182
|
}) => Promise<{
|
|
183
|
-
|
|
184
|
-
createdAt: string;
|
|
185
|
-
updatedAt: string;
|
|
183
|
+
tenantId: string;
|
|
186
184
|
agentId: string;
|
|
187
185
|
projectId: string;
|
|
188
|
-
tenantId: string;
|
|
189
186
|
subAgentId: string;
|
|
187
|
+
id: string;
|
|
188
|
+
createdAt: string;
|
|
189
|
+
updatedAt: string;
|
|
190
190
|
headers: Record<string, string> | null;
|
|
191
191
|
externalAgentId: string;
|
|
192
192
|
}>;
|
|
@@ -197,13 +197,13 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
197
197
|
scopes: SubAgentScopeConfig;
|
|
198
198
|
externalAgentId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
|
|
201
|
-
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
200
|
+
tenantId: string;
|
|
203
201
|
agentId: string;
|
|
204
202
|
projectId: string;
|
|
205
|
-
tenantId: string;
|
|
206
203
|
subAgentId: string;
|
|
204
|
+
id: string;
|
|
205
|
+
createdAt: string;
|
|
206
|
+
updatedAt: string;
|
|
207
207
|
headers: Record<string, string> | null;
|
|
208
208
|
externalAgentId: string;
|
|
209
209
|
} | undefined>;
|
|
@@ -218,13 +218,13 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
218
218
|
headers?: Record<string, string> | null;
|
|
219
219
|
};
|
|
220
220
|
}) => Promise<{
|
|
221
|
-
|
|
222
|
-
createdAt: string;
|
|
223
|
-
updatedAt: string;
|
|
221
|
+
tenantId: string;
|
|
224
222
|
agentId: string;
|
|
225
223
|
projectId: string;
|
|
226
|
-
tenantId: string;
|
|
227
224
|
subAgentId: string;
|
|
225
|
+
id: string;
|
|
226
|
+
createdAt: string;
|
|
227
|
+
updatedAt: string;
|
|
228
228
|
headers: Record<string, string> | null;
|
|
229
229
|
externalAgentId: string;
|
|
230
230
|
}>;
|
|
@@ -9,12 +9,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
tenantId: string;
|
|
13
|
+
agentId: string;
|
|
14
|
+
projectId: string;
|
|
12
15
|
id: string;
|
|
13
16
|
createdAt: string;
|
|
14
17
|
updatedAt: string;
|
|
15
|
-
agentId: string;
|
|
16
|
-
projectId: string;
|
|
17
|
-
tenantId: 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
|
+
tenantId: string;
|
|
48
|
+
agentId: string;
|
|
49
|
+
projectId: string;
|
|
47
50
|
id: string;
|
|
48
51
|
createdAt: string;
|
|
49
52
|
updatedAt: string;
|
|
50
|
-
agentId: string;
|
|
51
|
-
projectId: string;
|
|
52
|
-
tenantId: 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
|
+
tenantId: string;
|
|
61
|
+
agentId: string;
|
|
62
|
+
projectId: string;
|
|
60
63
|
id: string;
|
|
61
64
|
createdAt: string;
|
|
62
65
|
updatedAt: string;
|
|
63
|
-
agentId: string;
|
|
64
|
-
projectId: string;
|
|
65
|
-
tenantId: 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
|
+
tenantId: string;
|
|
130
|
+
agentId: string;
|
|
131
|
+
projectId: string;
|
|
129
132
|
id: string;
|
|
130
133
|
createdAt: string;
|
|
131
134
|
updatedAt: string;
|
|
132
|
-
agentId: string;
|
|
133
|
-
projectId: string;
|
|
134
|
-
tenantId: 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
|
+
tenantId: string;
|
|
149
|
+
agentId: string;
|
|
150
|
+
projectId: string;
|
|
148
151
|
id: string;
|
|
149
152
|
createdAt: string;
|
|
150
153
|
updatedAt: string;
|
|
151
|
-
agentId: string;
|
|
152
|
-
projectId: string;
|
|
153
|
-
tenantId: 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
|
+
tenantId: string;
|
|
163
|
+
agentId: string;
|
|
164
|
+
projectId: string;
|
|
162
165
|
id: string;
|
|
163
166
|
createdAt: string;
|
|
164
167
|
updatedAt: string;
|
|
165
|
-
agentId: string;
|
|
166
|
-
projectId: string;
|
|
167
|
-
tenantId: string;
|
|
168
168
|
sourceSubAgentId: string;
|
|
169
169
|
targetSubAgentId: string | null;
|
|
170
170
|
relationType: string | null;
|
|
@@ -204,15 +204,15 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
204
204
|
}> | null;
|
|
205
205
|
};
|
|
206
206
|
}) => Promise<{
|
|
207
|
-
|
|
208
|
-
createdAt: string;
|
|
209
|
-
updatedAt: string;
|
|
207
|
+
tenantId: string;
|
|
210
208
|
agentId: string;
|
|
211
209
|
projectId: string;
|
|
212
|
-
tenantId: string;
|
|
213
210
|
subAgentId: string;
|
|
214
|
-
|
|
211
|
+
id: string;
|
|
212
|
+
createdAt: string;
|
|
213
|
+
updatedAt: string;
|
|
215
214
|
toolId: string;
|
|
215
|
+
headers: Record<string, string> | null;
|
|
216
216
|
selectedTools: string[] | null;
|
|
217
217
|
toolPolicies: Record<string, {
|
|
218
218
|
needsApproval?: boolean;
|
|
@@ -248,15 +248,15 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
248
248
|
scopes: SubAgentScopeConfig;
|
|
249
249
|
relationId: string;
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
|
|
252
|
-
createdAt: string;
|
|
253
|
-
updatedAt: string;
|
|
251
|
+
tenantId: string;
|
|
254
252
|
agentId: string;
|
|
255
253
|
projectId: string;
|
|
256
|
-
tenantId: string;
|
|
257
254
|
subAgentId: string;
|
|
258
|
-
|
|
255
|
+
id: string;
|
|
256
|
+
createdAt: string;
|
|
257
|
+
updatedAt: string;
|
|
259
258
|
toolId: string;
|
|
259
|
+
headers: Record<string, string> | null;
|
|
260
260
|
selectedTools: string[] | null;
|
|
261
261
|
toolPolicies: Record<string, {
|
|
262
262
|
needsApproval?: boolean;
|
|
@@ -9,13 +9,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
12
|
+
tenantId: string;
|
|
15
13
|
agentId: string;
|
|
16
14
|
projectId: string;
|
|
17
|
-
tenantId: string;
|
|
18
15
|
subAgentId: string;
|
|
16
|
+
id: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
19
|
headers: Record<string, string> | null;
|
|
20
20
|
targetAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
@@ -44,26 +44,26 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
44
44
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
|
|
48
|
-
createdAt: string;
|
|
49
|
-
updatedAt: string;
|
|
47
|
+
tenantId: string;
|
|
50
48
|
agentId: string;
|
|
51
49
|
projectId: string;
|
|
52
|
-
tenantId: string;
|
|
53
50
|
subAgentId: string;
|
|
51
|
+
id: string;
|
|
52
|
+
createdAt: string;
|
|
53
|
+
updatedAt: string;
|
|
54
54
|
headers: Record<string, string> | null;
|
|
55
55
|
targetAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
|
|
61
|
-
createdAt: string;
|
|
62
|
-
updatedAt: string;
|
|
60
|
+
tenantId: string;
|
|
63
61
|
agentId: string;
|
|
64
62
|
projectId: string;
|
|
65
|
-
tenantId: string;
|
|
66
63
|
subAgentId: string;
|
|
64
|
+
id: string;
|
|
65
|
+
createdAt: string;
|
|
66
|
+
updatedAt: string;
|
|
67
67
|
headers: Record<string, string> | null;
|
|
68
68
|
targetAgentId: string;
|
|
69
69
|
}[]>;
|
|
@@ -210,13 +210,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
210
210
|
headers?: Record<string, string> | null;
|
|
211
211
|
};
|
|
212
212
|
}) => Promise<{
|
|
213
|
-
|
|
214
|
-
createdAt: string;
|
|
215
|
-
updatedAt: string;
|
|
213
|
+
tenantId: string;
|
|
216
214
|
agentId: string;
|
|
217
215
|
projectId: string;
|
|
218
|
-
tenantId: string;
|
|
219
216
|
subAgentId: string;
|
|
217
|
+
id: string;
|
|
218
|
+
createdAt: string;
|
|
219
|
+
updatedAt: string;
|
|
220
220
|
headers: Record<string, string> | null;
|
|
221
221
|
targetAgentId: string;
|
|
222
222
|
}>;
|
|
@@ -227,13 +227,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
227
227
|
scopes: SubAgentScopeConfig;
|
|
228
228
|
targetAgentId: string;
|
|
229
229
|
}) => Promise<{
|
|
230
|
-
|
|
231
|
-
createdAt: string;
|
|
232
|
-
updatedAt: string;
|
|
230
|
+
tenantId: string;
|
|
233
231
|
agentId: string;
|
|
234
232
|
projectId: string;
|
|
235
|
-
tenantId: string;
|
|
236
233
|
subAgentId: string;
|
|
234
|
+
id: string;
|
|
235
|
+
createdAt: string;
|
|
236
|
+
updatedAt: string;
|
|
237
237
|
headers: Record<string, string> | null;
|
|
238
238
|
targetAgentId: string;
|
|
239
239
|
} | undefined>;
|
|
@@ -248,13 +248,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
248
248
|
headers?: Record<string, string> | null;
|
|
249
249
|
};
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
|
|
252
|
-
createdAt: string;
|
|
253
|
-
updatedAt: string;
|
|
251
|
+
tenantId: string;
|
|
254
252
|
agentId: string;
|
|
255
253
|
projectId: string;
|
|
256
|
-
tenantId: string;
|
|
257
254
|
subAgentId: string;
|
|
255
|
+
id: string;
|
|
256
|
+
createdAt: string;
|
|
257
|
+
updatedAt: string;
|
|
258
258
|
headers: Record<string, string> | null;
|
|
259
259
|
targetAgentId: string;
|
|
260
260
|
}>;
|
|
@@ -10,13 +10,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
name: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
agentId: string;
|
|
16
|
+
projectId: string;
|
|
13
17
|
id: string;
|
|
14
18
|
createdAt: string;
|
|
15
19
|
updatedAt: string;
|
|
16
|
-
agentId: string;
|
|
17
|
-
projectId: string;
|
|
18
|
-
tenantId: string;
|
|
19
|
-
description: string | 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, any> | undefined;
|
|
32
32
|
} | undefined;
|
|
33
33
|
} | null;
|
|
34
|
-
prompt: string | null;
|
|
35
34
|
stopWhen: {
|
|
36
35
|
stepCountIs?: number | undefined;
|
|
37
36
|
} | null;
|
|
37
|
+
prompt: string | null;
|
|
38
38
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
41
41
|
scopes: AgentScopeConfig;
|
|
42
42
|
}) => Promise<{
|
|
43
43
|
name: string;
|
|
44
|
+
description: string | null;
|
|
45
|
+
tenantId: string;
|
|
46
|
+
agentId: string;
|
|
47
|
+
projectId: string;
|
|
44
48
|
id: string;
|
|
45
49
|
createdAt: string;
|
|
46
50
|
updatedAt: string;
|
|
47
|
-
agentId: string;
|
|
48
|
-
projectId: string;
|
|
49
|
-
tenantId: string;
|
|
50
|
-
description: string | null;
|
|
51
51
|
models: {
|
|
52
52
|
base?: {
|
|
53
53
|
model?: string | undefined;
|
|
@@ -62,10 +62,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
62
62
|
providerOptions?: Record<string, any> | undefined;
|
|
63
63
|
} | undefined;
|
|
64
64
|
} | null;
|
|
65
|
-
prompt: string | null;
|
|
66
65
|
stopWhen: {
|
|
67
66
|
stepCountIs?: number | undefined;
|
|
68
67
|
} | null;
|
|
68
|
+
prompt: string | null;
|
|
69
69
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -110,13 +110,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
110
110
|
}>;
|
|
111
111
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
112
112
|
name: string;
|
|
113
|
+
description: string | null;
|
|
114
|
+
tenantId: string;
|
|
115
|
+
agentId: string;
|
|
116
|
+
projectId: string;
|
|
113
117
|
id: string;
|
|
114
118
|
createdAt: string;
|
|
115
119
|
updatedAt: string;
|
|
116
|
-
agentId: string;
|
|
117
|
-
projectId: string;
|
|
118
|
-
tenantId: string;
|
|
119
|
-
description: string | null;
|
|
120
120
|
models: {
|
|
121
121
|
base?: {
|
|
122
122
|
model?: string | undefined;
|
|
@@ -131,10 +131,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
131
131
|
providerOptions?: Record<string, any> | undefined;
|
|
132
132
|
} | undefined;
|
|
133
133
|
} | null;
|
|
134
|
-
prompt: string | null;
|
|
135
134
|
stopWhen: {
|
|
136
135
|
stepCountIs?: number | undefined;
|
|
137
136
|
} | null;
|
|
137
|
+
prompt: string | null;
|
|
138
138
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
139
139
|
}>;
|
|
140
140
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -20,17 +20,17 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
20
20
|
toolId: string;
|
|
21
21
|
}) => Promise<{
|
|
22
22
|
name: string;
|
|
23
|
+
description: string | null;
|
|
24
|
+
tenantId: string;
|
|
25
|
+
projectId: string;
|
|
23
26
|
id: string;
|
|
24
27
|
createdAt: string;
|
|
25
28
|
updatedAt: string;
|
|
26
|
-
|
|
27
|
-
tenantId: string;
|
|
28
|
-
description: string | null;
|
|
29
|
+
credentialReferenceId: string | null;
|
|
29
30
|
config: {
|
|
30
31
|
type: "mcp";
|
|
31
32
|
mcp: ToolMcpConfig;
|
|
32
33
|
};
|
|
33
|
-
credentialReferenceId: string | null;
|
|
34
34
|
credentialScope: string;
|
|
35
35
|
headers: Record<string, string> | null;
|
|
36
36
|
imageUrl: string | null;
|
|
@@ -78,17 +78,17 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
78
78
|
}>;
|
|
79
79
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
80
80
|
name: string;
|
|
81
|
+
description: string | null;
|
|
82
|
+
tenantId: string;
|
|
83
|
+
projectId: string;
|
|
81
84
|
id: string;
|
|
82
85
|
createdAt: string;
|
|
83
86
|
updatedAt: string;
|
|
84
|
-
|
|
85
|
-
tenantId: string;
|
|
86
|
-
description: string | null;
|
|
87
|
+
credentialReferenceId: string | null;
|
|
87
88
|
config: {
|
|
88
89
|
type: "mcp";
|
|
89
90
|
mcp: ToolMcpConfig;
|
|
90
91
|
};
|
|
91
|
-
credentialReferenceId: string | null;
|
|
92
92
|
credentialScope: string;
|
|
93
93
|
headers: Record<string, string> | null;
|
|
94
94
|
imageUrl: string | null;
|
|
@@ -134,15 +134,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
134
134
|
needsApproval?: boolean;
|
|
135
135
|
}> | null;
|
|
136
136
|
}) => Promise<{
|
|
137
|
-
|
|
138
|
-
createdAt: string;
|
|
139
|
-
updatedAt: string;
|
|
137
|
+
tenantId: string;
|
|
140
138
|
agentId: string;
|
|
141
139
|
projectId: string;
|
|
142
|
-
tenantId: string;
|
|
143
140
|
subAgentId: string;
|
|
144
|
-
|
|
141
|
+
id: string;
|
|
142
|
+
createdAt: string;
|
|
143
|
+
updatedAt: string;
|
|
145
144
|
toolId: string;
|
|
145
|
+
headers: Record<string, string> | null;
|
|
146
146
|
selectedTools: string[] | null;
|
|
147
147
|
toolPolicies: Record<string, {
|
|
148
148
|
needsApproval?: boolean;
|
|
@@ -153,15 +153,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
153
153
|
subAgentId: string;
|
|
154
154
|
toolId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
-
|
|
157
|
-
createdAt: string;
|
|
158
|
-
updatedAt: string;
|
|
156
|
+
tenantId: string;
|
|
159
157
|
agentId: string;
|
|
160
158
|
projectId: string;
|
|
161
|
-
tenantId: string;
|
|
162
159
|
subAgentId: string;
|
|
163
|
-
|
|
160
|
+
id: string;
|
|
161
|
+
createdAt: string;
|
|
162
|
+
updatedAt: string;
|
|
164
163
|
toolId: string;
|
|
164
|
+
headers: Record<string, string> | null;
|
|
165
165
|
selectedTools: string[] | null;
|
|
166
166
|
toolPolicies: Record<string, {
|
|
167
167
|
needsApproval?: boolean;
|
|
@@ -181,15 +181,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
181
181
|
}> | null;
|
|
182
182
|
relationId?: string;
|
|
183
183
|
}) => Promise<{
|
|
184
|
-
|
|
185
|
-
createdAt: string;
|
|
186
|
-
updatedAt: string;
|
|
184
|
+
tenantId: string;
|
|
187
185
|
agentId: string;
|
|
188
186
|
projectId: string;
|
|
189
|
-
tenantId: string;
|
|
190
187
|
subAgentId: string;
|
|
191
|
-
|
|
188
|
+
id: string;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
updatedAt: string;
|
|
192
191
|
toolId: string;
|
|
192
|
+
headers: Record<string, string> | null;
|
|
193
193
|
selectedTools: string[] | null;
|
|
194
194
|
toolPolicies: Record<string, {
|
|
195
195
|
needsApproval?: boolean;
|
|
@@ -202,17 +202,17 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
202
202
|
data: ToolInsert;
|
|
203
203
|
}) => Promise<{
|
|
204
204
|
name: string;
|
|
205
|
+
description: string | null;
|
|
206
|
+
tenantId: string;
|
|
207
|
+
projectId: string;
|
|
205
208
|
id: string;
|
|
206
209
|
createdAt: string;
|
|
207
210
|
updatedAt: string;
|
|
208
|
-
|
|
209
|
-
tenantId: string;
|
|
210
|
-
description: string | null;
|
|
211
|
+
credentialReferenceId: string | null;
|
|
211
212
|
config: {
|
|
212
213
|
type: "mcp";
|
|
213
214
|
mcp: ToolMcpConfig;
|
|
214
215
|
};
|
|
215
|
-
credentialReferenceId: string | null;
|
|
216
216
|
credentialScope: string;
|
|
217
217
|
headers: Record<string, string> | null;
|
|
218
218
|
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;
|