@inkeep/agents-core 0.0.0-dev-20260302234522 → 0.0.0-dev-20260303013812
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 +107 -107
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +54 -29
- package/dist/auth/auth.js +45 -3
- package/dist/auth/email-send-status-store.d.ts +10 -0
- package/dist/auth/email-send-status-store.js +20 -0
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +4 -4
- package/dist/data-access/manage/agents.d.ts +20 -20
- 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 +14 -14
- package/dist/data-access/manage/skills.d.ts +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +18 -18
- package/dist/data-access/manage/triggers.d.ts +1 -1
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/conversations.d.ts +16 -16
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +294 -294
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +446 -446
- package/package.json +1 -1
|
@@ -65,12 +65,12 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
|
|
|
65
65
|
scopes: SubAgentScopeConfig;
|
|
66
66
|
dataComponentId: string;
|
|
67
67
|
}) => Promise<{
|
|
68
|
-
tenantId: string;
|
|
69
|
-
agentId: string;
|
|
70
|
-
projectId: string;
|
|
71
68
|
subAgentId: string;
|
|
72
69
|
id: string;
|
|
73
70
|
createdAt: string;
|
|
71
|
+
projectId: string;
|
|
72
|
+
tenantId: string;
|
|
73
|
+
agentId: string;
|
|
74
74
|
dataComponentId: string;
|
|
75
75
|
}>;
|
|
76
76
|
/**
|
|
@@ -107,12 +107,12 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
|
|
|
107
107
|
scopes: SubAgentScopeConfig;
|
|
108
108
|
dataComponentId: string;
|
|
109
109
|
}) => Promise<{
|
|
110
|
-
tenantId: string;
|
|
111
|
-
agentId: string;
|
|
112
|
-
projectId: string;
|
|
113
110
|
subAgentId: string;
|
|
114
111
|
id: string;
|
|
115
112
|
createdAt: string;
|
|
113
|
+
projectId: string;
|
|
114
|
+
tenantId: string;
|
|
115
|
+
agentId: string;
|
|
116
116
|
dataComponentId: string;
|
|
117
117
|
} | null>;
|
|
118
118
|
/**
|
|
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
53
53
|
data: FunctionToolApiInsert;
|
|
54
54
|
scopes: AgentScopeConfig;
|
|
55
55
|
}) => Promise<{
|
|
56
|
+
name: string;
|
|
56
57
|
description: string | null;
|
|
57
|
-
tenantId: string;
|
|
58
|
-
agentId: string;
|
|
59
|
-
projectId: string;
|
|
60
58
|
id: string;
|
|
61
|
-
name: string;
|
|
62
59
|
createdAt: string;
|
|
63
60
|
updatedAt: string;
|
|
61
|
+
projectId: string;
|
|
62
|
+
tenantId: 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
|
+
name: string;
|
|
98
99
|
description: string | null;
|
|
99
|
-
tenantId: string;
|
|
100
|
-
agentId: string;
|
|
101
|
-
projectId: string;
|
|
102
100
|
id: string;
|
|
103
|
-
name: string;
|
|
104
101
|
createdAt: string;
|
|
105
102
|
updatedAt: string;
|
|
103
|
+
projectId: string;
|
|
104
|
+
tenantId: string;
|
|
105
|
+
agentId: 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
|
-
agentId: string;
|
|
166
|
-
projectId: string;
|
|
167
164
|
subAgentId: string;
|
|
168
165
|
id: string;
|
|
169
166
|
createdAt: string;
|
|
170
167
|
updatedAt: string;
|
|
168
|
+
projectId: string;
|
|
169
|
+
tenantId: string;
|
|
170
|
+
agentId: string;
|
|
171
171
|
functionToolId: string;
|
|
172
172
|
toolPolicies: Record<string, {
|
|
173
173
|
needsApproval?: boolean;
|
|
@@ -226,13 +226,13 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
226
226
|
needsApproval?: boolean;
|
|
227
227
|
}> | null;
|
|
228
228
|
}) => Promise<{
|
|
229
|
-
tenantId: string;
|
|
230
|
-
agentId: string;
|
|
231
|
-
projectId: string;
|
|
232
229
|
subAgentId: string;
|
|
233
230
|
id: string;
|
|
234
231
|
createdAt: string;
|
|
235
232
|
updatedAt: string;
|
|
233
|
+
projectId: string;
|
|
234
|
+
tenantId: string;
|
|
235
|
+
agentId: string;
|
|
236
236
|
functionToolId: string;
|
|
237
237
|
toolPolicies: Record<string, {
|
|
238
238
|
needsApproval?: boolean;
|
|
@@ -8,13 +8,13 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: ProjectScopeConfig;
|
|
9
9
|
skillId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
+
name: string;
|
|
11
12
|
description: string;
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
13
|
id: string;
|
|
15
|
-
name: string;
|
|
16
14
|
createdAt: string;
|
|
17
15
|
updatedAt: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
18
|
metadata: Record<string, string> | null;
|
|
19
19
|
content: string;
|
|
20
20
|
} | null>;
|
|
@@ -41,24 +41,24 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
41
41
|
};
|
|
42
42
|
}>;
|
|
43
43
|
declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
44
|
+
name: string;
|
|
44
45
|
description: string;
|
|
45
|
-
tenantId: string;
|
|
46
|
-
projectId: string;
|
|
47
46
|
id: string;
|
|
48
|
-
name: string;
|
|
49
47
|
createdAt: string;
|
|
50
48
|
updatedAt: string;
|
|
49
|
+
projectId: string;
|
|
50
|
+
tenantId: string;
|
|
51
51
|
metadata: Record<string, string> | null;
|
|
52
52
|
content: string;
|
|
53
53
|
}>;
|
|
54
54
|
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
55
|
+
name: string;
|
|
55
56
|
description: string;
|
|
56
|
-
tenantId: string;
|
|
57
|
-
projectId: string;
|
|
58
57
|
id: string;
|
|
59
|
-
name: string;
|
|
60
58
|
createdAt: string;
|
|
61
59
|
updatedAt: string;
|
|
60
|
+
projectId: string;
|
|
61
|
+
tenantId: string;
|
|
62
62
|
metadata: Record<string, string> | null;
|
|
63
63
|
content: string;
|
|
64
64
|
}>;
|
|
@@ -91,13 +91,13 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
|
|
|
91
91
|
index: number;
|
|
92
92
|
alwaysLoaded?: boolean;
|
|
93
93
|
}) => Promise<{
|
|
94
|
-
tenantId: string;
|
|
95
|
-
agentId: string;
|
|
96
|
-
projectId: string;
|
|
97
94
|
subAgentId: string;
|
|
98
95
|
id: string;
|
|
99
96
|
createdAt: string;
|
|
100
97
|
updatedAt: string;
|
|
98
|
+
projectId: string;
|
|
99
|
+
tenantId: string;
|
|
100
|
+
agentId: string;
|
|
101
101
|
skillId: string;
|
|
102
102
|
index: number;
|
|
103
103
|
alwaysLoaded: boolean;
|
|
@@ -9,13 +9,13 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
agentId: string;
|
|
14
|
-
projectId: string;
|
|
15
12
|
subAgentId: string;
|
|
16
13
|
id: string;
|
|
17
14
|
createdAt: string;
|
|
18
15
|
updatedAt: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
|
+
agentId: 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
|
-
agentId: string;
|
|
49
|
-
projectId: string;
|
|
50
47
|
subAgentId: string;
|
|
51
48
|
id: string;
|
|
52
49
|
createdAt: string;
|
|
53
50
|
updatedAt: string;
|
|
51
|
+
projectId: string;
|
|
52
|
+
tenantId: string;
|
|
53
|
+
agentId: 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
|
-
agentId: string;
|
|
62
|
-
projectId: string;
|
|
63
60
|
subAgentId: string;
|
|
64
61
|
id: string;
|
|
65
62
|
createdAt: string;
|
|
66
63
|
updatedAt: string;
|
|
64
|
+
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
66
|
+
agentId: 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
|
-
agentId: string;
|
|
185
|
-
projectId: string;
|
|
186
183
|
subAgentId: string;
|
|
187
184
|
id: string;
|
|
188
185
|
createdAt: string;
|
|
189
186
|
updatedAt: string;
|
|
187
|
+
projectId: string;
|
|
188
|
+
tenantId: string;
|
|
189
|
+
agentId: 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
|
-
agentId: string;
|
|
202
|
-
projectId: string;
|
|
203
200
|
subAgentId: string;
|
|
204
201
|
id: string;
|
|
205
202
|
createdAt: string;
|
|
206
203
|
updatedAt: string;
|
|
204
|
+
projectId: string;
|
|
205
|
+
tenantId: string;
|
|
206
|
+
agentId: 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
|
-
agentId: string;
|
|
223
|
-
projectId: string;
|
|
224
221
|
subAgentId: string;
|
|
225
222
|
id: string;
|
|
226
223
|
createdAt: string;
|
|
227
224
|
updatedAt: string;
|
|
225
|
+
projectId: string;
|
|
226
|
+
tenantId: string;
|
|
227
|
+
agentId: string;
|
|
228
228
|
headers: Record<string, string> | null;
|
|
229
229
|
externalAgentId: string;
|
|
230
230
|
}>;
|
|
@@ -9,12 +9,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
agentId: string;
|
|
14
|
-
projectId: string;
|
|
15
12
|
id: string;
|
|
16
13
|
createdAt: string;
|
|
17
14
|
updatedAt: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
agentId: string;
|
|
18
18
|
sourceSubAgentId: string;
|
|
19
19
|
targetSubAgentId: string | null;
|
|
20
20
|
relationType: string | null;
|
|
@@ -44,12 +44,12 @@ 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
|
-
agentId: string;
|
|
49
|
-
projectId: string;
|
|
50
47
|
id: string;
|
|
51
48
|
createdAt: string;
|
|
52
49
|
updatedAt: string;
|
|
50
|
+
projectId: string;
|
|
51
|
+
tenantId: string;
|
|
52
|
+
agentId: string;
|
|
53
53
|
sourceSubAgentId: string;
|
|
54
54
|
targetSubAgentId: string | null;
|
|
55
55
|
relationType: string | null;
|
|
@@ -57,12 +57,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
57
57
|
declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
tenantId: string;
|
|
61
|
-
agentId: string;
|
|
62
|
-
projectId: string;
|
|
63
60
|
id: string;
|
|
64
61
|
createdAt: string;
|
|
65
62
|
updatedAt: string;
|
|
63
|
+
projectId: string;
|
|
64
|
+
tenantId: string;
|
|
65
|
+
agentId: string;
|
|
66
66
|
sourceSubAgentId: string;
|
|
67
67
|
targetSubAgentId: string | null;
|
|
68
68
|
relationType: string | null;
|
|
@@ -126,12 +126,12 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
126
126
|
}[];
|
|
127
127
|
}>;
|
|
128
128
|
declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
129
|
-
tenantId: string;
|
|
130
|
-
agentId: string;
|
|
131
|
-
projectId: string;
|
|
132
129
|
id: string;
|
|
133
130
|
createdAt: string;
|
|
134
131
|
updatedAt: string;
|
|
132
|
+
projectId: string;
|
|
133
|
+
tenantId: string;
|
|
134
|
+
agentId: string;
|
|
135
135
|
sourceSubAgentId: string;
|
|
136
136
|
targetSubAgentId: string | null;
|
|
137
137
|
relationType: string | null;
|
|
@@ -145,12 +145,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
145
145
|
targetSubAgentId?: string;
|
|
146
146
|
relationType: string;
|
|
147
147
|
}) => Promise<{
|
|
148
|
-
tenantId: string;
|
|
149
|
-
agentId: string;
|
|
150
|
-
projectId: string;
|
|
151
148
|
id: string;
|
|
152
149
|
createdAt: string;
|
|
153
150
|
updatedAt: string;
|
|
151
|
+
projectId: string;
|
|
152
|
+
tenantId: string;
|
|
153
|
+
agentId: string;
|
|
154
154
|
sourceSubAgentId: string;
|
|
155
155
|
targetSubAgentId: string | null;
|
|
156
156
|
relationType: string | null;
|
|
@@ -159,12 +159,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
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
|
-
agentId: string;
|
|
164
|
-
projectId: string;
|
|
165
162
|
id: string;
|
|
166
163
|
createdAt: string;
|
|
167
164
|
updatedAt: string;
|
|
165
|
+
projectId: string;
|
|
166
|
+
tenantId: string;
|
|
167
|
+
agentId: string;
|
|
168
168
|
sourceSubAgentId: string;
|
|
169
169
|
targetSubAgentId: string | null;
|
|
170
170
|
relationType: string | null;
|
|
@@ -204,13 +204,13 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
204
204
|
}> | null;
|
|
205
205
|
};
|
|
206
206
|
}) => Promise<{
|
|
207
|
-
tenantId: string;
|
|
208
|
-
agentId: string;
|
|
209
|
-
projectId: string;
|
|
210
207
|
subAgentId: string;
|
|
211
208
|
id: string;
|
|
212
209
|
createdAt: string;
|
|
213
210
|
updatedAt: string;
|
|
211
|
+
projectId: string;
|
|
212
|
+
tenantId: string;
|
|
213
|
+
agentId: string;
|
|
214
214
|
headers: Record<string, string> | null;
|
|
215
215
|
toolId: string;
|
|
216
216
|
toolPolicies: Record<string, {
|
|
@@ -248,13 +248,13 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
248
248
|
scopes: SubAgentScopeConfig;
|
|
249
249
|
relationId: string;
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
tenantId: string;
|
|
252
|
-
agentId: string;
|
|
253
|
-
projectId: string;
|
|
254
251
|
subAgentId: string;
|
|
255
252
|
id: string;
|
|
256
253
|
createdAt: string;
|
|
257
254
|
updatedAt: string;
|
|
255
|
+
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
257
|
+
agentId: string;
|
|
258
258
|
headers: Record<string, string> | null;
|
|
259
259
|
toolId: string;
|
|
260
260
|
toolPolicies: Record<string, {
|
|
@@ -9,13 +9,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
agentId: string;
|
|
14
|
-
projectId: string;
|
|
15
12
|
subAgentId: string;
|
|
16
13
|
id: string;
|
|
17
14
|
createdAt: string;
|
|
18
15
|
updatedAt: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
|
+
agentId: 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
|
-
agentId: string;
|
|
49
|
-
projectId: string;
|
|
50
47
|
subAgentId: string;
|
|
51
48
|
id: string;
|
|
52
49
|
createdAt: string;
|
|
53
50
|
updatedAt: string;
|
|
51
|
+
projectId: string;
|
|
52
|
+
tenantId: string;
|
|
53
|
+
agentId: 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
|
-
agentId: string;
|
|
62
|
-
projectId: string;
|
|
63
60
|
subAgentId: string;
|
|
64
61
|
id: string;
|
|
65
62
|
createdAt: string;
|
|
66
63
|
updatedAt: string;
|
|
64
|
+
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
66
|
+
agentId: 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
|
-
agentId: string;
|
|
215
|
-
projectId: string;
|
|
216
213
|
subAgentId: string;
|
|
217
214
|
id: string;
|
|
218
215
|
createdAt: string;
|
|
219
216
|
updatedAt: string;
|
|
217
|
+
projectId: string;
|
|
218
|
+
tenantId: string;
|
|
219
|
+
agentId: 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
|
-
agentId: string;
|
|
232
|
-
projectId: string;
|
|
233
230
|
subAgentId: string;
|
|
234
231
|
id: string;
|
|
235
232
|
createdAt: string;
|
|
236
233
|
updatedAt: string;
|
|
234
|
+
projectId: string;
|
|
235
|
+
tenantId: string;
|
|
236
|
+
agentId: 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
|
-
agentId: string;
|
|
253
|
-
projectId: string;
|
|
254
251
|
subAgentId: string;
|
|
255
252
|
id: string;
|
|
256
253
|
createdAt: string;
|
|
257
254
|
updatedAt: string;
|
|
255
|
+
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
257
|
+
agentId: string;
|
|
258
258
|
headers: Record<string, string> | null;
|
|
259
259
|
targetAgentId: string;
|
|
260
260
|
}>;
|
|
@@ -9,14 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
name: string;
|
|
12
13
|
description: string | null;
|
|
13
|
-
tenantId: string;
|
|
14
|
-
agentId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
id: string;
|
|
17
|
-
name: string;
|
|
18
15
|
createdAt: string;
|
|
19
16
|
updatedAt: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
20
19
|
models: {
|
|
21
20
|
base?: {
|
|
22
21
|
model?: string | undefined;
|
|
@@ -34,20 +33,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
34
33
|
stopWhen: {
|
|
35
34
|
stepCountIs?: number | undefined;
|
|
36
35
|
} | null;
|
|
36
|
+
agentId: string;
|
|
37
37
|
prompt: string | null;
|
|
38
38
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
41
41
|
scopes: AgentScopeConfig;
|
|
42
42
|
}) => Promise<{
|
|
43
|
+
name: string;
|
|
43
44
|
description: string | null;
|
|
44
|
-
tenantId: string;
|
|
45
|
-
agentId: string;
|
|
46
|
-
projectId: string;
|
|
47
45
|
id: string;
|
|
48
|
-
name: string;
|
|
49
46
|
createdAt: string;
|
|
50
47
|
updatedAt: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
51
50
|
models: {
|
|
52
51
|
base?: {
|
|
53
52
|
model?: string | undefined;
|
|
@@ -65,6 +64,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
65
64
|
stopWhen: {
|
|
66
65
|
stepCountIs?: number | undefined;
|
|
67
66
|
} | null;
|
|
67
|
+
agentId: string;
|
|
68
68
|
prompt: string | null;
|
|
69
69
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
70
70
|
}[]>;
|
|
@@ -109,14 +109,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
109
109
|
};
|
|
110
110
|
}>;
|
|
111
111
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
112
|
+
name: string;
|
|
112
113
|
description: string | null;
|
|
113
|
-
tenantId: string;
|
|
114
|
-
agentId: string;
|
|
115
|
-
projectId: string;
|
|
116
114
|
id: string;
|
|
117
|
-
name: string;
|
|
118
115
|
createdAt: string;
|
|
119
116
|
updatedAt: string;
|
|
117
|
+
projectId: string;
|
|
118
|
+
tenantId: string;
|
|
120
119
|
models: {
|
|
121
120
|
base?: {
|
|
122
121
|
model?: string | undefined;
|
|
@@ -134,6 +133,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
134
133
|
stopWhen: {
|
|
135
134
|
stepCountIs?: number | undefined;
|
|
136
135
|
} | null;
|
|
136
|
+
agentId: string;
|
|
137
137
|
prompt: string | null;
|
|
138
138
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
139
139
|
}>;
|
|
@@ -19,13 +19,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
19
19
|
scopes: ProjectScopeConfig;
|
|
20
20
|
toolId: string;
|
|
21
21
|
}) => Promise<{
|
|
22
|
+
name: string;
|
|
22
23
|
description: string | null;
|
|
23
|
-
tenantId: string;
|
|
24
|
-
projectId: string;
|
|
25
24
|
id: string;
|
|
26
|
-
name: string;
|
|
27
25
|
createdAt: string;
|
|
28
26
|
updatedAt: string;
|
|
27
|
+
projectId: string;
|
|
28
|
+
tenantId: string;
|
|
29
29
|
headers: Record<string, string> | null;
|
|
30
30
|
config: {
|
|
31
31
|
type: "mcp";
|
|
@@ -77,13 +77,13 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
79
79
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
80
|
+
name: string;
|
|
80
81
|
description: string | null;
|
|
81
|
-
tenantId: string;
|
|
82
|
-
projectId: string;
|
|
83
82
|
id: string;
|
|
84
|
-
name: string;
|
|
85
83
|
createdAt: string;
|
|
86
84
|
updatedAt: string;
|
|
85
|
+
projectId: string;
|
|
86
|
+
tenantId: string;
|
|
87
87
|
headers: Record<string, string> | null;
|
|
88
88
|
config: {
|
|
89
89
|
type: "mcp";
|
|
@@ -134,13 +134,13 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
134
134
|
needsApproval?: boolean;
|
|
135
135
|
}> | null;
|
|
136
136
|
}) => Promise<{
|
|
137
|
-
tenantId: string;
|
|
138
|
-
agentId: string;
|
|
139
|
-
projectId: string;
|
|
140
137
|
subAgentId: string;
|
|
141
138
|
id: string;
|
|
142
139
|
createdAt: string;
|
|
143
140
|
updatedAt: string;
|
|
141
|
+
projectId: string;
|
|
142
|
+
tenantId: string;
|
|
143
|
+
agentId: string;
|
|
144
144
|
headers: Record<string, string> | null;
|
|
145
145
|
toolId: string;
|
|
146
146
|
toolPolicies: Record<string, {
|
|
@@ -153,13 +153,13 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
153
153
|
subAgentId: string;
|
|
154
154
|
toolId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
-
tenantId: string;
|
|
157
|
-
agentId: string;
|
|
158
|
-
projectId: string;
|
|
159
156
|
subAgentId: string;
|
|
160
157
|
id: string;
|
|
161
158
|
createdAt: string;
|
|
162
159
|
updatedAt: string;
|
|
160
|
+
projectId: string;
|
|
161
|
+
tenantId: string;
|
|
162
|
+
agentId: string;
|
|
163
163
|
headers: Record<string, string> | null;
|
|
164
164
|
toolId: string;
|
|
165
165
|
toolPolicies: Record<string, {
|
|
@@ -181,13 +181,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
181
181
|
}> | null;
|
|
182
182
|
relationId?: string;
|
|
183
183
|
}) => Promise<{
|
|
184
|
-
tenantId: string;
|
|
185
|
-
agentId: string;
|
|
186
|
-
projectId: string;
|
|
187
184
|
subAgentId: string;
|
|
188
185
|
id: string;
|
|
189
186
|
createdAt: string;
|
|
190
187
|
updatedAt: string;
|
|
188
|
+
projectId: string;
|
|
189
|
+
tenantId: string;
|
|
190
|
+
agentId: string;
|
|
191
191
|
headers: Record<string, string> | null;
|
|
192
192
|
toolId: string;
|
|
193
193
|
toolPolicies: Record<string, {
|
|
@@ -201,13 +201,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
201
201
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
202
202
|
data: ToolInsert;
|
|
203
203
|
}) => Promise<{
|
|
204
|
+
name: string;
|
|
204
205
|
description: string | null;
|
|
205
|
-
tenantId: string;
|
|
206
|
-
projectId: string;
|
|
207
206
|
id: string;
|
|
208
|
-
name: string;
|
|
209
207
|
createdAt: string;
|
|
210
208
|
updatedAt: string;
|
|
209
|
+
projectId: string;
|
|
210
|
+
tenantId: string;
|
|
211
211
|
headers: Record<string, string> | null;
|
|
212
212
|
config: {
|
|
213
213
|
type: "mcp";
|
|
@@ -46,7 +46,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "
|
|
49
|
+
source: "header" | "literal" | "body";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|