@inkeep/agents-core 0.0.0-dev-20260112191041 → 0.0.0-dev-20260112224755
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-validation-schemas.d.ts +17 -17
- package/dist/auth/auth.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +2 -2
- package/dist/data-access/agents.d.ts +32 -32
- package/dist/data-access/apiKeys.d.ts +8 -8
- package/dist/data-access/artifactComponents.d.ts +6 -6
- package/dist/data-access/contextConfigs.d.ts +8 -8
- package/dist/data-access/conversations.d.ts +8 -8
- package/dist/data-access/dataComponents.d.ts +4 -4
- package/dist/data-access/functionTools.d.ts +4 -4
- package/dist/data-access/messages.d.ts +6 -6
- package/dist/data-access/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/subAgentRelations.d.ts +22 -22
- package/dist/data-access/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/subAgents.d.ts +12 -12
- package/dist/data-access/tasks.d.ts +3 -3
- package/dist/data-access/tools.d.ts +24 -24
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +61 -61
- package/package.json +1 -1
|
@@ -19,9 +19,9 @@ declare const createConversation: (db: DatabaseClient) => (params: ConversationI
|
|
|
19
19
|
updatedAt: string;
|
|
20
20
|
userId: string | null;
|
|
21
21
|
metadata: ConversationMetadata | null;
|
|
22
|
-
title: string | null;
|
|
23
|
-
tenantId: string;
|
|
24
22
|
projectId: string;
|
|
23
|
+
tenantId: string;
|
|
24
|
+
title: string | null;
|
|
25
25
|
activeSubAgentId: string;
|
|
26
26
|
lastContextResolution: string | null;
|
|
27
27
|
}>;
|
|
@@ -70,9 +70,9 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
70
70
|
updatedAt: string;
|
|
71
71
|
userId: string | null;
|
|
72
72
|
metadata: ConversationMetadata | null;
|
|
73
|
-
title: string | null;
|
|
74
|
-
tenantId: string;
|
|
75
73
|
projectId: string;
|
|
74
|
+
tenantId: string;
|
|
75
|
+
title: string | null;
|
|
76
76
|
activeSubAgentId: string;
|
|
77
77
|
lastContextResolution: string | null;
|
|
78
78
|
} | undefined>;
|
|
@@ -94,9 +94,9 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
|
|
|
94
94
|
updatedAt: string;
|
|
95
95
|
userId: string | null;
|
|
96
96
|
metadata: ConversationMetadata | null;
|
|
97
|
-
title: string | null;
|
|
98
|
-
tenantId: string;
|
|
99
97
|
projectId: string;
|
|
98
|
+
tenantId: string;
|
|
99
|
+
title: string | null;
|
|
100
100
|
activeSubAgentId: string;
|
|
101
101
|
lastContextResolution: string | null;
|
|
102
102
|
}>;
|
|
@@ -120,9 +120,9 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
120
120
|
updatedAt: string;
|
|
121
121
|
userId: string | null;
|
|
122
122
|
metadata: ConversationMetadata | null;
|
|
123
|
-
title: string | null;
|
|
124
|
-
tenantId: string;
|
|
125
123
|
projectId: string;
|
|
124
|
+
tenantId: string;
|
|
125
|
+
title: string | null;
|
|
126
126
|
activeSubAgentId: string;
|
|
127
127
|
lastContextResolution: string | null;
|
|
128
128
|
} | undefined>;
|
|
@@ -66,9 +66,9 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
66
66
|
}) => Promise<{
|
|
67
67
|
id: string;
|
|
68
68
|
createdAt: string;
|
|
69
|
-
tenantId: string;
|
|
70
|
-
projectId: string;
|
|
71
69
|
agentId: string;
|
|
70
|
+
projectId: string;
|
|
71
|
+
tenantId: string;
|
|
72
72
|
subAgentId: string;
|
|
73
73
|
dataComponentId: string;
|
|
74
74
|
}>;
|
|
@@ -108,9 +108,9 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
|
|
|
108
108
|
}) => Promise<{
|
|
109
109
|
id: string;
|
|
110
110
|
createdAt: string;
|
|
111
|
-
tenantId: string;
|
|
112
|
-
projectId: string;
|
|
113
111
|
agentId: string;
|
|
112
|
+
projectId: string;
|
|
113
|
+
tenantId: string;
|
|
114
114
|
subAgentId: string;
|
|
115
115
|
dataComponentId: string;
|
|
116
116
|
} | null>;
|
|
@@ -58,9 +58,9 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
58
58
|
createdAt: string;
|
|
59
59
|
updatedAt: string;
|
|
60
60
|
description: string | null;
|
|
61
|
-
tenantId: string;
|
|
62
|
-
projectId: string;
|
|
63
61
|
agentId: string;
|
|
62
|
+
projectId: string;
|
|
63
|
+
tenantId: string;
|
|
64
64
|
functionId: string;
|
|
65
65
|
}>;
|
|
66
66
|
/**
|
|
@@ -100,9 +100,9 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
100
100
|
createdAt: string;
|
|
101
101
|
updatedAt: string;
|
|
102
102
|
description: string | null;
|
|
103
|
-
tenantId: string;
|
|
104
|
-
projectId: string;
|
|
105
103
|
agentId: string;
|
|
104
|
+
projectId: string;
|
|
105
|
+
tenantId: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -14,8 +14,9 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
metadata: MessageMetadata | null;
|
|
16
16
|
role: string;
|
|
17
|
-
tenantId: string;
|
|
18
17
|
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
19
|
+
content: MessageContent;
|
|
19
20
|
conversationId: string;
|
|
20
21
|
fromSubAgentId: string | null;
|
|
21
22
|
toSubAgentId: string | null;
|
|
@@ -23,7 +24,6 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
23
24
|
toExternalAgentId: string | null;
|
|
24
25
|
fromTeamAgentId: string | null;
|
|
25
26
|
toTeamAgentId: string | null;
|
|
26
|
-
content: MessageContent;
|
|
27
27
|
visibility: string;
|
|
28
28
|
messageType: string;
|
|
29
29
|
taskId: string | null;
|
|
@@ -145,8 +145,9 @@ declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) =>
|
|
|
145
145
|
updatedAt: string;
|
|
146
146
|
metadata: MessageMetadata | null;
|
|
147
147
|
role: string;
|
|
148
|
-
tenantId: string;
|
|
149
148
|
projectId: string;
|
|
149
|
+
tenantId: string;
|
|
150
|
+
content: MessageContent;
|
|
150
151
|
conversationId: string;
|
|
151
152
|
fromSubAgentId: string | null;
|
|
152
153
|
toSubAgentId: string | null;
|
|
@@ -154,7 +155,6 @@ declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) =>
|
|
|
154
155
|
toExternalAgentId: string | null;
|
|
155
156
|
fromTeamAgentId: string | null;
|
|
156
157
|
toTeamAgentId: string | null;
|
|
157
|
-
content: MessageContent;
|
|
158
158
|
visibility: string;
|
|
159
159
|
messageType: string;
|
|
160
160
|
taskId: string | null;
|
|
@@ -198,8 +198,9 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
198
198
|
updatedAt: string;
|
|
199
199
|
metadata: MessageMetadata | null;
|
|
200
200
|
role: string;
|
|
201
|
-
tenantId: string;
|
|
202
201
|
projectId: string;
|
|
202
|
+
tenantId: string;
|
|
203
|
+
content: MessageContent;
|
|
203
204
|
conversationId: string;
|
|
204
205
|
fromSubAgentId: string | null;
|
|
205
206
|
toSubAgentId: string | null;
|
|
@@ -207,7 +208,6 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
207
208
|
toExternalAgentId: string | null;
|
|
208
209
|
fromTeamAgentId: string | null;
|
|
209
210
|
toTeamAgentId: string | null;
|
|
210
|
-
content: MessageContent;
|
|
211
211
|
visibility: string;
|
|
212
212
|
messageType: string;
|
|
213
213
|
taskId: string | null;
|
|
@@ -8,15 +8,15 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
headers: Record<string, string> | null;
|
|
12
11
|
id: string;
|
|
13
12
|
createdAt: string;
|
|
14
13
|
updatedAt: string;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
14
|
agentId: string;
|
|
18
|
-
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
headers: Record<string, string> | null;
|
|
19
18
|
externalAgentId: string;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
22
22
|
scopes: SubAgentScopeConfig;
|
|
@@ -43,28 +43,28 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
|
|
|
43
43
|
declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
headers: Record<string, string> | null;
|
|
47
46
|
id: string;
|
|
48
47
|
createdAt: string;
|
|
49
48
|
updatedAt: string;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
49
|
agentId: string;
|
|
53
|
-
|
|
50
|
+
projectId: string;
|
|
51
|
+
tenantId: string;
|
|
52
|
+
headers: Record<string, string> | null;
|
|
54
53
|
externalAgentId: string;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
headers: Record<string, string> | null;
|
|
60
59
|
id: string;
|
|
61
60
|
createdAt: string;
|
|
62
61
|
updatedAt: string;
|
|
63
|
-
tenantId: string;
|
|
64
|
-
projectId: string;
|
|
65
62
|
agentId: string;
|
|
66
|
-
|
|
63
|
+
projectId: string;
|
|
64
|
+
tenantId: string;
|
|
65
|
+
headers: Record<string, string> | null;
|
|
67
66
|
externalAgentId: string;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
|
|
70
70
|
scopes: AgentScopeConfig;
|
|
@@ -179,15 +179,15 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
179
179
|
headers?: Record<string, string> | null;
|
|
180
180
|
};
|
|
181
181
|
}) => Promise<{
|
|
182
|
-
headers: Record<string, string> | null;
|
|
183
182
|
id: string;
|
|
184
183
|
createdAt: string;
|
|
185
184
|
updatedAt: string;
|
|
186
|
-
tenantId: string;
|
|
187
|
-
projectId: string;
|
|
188
185
|
agentId: string;
|
|
189
|
-
|
|
186
|
+
projectId: string;
|
|
187
|
+
tenantId: string;
|
|
188
|
+
headers: Record<string, string> | null;
|
|
190
189
|
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: DatabaseClient) =>
|
|
|
196
196
|
scopes: SubAgentScopeConfig;
|
|
197
197
|
externalAgentId: string;
|
|
198
198
|
}) => Promise<{
|
|
199
|
-
headers: Record<string, string> | null;
|
|
200
199
|
id: string;
|
|
201
200
|
createdAt: string;
|
|
202
201
|
updatedAt: string;
|
|
203
|
-
tenantId: string;
|
|
204
|
-
projectId: string;
|
|
205
202
|
agentId: string;
|
|
206
|
-
|
|
203
|
+
projectId: string;
|
|
204
|
+
tenantId: string;
|
|
205
|
+
headers: Record<string, string> | null;
|
|
207
206
|
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: DatabaseClient) => (para
|
|
|
217
217
|
headers?: Record<string, string> | null;
|
|
218
218
|
};
|
|
219
219
|
}) => Promise<{
|
|
220
|
-
headers: Record<string, string> | null;
|
|
221
220
|
id: string;
|
|
222
221
|
createdAt: string;
|
|
223
222
|
updatedAt: string;
|
|
224
|
-
tenantId: string;
|
|
225
|
-
projectId: string;
|
|
226
223
|
agentId: string;
|
|
227
|
-
|
|
224
|
+
projectId: string;
|
|
225
|
+
tenantId: string;
|
|
226
|
+
headers: Record<string, string> | null;
|
|
228
227
|
externalAgentId: string;
|
|
228
|
+
subAgentId: string;
|
|
229
229
|
}>;
|
|
230
230
|
declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
231
231
|
scopes: SubAgentScopeConfig;
|
|
@@ -11,9 +11,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
11
11
|
id: string;
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
agentId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
17
|
sourceSubAgentId: string;
|
|
18
18
|
targetSubAgentId: string | null;
|
|
19
19
|
relationType: string | null;
|
|
@@ -46,9 +46,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
46
46
|
id: string;
|
|
47
47
|
createdAt: string;
|
|
48
48
|
updatedAt: string;
|
|
49
|
-
tenantId: string;
|
|
50
|
-
projectId: string;
|
|
51
49
|
agentId: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
tenantId: string;
|
|
52
52
|
sourceSubAgentId: string;
|
|
53
53
|
targetSubAgentId: string | null;
|
|
54
54
|
relationType: string | null;
|
|
@@ -59,9 +59,9 @@ declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
|
59
59
|
id: string;
|
|
60
60
|
createdAt: string;
|
|
61
61
|
updatedAt: string;
|
|
62
|
-
tenantId: string;
|
|
63
|
-
projectId: string;
|
|
64
62
|
agentId: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
tenantId: string;
|
|
65
65
|
sourceSubAgentId: string;
|
|
66
66
|
targetSubAgentId: string | null;
|
|
67
67
|
relationType: string | null;
|
|
@@ -128,9 +128,9 @@ declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
|
|
|
128
128
|
id: string;
|
|
129
129
|
createdAt: string;
|
|
130
130
|
updatedAt: string;
|
|
131
|
-
tenantId: string;
|
|
132
|
-
projectId: string;
|
|
133
131
|
agentId: string;
|
|
132
|
+
projectId: string;
|
|
133
|
+
tenantId: string;
|
|
134
134
|
sourceSubAgentId: string;
|
|
135
135
|
targetSubAgentId: string | null;
|
|
136
136
|
relationType: string | null;
|
|
@@ -147,9 +147,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
|
|
|
147
147
|
id: string;
|
|
148
148
|
createdAt: string;
|
|
149
149
|
updatedAt: string;
|
|
150
|
-
tenantId: string;
|
|
151
|
-
projectId: string;
|
|
152
150
|
agentId: string;
|
|
151
|
+
projectId: string;
|
|
152
|
+
tenantId: string;
|
|
153
153
|
sourceSubAgentId: string;
|
|
154
154
|
targetSubAgentId: string | null;
|
|
155
155
|
relationType: string | null;
|
|
@@ -161,9 +161,9 @@ declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
|
|
|
161
161
|
id: string;
|
|
162
162
|
createdAt: string;
|
|
163
163
|
updatedAt: string;
|
|
164
|
-
tenantId: string;
|
|
165
|
-
projectId: string;
|
|
166
164
|
agentId: string;
|
|
165
|
+
projectId: string;
|
|
166
|
+
tenantId: string;
|
|
167
167
|
sourceSubAgentId: string;
|
|
168
168
|
targetSubAgentId: string | null;
|
|
169
169
|
relationType: string | null;
|
|
@@ -203,19 +203,19 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
203
203
|
}> | null;
|
|
204
204
|
};
|
|
205
205
|
}) => Promise<{
|
|
206
|
-
headers: Record<string, string> | null;
|
|
207
206
|
id: string;
|
|
208
207
|
createdAt: string;
|
|
209
208
|
updatedAt: string;
|
|
210
|
-
tenantId: string;
|
|
211
|
-
projectId: string;
|
|
212
209
|
agentId: string;
|
|
210
|
+
projectId: string;
|
|
211
|
+
tenantId: string;
|
|
213
212
|
toolId: string;
|
|
214
|
-
|
|
215
|
-
selectedTools: string[] | null;
|
|
213
|
+
headers: Record<string, string> | null;
|
|
216
214
|
toolPolicies: Record<string, {
|
|
217
215
|
needsApproval?: boolean;
|
|
218
216
|
}> | null;
|
|
217
|
+
subAgentId: string;
|
|
218
|
+
selectedTools: string[] | null;
|
|
219
219
|
}>;
|
|
220
220
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
221
221
|
scopes: AgentScopeConfig;
|
|
@@ -247,19 +247,19 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
247
247
|
scopes: SubAgentScopeConfig;
|
|
248
248
|
relationId: string;
|
|
249
249
|
}) => Promise<{
|
|
250
|
-
headers: Record<string, string> | null;
|
|
251
250
|
id: string;
|
|
252
251
|
createdAt: string;
|
|
253
252
|
updatedAt: string;
|
|
254
|
-
tenantId: string;
|
|
255
|
-
projectId: string;
|
|
256
253
|
agentId: string;
|
|
254
|
+
projectId: string;
|
|
255
|
+
tenantId: string;
|
|
257
256
|
toolId: string;
|
|
258
|
-
|
|
259
|
-
selectedTools: string[] | null;
|
|
257
|
+
headers: Record<string, string> | null;
|
|
260
258
|
toolPolicies: Record<string, {
|
|
261
259
|
needsApproval?: boolean;
|
|
262
260
|
}> | null;
|
|
261
|
+
subAgentId: string;
|
|
262
|
+
selectedTools: string[] | null;
|
|
263
263
|
} | undefined>;
|
|
264
264
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
265
265
|
scopes: SubAgentScopeConfig;
|
|
@@ -8,13 +8,13 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
headers: Record<string, string> | null;
|
|
12
11
|
id: string;
|
|
13
12
|
createdAt: string;
|
|
14
13
|
updatedAt: string;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
14
|
agentId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
headers: Record<string, string> | null;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
targetAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
@@ -43,26 +43,26 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
43
43
|
declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
headers: Record<string, string> | null;
|
|
47
46
|
id: string;
|
|
48
47
|
createdAt: string;
|
|
49
48
|
updatedAt: string;
|
|
50
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
49
|
agentId: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
tenantId: string;
|
|
52
|
+
headers: Record<string, string> | null;
|
|
53
53
|
subAgentId: string;
|
|
54
54
|
targetAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
headers: Record<string, string> | null;
|
|
60
59
|
id: string;
|
|
61
60
|
createdAt: string;
|
|
62
61
|
updatedAt: string;
|
|
63
|
-
tenantId: string;
|
|
64
|
-
projectId: string;
|
|
65
62
|
agentId: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
tenantId: string;
|
|
65
|
+
headers: Record<string, string> | null;
|
|
66
66
|
subAgentId: string;
|
|
67
67
|
targetAgentId: string;
|
|
68
68
|
}[]>;
|
|
@@ -209,13 +209,13 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
209
209
|
headers?: Record<string, string> | null;
|
|
210
210
|
};
|
|
211
211
|
}) => Promise<{
|
|
212
|
-
headers: Record<string, string> | null;
|
|
213
212
|
id: string;
|
|
214
213
|
createdAt: string;
|
|
215
214
|
updatedAt: string;
|
|
216
|
-
tenantId: string;
|
|
217
|
-
projectId: string;
|
|
218
215
|
agentId: string;
|
|
216
|
+
projectId: string;
|
|
217
|
+
tenantId: string;
|
|
218
|
+
headers: Record<string, string> | null;
|
|
219
219
|
subAgentId: string;
|
|
220
220
|
targetAgentId: string;
|
|
221
221
|
}>;
|
|
@@ -226,13 +226,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
226
226
|
scopes: SubAgentScopeConfig;
|
|
227
227
|
targetAgentId: string;
|
|
228
228
|
}) => Promise<{
|
|
229
|
-
headers: Record<string, string> | null;
|
|
230
229
|
id: string;
|
|
231
230
|
createdAt: string;
|
|
232
231
|
updatedAt: string;
|
|
233
|
-
tenantId: string;
|
|
234
|
-
projectId: string;
|
|
235
232
|
agentId: string;
|
|
233
|
+
projectId: string;
|
|
234
|
+
tenantId: string;
|
|
235
|
+
headers: Record<string, string> | null;
|
|
236
236
|
subAgentId: string;
|
|
237
237
|
targetAgentId: string;
|
|
238
238
|
} | undefined>;
|
|
@@ -247,13 +247,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
247
247
|
headers?: Record<string, string> | null;
|
|
248
248
|
};
|
|
249
249
|
}) => Promise<{
|
|
250
|
-
headers: Record<string, string> | null;
|
|
251
250
|
id: string;
|
|
252
251
|
createdAt: string;
|
|
253
252
|
updatedAt: string;
|
|
254
|
-
tenantId: string;
|
|
255
|
-
projectId: string;
|
|
256
253
|
agentId: string;
|
|
254
|
+
projectId: string;
|
|
255
|
+
tenantId: string;
|
|
256
|
+
headers: Record<string, string> | null;
|
|
257
257
|
subAgentId: string;
|
|
258
258
|
targetAgentId: string;
|
|
259
259
|
}>;
|
|
@@ -13,6 +13,9 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
description: string | null;
|
|
16
|
+
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
16
19
|
models: {
|
|
17
20
|
base?: {
|
|
18
21
|
model?: string | undefined;
|
|
@@ -27,13 +30,10 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
27
30
|
providerOptions?: Record<string, any> | undefined;
|
|
28
31
|
} | undefined;
|
|
29
32
|
} | null;
|
|
33
|
+
prompt: string | null;
|
|
30
34
|
stopWhen: {
|
|
31
35
|
stepCountIs?: number | undefined;
|
|
32
36
|
} | 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: DatabaseClient) => (params: {
|
|
@@ -44,6 +44,9 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
46
|
description: string | null;
|
|
47
|
+
agentId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
47
50
|
models: {
|
|
48
51
|
base?: {
|
|
49
52
|
model?: string | undefined;
|
|
@@ -58,13 +61,10 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
58
61
|
providerOptions?: Record<string, any> | undefined;
|
|
59
62
|
} | undefined;
|
|
60
63
|
} | null;
|
|
64
|
+
prompt: string | null;
|
|
61
65
|
stopWhen: {
|
|
62
66
|
stepCountIs?: number | undefined;
|
|
63
67
|
} | 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: DatabaseClient) => (params: {
|
|
@@ -113,6 +113,9 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
113
113
|
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
115
115
|
description: string | null;
|
|
116
|
+
agentId: string;
|
|
117
|
+
projectId: string;
|
|
118
|
+
tenantId: string;
|
|
116
119
|
models: {
|
|
117
120
|
base?: {
|
|
118
121
|
model?: string | undefined;
|
|
@@ -127,13 +130,10 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
127
130
|
providerOptions?: Record<string, any> | undefined;
|
|
128
131
|
} | undefined;
|
|
129
132
|
} | null;
|
|
133
|
+
prompt: string | null;
|
|
130
134
|
stopWhen: {
|
|
131
135
|
stepCountIs?: number | undefined;
|
|
132
136
|
} | 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: DatabaseClient) => (params: {
|
|
@@ -9,11 +9,11 @@ declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promis
|
|
|
9
9
|
id: string;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
-
status: string;
|
|
13
12
|
metadata: TaskMetadataConfig | null;
|
|
14
|
-
|
|
15
|
-
projectId: string;
|
|
13
|
+
status: string;
|
|
16
14
|
agentId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
17
|
contextId: string;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
}>;
|