@inkeep/agents-core 0.0.0-dev-20260326201814 → 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 (34) 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/permissions.d.ts +9 -9
  4. package/dist/client-exports.d.ts +3 -106
  5. package/dist/client-exports.js +2 -60
  6. package/dist/data-access/manage/agents.d.ts +46 -46
  7. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  8. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  9. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  10. package/dist/data-access/manage/functionTools.d.ts +10 -10
  11. package/dist/data-access/manage/skills.d.ts +15 -15
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +21 -21
  13. package/dist/data-access/manage/subAgentRelations.d.ts +17 -17
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgents.d.ts +33 -33
  16. package/dist/data-access/manage/tools.d.ts +27 -27
  17. package/dist/data-access/manage/triggers.d.ts +2 -2
  18. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  19. package/dist/data-access/runtime/apps.d.ts +8 -8
  20. package/dist/data-access/runtime/conversations.d.ts +24 -24
  21. package/dist/data-access/runtime/messages.d.ts +18 -18
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  23. package/dist/data-access/runtime/tasks.d.ts +6 -6
  24. package/dist/db/manage/manage-schema.d.ts +384 -384
  25. package/dist/db/runtime/runtime-schema.d.ts +314 -314
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +2 -2
  28. package/dist/validation/agentFull.js +0 -1
  29. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  30. package/dist/validation/index.d.ts +2 -2
  31. package/dist/validation/index.js +2 -2
  32. package/dist/validation/schemas.d.ts +2881 -2683
  33. package/dist/validation/schemas.js +53 -32
  34. package/package.json +1 -1
@@ -10,29 +10,30 @@ import { PgColumn } from "drizzle-orm/pg-core";
10
10
  declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  scopes: AgentScopeConfig;
12
12
  }) => Promise<{
13
- tenantId: string;
14
- id: string;
15
13
  name: string;
16
- createdAt: string;
17
- updatedAt: string;
18
14
  description: string | null;
15
+ id: string;
19
16
  models: {
20
17
  base?: {
21
18
  model?: string | undefined;
22
- providerOptions?: Record<string, any> | undefined;
19
+ providerOptions?: Record<string, unknown> | undefined;
23
20
  } | undefined;
24
21
  structuredOutput?: {
25
22
  model?: string | undefined;
26
- providerOptions?: Record<string, any> | undefined;
23
+ providerOptions?: Record<string, unknown> | undefined;
27
24
  } | undefined;
28
25
  summarizer?: {
29
26
  model?: string | undefined;
30
- providerOptions?: Record<string, any> | undefined;
27
+ providerOptions?: Record<string, unknown> | undefined;
31
28
  } | undefined;
32
29
  } | null;
33
30
  stopWhen: {
34
31
  transferCountIs?: number | undefined;
35
32
  } | null;
33
+ createdAt: string;
34
+ updatedAt: string;
35
+ tenantId: string;
36
+ projectId: string;
36
37
  defaultSubAgentId: string | null;
37
38
  contextConfigId: string | null;
38
39
  prompt: string | null;
@@ -52,34 +53,34 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
52
53
  }[] | undefined;
53
54
  } | null;
54
55
  executionMode: "classic" | "durable";
55
- projectId: string;
56
56
  } | null>;
57
57
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- tenantId: string;
61
- id: string;
62
60
  name: string;
63
- createdAt: string;
64
- updatedAt: string;
65
61
  description: string | null;
62
+ id: string;
66
63
  models: {
67
64
  base?: {
68
65
  model?: string | undefined;
69
- providerOptions?: Record<string, any> | undefined;
66
+ providerOptions?: Record<string, unknown> | undefined;
70
67
  } | undefined;
71
68
  structuredOutput?: {
72
69
  model?: string | undefined;
73
- providerOptions?: Record<string, any> | undefined;
70
+ providerOptions?: Record<string, unknown> | undefined;
74
71
  } | undefined;
75
72
  summarizer?: {
76
73
  model?: string | undefined;
77
- providerOptions?: Record<string, any> | undefined;
74
+ providerOptions?: Record<string, unknown> | undefined;
78
75
  } | undefined;
79
76
  } | null;
80
77
  stopWhen: {
81
78
  transferCountIs?: number | undefined;
82
79
  } | null;
80
+ createdAt: string;
81
+ updatedAt: string;
82
+ tenantId: string;
83
+ projectId: string;
83
84
  defaultSubAgentId: string | null;
84
85
  contextConfigId: string | null;
85
86
  prompt: string | null;
@@ -99,33 +100,32 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
99
100
  }[] | undefined;
100
101
  } | null;
101
102
  executionMode: "classic" | "durable";
102
- projectId: string;
103
103
  defaultSubAgent: {
104
- tenantId: string;
105
- id: string;
106
104
  name: string;
107
- createdAt: string;
108
- updatedAt: string;
109
105
  description: string | null;
106
+ id: string;
110
107
  models: {
111
108
  base?: {
112
109
  model?: string | undefined;
113
- providerOptions?: Record<string, any> | undefined;
110
+ providerOptions?: Record<string, unknown> | undefined;
114
111
  } | undefined;
115
112
  structuredOutput?: {
116
113
  model?: string | undefined;
117
- providerOptions?: Record<string, any> | undefined;
114
+ providerOptions?: Record<string, unknown> | undefined;
118
115
  } | undefined;
119
116
  summarizer?: {
120
117
  model?: string | undefined;
121
- providerOptions?: Record<string, any> | undefined;
118
+ providerOptions?: Record<string, unknown> | undefined;
122
119
  } | undefined;
123
120
  } | null;
124
121
  stopWhen: {
125
122
  stepCountIs?: number | undefined;
126
123
  } | null;
127
- prompt: string | null;
124
+ createdAt: string;
125
+ updatedAt: string;
126
+ tenantId: string;
128
127
  projectId: string;
128
+ prompt: string | null;
129
129
  agentId: string;
130
130
  conversationHistoryConfig: ConversationHistoryConfig | null;
131
131
  } | null;
@@ -133,29 +133,30 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
133
133
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
134
134
  scopes: ProjectScopeConfig;
135
135
  }) => Promise<{
136
- tenantId: string;
137
- id: string;
138
136
  name: string;
139
- createdAt: string;
140
- updatedAt: string;
141
137
  description: string | null;
138
+ id: string;
142
139
  models: {
143
140
  base?: {
144
141
  model?: string | undefined;
145
- providerOptions?: Record<string, any> | undefined;
142
+ providerOptions?: Record<string, unknown> | undefined;
146
143
  } | undefined;
147
144
  structuredOutput?: {
148
145
  model?: string | undefined;
149
- providerOptions?: Record<string, any> | undefined;
146
+ providerOptions?: Record<string, unknown> | undefined;
150
147
  } | undefined;
151
148
  summarizer?: {
152
149
  model?: string | undefined;
153
- providerOptions?: Record<string, any> | undefined;
150
+ providerOptions?: Record<string, unknown> | undefined;
154
151
  } | undefined;
155
152
  } | null;
156
153
  stopWhen: {
157
154
  transferCountIs?: number | undefined;
158
155
  } | null;
156
+ createdAt: string;
157
+ updatedAt: string;
158
+ tenantId: string;
159
+ projectId: string;
159
160
  defaultSubAgentId: string | null;
160
161
  contextConfigId: string | null;
161
162
  prompt: string | null;
@@ -175,7 +176,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
175
176
  }[] | undefined;
176
177
  } | null;
177
178
  executionMode: "classic" | "durable";
178
- projectId: string;
179
179
  }[]>;
180
180
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
181
181
  scopes: ProjectScopeConfig;
@@ -189,15 +189,15 @@ declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params:
189
189
  models: {
190
190
  base?: {
191
191
  model?: string | undefined;
192
- providerOptions?: Record<string, any> | undefined;
192
+ providerOptions?: Record<string, unknown> | undefined;
193
193
  } | undefined;
194
194
  structuredOutput?: {
195
195
  model?: string | undefined;
196
- providerOptions?: Record<string, any> | undefined;
196
+ providerOptions?: Record<string, unknown> | undefined;
197
197
  } | undefined;
198
198
  summarizer?: {
199
199
  model?: string | undefined;
200
- providerOptions?: Record<string, any> | undefined;
200
+ providerOptions?: Record<string, unknown> | undefined;
201
201
  } | undefined;
202
202
  } | null;
203
203
  statusUpdates: {
@@ -251,29 +251,30 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
251
251
  projectIds: string[];
252
252
  }): Promise<AvailableAgentInfo[]>;
253
253
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
254
- tenantId: string;
255
- id: string;
256
254
  name: string;
257
- createdAt: string;
258
- updatedAt: string;
259
255
  description: string | null;
256
+ id: string;
260
257
  models: {
261
258
  base?: {
262
259
  model?: string | undefined;
263
- providerOptions?: Record<string, any> | undefined;
260
+ providerOptions?: Record<string, unknown> | undefined;
264
261
  } | undefined;
265
262
  structuredOutput?: {
266
263
  model?: string | undefined;
267
- providerOptions?: Record<string, any> | undefined;
264
+ providerOptions?: Record<string, unknown> | undefined;
268
265
  } | undefined;
269
266
  summarizer?: {
270
267
  model?: string | undefined;
271
- providerOptions?: Record<string, any> | undefined;
268
+ providerOptions?: Record<string, unknown> | undefined;
272
269
  } | undefined;
273
270
  } | null;
274
271
  stopWhen: {
275
272
  transferCountIs?: number | undefined;
276
273
  } | null;
274
+ createdAt: string;
275
+ updatedAt: string;
276
+ tenantId: string;
277
+ projectId: string;
277
278
  defaultSubAgentId: string | null;
278
279
  contextConfigId: string | null;
279
280
  prompt: string | null;
@@ -293,7 +294,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
293
294
  }[] | undefined;
294
295
  } | null;
295
296
  executionMode: "classic" | "durable";
296
- projectId: string;
297
297
  }>;
298
298
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
299
299
  scopes: AgentScopeConfig;
@@ -306,15 +306,15 @@ declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
306
306
  models: {
307
307
  base?: {
308
308
  model?: string | undefined;
309
- providerOptions?: Record<string, any> | undefined;
309
+ providerOptions?: Record<string, unknown> | undefined;
310
310
  } | undefined;
311
311
  structuredOutput?: {
312
312
  model?: string | undefined;
313
- providerOptions?: Record<string, any> | undefined;
313
+ providerOptions?: Record<string, unknown> | undefined;
314
314
  } | undefined;
315
315
  summarizer?: {
316
316
  model?: string | undefined;
317
- providerOptions?: Record<string, any> | undefined;
317
+ providerOptions?: Record<string, unknown> | undefined;
318
318
  } | undefined;
319
319
  } | null;
320
320
  statusUpdates: {
@@ -9,12 +9,12 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
- id: string;
14
12
  name: string;
13
+ description: string | null;
14
+ id: string;
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
- description: string | null;
17
+ tenantId: string;
18
18
  projectId: string;
19
19
  props: {
20
20
  [x: string]: unknown;
@@ -65,12 +65,12 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
65
65
  };
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
- tenantId: string;
69
- id: string;
70
68
  name: string;
69
+ description: string | null;
70
+ id: string;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- description: string | null;
73
+ tenantId: string;
74
74
  projectId: string;
75
75
  props: {
76
76
  [x: string]: unknown;
@@ -141,9 +141,9 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
141
141
  scopes: SubAgentScopeConfig;
142
142
  artifactComponentId: string;
143
143
  }) => Promise<{
144
- tenantId: string;
145
144
  id: string;
146
145
  createdAt: string;
146
+ tenantId: string;
147
147
  projectId: string;
148
148
  agentId: string;
149
149
  subAgentId: string;
@@ -184,9 +184,9 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
184
184
  scopes: SubAgentScopeConfig;
185
185
  artifactComponentId: string;
186
186
  }) => Promise<{
187
- tenantId: string;
188
187
  id: string;
189
188
  createdAt: string;
189
+ tenantId: string;
190
190
  projectId: string;
191
191
  agentId: string;
192
192
  subAgentId: string;
@@ -9,26 +9,26 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
12
  id: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
15
+ tenantId: string;
16
16
  projectId: string;
17
+ agentId: string;
17
18
  headersSchema: unknown;
18
19
  contextVariables: Record<string, ContextFetchDefinition> | null;
19
- agentId: string;
20
20
  } | undefined>;
21
21
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
23
23
  }) => Promise<{
24
- tenantId: string;
25
24
  id: string;
26
25
  createdAt: string;
27
26
  updatedAt: string;
27
+ tenantId: string;
28
28
  projectId: string;
29
+ agentId: string;
29
30
  headersSchema: unknown;
30
31
  contextVariables: Record<string, ContextFetchDefinition> | null;
31
- agentId: string;
32
32
  }[]>;
33
33
  declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (params: {
34
34
  scopes: AgentScopeConfig;
@@ -43,14 +43,14 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
43
43
  };
44
44
  }>;
45
45
  declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
46
- tenantId: string;
47
46
  id: string;
48
47
  createdAt: string;
49
48
  updatedAt: string;
49
+ tenantId: string;
50
50
  projectId: string;
51
+ agentId: string;
51
52
  headersSchema: unknown;
52
53
  contextVariables: Record<string, ContextFetchDefinition> | null;
53
- agentId: string;
54
54
  }>;
55
55
  declare const updateContextConfig: (db: AgentsManageDatabaseClient) => (params: {
56
56
  scopes: AgentScopeConfig;
@@ -83,14 +83,14 @@ declare const countContextConfigs: (db: AgentsManageDatabaseClient) => (params:
83
83
  declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params: {
84
84
  data: ContextConfigInsert;
85
85
  }) => Promise<{
86
- tenantId: string;
87
86
  id: string;
88
87
  createdAt: string;
89
88
  updatedAt: string;
89
+ tenantId: string;
90
90
  projectId: string;
91
+ agentId: string;
91
92
  headersSchema: unknown;
92
93
  contextVariables: Record<string, ContextFetchDefinition> | null;
93
- agentId: string;
94
94
  }>;
95
95
  //#endregion
96
96
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -65,9 +65,9 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
65
65
  scopes: SubAgentScopeConfig;
66
66
  dataComponentId: string;
67
67
  }) => Promise<{
68
- tenantId: string;
69
68
  id: string;
70
69
  createdAt: string;
70
+ tenantId: string;
71
71
  projectId: string;
72
72
  agentId: string;
73
73
  subAgentId: string;
@@ -107,9 +107,9 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
107
107
  scopes: SubAgentScopeConfig;
108
108
  dataComponentId: string;
109
109
  }) => Promise<{
110
- tenantId: string;
111
110
  id: string;
112
111
  createdAt: string;
112
+ tenantId: string;
113
113
  projectId: string;
114
114
  agentId: string;
115
115
  subAgentId: string;
@@ -53,12 +53,12 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- tenantId: string;
57
- id: string;
58
56
  name: string;
57
+ description: string | null;
58
+ id: string;
59
59
  createdAt: string;
60
60
  updatedAt: string;
61
- description: string | null;
61
+ tenantId: string;
62
62
  projectId: string;
63
63
  agentId: string;
64
64
  functionId: string;
@@ -95,12 +95,12 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- tenantId: string;
99
- id: string;
100
98
  name: string;
99
+ description: string | null;
100
+ id: string;
101
101
  createdAt: string;
102
102
  updatedAt: string;
103
- description: string | null;
103
+ tenantId: string;
104
104
  projectId: string;
105
105
  agentId: string;
106
106
  functionId: string;
@@ -157,16 +157,16 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
157
157
  needsApproval?: boolean;
158
158
  }> | null;
159
159
  }) => Promise<{
160
- tenantId: string;
161
160
  id: string;
162
161
  createdAt: string;
163
162
  updatedAt: string;
163
+ tenantId: string;
164
164
  projectId: string;
165
165
  agentId: string;
166
- subAgentId: string;
167
166
  toolPolicies: Record<string, {
168
167
  needsApproval?: boolean;
169
168
  }> | null;
169
+ subAgentId: string;
170
170
  functionToolId: string;
171
171
  }>;
172
172
  /**
@@ -222,16 +222,16 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
222
222
  needsApproval?: boolean;
223
223
  }> | null;
224
224
  }) => Promise<{
225
- tenantId: string;
226
225
  id: string;
227
226
  createdAt: string;
228
227
  updatedAt: string;
228
+ tenantId: string;
229
229
  projectId: string;
230
230
  agentId: string;
231
- subAgentId: string;
232
231
  toolPolicies: Record<string, {
233
232
  needsApproval?: boolean;
234
233
  }> | null;
234
+ subAgentId: string;
235
235
  functionToolId: string;
236
236
  }>;
237
237
  //#endregion
@@ -8,14 +8,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  skillId: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- id: string;
13
11
  name: string;
12
+ description: string;
13
+ id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- metadata: Record<string, string> | null;
17
- description: string;
16
+ tenantId: string;
18
17
  projectId: string;
18
+ metadata: Record<string, string> | null;
19
19
  content: string;
20
20
  } | null>;
21
21
  declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
@@ -41,25 +41,25 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
41
41
  };
42
42
  }>;
43
43
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
44
- tenantId: string;
45
- id: string;
46
44
  name: string;
45
+ description: string;
46
+ id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
- metadata: Record<string, string> | null;
50
- description: string;
49
+ tenantId: string;
51
50
  projectId: string;
51
+ metadata: Record<string, string> | null;
52
52
  content: string;
53
53
  }>;
54
54
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
55
- tenantId: string;
56
- id: string;
57
55
  name: string;
56
+ description: string;
57
+ id: string;
58
58
  createdAt: string;
59
59
  updatedAt: string;
60
- metadata: Record<string, string> | null;
61
- description: string;
60
+ tenantId: string;
62
61
  projectId: string;
62
+ metadata: Record<string, string> | null;
63
63
  content: string;
64
64
  }>;
65
65
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
@@ -91,16 +91,16 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
91
91
  index: number;
92
92
  alwaysLoaded?: boolean;
93
93
  }) => Promise<{
94
- tenantId: string;
95
94
  id: string;
96
95
  createdAt: string;
97
96
  updatedAt: string;
97
+ tenantId: string;
98
98
  projectId: string;
99
99
  agentId: string;
100
- skillId: string;
100
+ subAgentId: string;
101
101
  index: number;
102
102
  alwaysLoaded: boolean;
103
- subAgentId: string;
103
+ skillId: string;
104
104
  }>;
105
105
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
106
106
  scopes: AgentScopeConfig;
@@ -9,15 +9,15 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
12
  id: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
- headers: Record<string, string> | null;
15
+ tenantId: string;
17
16
  projectId: string;
18
17
  agentId: string;
19
- subAgentId: string;
18
+ headers: Record<string, string> | null;
20
19
  externalAgentId: string;
20
+ subAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
23
23
  scopes: SubAgentScopeConfig;
@@ -44,28 +44,28 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
44
44
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
- tenantId: string;
48
47
  id: string;
49
48
  createdAt: string;
50
49
  updatedAt: string;
51
- headers: Record<string, string> | null;
50
+ tenantId: string;
52
51
  projectId: string;
53
52
  agentId: string;
54
- subAgentId: string;
53
+ headers: Record<string, string> | null;
55
54
  externalAgentId: string;
55
+ subAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- tenantId: string;
61
60
  id: string;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
- headers: Record<string, string> | null;
63
+ tenantId: string;
65
64
  projectId: string;
66
65
  agentId: string;
67
- subAgentId: string;
66
+ headers: Record<string, string> | null;
68
67
  externalAgentId: string;
68
+ subAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -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,15 +180,15 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
180
180
  headers?: Record<string, string> | null;
181
181
  };
182
182
  }) => Promise<{
183
- tenantId: string;
184
183
  id: string;
185
184
  createdAt: string;
186
185
  updatedAt: string;
187
- headers: Record<string, string> | null;
186
+ tenantId: string;
188
187
  projectId: string;
189
188
  agentId: string;
190
- subAgentId: string;
189
+ headers: Record<string, string> | null;
191
190
  externalAgentId: string;
191
+ subAgentId: string;
192
192
  }>;
193
193
  /**
194
194
  * Check if sub-agent external agent relation exists by params
@@ -197,15 +197,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
197
197
  scopes: SubAgentScopeConfig;
198
198
  externalAgentId: string;
199
199
  }) => Promise<{
200
- tenantId: string;
201
200
  id: string;
202
201
  createdAt: string;
203
202
  updatedAt: string;
204
- headers: Record<string, string> | null;
203
+ tenantId: string;
205
204
  projectId: string;
206
205
  agentId: string;
207
- subAgentId: string;
206
+ headers: Record<string, string> | null;
208
207
  externalAgentId: string;
208
+ subAgentId: string;
209
209
  } | undefined>;
210
210
  /**
211
211
  * Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
@@ -218,15 +218,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
218
218
  headers?: Record<string, string> | null;
219
219
  };
220
220
  }) => Promise<{
221
- tenantId: string;
222
221
  id: string;
223
222
  createdAt: string;
224
223
  updatedAt: string;
225
- headers: Record<string, string> | null;
224
+ tenantId: string;
226
225
  projectId: string;
227
226
  agentId: string;
228
- subAgentId: string;
227
+ headers: Record<string, string> | null;
229
228
  externalAgentId: string;
229
+ subAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
232
232
  scopes: SubAgentScopeConfig;