@inkeep/agents-core 0.53.6 → 0.53.8
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.
- package/dist/auth/auth.d.ts +9 -9
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +1 -1
- package/dist/constants/otel-attributes.d.ts +1 -0
- package/dist/constants/otel-attributes.js +1 -0
- package/dist/data-access/manage/agents.d.ts +16 -16
- package/dist/data-access/manage/artifactComponents.d.ts +4 -4
- package/dist/data-access/manage/contextConfigs.d.ts +4 -4
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +6 -6
- package/dist/data-access/manage/skills.d.ts +5 -5
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +14 -14
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +18 -18
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/conversations.d.ts +8 -8
- package/dist/data-access/runtime/messages.d.ts +12 -12
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +1 -1
- package/dist/db/manage/manage-schema.d.ts +445 -445
- package/dist/db/runtime/runtime-schema.d.ts +292 -292
- package/dist/utils/service-token-auth.d.ts +1 -1
- package/dist/utils/service-token-auth.js +2 -2
- package/dist/utils/slack-user-token.js +1 -1
- package/dist/validation/schemas.d.ts +1412 -1412
- package/dist/validation/schemas.js +7 -1
- package/package.json +1 -1
|
@@ -12,10 +12,10 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
-
|
|
15
|
+
headers: Record<string, string> | null;
|
|
16
16
|
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
17
18
|
agentId: string;
|
|
18
|
-
headers: Record<string, string> | null;
|
|
19
19
|
subAgentId: string;
|
|
20
20
|
targetAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
@@ -47,10 +47,10 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
|
|
|
47
47
|
id: string;
|
|
48
48
|
createdAt: string;
|
|
49
49
|
updatedAt: string;
|
|
50
|
-
|
|
50
|
+
headers: Record<string, string> | null;
|
|
51
51
|
projectId: string;
|
|
52
|
+
tenantId: string;
|
|
52
53
|
agentId: string;
|
|
53
|
-
headers: Record<string, string> | null;
|
|
54
54
|
subAgentId: string;
|
|
55
55
|
targetAgentId: string;
|
|
56
56
|
}[]>;
|
|
@@ -60,10 +60,10 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
|
|
|
60
60
|
id: string;
|
|
61
61
|
createdAt: string;
|
|
62
62
|
updatedAt: string;
|
|
63
|
-
|
|
63
|
+
headers: Record<string, string> | null;
|
|
64
64
|
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
65
66
|
agentId: string;
|
|
66
|
-
headers: Record<string, string> | null;
|
|
67
67
|
subAgentId: string;
|
|
68
68
|
targetAgentId: string;
|
|
69
69
|
}[]>;
|
|
@@ -213,10 +213,10 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
213
213
|
id: string;
|
|
214
214
|
createdAt: string;
|
|
215
215
|
updatedAt: string;
|
|
216
|
-
|
|
216
|
+
headers: Record<string, string> | null;
|
|
217
217
|
projectId: string;
|
|
218
|
+
tenantId: string;
|
|
218
219
|
agentId: string;
|
|
219
|
-
headers: Record<string, string> | null;
|
|
220
220
|
subAgentId: string;
|
|
221
221
|
targetAgentId: string;
|
|
222
222
|
}>;
|
|
@@ -230,10 +230,10 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
230
230
|
id: string;
|
|
231
231
|
createdAt: string;
|
|
232
232
|
updatedAt: string;
|
|
233
|
-
|
|
233
|
+
headers: Record<string, string> | null;
|
|
234
234
|
projectId: string;
|
|
235
|
+
tenantId: string;
|
|
235
236
|
agentId: string;
|
|
236
|
-
headers: Record<string, string> | null;
|
|
237
237
|
subAgentId: string;
|
|
238
238
|
targetAgentId: string;
|
|
239
239
|
} | undefined>;
|
|
@@ -251,10 +251,10 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
251
251
|
id: string;
|
|
252
252
|
createdAt: string;
|
|
253
253
|
updatedAt: string;
|
|
254
|
-
|
|
254
|
+
headers: Record<string, string> | null;
|
|
255
255
|
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
256
257
|
agentId: string;
|
|
257
|
-
headers: Record<string, string> | null;
|
|
258
258
|
subAgentId: string;
|
|
259
259
|
targetAgentId: string;
|
|
260
260
|
}>;
|
|
@@ -14,11 +14,8 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
14
14
|
createdAt: string;
|
|
15
15
|
updatedAt: string;
|
|
16
16
|
description: string | null;
|
|
17
|
-
tenantId: string;
|
|
18
17
|
projectId: string;
|
|
19
|
-
|
|
20
|
-
prompt: string | null;
|
|
21
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
18
|
+
tenantId: string;
|
|
22
19
|
models: {
|
|
23
20
|
base?: {
|
|
24
21
|
model?: string | undefined;
|
|
@@ -36,6 +33,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
36
33
|
stopWhen: {
|
|
37
34
|
stepCountIs?: number | undefined;
|
|
38
35
|
} | null;
|
|
36
|
+
agentId: string;
|
|
37
|
+
prompt: string | null;
|
|
38
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
41
41
|
scopes: AgentScopeConfig;
|
|
@@ -45,11 +45,8 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
45
45
|
createdAt: string;
|
|
46
46
|
updatedAt: string;
|
|
47
47
|
description: string | null;
|
|
48
|
-
tenantId: string;
|
|
49
48
|
projectId: string;
|
|
50
|
-
|
|
51
|
-
prompt: string | null;
|
|
52
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
49
|
+
tenantId: string;
|
|
53
50
|
models: {
|
|
54
51
|
base?: {
|
|
55
52
|
model?: string | undefined;
|
|
@@ -67,6 +64,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
67
64
|
stopWhen: {
|
|
68
65
|
stepCountIs?: number | undefined;
|
|
69
66
|
} | null;
|
|
67
|
+
agentId: string;
|
|
68
|
+
prompt: string | null;
|
|
69
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
72
72
|
scopes: AgentScopeConfig;
|
|
@@ -114,11 +114,8 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
114
114
|
createdAt: string;
|
|
115
115
|
updatedAt: string;
|
|
116
116
|
description: string | null;
|
|
117
|
-
tenantId: string;
|
|
118
117
|
projectId: string;
|
|
119
|
-
|
|
120
|
-
prompt: string | null;
|
|
121
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
118
|
+
tenantId: string;
|
|
122
119
|
models: {
|
|
123
120
|
base?: {
|
|
124
121
|
model?: string | undefined;
|
|
@@ -136,6 +133,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
136
133
|
stopWhen: {
|
|
137
134
|
stepCountIs?: number | undefined;
|
|
138
135
|
} | null;
|
|
136
|
+
agentId: string;
|
|
137
|
+
prompt: string | null;
|
|
138
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
139
139
|
}>;
|
|
140
140
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
141
141
|
scopes: AgentScopeConfig;
|
|
@@ -24,9 +24,9 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
24
24
|
createdAt: string;
|
|
25
25
|
updatedAt: string;
|
|
26
26
|
description: string | null;
|
|
27
|
-
tenantId: string;
|
|
28
|
-
projectId: string;
|
|
29
27
|
headers: Record<string, string> | null;
|
|
28
|
+
projectId: string;
|
|
29
|
+
tenantId: string;
|
|
30
30
|
config: {
|
|
31
31
|
type: "mcp";
|
|
32
32
|
mcp: ToolMcpConfig;
|
|
@@ -82,9 +82,9 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
|
|
|
82
82
|
createdAt: string;
|
|
83
83
|
updatedAt: string;
|
|
84
84
|
description: string | null;
|
|
85
|
-
tenantId: string;
|
|
86
|
-
projectId: string;
|
|
87
85
|
headers: Record<string, string> | null;
|
|
86
|
+
projectId: string;
|
|
87
|
+
tenantId: string;
|
|
88
88
|
config: {
|
|
89
89
|
type: "mcp";
|
|
90
90
|
mcp: ToolMcpConfig;
|
|
@@ -137,15 +137,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
137
137
|
id: string;
|
|
138
138
|
createdAt: string;
|
|
139
139
|
updatedAt: string;
|
|
140
|
-
|
|
140
|
+
headers: Record<string, string> | null;
|
|
141
|
+
toolId: string;
|
|
141
142
|
projectId: string;
|
|
143
|
+
tenantId: string;
|
|
142
144
|
agentId: string;
|
|
143
|
-
|
|
144
|
-
headers: Record<string, string> | null;
|
|
145
|
+
subAgentId: string;
|
|
145
146
|
toolPolicies: Record<string, {
|
|
146
147
|
needsApproval?: boolean;
|
|
147
148
|
}> | null;
|
|
148
|
-
subAgentId: string;
|
|
149
149
|
selectedTools: string[] | null;
|
|
150
150
|
}>;
|
|
151
151
|
declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -156,15 +156,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
156
156
|
id: string;
|
|
157
157
|
createdAt: string;
|
|
158
158
|
updatedAt: string;
|
|
159
|
-
|
|
159
|
+
headers: Record<string, string> | null;
|
|
160
|
+
toolId: string;
|
|
160
161
|
projectId: string;
|
|
162
|
+
tenantId: string;
|
|
161
163
|
agentId: string;
|
|
162
|
-
|
|
163
|
-
headers: Record<string, string> | null;
|
|
164
|
+
subAgentId: string;
|
|
164
165
|
toolPolicies: Record<string, {
|
|
165
166
|
needsApproval?: boolean;
|
|
166
167
|
}> | null;
|
|
167
|
-
subAgentId: string;
|
|
168
168
|
selectedTools: string[] | null;
|
|
169
169
|
}>;
|
|
170
170
|
/**
|
|
@@ -184,15 +184,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
184
184
|
id: string;
|
|
185
185
|
createdAt: string;
|
|
186
186
|
updatedAt: string;
|
|
187
|
-
|
|
187
|
+
headers: Record<string, string> | null;
|
|
188
|
+
toolId: string;
|
|
188
189
|
projectId: string;
|
|
190
|
+
tenantId: string;
|
|
189
191
|
agentId: string;
|
|
190
|
-
|
|
191
|
-
headers: Record<string, string> | null;
|
|
192
|
+
subAgentId: string;
|
|
192
193
|
toolPolicies: Record<string, {
|
|
193
194
|
needsApproval?: boolean;
|
|
194
195
|
}> | null;
|
|
195
|
-
subAgentId: string;
|
|
196
196
|
selectedTools: string[] | null;
|
|
197
197
|
}>;
|
|
198
198
|
/**
|
|
@@ -206,9 +206,9 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
206
206
|
createdAt: string;
|
|
207
207
|
updatedAt: string;
|
|
208
208
|
description: string | null;
|
|
209
|
-
tenantId: string;
|
|
210
|
-
projectId: string;
|
|
211
209
|
headers: Record<string, string> | null;
|
|
210
|
+
projectId: string;
|
|
211
|
+
tenantId: string;
|
|
212
212
|
config: {
|
|
213
213
|
type: "mcp";
|
|
214
214
|
mcp: ToolMcpConfig;
|
|
@@ -13,8 +13,8 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
expiresAt: string | null;
|
|
16
|
-
tenantId: string;
|
|
17
16
|
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
18
|
agentId: string;
|
|
19
19
|
publicId: string;
|
|
20
20
|
keyHash: string;
|
|
@@ -27,8 +27,8 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
|
|
|
27
27
|
createdAt: string;
|
|
28
28
|
updatedAt: string;
|
|
29
29
|
expiresAt: string | null;
|
|
30
|
-
tenantId: string;
|
|
31
30
|
projectId: string;
|
|
31
|
+
tenantId: string;
|
|
32
32
|
agentId: string;
|
|
33
33
|
publicId: string;
|
|
34
34
|
keyHash: string;
|
|
@@ -44,8 +44,8 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
46
|
expiresAt: string | null;
|
|
47
|
-
tenantId: string;
|
|
48
47
|
projectId: string;
|
|
48
|
+
tenantId: string;
|
|
49
49
|
agentId: string;
|
|
50
50
|
publicId: string;
|
|
51
51
|
keyHash: string;
|
|
@@ -71,8 +71,8 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
|
|
|
71
71
|
createdAt: string;
|
|
72
72
|
updatedAt: string;
|
|
73
73
|
expiresAt: string | null;
|
|
74
|
-
tenantId: string;
|
|
75
74
|
projectId: string;
|
|
75
|
+
tenantId: string;
|
|
76
76
|
agentId: string;
|
|
77
77
|
publicId: string;
|
|
78
78
|
keyHash: string;
|
|
@@ -26,10 +26,10 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
26
26
|
} | null;
|
|
27
27
|
userId: string | null;
|
|
28
28
|
metadata: ConversationMetadata | null;
|
|
29
|
-
tenantId: string;
|
|
30
29
|
projectId: string;
|
|
31
|
-
|
|
30
|
+
tenantId: string;
|
|
32
31
|
title: string | null;
|
|
32
|
+
agentId: string | null;
|
|
33
33
|
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
@@ -95,10 +95,10 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
95
95
|
} | null;
|
|
96
96
|
userId: string | null;
|
|
97
97
|
metadata: ConversationMetadata | null;
|
|
98
|
-
tenantId: string;
|
|
99
98
|
projectId: string;
|
|
100
|
-
|
|
99
|
+
tenantId: string;
|
|
101
100
|
title: string | null;
|
|
101
|
+
agentId: string | null;
|
|
102
102
|
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
@@ -131,10 +131,10 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
131
131
|
} | null;
|
|
132
132
|
userId: string | null;
|
|
133
133
|
metadata: ConversationMetadata | null;
|
|
134
|
-
tenantId: string;
|
|
135
134
|
projectId: string;
|
|
136
|
-
|
|
135
|
+
tenantId: string;
|
|
137
136
|
title: string | null;
|
|
137
|
+
agentId: string | null;
|
|
138
138
|
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
@@ -163,10 +163,10 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
163
163
|
} | null;
|
|
164
164
|
userId: string | null;
|
|
165
165
|
metadata: ConversationMetadata | null;
|
|
166
|
-
tenantId: string;
|
|
167
166
|
projectId: string;
|
|
168
|
-
|
|
167
|
+
tenantId: string;
|
|
169
168
|
title: string | null;
|
|
169
|
+
agentId: string | null;
|
|
170
170
|
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
@@ -15,21 +15,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
updatedAt: string;
|
|
16
16
|
metadata: MessageMetadata | null;
|
|
17
17
|
role: string;
|
|
18
|
-
tenantId: string;
|
|
19
18
|
projectId: string;
|
|
19
|
+
tenantId: string;
|
|
20
20
|
content: MessageContent;
|
|
21
|
-
conversationId: string;
|
|
22
21
|
fromSubAgentId: string | null;
|
|
23
22
|
toSubAgentId: string | null;
|
|
24
23
|
fromExternalAgentId: string | null;
|
|
25
24
|
toExternalAgentId: string | null;
|
|
25
|
+
taskId: string | null;
|
|
26
|
+
a2aTaskId: string | null;
|
|
27
|
+
conversationId: string;
|
|
26
28
|
fromTeamAgentId: string | null;
|
|
27
29
|
toTeamAgentId: string | null;
|
|
28
30
|
visibility: string;
|
|
29
31
|
messageType: string;
|
|
30
|
-
taskId: string | null;
|
|
31
32
|
parentMessageId: string | null;
|
|
32
|
-
a2aTaskId: string | null;
|
|
33
33
|
a2aSessionId: string | null;
|
|
34
34
|
} | undefined>;
|
|
35
35
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -146,21 +146,21 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
|
|
|
146
146
|
updatedAt: string;
|
|
147
147
|
metadata: MessageMetadata | null;
|
|
148
148
|
role: string;
|
|
149
|
-
tenantId: string;
|
|
150
149
|
projectId: string;
|
|
150
|
+
tenantId: string;
|
|
151
151
|
content: MessageContent;
|
|
152
|
-
conversationId: string;
|
|
153
152
|
fromSubAgentId: string | null;
|
|
154
153
|
toSubAgentId: string | null;
|
|
155
154
|
fromExternalAgentId: string | null;
|
|
156
155
|
toExternalAgentId: string | null;
|
|
156
|
+
taskId: string | null;
|
|
157
|
+
a2aTaskId: string | null;
|
|
158
|
+
conversationId: string;
|
|
157
159
|
fromTeamAgentId: string | null;
|
|
158
160
|
toTeamAgentId: string | null;
|
|
159
161
|
visibility: string;
|
|
160
162
|
messageType: string;
|
|
161
|
-
taskId: string | null;
|
|
162
163
|
parentMessageId: string | null;
|
|
163
|
-
a2aTaskId: string | null;
|
|
164
164
|
a2aSessionId: string | null;
|
|
165
165
|
}>;
|
|
166
166
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -199,21 +199,21 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
199
199
|
updatedAt: string;
|
|
200
200
|
metadata: MessageMetadata | null;
|
|
201
201
|
role: string;
|
|
202
|
-
tenantId: string;
|
|
203
202
|
projectId: string;
|
|
203
|
+
tenantId: string;
|
|
204
204
|
content: MessageContent;
|
|
205
|
-
conversationId: string;
|
|
206
205
|
fromSubAgentId: string | null;
|
|
207
206
|
toSubAgentId: string | null;
|
|
208
207
|
fromExternalAgentId: string | null;
|
|
209
208
|
toExternalAgentId: string | null;
|
|
209
|
+
taskId: string | null;
|
|
210
|
+
a2aTaskId: string | null;
|
|
211
|
+
conversationId: string;
|
|
210
212
|
fromTeamAgentId: string | null;
|
|
211
213
|
toTeamAgentId: string | null;
|
|
212
214
|
visibility: string;
|
|
213
215
|
messageType: string;
|
|
214
|
-
taskId: string | null;
|
|
215
216
|
parentMessageId: string | null;
|
|
216
|
-
a2aTaskId: string | null;
|
|
217
217
|
a2aSessionId: string | null;
|
|
218
218
|
}>;
|
|
219
219
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
|
|
|
34
34
|
}) => Promise<{
|
|
35
35
|
data: {
|
|
36
36
|
scheduledTriggerId: string;
|
|
37
|
-
status: "pending" | "
|
|
37
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
38
38
|
scheduledFor: string;
|
|
39
39
|
startedAt: string | null;
|
|
40
40
|
completedAt: string | null;
|
|
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
|
|
|
174
174
|
}) => Promise<{
|
|
175
175
|
data: {
|
|
176
176
|
scheduledTriggerId: string;
|
|
177
|
-
status: "pending" | "
|
|
177
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
178
178
|
scheduledFor: string;
|
|
179
179
|
startedAt: string | null;
|
|
180
180
|
completedAt: string | null;
|
|
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
|
|
|
208
208
|
}) => Promise<{
|
|
209
209
|
data: {
|
|
210
210
|
scheduledTriggerId: string;
|
|
211
|
-
status: "pending" | "
|
|
211
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
212
212
|
scheduledFor: string;
|
|
213
213
|
startedAt: string | null;
|
|
214
214
|
completedAt: string | null;
|
|
@@ -16,8 +16,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
16
16
|
} | null;
|
|
17
17
|
metadata: TaskMetadataConfig | null;
|
|
18
18
|
status: string;
|
|
19
|
-
tenantId: string;
|
|
20
19
|
projectId: string;
|
|
20
|
+
tenantId: string;
|
|
21
21
|
agentId: string;
|
|
22
22
|
subAgentId: string;
|
|
23
23
|
contextId: string;
|