@inkeep/agents-core 0.74.3 → 0.74.4
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-schema.d.ts +163 -163
- package/dist/auth/auth-validation-schemas.d.ts +137 -137
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/constants/models.d.ts +1 -0
- package/dist/constants/models.js +1 -0
- package/dist/data-access/manage/agents.d.ts +41 -41
- package/dist/data-access/manage/artifactComponents.d.ts +16 -16
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +8 -8
- package/dist/data-access/manage/functionTools.d.ts +18 -18
- package/dist/data-access/manage/skills.d.ts +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +27 -27
- package/dist/data-access/manage/triggers.d.ts +3 -3
- package/dist/data-access/runtime/apiKeys.d.ts +20 -20
- package/dist/data-access/runtime/apps.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +20 -20
- package/dist/data-access/runtime/events.d.ts +4 -4
- package/dist/data-access/runtime/feedback.d.ts +4 -4
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +379 -379
- package/dist/db/runtime/runtime-schema.d.ts +411 -411
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +38 -38
- package/dist/validation/schemas.d.ts +2246 -2246
- package/package.json +1 -1
|
@@ -71,11 +71,11 @@ 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;
|
|
76
74
|
id: string;
|
|
77
75
|
createdAt: string;
|
|
78
76
|
updatedAt: string;
|
|
77
|
+
projectId: string;
|
|
78
|
+
tenantId: string;
|
|
79
79
|
conversationId: string;
|
|
80
80
|
messageId: string | null;
|
|
81
81
|
details: string | null;
|
|
@@ -101,11 +101,11 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
101
101
|
feedbackId: string;
|
|
102
102
|
}) => Promise<{
|
|
103
103
|
type: "positive" | "negative";
|
|
104
|
-
tenantId: string;
|
|
105
|
-
projectId: string;
|
|
106
104
|
id: string;
|
|
107
105
|
createdAt: string;
|
|
108
106
|
updatedAt: string;
|
|
107
|
+
projectId: string;
|
|
108
|
+
tenantId: string;
|
|
109
109
|
conversationId: string;
|
|
110
110
|
messageId: string | null;
|
|
111
111
|
details: string | null;
|
|
@@ -10,18 +10,16 @@ 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;
|
|
16
13
|
id: string;
|
|
17
14
|
createdAt: string;
|
|
18
15
|
updatedAt: string;
|
|
19
16
|
metadata: MessageMetadata | null;
|
|
20
17
|
role: string;
|
|
18
|
+
projectId: string;
|
|
19
|
+
tenantId: string;
|
|
20
|
+
properties: Record<string, unknown> | null;
|
|
21
21
|
content: MessageContent;
|
|
22
22
|
conversationId: string;
|
|
23
|
-
taskId: string | null;
|
|
24
|
-
visibility: string;
|
|
25
23
|
userProperties: Record<string, unknown> | null;
|
|
26
24
|
fromSubAgentId: string | null;
|
|
27
25
|
toSubAgentId: string | null;
|
|
@@ -29,7 +27,9 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
29
27
|
toExternalAgentId: string | null;
|
|
30
28
|
fromTeamAgentId: string | null;
|
|
31
29
|
toTeamAgentId: string | null;
|
|
30
|
+
visibility: string;
|
|
32
31
|
messageType: string;
|
|
32
|
+
taskId: string | null;
|
|
33
33
|
parentMessageId: string | null;
|
|
34
34
|
a2aTaskId: string | null;
|
|
35
35
|
a2aSessionId: string | null;
|
|
@@ -154,18 +154,16 @@ 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;
|
|
160
157
|
id: string;
|
|
161
158
|
createdAt: string;
|
|
162
159
|
updatedAt: string;
|
|
163
160
|
metadata: MessageMetadata | null;
|
|
164
161
|
role: string;
|
|
162
|
+
projectId: string;
|
|
163
|
+
tenantId: string;
|
|
164
|
+
properties: Record<string, unknown> | null;
|
|
165
165
|
content: MessageContent;
|
|
166
166
|
conversationId: string;
|
|
167
|
-
taskId: string | null;
|
|
168
|
-
visibility: string;
|
|
169
167
|
userProperties: Record<string, unknown> | null;
|
|
170
168
|
fromSubAgentId: string | null;
|
|
171
169
|
toSubAgentId: string | null;
|
|
@@ -173,7 +171,9 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
173
171
|
toExternalAgentId: string | null;
|
|
174
172
|
fromTeamAgentId: string | null;
|
|
175
173
|
toTeamAgentId: string | null;
|
|
174
|
+
visibility: string;
|
|
176
175
|
messageType: string;
|
|
176
|
+
taskId: string | null;
|
|
177
177
|
parentMessageId: string | null;
|
|
178
178
|
a2aTaskId: string | null;
|
|
179
179
|
a2aSessionId: string | null;
|
|
@@ -211,18 +211,16 @@ 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;
|
|
217
214
|
id: string;
|
|
218
215
|
createdAt: string;
|
|
219
216
|
updatedAt: string;
|
|
220
217
|
metadata: MessageMetadata | null;
|
|
221
218
|
role: string;
|
|
219
|
+
projectId: string;
|
|
220
|
+
tenantId: string;
|
|
221
|
+
properties: Record<string, unknown> | null;
|
|
222
222
|
content: MessageContent;
|
|
223
223
|
conversationId: string;
|
|
224
|
-
taskId: string | null;
|
|
225
|
-
visibility: string;
|
|
226
224
|
userProperties: Record<string, unknown> | null;
|
|
227
225
|
fromSubAgentId: string | null;
|
|
228
226
|
toSubAgentId: string | null;
|
|
@@ -230,7 +228,9 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
230
228
|
toExternalAgentId: string | null;
|
|
231
229
|
fromTeamAgentId: string | null;
|
|
232
230
|
toTeamAgentId: string | null;
|
|
231
|
+
visibility: string;
|
|
233
232
|
messageType: string;
|
|
233
|
+
taskId: string | null;
|
|
234
234
|
parentMessageId: string | null;
|
|
235
235
|
a2aTaskId: string | null;
|
|
236
236
|
a2aSessionId: string | null;
|
|
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
|
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|
|
43
|
-
status: "pending" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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;
|
|
19
18
|
createdAt: string;
|
|
20
19
|
userId: string;
|
|
20
|
+
tenantId: string;
|
|
21
21
|
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -7,10 +7,6 @@ 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;
|
|
14
10
|
id: string;
|
|
15
11
|
createdAt: string;
|
|
16
12
|
updatedAt: string;
|
|
@@ -21,6 +17,10 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
21
17
|
} | null;
|
|
22
18
|
metadata: TaskMetadataConfig | null;
|
|
23
19
|
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: {
|