@inkeep/agents-core 0.75.4 → 0.77.1

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 (62) hide show
  1. package/dist/auth/auth.js +3 -0
  2. package/dist/auth/permissions.d.ts +9 -9
  3. package/dist/auth/sso-issuer-discovery.d.ts +50 -0
  4. package/dist/auth/sso-issuer-discovery.js +85 -0
  5. package/dist/constants/allowed-file-formats.d.ts +3 -1
  6. package/dist/constants/allowed-file-formats.js +3 -2
  7. package/dist/constants/index.d.ts +2 -2
  8. package/dist/constants/schema-validation/defaults.d.ts +1 -1
  9. package/dist/constants/schema-validation/defaults.js +1 -1
  10. package/dist/constants/schema-validation/index.d.ts +1 -1
  11. package/dist/data-access/index.d.ts +2 -2
  12. package/dist/data-access/index.js +2 -2
  13. package/dist/data-access/manage/agents.d.ts +41 -41
  14. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  15. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  16. package/dist/data-access/manage/dataComponents.d.ts +8 -8
  17. package/dist/data-access/manage/functionTools.d.ts +16 -16
  18. package/dist/data-access/manage/skills.d.ts +14 -14
  19. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  20. package/dist/data-access/manage/subAgentRelations.d.ts +34 -34
  21. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  22. package/dist/data-access/manage/subAgents.d.ts +15 -15
  23. package/dist/data-access/manage/tools.d.ts +24 -24
  24. package/dist/data-access/manage/triggers.d.ts +5 -5
  25. package/dist/data-access/manage/webhookDestinations.d.ts +6 -4
  26. package/dist/data-access/manage/webhookDestinations.js +13 -15
  27. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  28. package/dist/data-access/runtime/apps.d.ts +12 -12
  29. package/dist/data-access/runtime/auth.d.ts +4 -1
  30. package/dist/data-access/runtime/auth.js +5 -1
  31. package/dist/data-access/runtime/conversations.d.ts +33 -32
  32. package/dist/data-access/runtime/conversations.js +8 -1
  33. package/dist/data-access/runtime/events.d.ts +6 -6
  34. package/dist/data-access/runtime/feedback.d.ts +6 -6
  35. package/dist/data-access/runtime/messages.d.ts +27 -27
  36. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  37. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  38. package/dist/data-access/runtime/tasks.d.ts +5 -5
  39. package/dist/db/manage/manage-schema.d.ts +383 -383
  40. package/dist/db/runtime/runtime-schema.d.ts +409 -409
  41. package/dist/external-fetch/external-file-downloader.d.ts +14 -0
  42. package/dist/external-fetch/external-file-downloader.js +146 -0
  43. package/dist/external-fetch/file-content-security.d.ts +18 -0
  44. package/dist/external-fetch/file-content-security.js +81 -0
  45. package/dist/external-fetch/file-security-constants.d.ts +12 -0
  46. package/dist/external-fetch/file-security-constants.js +16 -0
  47. package/dist/external-fetch/file-security-errors.d.ts +96 -0
  48. package/dist/external-fetch/file-security-errors.js +154 -0
  49. package/dist/external-fetch/file-url-security.d.ts +7 -0
  50. package/dist/external-fetch/file-url-security.js +75 -0
  51. package/dist/external-fetch/index.d.ts +6 -0
  52. package/dist/external-fetch/index.js +7 -0
  53. package/dist/index.d.ts +2 -2
  54. package/dist/index.js +2 -2
  55. package/dist/text-attachments/index.d.ts +2 -0
  56. package/dist/text-attachments/index.js +3 -0
  57. package/dist/text-attachments/text-document-attachments.d.ts +40 -0
  58. package/dist/text-attachments/text-document-attachments.js +86 -0
  59. package/dist/validation/schemas/skills.d.ts +46 -46
  60. package/dist/validation/schemas.d.ts +650 -650
  61. package/dist/validation/schemas.js +5 -3
  62. package/package.json +12 -1
@@ -8,6 +8,9 @@ declare const queryHasCredentialAccount: (db: AgentsRunDatabaseClient) => (userI
8
8
  declare const querySsoProviderIssuers: (db: AgentsRunDatabaseClient) => () => Promise<{
9
9
  issuer: string;
10
10
  }[]>;
11
+ declare const querySsoProviderById: (db: AgentsRunDatabaseClient) => (providerId: string) => Promise<{
12
+ issuer: string;
13
+ } | undefined>;
11
14
  declare const querySsoProviderIds: (db: AgentsRunDatabaseClient) => () => Promise<string[]>;
12
15
  declare const queryOrgAllowedAuthMethods: (db: AgentsRunDatabaseClient) => (orgId: string) => Promise<{
13
16
  allowedAuthMethods: string | null;
@@ -15,4 +18,4 @@ declare const queryOrgAllowedAuthMethods: (db: AgentsRunDatabaseClient) => (orgI
15
18
  declare const queryMemberExists: (db: AgentsRunDatabaseClient) => (userId: string, organizationId: string) => Promise<boolean>;
16
19
  declare const queryPendingInvitationExists: (db: AgentsRunDatabaseClient) => (email: string, organizationId: string) => Promise<boolean>;
17
20
  //#endregion
18
- export { getInitialOrganization, queryHasCredentialAccount, queryMemberExists, queryOrgAllowedAuthMethods, queryPendingInvitationExists, querySsoProviderIds, querySsoProviderIssuers };
21
+ export { getInitialOrganization, queryHasCredentialAccount, queryMemberExists, queryOrgAllowedAuthMethods, queryPendingInvitationExists, querySsoProviderById, querySsoProviderIds, querySsoProviderIssuers };
@@ -13,6 +13,10 @@ const queryHasCredentialAccount = (db) => async (userId) => {
13
13
  const querySsoProviderIssuers = (db) => async () => {
14
14
  return db.select({ issuer: ssoProvider.issuer }).from(ssoProvider);
15
15
  };
16
+ const querySsoProviderById = (db) => async (providerId) => {
17
+ const [row] = await db.select({ issuer: ssoProvider.issuer }).from(ssoProvider).where(eq(ssoProvider.providerId, providerId)).limit(1);
18
+ return row;
19
+ };
16
20
  const querySsoProviderIds = (db) => async () => {
17
21
  return (await db.select({ providerId: ssoProvider.providerId }).from(ssoProvider)).map((r) => r.providerId);
18
22
  };
@@ -30,4 +34,4 @@ const queryPendingInvitationExists = (db) => async (email, organizationId) => {
30
34
  };
31
35
 
32
36
  //#endregion
33
- export { getInitialOrganization, queryHasCredentialAccount, queryMemberExists, queryOrgAllowedAuthMethods, queryPendingInvitationExists, querySsoProviderIds, querySsoProviderIssuers };
37
+ export { getInitialOrganization, queryHasCredentialAccount, queryMemberExists, queryOrgAllowedAuthMethods, queryPendingInvitationExists, querySsoProviderById, querySsoProviderIds, querySsoProviderIssuers };
@@ -9,30 +9,31 @@ import { ConversationInsert, ConversationSelect, ConversationUpdate, MessageSele
9
9
  declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  userId?: string;
12
+ agentIds?: string[];
12
13
  pagination?: PaginationConfig;
13
14
  }) => Promise<{
14
15
  conversations: ConversationSelect[];
15
16
  total: number;
16
17
  }>;
17
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
+ properties: Record<string, unknown> | null;
20
+ title: string | null;
21
+ tenantId: string;
22
+ projectId: string;
23
+ agentId: string | null;
18
24
  id: string;
25
+ metadata: ConversationMetadata | null;
19
26
  createdAt: string;
20
27
  updatedAt: string;
28
+ userId: string | null;
21
29
  ref: {
22
30
  type: "commit" | "tag" | "branch";
23
31
  name: string;
24
32
  hash: string;
25
33
  } | null;
26
- userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- agentId: string | null;
29
- projectId: string;
30
- tenantId: string;
31
- properties: Record<string, unknown> | null;
32
- title: string | null;
33
- userProperties: Record<string, unknown> | null;
34
34
  activeSubAgentId: string;
35
35
  lastContextResolution: string | null;
36
+ userProperties: Record<string, unknown> | null;
36
37
  }>;
37
38
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
38
39
  scopes: ProjectScopeConfig;
@@ -90,24 +91,24 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
90
91
  scopes: ProjectScopeConfig;
91
92
  conversationId: string;
92
93
  }) => Promise<{
94
+ properties: Record<string, unknown> | null;
95
+ title: string | null;
96
+ tenantId: string;
97
+ projectId: string;
98
+ agentId: string | null;
93
99
  id: string;
100
+ metadata: ConversationMetadata | null;
94
101
  createdAt: string;
95
102
  updatedAt: string;
103
+ userId: string | null;
96
104
  ref: {
97
105
  type: "commit" | "tag" | "branch";
98
106
  name: string;
99
107
  hash: string;
100
108
  } | null;
101
- userId: string | null;
102
- metadata: ConversationMetadata | null;
103
- agentId: string | null;
104
- projectId: string;
105
- tenantId: string;
106
- properties: Record<string, unknown> | null;
107
- title: string | null;
108
- userProperties: Record<string, unknown> | null;
109
109
  activeSubAgentId: string;
110
110
  lastContextResolution: string | null;
111
+ userProperties: Record<string, unknown> | null;
111
112
  } | undefined>;
112
113
  declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
113
114
  activeSubAgentId: string;
@@ -130,24 +131,24 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
130
131
  userProperties?: Record<string, unknown> | null | undefined;
131
132
  properties?: Record<string, unknown> | null | undefined;
132
133
  } | {
134
+ properties: Record<string, unknown> | null;
135
+ title: string | null;
136
+ tenantId: string;
137
+ projectId: string;
138
+ agentId: string | null;
133
139
  id: string;
140
+ metadata: ConversationMetadata | null;
134
141
  createdAt: string;
135
142
  updatedAt: string;
143
+ userId: string | null;
136
144
  ref: {
137
145
  type: "commit" | "tag" | "branch";
138
146
  name: string;
139
147
  hash: string;
140
148
  } | null;
141
- userId: string | null;
142
- metadata: ConversationMetadata | null;
143
- agentId: string | null;
144
- projectId: string;
145
- tenantId: string;
146
- properties: Record<string, unknown> | null;
147
- title: string | null;
148
- userProperties: Record<string, unknown> | null;
149
149
  activeSubAgentId: string;
150
150
  lastContextResolution: string | null;
151
+ userProperties: Record<string, unknown> | null;
151
152
  }>;
152
153
  /**
153
154
  * Get conversation history with filtering and context management
@@ -164,24 +165,24 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
164
165
  scopes: ProjectScopeConfig;
165
166
  conversationId: string;
166
167
  }) => Promise<{
168
+ properties: Record<string, unknown> | null;
169
+ title: string | null;
170
+ tenantId: string;
171
+ projectId: string;
172
+ agentId: string | null;
167
173
  id: string;
174
+ metadata: ConversationMetadata | null;
168
175
  createdAt: string;
169
176
  updatedAt: string;
177
+ userId: string | null;
170
178
  ref: {
171
179
  type: "commit" | "tag" | "branch";
172
180
  name: string;
173
181
  hash: string;
174
182
  } | null;
175
- userId: string | null;
176
- metadata: ConversationMetadata | null;
177
- agentId: string | null;
178
- projectId: string;
179
- tenantId: string;
180
- properties: Record<string, unknown> | null;
181
- title: string | null;
182
- userProperties: Record<string, unknown> | null;
183
183
  activeSubAgentId: string;
184
184
  lastContextResolution: string | null;
185
+ userProperties: Record<string, unknown> | null;
185
186
  } | undefined>;
186
187
  /**
187
188
  * Set active agent for a conversation (upsert operation)
@@ -8,12 +8,19 @@ import { and, count, desc, eq, inArray } from "drizzle-orm";
8
8
  //#region src/data-access/runtime/conversations.ts
9
9
  const logger = getLogger("data-access/runtime/conversations");
10
10
  const listConversations = (db) => async (params) => {
11
- const { userId, pagination } = params;
11
+ const { userId, agentIds, pagination } = params;
12
12
  const page = pagination?.page || 1;
13
13
  const limit = Math.min(pagination?.limit || 20, 200);
14
14
  const offset = (page - 1) * limit;
15
15
  const whereConditions = [projectScopedWhere(conversations, params.scopes)];
16
16
  if (userId) whereConditions.push(eq(conversations.userId, userId));
17
+ if (agentIds) {
18
+ if (agentIds.length === 0) return {
19
+ conversations: [],
20
+ total: 0
21
+ };
22
+ whereConditions.push(inArray(conversations.agentId, agentIds));
23
+ }
17
24
  const conversationList = await db.select().from(conversations).where(and(...whereConditions)).orderBy(desc(conversations.updatedAt)).limit(limit).offset(offset);
18
25
  const total = (await db.select({ count: count() }).from(conversations).where(and(...whereConditions)))[0]?.count || 0;
19
26
  return {
@@ -8,16 +8,16 @@ import { EventInsert } from "../../types/entities.js";
8
8
  declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert) => Promise<{
9
9
  row: {
10
10
  type: string;
11
+ properties: Record<string, unknown> | null;
12
+ tenantId: string;
13
+ projectId: string;
14
+ agentId: string | null;
11
15
  id: string;
16
+ metadata: Record<string, unknown> | null;
12
17
  createdAt: string;
13
18
  updatedAt: string;
14
- metadata: Record<string, unknown> | null;
15
- agentId: string | null;
16
- projectId: string;
17
- tenantId: string;
18
- properties: Record<string, unknown> | null;
19
- conversationId: string | null;
20
19
  userProperties: Record<string, unknown> | null;
20
+ conversationId: string | null;
21
21
  messageId: string | null;
22
22
  serverMetadata: {
23
23
  [k: string]: unknown;
@@ -71,14 +71,14 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
71
71
  }[]>;
72
72
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
73
73
  type: "positive" | "negative";
74
+ tenantId: string;
75
+ projectId: string;
74
76
  id: string;
75
77
  createdAt: string;
76
78
  updatedAt: string;
77
- projectId: string;
78
- tenantId: string;
79
- details: string | null;
80
79
  conversationId: string;
81
80
  messageId: string | null;
81
+ details: string | null;
82
82
  }>;
83
83
  declare const createFeedbackBulk: (db: AgentsRunDatabaseClient) => (items: FeedbackInsert[]) => Promise<(typeof feedback.$inferSelect)[]>;
84
84
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
@@ -101,14 +101,14 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
101
101
  feedbackId: string;
102
102
  }) => Promise<{
103
103
  type: "positive" | "negative";
104
+ tenantId: string;
105
+ projectId: string;
104
106
  id: string;
105
107
  createdAt: string;
106
108
  updatedAt: string;
107
- projectId: string;
108
- tenantId: string;
109
- details: string | null;
110
109
  conversationId: string;
111
110
  messageId: string | null;
111
+ details: string | null;
112
112
  }>;
113
113
  //#endregion
114
114
  export { createFeedback, createFeedbackBulk, deleteFeedback, getFeedbackById, getFeedbackByIds, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -10,28 +10,28 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ properties: Record<string, unknown> | null;
14
+ tenantId: string;
15
+ projectId: string;
13
16
  id: string;
17
+ content: MessageContent;
18
+ metadata: MessageMetadata | null;
14
19
  createdAt: string;
15
20
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
21
  role: string;
18
- projectId: string;
19
- tenantId: string;
20
- properties: Record<string, unknown> | null;
21
- content: MessageContent;
22
+ userProperties: Record<string, unknown> | null;
23
+ conversationId: string;
22
24
  fromSubAgentId: string | null;
23
25
  toSubAgentId: string | null;
24
26
  fromExternalAgentId: string | null;
25
27
  toExternalAgentId: string | null;
26
- taskId: string | null;
27
- a2aTaskId: string | null;
28
- conversationId: string;
29
- userProperties: Record<string, unknown> | null;
30
28
  fromTeamAgentId: string | null;
31
29
  toTeamAgentId: string | null;
32
30
  visibility: string;
33
31
  messageType: string;
32
+ taskId: string | null;
34
33
  parentMessageId: string | null;
34
+ a2aTaskId: string | null;
35
35
  a2aSessionId: string | null;
36
36
  } | undefined>;
37
37
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -154,28 +154,28 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
154
154
  scopes: ProjectScopeConfig;
155
155
  data: Omit<MessageInsert, "tenantId" | "projectId">;
156
156
  }) => Promise<{
157
+ properties: Record<string, unknown> | null;
158
+ tenantId: string;
159
+ projectId: string;
157
160
  id: string;
161
+ content: MessageContent;
162
+ metadata: MessageMetadata | null;
158
163
  createdAt: string;
159
164
  updatedAt: string;
160
- metadata: MessageMetadata | null;
161
165
  role: string;
162
- projectId: string;
163
- tenantId: string;
164
- properties: Record<string, unknown> | null;
165
- content: MessageContent;
166
+ userProperties: Record<string, unknown> | null;
167
+ conversationId: string;
166
168
  fromSubAgentId: string | null;
167
169
  toSubAgentId: string | null;
168
170
  fromExternalAgentId: string | null;
169
171
  toExternalAgentId: string | null;
170
- taskId: string | null;
171
- a2aTaskId: string | null;
172
- conversationId: string;
173
- userProperties: Record<string, unknown> | null;
174
172
  fromTeamAgentId: string | null;
175
173
  toTeamAgentId: string | null;
176
174
  visibility: string;
177
175
  messageType: string;
176
+ taskId: string | null;
178
177
  parentMessageId: string | null;
178
+ a2aTaskId: string | null;
179
179
  a2aSessionId: string | null;
180
180
  }>;
181
181
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -211,28 +211,28 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
211
211
  scopes: ProjectScopeConfig;
212
212
  messageId: string;
213
213
  }) => Promise<{
214
+ properties: Record<string, unknown> | null;
215
+ tenantId: string;
216
+ projectId: string;
214
217
  id: string;
218
+ content: MessageContent;
219
+ metadata: MessageMetadata | null;
215
220
  createdAt: string;
216
221
  updatedAt: string;
217
- metadata: MessageMetadata | null;
218
222
  role: string;
219
- projectId: string;
220
- tenantId: string;
221
- properties: Record<string, unknown> | null;
222
- content: MessageContent;
223
+ userProperties: Record<string, unknown> | null;
224
+ conversationId: string;
223
225
  fromSubAgentId: string | null;
224
226
  toSubAgentId: string | null;
225
227
  fromExternalAgentId: string | null;
226
228
  toExternalAgentId: string | null;
227
- taskId: string | null;
228
- a2aTaskId: string | null;
229
- conversationId: string;
230
- userProperties: Record<string, unknown> | null;
231
229
  fromTeamAgentId: string | null;
232
230
  toTeamAgentId: string | null;
233
231
  visibility: string;
234
232
  messageType: string;
233
+ taskId: string | null;
235
234
  parentMessageId: string | null;
235
+ a2aTaskId: string | null;
236
236
  a2aSessionId: string | null;
237
237
  }>;
238
238
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
199
199
  name: string;
200
200
  hash: string;
201
201
  } | null;
202
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
202
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
203
203
  scheduledFor: string;
204
204
  startedAt: string | null;
205
205
  completedAt: string | null;
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
239
239
  name: string;
240
240
  hash: string;
241
241
  } | null;
242
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
242
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
243
243
  scheduledFor: string;
244
244
  startedAt: string | null;
245
245
  completedAt: string | null;
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
292
292
  name: string;
293
293
  hash: string;
294
294
  } | null;
295
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
295
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
296
296
  scheduledFor: string;
297
297
  startedAt: string | null;
298
298
  completedAt: string | null;
@@ -15,9 +15,9 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
15
15
  scheduledTriggerId: string;
16
16
  userId: string;
17
17
  }) => Promise<{
18
+ tenantId: string;
18
19
  createdAt: string;
19
20
  userId: string;
20
- tenantId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -7,7 +7,12 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
 
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
+ tenantId: string;
11
+ projectId: string;
12
+ agentId: string;
13
+ subAgentId: string;
10
14
  id: string;
15
+ metadata: TaskMetadataConfig | null;
11
16
  createdAt: string;
12
17
  updatedAt: string;
13
18
  ref: {
@@ -15,12 +20,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
15
20
  name: string;
16
21
  hash: string;
17
22
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
23
  status: string;
20
- agentId: string;
21
- projectId: string;
22
- tenantId: string;
23
- subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {