@inkeep/agents-core 0.60.0 → 0.62.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 (70) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/init.js +44 -0
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/auth/wait-for-spicedb.d.ts +1 -0
  6. package/dist/auth/wait-for-spicedb.js +51 -0
  7. package/dist/client-exports.d.ts +3 -106
  8. package/dist/client-exports.js +2 -60
  9. package/dist/data-access/index.d.ts +4 -3
  10. package/dist/data-access/index.js +4 -3
  11. package/dist/data-access/manage/agentFull.js +10 -5
  12. package/dist/data-access/manage/agents.d.ts +47 -41
  13. package/dist/data-access/manage/agents.js +2 -0
  14. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  15. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  16. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  17. package/dist/data-access/manage/functionTools.d.ts +14 -14
  18. package/dist/data-access/manage/projectFull.js +24 -3
  19. package/dist/data-access/manage/skills.d.ts +17 -17
  20. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +27 -27
  21. package/dist/data-access/manage/subAgentRelations.d.ts +25 -25
  22. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +30 -30
  23. package/dist/data-access/manage/subAgents.d.ts +30 -30
  24. package/dist/data-access/manage/tools.d.ts +27 -27
  25. package/dist/data-access/manage/triggers.d.ts +2 -2
  26. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  27. package/dist/data-access/runtime/apps.d.ts +54 -9
  28. package/dist/data-access/runtime/apps.js +15 -1
  29. package/dist/data-access/runtime/conversations.d.ts +25 -25
  30. package/dist/data-access/runtime/conversations.js +1 -0
  31. package/dist/data-access/runtime/ledgerArtifacts.d.ts +11 -2
  32. package/dist/data-access/runtime/ledgerArtifacts.js +12 -1
  33. package/dist/data-access/runtime/messages.d.ts +15 -15
  34. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  35. package/dist/data-access/runtime/tasks.d.ts +6 -6
  36. package/dist/data-access/runtime/workflowExecutions.d.ts +25 -0
  37. package/dist/data-access/runtime/workflowExecutions.js +32 -0
  38. package/dist/db/manage/manage-schema.d.ts +495 -475
  39. package/dist/db/manage/manage-schema.js +1 -0
  40. package/dist/db/runtime/runtime-schema.d.ts +550 -335
  41. package/dist/db/runtime/runtime-schema.js +16 -2
  42. package/dist/index.d.ts +11 -9
  43. package/dist/index.js +9 -7
  44. package/dist/types/entities.d.ts +5 -2
  45. package/dist/types/index.d.ts +3 -3
  46. package/dist/types/utility.d.ts +9 -3
  47. package/dist/utils/conversations.d.ts +4 -1
  48. package/dist/utils/conversations.js +10 -1
  49. package/dist/utils/error.d.ts +51 -51
  50. package/dist/utils/index.d.ts +4 -3
  51. package/dist/utils/index.js +4 -3
  52. package/dist/utils/jwt-helpers.d.ts +7 -1
  53. package/dist/utils/jwt-helpers.js +11 -1
  54. package/dist/utils/validate-public-key.d.ts +10 -0
  55. package/dist/utils/validate-public-key.js +89 -0
  56. package/dist/validation/agentFull.js +0 -1
  57. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  58. package/dist/validation/index.d.ts +2 -2
  59. package/dist/validation/index.js +2 -2
  60. package/dist/validation/schemas.d.ts +3468 -2708
  61. package/dist/validation/schemas.js +104 -36
  62. package/drizzle/manage/0013_gorgeous_umar.sql +1 -0
  63. package/drizzle/manage/meta/0013_snapshot.json +3704 -0
  64. package/drizzle/manage/meta/_journal.json +7 -0
  65. package/drizzle/runtime/0026_graceful_scorpion.sql +15 -0
  66. package/drizzle/runtime/0027_seed-playground-app.sql +13 -0
  67. package/drizzle/runtime/meta/{0025_snapshot.json → 0026_snapshot.json} +114 -1
  68. package/drizzle/runtime/meta/0027_snapshot.json +4389 -0
  69. package/drizzle/runtime/meta/_journal.json +14 -0
  70. package/package.json +1 -1
@@ -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;
12
+ headers: Record<string, string> | null;
15
13
  id: string;
16
14
  createdAt: string;
17
15
  updatedAt: string;
16
+ tenantId: string;
17
+ projectId: string;
18
+ subAgentId: string;
18
19
  agentId: string;
19
- headers: Record<string, string> | null;
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;
47
+ headers: Record<string, string> | null;
50
48
  id: string;
51
49
  createdAt: string;
52
50
  updatedAt: string;
51
+ tenantId: string;
52
+ projectId: string;
53
+ subAgentId: string;
53
54
  agentId: string;
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
- subAgentId: string;
60
+ headers: Record<string, string> | null;
63
61
  id: string;
64
62
  createdAt: string;
65
63
  updatedAt: string;
64
+ tenantId: string;
65
+ projectId: string;
66
+ subAgentId: string;
66
67
  agentId: string;
67
- headers: Record<string, string> | null;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -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: {
@@ -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;
183
+ headers: Record<string, string> | null;
186
184
  id: string;
187
185
  createdAt: string;
188
186
  updatedAt: string;
187
+ tenantId: string;
188
+ projectId: string;
189
+ subAgentId: string;
189
190
  agentId: string;
190
- headers: Record<string, string> | null;
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;
200
+ headers: Record<string, string> | null;
203
201
  id: string;
204
202
  createdAt: string;
205
203
  updatedAt: string;
204
+ tenantId: string;
205
+ projectId: string;
206
+ subAgentId: string;
206
207
  agentId: string;
207
- headers: Record<string, string> | null;
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;
221
+ headers: Record<string, string> | null;
224
222
  id: string;
225
223
  createdAt: string;
226
224
  updatedAt: string;
225
+ tenantId: string;
226
+ projectId: string;
227
+ subAgentId: string;
227
228
  agentId: string;
228
- headers: Record<string, string> | null;
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;
207
+ headers: Record<string, string> | null;
210
208
  id: string;
211
209
  createdAt: string;
212
210
  updatedAt: string;
211
+ tenantId: string;
212
+ projectId: string;
213
+ subAgentId: string;
213
214
  agentId: string;
214
- headers: Record<string, string> | null;
215
215
  toolId: string;
216
+ selectedTools: string[] | null;
216
217
  toolPolicies: Record<string, {
217
218
  needsApproval?: boolean;
218
219
  }> | 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;
251
+ headers: Record<string, string> | null;
254
252
  id: string;
255
253
  createdAt: string;
256
254
  updatedAt: string;
255
+ tenantId: string;
256
+ projectId: string;
257
+ subAgentId: string;
257
258
  agentId: string;
258
- headers: Record<string, string> | null;
259
259
  toolId: string;
260
+ selectedTools: string[] | null;
260
261
  toolPolicies: Record<string, {
261
262
  needsApproval?: boolean;
262
263
  }> | null;
263
- selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
266
266
  scopes: SubAgentScopeConfig;
@@ -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: {
@@ -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;
12
+ headers: Record<string, string> | null;
15
13
  id: string;
16
14
  createdAt: string;
17
15
  updatedAt: string;
16
+ tenantId: string;
17
+ projectId: string;
18
+ subAgentId: string;
18
19
  agentId: string;
19
- headers: Record<string, string> | null;
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;
47
+ headers: Record<string, string> | null;
50
48
  id: string;
51
49
  createdAt: string;
52
50
  updatedAt: string;
51
+ tenantId: string;
52
+ projectId: string;
53
+ subAgentId: string;
53
54
  agentId: string;
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
- subAgentId: string;
60
+ headers: Record<string, string> | null;
63
61
  id: string;
64
62
  createdAt: string;
65
63
  updatedAt: string;
64
+ tenantId: string;
65
+ projectId: string;
66
+ subAgentId: string;
66
67
  agentId: string;
67
- headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -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: {
@@ -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;
213
+ headers: Record<string, string> | null;
216
214
  id: string;
217
215
  createdAt: string;
218
216
  updatedAt: string;
217
+ tenantId: string;
218
+ projectId: string;
219
+ subAgentId: string;
219
220
  agentId: string;
220
- headers: Record<string, string> | null;
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;
230
+ headers: Record<string, string> | null;
233
231
  id: string;
234
232
  createdAt: string;
235
233
  updatedAt: string;
234
+ tenantId: string;
235
+ projectId: string;
236
+ subAgentId: string;
236
237
  agentId: string;
237
- headers: Record<string, string> | null;
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;
251
+ headers: Record<string, string> | null;
254
252
  id: string;
255
253
  createdAt: string;
256
254
  updatedAt: string;
255
+ tenantId: string;
256
+ projectId: string;
257
+ subAgentId: string;
257
258
  agentId: string;
258
- headers: Record<string, string> | null;
259
259
  targetAgentId: string;
260
260
  }>;
261
261
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,64 +9,64 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- description: string | null;
13
12
  name: string;
14
- tenantId: string;
15
- projectId: string;
16
13
  id: string;
17
14
  createdAt: string;
18
15
  updatedAt: string;
16
+ description: string | null;
17
+ tenantId: string;
18
+ projectId: string;
19
19
  models: {
20
20
  base?: {
21
21
  model?: string | undefined;
22
- providerOptions?: Record<string, any> | undefined;
22
+ providerOptions?: Record<string, unknown> | undefined;
23
23
  } | undefined;
24
24
  structuredOutput?: {
25
25
  model?: string | undefined;
26
- providerOptions?: Record<string, any> | undefined;
26
+ providerOptions?: Record<string, unknown> | undefined;
27
27
  } | undefined;
28
28
  summarizer?: {
29
29
  model?: string | undefined;
30
- providerOptions?: Record<string, any> | undefined;
30
+ providerOptions?: Record<string, unknown> | undefined;
31
31
  } | undefined;
32
32
  } | null;
33
33
  stopWhen: {
34
34
  stepCountIs?: number | undefined;
35
35
  } | null;
36
+ agentId: string;
36
37
  prompt: string | null;
37
38
  conversationHistoryConfig: ConversationHistoryConfig | null;
38
- agentId: string;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- description: string | null;
44
43
  name: string;
45
- tenantId: string;
46
- projectId: string;
47
44
  id: string;
48
45
  createdAt: string;
49
46
  updatedAt: string;
47
+ description: string | null;
48
+ tenantId: string;
49
+ projectId: string;
50
50
  models: {
51
51
  base?: {
52
52
  model?: string | undefined;
53
- providerOptions?: Record<string, any> | undefined;
53
+ providerOptions?: Record<string, unknown> | undefined;
54
54
  } | undefined;
55
55
  structuredOutput?: {
56
56
  model?: string | undefined;
57
- providerOptions?: Record<string, any> | undefined;
57
+ providerOptions?: Record<string, unknown> | undefined;
58
58
  } | undefined;
59
59
  summarizer?: {
60
60
  model?: string | undefined;
61
- providerOptions?: Record<string, any> | undefined;
61
+ providerOptions?: Record<string, unknown> | undefined;
62
62
  } | undefined;
63
63
  } | null;
64
64
  stopWhen: {
65
65
  stepCountIs?: number | undefined;
66
66
  } | null;
67
+ agentId: string;
67
68
  prompt: string | null;
68
69
  conversationHistoryConfig: ConversationHistoryConfig | null;
69
- agentId: string;
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,33 +109,33 @@ 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
112
  name: string;
114
- tenantId: string;
115
- projectId: string;
116
113
  id: string;
117
114
  createdAt: string;
118
115
  updatedAt: string;
116
+ description: string | null;
117
+ tenantId: string;
118
+ projectId: string;
119
119
  models: {
120
120
  base?: {
121
121
  model?: string | undefined;
122
- providerOptions?: Record<string, any> | undefined;
122
+ providerOptions?: Record<string, unknown> | undefined;
123
123
  } | undefined;
124
124
  structuredOutput?: {
125
125
  model?: string | undefined;
126
- providerOptions?: Record<string, any> | undefined;
126
+ providerOptions?: Record<string, unknown> | undefined;
127
127
  } | undefined;
128
128
  summarizer?: {
129
129
  model?: string | undefined;
130
- providerOptions?: Record<string, any> | undefined;
130
+ providerOptions?: Record<string, unknown> | undefined;
131
131
  } | undefined;
132
132
  } | null;
133
133
  stopWhen: {
134
134
  stepCountIs?: number | undefined;
135
135
  } | null;
136
+ agentId: string;
136
137
  prompt: string | null;
137
138
  conversationHistoryConfig: ConversationHistoryConfig | null;
138
- agentId: string;
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: {