@inkeep/agents-core 0.0.0-dev-20260331210432 → 0.0.0-dev-20260401065914

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 (40) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/init.js +2 -4
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/client-exports.js +2 -2
  7. package/dist/data-access/manage/agents.d.ts +36 -36
  8. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  11. package/dist/data-access/manage/functionTools.d.ts +10 -10
  12. package/dist/data-access/manage/skills.d.ts +10 -10
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  14. package/dist/data-access/manage/subAgentRelations.d.ts +16 -16
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  16. package/dist/data-access/manage/subAgents.d.ts +12 -12
  17. package/dist/data-access/manage/tools.d.ts +18 -18
  18. package/dist/data-access/manage/triggers.d.ts +2 -2
  19. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  20. package/dist/data-access/runtime/apps.d.ts +38 -47
  21. package/dist/data-access/runtime/conversations.d.ts +32 -32
  22. package/dist/data-access/runtime/messages.d.ts +18 -18
  23. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  24. package/dist/data-access/runtime/tasks.d.ts +8 -8
  25. package/dist/db/manage/manage-schema.d.ts +449 -449
  26. package/dist/db/runtime/runtime-schema.d.ts +394 -400
  27. package/dist/index.d.ts +3 -3
  28. package/dist/index.js +2 -2
  29. package/dist/middleware/no-auth.d.ts +2 -2
  30. package/dist/types/index.d.ts +2 -2
  31. package/dist/types/utility.d.ts +2 -3
  32. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  33. package/dist/validation/index.d.ts +2 -2
  34. package/dist/validation/index.js +2 -2
  35. package/dist/validation/schemas/skills.d.ts +41 -41
  36. package/dist/validation/schemas.d.ts +2386 -2465
  37. package/dist/validation/schemas.js +7 -9
  38. package/drizzle/runtime/0030_set-allow-anonymous-for-existing-apps.sql +56 -0
  39. package/drizzle/runtime/meta/_journal.json +7 -0
  40. package/package.json +1 -1
@@ -9,26 +9,26 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
12
13
  id: string;
14
+ headersSchema: unknown;
15
+ contextVariables: Record<string, ContextFetchDefinition> | null;
13
16
  createdAt: string;
14
17
  updatedAt: string;
15
- tenantId: string;
16
18
  agentId: string;
17
19
  projectId: string;
18
- headersSchema: unknown;
19
- contextVariables: Record<string, ContextFetchDefinition> | null;
20
20
  } | undefined>;
21
21
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
23
23
  }) => Promise<{
24
+ tenantId: string;
24
25
  id: string;
26
+ headersSchema: unknown;
27
+ contextVariables: Record<string, ContextFetchDefinition> | null;
25
28
  createdAt: string;
26
29
  updatedAt: string;
27
- tenantId: string;
28
30
  agentId: string;
29
31
  projectId: string;
30
- headersSchema: unknown;
31
- contextVariables: Record<string, ContextFetchDefinition> | null;
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;
46
47
  id: string;
48
+ headersSchema: unknown;
49
+ contextVariables: Record<string, ContextFetchDefinition> | null;
47
50
  createdAt: string;
48
51
  updatedAt: string;
49
- tenantId: string;
50
52
  agentId: string;
51
53
  projectId: string;
52
- headersSchema: unknown;
53
- contextVariables: Record<string, ContextFetchDefinition> | null;
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;
86
87
  id: string;
88
+ headersSchema: unknown;
89
+ contextVariables: Record<string, ContextFetchDefinition> | null;
87
90
  createdAt: string;
88
91
  updatedAt: string;
89
- tenantId: string;
90
92
  agentId: string;
91
93
  projectId: string;
92
- headersSchema: unknown;
93
- contextVariables: Record<string, ContextFetchDefinition> | null;
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;
68
69
  id: string;
69
70
  createdAt: string;
70
- tenantId: string;
71
71
  agentId: string;
72
72
  projectId: 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;
110
111
  id: string;
111
112
  createdAt: string;
112
- tenantId: string;
113
113
  agentId: string;
114
114
  projectId: string;
115
115
  subAgentId: string;
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
+ tenantId: string;
56
57
  id: string;
57
- name: string;
58
58
  createdAt: string;
59
+ name: string;
59
60
  updatedAt: string;
60
- tenantId: string;
61
61
  agentId: string;
62
- description: string | null;
63
62
  projectId: string;
63
+ description: string | null;
64
64
  functionId: string;
65
65
  }>;
66
66
  /**
@@ -95,14 +95,14 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
+ tenantId: string;
98
99
  id: string;
99
- name: string;
100
100
  createdAt: string;
101
+ name: string;
101
102
  updatedAt: string;
102
- tenantId: string;
103
103
  agentId: string;
104
- description: string | null;
105
104
  projectId: string;
105
+ description: string | null;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -157,17 +157,17 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
157
157
  needsApproval?: boolean;
158
158
  }> | null;
159
159
  }) => Promise<{
160
+ tenantId: string;
160
161
  id: string;
161
162
  createdAt: string;
162
163
  updatedAt: string;
163
- tenantId: string;
164
164
  agentId: string;
165
165
  projectId: string;
166
166
  subAgentId: string;
167
+ functionToolId: string;
167
168
  toolPolicies: Record<string, {
168
169
  needsApproval?: boolean;
169
170
  }> | null;
170
- functionToolId: string;
171
171
  }>;
172
172
  /**
173
173
  * Update an agent-function tool relation
@@ -222,17 +222,17 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
222
222
  needsApproval?: boolean;
223
223
  }> | null;
224
224
  }) => Promise<{
225
+ tenantId: string;
225
226
  id: string;
226
227
  createdAt: string;
227
228
  updatedAt: string;
228
- tenantId: string;
229
229
  agentId: string;
230
230
  projectId: string;
231
231
  subAgentId: string;
232
+ functionToolId: string;
232
233
  toolPolicies: Record<string, {
233
234
  needsApproval?: boolean;
234
235
  }> | 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 };
@@ -15,14 +15,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
15
15
  scopes: ProjectScopeConfig;
16
16
  skillId: string;
17
17
  }) => Promise<{
18
+ tenantId: string;
18
19
  id: string;
19
- name: string;
20
20
  createdAt: string;
21
+ name: string;
21
22
  updatedAt: string;
22
- metadata: Record<string, string> | null;
23
- tenantId: string;
24
- description: string;
25
23
  projectId: string;
24
+ description: string;
25
+ metadata: Record<string, string> | null;
26
26
  content: string;
27
27
  } | null>;
28
28
  declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
@@ -110,14 +110,14 @@ interface WithTenantIdProjectId {
110
110
  }
111
111
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<SkillRecordWithFiles>;
112
112
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
113
+ tenantId: string;
113
114
  id: string;
114
- name: string;
115
115
  createdAt: string;
116
+ name: string;
116
117
  updatedAt: string;
117
- metadata: Record<string, string> | null;
118
- tenantId: string;
119
- description: string;
120
118
  projectId: string;
119
+ description: string;
120
+ metadata: Record<string, string> | null;
121
121
  content: string;
122
122
  }>;
123
123
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
@@ -139,16 +139,16 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
139
139
  index: number;
140
140
  alwaysLoaded?: boolean;
141
141
  }) => Promise<{
142
+ tenantId: string;
142
143
  id: string;
143
144
  createdAt: string;
144
145
  updatedAt: string;
145
- tenantId: string;
146
146
  agentId: string;
147
147
  projectId: string;
148
148
  subAgentId: string;
149
- skillId: string;
150
149
  index: number;
151
150
  alwaysLoaded: boolean;
151
+ skillId: string;
152
152
  }>;
153
153
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
154
154
  scopes: AgentScopeConfig;
@@ -9,10 +9,10 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
12
13
  id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- tenantId: string;
16
16
  agentId: string;
17
17
  projectId: string;
18
18
  subAgentId: string;
@@ -44,10 +44,10 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
44
44
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ tenantId: string;
47
48
  id: string;
48
49
  createdAt: string;
49
50
  updatedAt: string;
50
- tenantId: string;
51
51
  agentId: string;
52
52
  projectId: string;
53
53
  subAgentId: string;
@@ -57,10 +57,10 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ tenantId: string;
60
61
  id: string;
61
62
  createdAt: string;
62
63
  updatedAt: string;
63
- tenantId: string;
64
64
  agentId: string;
65
65
  projectId: string;
66
66
  subAgentId: string;
@@ -186,10 +186,10 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
186
186
  headers?: Record<string, string> | null;
187
187
  };
188
188
  }) => Promise<{
189
+ tenantId: string;
189
190
  id: string;
190
191
  createdAt: string;
191
192
  updatedAt: string;
192
- tenantId: string;
193
193
  agentId: string;
194
194
  projectId: string;
195
195
  subAgentId: string;
@@ -203,10 +203,10 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
203
203
  scopes: SubAgentScopeConfig;
204
204
  externalAgentId: string;
205
205
  }) => Promise<{
206
+ tenantId: string;
206
207
  id: string;
207
208
  createdAt: string;
208
209
  updatedAt: string;
209
- tenantId: string;
210
210
  agentId: string;
211
211
  projectId: string;
212
212
  subAgentId: string;
@@ -224,10 +224,10 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
224
224
  headers?: Record<string, string> | null;
225
225
  };
226
226
  }) => Promise<{
227
+ tenantId: string;
227
228
  id: string;
228
229
  createdAt: string;
229
230
  updatedAt: string;
230
- tenantId: string;
231
231
  agentId: string;
232
232
  projectId: string;
233
233
  subAgentId: string;
@@ -9,15 +9,15 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
12
13
  id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- tenantId: string;
16
16
  agentId: string;
17
17
  projectId: string;
18
- relationType: string | null;
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;
@@ -44,28 +44,28 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ tenantId: string;
47
48
  id: string;
48
49
  createdAt: string;
49
50
  updatedAt: string;
50
- tenantId: string;
51
51
  agentId: string;
52
52
  projectId: string;
53
- relationType: string | null;
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;
59
59
  }) => Promise<{
60
+ tenantId: string;
60
61
  id: string;
61
62
  createdAt: string;
62
63
  updatedAt: string;
63
- tenantId: string;
64
64
  agentId: string;
65
65
  projectId: string;
66
- relationType: string | null;
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;
@@ -126,15 +126,15 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
126
126
  }[];
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
+ tenantId: string;
129
130
  id: string;
130
131
  createdAt: string;
131
132
  updatedAt: string;
132
- tenantId: string;
133
133
  agentId: string;
134
134
  projectId: string;
135
- relationType: string | null;
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
@@ -145,29 +145,29 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
145
145
  targetSubAgentId?: string;
146
146
  relationType: string;
147
147
  }) => Promise<{
148
+ tenantId: string;
148
149
  id: string;
149
150
  createdAt: string;
150
151
  updatedAt: string;
151
- tenantId: string;
152
152
  agentId: string;
153
153
  projectId: string;
154
- relationType: string | null;
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)
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
+ tenantId: string;
162
163
  id: string;
163
164
  createdAt: string;
164
165
  updatedAt: string;
165
- tenantId: string;
166
166
  agentId: string;
167
167
  projectId: string;
168
- relationType: string | null;
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;
@@ -204,19 +204,19 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
+ tenantId: string;
207
208
  id: string;
208
209
  createdAt: string;
209
210
  updatedAt: string;
210
- tenantId: string;
211
211
  agentId: string;
212
212
  projectId: string;
213
213
  subAgentId: string;
214
214
  toolId: string;
215
215
  headers: Record<string, string> | null;
216
- selectedTools: string[] | null;
217
216
  toolPolicies: Record<string, {
218
217
  needsApproval?: boolean;
219
218
  }> | 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;
251
252
  id: string;
252
253
  createdAt: string;
253
254
  updatedAt: string;
254
- tenantId: string;
255
255
  agentId: string;
256
256
  projectId: string;
257
257
  subAgentId: string;
258
258
  toolId: string;
259
259
  headers: Record<string, string> | null;
260
- selectedTools: string[] | null;
261
260
  toolPolicies: Record<string, {
262
261
  needsApproval?: boolean;
263
262
  }> | null;
263
+ selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
266
266
  scopes: SubAgentScopeConfig;
@@ -9,10 +9,10 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
12
13
  id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- tenantId: string;
16
16
  agentId: string;
17
17
  projectId: string;
18
18
  subAgentId: string;
@@ -44,10 +44,10 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
44
44
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ tenantId: string;
47
48
  id: string;
48
49
  createdAt: string;
49
50
  updatedAt: string;
50
- tenantId: string;
51
51
  agentId: string;
52
52
  projectId: string;
53
53
  subAgentId: string;
@@ -57,10 +57,10 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ tenantId: string;
60
61
  id: string;
61
62
  createdAt: string;
62
63
  updatedAt: string;
63
- tenantId: string;
64
64
  agentId: string;
65
65
  projectId: string;
66
66
  subAgentId: string;
@@ -222,10 +222,10 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
222
222
  headers?: Record<string, string> | null;
223
223
  };
224
224
  }) => Promise<{
225
+ tenantId: string;
225
226
  id: string;
226
227
  createdAt: string;
227
228
  updatedAt: string;
228
- tenantId: string;
229
229
  agentId: string;
230
230
  projectId: string;
231
231
  subAgentId: string;
@@ -239,10 +239,10 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
239
239
  scopes: SubAgentScopeConfig;
240
240
  targetAgentId: string;
241
241
  }) => Promise<{
242
+ tenantId: string;
242
243
  id: string;
243
244
  createdAt: string;
244
245
  updatedAt: string;
245
- tenantId: string;
246
246
  agentId: string;
247
247
  projectId: string;
248
248
  subAgentId: string;
@@ -260,10 +260,10 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
260
260
  headers?: Record<string, string> | null;
261
261
  };
262
262
  }) => Promise<{
263
+ tenantId: string;
263
264
  id: string;
264
265
  createdAt: string;
265
266
  updatedAt: string;
266
- tenantId: string;
267
267
  agentId: string;
268
268
  projectId: string;
269
269
  subAgentId: string;
@@ -9,15 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
12
13
  id: string;
13
- name: string;
14
14
  createdAt: string;
15
+ name: string;
15
16
  updatedAt: string;
16
- tenantId: string;
17
17
  agentId: string;
18
- description: string | null;
19
18
  projectId: string;
20
- prompt: string | null;
19
+ description: string | null;
21
20
  models: {
22
21
  base?: {
23
22
  model?: string | undefined;
@@ -38,6 +37,7 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
38
37
  allowedProviders?: string[] | undefined;
39
38
  } | undefined;
40
39
  } | null;
40
+ prompt: string | null;
41
41
  stopWhen: {
42
42
  stepCountIs?: number | undefined;
43
43
  } | null;
@@ -46,15 +46,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
+ tenantId: string;
49
50
  id: string;
50
- name: string;
51
51
  createdAt: string;
52
+ name: string;
52
53
  updatedAt: string;
53
- tenantId: string;
54
54
  agentId: string;
55
- description: string | null;
56
55
  projectId: string;
57
- prompt: string | null;
56
+ description: string | null;
58
57
  models: {
59
58
  base?: {
60
59
  model?: string | undefined;
@@ -75,6 +74,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
75
74
  allowedProviders?: string[] | undefined;
76
75
  } | undefined;
77
76
  } | null;
77
+ prompt: string | null;
78
78
  stopWhen: {
79
79
  stepCountIs?: number | undefined;
80
80
  } | null;
@@ -127,15 +127,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
127
127
  };
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
+ tenantId: string;
130
131
  id: string;
131
- name: string;
132
132
  createdAt: string;
133
+ name: string;
133
134
  updatedAt: string;
134
- tenantId: string;
135
135
  agentId: string;
136
- description: string | null;
137
136
  projectId: string;
138
- prompt: string | null;
137
+ description: string | null;
139
138
  models: {
140
139
  base?: {
141
140
  model?: string | undefined;
@@ -156,6 +155,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
156
155
  allowedProviders?: string[] | undefined;
157
156
  } | undefined;
158
157
  } | null;
158
+ prompt: string | null;
159
159
  stopWhen: {
160
160
  stepCountIs?: number | undefined;
161
161
  } | null;