@inkeep/agents-core 0.52.0 → 0.53.0

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.
Files changed (28) hide show
  1. package/dist/auth/auth-schema.d.ts +107 -107
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +57 -57
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/data-access/manage/agents.d.ts +25 -25
  7. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  8. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  9. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  10. package/dist/data-access/manage/functionTools.d.ts +16 -16
  11. package/dist/data-access/manage/skills.d.ts +17 -17
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  13. package/dist/data-access/manage/subAgentRelations.d.ts +22 -22
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgents.d.ts +15 -15
  16. package/dist/data-access/manage/tools.d.ts +33 -33
  17. package/dist/data-access/manage/triggers.d.ts +2 -2
  18. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  19. package/dist/data-access/runtime/conversations.d.ts +24 -24
  20. package/dist/data-access/runtime/messages.d.ts +18 -18
  21. package/dist/data-access/runtime/tasks.d.ts +7 -7
  22. package/dist/db/manage/manage-schema.d.ts +449 -449
  23. package/dist/db/runtime/runtime-schema.d.ts +290 -290
  24. package/dist/middleware/no-auth.d.ts +2 -2
  25. package/dist/setup/setup.js +52 -14
  26. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  27. package/dist/validation/schemas.d.ts +1827 -1827
  28. package/package.json +1 -1
@@ -53,13 +53,13 @@ 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
+ description: string | null;
61
+ tenantId: string;
62
+ projectId: string;
63
63
  agentId: string;
64
64
  functionId: string;
65
65
  }>;
@@ -95,13 +95,13 @@ 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
+ description: string | null;
103
+ tenantId: string;
104
+ projectId: string;
105
105
  agentId: string;
106
106
  functionId: string;
107
107
  }>;
@@ -161,17 +161,17 @@ 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;
168
+ projectId: string;
170
169
  agentId: string;
170
+ subAgentId: string;
171
+ functionToolId: string;
171
172
  toolPolicies: Record<string, {
172
173
  needsApproval?: boolean;
173
174
  }> | null;
174
- functionToolId: string;
175
175
  }>;
176
176
  /**
177
177
  * Update an agent-function tool relation
@@ -226,17 +226,17 @@ 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;
233
+ projectId: string;
235
234
  agentId: string;
235
+ subAgentId: string;
236
+ functionToolId: string;
236
237
  toolPolicies: Record<string, {
237
238
  needsApproval?: boolean;
238
239
  }> | null;
239
- functionToolId: string;
240
240
  }>;
241
241
  //#endregion
242
242
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -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
+ description: string;
17
+ tenantId: 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
49
  description: string;
56
- name: string;
57
- content: string;
58
50
  tenantId: 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
+ description: string;
61
+ tenantId: string;
62
+ projectId: string;
63
+ content: string;
64
64
  }>;
65
65
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
66
66
  scopes: ProjectScopeConfig;
@@ -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
- projectId: string;
96
- subAgentId: string;
97
94
  id: string;
98
95
  createdAt: string;
99
96
  updatedAt: string;
97
+ tenantId: string;
98
+ projectId: string;
100
99
  agentId: string;
100
+ subAgentId: string;
101
101
  skillId: string;
102
102
  index: number;
103
103
  alwaysLoaded: boolean;
@@ -9,14 +9,14 @@ 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;
18
- agentId: string;
19
15
  headers: Record<string, string> | null;
16
+ tenantId: string;
17
+ projectId: string;
18
+ agentId: string;
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
- tenantId: string;
48
- projectId: string;
49
- subAgentId: string;
50
47
  id: string;
51
48
  createdAt: string;
52
49
  updatedAt: string;
53
- agentId: string;
54
50
  headers: Record<string, string> | null;
51
+ tenantId: string;
52
+ projectId: string;
53
+ agentId: string;
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
- tenantId: string;
61
- projectId: string;
62
- subAgentId: string;
63
60
  id: string;
64
61
  createdAt: string;
65
62
  updatedAt: string;
66
- agentId: string;
67
63
  headers: Record<string, string> | null;
64
+ tenantId: string;
65
+ projectId: string;
66
+ agentId: string;
67
+ subAgentId: string;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -180,14 +180,14 @@ 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;
189
- agentId: string;
190
186
  headers: Record<string, string> | null;
187
+ tenantId: string;
188
+ projectId: string;
189
+ agentId: string;
190
+ subAgentId: string;
191
191
  externalAgentId: string;
192
192
  }>;
193
193
  /**
@@ -197,14 +197,14 @@ 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;
206
- agentId: string;
207
203
  headers: Record<string, string> | null;
204
+ tenantId: string;
205
+ projectId: string;
206
+ agentId: string;
207
+ subAgentId: string;
208
208
  externalAgentId: string;
209
209
  } | undefined>;
210
210
  /**
@@ -218,14 +218,14 @@ 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;
227
- agentId: string;
228
224
  headers: Record<string, string> | null;
225
+ tenantId: string;
226
+ projectId: string;
227
+ agentId: string;
228
+ subAgentId: string;
229
229
  externalAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,11 +9,11 @@ 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;
16
+ projectId: string;
17
17
  agentId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
@@ -44,11 +44,11 @@ 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;
51
+ projectId: string;
52
52
  agentId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
@@ -57,11 +57,11 @@ 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
- projectId: string;
62
60
  id: string;
63
61
  createdAt: string;
64
62
  updatedAt: string;
63
+ tenantId: string;
64
+ projectId: string;
65
65
  agentId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
@@ -126,11 +126,11 @@ 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;
133
+ projectId: string;
134
134
  agentId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
@@ -145,11 +145,11 @@ 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;
152
+ projectId: string;
153
153
  agentId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
@@ -159,11 +159,11 @@ 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
- projectId: string;
164
162
  id: string;
165
163
  createdAt: string;
166
164
  updatedAt: string;
165
+ tenantId: string;
166
+ projectId: string;
167
167
  agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
@@ -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
+ headers: Record<string, string> | null;
211
+ tenantId: string;
212
+ projectId: string;
213
213
  agentId: string;
214
+ subAgentId: string;
214
215
  toolId: string;
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
+ headers: Record<string, string> | null;
255
+ tenantId: string;
256
+ projectId: string;
257
257
  agentId: string;
258
+ subAgentId: string;
258
259
  toolId: string;
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,14 +9,14 @@ 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;
18
- agentId: string;
19
15
  headers: Record<string, string> | null;
16
+ tenantId: string;
17
+ projectId: string;
18
+ agentId: string;
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
- tenantId: string;
48
- projectId: string;
49
- subAgentId: string;
50
47
  id: string;
51
48
  createdAt: string;
52
49
  updatedAt: string;
53
- agentId: string;
54
50
  headers: Record<string, string> | null;
51
+ tenantId: string;
52
+ projectId: string;
53
+ agentId: string;
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
- tenantId: string;
61
- projectId: string;
62
- subAgentId: string;
63
60
  id: string;
64
61
  createdAt: string;
65
62
  updatedAt: string;
66
- agentId: string;
67
63
  headers: Record<string, string> | null;
64
+ tenantId: string;
65
+ projectId: string;
66
+ agentId: string;
67
+ subAgentId: string;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -210,14 +210,14 @@ 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;
219
- agentId: string;
220
216
  headers: Record<string, string> | null;
217
+ tenantId: string;
218
+ projectId: string;
219
+ agentId: string;
220
+ subAgentId: string;
221
221
  targetAgentId: string;
222
222
  }>;
223
223
  /**
@@ -227,14 +227,14 @@ 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;
236
- agentId: string;
237
233
  headers: Record<string, string> | null;
234
+ tenantId: string;
235
+ projectId: string;
236
+ agentId: string;
237
+ subAgentId: string;
238
238
  targetAgentId: string;
239
239
  } | undefined>;
240
240
  /**
@@ -248,14 +248,14 @@ 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;
257
- agentId: string;
258
254
  headers: Record<string, string> | null;
255
+ tenantId: string;
256
+ projectId: string;
257
+ agentId: string;
258
+ subAgentId: string;
259
259
  targetAgentId: string;
260
260
  }>;
261
261
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -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
+ description: string | null;
17
+ tenantId: string;
18
+ projectId: string;
19
+ agentId: 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
+ description: string | null;
48
+ tenantId: string;
49
+ projectId: string;
50
+ agentId: 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
+ description: string | null;
117
+ tenantId: string;
118
+ projectId: string;
119
+ agentId: 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: {