@inkeep/agents-core 0.0.0-dev-20260224090320 → 0.0.0-dev-20260224144914
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.d.ts +53 -53
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +5 -5
- package/dist/data-access/manage/agents.d.ts +29 -29
- 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 +14 -14
- package/dist/data-access/manage/skills.d.ts +19 -19
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +27 -27
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/conversations.d.ts +32 -32
- package/dist/data-access/runtime/messages.d.ts +27 -27
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +9 -9
- package/dist/db/manage/manage-schema.d.ts +353 -353
- package/dist/db/runtime/runtime-schema.d.ts +2 -2
- package/dist/setup/setup.js +52 -14
- package/dist/validation/schemas.d.ts +1627 -1627
- package/package.json +1 -1
|
@@ -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;
|
|
57
|
+
name: string;
|
|
61
58
|
createdAt: string;
|
|
62
59
|
updatedAt: string;
|
|
60
|
+
tenantId: string;
|
|
63
61
|
agentId: string;
|
|
62
|
+
description: string | null;
|
|
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;
|
|
99
|
+
name: string;
|
|
103
100
|
createdAt: string;
|
|
104
101
|
updatedAt: string;
|
|
102
|
+
tenantId: string;
|
|
105
103
|
agentId: string;
|
|
104
|
+
description: string | null;
|
|
105
|
+
projectId: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -161,13 +161,13 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
161
161
|
needsApproval?: boolean;
|
|
162
162
|
}> | null;
|
|
163
163
|
}) => Promise<{
|
|
164
|
-
tenantId: string;
|
|
165
|
-
projectId: string;
|
|
166
|
-
subAgentId: string;
|
|
167
164
|
id: string;
|
|
168
165
|
createdAt: string;
|
|
169
166
|
updatedAt: string;
|
|
167
|
+
tenantId: string;
|
|
170
168
|
agentId: string;
|
|
169
|
+
projectId: string;
|
|
170
|
+
subAgentId: string;
|
|
171
171
|
toolPolicies: Record<string, {
|
|
172
172
|
needsApproval?: boolean;
|
|
173
173
|
}> | null;
|
|
@@ -226,13 +226,13 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
226
226
|
needsApproval?: boolean;
|
|
227
227
|
}> | null;
|
|
228
228
|
}) => Promise<{
|
|
229
|
-
tenantId: string;
|
|
230
|
-
projectId: string;
|
|
231
|
-
subAgentId: string;
|
|
232
229
|
id: string;
|
|
233
230
|
createdAt: string;
|
|
234
231
|
updatedAt: string;
|
|
232
|
+
tenantId: string;
|
|
235
233
|
agentId: string;
|
|
234
|
+
projectId: string;
|
|
235
|
+
subAgentId: string;
|
|
236
236
|
toolPolicies: Record<string, {
|
|
237
237
|
needsApproval?: boolean;
|
|
238
238
|
}> | null;
|
|
@@ -8,15 +8,15 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: ProjectScopeConfig;
|
|
9
9
|
skillId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
description: string;
|
|
12
|
-
name: string;
|
|
13
|
-
content: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
11
|
id: string;
|
|
12
|
+
name: string;
|
|
17
13
|
createdAt: string;
|
|
18
14
|
updatedAt: string;
|
|
19
15
|
metadata: Record<string, string> | null;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
description: string;
|
|
18
|
+
projectId: string;
|
|
19
|
+
content: string;
|
|
20
20
|
} | null>;
|
|
21
21
|
declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: ProjectScopeConfig;
|
|
@@ -41,26 +41,26 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
41
41
|
};
|
|
42
42
|
}>;
|
|
43
43
|
declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
44
|
-
description: string;
|
|
45
|
-
name: string;
|
|
46
|
-
content: string;
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
44
|
id: string;
|
|
45
|
+
name: string;
|
|
50
46
|
createdAt: string;
|
|
51
47
|
updatedAt: string;
|
|
52
48
|
metadata: Record<string, string> | null;
|
|
53
|
-
}>;
|
|
54
|
-
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
55
|
-
description: string;
|
|
56
|
-
name: string;
|
|
57
|
-
content: string;
|
|
58
49
|
tenantId: string;
|
|
50
|
+
description: string;
|
|
59
51
|
projectId: string;
|
|
52
|
+
content: string;
|
|
53
|
+
}>;
|
|
54
|
+
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
60
55
|
id: string;
|
|
56
|
+
name: string;
|
|
61
57
|
createdAt: string;
|
|
62
58
|
updatedAt: string;
|
|
63
59
|
metadata: Record<string, string> | null;
|
|
60
|
+
tenantId: string;
|
|
61
|
+
description: string;
|
|
62
|
+
projectId: string;
|
|
63
|
+
content: string;
|
|
64
64
|
}>;
|
|
65
65
|
declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
66
66
|
scopes: ProjectScopeConfig;
|
|
@@ -91,16 +91,16 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
|
|
|
91
91
|
index: number;
|
|
92
92
|
alwaysLoaded?: boolean;
|
|
93
93
|
}) => Promise<{
|
|
94
|
-
tenantId: string;
|
|
95
|
-
projectId: string;
|
|
96
|
-
subAgentId: string;
|
|
97
94
|
id: string;
|
|
98
95
|
createdAt: string;
|
|
99
96
|
updatedAt: string;
|
|
97
|
+
tenantId: string;
|
|
100
98
|
agentId: string;
|
|
101
|
-
|
|
99
|
+
projectId: string;
|
|
100
|
+
subAgentId: string;
|
|
102
101
|
index: number;
|
|
103
102
|
alwaysLoaded: boolean;
|
|
103
|
+
skillId: string;
|
|
104
104
|
}>;
|
|
105
105
|
declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
106
106
|
scopes: AgentScopeConfig;
|
|
@@ -9,13 +9,13 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
|
-
subAgentId: string;
|
|
15
12
|
id: string;
|
|
16
13
|
createdAt: string;
|
|
17
14
|
updatedAt: string;
|
|
15
|
+
tenantId: string;
|
|
18
16
|
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
subAgentId: string;
|
|
19
19
|
headers: Record<string, string> | null;
|
|
20
20
|
externalAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
@@ -44,26 +44,26 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
|
|
|
44
44
|
declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
|
-
subAgentId: string;
|
|
50
47
|
id: string;
|
|
51
48
|
createdAt: string;
|
|
52
49
|
updatedAt: string;
|
|
50
|
+
tenantId: string;
|
|
53
51
|
agentId: string;
|
|
52
|
+
projectId: string;
|
|
53
|
+
subAgentId: string;
|
|
54
54
|
headers: Record<string, string> | null;
|
|
55
55
|
externalAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
tenantId: string;
|
|
61
|
-
projectId: string;
|
|
62
|
-
subAgentId: string;
|
|
63
60
|
id: string;
|
|
64
61
|
createdAt: string;
|
|
65
62
|
updatedAt: string;
|
|
63
|
+
tenantId: string;
|
|
66
64
|
agentId: string;
|
|
65
|
+
projectId: string;
|
|
66
|
+
subAgentId: string;
|
|
67
67
|
headers: Record<string, string> | null;
|
|
68
68
|
externalAgentId: string;
|
|
69
69
|
}[]>;
|
|
@@ -180,13 +180,13 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
180
180
|
headers?: Record<string, string> | null;
|
|
181
181
|
};
|
|
182
182
|
}) => Promise<{
|
|
183
|
-
tenantId: string;
|
|
184
|
-
projectId: string;
|
|
185
|
-
subAgentId: string;
|
|
186
183
|
id: string;
|
|
187
184
|
createdAt: string;
|
|
188
185
|
updatedAt: string;
|
|
186
|
+
tenantId: string;
|
|
189
187
|
agentId: string;
|
|
188
|
+
projectId: string;
|
|
189
|
+
subAgentId: string;
|
|
190
190
|
headers: Record<string, string> | null;
|
|
191
191
|
externalAgentId: string;
|
|
192
192
|
}>;
|
|
@@ -197,13 +197,13 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
197
197
|
scopes: SubAgentScopeConfig;
|
|
198
198
|
externalAgentId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
tenantId: string;
|
|
201
|
-
projectId: string;
|
|
202
|
-
subAgentId: string;
|
|
203
200
|
id: string;
|
|
204
201
|
createdAt: string;
|
|
205
202
|
updatedAt: string;
|
|
203
|
+
tenantId: string;
|
|
206
204
|
agentId: string;
|
|
205
|
+
projectId: string;
|
|
206
|
+
subAgentId: string;
|
|
207
207
|
headers: Record<string, string> | null;
|
|
208
208
|
externalAgentId: string;
|
|
209
209
|
} | undefined>;
|
|
@@ -218,13 +218,13 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
218
218
|
headers?: Record<string, string> | null;
|
|
219
219
|
};
|
|
220
220
|
}) => Promise<{
|
|
221
|
-
tenantId: string;
|
|
222
|
-
projectId: string;
|
|
223
|
-
subAgentId: string;
|
|
224
221
|
id: string;
|
|
225
222
|
createdAt: string;
|
|
226
223
|
updatedAt: string;
|
|
224
|
+
tenantId: string;
|
|
227
225
|
agentId: string;
|
|
226
|
+
projectId: string;
|
|
227
|
+
subAgentId: string;
|
|
228
228
|
headers: Record<string, string> | null;
|
|
229
229
|
externalAgentId: string;
|
|
230
230
|
}>;
|
|
@@ -9,15 +9,15 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
12
|
id: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
15
|
+
tenantId: string;
|
|
17
16
|
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
relationType: string | null;
|
|
18
19
|
sourceSubAgentId: string;
|
|
19
20
|
targetSubAgentId: string | null;
|
|
20
|
-
relationType: string | null;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
23
23
|
scopes: AgentScopeConfig;
|
|
@@ -44,28 +44,28 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
44
44
|
declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
47
|
id: string;
|
|
50
48
|
createdAt: string;
|
|
51
49
|
updatedAt: string;
|
|
50
|
+
tenantId: string;
|
|
52
51
|
agentId: string;
|
|
52
|
+
projectId: string;
|
|
53
|
+
relationType: string | null;
|
|
53
54
|
sourceSubAgentId: string;
|
|
54
55
|
targetSubAgentId: string | null;
|
|
55
|
-
relationType: string | null;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
tenantId: string;
|
|
61
|
-
projectId: string;
|
|
62
60
|
id: string;
|
|
63
61
|
createdAt: string;
|
|
64
62
|
updatedAt: string;
|
|
63
|
+
tenantId: string;
|
|
65
64
|
agentId: string;
|
|
65
|
+
projectId: string;
|
|
66
|
+
relationType: string | null;
|
|
66
67
|
sourceSubAgentId: string;
|
|
67
68
|
targetSubAgentId: string | null;
|
|
68
|
-
relationType: string | null;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
|
|
71
71
|
scopes: AgentScopeConfig;
|
|
@@ -126,15 +126,15 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
126
126
|
}[];
|
|
127
127
|
}>;
|
|
128
128
|
declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
129
|
-
tenantId: string;
|
|
130
|
-
projectId: string;
|
|
131
129
|
id: string;
|
|
132
130
|
createdAt: string;
|
|
133
131
|
updatedAt: string;
|
|
132
|
+
tenantId: string;
|
|
134
133
|
agentId: string;
|
|
134
|
+
projectId: string;
|
|
135
|
+
relationType: string | null;
|
|
135
136
|
sourceSubAgentId: string;
|
|
136
137
|
targetSubAgentId: string | null;
|
|
137
|
-
relationType: string | null;
|
|
138
138
|
}>;
|
|
139
139
|
/**
|
|
140
140
|
* Check if sub-agent relation exists by agent, source, target, and relation type
|
|
@@ -145,29 +145,29 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
145
145
|
targetSubAgentId?: string;
|
|
146
146
|
relationType: string;
|
|
147
147
|
}) => Promise<{
|
|
148
|
-
tenantId: string;
|
|
149
|
-
projectId: string;
|
|
150
148
|
id: string;
|
|
151
149
|
createdAt: string;
|
|
152
150
|
updatedAt: string;
|
|
151
|
+
tenantId: string;
|
|
153
152
|
agentId: string;
|
|
153
|
+
projectId: string;
|
|
154
|
+
relationType: string | null;
|
|
154
155
|
sourceSubAgentId: string;
|
|
155
156
|
targetSubAgentId: string | null;
|
|
156
|
-
relationType: string | null;
|
|
157
157
|
} | undefined>;
|
|
158
158
|
/**
|
|
159
159
|
* Upsert agent relation (create if it doesn't exist, no-op if it does)
|
|
160
160
|
*/
|
|
161
161
|
declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
162
|
-
tenantId: string;
|
|
163
|
-
projectId: string;
|
|
164
162
|
id: string;
|
|
165
163
|
createdAt: string;
|
|
166
164
|
updatedAt: string;
|
|
165
|
+
tenantId: string;
|
|
167
166
|
agentId: string;
|
|
167
|
+
projectId: string;
|
|
168
|
+
relationType: string | null;
|
|
168
169
|
sourceSubAgentId: string;
|
|
169
170
|
targetSubAgentId: string | null;
|
|
170
|
-
relationType: string | null;
|
|
171
171
|
}>;
|
|
172
172
|
declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
173
173
|
scopes: AgentScopeConfig;
|
|
@@ -204,19 +204,19 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
204
204
|
}> | null;
|
|
205
205
|
};
|
|
206
206
|
}) => Promise<{
|
|
207
|
-
tenantId: string;
|
|
208
|
-
projectId: string;
|
|
209
|
-
subAgentId: string;
|
|
210
207
|
id: string;
|
|
211
208
|
createdAt: string;
|
|
212
209
|
updatedAt: string;
|
|
210
|
+
tenantId: string;
|
|
213
211
|
agentId: string;
|
|
212
|
+
projectId: string;
|
|
213
|
+
subAgentId: string;
|
|
214
214
|
toolId: string;
|
|
215
215
|
headers: Record<string, string> | null;
|
|
216
|
-
selectedTools: string[] | null;
|
|
217
216
|
toolPolicies: Record<string, {
|
|
218
217
|
needsApproval?: boolean;
|
|
219
218
|
}> | null;
|
|
219
|
+
selectedTools: string[] | null;
|
|
220
220
|
}>;
|
|
221
221
|
declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
222
222
|
scopes: AgentScopeConfig;
|
|
@@ -248,19 +248,19 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
248
248
|
scopes: SubAgentScopeConfig;
|
|
249
249
|
relationId: string;
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
tenantId: string;
|
|
252
|
-
projectId: string;
|
|
253
|
-
subAgentId: string;
|
|
254
251
|
id: string;
|
|
255
252
|
createdAt: string;
|
|
256
253
|
updatedAt: string;
|
|
254
|
+
tenantId: string;
|
|
257
255
|
agentId: string;
|
|
256
|
+
projectId: string;
|
|
257
|
+
subAgentId: string;
|
|
258
258
|
toolId: string;
|
|
259
259
|
headers: Record<string, string> | null;
|
|
260
|
-
selectedTools: string[] | null;
|
|
261
260
|
toolPolicies: Record<string, {
|
|
262
261
|
needsApproval?: boolean;
|
|
263
262
|
}> | null;
|
|
263
|
+
selectedTools: string[] | null;
|
|
264
264
|
} | undefined>;
|
|
265
265
|
declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
266
266
|
scopes: SubAgentScopeConfig;
|
|
@@ -9,13 +9,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
|
-
subAgentId: string;
|
|
15
12
|
id: string;
|
|
16
13
|
createdAt: string;
|
|
17
14
|
updatedAt: string;
|
|
15
|
+
tenantId: string;
|
|
18
16
|
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
subAgentId: string;
|
|
19
19
|
headers: Record<string, string> | null;
|
|
20
20
|
targetAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
@@ -44,26 +44,26 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
44
44
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
|
-
subAgentId: string;
|
|
50
47
|
id: string;
|
|
51
48
|
createdAt: string;
|
|
52
49
|
updatedAt: string;
|
|
50
|
+
tenantId: string;
|
|
53
51
|
agentId: string;
|
|
52
|
+
projectId: string;
|
|
53
|
+
subAgentId: string;
|
|
54
54
|
headers: Record<string, string> | null;
|
|
55
55
|
targetAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
tenantId: string;
|
|
61
|
-
projectId: string;
|
|
62
|
-
subAgentId: string;
|
|
63
60
|
id: string;
|
|
64
61
|
createdAt: string;
|
|
65
62
|
updatedAt: string;
|
|
63
|
+
tenantId: string;
|
|
66
64
|
agentId: string;
|
|
65
|
+
projectId: string;
|
|
66
|
+
subAgentId: string;
|
|
67
67
|
headers: Record<string, string> | null;
|
|
68
68
|
targetAgentId: string;
|
|
69
69
|
}[]>;
|
|
@@ -210,13 +210,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
210
210
|
headers?: Record<string, string> | null;
|
|
211
211
|
};
|
|
212
212
|
}) => Promise<{
|
|
213
|
-
tenantId: string;
|
|
214
|
-
projectId: string;
|
|
215
|
-
subAgentId: string;
|
|
216
213
|
id: string;
|
|
217
214
|
createdAt: string;
|
|
218
215
|
updatedAt: string;
|
|
216
|
+
tenantId: string;
|
|
219
217
|
agentId: string;
|
|
218
|
+
projectId: string;
|
|
219
|
+
subAgentId: string;
|
|
220
220
|
headers: Record<string, string> | null;
|
|
221
221
|
targetAgentId: string;
|
|
222
222
|
}>;
|
|
@@ -227,13 +227,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
227
227
|
scopes: SubAgentScopeConfig;
|
|
228
228
|
targetAgentId: string;
|
|
229
229
|
}) => Promise<{
|
|
230
|
-
tenantId: string;
|
|
231
|
-
projectId: string;
|
|
232
|
-
subAgentId: string;
|
|
233
230
|
id: string;
|
|
234
231
|
createdAt: string;
|
|
235
232
|
updatedAt: string;
|
|
233
|
+
tenantId: string;
|
|
236
234
|
agentId: string;
|
|
235
|
+
projectId: string;
|
|
236
|
+
subAgentId: string;
|
|
237
237
|
headers: Record<string, string> | null;
|
|
238
238
|
targetAgentId: string;
|
|
239
239
|
} | undefined>;
|
|
@@ -248,13 +248,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
248
248
|
headers?: Record<string, string> | null;
|
|
249
249
|
};
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
tenantId: string;
|
|
252
|
-
projectId: string;
|
|
253
|
-
subAgentId: string;
|
|
254
251
|
id: string;
|
|
255
252
|
createdAt: string;
|
|
256
253
|
updatedAt: string;
|
|
254
|
+
tenantId: string;
|
|
257
255
|
agentId: string;
|
|
256
|
+
projectId: string;
|
|
257
|
+
subAgentId: string;
|
|
258
258
|
headers: Record<string, string> | null;
|
|
259
259
|
targetAgentId: string;
|
|
260
260
|
}>;
|
|
@@ -9,13 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
description: string | null;
|
|
13
|
-
name: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
12
|
id: string;
|
|
13
|
+
name: string;
|
|
17
14
|
createdAt: string;
|
|
18
15
|
updatedAt: string;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
agentId: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
projectId: string;
|
|
19
20
|
models: {
|
|
20
21
|
base?: {
|
|
21
22
|
model?: string | undefined;
|
|
@@ -34,19 +35,19 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
34
35
|
stepCountIs?: number | undefined;
|
|
35
36
|
} | null;
|
|
36
37
|
prompt: string | null;
|
|
37
|
-
agentId: string;
|
|
38
38
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
41
41
|
scopes: AgentScopeConfig;
|
|
42
42
|
}) => Promise<{
|
|
43
|
-
description: string | null;
|
|
44
|
-
name: string;
|
|
45
|
-
tenantId: string;
|
|
46
|
-
projectId: string;
|
|
47
43
|
id: string;
|
|
44
|
+
name: string;
|
|
48
45
|
createdAt: string;
|
|
49
46
|
updatedAt: string;
|
|
47
|
+
tenantId: string;
|
|
48
|
+
agentId: string;
|
|
49
|
+
description: string | null;
|
|
50
|
+
projectId: string;
|
|
50
51
|
models: {
|
|
51
52
|
base?: {
|
|
52
53
|
model?: string | undefined;
|
|
@@ -65,7 +66,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
65
66
|
stepCountIs?: number | undefined;
|
|
66
67
|
} | null;
|
|
67
68
|
prompt: string | null;
|
|
68
|
-
agentId: string;
|
|
69
69
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -109,13 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
109
109
|
};
|
|
110
110
|
}>;
|
|
111
111
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
112
|
-
description: string | null;
|
|
113
|
-
name: string;
|
|
114
|
-
tenantId: string;
|
|
115
|
-
projectId: string;
|
|
116
112
|
id: string;
|
|
113
|
+
name: string;
|
|
117
114
|
createdAt: string;
|
|
118
115
|
updatedAt: string;
|
|
116
|
+
tenantId: string;
|
|
117
|
+
agentId: string;
|
|
118
|
+
description: string | null;
|
|
119
|
+
projectId: string;
|
|
119
120
|
models: {
|
|
120
121
|
base?: {
|
|
121
122
|
model?: string | undefined;
|
|
@@ -134,7 +135,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
134
135
|
stepCountIs?: number | undefined;
|
|
135
136
|
} | null;
|
|
136
137
|
prompt: string | null;
|
|
137
|
-
agentId: string;
|
|
138
138
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
139
139
|
}>;
|
|
140
140
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|