@inkeep/agents-core 0.0.0-dev-20260219165156 → 0.0.0-dev-20260219204727

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 +105 -105
  2. package/dist/auth/auth-validation-schemas.d.ts +148 -148
  3. package/dist/auth/auth.d.ts +53 -53
  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 +38 -38
  7. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  8. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  9. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  10. package/dist/data-access/manage/functionTools.d.ts +14 -14
  11. package/dist/data-access/manage/scope-helpers.d.ts +5 -5
  12. package/dist/data-access/manage/skills.d.ts +15 -15
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  14. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  16. package/dist/data-access/manage/subAgents.d.ts +18 -18
  17. package/dist/data-access/manage/tools.d.ts +24 -24
  18. package/dist/data-access/manage/triggers.d.ts +2 -2
  19. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  20. package/dist/data-access/runtime/conversations.d.ts +35 -35
  21. package/dist/data-access/runtime/messages.d.ts +18 -18
  22. package/dist/data-access/runtime/tasks.d.ts +8 -8
  23. package/dist/db/manage/manage-schema.d.ts +357 -357
  24. package/dist/db/runtime/runtime-schema.d.ts +268 -268
  25. package/dist/validation/dolt-schemas.d.ts +1 -1
  26. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  27. package/dist/validation/schemas.d.ts +1841 -1841
  28. 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
- id: string;
57
56
  name: string;
57
+ id: string;
58
58
  createdAt: string;
59
59
  updatedAt: string;
60
- description: string | null;
61
- tenantId: string;
62
- projectId: string;
63
60
  agentId: string;
61
+ projectId: string;
62
+ tenantId: string;
63
+ description: string | null;
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
- id: string;
99
98
  name: string;
99
+ id: string;
100
100
  createdAt: string;
101
101
  updatedAt: string;
102
- description: string | null;
103
- tenantId: string;
104
- projectId: string;
105
102
  agentId: string;
103
+ projectId: string;
104
+ tenantId: string;
105
+ description: string | null;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -164,13 +164,13 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
164
164
  id: string;
165
165
  createdAt: string;
166
166
  updatedAt: string;
167
- tenantId: string;
168
- projectId: string;
169
167
  agentId: string;
168
+ projectId: string;
169
+ tenantId: string;
170
+ subAgentId: string;
170
171
  toolPolicies: Record<string, {
171
172
  needsApproval?: boolean;
172
173
  }> | null;
173
- subAgentId: string;
174
174
  functionToolId: string;
175
175
  }>;
176
176
  /**
@@ -229,13 +229,13 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
229
229
  id: string;
230
230
  createdAt: string;
231
231
  updatedAt: string;
232
- tenantId: string;
233
- projectId: string;
234
232
  agentId: string;
233
+ projectId: string;
234
+ tenantId: string;
235
+ subAgentId: string;
235
236
  toolPolicies: Record<string, {
236
237
  needsApproval?: boolean;
237
238
  }> | null;
238
- subAgentId: string;
239
239
  functionToolId: string;
240
240
  }>;
241
241
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { AgentScopeConfig, ProjectScopeConfig, SubAgentScopeConfig } from "../../types/utility.js";
2
- import * as drizzle_orm20 from "drizzle-orm";
2
+ import * as drizzle_orm0 from "drizzle-orm";
3
3
 
4
4
  //#region src/data-access/manage/scope-helpers.d.ts
5
5
  type TenantScopeConfig = {
@@ -17,9 +17,9 @@ type AgentScopedColumns = ProjectScopedColumns & {
17
17
  type SubAgentScopedColumns = AgentScopedColumns & {
18
18
  subAgentId: any;
19
19
  };
20
- declare function tenantScopedWhere<T extends TenantScopedColumns>(table: T, scopes: TenantScopeConfig): drizzle_orm20.SQL<unknown>;
21
- declare function projectScopedWhere<T extends ProjectScopedColumns>(table: T, scopes: ProjectScopeConfig): drizzle_orm20.SQL<unknown> | undefined;
22
- declare function agentScopedWhere<T extends AgentScopedColumns>(table: T, scopes: AgentScopeConfig): drizzle_orm20.SQL<unknown> | undefined;
23
- declare function subAgentScopedWhere<T extends SubAgentScopedColumns>(table: T, scopes: SubAgentScopeConfig): drizzle_orm20.SQL<unknown> | undefined;
20
+ declare function tenantScopedWhere<T extends TenantScopedColumns>(table: T, scopes: TenantScopeConfig): drizzle_orm0.SQL<unknown>;
21
+ declare function projectScopedWhere<T extends ProjectScopedColumns>(table: T, scopes: ProjectScopeConfig): drizzle_orm0.SQL<unknown> | undefined;
22
+ declare function agentScopedWhere<T extends AgentScopedColumns>(table: T, scopes: AgentScopeConfig): drizzle_orm0.SQL<unknown> | undefined;
23
+ declare function subAgentScopedWhere<T extends SubAgentScopedColumns>(table: T, scopes: SubAgentScopeConfig): drizzle_orm0.SQL<unknown> | undefined;
24
24
  //#endregion
25
25
  export { agentScopedWhere, projectScopedWhere, subAgentScopedWhere, tenantScopedWhere };
@@ -7,14 +7,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  skillId: string;
9
9
  }) => Promise<{
10
- id: string;
11
10
  name: string;
11
+ metadata: Record<string, string> | null;
12
+ id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- metadata: Record<string, string> | null;
15
- description: string;
16
- tenantId: string;
17
15
  projectId: string;
16
+ tenantId: string;
17
+ description: string;
18
18
  content: string;
19
19
  } | null>;
20
20
  declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
@@ -40,25 +40,25 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
40
40
  };
41
41
  }>;
42
42
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
43
- id: string;
44
43
  name: string;
44
+ metadata: Record<string, string> | null;
45
+ id: string;
45
46
  createdAt: string;
46
47
  updatedAt: string;
47
- metadata: Record<string, string> | null;
48
- description: string;
49
- tenantId: string;
50
48
  projectId: string;
49
+ tenantId: string;
50
+ description: string;
51
51
  content: string;
52
52
  }>;
53
53
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
54
- id: string;
55
54
  name: string;
55
+ metadata: Record<string, string> | null;
56
+ id: string;
56
57
  createdAt: string;
57
58
  updatedAt: string;
58
- metadata: Record<string, string> | null;
59
- description: string;
60
- tenantId: string;
61
59
  projectId: string;
60
+ tenantId: string;
61
+ description: string;
62
62
  content: string;
63
63
  }>;
64
64
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
@@ -93,13 +93,13 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
93
93
  id: string;
94
94
  createdAt: string;
95
95
  updatedAt: string;
96
- tenantId: string;
97
- projectId: string;
98
96
  agentId: string;
97
+ projectId: string;
98
+ tenantId: string;
99
+ subAgentId: string;
99
100
  index: number;
100
101
  alwaysLoaded: boolean;
101
102
  skillId: string;
102
- subAgentId: string;
103
103
  }>;
104
104
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
105
105
  scopes: AgentScopeConfig;
@@ -8,15 +8,15 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ headers: Record<string, string> | null;
11
12
  id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- headers: Record<string, string> | null;
15
- tenantId: string;
16
- projectId: string;
17
15
  agentId: string;
18
- externalAgentId: string;
16
+ projectId: string;
17
+ tenantId: string;
19
18
  subAgentId: string;
19
+ externalAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: SubAgentScopeConfig;
@@ -43,28 +43,28 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
43
43
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ headers: Record<string, string> | null;
46
47
  id: string;
47
48
  createdAt: string;
48
49
  updatedAt: string;
49
- headers: Record<string, string> | null;
50
- tenantId: string;
51
- projectId: string;
52
50
  agentId: string;
53
- externalAgentId: string;
51
+ projectId: string;
52
+ tenantId: string;
54
53
  subAgentId: string;
54
+ externalAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ headers: Record<string, string> | null;
59
60
  id: string;
60
61
  createdAt: string;
61
62
  updatedAt: string;
62
- headers: Record<string, string> | null;
63
- tenantId: string;
64
- projectId: string;
65
63
  agentId: string;
66
- externalAgentId: string;
64
+ projectId: string;
65
+ tenantId: string;
67
66
  subAgentId: string;
67
+ externalAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
70
70
  scopes: AgentScopeConfig;
@@ -179,15 +179,15 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
179
179
  headers?: Record<string, string> | null;
180
180
  };
181
181
  }) => Promise<{
182
+ headers: Record<string, string> | null;
182
183
  id: string;
183
184
  createdAt: string;
184
185
  updatedAt: string;
185
- headers: Record<string, string> | null;
186
- tenantId: string;
187
- projectId: string;
188
186
  agentId: string;
189
- externalAgentId: string;
187
+ projectId: string;
188
+ tenantId: string;
190
189
  subAgentId: string;
190
+ externalAgentId: string;
191
191
  }>;
192
192
  /**
193
193
  * Check if sub-agent external agent relation exists by params
@@ -196,15 +196,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
196
196
  scopes: SubAgentScopeConfig;
197
197
  externalAgentId: string;
198
198
  }) => Promise<{
199
+ headers: Record<string, string> | null;
199
200
  id: string;
200
201
  createdAt: string;
201
202
  updatedAt: string;
202
- headers: Record<string, string> | null;
203
- tenantId: string;
204
- projectId: string;
205
203
  agentId: string;
206
- externalAgentId: string;
204
+ projectId: string;
205
+ tenantId: string;
207
206
  subAgentId: string;
207
+ externalAgentId: string;
208
208
  } | undefined>;
209
209
  /**
210
210
  * Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
@@ -217,15 +217,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
217
217
  headers?: Record<string, string> | null;
218
218
  };
219
219
  }) => Promise<{
220
+ headers: Record<string, string> | null;
220
221
  id: string;
221
222
  createdAt: string;
222
223
  updatedAt: string;
223
- headers: Record<string, string> | null;
224
- tenantId: string;
225
- projectId: string;
226
224
  agentId: string;
227
- externalAgentId: string;
225
+ projectId: string;
226
+ tenantId: string;
228
227
  subAgentId: string;
228
+ externalAgentId: 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
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- tenantId: string;
15
- projectId: string;
16
14
  agentId: string;
15
+ projectId: string;
16
+ tenantId: 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
  id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
- tenantId: string;
50
- projectId: string;
51
49
  agentId: string;
50
+ projectId: string;
51
+ tenantId: 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
  id: string;
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
- tenantId: string;
63
- projectId: string;
64
62
  agentId: string;
63
+ projectId: string;
64
+ tenantId: 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
  id: string;
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
- tenantId: string;
132
- projectId: string;
133
131
  agentId: string;
132
+ projectId: string;
133
+ tenantId: 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
  id: string;
148
148
  createdAt: string;
149
149
  updatedAt: string;
150
- tenantId: string;
151
- projectId: string;
152
150
  agentId: string;
151
+ projectId: string;
152
+ tenantId: 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
  id: string;
162
162
  createdAt: string;
163
163
  updatedAt: string;
164
- tenantId: string;
165
- projectId: string;
166
164
  agentId: string;
165
+ projectId: string;
166
+ tenantId: string;
167
167
  sourceSubAgentId: string;
168
168
  targetSubAgentId: string | null;
169
169
  relationType: string | null;
@@ -203,18 +203,18 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
203
203
  }> | null;
204
204
  };
205
205
  }) => Promise<{
206
+ headers: Record<string, string> | null;
206
207
  id: string;
207
208
  createdAt: string;
208
209
  updatedAt: string;
209
- headers: Record<string, string> | null;
210
- tenantId: string;
211
- projectId: string;
212
210
  agentId: string;
211
+ projectId: string;
212
+ tenantId: string;
213
+ subAgentId: string;
213
214
  toolId: string;
214
215
  toolPolicies: Record<string, {
215
216
  needsApproval?: boolean;
216
217
  }> | null;
217
- subAgentId: string;
218
218
  selectedTools: string[] | null;
219
219
  }>;
220
220
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -247,18 +247,18 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
247
247
  scopes: SubAgentScopeConfig;
248
248
  relationId: string;
249
249
  }) => Promise<{
250
+ headers: Record<string, string> | null;
250
251
  id: string;
251
252
  createdAt: string;
252
253
  updatedAt: string;
253
- headers: Record<string, string> | null;
254
- tenantId: string;
255
- projectId: string;
256
254
  agentId: string;
255
+ projectId: string;
256
+ tenantId: string;
257
+ subAgentId: string;
257
258
  toolId: string;
258
259
  toolPolicies: Record<string, {
259
260
  needsApproval?: boolean;
260
261
  }> | null;
261
- subAgentId: string;
262
262
  selectedTools: string[] | null;
263
263
  } | undefined>;
264
264
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -8,13 +8,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ headers: Record<string, string> | null;
11
12
  id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- headers: Record<string, string> | null;
15
- tenantId: string;
16
- projectId: string;
17
15
  agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  subAgentId: string;
19
19
  targetAgentId: string;
20
20
  } | undefined>;
@@ -43,26 +43,26 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
43
43
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ headers: Record<string, string> | null;
46
47
  id: string;
47
48
  createdAt: string;
48
49
  updatedAt: string;
49
- headers: Record<string, string> | null;
50
- tenantId: string;
51
- projectId: string;
52
50
  agentId: string;
51
+ projectId: string;
52
+ tenantId: string;
53
53
  subAgentId: string;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ headers: Record<string, string> | null;
59
60
  id: string;
60
61
  createdAt: string;
61
62
  updatedAt: string;
62
- headers: Record<string, string> | null;
63
- tenantId: string;
64
- projectId: string;
65
63
  agentId: string;
64
+ projectId: string;
65
+ tenantId: string;
66
66
  subAgentId: string;
67
67
  targetAgentId: string;
68
68
  }[]>;
@@ -209,13 +209,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
209
209
  headers?: Record<string, string> | null;
210
210
  };
211
211
  }) => Promise<{
212
+ headers: Record<string, string> | null;
212
213
  id: string;
213
214
  createdAt: string;
214
215
  updatedAt: string;
215
- headers: Record<string, string> | null;
216
- tenantId: string;
217
- projectId: string;
218
216
  agentId: string;
217
+ projectId: string;
218
+ tenantId: string;
219
219
  subAgentId: string;
220
220
  targetAgentId: string;
221
221
  }>;
@@ -226,13 +226,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
226
226
  scopes: SubAgentScopeConfig;
227
227
  targetAgentId: string;
228
228
  }) => Promise<{
229
+ headers: Record<string, string> | null;
229
230
  id: string;
230
231
  createdAt: string;
231
232
  updatedAt: string;
232
- headers: Record<string, string> | null;
233
- tenantId: string;
234
- projectId: string;
235
233
  agentId: string;
234
+ projectId: string;
235
+ tenantId: string;
236
236
  subAgentId: string;
237
237
  targetAgentId: string;
238
238
  } | undefined>;
@@ -247,13 +247,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
247
247
  headers?: Record<string, string> | null;
248
248
  };
249
249
  }) => Promise<{
250
+ headers: Record<string, string> | null;
250
251
  id: string;
251
252
  createdAt: string;
252
253
  updatedAt: string;
253
- headers: Record<string, string> | null;
254
- tenantId: string;
255
- projectId: string;
256
254
  agentId: string;
255
+ projectId: string;
256
+ tenantId: string;
257
257
  subAgentId: string;
258
258
  targetAgentId: string;
259
259
  }>;
@@ -8,16 +8,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
- id: string;
12
11
  name: string;
12
+ id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- description: string | null;
16
- tenantId: string;
17
- projectId: string;
18
15
  agentId: string;
19
- prompt: string | null;
20
- conversationHistoryConfig: ConversationHistoryConfig | null;
16
+ projectId: string;
17
+ tenantId: string;
18
+ description: string | null;
21
19
  models: {
22
20
  base?: {
23
21
  model?: string | undefined;
@@ -32,23 +30,23 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
32
30
  providerOptions?: Record<string, any> | undefined;
33
31
  } | undefined;
34
32
  } | null;
33
+ prompt: string | null;
35
34
  stopWhen: {
36
35
  stepCountIs?: number | undefined;
37
36
  } | null;
37
+ conversationHistoryConfig: ConversationHistoryConfig | null;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
- id: string;
43
42
  name: string;
43
+ id: string;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- description: string | null;
47
- tenantId: string;
48
- projectId: string;
49
46
  agentId: string;
50
- prompt: string | null;
51
- conversationHistoryConfig: ConversationHistoryConfig | null;
47
+ projectId: string;
48
+ tenantId: string;
49
+ description: string | null;
52
50
  models: {
53
51
  base?: {
54
52
  model?: string | undefined;
@@ -63,9 +61,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
63
61
  providerOptions?: Record<string, any> | undefined;
64
62
  } | undefined;
65
63
  } | null;
64
+ prompt: string | null;
66
65
  stopWhen: {
67
66
  stepCountIs?: number | undefined;
68
67
  } | null;
68
+ conversationHistoryConfig: ConversationHistoryConfig | null;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -108,16 +108,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
111
- id: string;
112
111
  name: string;
112
+ id: string;
113
113
  createdAt: string;
114
114
  updatedAt: string;
115
- description: string | null;
116
- tenantId: string;
117
- projectId: string;
118
115
  agentId: string;
119
- prompt: string | null;
120
- conversationHistoryConfig: ConversationHistoryConfig | null;
116
+ projectId: string;
117
+ tenantId: string;
118
+ description: string | null;
121
119
  models: {
122
120
  base?: {
123
121
  model?: string | undefined;
@@ -132,9 +130,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
132
130
  providerOptions?: Record<string, any> | undefined;
133
131
  } | undefined;
134
132
  } | null;
133
+ prompt: string | null;
135
134
  stopWhen: {
136
135
  stepCountIs?: number | undefined;
137
136
  } | null;
137
+ conversationHistoryConfig: ConversationHistoryConfig | null;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
140
140
  scopes: AgentScopeConfig;