@inkeep/agents-core 0.0.0-dev-20260401143150 → 0.0.0-dev-20260401162145

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 (28) 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/permissions.d.ts +9 -9
  4. package/dist/data-access/manage/agents.d.ts +16 -16
  5. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  6. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  7. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  8. package/dist/data-access/manage/functionTools.d.ts +12 -12
  9. package/dist/data-access/manage/skills.d.ts +8 -8
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  11. package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  13. package/dist/data-access/manage/subAgents.d.ts +12 -12
  14. package/dist/data-access/manage/tools.d.ts +15 -15
  15. package/dist/data-access/manage/triggers.d.ts +2 -2
  16. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  17. package/dist/data-access/runtime/apps.d.ts +6 -6
  18. package/dist/data-access/runtime/conversations.d.ts +16 -16
  19. package/dist/data-access/runtime/messages.d.ts +12 -12
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  21. package/dist/data-access/runtime/tasks.d.ts +2 -2
  22. package/dist/db/manage/manage-schema.d.ts +449 -449
  23. package/dist/db/runtime/runtime-schema.d.ts +378 -378
  24. package/dist/middleware/no-auth.d.ts +2 -2
  25. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  26. package/dist/validation/schemas/skills.d.ts +40 -40
  27. package/dist/validation/schemas.d.ts +2026 -2026
  28. package/package.json +1 -1
@@ -10,13 +10,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  tenantId: string;
13
+ projectId: string;
13
14
  id: string;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
17
  agentId: string;
17
- projectId: string;
18
- subAgentId: string;
19
18
  headers: Record<string, string> | null;
19
+ subAgentId: string;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -45,26 +45,26 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  tenantId: string;
48
+ projectId: string;
48
49
  id: string;
49
50
  createdAt: string;
50
51
  updatedAt: string;
51
52
  agentId: string;
52
- projectId: string;
53
- subAgentId: string;
54
53
  headers: Record<string, string> | null;
54
+ subAgentId: string;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  tenantId: string;
61
+ projectId: string;
61
62
  id: string;
62
63
  createdAt: string;
63
64
  updatedAt: string;
64
65
  agentId: string;
65
- projectId: string;
66
- subAgentId: string;
67
66
  headers: Record<string, string> | null;
67
+ subAgentId: string;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -223,13 +223,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
223
223
  };
224
224
  }) => Promise<{
225
225
  tenantId: string;
226
+ projectId: string;
226
227
  id: string;
227
228
  createdAt: string;
228
229
  updatedAt: string;
229
230
  agentId: string;
230
- projectId: string;
231
- subAgentId: string;
232
231
  headers: Record<string, string> | null;
232
+ subAgentId: string;
233
233
  targetAgentId: string;
234
234
  }>;
235
235
  /**
@@ -240,13 +240,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
240
240
  targetAgentId: string;
241
241
  }) => Promise<{
242
242
  tenantId: string;
243
+ projectId: string;
243
244
  id: string;
244
245
  createdAt: string;
245
246
  updatedAt: string;
246
247
  agentId: string;
247
- projectId: string;
248
- subAgentId: string;
249
248
  headers: Record<string, string> | null;
249
+ subAgentId: string;
250
250
  targetAgentId: string;
251
251
  } | undefined>;
252
252
  /**
@@ -261,13 +261,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
261
261
  };
262
262
  }) => Promise<{
263
263
  tenantId: string;
264
+ projectId: string;
264
265
  id: string;
265
266
  createdAt: string;
266
267
  updatedAt: string;
267
268
  agentId: string;
268
- projectId: string;
269
- subAgentId: string;
270
269
  headers: Record<string, string> | null;
270
+ subAgentId: string;
271
271
  targetAgentId: string;
272
272
  }>;
273
273
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -10,12 +10,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
12
  tenantId: string;
13
+ projectId: string;
13
14
  id: string;
14
- createdAt: string;
15
15
  name: string;
16
- updatedAt: string;
17
- agentId: string;
18
- projectId: string;
19
16
  description: string | null;
20
17
  models: {
21
18
  base?: {
@@ -41,18 +38,18 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
41
38
  stopWhen: {
42
39
  stepCountIs?: number | undefined;
43
40
  } | null;
41
+ createdAt: string;
42
+ updatedAt: string;
43
+ agentId: string;
44
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  } | undefined>;
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
49
  tenantId: string;
50
+ projectId: string;
50
51
  id: string;
51
- createdAt: string;
52
52
  name: string;
53
- updatedAt: string;
54
- agentId: string;
55
- projectId: string;
56
53
  description: string | null;
57
54
  models: {
58
55
  base?: {
@@ -78,6 +75,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
78
75
  stopWhen: {
79
76
  stepCountIs?: number | undefined;
80
77
  } | null;
78
+ createdAt: string;
79
+ updatedAt: string;
80
+ agentId: string;
81
81
  conversationHistoryConfig: ConversationHistoryConfig | null;
82
82
  }[]>;
83
83
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -128,12 +128,9 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
130
  tenantId: string;
131
+ projectId: string;
131
132
  id: string;
132
- createdAt: string;
133
133
  name: string;
134
- updatedAt: string;
135
- agentId: string;
136
- projectId: string;
137
134
  description: string | null;
138
135
  models: {
139
136
  base?: {
@@ -159,6 +156,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
159
156
  stopWhen: {
160
157
  stepCountIs?: number | undefined;
161
158
  } | null;
159
+ createdAt: string;
160
+ updatedAt: string;
161
+ agentId: string;
162
162
  conversationHistoryConfig: ConversationHistoryConfig | null;
163
163
  }>;
164
164
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -21,12 +21,12 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
21
21
  toolId: string;
22
22
  }) => Promise<{
23
23
  tenantId: string;
24
+ projectId: string;
24
25
  id: string;
25
- createdAt: string;
26
26
  name: string;
27
- updatedAt: string;
28
- projectId: string;
29
27
  description: string | null;
28
+ createdAt: string;
29
+ updatedAt: string;
30
30
  headers: Record<string, string> | null;
31
31
  config: {
32
32
  type: "mcp";
@@ -79,12 +79,12 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
81
  tenantId: string;
82
+ projectId: string;
82
83
  id: string;
83
- createdAt: string;
84
84
  name: string;
85
- updatedAt: string;
86
- projectId: string;
87
85
  description: string | null;
86
+ createdAt: string;
87
+ updatedAt: string;
88
88
  headers: Record<string, string> | null;
89
89
  config: {
90
90
  type: "mcp";
@@ -136,17 +136,17 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
136
136
  }> | null;
137
137
  }) => Promise<{
138
138
  tenantId: string;
139
+ projectId: string;
139
140
  id: string;
140
141
  createdAt: string;
141
142
  updatedAt: string;
142
143
  agentId: string;
143
- projectId: string;
144
- subAgentId: string;
145
144
  toolId: string;
146
145
  headers: Record<string, string> | null;
147
146
  toolPolicies: Record<string, {
148
147
  needsApproval?: boolean;
149
148
  }> | null;
149
+ subAgentId: string;
150
150
  selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -155,17 +155,17 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  toolId: string;
156
156
  }) => Promise<{
157
157
  tenantId: string;
158
+ projectId: string;
158
159
  id: string;
159
160
  createdAt: string;
160
161
  updatedAt: string;
161
162
  agentId: string;
162
- projectId: string;
163
- subAgentId: string;
164
163
  toolId: string;
165
164
  headers: Record<string, string> | null;
166
165
  toolPolicies: Record<string, {
167
166
  needsApproval?: boolean;
168
167
  }> | null;
168
+ subAgentId: string;
169
169
  selectedTools: string[] | null;
170
170
  }>;
171
171
  /**
@@ -183,17 +183,17 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
185
  tenantId: string;
186
+ projectId: string;
186
187
  id: string;
187
188
  createdAt: string;
188
189
  updatedAt: string;
189
190
  agentId: string;
190
- projectId: string;
191
- subAgentId: string;
192
191
  toolId: string;
193
192
  headers: Record<string, string> | null;
194
193
  toolPolicies: Record<string, {
195
194
  needsApproval?: boolean;
196
195
  }> | null;
196
+ subAgentId: string;
197
197
  selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
@@ -203,12 +203,12 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
205
  tenantId: string;
206
+ projectId: string;
206
207
  id: string;
207
- createdAt: string;
208
208
  name: string;
209
- updatedAt: string;
210
- projectId: string;
211
209
  description: string | null;
210
+ createdAt: string;
211
+ updatedAt: string;
212
212
  headers: Record<string, string> | null;
213
213
  config: {
214
214
  type: "mcp";
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "header" | "literal" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -9,12 +9,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  id: string;
10
10
  }) => Promise<{
11
11
  tenantId: string;
12
+ projectId: string;
12
13
  id: string;
13
- createdAt: string;
14
14
  name: string | null;
15
+ createdAt: string;
15
16
  updatedAt: string;
16
17
  agentId: string;
17
- projectId: string;
18
18
  expiresAt: string | null;
19
19
  publicId: string;
20
20
  keyHash: string;
@@ -23,12 +23,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  tenantId: string;
26
+ projectId: string;
26
27
  id: string;
27
- createdAt: string;
28
28
  name: string | null;
29
+ createdAt: string;
29
30
  updatedAt: string;
30
31
  agentId: string;
31
- projectId: string;
32
32
  expiresAt: string | null;
33
33
  publicId: string;
34
34
  keyHash: string;
@@ -40,12 +40,12 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
42
  tenantId: string;
43
+ projectId: string;
43
44
  id: string;
44
- createdAt: string;
45
45
  name: string | null;
46
+ createdAt: string;
46
47
  updatedAt: string;
47
48
  agentId: string;
48
- projectId: string;
49
49
  expiresAt: string | null;
50
50
  publicId: string;
51
51
  keyHash: string;
@@ -67,12 +67,12 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
69
  tenantId: string;
70
+ projectId: string;
70
71
  id: string;
71
- createdAt: string;
72
72
  name: string | null;
73
+ createdAt: string;
73
74
  updatedAt: string;
74
75
  agentId: string;
75
- projectId: string;
76
76
  expiresAt: string | null;
77
77
  publicId: string;
78
78
  keyHash: string;
@@ -7,14 +7,14 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
9
  tenantId: string | null;
10
+ projectId: string | null;
10
11
  id: string;
11
- createdAt: string;
12
12
  name: string;
13
- updatedAt: string;
14
- projectId: string | null;
15
13
  description: string | null;
16
14
  enabled: boolean;
17
15
  prompt: string | null;
16
+ createdAt: string;
17
+ updatedAt: string;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -63,14 +63,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
64
  type: AppType;
65
65
  tenantId: string | null;
66
+ projectId: string | null;
66
67
  id: string;
67
- createdAt: string;
68
68
  name: string;
69
- updatedAt: string;
70
- projectId: string | null;
71
69
  description: string | null;
72
70
  enabled: boolean;
73
71
  prompt: string | null;
72
+ createdAt: string;
73
+ updatedAt: string;
74
74
  config: {
75
75
  type: "web_client";
76
76
  webClient: {
@@ -16,14 +16,14 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
18
  tenantId: string;
19
- userId: string | null;
19
+ projectId: string;
20
20
  id: string;
21
+ title: string | null;
21
22
  createdAt: string;
22
23
  updatedAt: string;
23
- agentId: string | null;
24
- projectId: string;
25
- title: string | null;
26
24
  metadata: ConversationMetadata | null;
25
+ agentId: string | null;
26
+ userId: string | null;
27
27
  ref: {
28
28
  type: "commit" | "tag" | "branch";
29
29
  name: string;
@@ -85,14 +85,14 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
87
  tenantId: string;
88
- userId: string | null;
88
+ projectId: string;
89
89
  id: string;
90
+ title: string | null;
90
91
  createdAt: string;
91
92
  updatedAt: string;
92
- agentId: string | null;
93
- projectId: string;
94
- title: string | null;
95
93
  metadata: ConversationMetadata | null;
94
+ agentId: string | null;
95
+ userId: string | null;
96
96
  ref: {
97
97
  type: "commit" | "tag" | "branch";
98
98
  name: string;
@@ -121,14 +121,14 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
123
  tenantId: string;
124
- userId: string | null;
124
+ projectId: string;
125
125
  id: string;
126
+ title: string | null;
126
127
  createdAt: string;
127
128
  updatedAt: string;
128
- agentId: string | null;
129
- projectId: string;
130
- title: string | null;
131
129
  metadata: ConversationMetadata | null;
130
+ agentId: string | null;
131
+ userId: string | null;
132
132
  ref: {
133
133
  type: "commit" | "tag" | "branch";
134
134
  name: string;
@@ -153,14 +153,14 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
155
  tenantId: string;
156
- userId: string | null;
156
+ projectId: string;
157
157
  id: string;
158
+ title: string | null;
158
159
  createdAt: string;
159
160
  updatedAt: string;
160
- agentId: string | null;
161
- projectId: string;
162
- title: string | null;
163
161
  metadata: ConversationMetadata | null;
162
+ agentId: string | null;
163
+ userId: string | null;
164
164
  ref: {
165
165
  type: "commit" | "tag" | "branch";
166
166
  name: string;
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  tenantId: string;
14
+ projectId: string;
14
15
  id: string;
15
16
  createdAt: string;
16
17
  updatedAt: string;
17
- projectId: string;
18
18
  metadata: MessageMetadata | null;
19
19
  content: MessageContent;
20
20
  role: string;
21
+ conversationId: string;
21
22
  fromSubAgentId: string | null;
22
23
  toSubAgentId: string | null;
23
24
  fromExternalAgentId: string | null;
24
25
  toExternalAgentId: string | null;
25
- taskId: string | null;
26
- a2aTaskId: string | null;
27
- conversationId: string;
28
26
  fromTeamAgentId: string | null;
29
27
  toTeamAgentId: string | null;
30
28
  visibility: string;
31
29
  messageType: string;
30
+ taskId: string | null;
32
31
  parentMessageId: string | null;
32
+ a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -145,25 +145,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
147
  tenantId: string;
148
+ projectId: string;
148
149
  id: string;
149
150
  createdAt: string;
150
151
  updatedAt: string;
151
- projectId: string;
152
152
  metadata: MessageMetadata | null;
153
153
  content: MessageContent;
154
154
  role: string;
155
+ conversationId: string;
155
156
  fromSubAgentId: string | null;
156
157
  toSubAgentId: string | null;
157
158
  fromExternalAgentId: string | null;
158
159
  toExternalAgentId: string | null;
159
- taskId: string | null;
160
- a2aTaskId: string | null;
161
- conversationId: string;
162
160
  fromTeamAgentId: string | null;
163
161
  toTeamAgentId: string | null;
164
162
  visibility: string;
165
163
  messageType: string;
164
+ taskId: string | null;
166
165
  parentMessageId: string | null;
166
+ a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -198,25 +198,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
198
198
  messageId: string;
199
199
  }) => Promise<{
200
200
  tenantId: string;
201
+ projectId: string;
201
202
  id: string;
202
203
  createdAt: string;
203
204
  updatedAt: string;
204
- projectId: string;
205
205
  metadata: MessageMetadata | null;
206
206
  content: MessageContent;
207
207
  role: string;
208
+ conversationId: string;
208
209
  fromSubAgentId: string | null;
209
210
  toSubAgentId: string | null;
210
211
  fromExternalAgentId: string | null;
211
212
  toExternalAgentId: string | null;
212
- taskId: string | null;
213
- a2aTaskId: string | null;
214
- conversationId: string;
215
213
  fromTeamAgentId: string | null;
216
214
  toTeamAgentId: string | null;
217
215
  visibility: string;
218
216
  messageType: string;
217
+ taskId: string | null;
219
218
  parentMessageId: string | null;
219
+ a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  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;
@@ -194,7 +194,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
194
194
  name: string;
195
195
  hash: string;
196
196
  } | null;
197
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
197
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
198
198
  scheduledFor: string;
199
199
  startedAt: string | null;
200
200
  completedAt: string | null;
@@ -233,7 +233,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
233
233
  name: string;
234
234
  hash: string;
235
235
  } | null;
236
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
236
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
237
237
  scheduledFor: string;
238
238
  startedAt: string | null;
239
239
  completedAt: string | null;
@@ -285,7 +285,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
285
285
  name: string;
286
286
  hash: string;
287
287
  } | null;
288
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
288
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
289
289
  scheduledFor: string;
290
290
  startedAt: string | null;
291
291
  completedAt: string | null;
@@ -8,12 +8,12 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
10
  tenantId: string;
11
+ projectId: string;
11
12
  id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- agentId: string;
15
- projectId: string;
16
15
  metadata: TaskMetadataConfig | null;
16
+ agentId: string;
17
17
  subAgentId: string;
18
18
  status: string;
19
19
  ref: {