@inkeep/agents-core 0.0.0-dev-20260331152429 → 0.0.0-dev-20260331180551

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 (41) 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/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +2 -1
  6. package/dist/client-exports.js +2 -1
  7. package/dist/constants/models.d.ts +2 -1
  8. package/dist/constants/models.js +6 -1
  9. package/dist/constants/otel-attributes.d.ts +2 -0
  10. package/dist/constants/otel-attributes.js +2 -0
  11. package/dist/data-access/manage/agents.d.ts +79 -37
  12. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  13. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  14. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  15. package/dist/data-access/manage/functionTools.d.ts +14 -14
  16. package/dist/data-access/manage/skills.d.ts +11 -11
  17. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -12
  18. package/dist/data-access/manage/subAgentRelations.d.ts +32 -26
  19. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -12
  20. package/dist/data-access/manage/subAgents.d.ts +51 -15
  21. package/dist/data-access/manage/tools.d.ts +24 -24
  22. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  23. package/dist/data-access/runtime/apps.d.ts +6 -6
  24. package/dist/data-access/runtime/conversations.d.ts +24 -24
  25. package/dist/data-access/runtime/messages.d.ts +9 -9
  26. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  27. package/dist/data-access/runtime/tasks.d.ts +5 -5
  28. package/dist/db/manage/manage-schema.d.ts +468 -424
  29. package/dist/db/runtime/runtime-schema.d.ts +378 -378
  30. package/dist/index.d.ts +3 -3
  31. package/dist/index.js +3 -3
  32. package/dist/utils/index.d.ts +2 -2
  33. package/dist/utils/index.js +2 -2
  34. package/dist/utils/model-factory.js +24 -9
  35. package/dist/utils/usage-cost-middleware.d.ts +2 -1
  36. package/dist/utils/usage-cost-middleware.js +22 -5
  37. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  38. package/dist/validation/schemas/skills.d.ts +39 -39
  39. package/dist/validation/schemas.d.ts +1412 -540
  40. package/dist/validation/schemas.js +3 -1
  41. package/package.json +1 -1
@@ -10,12 +10,12 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
10
10
  id: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- name: string;
14
13
  createdAt: string;
14
+ name: string;
15
15
  updatedAt: string;
16
- description: string | null;
17
- tenantId: string;
18
16
  projectId: string;
17
+ tenantId: string;
18
+ description: string | null;
19
19
  props: {
20
20
  [x: string]: unknown;
21
21
  type: "object";
@@ -66,12 +66,12 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
68
  id: string;
69
- name: string;
70
69
  createdAt: string;
70
+ name: string;
71
71
  updatedAt: string;
72
- description: string | null;
73
- tenantId: string;
74
72
  projectId: string;
73
+ tenantId: string;
74
+ description: string | null;
75
75
  props: {
76
76
  [x: string]: unknown;
77
77
  type: "object";
@@ -143,10 +143,10 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
143
143
  }) => Promise<{
144
144
  id: string;
145
145
  createdAt: string;
146
- tenantId: string;
146
+ agentId: string;
147
147
  projectId: string;
148
+ tenantId: string;
148
149
  subAgentId: string;
149
- agentId: string;
150
150
  artifactComponentId: string;
151
151
  }>;
152
152
  declare const removeArtifactComponentFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -186,10 +186,10 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
186
186
  }) => Promise<{
187
187
  id: string;
188
188
  createdAt: string;
189
- tenantId: string;
189
+ agentId: string;
190
190
  projectId: string;
191
+ tenantId: string;
191
192
  subAgentId: string;
192
- agentId: string;
193
193
  artifactComponentId: string;
194
194
  } | null>;
195
195
  /**
@@ -10,25 +10,25 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
10
10
  id: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- createdAt: string;
14
- updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
13
  headersSchema: unknown;
18
14
  contextVariables: Record<string, ContextFetchDefinition> | null;
15
+ createdAt: string;
16
+ updatedAt: string;
19
17
  agentId: string;
18
+ projectId: string;
19
+ tenantId: string;
20
20
  } | undefined>;
21
21
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
23
23
  }) => Promise<{
24
24
  id: string;
25
- createdAt: string;
26
- updatedAt: string;
27
- tenantId: string;
28
- projectId: string;
29
25
  headersSchema: unknown;
30
26
  contextVariables: Record<string, ContextFetchDefinition> | null;
27
+ createdAt: string;
28
+ updatedAt: string;
31
29
  agentId: string;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  }[]>;
33
33
  declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (params: {
34
34
  scopes: AgentScopeConfig;
@@ -44,13 +44,13 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
44
44
  }>;
45
45
  declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
46
46
  id: string;
47
- createdAt: string;
48
- updatedAt: string;
49
- tenantId: string;
50
- projectId: string;
51
47
  headersSchema: unknown;
52
48
  contextVariables: Record<string, ContextFetchDefinition> | null;
49
+ createdAt: string;
50
+ updatedAt: string;
53
51
  agentId: string;
52
+ projectId: string;
53
+ tenantId: string;
54
54
  }>;
55
55
  declare const updateContextConfig: (db: AgentsManageDatabaseClient) => (params: {
56
56
  scopes: AgentScopeConfig;
@@ -84,13 +84,13 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
84
84
  data: ContextConfigInsert;
85
85
  }) => Promise<{
86
86
  id: string;
87
- createdAt: string;
88
- updatedAt: string;
89
- tenantId: string;
90
- projectId: string;
91
87
  headersSchema: unknown;
92
88
  contextVariables: Record<string, ContextFetchDefinition> | null;
89
+ createdAt: string;
90
+ updatedAt: string;
93
91
  agentId: string;
92
+ projectId: string;
93
+ tenantId: string;
94
94
  }>;
95
95
  //#endregion
96
96
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -67,10 +67,10 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
67
67
  }) => Promise<{
68
68
  id: string;
69
69
  createdAt: string;
70
- tenantId: string;
70
+ agentId: string;
71
71
  projectId: string;
72
+ tenantId: string;
72
73
  subAgentId: string;
73
- agentId: string;
74
74
  dataComponentId: string;
75
75
  }>;
76
76
  /**
@@ -109,10 +109,10 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
109
109
  }) => Promise<{
110
110
  id: string;
111
111
  createdAt: string;
112
- tenantId: string;
112
+ agentId: string;
113
113
  projectId: string;
114
+ tenantId: string;
114
115
  subAgentId: string;
115
- agentId: string;
116
116
  dataComponentId: string;
117
117
  } | null>;
118
118
  /**
@@ -54,13 +54,13 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
56
  id: string;
57
- name: string;
58
57
  createdAt: string;
58
+ name: 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
  /**
@@ -96,13 +96,13 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
98
  id: string;
99
- name: string;
100
99
  createdAt: string;
100
+ name: 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: {
@@ -160,14 +160,14 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
160
160
  id: string;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
- tenantId: string;
163
+ agentId: string;
164
164
  projectId: string;
165
+ tenantId: string;
165
166
  subAgentId: string;
166
- agentId: string;
167
- functionToolId: string;
168
167
  toolPolicies: Record<string, {
169
168
  needsApproval?: boolean;
170
169
  }> | null;
170
+ functionToolId: string;
171
171
  }>;
172
172
  /**
173
173
  * Update an agent-function tool relation
@@ -225,14 +225,14 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
225
225
  id: string;
226
226
  createdAt: string;
227
227
  updatedAt: string;
228
- tenantId: string;
228
+ agentId: string;
229
229
  projectId: string;
230
+ tenantId: string;
230
231
  subAgentId: string;
231
- agentId: string;
232
- functionToolId: string;
233
232
  toolPolicies: Record<string, {
234
233
  needsApproval?: boolean;
235
234
  }> | null;
235
+ functionToolId: string;
236
236
  }>;
237
237
  //#endregion
238
238
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -16,14 +16,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
16
16
  skillId: string;
17
17
  }) => Promise<{
18
18
  id: string;
19
- name: string;
20
19
  createdAt: string;
20
+ name: string;
21
21
  updatedAt: string;
22
- metadata: Record<string, string> | null;
22
+ projectId: string;
23
+ tenantId: string;
23
24
  description: string;
25
+ metadata: Record<string, string> | null;
24
26
  content: string;
25
- tenantId: string;
26
- projectId: string;
27
27
  } | null>;
28
28
  declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
29
29
  scopes: ProjectScopeConfig;
@@ -111,14 +111,14 @@ interface WithTenantIdProjectId {
111
111
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<SkillRecordWithFiles>;
112
112
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
113
113
  id: string;
114
- name: string;
115
114
  createdAt: string;
115
+ name: string;
116
116
  updatedAt: string;
117
- metadata: Record<string, string> | null;
117
+ projectId: string;
118
+ tenantId: string;
118
119
  description: string;
120
+ metadata: Record<string, string> | null;
119
121
  content: string;
120
- tenantId: string;
121
- projectId: string;
122
122
  }>;
123
123
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
124
124
  scopes: ProjectScopeConfig;
@@ -142,13 +142,13 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
142
142
  id: string;
143
143
  createdAt: string;
144
144
  updatedAt: string;
145
- tenantId: string;
145
+ agentId: string;
146
146
  projectId: string;
147
+ tenantId: string;
148
+ skillId: string;
147
149
  subAgentId: string;
148
- agentId: string;
149
150
  index: number;
150
151
  alwaysLoaded: boolean;
151
- skillId: string;
152
152
  }>;
153
153
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
154
154
  scopes: AgentScopeConfig;
@@ -12,10 +12,10 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- tenantId: string;
15
+ agentId: string;
16
16
  projectId: string;
17
+ tenantId: string;
17
18
  subAgentId: string;
18
- agentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
@@ -47,10 +47,10 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
- tenantId: string;
50
+ agentId: string;
51
51
  projectId: string;
52
+ tenantId: string;
52
53
  subAgentId: string;
53
- agentId: string;
54
54
  headers: Record<string, string> | null;
55
55
  externalAgentId: string;
56
56
  }[]>;
@@ -60,10 +60,10 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
- tenantId: string;
63
+ agentId: string;
64
64
  projectId: string;
65
+ tenantId: string;
65
66
  subAgentId: string;
66
- agentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  externalAgentId: string;
69
69
  }[]>;
@@ -148,14 +148,20 @@ declare const getSubAgentsForExternalAgent: (db: AgentsManageDatabaseClient) =>
148
148
  base?: {
149
149
  model?: string | undefined;
150
150
  providerOptions?: Record<string, unknown> | undefined;
151
+ fallbackModels?: string[] | undefined;
152
+ allowedProviders?: string[] | undefined;
151
153
  } | undefined;
152
154
  structuredOutput?: {
153
155
  model?: string | undefined;
154
156
  providerOptions?: Record<string, unknown> | undefined;
157
+ fallbackModels?: string[] | undefined;
158
+ allowedProviders?: string[] | undefined;
155
159
  } | undefined;
156
160
  summarizer?: {
157
161
  model?: string | undefined;
158
162
  providerOptions?: Record<string, unknown> | undefined;
163
+ fallbackModels?: string[] | undefined;
164
+ allowedProviders?: string[] | undefined;
159
165
  } | undefined;
160
166
  } | null;
161
167
  stopWhen: {
@@ -183,10 +189,10 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
183
189
  id: string;
184
190
  createdAt: string;
185
191
  updatedAt: string;
186
- tenantId: string;
192
+ agentId: string;
187
193
  projectId: string;
194
+ tenantId: string;
188
195
  subAgentId: string;
189
- agentId: string;
190
196
  headers: Record<string, string> | null;
191
197
  externalAgentId: string;
192
198
  }>;
@@ -200,10 +206,10 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
200
206
  id: string;
201
207
  createdAt: string;
202
208
  updatedAt: string;
203
- tenantId: string;
209
+ agentId: string;
204
210
  projectId: string;
211
+ tenantId: string;
205
212
  subAgentId: string;
206
- agentId: string;
207
213
  headers: Record<string, string> | null;
208
214
  externalAgentId: string;
209
215
  } | undefined>;
@@ -221,10 +227,10 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
221
227
  id: string;
222
228
  createdAt: string;
223
229
  updatedAt: string;
224
- tenantId: string;
230
+ agentId: string;
225
231
  projectId: string;
232
+ tenantId: string;
226
233
  subAgentId: string;
227
- agentId: string;
228
234
  headers: Record<string, string> | null;
229
235
  externalAgentId: string;
230
236
  }>;
@@ -12,12 +12,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
15
  agentId: string;
18
- relationType: string | null;
16
+ projectId: string;
17
+ tenantId: string;
19
18
  sourceSubAgentId: string;
20
19
  targetSubAgentId: string | null;
20
+ relationType: string | null;
21
21
  } | undefined>;
22
22
  declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
23
23
  scopes: AgentScopeConfig;
@@ -47,12 +47,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
- tenantId: string;
51
- projectId: string;
52
50
  agentId: string;
53
- relationType: string | null;
51
+ projectId: string;
52
+ tenantId: string;
54
53
  sourceSubAgentId: string;
55
54
  targetSubAgentId: string | null;
55
+ relationType: string | null;
56
56
  }[]>;
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
@@ -60,12 +60,12 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
- tenantId: string;
64
- projectId: string;
65
63
  agentId: string;
66
- relationType: string | null;
64
+ projectId: string;
65
+ tenantId: string;
67
66
  sourceSubAgentId: string;
68
67
  targetSubAgentId: string | null;
68
+ relationType: string | null;
69
69
  }[]>;
70
70
  declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -129,12 +129,12 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
129
129
  id: string;
130
130
  createdAt: string;
131
131
  updatedAt: string;
132
- tenantId: string;
133
- projectId: string;
134
132
  agentId: string;
135
- relationType: string | null;
133
+ projectId: string;
134
+ tenantId: string;
136
135
  sourceSubAgentId: string;
137
136
  targetSubAgentId: string | null;
137
+ relationType: string | null;
138
138
  }>;
139
139
  /**
140
140
  * Check if sub-agent relation exists by agent, source, target, and relation type
@@ -148,12 +148,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
148
148
  id: string;
149
149
  createdAt: string;
150
150
  updatedAt: string;
151
- tenantId: string;
152
- projectId: string;
153
151
  agentId: string;
154
- relationType: string | null;
152
+ projectId: string;
153
+ tenantId: string;
155
154
  sourceSubAgentId: string;
156
155
  targetSubAgentId: string | null;
156
+ relationType: string | null;
157
157
  } | undefined>;
158
158
  /**
159
159
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
@@ -162,12 +162,12 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
162
162
  id: string;
163
163
  createdAt: string;
164
164
  updatedAt: string;
165
- tenantId: string;
166
- projectId: string;
167
165
  agentId: string;
168
- relationType: string | null;
166
+ projectId: string;
167
+ tenantId: string;
169
168
  sourceSubAgentId: string;
170
169
  targetSubAgentId: string | null;
170
+ relationType: string | null;
171
171
  }>;
172
172
  declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
173
173
  scopes: AgentScopeConfig;
@@ -207,16 +207,16 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
207
207
  id: string;
208
208
  createdAt: string;
209
209
  updatedAt: string;
210
- tenantId: string;
210
+ agentId: string;
211
211
  projectId: string;
212
+ tenantId: string;
212
213
  subAgentId: string;
213
- agentId: string;
214
- headers: Record<string, string> | null;
215
214
  toolId: string;
215
+ headers: Record<string, string> | null;
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;
@@ -251,16 +251,16 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
251
251
  id: string;
252
252
  createdAt: string;
253
253
  updatedAt: string;
254
- tenantId: string;
254
+ agentId: string;
255
255
  projectId: string;
256
+ tenantId: string;
256
257
  subAgentId: string;
257
- agentId: string;
258
- headers: Record<string, string> | null;
259
258
  toolId: string;
259
+ headers: Record<string, string> | null;
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;
@@ -411,14 +411,20 @@ declare const getAgentsForTool: (db: AgentsManageDatabaseClient) => (params: {
411
411
  base?: {
412
412
  model?: string | undefined;
413
413
  providerOptions?: Record<string, unknown> | undefined;
414
+ fallbackModels?: string[] | undefined;
415
+ allowedProviders?: string[] | undefined;
414
416
  } | undefined;
415
417
  structuredOutput?: {
416
418
  model?: string | undefined;
417
419
  providerOptions?: Record<string, unknown> | undefined;
420
+ fallbackModels?: string[] | undefined;
421
+ allowedProviders?: string[] | undefined;
418
422
  } | undefined;
419
423
  summarizer?: {
420
424
  model?: string | undefined;
421
425
  providerOptions?: Record<string, unknown> | undefined;
426
+ fallbackModels?: string[] | undefined;
427
+ allowedProviders?: string[] | undefined;
422
428
  } | undefined;
423
429
  } | null;
424
430
  stopWhen: {
@@ -12,10 +12,10 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- tenantId: string;
15
+ agentId: string;
16
16
  projectId: string;
17
+ tenantId: string;
17
18
  subAgentId: string;
18
- agentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
@@ -47,10 +47,10 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
- tenantId: string;
50
+ agentId: string;
51
51
  projectId: string;
52
+ tenantId: string;
52
53
  subAgentId: string;
53
- agentId: string;
54
54
  headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
@@ -60,10 +60,10 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
- tenantId: string;
63
+ agentId: string;
64
64
  projectId: string;
65
+ tenantId: string;
65
66
  subAgentId: string;
66
- agentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
@@ -114,14 +114,20 @@ declare const getTeamAgentsForSubAgent: (db: AgentsManageDatabaseClient) => (par
114
114
  base?: {
115
115
  model?: string | undefined;
116
116
  providerOptions?: Record<string, unknown> | undefined;
117
+ fallbackModels?: string[] | undefined;
118
+ allowedProviders?: string[] | undefined;
117
119
  } | undefined;
118
120
  structuredOutput?: {
119
121
  model?: string | undefined;
120
122
  providerOptions?: Record<string, unknown> | undefined;
123
+ fallbackModels?: string[] | undefined;
124
+ allowedProviders?: string[] | undefined;
121
125
  } | undefined;
122
126
  summarizer?: {
123
127
  model?: string | undefined;
124
128
  providerOptions?: Record<string, unknown> | undefined;
129
+ fallbackModels?: string[] | undefined;
130
+ allowedProviders?: string[] | undefined;
125
131
  } | undefined;
126
132
  } | null;
127
133
  statusUpdates: {
@@ -178,14 +184,20 @@ declare const getSubAgentsForTeamAgent: (db: AgentsManageDatabaseClient) => (par
178
184
  base?: {
179
185
  model?: string | undefined;
180
186
  providerOptions?: Record<string, unknown> | undefined;
187
+ fallbackModels?: string[] | undefined;
188
+ allowedProviders?: string[] | undefined;
181
189
  } | undefined;
182
190
  structuredOutput?: {
183
191
  model?: string | undefined;
184
192
  providerOptions?: Record<string, unknown> | undefined;
193
+ fallbackModels?: string[] | undefined;
194
+ allowedProviders?: string[] | undefined;
185
195
  } | undefined;
186
196
  summarizer?: {
187
197
  model?: string | undefined;
188
198
  providerOptions?: Record<string, unknown> | undefined;
199
+ fallbackModels?: string[] | undefined;
200
+ allowedProviders?: string[] | undefined;
189
201
  } | undefined;
190
202
  } | null;
191
203
  stopWhen: {
@@ -213,10 +225,10 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
213
225
  id: string;
214
226
  createdAt: string;
215
227
  updatedAt: string;
216
- tenantId: string;
228
+ agentId: string;
217
229
  projectId: string;
230
+ tenantId: string;
218
231
  subAgentId: string;
219
- agentId: string;
220
232
  headers: Record<string, string> | null;
221
233
  targetAgentId: string;
222
234
  }>;
@@ -230,10 +242,10 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
230
242
  id: string;
231
243
  createdAt: string;
232
244
  updatedAt: string;
233
- tenantId: string;
245
+ agentId: string;
234
246
  projectId: string;
247
+ tenantId: string;
235
248
  subAgentId: string;
236
- agentId: string;
237
249
  headers: Record<string, string> | null;
238
250
  targetAgentId: string;
239
251
  } | undefined>;
@@ -251,10 +263,10 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
251
263
  id: string;
252
264
  createdAt: string;
253
265
  updatedAt: string;
254
- tenantId: string;
266
+ agentId: string;
255
267
  projectId: string;
268
+ tenantId: string;
256
269
  subAgentId: string;
257
- agentId: string;
258
270
  headers: Record<string, string> | null;
259
271
  targetAgentId: string;
260
272
  }>;