@inkeep/agents-core 0.0.0-dev-20260106225040 → 0.0.0-dev-20260106233039
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 +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/agents.d.ts +37 -37
- package/dist/data-access/apiKeys.d.ts +16 -16
- package/dist/data-access/artifactComponents.d.ts +10 -10
- package/dist/data-access/contextConfigs.d.ts +16 -16
- package/dist/data-access/conversations.d.ts +16 -16
- package/dist/data-access/dataComponents.d.ts +4 -4
- package/dist/data-access/functionTools.d.ts +8 -8
- package/dist/data-access/messages.d.ts +12 -12
- package/dist/data-access/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/subAgentRelations.d.ts +16 -16
- package/dist/data-access/subAgentTeamAgentRelations.d.ts +12 -12
- package/dist/data-access/subAgents.d.ts +15 -15
- package/dist/data-access/tasks.d.ts +4 -4
- package/dist/data-access/tools.d.ts +15 -15
- package/dist/db/schema.d.ts +405 -405
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +756 -756
- package/package.json +1 -1
|
@@ -66,9 +66,9 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
|
|
|
66
66
|
}) => Promise<{
|
|
67
67
|
id: string;
|
|
68
68
|
createdAt: string;
|
|
69
|
-
agentId: string;
|
|
70
|
-
projectId: string;
|
|
71
69
|
tenantId: string;
|
|
70
|
+
projectId: string;
|
|
71
|
+
agentId: 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
|
-
agentId: string;
|
|
112
|
-
projectId: string;
|
|
113
111
|
tenantId: string;
|
|
112
|
+
projectId: string;
|
|
113
|
+
agentId: string;
|
|
114
114
|
subAgentId: string;
|
|
115
115
|
dataComponentId: string;
|
|
116
116
|
} | null>;
|
|
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
53
53
|
data: FunctionToolApiInsert;
|
|
54
54
|
scopes: AgentScopeConfig;
|
|
55
55
|
}) => Promise<{
|
|
56
|
-
name: string;
|
|
57
56
|
id: string;
|
|
57
|
+
name: string;
|
|
58
58
|
createdAt: string;
|
|
59
59
|
updatedAt: string;
|
|
60
|
-
agentId: string;
|
|
61
|
-
projectId: string;
|
|
62
|
-
tenantId: string;
|
|
63
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: DatabaseClient) => (params: {
|
|
|
95
95
|
data: FunctionToolApiInsert;
|
|
96
96
|
scopes: AgentScopeConfig;
|
|
97
97
|
}) => Promise<{
|
|
98
|
-
name: string;
|
|
99
98
|
id: string;
|
|
99
|
+
name: string;
|
|
100
100
|
createdAt: string;
|
|
101
101
|
updatedAt: string;
|
|
102
|
-
agentId: string;
|
|
103
|
-
projectId: string;
|
|
104
|
-
tenantId: string;
|
|
105
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: DatabaseClient) => (params: {
|
|
@@ -12,18 +12,18 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
-
projectId: string;
|
|
16
|
-
tenantId: string;
|
|
17
15
|
metadata: MessageMetadata | null;
|
|
18
|
-
content: MessageContent;
|
|
19
|
-
conversationId: string;
|
|
20
16
|
role: string;
|
|
17
|
+
tenantId: string;
|
|
18
|
+
projectId: string;
|
|
19
|
+
conversationId: string;
|
|
21
20
|
fromSubAgentId: string | null;
|
|
22
21
|
toSubAgentId: string | null;
|
|
23
22
|
fromExternalAgentId: string | null;
|
|
24
23
|
toExternalAgentId: string | null;
|
|
25
24
|
fromTeamAgentId: string | null;
|
|
26
25
|
toTeamAgentId: string | null;
|
|
26
|
+
content: MessageContent;
|
|
27
27
|
visibility: string;
|
|
28
28
|
messageType: string;
|
|
29
29
|
taskId: string | null;
|
|
@@ -143,18 +143,18 @@ declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) =>
|
|
|
143
143
|
id: string;
|
|
144
144
|
createdAt: string;
|
|
145
145
|
updatedAt: string;
|
|
146
|
-
projectId: string;
|
|
147
|
-
tenantId: string;
|
|
148
146
|
metadata: MessageMetadata | null;
|
|
149
|
-
content: MessageContent;
|
|
150
|
-
conversationId: string;
|
|
151
147
|
role: string;
|
|
148
|
+
tenantId: string;
|
|
149
|
+
projectId: string;
|
|
150
|
+
conversationId: string;
|
|
152
151
|
fromSubAgentId: string | null;
|
|
153
152
|
toSubAgentId: string | null;
|
|
154
153
|
fromExternalAgentId: string | null;
|
|
155
154
|
toExternalAgentId: string | null;
|
|
156
155
|
fromTeamAgentId: string | null;
|
|
157
156
|
toTeamAgentId: string | null;
|
|
157
|
+
content: MessageContent;
|
|
158
158
|
visibility: string;
|
|
159
159
|
messageType: string;
|
|
160
160
|
taskId: string | null;
|
|
@@ -196,18 +196,18 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
196
196
|
id: string;
|
|
197
197
|
createdAt: string;
|
|
198
198
|
updatedAt: string;
|
|
199
|
-
projectId: string;
|
|
200
|
-
tenantId: string;
|
|
201
199
|
metadata: MessageMetadata | null;
|
|
202
|
-
content: MessageContent;
|
|
203
|
-
conversationId: string;
|
|
204
200
|
role: string;
|
|
201
|
+
tenantId: string;
|
|
202
|
+
projectId: string;
|
|
203
|
+
conversationId: string;
|
|
205
204
|
fromSubAgentId: string | null;
|
|
206
205
|
toSubAgentId: string | null;
|
|
207
206
|
fromExternalAgentId: string | null;
|
|
208
207
|
toExternalAgentId: string | null;
|
|
209
208
|
fromTeamAgentId: string | null;
|
|
210
209
|
toTeamAgentId: string | null;
|
|
210
|
+
content: MessageContent;
|
|
211
211
|
visibility: string;
|
|
212
212
|
messageType: string;
|
|
213
213
|
taskId: string | null;
|
|
@@ -11,9 +11,9 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
|
|
|
11
11
|
id: string;
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
14
|
-
agentId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
agentId: string;
|
|
17
17
|
subAgentId: string;
|
|
18
18
|
headers: Record<string, string> | null;
|
|
19
19
|
externalAgentId: string;
|
|
@@ -46,9 +46,9 @@ declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params
|
|
|
46
46
|
id: string;
|
|
47
47
|
createdAt: string;
|
|
48
48
|
updatedAt: string;
|
|
49
|
-
agentId: string;
|
|
50
|
-
projectId: string;
|
|
51
49
|
tenantId: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
agentId: string;
|
|
52
52
|
subAgentId: string;
|
|
53
53
|
headers: Record<string, string> | null;
|
|
54
54
|
externalAgentId: string;
|
|
@@ -59,9 +59,9 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) =>
|
|
|
59
59
|
id: string;
|
|
60
60
|
createdAt: string;
|
|
61
61
|
updatedAt: string;
|
|
62
|
-
agentId: string;
|
|
63
|
-
projectId: string;
|
|
64
62
|
tenantId: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
agentId: string;
|
|
65
65
|
subAgentId: string;
|
|
66
66
|
headers: Record<string, string> | null;
|
|
67
67
|
externalAgentId: string;
|
|
@@ -182,9 +182,9 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
182
182
|
id: string;
|
|
183
183
|
createdAt: string;
|
|
184
184
|
updatedAt: string;
|
|
185
|
-
agentId: string;
|
|
186
|
-
projectId: string;
|
|
187
185
|
tenantId: string;
|
|
186
|
+
projectId: string;
|
|
187
|
+
agentId: string;
|
|
188
188
|
subAgentId: string;
|
|
189
189
|
headers: Record<string, string> | null;
|
|
190
190
|
externalAgentId: string;
|
|
@@ -199,9 +199,9 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
|
|
|
199
199
|
id: string;
|
|
200
200
|
createdAt: string;
|
|
201
201
|
updatedAt: string;
|
|
202
|
-
agentId: string;
|
|
203
|
-
projectId: string;
|
|
204
202
|
tenantId: string;
|
|
203
|
+
projectId: string;
|
|
204
|
+
agentId: string;
|
|
205
205
|
subAgentId: string;
|
|
206
206
|
headers: Record<string, string> | null;
|
|
207
207
|
externalAgentId: string;
|
|
@@ -220,9 +220,9 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
220
220
|
id: string;
|
|
221
221
|
createdAt: string;
|
|
222
222
|
updatedAt: string;
|
|
223
|
-
agentId: string;
|
|
224
|
-
projectId: string;
|
|
225
223
|
tenantId: string;
|
|
224
|
+
projectId: string;
|
|
225
|
+
agentId: string;
|
|
226
226
|
subAgentId: string;
|
|
227
227
|
headers: Record<string, string> | null;
|
|
228
228
|
externalAgentId: string;
|
|
@@ -11,9 +11,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
|
|
|
11
11
|
id: string;
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
14
|
-
agentId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
agentId: 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
|
-
agentId: string;
|
|
50
|
-
projectId: string;
|
|
51
49
|
tenantId: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
agentId: 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
|
-
agentId: string;
|
|
63
|
-
projectId: string;
|
|
64
62
|
tenantId: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
agentId: 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
|
-
agentId: string;
|
|
132
|
-
projectId: string;
|
|
133
131
|
tenantId: string;
|
|
132
|
+
projectId: string;
|
|
133
|
+
agentId: 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
|
-
agentId: string;
|
|
151
|
-
projectId: string;
|
|
152
150
|
tenantId: string;
|
|
151
|
+
projectId: string;
|
|
152
|
+
agentId: 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
|
-
agentId: string;
|
|
165
|
-
projectId: string;
|
|
166
164
|
tenantId: string;
|
|
165
|
+
projectId: string;
|
|
166
|
+
agentId: string;
|
|
167
167
|
sourceSubAgentId: string;
|
|
168
168
|
targetSubAgentId: string | null;
|
|
169
169
|
relationType: string | null;
|
|
@@ -206,9 +206,9 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
206
206
|
id: string;
|
|
207
207
|
createdAt: string;
|
|
208
208
|
updatedAt: string;
|
|
209
|
-
agentId: string;
|
|
210
|
-
projectId: string;
|
|
211
209
|
tenantId: string;
|
|
210
|
+
projectId: string;
|
|
211
|
+
agentId: string;
|
|
212
212
|
toolId: string;
|
|
213
213
|
subAgentId: string;
|
|
214
214
|
headers: Record<string, string> | null;
|
|
@@ -250,9 +250,9 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
250
250
|
id: string;
|
|
251
251
|
createdAt: string;
|
|
252
252
|
updatedAt: string;
|
|
253
|
-
agentId: string;
|
|
254
|
-
projectId: string;
|
|
255
253
|
tenantId: string;
|
|
254
|
+
projectId: string;
|
|
255
|
+
agentId: string;
|
|
256
256
|
toolId: string;
|
|
257
257
|
subAgentId: string;
|
|
258
258
|
headers: Record<string, string> | null;
|
|
@@ -11,9 +11,9 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
11
11
|
id: string;
|
|
12
12
|
createdAt: string;
|
|
13
13
|
updatedAt: string;
|
|
14
|
-
agentId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
agentId: string;
|
|
17
17
|
subAgentId: string;
|
|
18
18
|
headers: Record<string, string> | null;
|
|
19
19
|
targetAgentId: string;
|
|
@@ -46,9 +46,9 @@ declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
46
46
|
id: string;
|
|
47
47
|
createdAt: string;
|
|
48
48
|
updatedAt: string;
|
|
49
|
-
agentId: string;
|
|
50
|
-
projectId: string;
|
|
51
49
|
tenantId: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
agentId: string;
|
|
52
52
|
subAgentId: string;
|
|
53
53
|
headers: Record<string, string> | null;
|
|
54
54
|
targetAgentId: string;
|
|
@@ -59,9 +59,9 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (par
|
|
|
59
59
|
id: string;
|
|
60
60
|
createdAt: string;
|
|
61
61
|
updatedAt: string;
|
|
62
|
-
agentId: string;
|
|
63
|
-
projectId: string;
|
|
64
62
|
tenantId: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
agentId: string;
|
|
65
65
|
subAgentId: string;
|
|
66
66
|
headers: Record<string, string> | null;
|
|
67
67
|
targetAgentId: string;
|
|
@@ -212,9 +212,9 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
212
212
|
id: string;
|
|
213
213
|
createdAt: string;
|
|
214
214
|
updatedAt: string;
|
|
215
|
-
agentId: string;
|
|
216
|
-
projectId: string;
|
|
217
215
|
tenantId: string;
|
|
216
|
+
projectId: string;
|
|
217
|
+
agentId: string;
|
|
218
218
|
subAgentId: string;
|
|
219
219
|
headers: Record<string, string> | null;
|
|
220
220
|
targetAgentId: string;
|
|
@@ -229,9 +229,9 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
229
229
|
id: string;
|
|
230
230
|
createdAt: string;
|
|
231
231
|
updatedAt: string;
|
|
232
|
-
agentId: string;
|
|
233
|
-
projectId: string;
|
|
234
232
|
tenantId: string;
|
|
233
|
+
projectId: string;
|
|
234
|
+
agentId: string;
|
|
235
235
|
subAgentId: string;
|
|
236
236
|
headers: Record<string, string> | null;
|
|
237
237
|
targetAgentId: string;
|
|
@@ -250,9 +250,9 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
250
250
|
id: string;
|
|
251
251
|
createdAt: string;
|
|
252
252
|
updatedAt: string;
|
|
253
|
-
agentId: string;
|
|
254
|
-
projectId: string;
|
|
255
253
|
tenantId: string;
|
|
254
|
+
projectId: string;
|
|
255
|
+
agentId: string;
|
|
256
256
|
subAgentId: string;
|
|
257
257
|
headers: Record<string, string> | null;
|
|
258
258
|
targetAgentId: string;
|
|
@@ -8,13 +8,10 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
8
8
|
scopes: AgentScopeConfig;
|
|
9
9
|
subAgentId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
name: string;
|
|
12
11
|
id: string;
|
|
12
|
+
name: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
-
agentId: string;
|
|
16
|
-
projectId: string;
|
|
17
|
-
tenantId: string;
|
|
18
15
|
description: string | null;
|
|
19
16
|
models: {
|
|
20
17
|
base?: {
|
|
@@ -30,22 +27,22 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
30
27
|
providerOptions?: Record<string, any> | undefined;
|
|
31
28
|
} | undefined;
|
|
32
29
|
} | null;
|
|
33
|
-
prompt: string | null;
|
|
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: DatabaseClient) => (params: {
|
|
40
40
|
scopes: AgentScopeConfig;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
name: string;
|
|
43
42
|
id: string;
|
|
43
|
+
name: string;
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
|
-
agentId: string;
|
|
47
|
-
projectId: string;
|
|
48
|
-
tenantId: string;
|
|
49
46
|
description: string | null;
|
|
50
47
|
models: {
|
|
51
48
|
base?: {
|
|
@@ -61,10 +58,13 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
61
58
|
providerOptions?: Record<string, any> | undefined;
|
|
62
59
|
} | undefined;
|
|
63
60
|
} | null;
|
|
64
|
-
prompt: string | null;
|
|
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: DatabaseClient) => (params: {
|
|
@@ -108,13 +108,10 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
108
108
|
};
|
|
109
109
|
}>;
|
|
110
110
|
declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
111
|
-
name: string;
|
|
112
111
|
id: string;
|
|
112
|
+
name: string;
|
|
113
113
|
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
115
|
-
agentId: string;
|
|
116
|
-
projectId: string;
|
|
117
|
-
tenantId: string;
|
|
118
115
|
description: string | null;
|
|
119
116
|
models: {
|
|
120
117
|
base?: {
|
|
@@ -130,10 +127,13 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
130
127
|
providerOptions?: Record<string, any> | undefined;
|
|
131
128
|
} | undefined;
|
|
132
129
|
} | null;
|
|
133
|
-
prompt: string | null;
|
|
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: DatabaseClient) => (params: {
|
|
@@ -9,12 +9,12 @@ declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promis
|
|
|
9
9
|
id: string;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
-
agentId: string;
|
|
13
|
-
projectId: string;
|
|
14
|
-
tenantId: string;
|
|
15
12
|
metadata: TaskMetadataConfig | null;
|
|
16
|
-
contextId: string;
|
|
17
13
|
status: string;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
agentId: string;
|
|
17
|
+
contextId: string;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
}>;
|
|
20
20
|
declare const getTask: (db: DatabaseClient) => (params: {
|
|
@@ -12,13 +12,13 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
12
12
|
scopes: ProjectScopeConfig;
|
|
13
13
|
toolId: string;
|
|
14
14
|
}) => Promise<{
|
|
15
|
-
name: string;
|
|
16
15
|
id: string;
|
|
16
|
+
name: string;
|
|
17
17
|
createdAt: string;
|
|
18
18
|
updatedAt: string;
|
|
19
|
-
projectId: string;
|
|
20
|
-
tenantId: string;
|
|
21
19
|
description: string | null;
|
|
20
|
+
tenantId: string;
|
|
21
|
+
projectId: string;
|
|
22
22
|
credentialReferenceId: string | null;
|
|
23
23
|
config: {
|
|
24
24
|
type: "mcp";
|
|
@@ -61,13 +61,13 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
63
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
64
|
-
name: string;
|
|
65
64
|
id: string;
|
|
65
|
+
name: string;
|
|
66
66
|
createdAt: string;
|
|
67
67
|
updatedAt: string;
|
|
68
|
-
projectId: string;
|
|
69
|
-
tenantId: string;
|
|
70
68
|
description: string | null;
|
|
69
|
+
tenantId: string;
|
|
70
|
+
projectId: string;
|
|
71
71
|
credentialReferenceId: string | null;
|
|
72
72
|
config: {
|
|
73
73
|
type: "mcp";
|
|
@@ -119,9 +119,9 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
119
119
|
id: string;
|
|
120
120
|
createdAt: string;
|
|
121
121
|
updatedAt: string;
|
|
122
|
-
agentId: string;
|
|
123
|
-
projectId: string;
|
|
124
122
|
tenantId: string;
|
|
123
|
+
projectId: string;
|
|
124
|
+
agentId: string;
|
|
125
125
|
toolId: string;
|
|
126
126
|
subAgentId: string;
|
|
127
127
|
headers: Record<string, string> | null;
|
|
@@ -138,9 +138,9 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
138
138
|
id: string;
|
|
139
139
|
createdAt: string;
|
|
140
140
|
updatedAt: string;
|
|
141
|
-
agentId: string;
|
|
142
|
-
projectId: string;
|
|
143
141
|
tenantId: string;
|
|
142
|
+
projectId: string;
|
|
143
|
+
agentId: string;
|
|
144
144
|
toolId: string;
|
|
145
145
|
subAgentId: string;
|
|
146
146
|
headers: Record<string, string> | null;
|
|
@@ -166,9 +166,9 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
166
166
|
id: string;
|
|
167
167
|
createdAt: string;
|
|
168
168
|
updatedAt: string;
|
|
169
|
-
agentId: string;
|
|
170
|
-
projectId: string;
|
|
171
169
|
tenantId: string;
|
|
170
|
+
projectId: string;
|
|
171
|
+
agentId: string;
|
|
172
172
|
toolId: string;
|
|
173
173
|
subAgentId: string;
|
|
174
174
|
headers: Record<string, string> | null;
|
|
@@ -183,13 +183,13 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
183
183
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
184
184
|
data: ToolInsert;
|
|
185
185
|
}) => Promise<{
|
|
186
|
-
name: string;
|
|
187
186
|
id: string;
|
|
187
|
+
name: string;
|
|
188
188
|
createdAt: string;
|
|
189
189
|
updatedAt: string;
|
|
190
|
-
projectId: string;
|
|
191
|
-
tenantId: string;
|
|
192
190
|
description: string | null;
|
|
191
|
+
tenantId: string;
|
|
192
|
+
projectId: string;
|
|
193
193
|
credentialReferenceId: string | null;
|
|
194
194
|
config: {
|
|
195
195
|
type: "mcp";
|