@inkeep/agents-core 0.0.0-dev-20260122200302 → 0.0.0-dev-20260122213614
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/data-access/manage/agents.d.ts +16 -16
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +4 -4
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +10 -10
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +14 -14
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +21 -21
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +19 -19
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +375 -375
- package/dist/db/runtime/runtime-schema.d.ts +181 -181
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +448 -448
- package/package.json +1 -1
|
@@ -11,10 +11,11 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
14
|
name: string;
|
|
16
|
-
updatedAt: string;
|
|
17
15
|
description: string | null;
|
|
16
|
+
prompt: string | null;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
18
19
|
models: {
|
|
19
20
|
base?: {
|
|
20
21
|
model?: string | undefined;
|
|
@@ -34,7 +35,6 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
34
35
|
} | null;
|
|
35
36
|
defaultSubAgentId: string | null;
|
|
36
37
|
contextConfigId: string | null;
|
|
37
|
-
prompt: string | null;
|
|
38
38
|
statusUpdates: {
|
|
39
39
|
enabled?: boolean | undefined;
|
|
40
40
|
numEvents?: number | undefined;
|
|
@@ -57,10 +57,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
57
57
|
tenantId: string;
|
|
58
58
|
projectId: string;
|
|
59
59
|
id: string;
|
|
60
|
-
createdAt: string;
|
|
61
60
|
name: string;
|
|
62
|
-
updatedAt: string;
|
|
63
61
|
description: string | null;
|
|
62
|
+
prompt: string | null;
|
|
63
|
+
createdAt: string;
|
|
64
|
+
updatedAt: string;
|
|
64
65
|
models: {
|
|
65
66
|
base?: {
|
|
66
67
|
model?: string | undefined;
|
|
@@ -80,7 +81,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
80
81
|
} | null;
|
|
81
82
|
defaultSubAgentId: string | null;
|
|
82
83
|
contextConfigId: string | null;
|
|
83
|
-
prompt: string | null;
|
|
84
84
|
statusUpdates: {
|
|
85
85
|
enabled?: boolean | undefined;
|
|
86
86
|
numEvents?: number | undefined;
|
|
@@ -100,10 +100,12 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
100
100
|
tenantId: string;
|
|
101
101
|
projectId: string;
|
|
102
102
|
id: string;
|
|
103
|
-
createdAt: string;
|
|
104
103
|
name: string;
|
|
105
|
-
updatedAt: string;
|
|
106
104
|
description: string | null;
|
|
105
|
+
prompt: string | null;
|
|
106
|
+
agentId: string;
|
|
107
|
+
createdAt: string;
|
|
108
|
+
updatedAt: string;
|
|
107
109
|
models: {
|
|
108
110
|
base?: {
|
|
109
111
|
model?: string | undefined;
|
|
@@ -121,8 +123,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
121
123
|
stopWhen: {
|
|
122
124
|
stepCountIs?: number | undefined;
|
|
123
125
|
} | null;
|
|
124
|
-
agentId: string;
|
|
125
|
-
prompt: string | null;
|
|
126
126
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
127
127
|
} | null;
|
|
128
128
|
} | null>;
|
|
@@ -132,10 +132,11 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
132
132
|
tenantId: string;
|
|
133
133
|
projectId: string;
|
|
134
134
|
id: string;
|
|
135
|
-
createdAt: string;
|
|
136
135
|
name: string;
|
|
137
|
-
updatedAt: string;
|
|
138
136
|
description: string | null;
|
|
137
|
+
prompt: string | null;
|
|
138
|
+
createdAt: string;
|
|
139
|
+
updatedAt: string;
|
|
139
140
|
models: {
|
|
140
141
|
base?: {
|
|
141
142
|
model?: string | undefined;
|
|
@@ -155,7 +156,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
155
156
|
} | null;
|
|
156
157
|
defaultSubAgentId: string | null;
|
|
157
158
|
contextConfigId: string | null;
|
|
158
|
-
prompt: string | null;
|
|
159
159
|
statusUpdates: {
|
|
160
160
|
enabled?: boolean | undefined;
|
|
161
161
|
numEvents?: number | undefined;
|
|
@@ -231,10 +231,11 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
|
|
|
231
231
|
tenantId: string;
|
|
232
232
|
projectId: string;
|
|
233
233
|
id: string;
|
|
234
|
-
createdAt: string;
|
|
235
234
|
name: string;
|
|
236
|
-
updatedAt: string;
|
|
237
235
|
description: string | null;
|
|
236
|
+
prompt: string | null;
|
|
237
|
+
createdAt: string;
|
|
238
|
+
updatedAt: string;
|
|
238
239
|
models: {
|
|
239
240
|
base?: {
|
|
240
241
|
model?: string | undefined;
|
|
@@ -254,7 +255,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
|
|
|
254
255
|
} | null;
|
|
255
256
|
defaultSubAgentId: string | null;
|
|
256
257
|
contextConfigId: string | null;
|
|
257
|
-
prompt: string | null;
|
|
258
258
|
statusUpdates: {
|
|
259
259
|
enabled?: boolean | undefined;
|
|
260
260
|
numEvents?: number | undefined;
|
|
@@ -10,10 +10,10 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
|
|
|
10
10
|
tenantId: string;
|
|
11
11
|
projectId: string;
|
|
12
12
|
id: string;
|
|
13
|
-
createdAt: string;
|
|
14
13
|
name: string;
|
|
15
|
-
updatedAt: string;
|
|
16
14
|
description: string | null;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
17
|
props: Record<string, unknown> | null;
|
|
18
18
|
render: {
|
|
19
19
|
component: string;
|
|
@@ -52,10 +52,10 @@ declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (para
|
|
|
52
52
|
tenantId: string;
|
|
53
53
|
projectId: string;
|
|
54
54
|
id: string;
|
|
55
|
-
createdAt: string;
|
|
56
55
|
name: string;
|
|
57
|
-
updatedAt: string;
|
|
58
56
|
description: string | null;
|
|
57
|
+
createdAt: string;
|
|
58
|
+
updatedAt: string;
|
|
59
59
|
props: Record<string, unknown> | null;
|
|
60
60
|
render: {
|
|
61
61
|
component: string;
|
|
@@ -107,8 +107,8 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
|
|
|
107
107
|
tenantId: string;
|
|
108
108
|
projectId: string;
|
|
109
109
|
id: string;
|
|
110
|
-
createdAt: string;
|
|
111
110
|
agentId: string;
|
|
111
|
+
createdAt: string;
|
|
112
112
|
subAgentId: string;
|
|
113
113
|
artifactComponentId: string;
|
|
114
114
|
}>;
|
|
@@ -150,8 +150,8 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
|
|
|
150
150
|
tenantId: string;
|
|
151
151
|
projectId: string;
|
|
152
152
|
id: string;
|
|
153
|
-
createdAt: string;
|
|
154
153
|
agentId: string;
|
|
154
|
+
createdAt: string;
|
|
155
155
|
subAgentId: string;
|
|
156
156
|
artifactComponentId: string;
|
|
157
157
|
} | null>;
|
|
@@ -11,9 +11,9 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
+
agentId: string;
|
|
14
15
|
createdAt: string;
|
|
15
16
|
updatedAt: string;
|
|
16
|
-
agentId: string;
|
|
17
17
|
headersSchema: unknown;
|
|
18
18
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19
19
|
} | undefined>;
|
|
@@ -23,9 +23,9 @@ declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
23
23
|
tenantId: string;
|
|
24
24
|
projectId: string;
|
|
25
25
|
id: string;
|
|
26
|
+
agentId: string;
|
|
26
27
|
createdAt: string;
|
|
27
28
|
updatedAt: string;
|
|
28
|
-
agentId: string;
|
|
29
29
|
headersSchema: unknown;
|
|
30
30
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
31
31
|
}[]>;
|
|
@@ -45,9 +45,9 @@ declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params:
|
|
|
45
45
|
tenantId: string;
|
|
46
46
|
projectId: string;
|
|
47
47
|
id: string;
|
|
48
|
+
agentId: string;
|
|
48
49
|
createdAt: string;
|
|
49
50
|
updatedAt: string;
|
|
50
|
-
agentId: string;
|
|
51
51
|
headersSchema: unknown;
|
|
52
52
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
53
53
|
}>;
|
|
@@ -85,9 +85,9 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
|
|
|
85
85
|
tenantId: string;
|
|
86
86
|
projectId: string;
|
|
87
87
|
id: string;
|
|
88
|
+
agentId: string;
|
|
88
89
|
createdAt: string;
|
|
89
90
|
updatedAt: string;
|
|
90
|
-
agentId: string;
|
|
91
91
|
headersSchema: unknown;
|
|
92
92
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
93
93
|
}>;
|
|
@@ -67,8 +67,8 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
|
|
|
67
67
|
tenantId: string;
|
|
68
68
|
projectId: string;
|
|
69
69
|
id: string;
|
|
70
|
-
createdAt: string;
|
|
71
70
|
agentId: string;
|
|
71
|
+
createdAt: string;
|
|
72
72
|
subAgentId: string;
|
|
73
73
|
dataComponentId: string;
|
|
74
74
|
}>;
|
|
@@ -109,8 +109,8 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
|
|
|
109
109
|
tenantId: string;
|
|
110
110
|
projectId: string;
|
|
111
111
|
id: string;
|
|
112
|
-
createdAt: string;
|
|
113
112
|
agentId: string;
|
|
113
|
+
createdAt: string;
|
|
114
114
|
subAgentId: string;
|
|
115
115
|
dataComponentId: string;
|
|
116
116
|
} | null>;
|
|
@@ -56,12 +56,12 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
56
56
|
tenantId: string;
|
|
57
57
|
projectId: string;
|
|
58
58
|
id: string;
|
|
59
|
-
createdAt: string;
|
|
60
59
|
name: string;
|
|
61
|
-
updatedAt: string;
|
|
62
60
|
description: string | null;
|
|
63
|
-
functionId: string;
|
|
64
61
|
agentId: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
updatedAt: string;
|
|
64
|
+
functionId: string;
|
|
65
65
|
}>;
|
|
66
66
|
/**
|
|
67
67
|
* Update a function tool (agent-scoped)
|
|
@@ -98,12 +98,12 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
98
98
|
tenantId: string;
|
|
99
99
|
projectId: string;
|
|
100
100
|
id: string;
|
|
101
|
-
createdAt: string;
|
|
102
101
|
name: string;
|
|
103
|
-
updatedAt: string;
|
|
104
102
|
description: string | null;
|
|
105
|
-
functionId: string;
|
|
106
103
|
agentId: string;
|
|
104
|
+
createdAt: string;
|
|
105
|
+
updatedAt: string;
|
|
106
|
+
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
109
109
|
scopes: {
|
|
@@ -155,11 +155,11 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
155
155
|
tenantId: string;
|
|
156
156
|
projectId: string;
|
|
157
157
|
id: string;
|
|
158
|
+
agentId: string;
|
|
158
159
|
createdAt: string;
|
|
159
160
|
updatedAt: string;
|
|
160
|
-
agentId: string;
|
|
161
|
-
functionToolId: string;
|
|
162
161
|
subAgentId: string;
|
|
162
|
+
functionToolId: string;
|
|
163
163
|
}>;
|
|
164
164
|
/**
|
|
165
165
|
* Update an agent-function tool relation
|
|
@@ -211,11 +211,11 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
211
211
|
tenantId: string;
|
|
212
212
|
projectId: string;
|
|
213
213
|
id: string;
|
|
214
|
+
agentId: string;
|
|
214
215
|
createdAt: string;
|
|
215
216
|
updatedAt: string;
|
|
216
|
-
agentId: string;
|
|
217
|
-
functionToolId: string;
|
|
218
217
|
subAgentId: string;
|
|
218
|
+
functionToolId: string;
|
|
219
219
|
}>;
|
|
220
220
|
//#endregion
|
|
221
221
|
export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
|
|
@@ -11,12 +11,12 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
+
agentId: string;
|
|
14
15
|
createdAt: string;
|
|
15
16
|
updatedAt: string;
|
|
16
17
|
headers: Record<string, string> | null;
|
|
17
|
-
agentId: string;
|
|
18
|
-
subAgentId: string;
|
|
19
18
|
externalAgentId: string;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
21
21
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
22
22
|
scopes: SubAgentScopeConfig;
|
|
@@ -46,12 +46,12 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
|
|
|
46
46
|
tenantId: string;
|
|
47
47
|
projectId: string;
|
|
48
48
|
id: string;
|
|
49
|
+
agentId: string;
|
|
49
50
|
createdAt: string;
|
|
50
51
|
updatedAt: string;
|
|
51
52
|
headers: Record<string, string> | null;
|
|
52
|
-
agentId: string;
|
|
53
|
-
subAgentId: string;
|
|
54
53
|
externalAgentId: string;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
@@ -59,12 +59,12 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
|
|
|
59
59
|
tenantId: string;
|
|
60
60
|
projectId: string;
|
|
61
61
|
id: string;
|
|
62
|
+
agentId: string;
|
|
62
63
|
createdAt: string;
|
|
63
64
|
updatedAt: string;
|
|
64
65
|
headers: Record<string, string> | null;
|
|
65
|
-
agentId: string;
|
|
66
|
-
subAgentId: string;
|
|
67
66
|
externalAgentId: string;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
}[]>;
|
|
69
69
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
70
70
|
scopes: AgentScopeConfig;
|
|
@@ -182,12 +182,12 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
182
182
|
tenantId: string;
|
|
183
183
|
projectId: string;
|
|
184
184
|
id: string;
|
|
185
|
+
agentId: string;
|
|
185
186
|
createdAt: string;
|
|
186
187
|
updatedAt: string;
|
|
187
188
|
headers: Record<string, string> | null;
|
|
188
|
-
agentId: string;
|
|
189
|
-
subAgentId: string;
|
|
190
189
|
externalAgentId: string;
|
|
190
|
+
subAgentId: string;
|
|
191
191
|
}>;
|
|
192
192
|
/**
|
|
193
193
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -199,12 +199,12 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
199
199
|
tenantId: string;
|
|
200
200
|
projectId: string;
|
|
201
201
|
id: string;
|
|
202
|
+
agentId: string;
|
|
202
203
|
createdAt: string;
|
|
203
204
|
updatedAt: string;
|
|
204
205
|
headers: Record<string, string> | null;
|
|
205
|
-
agentId: string;
|
|
206
|
-
subAgentId: string;
|
|
207
206
|
externalAgentId: string;
|
|
207
|
+
subAgentId: string;
|
|
208
208
|
} | undefined>;
|
|
209
209
|
/**
|
|
210
210
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -220,12 +220,12 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
220
220
|
tenantId: string;
|
|
221
221
|
projectId: string;
|
|
222
222
|
id: string;
|
|
223
|
+
agentId: string;
|
|
223
224
|
createdAt: string;
|
|
224
225
|
updatedAt: string;
|
|
225
226
|
headers: Record<string, string> | null;
|
|
226
|
-
agentId: string;
|
|
227
|
-
subAgentId: string;
|
|
228
227
|
externalAgentId: string;
|
|
228
|
+
subAgentId: string;
|
|
229
229
|
}>;
|
|
230
230
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
231
231
|
scopes: SubAgentScopeConfig;
|
|
@@ -11,9 +11,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
+
agentId: string;
|
|
14
15
|
createdAt: string;
|
|
15
16
|
updatedAt: 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: AgentsManageDatabaseClient) => (params: {
|
|
|
46
46
|
tenantId: string;
|
|
47
47
|
projectId: string;
|
|
48
48
|
id: string;
|
|
49
|
+
agentId: string;
|
|
49
50
|
createdAt: string;
|
|
50
51
|
updatedAt: 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: AgentsManageDatabaseClient) => (par
|
|
|
59
59
|
tenantId: string;
|
|
60
60
|
projectId: string;
|
|
61
61
|
id: string;
|
|
62
|
+
agentId: string;
|
|
62
63
|
createdAt: string;
|
|
63
64
|
updatedAt: 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: AgentsManageDatabaseClient) => (param
|
|
|
128
128
|
tenantId: string;
|
|
129
129
|
projectId: string;
|
|
130
130
|
id: string;
|
|
131
|
+
agentId: string;
|
|
131
132
|
createdAt: string;
|
|
132
133
|
updatedAt: 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: AgentsManageDatabaseClient) => (par
|
|
|
147
147
|
tenantId: string;
|
|
148
148
|
projectId: string;
|
|
149
149
|
id: string;
|
|
150
|
+
agentId: string;
|
|
150
151
|
createdAt: string;
|
|
151
152
|
updatedAt: 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: AgentsManageDatabaseClient) => (param
|
|
|
161
161
|
tenantId: string;
|
|
162
162
|
projectId: string;
|
|
163
163
|
id: string;
|
|
164
|
+
agentId: string;
|
|
164
165
|
createdAt: string;
|
|
165
166
|
updatedAt: string;
|
|
166
|
-
agentId: string;
|
|
167
167
|
sourceSubAgentId: string;
|
|
168
168
|
targetSubAgentId: string | null;
|
|
169
169
|
relationType: string | null;
|
|
@@ -206,16 +206,16 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
206
206
|
tenantId: string;
|
|
207
207
|
projectId: string;
|
|
208
208
|
id: string;
|
|
209
|
+
agentId: string;
|
|
209
210
|
createdAt: string;
|
|
210
211
|
updatedAt: string;
|
|
211
|
-
headers: Record<string, string> | null;
|
|
212
|
-
agentId: string;
|
|
213
|
-
subAgentId: string;
|
|
214
212
|
toolId: string;
|
|
215
|
-
|
|
213
|
+
headers: Record<string, string> | null;
|
|
216
214
|
toolPolicies: Record<string, {
|
|
217
215
|
needsApproval?: boolean;
|
|
218
216
|
}> | null;
|
|
217
|
+
subAgentId: string;
|
|
218
|
+
selectedTools: string[] | null;
|
|
219
219
|
}>;
|
|
220
220
|
declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
221
221
|
scopes: AgentScopeConfig;
|
|
@@ -250,16 +250,16 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
250
250
|
tenantId: string;
|
|
251
251
|
projectId: string;
|
|
252
252
|
id: string;
|
|
253
|
+
agentId: string;
|
|
253
254
|
createdAt: string;
|
|
254
255
|
updatedAt: string;
|
|
255
|
-
headers: Record<string, string> | null;
|
|
256
|
-
agentId: string;
|
|
257
|
-
subAgentId: string;
|
|
258
256
|
toolId: string;
|
|
259
|
-
|
|
257
|
+
headers: Record<string, string> | null;
|
|
260
258
|
toolPolicies: Record<string, {
|
|
261
259
|
needsApproval?: boolean;
|
|
262
260
|
}> | null;
|
|
261
|
+
subAgentId: string;
|
|
262
|
+
selectedTools: string[] | null;
|
|
263
263
|
} | undefined>;
|
|
264
264
|
declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
265
265
|
scopes: SubAgentScopeConfig;
|
|
@@ -11,10 +11,10 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
+
agentId: string;
|
|
14
15
|
createdAt: string;
|
|
15
16
|
updatedAt: string;
|
|
16
17
|
headers: Record<string, string> | null;
|
|
17
|
-
agentId: string;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
targetAgentId: string;
|
|
20
20
|
} | undefined>;
|
|
@@ -46,10 +46,10 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
|
|
|
46
46
|
tenantId: string;
|
|
47
47
|
projectId: string;
|
|
48
48
|
id: string;
|
|
49
|
+
agentId: string;
|
|
49
50
|
createdAt: string;
|
|
50
51
|
updatedAt: string;
|
|
51
52
|
headers: Record<string, string> | null;
|
|
52
|
-
agentId: string;
|
|
53
53
|
subAgentId: string;
|
|
54
54
|
targetAgentId: string;
|
|
55
55
|
}[]>;
|
|
@@ -59,10 +59,10 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
|
|
|
59
59
|
tenantId: string;
|
|
60
60
|
projectId: string;
|
|
61
61
|
id: string;
|
|
62
|
+
agentId: string;
|
|
62
63
|
createdAt: string;
|
|
63
64
|
updatedAt: string;
|
|
64
65
|
headers: Record<string, string> | null;
|
|
65
|
-
agentId: string;
|
|
66
66
|
subAgentId: string;
|
|
67
67
|
targetAgentId: string;
|
|
68
68
|
}[]>;
|
|
@@ -212,10 +212,10 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
212
212
|
tenantId: string;
|
|
213
213
|
projectId: string;
|
|
214
214
|
id: string;
|
|
215
|
+
agentId: string;
|
|
215
216
|
createdAt: string;
|
|
216
217
|
updatedAt: string;
|
|
217
218
|
headers: Record<string, string> | null;
|
|
218
|
-
agentId: string;
|
|
219
219
|
subAgentId: string;
|
|
220
220
|
targetAgentId: string;
|
|
221
221
|
}>;
|
|
@@ -229,10 +229,10 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
229
229
|
tenantId: string;
|
|
230
230
|
projectId: string;
|
|
231
231
|
id: string;
|
|
232
|
+
agentId: string;
|
|
232
233
|
createdAt: string;
|
|
233
234
|
updatedAt: string;
|
|
234
235
|
headers: Record<string, string> | null;
|
|
235
|
-
agentId: string;
|
|
236
236
|
subAgentId: string;
|
|
237
237
|
targetAgentId: string;
|
|
238
238
|
} | undefined>;
|
|
@@ -250,10 +250,10 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
250
250
|
tenantId: string;
|
|
251
251
|
projectId: string;
|
|
252
252
|
id: string;
|
|
253
|
+
agentId: string;
|
|
253
254
|
createdAt: string;
|
|
254
255
|
updatedAt: string;
|
|
255
256
|
headers: Record<string, string> | null;
|
|
256
|
-
agentId: string;
|
|
257
257
|
subAgentId: string;
|
|
258
258
|
targetAgentId: string;
|
|
259
259
|
}>;
|
|
@@ -11,10 +11,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
11
11
|
tenantId: string;
|
|
12
12
|
projectId: string;
|
|
13
13
|
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
14
|
name: string;
|
|
16
|
-
updatedAt: string;
|
|
17
15
|
description: string | null;
|
|
16
|
+
prompt: string | null;
|
|
17
|
+
agentId: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
updatedAt: string;
|
|
18
20
|
models: {
|
|
19
21
|
base?: {
|
|
20
22
|
model?: string | undefined;
|
|
@@ -32,8 +34,6 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
32
34
|
stopWhen: {
|
|
33
35
|
stepCountIs?: number | undefined;
|
|
34
36
|
} | null;
|
|
35
|
-
agentId: string;
|
|
36
|
-
prompt: string | null;
|
|
37
37
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
38
38
|
} | undefined>;
|
|
39
39
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -42,10 +42,12 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
42
42
|
tenantId: string;
|
|
43
43
|
projectId: string;
|
|
44
44
|
id: string;
|
|
45
|
-
createdAt: string;
|
|
46
45
|
name: string;
|
|
47
|
-
updatedAt: string;
|
|
48
46
|
description: string | null;
|
|
47
|
+
prompt: string | null;
|
|
48
|
+
agentId: string;
|
|
49
|
+
createdAt: string;
|
|
50
|
+
updatedAt: string;
|
|
49
51
|
models: {
|
|
50
52
|
base?: {
|
|
51
53
|
model?: string | undefined;
|
|
@@ -63,8 +65,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
63
65
|
stopWhen: {
|
|
64
66
|
stepCountIs?: number | undefined;
|
|
65
67
|
} | null;
|
|
66
|
-
agentId: string;
|
|
67
|
-
prompt: string | null;
|
|
68
68
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -111,10 +111,12 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
111
111
|
tenantId: string;
|
|
112
112
|
projectId: string;
|
|
113
113
|
id: string;
|
|
114
|
-
createdAt: string;
|
|
115
114
|
name: string;
|
|
116
|
-
updatedAt: string;
|
|
117
115
|
description: string | null;
|
|
116
|
+
prompt: string | null;
|
|
117
|
+
agentId: string;
|
|
118
|
+
createdAt: string;
|
|
119
|
+
updatedAt: string;
|
|
118
120
|
models: {
|
|
119
121
|
base?: {
|
|
120
122
|
model?: string | undefined;
|
|
@@ -132,8 +134,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
132
134
|
stopWhen: {
|
|
133
135
|
stepCountIs?: number | undefined;
|
|
134
136
|
} | null;
|
|
135
|
-
agentId: string;
|
|
136
|
-
prompt: string | null;
|
|
137
137
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
138
138
|
}>;
|
|
139
139
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|