@inkeep/agents-core 0.0.0-dev-20260326173210 → 0.0.0-dev-20260326213425

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 (51) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +3 -106
  6. package/dist/client-exports.js +2 -60
  7. package/dist/data-access/index.d.ts +2 -1
  8. package/dist/data-access/index.js +2 -1
  9. package/dist/data-access/manage/agentFull.js +10 -5
  10. package/dist/data-access/manage/agents.d.ts +53 -47
  11. package/dist/data-access/manage/agents.js +2 -0
  12. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  13. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  14. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  15. package/dist/data-access/manage/functionTools.d.ts +10 -10
  16. package/dist/data-access/manage/skills.d.ts +12 -12
  17. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +15 -15
  18. package/dist/data-access/manage/subAgentRelations.d.ts +19 -19
  19. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  20. package/dist/data-access/manage/subAgents.d.ts +36 -36
  21. package/dist/data-access/manage/tools.d.ts +15 -15
  22. package/dist/data-access/manage/triggers.d.ts +2 -2
  23. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  24. package/dist/data-access/runtime/apps.d.ts +8 -8
  25. package/dist/data-access/runtime/conversations.d.ts +20 -20
  26. package/dist/data-access/runtime/messages.d.ts +15 -15
  27. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  28. package/dist/data-access/runtime/tasks.d.ts +5 -5
  29. package/dist/data-access/runtime/workflowExecutions.d.ts +25 -0
  30. package/dist/data-access/runtime/workflowExecutions.js +32 -0
  31. package/dist/db/manage/manage-schema.d.ts +403 -383
  32. package/dist/db/manage/manage-schema.js +1 -0
  33. package/dist/db/runtime/runtime-schema.d.ts +496 -303
  34. package/dist/db/runtime/runtime-schema.js +16 -2
  35. package/dist/index.d.ts +5 -4
  36. package/dist/index.js +4 -3
  37. package/dist/types/entities.d.ts +5 -2
  38. package/dist/types/index.d.ts +2 -2
  39. package/dist/validation/agentFull.js +0 -1
  40. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  41. package/dist/validation/index.d.ts +2 -2
  42. package/dist/validation/index.js +2 -2
  43. package/dist/validation/schemas.d.ts +1751 -1394
  44. package/dist/validation/schemas.js +68 -34
  45. package/drizzle/manage/0013_gorgeous_umar.sql +1 -0
  46. package/drizzle/manage/meta/0013_snapshot.json +3704 -0
  47. package/drizzle/manage/meta/_journal.json +7 -0
  48. package/drizzle/runtime/0026_graceful_scorpion.sql +15 -0
  49. package/drizzle/runtime/meta/{0025_snapshot.json → 0026_snapshot.json} +114 -1
  50. package/drizzle/runtime/meta/_journal.json +7 -0
  51. 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;
58
57
  description: string | null;
58
+ id: string;
59
+ createdAt: string;
60
+ updatedAt: string;
59
61
  tenantId: string;
60
62
  projectId: string;
61
63
  agentId: string;
62
- createdAt: string;
63
- updatedAt: 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
- id: string;
99
98
  name: string;
100
99
  description: string | null;
100
+ id: string;
101
+ createdAt: string;
102
+ updatedAt: string;
101
103
  tenantId: string;
102
104
  projectId: string;
103
105
  agentId: string;
104
- createdAt: string;
105
- updatedAt: string;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -158,11 +158,11 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
158
158
  }> | null;
159
159
  }) => Promise<{
160
160
  id: string;
161
+ createdAt: string;
162
+ updatedAt: string;
161
163
  tenantId: string;
162
164
  projectId: string;
163
165
  agentId: string;
164
- createdAt: string;
165
- updatedAt: string;
166
166
  toolPolicies: Record<string, {
167
167
  needsApproval?: boolean;
168
168
  }> | null;
@@ -223,11 +223,11 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
223
223
  }> | null;
224
224
  }) => Promise<{
225
225
  id: string;
226
+ createdAt: string;
227
+ updatedAt: string;
226
228
  tenantId: string;
227
229
  projectId: string;
228
230
  agentId: string;
229
- createdAt: string;
230
- updatedAt: string;
231
231
  toolPolicies: Record<string, {
232
232
  needsApproval?: boolean;
233
233
  }> | null;
@@ -8,13 +8,13 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  skillId: string;
10
10
  }) => Promise<{
11
- id: string;
12
11
  name: string;
13
12
  description: string;
14
- tenantId: string;
15
- projectId: string;
13
+ id: string;
16
14
  createdAt: string;
17
15
  updatedAt: string;
16
+ tenantId: string;
17
+ projectId: string;
18
18
  metadata: Record<string, string> | null;
19
19
  content: string;
20
20
  } | null>;
@@ -41,24 +41,24 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
41
41
  };
42
42
  }>;
43
43
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
44
- id: string;
45
44
  name: string;
46
45
  description: string;
47
- tenantId: string;
48
- projectId: string;
46
+ id: string;
49
47
  createdAt: string;
50
48
  updatedAt: string;
49
+ tenantId: string;
50
+ projectId: string;
51
51
  metadata: Record<string, string> | null;
52
52
  content: string;
53
53
  }>;
54
54
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
55
- id: string;
56
55
  name: string;
57
56
  description: string;
58
- tenantId: string;
59
- projectId: string;
57
+ id: string;
60
58
  createdAt: string;
61
59
  updatedAt: string;
60
+ tenantId: string;
61
+ projectId: string;
62
62
  metadata: Record<string, string> | null;
63
63
  content: string;
64
64
  }>;
@@ -92,14 +92,14 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
92
92
  alwaysLoaded?: boolean;
93
93
  }) => Promise<{
94
94
  id: string;
95
+ createdAt: string;
96
+ updatedAt: string;
95
97
  tenantId: string;
96
98
  projectId: string;
97
99
  agentId: string;
98
- createdAt: string;
99
- updatedAt: string;
100
+ subAgentId: string;
100
101
  index: number;
101
102
  alwaysLoaded: boolean;
102
- subAgentId: string;
103
103
  skillId: string;
104
104
  }>;
105
105
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
@@ -10,11 +10,11 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ createdAt: string;
14
+ updatedAt: string;
13
15
  tenantId: string;
14
16
  projectId: string;
15
17
  agentId: string;
16
- createdAt: string;
17
- updatedAt: string;
18
18
  headers: Record<string, string> | null;
19
19
  externalAgentId: string;
20
20
  subAgentId: string;
@@ -45,11 +45,11 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
+ createdAt: string;
49
+ updatedAt: string;
48
50
  tenantId: string;
49
51
  projectId: string;
50
52
  agentId: string;
51
- createdAt: string;
52
- updatedAt: string;
53
53
  headers: Record<string, string> | null;
54
54
  externalAgentId: string;
55
55
  subAgentId: string;
@@ -58,11 +58,11 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
+ createdAt: string;
62
+ updatedAt: string;
61
63
  tenantId: string;
62
64
  projectId: string;
63
65
  agentId: string;
64
- createdAt: string;
65
- updatedAt: string;
66
66
  headers: Record<string, string> | null;
67
67
  externalAgentId: string;
68
68
  subAgentId: string;
@@ -147,15 +147,15 @@ declare const getSubAgentsForExternalAgent: (db: AgentsManageDatabaseClient) =>
147
147
  models: {
148
148
  base?: {
149
149
  model?: string | undefined;
150
- providerOptions?: Record<string, any> | undefined;
150
+ providerOptions?: Record<string, unknown> | undefined;
151
151
  } | undefined;
152
152
  structuredOutput?: {
153
153
  model?: string | undefined;
154
- providerOptions?: Record<string, any> | undefined;
154
+ providerOptions?: Record<string, unknown> | undefined;
155
155
  } | undefined;
156
156
  summarizer?: {
157
157
  model?: string | undefined;
158
- providerOptions?: Record<string, any> | undefined;
158
+ providerOptions?: Record<string, unknown> | undefined;
159
159
  } | undefined;
160
160
  } | null;
161
161
  stopWhen: {
@@ -181,11 +181,11 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
181
181
  };
182
182
  }) => Promise<{
183
183
  id: string;
184
+ createdAt: string;
185
+ updatedAt: string;
184
186
  tenantId: string;
185
187
  projectId: string;
186
188
  agentId: string;
187
- createdAt: string;
188
- updatedAt: string;
189
189
  headers: Record<string, string> | null;
190
190
  externalAgentId: string;
191
191
  subAgentId: string;
@@ -198,11 +198,11 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
198
198
  externalAgentId: string;
199
199
  }) => Promise<{
200
200
  id: string;
201
+ createdAt: string;
202
+ updatedAt: string;
201
203
  tenantId: string;
202
204
  projectId: string;
203
205
  agentId: string;
204
- createdAt: string;
205
- updatedAt: string;
206
206
  headers: Record<string, string> | null;
207
207
  externalAgentId: string;
208
208
  subAgentId: string;
@@ -219,11 +219,11 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
219
219
  };
220
220
  }) => Promise<{
221
221
  id: string;
222
+ createdAt: string;
223
+ updatedAt: string;
222
224
  tenantId: string;
223
225
  projectId: string;
224
226
  agentId: string;
225
- createdAt: string;
226
- updatedAt: string;
227
227
  headers: Record<string, string> | null;
228
228
  externalAgentId: string;
229
229
  subAgentId: string;
@@ -10,11 +10,11 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ createdAt: string;
14
+ updatedAt: string;
13
15
  tenantId: string;
14
16
  projectId: string;
15
17
  agentId: string;
16
- createdAt: string;
17
- updatedAt: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -45,11 +45,11 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
+ createdAt: string;
49
+ updatedAt: string;
48
50
  tenantId: string;
49
51
  projectId: string;
50
52
  agentId: string;
51
- createdAt: string;
52
- updatedAt: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -58,11 +58,11 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
+ createdAt: string;
62
+ updatedAt: string;
61
63
  tenantId: string;
62
64
  projectId: string;
63
65
  agentId: string;
64
- createdAt: string;
65
- updatedAt: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -127,11 +127,11 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
129
  id: string;
130
+ createdAt: string;
131
+ updatedAt: string;
130
132
  tenantId: string;
131
133
  projectId: string;
132
134
  agentId: string;
133
- createdAt: string;
134
- updatedAt: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -146,11 +146,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
146
146
  relationType: string;
147
147
  }) => Promise<{
148
148
  id: string;
149
+ createdAt: string;
150
+ updatedAt: string;
149
151
  tenantId: string;
150
152
  projectId: string;
151
153
  agentId: string;
152
- createdAt: string;
153
- updatedAt: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -160,11 +160,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
162
  id: string;
163
+ createdAt: string;
164
+ updatedAt: string;
163
165
  tenantId: string;
164
166
  projectId: string;
165
167
  agentId: string;
166
- createdAt: string;
167
- updatedAt: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -205,11 +205,11 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
205
205
  };
206
206
  }) => Promise<{
207
207
  id: string;
208
+ createdAt: string;
209
+ updatedAt: string;
208
210
  tenantId: string;
209
211
  projectId: string;
210
212
  agentId: string;
211
- createdAt: string;
212
- updatedAt: string;
213
213
  toolId: string;
214
214
  headers: Record<string, string> | null;
215
215
  toolPolicies: Record<string, {
@@ -249,11 +249,11 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
249
249
  relationId: string;
250
250
  }) => Promise<{
251
251
  id: string;
252
+ createdAt: string;
253
+ updatedAt: string;
252
254
  tenantId: string;
253
255
  projectId: string;
254
256
  agentId: string;
255
- createdAt: string;
256
- updatedAt: string;
257
257
  toolId: string;
258
258
  headers: Record<string, string> | null;
259
259
  toolPolicies: Record<string, {
@@ -410,15 +410,15 @@ declare const getAgentsForTool: (db: AgentsManageDatabaseClient) => (params: {
410
410
  models: {
411
411
  base?: {
412
412
  model?: string | undefined;
413
- providerOptions?: Record<string, any> | undefined;
413
+ providerOptions?: Record<string, unknown> | undefined;
414
414
  } | undefined;
415
415
  structuredOutput?: {
416
416
  model?: string | undefined;
417
- providerOptions?: Record<string, any> | undefined;
417
+ providerOptions?: Record<string, unknown> | undefined;
418
418
  } | undefined;
419
419
  summarizer?: {
420
420
  model?: string | undefined;
421
- providerOptions?: Record<string, any> | undefined;
421
+ providerOptions?: Record<string, unknown> | undefined;
422
422
  } | undefined;
423
423
  } | null;
424
424
  stopWhen: {
@@ -10,11 +10,11 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ createdAt: string;
14
+ updatedAt: string;
13
15
  tenantId: string;
14
16
  projectId: string;
15
17
  agentId: string;
16
- createdAt: string;
17
- updatedAt: string;
18
18
  headers: Record<string, string> | null;
19
19
  subAgentId: string;
20
20
  targetAgentId: string;
@@ -45,11 +45,11 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
+ createdAt: string;
49
+ updatedAt: string;
48
50
  tenantId: string;
49
51
  projectId: string;
50
52
  agentId: string;
51
- createdAt: string;
52
- updatedAt: string;
53
53
  headers: Record<string, string> | null;
54
54
  subAgentId: string;
55
55
  targetAgentId: string;
@@ -58,11 +58,11 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
+ createdAt: string;
62
+ updatedAt: string;
61
63
  tenantId: string;
62
64
  projectId: string;
63
65
  agentId: string;
64
- createdAt: string;
65
- updatedAt: string;
66
66
  headers: Record<string, string> | null;
67
67
  subAgentId: string;
68
68
  targetAgentId: string;
@@ -113,15 +113,15 @@ declare const getTeamAgentsForSubAgent: (db: AgentsManageDatabaseClient) => (par
113
113
  models: {
114
114
  base?: {
115
115
  model?: string | undefined;
116
- providerOptions?: Record<string, any> | undefined;
116
+ providerOptions?: Record<string, unknown> | undefined;
117
117
  } | undefined;
118
118
  structuredOutput?: {
119
119
  model?: string | undefined;
120
- providerOptions?: Record<string, any> | undefined;
120
+ providerOptions?: Record<string, unknown> | undefined;
121
121
  } | undefined;
122
122
  summarizer?: {
123
123
  model?: string | undefined;
124
- providerOptions?: Record<string, any> | undefined;
124
+ providerOptions?: Record<string, unknown> | undefined;
125
125
  } | undefined;
126
126
  } | null;
127
127
  statusUpdates: {
@@ -177,15 +177,15 @@ declare const getSubAgentsForTeamAgent: (db: AgentsManageDatabaseClient) => (par
177
177
  models: {
178
178
  base?: {
179
179
  model?: string | undefined;
180
- providerOptions?: Record<string, any> | undefined;
180
+ providerOptions?: Record<string, unknown> | undefined;
181
181
  } | undefined;
182
182
  structuredOutput?: {
183
183
  model?: string | undefined;
184
- providerOptions?: Record<string, any> | undefined;
184
+ providerOptions?: Record<string, unknown> | undefined;
185
185
  } | undefined;
186
186
  summarizer?: {
187
187
  model?: string | undefined;
188
- providerOptions?: Record<string, any> | undefined;
188
+ providerOptions?: Record<string, unknown> | undefined;
189
189
  } | undefined;
190
190
  } | null;
191
191
  stopWhen: {
@@ -211,11 +211,11 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
211
211
  };
212
212
  }) => Promise<{
213
213
  id: string;
214
+ createdAt: string;
215
+ updatedAt: string;
214
216
  tenantId: string;
215
217
  projectId: string;
216
218
  agentId: string;
217
- createdAt: string;
218
- updatedAt: string;
219
219
  headers: Record<string, string> | null;
220
220
  subAgentId: string;
221
221
  targetAgentId: string;
@@ -228,11 +228,11 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
230
  id: string;
231
+ createdAt: string;
232
+ updatedAt: string;
231
233
  tenantId: string;
232
234
  projectId: string;
233
235
  agentId: string;
234
- createdAt: string;
235
- updatedAt: string;
236
236
  headers: Record<string, string> | null;
237
237
  subAgentId: string;
238
238
  targetAgentId: string;
@@ -249,11 +249,11 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
249
249
  };
250
250
  }) => Promise<{
251
251
  id: string;
252
+ createdAt: string;
253
+ updatedAt: string;
252
254
  tenantId: string;
253
255
  projectId: string;
254
256
  agentId: string;
255
- createdAt: string;
256
- updatedAt: string;
257
257
  headers: Record<string, string> | null;
258
258
  subAgentId: string;
259
259
  targetAgentId: string;
@@ -9,26 +9,21 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- id: string;
13
12
  name: string;
14
13
  description: string | null;
15
- tenantId: string;
16
- projectId: string;
17
- agentId: string;
18
- prompt: string | null;
19
- conversationHistoryConfig: ConversationHistoryConfig | null;
14
+ id: string;
20
15
  models: {
21
16
  base?: {
22
17
  model?: string | undefined;
23
- providerOptions?: Record<string, any> | undefined;
18
+ providerOptions?: Record<string, unknown> | undefined;
24
19
  } | undefined;
25
20
  structuredOutput?: {
26
21
  model?: string | undefined;
27
- providerOptions?: Record<string, any> | undefined;
22
+ providerOptions?: Record<string, unknown> | undefined;
28
23
  } | undefined;
29
24
  summarizer?: {
30
25
  model?: string | undefined;
31
- providerOptions?: Record<string, any> | undefined;
26
+ providerOptions?: Record<string, unknown> | undefined;
32
27
  } | undefined;
33
28
  } | null;
34
29
  stopWhen: {
@@ -36,30 +31,30 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
36
31
  } | null;
37
32
  createdAt: string;
38
33
  updatedAt: string;
34
+ tenantId: string;
35
+ projectId: string;
36
+ prompt: string | null;
37
+ agentId: string;
38
+ conversationHistoryConfig: ConversationHistoryConfig | null;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- id: string;
44
43
  name: string;
45
44
  description: string | null;
46
- tenantId: string;
47
- projectId: string;
48
- agentId: string;
49
- prompt: string | null;
50
- conversationHistoryConfig: ConversationHistoryConfig | null;
45
+ id: string;
51
46
  models: {
52
47
  base?: {
53
48
  model?: string | undefined;
54
- providerOptions?: Record<string, any> | undefined;
49
+ providerOptions?: Record<string, unknown> | undefined;
55
50
  } | undefined;
56
51
  structuredOutput?: {
57
52
  model?: string | undefined;
58
- providerOptions?: Record<string, any> | undefined;
53
+ providerOptions?: Record<string, unknown> | undefined;
59
54
  } | undefined;
60
55
  summarizer?: {
61
56
  model?: string | undefined;
62
- providerOptions?: Record<string, any> | undefined;
57
+ providerOptions?: Record<string, unknown> | undefined;
63
58
  } | undefined;
64
59
  } | null;
65
60
  stopWhen: {
@@ -67,6 +62,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
67
62
  } | null;
68
63
  createdAt: string;
69
64
  updatedAt: string;
65
+ tenantId: string;
66
+ projectId: string;
67
+ prompt: string | null;
68
+ agentId: string;
69
+ conversationHistoryConfig: ConversationHistoryConfig | null;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
72
72
  scopes: AgentScopeConfig;
@@ -80,15 +80,15 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
80
80
  models: {
81
81
  base?: {
82
82
  model?: string | undefined;
83
- providerOptions?: Record<string, any> | undefined;
83
+ providerOptions?: Record<string, unknown> | undefined;
84
84
  } | undefined;
85
85
  structuredOutput?: {
86
86
  model?: string | undefined;
87
- providerOptions?: Record<string, any> | undefined;
87
+ providerOptions?: Record<string, unknown> | undefined;
88
88
  } | undefined;
89
89
  summarizer?: {
90
90
  model?: string | undefined;
91
- providerOptions?: Record<string, any> | undefined;
91
+ providerOptions?: Record<string, unknown> | undefined;
92
92
  } | undefined;
93
93
  } | null;
94
94
  stopWhen: {
@@ -109,26 +109,21 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- id: string;
113
112
  name: string;
114
113
  description: string | null;
115
- tenantId: string;
116
- projectId: string;
117
- agentId: string;
118
- prompt: string | null;
119
- conversationHistoryConfig: ConversationHistoryConfig | null;
114
+ id: string;
120
115
  models: {
121
116
  base?: {
122
117
  model?: string | undefined;
123
- providerOptions?: Record<string, any> | undefined;
118
+ providerOptions?: Record<string, unknown> | undefined;
124
119
  } | undefined;
125
120
  structuredOutput?: {
126
121
  model?: string | undefined;
127
- providerOptions?: Record<string, any> | undefined;
122
+ providerOptions?: Record<string, unknown> | undefined;
128
123
  } | undefined;
129
124
  summarizer?: {
130
125
  model?: string | undefined;
131
- providerOptions?: Record<string, any> | undefined;
126
+ providerOptions?: Record<string, unknown> | undefined;
132
127
  } | undefined;
133
128
  } | null;
134
129
  stopWhen: {
@@ -136,6 +131,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
136
131
  } | null;
137
132
  createdAt: string;
138
133
  updatedAt: string;
134
+ tenantId: string;
135
+ projectId: string;
136
+ prompt: string | null;
137
+ agentId: string;
138
+ conversationHistoryConfig: ConversationHistoryConfig | null;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  scopes: AgentScopeConfig;
@@ -149,15 +149,15 @@ declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
149
149
  models: {
150
150
  base?: {
151
151
  model?: string | undefined;
152
- providerOptions?: Record<string, any> | undefined;
152
+ providerOptions?: Record<string, unknown> | undefined;
153
153
  } | undefined;
154
154
  structuredOutput?: {
155
155
  model?: string | undefined;
156
- providerOptions?: Record<string, any> | undefined;
156
+ providerOptions?: Record<string, unknown> | undefined;
157
157
  } | undefined;
158
158
  summarizer?: {
159
159
  model?: string | undefined;
160
- providerOptions?: Record<string, any> | undefined;
160
+ providerOptions?: Record<string, unknown> | undefined;
161
161
  } | undefined;
162
162
  } | null;
163
163
  stopWhen: {
@@ -196,15 +196,15 @@ declare const getSubAgentsByIds: (db: AgentsManageDatabaseClient) => (params: {
196
196
  models: {
197
197
  base?: {
198
198
  model?: string | undefined;
199
- providerOptions?: Record<string, any> | undefined;
199
+ providerOptions?: Record<string, unknown> | undefined;
200
200
  } | undefined;
201
201
  structuredOutput?: {
202
202
  model?: string | undefined;
203
- providerOptions?: Record<string, any> | undefined;
203
+ providerOptions?: Record<string, unknown> | undefined;
204
204
  } | undefined;
205
205
  summarizer?: {
206
206
  model?: string | undefined;
207
- providerOptions?: Record<string, any> | undefined;
207
+ providerOptions?: Record<string, unknown> | undefined;
208
208
  } | undefined;
209
209
  } | null;
210
210
  stopWhen: {