@inkeep/agents-core 0.0.0-dev-20260121155444 → 0.0.0-dev-20260121172937
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 +4 -4
- package/dist/constants/otel-attributes.d.ts +0 -1
- package/dist/constants/otel-attributes.js +0 -1
- package/dist/data-access/manage/agents.d.ts +26 -26
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- 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/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 +18 -18
- package/dist/data-access/manage/tools.d.ts +36 -36
- package/dist/data-access/runtime/apiKeys.d.ts +24 -24
- package/dist/data-access/runtime/conversations.d.ts +31 -31
- package/dist/data-access/runtime/messages.d.ts +18 -18
- package/dist/data-access/runtime/tasks.d.ts +7 -7
- package/dist/db/manage/manage-schema.d.ts +375 -375
- package/dist/db/runtime/runtime-schema.d.ts +181 -181
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/schemas.d.ts +1547 -1547
- package/package.json +1 -1
|
@@ -64,12 +64,12 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
|
|
|
64
64
|
scopes: SubAgentScopeConfig;
|
|
65
65
|
dataComponentId: string;
|
|
66
66
|
}) => Promise<{
|
|
67
|
-
tenantId: string;
|
|
68
|
-
projectId: string;
|
|
69
67
|
id: string;
|
|
70
|
-
|
|
68
|
+
tenantId: string;
|
|
71
69
|
createdAt: string;
|
|
72
70
|
subAgentId: string;
|
|
71
|
+
agentId: string;
|
|
72
|
+
projectId: string;
|
|
73
73
|
dataComponentId: string;
|
|
74
74
|
}>;
|
|
75
75
|
/**
|
|
@@ -106,12 +106,12 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
|
|
|
106
106
|
scopes: SubAgentScopeConfig;
|
|
107
107
|
dataComponentId: string;
|
|
108
108
|
}) => Promise<{
|
|
109
|
-
tenantId: string;
|
|
110
|
-
projectId: string;
|
|
111
109
|
id: string;
|
|
112
|
-
|
|
110
|
+
tenantId: string;
|
|
113
111
|
createdAt: string;
|
|
114
112
|
subAgentId: string;
|
|
113
|
+
agentId: string;
|
|
114
|
+
projectId: string;
|
|
115
115
|
dataComponentId: string;
|
|
116
116
|
} | null>;
|
|
117
117
|
/**
|
|
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
53
53
|
data: FunctionToolApiInsert;
|
|
54
54
|
scopes: AgentScopeConfig;
|
|
55
55
|
}) => Promise<{
|
|
56
|
-
description: string | null;
|
|
57
|
-
name: string;
|
|
58
|
-
tenantId: string;
|
|
59
|
-
projectId: string;
|
|
60
56
|
id: string;
|
|
61
|
-
|
|
57
|
+
tenantId: string;
|
|
62
58
|
createdAt: string;
|
|
59
|
+
name: string;
|
|
60
|
+
description: string | null;
|
|
63
61
|
updatedAt: string;
|
|
62
|
+
agentId: string;
|
|
63
|
+
projectId: 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
|
-
description: string | null;
|
|
99
|
-
name: string;
|
|
100
|
-
tenantId: string;
|
|
101
|
-
projectId: string;
|
|
102
98
|
id: string;
|
|
103
|
-
|
|
99
|
+
tenantId: string;
|
|
104
100
|
createdAt: string;
|
|
101
|
+
name: string;
|
|
102
|
+
description: string | null;
|
|
105
103
|
updatedAt: string;
|
|
104
|
+
agentId: string;
|
|
105
|
+
projectId: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -150,13 +150,13 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
150
150
|
subAgentId: string;
|
|
151
151
|
functionToolId: string;
|
|
152
152
|
}) => Promise<{
|
|
153
|
-
tenantId: string;
|
|
154
|
-
projectId: string;
|
|
155
153
|
id: string;
|
|
156
|
-
|
|
154
|
+
tenantId: string;
|
|
157
155
|
createdAt: string;
|
|
158
156
|
updatedAt: string;
|
|
159
157
|
subAgentId: string;
|
|
158
|
+
agentId: string;
|
|
159
|
+
projectId: string;
|
|
160
160
|
functionToolId: string;
|
|
161
161
|
}>;
|
|
162
162
|
/**
|
|
@@ -206,13 +206,13 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
206
206
|
subAgentId: string;
|
|
207
207
|
functionToolId: string;
|
|
208
208
|
}) => Promise<{
|
|
209
|
-
tenantId: string;
|
|
210
|
-
projectId: string;
|
|
211
209
|
id: string;
|
|
212
|
-
|
|
210
|
+
tenantId: string;
|
|
213
211
|
createdAt: string;
|
|
214
212
|
updatedAt: string;
|
|
215
213
|
subAgentId: string;
|
|
214
|
+
agentId: string;
|
|
215
|
+
projectId: string;
|
|
216
216
|
functionToolId: string;
|
|
217
217
|
}>;
|
|
218
218
|
//#endregion
|
|
@@ -8,15 +8,15 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
tenantId: string;
|
|
12
|
-
projectId: string;
|
|
13
11
|
id: string;
|
|
14
|
-
|
|
12
|
+
tenantId: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
15
|
+
subAgentId: string;
|
|
16
|
+
agentId: string;
|
|
17
|
+
projectId: string;
|
|
17
18
|
headers: Record<string, string> | null;
|
|
18
19
|
externalAgentId: string;
|
|
19
|
-
subAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: SubAgentScopeConfig;
|
|
@@ -43,28 +43,28 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
|
|
|
43
43
|
declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
tenantId: string;
|
|
47
|
-
projectId: string;
|
|
48
46
|
id: string;
|
|
49
|
-
|
|
47
|
+
tenantId: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
50
|
+
subAgentId: string;
|
|
51
|
+
agentId: string;
|
|
52
|
+
projectId: string;
|
|
52
53
|
headers: Record<string, string> | null;
|
|
53
54
|
externalAgentId: string;
|
|
54
|
-
subAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
tenantId: string;
|
|
60
|
-
projectId: string;
|
|
61
59
|
id: string;
|
|
62
|
-
|
|
60
|
+
tenantId: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
63
|
+
subAgentId: string;
|
|
64
|
+
agentId: string;
|
|
65
|
+
projectId: string;
|
|
65
66
|
headers: Record<string, string> | null;
|
|
66
67
|
externalAgentId: string;
|
|
67
|
-
subAgentId: string;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
70
70
|
scopes: AgentScopeConfig;
|
|
@@ -179,15 +179,15 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
179
179
|
headers?: Record<string, string> | null;
|
|
180
180
|
};
|
|
181
181
|
}) => Promise<{
|
|
182
|
-
tenantId: string;
|
|
183
|
-
projectId: string;
|
|
184
182
|
id: string;
|
|
185
|
-
|
|
183
|
+
tenantId: string;
|
|
186
184
|
createdAt: string;
|
|
187
185
|
updatedAt: string;
|
|
186
|
+
subAgentId: string;
|
|
187
|
+
agentId: string;
|
|
188
|
+
projectId: string;
|
|
188
189
|
headers: Record<string, string> | null;
|
|
189
190
|
externalAgentId: string;
|
|
190
|
-
subAgentId: string;
|
|
191
191
|
}>;
|
|
192
192
|
/**
|
|
193
193
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -196,15 +196,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
196
196
|
scopes: SubAgentScopeConfig;
|
|
197
197
|
externalAgentId: string;
|
|
198
198
|
}) => Promise<{
|
|
199
|
-
tenantId: string;
|
|
200
|
-
projectId: string;
|
|
201
199
|
id: string;
|
|
202
|
-
|
|
200
|
+
tenantId: string;
|
|
203
201
|
createdAt: string;
|
|
204
202
|
updatedAt: string;
|
|
203
|
+
subAgentId: string;
|
|
204
|
+
agentId: string;
|
|
205
|
+
projectId: string;
|
|
205
206
|
headers: Record<string, string> | null;
|
|
206
207
|
externalAgentId: string;
|
|
207
|
-
subAgentId: string;
|
|
208
208
|
} | undefined>;
|
|
209
209
|
/**
|
|
210
210
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -217,15 +217,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
217
217
|
headers?: Record<string, string> | null;
|
|
218
218
|
};
|
|
219
219
|
}) => Promise<{
|
|
220
|
-
tenantId: string;
|
|
221
|
-
projectId: string;
|
|
222
220
|
id: string;
|
|
223
|
-
|
|
221
|
+
tenantId: string;
|
|
224
222
|
createdAt: string;
|
|
225
223
|
updatedAt: string;
|
|
224
|
+
subAgentId: string;
|
|
225
|
+
agentId: string;
|
|
226
|
+
projectId: string;
|
|
226
227
|
headers: Record<string, string> | null;
|
|
227
228
|
externalAgentId: string;
|
|
228
|
-
subAgentId: string;
|
|
229
229
|
}>;
|
|
230
230
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
231
231
|
scopes: SubAgentScopeConfig;
|
|
@@ -8,12 +8,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
8
8
|
scopes: AgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
tenantId: string;
|
|
12
|
-
projectId: string;
|
|
13
11
|
id: string;
|
|
14
|
-
|
|
12
|
+
tenantId: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
15
|
+
agentId: string;
|
|
16
|
+
projectId: string;
|
|
17
17
|
sourceSubAgentId: string;
|
|
18
18
|
targetSubAgentId: string | null;
|
|
19
19
|
relationType: string | null;
|
|
@@ -43,12 +43,12 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
43
43
|
declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
tenantId: string;
|
|
47
|
-
projectId: string;
|
|
48
46
|
id: string;
|
|
49
|
-
|
|
47
|
+
tenantId: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
50
|
+
agentId: string;
|
|
51
|
+
projectId: string;
|
|
52
52
|
sourceSubAgentId: string;
|
|
53
53
|
targetSubAgentId: string | null;
|
|
54
54
|
relationType: string | null;
|
|
@@ -56,12 +56,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
56
56
|
declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
tenantId: string;
|
|
60
|
-
projectId: string;
|
|
61
59
|
id: string;
|
|
62
|
-
|
|
60
|
+
tenantId: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
63
|
+
agentId: string;
|
|
64
|
+
projectId: string;
|
|
65
65
|
sourceSubAgentId: string;
|
|
66
66
|
targetSubAgentId: string | null;
|
|
67
67
|
relationType: string | null;
|
|
@@ -125,12 +125,12 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
125
125
|
}[];
|
|
126
126
|
}>;
|
|
127
127
|
declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
128
|
-
tenantId: string;
|
|
129
|
-
projectId: string;
|
|
130
128
|
id: string;
|
|
131
|
-
|
|
129
|
+
tenantId: string;
|
|
132
130
|
createdAt: string;
|
|
133
131
|
updatedAt: string;
|
|
132
|
+
agentId: string;
|
|
133
|
+
projectId: string;
|
|
134
134
|
sourceSubAgentId: string;
|
|
135
135
|
targetSubAgentId: string | null;
|
|
136
136
|
relationType: string | null;
|
|
@@ -144,12 +144,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
144
144
|
targetSubAgentId?: string;
|
|
145
145
|
relationType: string;
|
|
146
146
|
}) => Promise<{
|
|
147
|
-
tenantId: string;
|
|
148
|
-
projectId: string;
|
|
149
147
|
id: string;
|
|
150
|
-
|
|
148
|
+
tenantId: string;
|
|
151
149
|
createdAt: string;
|
|
152
150
|
updatedAt: string;
|
|
151
|
+
agentId: string;
|
|
152
|
+
projectId: string;
|
|
153
153
|
sourceSubAgentId: string;
|
|
154
154
|
targetSubAgentId: string | null;
|
|
155
155
|
relationType: string | null;
|
|
@@ -158,12 +158,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
158
158
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
159
159
|
*/
|
|
160
160
|
declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
161
|
-
tenantId: string;
|
|
162
|
-
projectId: string;
|
|
163
161
|
id: string;
|
|
164
|
-
|
|
162
|
+
tenantId: string;
|
|
165
163
|
createdAt: string;
|
|
166
164
|
updatedAt: string;
|
|
165
|
+
agentId: string;
|
|
166
|
+
projectId: string;
|
|
167
167
|
sourceSubAgentId: string;
|
|
168
168
|
targetSubAgentId: string | null;
|
|
169
169
|
relationType: string | null;
|
|
@@ -203,19 +203,19 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
203
203
|
}> | null;
|
|
204
204
|
};
|
|
205
205
|
}) => Promise<{
|
|
206
|
-
tenantId: string;
|
|
207
|
-
projectId: string;
|
|
208
206
|
id: string;
|
|
209
|
-
|
|
207
|
+
tenantId: string;
|
|
210
208
|
createdAt: string;
|
|
211
209
|
updatedAt: string;
|
|
210
|
+
subAgentId: string;
|
|
211
|
+
agentId: string;
|
|
212
|
+
projectId: string;
|
|
212
213
|
toolId: string;
|
|
213
214
|
headers: Record<string, string> | null;
|
|
215
|
+
selectedTools: string[] | null;
|
|
214
216
|
toolPolicies: Record<string, {
|
|
215
217
|
needsApproval?: boolean;
|
|
216
218
|
}> | null;
|
|
217
|
-
subAgentId: string;
|
|
218
|
-
selectedTools: string[] | null;
|
|
219
219
|
}>;
|
|
220
220
|
declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
221
221
|
scopes: AgentScopeConfig;
|
|
@@ -247,19 +247,19 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
247
247
|
scopes: SubAgentScopeConfig;
|
|
248
248
|
relationId: string;
|
|
249
249
|
}) => Promise<{
|
|
250
|
-
tenantId: string;
|
|
251
|
-
projectId: string;
|
|
252
250
|
id: string;
|
|
253
|
-
|
|
251
|
+
tenantId: string;
|
|
254
252
|
createdAt: string;
|
|
255
253
|
updatedAt: string;
|
|
254
|
+
subAgentId: string;
|
|
255
|
+
agentId: string;
|
|
256
|
+
projectId: string;
|
|
256
257
|
toolId: string;
|
|
257
258
|
headers: Record<string, string> | null;
|
|
259
|
+
selectedTools: string[] | null;
|
|
258
260
|
toolPolicies: Record<string, {
|
|
259
261
|
needsApproval?: boolean;
|
|
260
262
|
}> | null;
|
|
261
|
-
subAgentId: string;
|
|
262
|
-
selectedTools: string[] | null;
|
|
263
263
|
} | undefined>;
|
|
264
264
|
declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
265
265
|
scopes: SubAgentScopeConfig;
|
|
@@ -8,14 +8,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
tenantId: string;
|
|
12
|
-
projectId: string;
|
|
13
11
|
id: string;
|
|
14
|
-
|
|
12
|
+
tenantId: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
17
|
-
headers: Record<string, string> | null;
|
|
18
15
|
subAgentId: string;
|
|
16
|
+
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
headers: Record<string, string> | null;
|
|
19
19
|
targetAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -43,27 +43,27 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
43
43
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
tenantId: string;
|
|
47
|
-
projectId: string;
|
|
48
46
|
id: string;
|
|
49
|
-
|
|
47
|
+
tenantId: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
|
-
headers: Record<string, string> | null;
|
|
53
50
|
subAgentId: string;
|
|
51
|
+
agentId: string;
|
|
52
|
+
projectId: string;
|
|
53
|
+
headers: Record<string, string> | null;
|
|
54
54
|
targetAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
tenantId: string;
|
|
60
|
-
projectId: string;
|
|
61
59
|
id: string;
|
|
62
|
-
|
|
60
|
+
tenantId: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
65
|
-
headers: Record<string, string> | null;
|
|
66
63
|
subAgentId: string;
|
|
64
|
+
agentId: string;
|
|
65
|
+
projectId: string;
|
|
66
|
+
headers: Record<string, string> | null;
|
|
67
67
|
targetAgentId: string;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -209,14 +209,14 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
209
209
|
headers?: Record<string, string> | null;
|
|
210
210
|
};
|
|
211
211
|
}) => Promise<{
|
|
212
|
-
tenantId: string;
|
|
213
|
-
projectId: string;
|
|
214
212
|
id: string;
|
|
215
|
-
|
|
213
|
+
tenantId: string;
|
|
216
214
|
createdAt: string;
|
|
217
215
|
updatedAt: string;
|
|
218
|
-
headers: Record<string, string> | null;
|
|
219
216
|
subAgentId: string;
|
|
217
|
+
agentId: string;
|
|
218
|
+
projectId: string;
|
|
219
|
+
headers: Record<string, string> | null;
|
|
220
220
|
targetAgentId: string;
|
|
221
221
|
}>;
|
|
222
222
|
/**
|
|
@@ -226,14 +226,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
226
226
|
scopes: SubAgentScopeConfig;
|
|
227
227
|
targetAgentId: string;
|
|
228
228
|
}) => Promise<{
|
|
229
|
-
tenantId: string;
|
|
230
|
-
projectId: string;
|
|
231
229
|
id: string;
|
|
232
|
-
|
|
230
|
+
tenantId: string;
|
|
233
231
|
createdAt: string;
|
|
234
232
|
updatedAt: string;
|
|
235
|
-
headers: Record<string, string> | null;
|
|
236
233
|
subAgentId: string;
|
|
234
|
+
agentId: string;
|
|
235
|
+
projectId: string;
|
|
236
|
+
headers: Record<string, string> | null;
|
|
237
237
|
targetAgentId: string;
|
|
238
238
|
} | undefined>;
|
|
239
239
|
/**
|
|
@@ -247,14 +247,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
247
247
|
headers?: Record<string, string> | null;
|
|
248
248
|
};
|
|
249
249
|
}) => Promise<{
|
|
250
|
-
tenantId: string;
|
|
251
|
-
projectId: string;
|
|
252
250
|
id: string;
|
|
253
|
-
|
|
251
|
+
tenantId: string;
|
|
254
252
|
createdAt: string;
|
|
255
253
|
updatedAt: string;
|
|
256
|
-
headers: Record<string, string> | null;
|
|
257
254
|
subAgentId: string;
|
|
255
|
+
agentId: string;
|
|
256
|
+
projectId: string;
|
|
257
|
+
headers: Record<string, string> | null;
|
|
258
258
|
targetAgentId: string;
|
|
259
259
|
}>;
|
|
260
260
|
declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -8,15 +8,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: AgentScopeConfig;
|
|
9
9
|
subAgentId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
description: string | null;
|
|
12
|
-
name: string;
|
|
13
|
-
tenantId: string;
|
|
14
|
-
projectId: string;
|
|
15
11
|
id: string;
|
|
16
|
-
|
|
17
|
-
agentId: string;
|
|
12
|
+
tenantId: string;
|
|
18
13
|
createdAt: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string | null;
|
|
19
16
|
updatedAt: string;
|
|
17
|
+
agentId: string;
|
|
18
|
+
projectId: string;
|
|
20
19
|
models: {
|
|
21
20
|
base?: {
|
|
22
21
|
model?: string | undefined;
|
|
@@ -34,20 +33,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
34
33
|
stopWhen: {
|
|
35
34
|
stepCountIs?: number | undefined;
|
|
36
35
|
} | null;
|
|
36
|
+
prompt: string | null;
|
|
37
37
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
38
38
|
} | undefined>;
|
|
39
39
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
40
40
|
scopes: AgentScopeConfig;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
description: string | null;
|
|
43
|
-
name: string;
|
|
44
|
-
tenantId: string;
|
|
45
|
-
projectId: string;
|
|
46
42
|
id: string;
|
|
47
|
-
|
|
48
|
-
agentId: string;
|
|
43
|
+
tenantId: string;
|
|
49
44
|
createdAt: string;
|
|
45
|
+
name: string;
|
|
46
|
+
description: string | null;
|
|
50
47
|
updatedAt: string;
|
|
48
|
+
agentId: string;
|
|
49
|
+
projectId: string;
|
|
51
50
|
models: {
|
|
52
51
|
base?: {
|
|
53
52
|
model?: string | undefined;
|
|
@@ -65,6 +64,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
65
64
|
stopWhen: {
|
|
66
65
|
stepCountIs?: number | undefined;
|
|
67
66
|
} | null;
|
|
67
|
+
prompt: string | null;
|
|
68
68
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -108,15 +108,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
108
108
|
};
|
|
109
109
|
}>;
|
|
110
110
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
111
|
-
description: string | null;
|
|
112
|
-
name: string;
|
|
113
|
-
tenantId: string;
|
|
114
|
-
projectId: string;
|
|
115
111
|
id: string;
|
|
116
|
-
|
|
117
|
-
agentId: string;
|
|
112
|
+
tenantId: string;
|
|
118
113
|
createdAt: string;
|
|
114
|
+
name: string;
|
|
115
|
+
description: string | null;
|
|
119
116
|
updatedAt: string;
|
|
117
|
+
agentId: string;
|
|
118
|
+
projectId: string;
|
|
120
119
|
models: {
|
|
121
120
|
base?: {
|
|
122
121
|
model?: string | undefined;
|
|
@@ -134,6 +133,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
134
133
|
stopWhen: {
|
|
135
134
|
stepCountIs?: number | undefined;
|
|
136
135
|
} | null;
|
|
136
|
+
prompt: string | null;
|
|
137
137
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
138
138
|
}>;
|
|
139
139
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|