@inkeep/agents-core 0.80.4 → 0.80.6
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 +227 -227
- package/dist/auth/auth-types.d.ts +7 -0
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.js +1 -1
- package/dist/auth/init.js +2 -1
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +25 -25
- package/dist/data-access/manage/artifactComponents.d.ts +8 -8
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/skills.d.ts +8 -8
- 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 +24 -24
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/apps.d.ts +13 -13
- package/dist/data-access/runtime/conversations.d.ts +36 -36
- package/dist/data-access/runtime/events.d.ts +3 -3
- package/dist/data-access/runtime/feedback.d.ts +6 -6
- package/dist/data-access/runtime/messages.d.ts +18 -18
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -5
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +7 -7
- package/dist/db/manage/manage-schema.d.ts +502 -502
- package/dist/db/runtime/runtime-schema.d.ts +462 -462
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +1 -1
- package/dist/setup/setup.js +4 -0
- package/dist/test-utils/mocks/logger.js +1 -1
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +41 -41
- package/dist/validation/schemas.d.ts +2138 -2138
- package/package.json +4 -4
|
@@ -13,25 +13,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
13
13
|
id: string;
|
|
14
14
|
properties: Record<string, unknown> | null;
|
|
15
15
|
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
tenantId: string;
|
|
18
16
|
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
19
18
|
metadata: MessageMetadata | null;
|
|
20
19
|
content: MessageContent;
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
conversationId: string;
|
|
22
|
+
userProperties: Record<string, unknown> | null;
|
|
21
23
|
role: 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: {
|
|
@@ -186,25 +186,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
186
186
|
id: string;
|
|
187
187
|
properties: Record<string, unknown> | null;
|
|
188
188
|
createdAt: string;
|
|
189
|
-
updatedAt: string;
|
|
190
|
-
tenantId: string;
|
|
191
189
|
projectId: string;
|
|
190
|
+
tenantId: string;
|
|
192
191
|
metadata: MessageMetadata | null;
|
|
193
192
|
content: MessageContent;
|
|
193
|
+
updatedAt: string;
|
|
194
|
+
conversationId: string;
|
|
195
|
+
userProperties: Record<string, unknown> | null;
|
|
194
196
|
role: string;
|
|
195
197
|
fromSubAgentId: string | null;
|
|
196
198
|
toSubAgentId: string | null;
|
|
197
199
|
fromExternalAgentId: string | null;
|
|
198
200
|
toExternalAgentId: string | null;
|
|
199
|
-
taskId: string | null;
|
|
200
|
-
a2aTaskId: string | null;
|
|
201
|
-
conversationId: string;
|
|
202
|
-
userProperties: Record<string, unknown> | null;
|
|
203
201
|
fromTeamAgentId: string | null;
|
|
204
202
|
toTeamAgentId: string | null;
|
|
205
203
|
visibility: string;
|
|
206
204
|
messageType: string;
|
|
205
|
+
taskId: string | null;
|
|
207
206
|
parentMessageId: string | null;
|
|
207
|
+
a2aTaskId: string | null;
|
|
208
208
|
a2aSessionId: string | null;
|
|
209
209
|
}>;
|
|
210
210
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -243,25 +243,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
243
243
|
id: string;
|
|
244
244
|
properties: Record<string, unknown> | null;
|
|
245
245
|
createdAt: string;
|
|
246
|
-
updatedAt: string;
|
|
247
|
-
tenantId: string;
|
|
248
246
|
projectId: string;
|
|
247
|
+
tenantId: string;
|
|
249
248
|
metadata: MessageMetadata | null;
|
|
250
249
|
content: MessageContent;
|
|
250
|
+
updatedAt: string;
|
|
251
|
+
conversationId: string;
|
|
252
|
+
userProperties: Record<string, unknown> | null;
|
|
251
253
|
role: string;
|
|
252
254
|
fromSubAgentId: string | null;
|
|
253
255
|
toSubAgentId: string | null;
|
|
254
256
|
fromExternalAgentId: string | null;
|
|
255
257
|
toExternalAgentId: string | null;
|
|
256
|
-
taskId: string | null;
|
|
257
|
-
a2aTaskId: string | null;
|
|
258
|
-
conversationId: string;
|
|
259
|
-
userProperties: Record<string, unknown> | null;
|
|
260
258
|
fromTeamAgentId: string | null;
|
|
261
259
|
toTeamAgentId: string | null;
|
|
262
260
|
visibility: string;
|
|
263
261
|
messageType: string;
|
|
262
|
+
taskId: string | null;
|
|
264
263
|
parentMessageId: string | null;
|
|
264
|
+
a2aTaskId: string | null;
|
|
265
265
|
a2aSessionId: string | null;
|
|
266
266
|
}>;
|
|
267
267
|
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" | "
|
|
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;
|
|
@@ -320,7 +320,7 @@ declare const listScheduledTriggerInvocationsByDatasetRunId: (db: AgentsRunDatab
|
|
|
320
320
|
name: string;
|
|
321
321
|
hash: string;
|
|
322
322
|
} | null;
|
|
323
|
-
status: "pending" | "
|
|
323
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
324
324
|
scheduledFor: string;
|
|
325
325
|
startedAt: string | null;
|
|
326
326
|
completedAt: string | null;
|
|
@@ -15,10 +15,10 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
|
|
|
15
15
|
scheduledTriggerId: string;
|
|
16
16
|
userId: string;
|
|
17
17
|
}) => Promise<{
|
|
18
|
+
scheduledTriggerId: string;
|
|
18
19
|
createdAt: string;
|
|
19
20
|
tenantId: string;
|
|
20
21
|
userId: string;
|
|
21
|
-
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
24
24
|
tenantId: string;
|
|
@@ -8,19 +8,19 @@ 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
|
id: string;
|
|
11
|
-
createdAt: string;
|
|
12
|
-
updatedAt: string;
|
|
13
|
-
tenantId: string;
|
|
14
|
-
projectId: string;
|
|
15
|
-
metadata: TaskMetadataConfig | null;
|
|
16
|
-
agentId: string;
|
|
17
|
-
subAgentId: string;
|
|
18
11
|
ref: {
|
|
19
12
|
type: "commit" | "tag" | "branch";
|
|
20
13
|
name: string;
|
|
21
14
|
hash: string;
|
|
22
15
|
} | null;
|
|
23
16
|
status: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
agentId: string;
|
|
19
|
+
projectId: string;
|
|
20
|
+
tenantId: string;
|
|
21
|
+
metadata: TaskMetadataConfig | null;
|
|
22
|
+
subAgentId: string;
|
|
23
|
+
updatedAt: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|