@inkeep/agents-core 0.58.1 → 0.58.2

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 (39) hide show
  1. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  2. package/dist/auth/auth.d.ts +28 -28
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/client-exports.d.ts +3 -3
  5. package/dist/constants/allowed-image-formats.d.ts +8 -0
  6. package/dist/constants/allowed-image-formats.js +38 -0
  7. package/dist/constants/models.d.ts +2 -0
  8. package/dist/constants/models.js +2 -0
  9. package/dist/constants/otel-attributes.d.ts +1 -0
  10. package/dist/constants/otel-attributes.js +1 -0
  11. package/dist/data-access/manage/agents.d.ts +25 -25
  12. package/dist/data-access/manage/artifactComponents.d.ts +16 -16
  13. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  14. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  15. package/dist/data-access/manage/functionTools.d.ts +20 -20
  16. package/dist/data-access/manage/skills.d.ts +20 -20
  17. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  18. package/dist/data-access/manage/subAgentRelations.d.ts +30 -30
  19. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  20. package/dist/data-access/manage/subAgents.d.ts +15 -15
  21. package/dist/data-access/manage/tools.d.ts +36 -36
  22. package/dist/data-access/manage/triggers.d.ts +1 -1
  23. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  24. package/dist/data-access/runtime/conversations.d.ts +24 -24
  25. package/dist/data-access/runtime/messages.d.ts +18 -18
  26. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  27. package/dist/data-access/runtime/tasks.d.ts +6 -6
  28. package/dist/db/manage/manage-schema.d.ts +451 -451
  29. package/dist/db/runtime/runtime-schema.d.ts +303 -303
  30. package/dist/db/utils.js +4 -0
  31. package/dist/dolt/migrate-all-branches.js +4 -1
  32. package/dist/dolt/migrate-dolt.js +20 -3
  33. package/dist/middleware/authz-meta.d.ts +2 -2
  34. package/dist/middleware/create-protected-route.d.ts +2 -2
  35. package/dist/middleware/no-auth.d.ts +2 -2
  36. package/dist/utils/error.d.ts +51 -51
  37. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  38. package/dist/validation/schemas.d.ts +1956 -1956
  39. package/package.json +5 -1
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- tenantId: string;
57
- projectId: string;
58
- agentId: string;
59
- description: string | null;
60
- name: string;
61
56
  id: string;
57
+ name: string;
62
58
  createdAt: string;
63
59
  updatedAt: string;
60
+ description: string | null;
61
+ tenantId: string;
62
+ projectId: 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
- tenantId: string;
99
- projectId: string;
100
- agentId: string;
101
- description: string | null;
102
- name: string;
103
98
  id: string;
99
+ name: string;
104
100
  createdAt: string;
105
101
  updatedAt: string;
102
+ description: string | null;
103
+ tenantId: string;
104
+ projectId: string;
105
+ agentId: string;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -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
- agentId: string;
167
- subAgentId: string;
168
164
  id: string;
169
165
  createdAt: string;
170
166
  updatedAt: string;
171
- functionToolId: string;
167
+ tenantId: string;
168
+ projectId: string;
169
+ subAgentId: string;
170
+ agentId: string;
172
171
  toolPolicies: Record<string, {
173
172
  needsApproval?: boolean;
174
173
  }> | 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
- agentId: string;
232
- subAgentId: string;
233
229
  id: string;
234
230
  createdAt: string;
235
231
  updatedAt: string;
236
- functionToolId: string;
232
+ tenantId: string;
233
+ projectId: string;
234
+ subAgentId: string;
235
+ agentId: string;
237
236
  toolPolicies: Record<string, {
238
237
  needsApproval?: boolean;
239
238
  }> | 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
- tenantId: string;
12
- projectId: string;
13
- description: string;
14
- name: string;
15
- content: 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
+ content: string;
18
+ tenantId: string;
19
+ projectId: 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
- tenantId: string;
45
- projectId: string;
46
- description: string;
47
- name: string;
48
- content: 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
- tenantId: string;
56
- projectId: string;
57
49
  description: string;
58
- name: string;
59
50
  content: string;
51
+ tenantId: string;
52
+ projectId: 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
+ content: string;
62
+ tenantId: string;
63
+ projectId: string;
64
64
  }>;
65
65
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
66
66
  scopes: ProjectScopeConfig;
@@ -91,16 +91,16 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
91
91
  index: number;
92
92
  alwaysLoaded?: boolean;
93
93
  }) => Promise<{
94
- tenantId: string;
95
- projectId: string;
96
- agentId: string;
97
- subAgentId: string;
98
94
  id: string;
99
95
  createdAt: string;
100
96
  updatedAt: string;
101
- skillId: string;
97
+ tenantId: string;
98
+ projectId: string;
99
+ subAgentId: string;
100
+ agentId: string;
102
101
  index: number;
103
102
  alwaysLoaded: boolean;
103
+ skillId: string;
104
104
  }>;
105
105
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
106
106
  scopes: AgentScopeConfig;
@@ -9,13 +9,13 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
- projectId: string;
14
- agentId: string;
15
- subAgentId: string;
16
12
  id: string;
17
13
  createdAt: string;
18
14
  updatedAt: string;
15
+ tenantId: string;
16
+ projectId: string;
17
+ subAgentId: 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
- projectId: string;
49
- agentId: string;
50
- subAgentId: string;
51
47
  id: string;
52
48
  createdAt: string;
53
49
  updatedAt: string;
50
+ tenantId: string;
51
+ projectId: string;
52
+ subAgentId: 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
- projectId: string;
62
- agentId: string;
63
- subAgentId: string;
64
60
  id: string;
65
61
  createdAt: string;
66
62
  updatedAt: string;
63
+ tenantId: string;
64
+ projectId: string;
65
+ subAgentId: 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
- projectId: string;
185
- agentId: string;
186
- subAgentId: string;
187
183
  id: string;
188
184
  createdAt: string;
189
185
  updatedAt: string;
186
+ tenantId: string;
187
+ projectId: string;
188
+ subAgentId: 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
- projectId: string;
202
- agentId: string;
203
- subAgentId: string;
204
200
  id: string;
205
201
  createdAt: string;
206
202
  updatedAt: string;
203
+ tenantId: string;
204
+ projectId: string;
205
+ subAgentId: 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
- projectId: string;
223
- agentId: string;
224
- subAgentId: string;
225
221
  id: string;
226
222
  createdAt: string;
227
223
  updatedAt: string;
224
+ tenantId: string;
225
+ projectId: string;
226
+ subAgentId: 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
- projectId: string;
14
- agentId: string;
15
12
  id: string;
16
13
  createdAt: string;
17
14
  updatedAt: string;
15
+ tenantId: string;
16
+ projectId: 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
- projectId: string;
49
- agentId: string;
50
47
  id: string;
51
48
  createdAt: string;
52
49
  updatedAt: string;
50
+ tenantId: string;
51
+ projectId: 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
- projectId: string;
62
- agentId: string;
63
60
  id: string;
64
61
  createdAt: string;
65
62
  updatedAt: string;
63
+ tenantId: string;
64
+ projectId: 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
- projectId: string;
131
- agentId: string;
132
129
  id: string;
133
130
  createdAt: string;
134
131
  updatedAt: string;
132
+ tenantId: string;
133
+ projectId: 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
- projectId: string;
150
- agentId: string;
151
148
  id: string;
152
149
  createdAt: string;
153
150
  updatedAt: string;
151
+ tenantId: string;
152
+ projectId: 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
- projectId: string;
164
- agentId: string;
165
162
  id: string;
166
163
  createdAt: string;
167
164
  updatedAt: string;
165
+ tenantId: string;
166
+ projectId: string;
167
+ agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -204,18 +204,18 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
- tenantId: string;
208
- projectId: string;
209
- agentId: string;
210
- subAgentId: string;
211
207
  id: string;
212
208
  createdAt: string;
213
209
  updatedAt: string;
210
+ tenantId: string;
211
+ projectId: string;
212
+ subAgentId: string;
213
+ agentId: string;
214
+ toolId: string;
215
+ headers: Record<string, string> | null;
214
216
  toolPolicies: Record<string, {
215
217
  needsApproval?: boolean;
216
218
  }> | null;
217
- toolId: string;
218
- headers: Record<string, string> | null;
219
219
  selectedTools: string[] | null;
220
220
  }>;
221
221
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -248,18 +248,18 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
- tenantId: string;
252
- projectId: string;
253
- agentId: string;
254
- subAgentId: string;
255
251
  id: string;
256
252
  createdAt: string;
257
253
  updatedAt: string;
254
+ tenantId: string;
255
+ projectId: string;
256
+ subAgentId: string;
257
+ agentId: string;
258
+ toolId: string;
259
+ headers: Record<string, string> | null;
258
260
  toolPolicies: Record<string, {
259
261
  needsApproval?: boolean;
260
262
  }> | null;
261
- toolId: string;
262
- headers: Record<string, string> | null;
263
263
  selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,13 +9,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
- projectId: string;
14
- agentId: string;
15
- subAgentId: string;
16
12
  id: string;
17
13
  createdAt: string;
18
14
  updatedAt: string;
15
+ tenantId: string;
16
+ projectId: string;
17
+ subAgentId: 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
- projectId: string;
49
- agentId: string;
50
- subAgentId: string;
51
47
  id: string;
52
48
  createdAt: string;
53
49
  updatedAt: string;
50
+ tenantId: string;
51
+ projectId: string;
52
+ subAgentId: 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
- projectId: string;
62
- agentId: string;
63
- subAgentId: string;
64
60
  id: string;
65
61
  createdAt: string;
66
62
  updatedAt: string;
63
+ tenantId: string;
64
+ projectId: string;
65
+ subAgentId: 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
- projectId: string;
215
- agentId: string;
216
- subAgentId: string;
217
213
  id: string;
218
214
  createdAt: string;
219
215
  updatedAt: string;
216
+ tenantId: string;
217
+ projectId: string;
218
+ subAgentId: 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
- projectId: string;
232
- agentId: string;
233
- subAgentId: string;
234
230
  id: string;
235
231
  createdAt: string;
236
232
  updatedAt: string;
233
+ tenantId: string;
234
+ projectId: string;
235
+ subAgentId: 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
- projectId: string;
253
- agentId: string;
254
- subAgentId: string;
255
251
  id: string;
256
252
  createdAt: string;
257
253
  updatedAt: string;
254
+ tenantId: string;
255
+ projectId: string;
256
+ subAgentId: 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
- tenantId: string;
13
- projectId: string;
14
- agentId: string;
15
- description: string | null;
16
- name: string;
17
12
  id: string;
13
+ name: string;
18
14
  createdAt: string;
19
15
  updatedAt: string;
16
+ description: string | null;
17
+ tenantId: string;
18
+ projectId: 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
- tenantId: string;
44
- projectId: string;
45
- agentId: string;
46
- description: string | null;
47
- name: string;
48
43
  id: string;
44
+ name: string;
49
45
  createdAt: string;
50
46
  updatedAt: string;
47
+ description: string | null;
48
+ tenantId: string;
49
+ projectId: 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
- tenantId: string;
113
- projectId: string;
114
- agentId: string;
115
- description: string | null;
116
- name: string;
117
112
  id: string;
113
+ name: string;
118
114
  createdAt: string;
119
115
  updatedAt: string;
116
+ description: string | null;
117
+ tenantId: string;
118
+ projectId: 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
  }>;