@inkeep/agents-core 0.0.0-dev-20260205001322 → 0.0.0-dev-20260205075846
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 +2 -3
- package/dist/data-access/manage/agents.d.ts +21 -21
- package/dist/data-access/manage/artifactComponents.d.ts +12 -12
- 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 +36 -36
- 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 +36 -36
- 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 +24 -24
- package/dist/data-access/runtime/messages.d.ts +27 -27
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +382 -382
- package/dist/db/runtime/runtime-schema.d.ts +232 -232
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1601 -1601
- package/package.json +2 -2
|
@@ -64,12 +64,12 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
|
|
|
64
64
|
scopes: SubAgentScopeConfig;
|
|
65
65
|
dataComponentId: string;
|
|
66
66
|
}) => Promise<{
|
|
67
|
+
subAgentId: string;
|
|
68
|
+
id: string;
|
|
69
|
+
createdAt: string;
|
|
67
70
|
tenantId: string;
|
|
68
71
|
projectId: string;
|
|
69
|
-
id: string;
|
|
70
72
|
agentId: string;
|
|
71
|
-
createdAt: string;
|
|
72
|
-
subAgentId: 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
|
+
subAgentId: string;
|
|
110
|
+
id: string;
|
|
111
|
+
createdAt: string;
|
|
109
112
|
tenantId: string;
|
|
110
113
|
projectId: string;
|
|
111
|
-
id: string;
|
|
112
114
|
agentId: string;
|
|
113
|
-
createdAt: string;
|
|
114
|
-
subAgentId: 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
|
-
tenantId: string;
|
|
57
|
-
projectId: string;
|
|
58
56
|
id: string;
|
|
59
57
|
name: string;
|
|
60
|
-
description: string | null;
|
|
61
|
-
agentId: string;
|
|
62
58
|
createdAt: string;
|
|
63
59
|
updatedAt: string;
|
|
60
|
+
description: string | null;
|
|
61
|
+
tenantId: string;
|
|
62
|
+
projectId: string;
|
|
63
|
+
agentId: string;
|
|
64
64
|
functionId: string;
|
|
65
65
|
}>;
|
|
66
66
|
/**
|
|
@@ -95,14 +95,14 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
95
95
|
data: FunctionToolApiInsert;
|
|
96
96
|
scopes: AgentScopeConfig;
|
|
97
97
|
}) => Promise<{
|
|
98
|
-
tenantId: string;
|
|
99
|
-
projectId: string;
|
|
100
98
|
id: string;
|
|
101
99
|
name: string;
|
|
102
|
-
description: string | null;
|
|
103
|
-
agentId: string;
|
|
104
100
|
createdAt: string;
|
|
105
101
|
updatedAt: string;
|
|
102
|
+
description: string | null;
|
|
103
|
+
tenantId: string;
|
|
104
|
+
projectId: string;
|
|
105
|
+
agentId: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -161,16 +161,16 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
161
161
|
needsApproval?: boolean;
|
|
162
162
|
}> | null;
|
|
163
163
|
}) => Promise<{
|
|
164
|
-
|
|
165
|
-
projectId: string;
|
|
164
|
+
subAgentId: string;
|
|
166
165
|
id: string;
|
|
167
|
-
agentId: string;
|
|
168
166
|
createdAt: string;
|
|
169
167
|
updatedAt: string;
|
|
168
|
+
tenantId: string;
|
|
169
|
+
projectId: string;
|
|
170
|
+
agentId: string;
|
|
170
171
|
toolPolicies: Record<string, {
|
|
171
172
|
needsApproval?: boolean;
|
|
172
173
|
}> | null;
|
|
173
|
-
subAgentId: string;
|
|
174
174
|
functionToolId: string;
|
|
175
175
|
}>;
|
|
176
176
|
/**
|
|
@@ -226,16 +226,16 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
226
226
|
needsApproval?: boolean;
|
|
227
227
|
}> | null;
|
|
228
228
|
}) => Promise<{
|
|
229
|
-
|
|
230
|
-
projectId: string;
|
|
229
|
+
subAgentId: string;
|
|
231
230
|
id: string;
|
|
232
|
-
agentId: string;
|
|
233
231
|
createdAt: string;
|
|
234
232
|
updatedAt: string;
|
|
233
|
+
tenantId: string;
|
|
234
|
+
projectId: string;
|
|
235
|
+
agentId: string;
|
|
235
236
|
toolPolicies: Record<string, {
|
|
236
237
|
needsApproval?: boolean;
|
|
237
238
|
}> | null;
|
|
238
|
-
subAgentId: string;
|
|
239
239
|
functionToolId: string;
|
|
240
240
|
}>;
|
|
241
241
|
//#endregion
|
|
@@ -8,15 +8,15 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
|
|
12
|
-
projectId: string;
|
|
11
|
+
subAgentId: string;
|
|
13
12
|
id: string;
|
|
14
|
-
agentId: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
17
15
|
headers: Record<string, string> | null;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
agentId: string;
|
|
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
|
-
|
|
47
|
-
projectId: string;
|
|
46
|
+
subAgentId: string;
|
|
48
47
|
id: string;
|
|
49
|
-
agentId: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
50
|
headers: Record<string, string> | null;
|
|
51
|
+
tenantId: string;
|
|
52
|
+
projectId: string;
|
|
53
|
+
agentId: string;
|
|
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
|
-
|
|
60
|
-
projectId: string;
|
|
59
|
+
subAgentId: string;
|
|
61
60
|
id: string;
|
|
62
|
-
agentId: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
65
63
|
headers: Record<string, string> | null;
|
|
64
|
+
tenantId: string;
|
|
65
|
+
projectId: string;
|
|
66
|
+
agentId: string;
|
|
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
|
-
|
|
183
|
-
projectId: string;
|
|
182
|
+
subAgentId: string;
|
|
184
183
|
id: string;
|
|
185
|
-
agentId: string;
|
|
186
184
|
createdAt: string;
|
|
187
185
|
updatedAt: string;
|
|
188
186
|
headers: Record<string, string> | null;
|
|
187
|
+
tenantId: string;
|
|
188
|
+
projectId: string;
|
|
189
|
+
agentId: string;
|
|
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
|
-
|
|
200
|
-
projectId: string;
|
|
199
|
+
subAgentId: string;
|
|
201
200
|
id: string;
|
|
202
|
-
agentId: string;
|
|
203
201
|
createdAt: string;
|
|
204
202
|
updatedAt: string;
|
|
205
203
|
headers: Record<string, string> | null;
|
|
204
|
+
tenantId: string;
|
|
205
|
+
projectId: string;
|
|
206
|
+
agentId: string;
|
|
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
|
-
|
|
221
|
-
projectId: string;
|
|
220
|
+
subAgentId: string;
|
|
222
221
|
id: string;
|
|
223
|
-
agentId: string;
|
|
224
222
|
createdAt: string;
|
|
225
223
|
updatedAt: string;
|
|
226
224
|
headers: Record<string, string> | null;
|
|
225
|
+
tenantId: string;
|
|
226
|
+
projectId: string;
|
|
227
|
+
agentId: string;
|
|
227
228
|
externalAgentId: string;
|
|
228
|
-
subAgentId: string;
|
|
229
229
|
}>;
|
|
230
230
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
231
231
|
scopes: SubAgentScopeConfig;
|
|
@@ -8,15 +8,15 @@ 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
|
-
agentId: string;
|
|
15
12
|
createdAt: string;
|
|
16
13
|
updatedAt: string;
|
|
17
|
-
|
|
14
|
+
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
agentId: string;
|
|
18
17
|
sourceSubAgentId: string;
|
|
19
18
|
targetSubAgentId: string | null;
|
|
19
|
+
relationType: string | null;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: AgentScopeConfig;
|
|
@@ -43,28 +43,28 @@ 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
|
-
agentId: string;
|
|
50
47
|
createdAt: string;
|
|
51
48
|
updatedAt: string;
|
|
52
|
-
|
|
49
|
+
tenantId: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
agentId: string;
|
|
53
52
|
sourceSubAgentId: string;
|
|
54
53
|
targetSubAgentId: string | null;
|
|
54
|
+
relationType: string | null;
|
|
55
55
|
}[]>;
|
|
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
|
-
agentId: string;
|
|
63
60
|
createdAt: string;
|
|
64
61
|
updatedAt: string;
|
|
65
|
-
|
|
62
|
+
tenantId: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
agentId: string;
|
|
66
65
|
sourceSubAgentId: string;
|
|
67
66
|
targetSubAgentId: string | null;
|
|
67
|
+
relationType: string | null;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
|
|
70
70
|
scopes: AgentScopeConfig;
|
|
@@ -125,15 +125,15 @@ 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
|
-
agentId: string;
|
|
132
129
|
createdAt: string;
|
|
133
130
|
updatedAt: string;
|
|
134
|
-
|
|
131
|
+
tenantId: string;
|
|
132
|
+
projectId: string;
|
|
133
|
+
agentId: string;
|
|
135
134
|
sourceSubAgentId: string;
|
|
136
135
|
targetSubAgentId: string | null;
|
|
136
|
+
relationType: string | null;
|
|
137
137
|
}>;
|
|
138
138
|
/**
|
|
139
139
|
* Check if sub-agent relation exists by agent, source, target, and relation type
|
|
@@ -144,29 +144,29 @@ 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
|
-
agentId: string;
|
|
151
148
|
createdAt: string;
|
|
152
149
|
updatedAt: string;
|
|
153
|
-
|
|
150
|
+
tenantId: string;
|
|
151
|
+
projectId: string;
|
|
152
|
+
agentId: string;
|
|
154
153
|
sourceSubAgentId: string;
|
|
155
154
|
targetSubAgentId: string | null;
|
|
155
|
+
relationType: string | null;
|
|
156
156
|
} | undefined>;
|
|
157
157
|
/**
|
|
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
|
-
agentId: string;
|
|
165
162
|
createdAt: string;
|
|
166
163
|
updatedAt: string;
|
|
167
|
-
|
|
164
|
+
tenantId: string;
|
|
165
|
+
projectId: string;
|
|
166
|
+
agentId: string;
|
|
168
167
|
sourceSubAgentId: string;
|
|
169
168
|
targetSubAgentId: string | null;
|
|
169
|
+
relationType: string | null;
|
|
170
170
|
}>;
|
|
171
171
|
declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
172
172
|
scopes: AgentScopeConfig;
|
|
@@ -203,19 +203,19 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
203
203
|
}> | null;
|
|
204
204
|
};
|
|
205
205
|
}) => Promise<{
|
|
206
|
-
|
|
207
|
-
projectId: string;
|
|
206
|
+
subAgentId: string;
|
|
208
207
|
id: string;
|
|
209
|
-
agentId: string;
|
|
210
208
|
createdAt: string;
|
|
211
209
|
updatedAt: string;
|
|
212
|
-
toolId: string;
|
|
213
210
|
headers: Record<string, string> | null;
|
|
211
|
+
tenantId: string;
|
|
212
|
+
projectId: string;
|
|
213
|
+
agentId: string;
|
|
214
|
+
toolId: string;
|
|
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
|
-
|
|
251
|
-
projectId: string;
|
|
250
|
+
subAgentId: string;
|
|
252
251
|
id: string;
|
|
253
|
-
agentId: string;
|
|
254
252
|
createdAt: string;
|
|
255
253
|
updatedAt: string;
|
|
256
|
-
toolId: string;
|
|
257
254
|
headers: Record<string, string> | null;
|
|
255
|
+
tenantId: string;
|
|
256
|
+
projectId: string;
|
|
257
|
+
agentId: string;
|
|
258
|
+
toolId: string;
|
|
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
|
-
|
|
12
|
-
projectId: string;
|
|
11
|
+
subAgentId: string;
|
|
13
12
|
id: string;
|
|
14
|
-
agentId: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
17
15
|
headers: Record<string, string> | null;
|
|
18
|
-
|
|
16
|
+
tenantId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
agentId: string;
|
|
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
|
-
|
|
47
|
-
projectId: string;
|
|
46
|
+
subAgentId: string;
|
|
48
47
|
id: string;
|
|
49
|
-
agentId: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
52
50
|
headers: Record<string, string> | null;
|
|
53
|
-
|
|
51
|
+
tenantId: string;
|
|
52
|
+
projectId: string;
|
|
53
|
+
agentId: string;
|
|
54
54
|
targetAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
|
|
60
|
-
projectId: string;
|
|
59
|
+
subAgentId: string;
|
|
61
60
|
id: string;
|
|
62
|
-
agentId: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
65
63
|
headers: Record<string, string> | null;
|
|
66
|
-
|
|
64
|
+
tenantId: string;
|
|
65
|
+
projectId: string;
|
|
66
|
+
agentId: string;
|
|
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
|
-
|
|
213
|
-
projectId: string;
|
|
212
|
+
subAgentId: string;
|
|
214
213
|
id: string;
|
|
215
|
-
agentId: string;
|
|
216
214
|
createdAt: string;
|
|
217
215
|
updatedAt: string;
|
|
218
216
|
headers: Record<string, string> | null;
|
|
219
|
-
|
|
217
|
+
tenantId: string;
|
|
218
|
+
projectId: string;
|
|
219
|
+
agentId: string;
|
|
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
|
-
|
|
230
|
-
projectId: string;
|
|
229
|
+
subAgentId: string;
|
|
231
230
|
id: string;
|
|
232
|
-
agentId: string;
|
|
233
231
|
createdAt: string;
|
|
234
232
|
updatedAt: string;
|
|
235
233
|
headers: Record<string, string> | null;
|
|
236
|
-
|
|
234
|
+
tenantId: string;
|
|
235
|
+
projectId: string;
|
|
236
|
+
agentId: string;
|
|
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
|
-
|
|
251
|
-
projectId: string;
|
|
250
|
+
subAgentId: string;
|
|
252
251
|
id: string;
|
|
253
|
-
agentId: string;
|
|
254
252
|
createdAt: string;
|
|
255
253
|
updatedAt: string;
|
|
256
254
|
headers: Record<string, string> | null;
|
|
257
|
-
|
|
255
|
+
tenantId: string;
|
|
256
|
+
projectId: string;
|
|
257
|
+
agentId: string;
|
|
258
258
|
targetAgentId: string;
|
|
259
259
|
}>;
|
|
260
260
|
declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -8,15 +8,11 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: AgentScopeConfig;
|
|
9
9
|
subAgentId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
tenantId: string;
|
|
12
|
-
projectId: string;
|
|
13
11
|
id: string;
|
|
14
12
|
name: string;
|
|
15
|
-
description: string | null;
|
|
16
|
-
prompt: string | null;
|
|
17
|
-
agentId: string;
|
|
18
13
|
createdAt: string;
|
|
19
14
|
updatedAt: string;
|
|
15
|
+
description: string | null;
|
|
20
16
|
models: {
|
|
21
17
|
base?: {
|
|
22
18
|
model?: string | undefined;
|
|
@@ -34,20 +30,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
34
30
|
stopWhen: {
|
|
35
31
|
stepCountIs?: number | undefined;
|
|
36
32
|
} | null;
|
|
33
|
+
tenantId: string;
|
|
34
|
+
prompt: string | null;
|
|
35
|
+
projectId: string;
|
|
36
|
+
agentId: string;
|
|
37
37
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
38
38
|
} | undefined>;
|
|
39
39
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
40
40
|
scopes: AgentScopeConfig;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
tenantId: string;
|
|
43
|
-
projectId: string;
|
|
44
42
|
id: string;
|
|
45
43
|
name: string;
|
|
46
|
-
description: string | null;
|
|
47
|
-
prompt: string | null;
|
|
48
|
-
agentId: string;
|
|
49
44
|
createdAt: string;
|
|
50
45
|
updatedAt: string;
|
|
46
|
+
description: string | null;
|
|
51
47
|
models: {
|
|
52
48
|
base?: {
|
|
53
49
|
model?: string | undefined;
|
|
@@ -65,6 +61,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
65
61
|
stopWhen: {
|
|
66
62
|
stepCountIs?: number | undefined;
|
|
67
63
|
} | null;
|
|
64
|
+
tenantId: string;
|
|
65
|
+
prompt: string | null;
|
|
66
|
+
projectId: string;
|
|
67
|
+
agentId: string;
|
|
68
68
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -108,15 +108,11 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
108
108
|
};
|
|
109
109
|
}>;
|
|
110
110
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
111
|
-
tenantId: string;
|
|
112
|
-
projectId: string;
|
|
113
111
|
id: string;
|
|
114
112
|
name: string;
|
|
115
|
-
description: string | null;
|
|
116
|
-
prompt: string | null;
|
|
117
|
-
agentId: string;
|
|
118
113
|
createdAt: string;
|
|
119
114
|
updatedAt: string;
|
|
115
|
+
description: string | null;
|
|
120
116
|
models: {
|
|
121
117
|
base?: {
|
|
122
118
|
model?: string | undefined;
|
|
@@ -134,6 +130,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
134
130
|
stopWhen: {
|
|
135
131
|
stepCountIs?: number | undefined;
|
|
136
132
|
} | null;
|
|
133
|
+
tenantId: string;
|
|
134
|
+
prompt: string | null;
|
|
135
|
+
projectId: string;
|
|
136
|
+
agentId: string;
|
|
137
137
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
138
138
|
}>;
|
|
139
139
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|