@inkeep/agents-core 0.0.0-dev-20260403194639 → 0.0.0-dev-20260404213053
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 +86 -86
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/index.d.ts +2 -1
- package/dist/data-access/index.js +2 -1
- package/dist/data-access/manage/agents.d.ts +32 -32
- 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 +4 -4
- package/dist/data-access/manage/functionTools.d.ts +10 -10
- package/dist/data-access/manage/skills.d.ts +8 -8
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +12 -12
- 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 +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +8 -8
- package/dist/data-access/runtime/conversations.d.ts +24 -24
- package/dist/data-access/runtime/messages.d.ts +24 -24
- package/dist/data-access/runtime/streamChunks.d.ts +29 -0
- package/dist/data-access/runtime/streamChunks.js +65 -0
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +508 -376
- package/dist/db/runtime/runtime-schema.js +20 -1
- package/dist/dolt/ref-helpers.js +15 -1
- package/dist/dolt/ref-scope.js +29 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/utils/error.d.ts +51 -51
- package/dist/utils/service-token-auth.d.ts +3 -0
- package/dist/utils/service-token-auth.js +5 -2
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +34 -34
- package/dist/validation/schemas.d.ts +2150 -2150
- package/drizzle/runtime/0031_fantastic_gorilla_man.sql +13 -0
- package/drizzle/runtime/meta/0031_snapshot.json +4872 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- 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
|
-
name: string;
|
|
57
|
-
description: string | null;
|
|
58
56
|
id: string;
|
|
57
|
+
name: string;
|
|
59
58
|
createdAt: string;
|
|
60
59
|
updatedAt: string;
|
|
60
|
+
description: string | null;
|
|
61
|
+
agentId: string;
|
|
61
62
|
projectId: string;
|
|
62
63
|
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;
|
|
99
|
-
description: string | null;
|
|
100
98
|
id: string;
|
|
99
|
+
name: string;
|
|
101
100
|
createdAt: string;
|
|
102
101
|
updatedAt: string;
|
|
102
|
+
description: string | null;
|
|
103
|
+
agentId: string;
|
|
103
104
|
projectId: string;
|
|
104
105
|
tenantId: string;
|
|
105
|
-
agentId: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -157,13 +157,13 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
157
157
|
needsApproval?: boolean;
|
|
158
158
|
}> | null;
|
|
159
159
|
}) => Promise<{
|
|
160
|
-
subAgentId: string;
|
|
161
160
|
id: string;
|
|
162
161
|
createdAt: string;
|
|
163
162
|
updatedAt: string;
|
|
163
|
+
agentId: string;
|
|
164
164
|
projectId: string;
|
|
165
165
|
tenantId: string;
|
|
166
|
-
|
|
166
|
+
subAgentId: string;
|
|
167
167
|
functionToolId: string;
|
|
168
168
|
toolPolicies: Record<string, {
|
|
169
169
|
needsApproval?: boolean;
|
|
@@ -222,13 +222,13 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
222
222
|
needsApproval?: boolean;
|
|
223
223
|
}> | null;
|
|
224
224
|
}) => Promise<{
|
|
225
|
-
subAgentId: string;
|
|
226
225
|
id: string;
|
|
227
226
|
createdAt: string;
|
|
228
227
|
updatedAt: string;
|
|
228
|
+
agentId: string;
|
|
229
229
|
projectId: string;
|
|
230
230
|
tenantId: string;
|
|
231
|
-
|
|
231
|
+
subAgentId: string;
|
|
232
232
|
functionToolId: string;
|
|
233
233
|
toolPolicies: Record<string, {
|
|
234
234
|
needsApproval?: boolean;
|
|
@@ -15,14 +15,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
15
15
|
scopes: ProjectScopeConfig;
|
|
16
16
|
skillId: string;
|
|
17
17
|
}) => Promise<{
|
|
18
|
-
name: string;
|
|
19
|
-
description: string;
|
|
20
18
|
id: string;
|
|
19
|
+
name: string;
|
|
21
20
|
createdAt: string;
|
|
22
21
|
updatedAt: string;
|
|
22
|
+
metadata: Record<string, string> | null;
|
|
23
|
+
description: string;
|
|
23
24
|
projectId: string;
|
|
24
25
|
tenantId: string;
|
|
25
|
-
metadata: Record<string, string> | null;
|
|
26
26
|
content: string;
|
|
27
27
|
} | null>;
|
|
28
28
|
declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -110,14 +110,14 @@ interface WithTenantIdProjectId {
|
|
|
110
110
|
}
|
|
111
111
|
declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<SkillRecordWithFiles>;
|
|
112
112
|
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
|
|
113
|
-
name: string;
|
|
114
|
-
description: string;
|
|
115
113
|
id: string;
|
|
114
|
+
name: string;
|
|
116
115
|
createdAt: string;
|
|
117
116
|
updatedAt: string;
|
|
117
|
+
metadata: Record<string, string> | null;
|
|
118
|
+
description: string;
|
|
118
119
|
projectId: string;
|
|
119
120
|
tenantId: string;
|
|
120
|
-
metadata: Record<string, string> | null;
|
|
121
121
|
content: string;
|
|
122
122
|
}>;
|
|
123
123
|
declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -139,13 +139,13 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
|
|
|
139
139
|
index: number;
|
|
140
140
|
alwaysLoaded?: boolean;
|
|
141
141
|
}) => Promise<{
|
|
142
|
-
subAgentId: string;
|
|
143
142
|
id: string;
|
|
144
143
|
createdAt: string;
|
|
145
144
|
updatedAt: string;
|
|
145
|
+
agentId: string;
|
|
146
146
|
projectId: string;
|
|
147
147
|
tenantId: string;
|
|
148
|
-
|
|
148
|
+
subAgentId: string;
|
|
149
149
|
index: number;
|
|
150
150
|
alwaysLoaded: boolean;
|
|
151
151
|
skillId: string;
|
|
@@ -9,14 +9,14 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
subAgentId: string;
|
|
13
12
|
id: string;
|
|
14
13
|
createdAt: string;
|
|
15
14
|
updatedAt: string;
|
|
15
|
+
headers: Record<string, string> | null;
|
|
16
|
+
agentId: string;
|
|
16
17
|
projectId: string;
|
|
17
18
|
tenantId: string;
|
|
18
|
-
|
|
19
|
-
headers: Record<string, string> | null;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
externalAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -44,27 +44,27 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
|
|
|
44
44
|
declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
subAgentId: string;
|
|
48
47
|
id: string;
|
|
49
48
|
createdAt: string;
|
|
50
49
|
updatedAt: string;
|
|
50
|
+
headers: Record<string, string> | null;
|
|
51
|
+
agentId: string;
|
|
51
52
|
projectId: string;
|
|
52
53
|
tenantId: string;
|
|
53
|
-
|
|
54
|
-
headers: Record<string, string> | null;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
externalAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
subAgentId: string;
|
|
61
60
|
id: string;
|
|
62
61
|
createdAt: string;
|
|
63
62
|
updatedAt: string;
|
|
63
|
+
headers: Record<string, string> | null;
|
|
64
|
+
agentId: string;
|
|
64
65
|
projectId: string;
|
|
65
66
|
tenantId: string;
|
|
66
|
-
|
|
67
|
-
headers: Record<string, string> | null;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
externalAgentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -186,14 +186,14 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
186
186
|
headers?: Record<string, string> | null;
|
|
187
187
|
};
|
|
188
188
|
}) => Promise<{
|
|
189
|
-
subAgentId: string;
|
|
190
189
|
id: string;
|
|
191
190
|
createdAt: string;
|
|
192
191
|
updatedAt: string;
|
|
192
|
+
headers: Record<string, string> | null;
|
|
193
|
+
agentId: string;
|
|
193
194
|
projectId: string;
|
|
194
195
|
tenantId: string;
|
|
195
|
-
|
|
196
|
-
headers: Record<string, string> | null;
|
|
196
|
+
subAgentId: string;
|
|
197
197
|
externalAgentId: string;
|
|
198
198
|
}>;
|
|
199
199
|
/**
|
|
@@ -203,14 +203,14 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
203
203
|
scopes: SubAgentScopeConfig;
|
|
204
204
|
externalAgentId: string;
|
|
205
205
|
}) => Promise<{
|
|
206
|
-
subAgentId: string;
|
|
207
206
|
id: string;
|
|
208
207
|
createdAt: string;
|
|
209
208
|
updatedAt: string;
|
|
209
|
+
headers: Record<string, string> | null;
|
|
210
|
+
agentId: string;
|
|
210
211
|
projectId: string;
|
|
211
212
|
tenantId: string;
|
|
212
|
-
|
|
213
|
-
headers: Record<string, string> | null;
|
|
213
|
+
subAgentId: string;
|
|
214
214
|
externalAgentId: string;
|
|
215
215
|
} | undefined>;
|
|
216
216
|
/**
|
|
@@ -224,14 +224,14 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
224
224
|
headers?: Record<string, string> | null;
|
|
225
225
|
};
|
|
226
226
|
}) => Promise<{
|
|
227
|
-
subAgentId: string;
|
|
228
227
|
id: string;
|
|
229
228
|
createdAt: string;
|
|
230
229
|
updatedAt: string;
|
|
230
|
+
headers: Record<string, string> | null;
|
|
231
|
+
agentId: string;
|
|
231
232
|
projectId: string;
|
|
232
233
|
tenantId: string;
|
|
233
|
-
|
|
234
|
-
headers: Record<string, string> | null;
|
|
234
|
+
subAgentId: string;
|
|
235
235
|
externalAgentId: string;
|
|
236
236
|
}>;
|
|
237
237
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -12,9 +12,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
+
agentId: string;
|
|
15
16
|
projectId: string;
|
|
16
17
|
tenantId: string;
|
|
17
|
-
agentId: string;
|
|
18
18
|
sourceSubAgentId: string;
|
|
19
19
|
targetSubAgentId: string | null;
|
|
20
20
|
relationType: string | null;
|
|
@@ -47,9 +47,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
47
47
|
id: string;
|
|
48
48
|
createdAt: string;
|
|
49
49
|
updatedAt: string;
|
|
50
|
+
agentId: string;
|
|
50
51
|
projectId: string;
|
|
51
52
|
tenantId: string;
|
|
52
|
-
agentId: string;
|
|
53
53
|
sourceSubAgentId: string;
|
|
54
54
|
targetSubAgentId: string | null;
|
|
55
55
|
relationType: string | null;
|
|
@@ -60,9 +60,9 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
60
60
|
id: string;
|
|
61
61
|
createdAt: string;
|
|
62
62
|
updatedAt: string;
|
|
63
|
+
agentId: string;
|
|
63
64
|
projectId: string;
|
|
64
65
|
tenantId: string;
|
|
65
|
-
agentId: string;
|
|
66
66
|
sourceSubAgentId: string;
|
|
67
67
|
targetSubAgentId: string | null;
|
|
68
68
|
relationType: string | null;
|
|
@@ -129,9 +129,9 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
|
|
|
129
129
|
id: string;
|
|
130
130
|
createdAt: string;
|
|
131
131
|
updatedAt: string;
|
|
132
|
+
agentId: string;
|
|
132
133
|
projectId: string;
|
|
133
134
|
tenantId: string;
|
|
134
|
-
agentId: string;
|
|
135
135
|
sourceSubAgentId: string;
|
|
136
136
|
targetSubAgentId: string | null;
|
|
137
137
|
relationType: string | null;
|
|
@@ -148,9 +148,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
148
148
|
id: string;
|
|
149
149
|
createdAt: string;
|
|
150
150
|
updatedAt: string;
|
|
151
|
+
agentId: string;
|
|
151
152
|
projectId: string;
|
|
152
153
|
tenantId: string;
|
|
153
|
-
agentId: string;
|
|
154
154
|
sourceSubAgentId: string;
|
|
155
155
|
targetSubAgentId: string | null;
|
|
156
156
|
relationType: string | null;
|
|
@@ -162,9 +162,9 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
|
|
|
162
162
|
id: string;
|
|
163
163
|
createdAt: string;
|
|
164
164
|
updatedAt: string;
|
|
165
|
+
agentId: string;
|
|
165
166
|
projectId: string;
|
|
166
167
|
tenantId: string;
|
|
167
|
-
agentId: string;
|
|
168
168
|
sourceSubAgentId: string;
|
|
169
169
|
targetSubAgentId: string | null;
|
|
170
170
|
relationType: string | null;
|
|
@@ -204,15 +204,15 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
204
204
|
}> | null;
|
|
205
205
|
};
|
|
206
206
|
}) => Promise<{
|
|
207
|
-
subAgentId: string;
|
|
208
207
|
id: string;
|
|
209
208
|
createdAt: string;
|
|
210
209
|
updatedAt: string;
|
|
210
|
+
headers: Record<string, string> | null;
|
|
211
|
+
agentId: string;
|
|
211
212
|
projectId: string;
|
|
212
213
|
tenantId: string;
|
|
213
|
-
agentId: string;
|
|
214
|
-
headers: Record<string, string> | null;
|
|
215
214
|
toolId: string;
|
|
215
|
+
subAgentId: string;
|
|
216
216
|
toolPolicies: Record<string, {
|
|
217
217
|
needsApproval?: boolean;
|
|
218
218
|
}> | null;
|
|
@@ -248,15 +248,15 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
248
248
|
scopes: SubAgentScopeConfig;
|
|
249
249
|
relationId: string;
|
|
250
250
|
}) => Promise<{
|
|
251
|
-
subAgentId: string;
|
|
252
251
|
id: string;
|
|
253
252
|
createdAt: string;
|
|
254
253
|
updatedAt: string;
|
|
254
|
+
headers: Record<string, string> | null;
|
|
255
|
+
agentId: string;
|
|
255
256
|
projectId: string;
|
|
256
257
|
tenantId: string;
|
|
257
|
-
agentId: string;
|
|
258
|
-
headers: Record<string, string> | null;
|
|
259
258
|
toolId: string;
|
|
259
|
+
subAgentId: string;
|
|
260
260
|
toolPolicies: Record<string, {
|
|
261
261
|
needsApproval?: boolean;
|
|
262
262
|
}> | null;
|
|
@@ -9,14 +9,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
subAgentId: string;
|
|
13
12
|
id: string;
|
|
14
13
|
createdAt: string;
|
|
15
14
|
updatedAt: string;
|
|
15
|
+
headers: Record<string, string> | null;
|
|
16
|
+
agentId: string;
|
|
16
17
|
projectId: string;
|
|
17
18
|
tenantId: string;
|
|
18
|
-
|
|
19
|
-
headers: Record<string, string> | null;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
targetAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -44,27 +44,27 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
44
44
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
-
subAgentId: string;
|
|
48
47
|
id: string;
|
|
49
48
|
createdAt: string;
|
|
50
49
|
updatedAt: string;
|
|
50
|
+
headers: Record<string, string> | null;
|
|
51
|
+
agentId: string;
|
|
51
52
|
projectId: string;
|
|
52
53
|
tenantId: string;
|
|
53
|
-
|
|
54
|
-
headers: Record<string, string> | null;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
targetAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
-
subAgentId: string;
|
|
61
60
|
id: string;
|
|
62
61
|
createdAt: string;
|
|
63
62
|
updatedAt: string;
|
|
63
|
+
headers: Record<string, string> | null;
|
|
64
|
+
agentId: string;
|
|
64
65
|
projectId: string;
|
|
65
66
|
tenantId: string;
|
|
66
|
-
|
|
67
|
-
headers: Record<string, string> | null;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
targetAgentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -222,14 +222,14 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
222
222
|
headers?: Record<string, string> | null;
|
|
223
223
|
};
|
|
224
224
|
}) => Promise<{
|
|
225
|
-
subAgentId: string;
|
|
226
225
|
id: string;
|
|
227
226
|
createdAt: string;
|
|
228
227
|
updatedAt: string;
|
|
228
|
+
headers: Record<string, string> | null;
|
|
229
|
+
agentId: string;
|
|
229
230
|
projectId: string;
|
|
230
231
|
tenantId: string;
|
|
231
|
-
|
|
232
|
-
headers: Record<string, string> | null;
|
|
232
|
+
subAgentId: string;
|
|
233
233
|
targetAgentId: string;
|
|
234
234
|
}>;
|
|
235
235
|
/**
|
|
@@ -239,14 +239,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
239
239
|
scopes: SubAgentScopeConfig;
|
|
240
240
|
targetAgentId: string;
|
|
241
241
|
}) => Promise<{
|
|
242
|
-
subAgentId: string;
|
|
243
242
|
id: string;
|
|
244
243
|
createdAt: string;
|
|
245
244
|
updatedAt: string;
|
|
245
|
+
headers: Record<string, string> | null;
|
|
246
|
+
agentId: string;
|
|
246
247
|
projectId: string;
|
|
247
248
|
tenantId: string;
|
|
248
|
-
|
|
249
|
-
headers: Record<string, string> | null;
|
|
249
|
+
subAgentId: string;
|
|
250
250
|
targetAgentId: string;
|
|
251
251
|
} | undefined>;
|
|
252
252
|
/**
|
|
@@ -260,14 +260,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
260
260
|
headers?: Record<string, string> | null;
|
|
261
261
|
};
|
|
262
262
|
}) => Promise<{
|
|
263
|
-
subAgentId: string;
|
|
264
263
|
id: string;
|
|
265
264
|
createdAt: string;
|
|
266
265
|
updatedAt: string;
|
|
266
|
+
headers: Record<string, string> | null;
|
|
267
|
+
agentId: string;
|
|
267
268
|
projectId: string;
|
|
268
269
|
tenantId: string;
|
|
269
|
-
|
|
270
|
-
headers: Record<string, string> | null;
|
|
270
|
+
subAgentId: string;
|
|
271
271
|
targetAgentId: string;
|
|
272
272
|
}>;
|
|
273
273
|
declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -9,11 +9,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
name: string;
|
|
13
|
-
description: string | null;
|
|
14
12
|
id: string;
|
|
13
|
+
name: string;
|
|
15
14
|
createdAt: string;
|
|
16
15
|
updatedAt: string;
|
|
16
|
+
description: string | null;
|
|
17
|
+
agentId: string;
|
|
17
18
|
projectId: string;
|
|
18
19
|
tenantId: string;
|
|
19
20
|
models: {
|
|
@@ -36,21 +37,21 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
36
37
|
allowedProviders?: string[] | undefined;
|
|
37
38
|
} | undefined;
|
|
38
39
|
} | null;
|
|
40
|
+
prompt: string | null;
|
|
39
41
|
stopWhen: {
|
|
40
42
|
stepCountIs?: number | undefined;
|
|
41
43
|
} | null;
|
|
42
|
-
prompt: string | null;
|
|
43
44
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
44
|
-
agentId: string;
|
|
45
45
|
} | undefined>;
|
|
46
46
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
47
47
|
scopes: AgentScopeConfig;
|
|
48
48
|
}) => Promise<{
|
|
49
|
-
name: string;
|
|
50
|
-
description: string | null;
|
|
51
49
|
id: string;
|
|
50
|
+
name: string;
|
|
52
51
|
createdAt: string;
|
|
53
52
|
updatedAt: string;
|
|
53
|
+
description: string | null;
|
|
54
|
+
agentId: string;
|
|
54
55
|
projectId: string;
|
|
55
56
|
tenantId: string;
|
|
56
57
|
models: {
|
|
@@ -73,12 +74,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
73
74
|
allowedProviders?: string[] | undefined;
|
|
74
75
|
} | undefined;
|
|
75
76
|
} | null;
|
|
77
|
+
prompt: string | null;
|
|
76
78
|
stopWhen: {
|
|
77
79
|
stepCountIs?: number | undefined;
|
|
78
80
|
} | null;
|
|
79
|
-
prompt: string | null;
|
|
80
81
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
81
|
-
agentId: string;
|
|
82
82
|
}[]>;
|
|
83
83
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
84
84
|
scopes: AgentScopeConfig;
|
|
@@ -127,11 +127,12 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
127
127
|
};
|
|
128
128
|
}>;
|
|
129
129
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
130
|
-
name: string;
|
|
131
|
-
description: string | null;
|
|
132
130
|
id: string;
|
|
131
|
+
name: string;
|
|
133
132
|
createdAt: string;
|
|
134
133
|
updatedAt: string;
|
|
134
|
+
description: string | null;
|
|
135
|
+
agentId: string;
|
|
135
136
|
projectId: string;
|
|
136
137
|
tenantId: string;
|
|
137
138
|
models: {
|
|
@@ -154,12 +155,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
154
155
|
allowedProviders?: string[] | undefined;
|
|
155
156
|
} | undefined;
|
|
156
157
|
} | null;
|
|
158
|
+
prompt: string | null;
|
|
157
159
|
stopWhen: {
|
|
158
160
|
stepCountIs?: number | undefined;
|
|
159
161
|
} | null;
|
|
160
|
-
prompt: string | null;
|
|
161
162
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
162
|
-
agentId: string;
|
|
163
163
|
}>;
|
|
164
164
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
165
165
|
scopes: AgentScopeConfig;
|
|
@@ -20,14 +20,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
20
20
|
scopes: ProjectScopeConfig;
|
|
21
21
|
toolId: string;
|
|
22
22
|
}) => Promise<{
|
|
23
|
-
name: string;
|
|
24
|
-
description: string | null;
|
|
25
23
|
id: string;
|
|
24
|
+
name: string;
|
|
26
25
|
createdAt: string;
|
|
27
26
|
updatedAt: string;
|
|
27
|
+
description: string | null;
|
|
28
|
+
headers: Record<string, string> | null;
|
|
28
29
|
projectId: string;
|
|
29
30
|
tenantId: string;
|
|
30
|
-
headers: Record<string, string> | null;
|
|
31
31
|
config: {
|
|
32
32
|
type: "mcp";
|
|
33
33
|
mcp: ToolMcpConfig;
|
|
@@ -78,14 +78,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
78
78
|
};
|
|
79
79
|
}>;
|
|
80
80
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
81
|
-
name: string;
|
|
82
|
-
description: string | null;
|
|
83
81
|
id: string;
|
|
82
|
+
name: string;
|
|
84
83
|
createdAt: string;
|
|
85
84
|
updatedAt: string;
|
|
85
|
+
description: string | null;
|
|
86
|
+
headers: Record<string, string> | null;
|
|
86
87
|
projectId: string;
|
|
87
88
|
tenantId: string;
|
|
88
|
-
headers: Record<string, string> | null;
|
|
89
89
|
config: {
|
|
90
90
|
type: "mcp";
|
|
91
91
|
mcp: ToolMcpConfig;
|
|
@@ -135,15 +135,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
135
135
|
needsApproval?: boolean;
|
|
136
136
|
}> | null;
|
|
137
137
|
}) => Promise<{
|
|
138
|
-
subAgentId: string;
|
|
139
138
|
id: string;
|
|
140
139
|
createdAt: string;
|
|
141
140
|
updatedAt: string;
|
|
141
|
+
headers: Record<string, string> | null;
|
|
142
|
+
agentId: string;
|
|
142
143
|
projectId: string;
|
|
143
144
|
tenantId: string;
|
|
144
|
-
agentId: string;
|
|
145
|
-
headers: Record<string, string> | null;
|
|
146
145
|
toolId: string;
|
|
146
|
+
subAgentId: string;
|
|
147
147
|
toolPolicies: Record<string, {
|
|
148
148
|
needsApproval?: boolean;
|
|
149
149
|
}> | null;
|
|
@@ -154,15 +154,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
154
154
|
subAgentId: string;
|
|
155
155
|
toolId: string;
|
|
156
156
|
}) => Promise<{
|
|
157
|
-
subAgentId: string;
|
|
158
157
|
id: string;
|
|
159
158
|
createdAt: string;
|
|
160
159
|
updatedAt: string;
|
|
160
|
+
headers: Record<string, string> | null;
|
|
161
|
+
agentId: string;
|
|
161
162
|
projectId: string;
|
|
162
163
|
tenantId: string;
|
|
163
|
-
agentId: string;
|
|
164
|
-
headers: Record<string, string> | null;
|
|
165
164
|
toolId: string;
|
|
165
|
+
subAgentId: string;
|
|
166
166
|
toolPolicies: Record<string, {
|
|
167
167
|
needsApproval?: boolean;
|
|
168
168
|
}> | null;
|
|
@@ -182,15 +182,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
182
182
|
}> | null;
|
|
183
183
|
relationId?: string;
|
|
184
184
|
}) => Promise<{
|
|
185
|
-
subAgentId: string;
|
|
186
185
|
id: string;
|
|
187
186
|
createdAt: string;
|
|
188
187
|
updatedAt: string;
|
|
188
|
+
headers: Record<string, string> | null;
|
|
189
|
+
agentId: string;
|
|
189
190
|
projectId: string;
|
|
190
191
|
tenantId: string;
|
|
191
|
-
agentId: string;
|
|
192
|
-
headers: Record<string, string> | null;
|
|
193
192
|
toolId: string;
|
|
193
|
+
subAgentId: string;
|
|
194
194
|
toolPolicies: Record<string, {
|
|
195
195
|
needsApproval?: boolean;
|
|
196
196
|
}> | null;
|
|
@@ -202,14 +202,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
202
202
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
203
203
|
data: ToolInsert;
|
|
204
204
|
}) => Promise<{
|
|
205
|
-
name: string;
|
|
206
|
-
description: string | null;
|
|
207
205
|
id: string;
|
|
206
|
+
name: string;
|
|
208
207
|
createdAt: string;
|
|
209
208
|
updatedAt: string;
|
|
209
|
+
description: string | null;
|
|
210
|
+
headers: Record<string, string> | null;
|
|
210
211
|
projectId: string;
|
|
211
212
|
tenantId: string;
|
|
212
|
-
headers: Record<string, string> | null;
|
|
213
213
|
config: {
|
|
214
214
|
type: "mcp";
|
|
215
215
|
mcp: ToolMcpConfig;
|
|
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
40
40
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
41
41
|
encoding: "hex" | "base64";
|
|
42
42
|
signature: {
|
|
43
|
-
source: "query" | "
|
|
43
|
+
source: "query" | "body" | "header";
|
|
44
44
|
key: string;
|
|
45
45
|
prefix?: string | undefined;
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "literal" | "
|
|
49
|
+
source: "literal" | "body" | "header";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|