@inkeep/agents-core 0.53.4 → 0.53.5
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 +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +31 -31
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/skills.d.ts +13 -13
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +21 -21
- package/dist/data-access/manage/tools.d.ts +18 -18
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +12 -12
- package/dist/data-access/runtime/messages.d.ts +27 -27
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +353 -353
- package/dist/db/runtime/runtime-schema.d.ts +264 -264
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1905 -1905
- package/package.json +1 -1
|
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
|
|
13
|
+
id: string;
|
|
14
14
|
tenantId: string;
|
|
15
15
|
projectId: string;
|
|
16
|
-
fromSubAgentId: string | null;
|
|
17
|
-
toSubAgentId: string | null;
|
|
18
|
-
fromExternalAgentId: string | null;
|
|
19
|
-
toExternalAgentId: string | null;
|
|
20
|
-
taskId: string | null;
|
|
21
|
-
a2aTaskId: string | null;
|
|
22
|
-
id: string;
|
|
23
16
|
createdAt: string;
|
|
24
17
|
updatedAt: string;
|
|
25
18
|
metadata: MessageMetadata | null;
|
|
26
|
-
|
|
19
|
+
content: MessageContent;
|
|
27
20
|
role: string;
|
|
21
|
+
conversationId: string;
|
|
22
|
+
fromSubAgentId: string | null;
|
|
23
|
+
toSubAgentId: string | null;
|
|
24
|
+
fromExternalAgentId: string | null;
|
|
25
|
+
toExternalAgentId: string | null;
|
|
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: {
|
|
@@ -141,26 +141,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
141
141
|
id: string;
|
|
142
142
|
}[]>;
|
|
143
143
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
144
|
-
|
|
144
|
+
id: string;
|
|
145
145
|
tenantId: string;
|
|
146
146
|
projectId: string;
|
|
147
|
-
fromSubAgentId: string | null;
|
|
148
|
-
toSubAgentId: string | null;
|
|
149
|
-
fromExternalAgentId: string | null;
|
|
150
|
-
toExternalAgentId: string | null;
|
|
151
|
-
taskId: string | null;
|
|
152
|
-
a2aTaskId: string | null;
|
|
153
|
-
id: string;
|
|
154
147
|
createdAt: string;
|
|
155
148
|
updatedAt: string;
|
|
156
149
|
metadata: MessageMetadata | null;
|
|
157
|
-
|
|
150
|
+
content: MessageContent;
|
|
158
151
|
role: string;
|
|
152
|
+
conversationId: string;
|
|
153
|
+
fromSubAgentId: string | null;
|
|
154
|
+
toSubAgentId: string | null;
|
|
155
|
+
fromExternalAgentId: string | null;
|
|
156
|
+
toExternalAgentId: string | null;
|
|
159
157
|
fromTeamAgentId: string | null;
|
|
160
158
|
toTeamAgentId: string | null;
|
|
161
159
|
visibility: string;
|
|
162
160
|
messageType: string;
|
|
161
|
+
taskId: string | null;
|
|
163
162
|
parentMessageId: string | null;
|
|
163
|
+
a2aTaskId: string | null;
|
|
164
164
|
a2aSessionId: string | null;
|
|
165
165
|
}>;
|
|
166
166
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -194,26 +194,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
194
194
|
scopes: ProjectScopeConfig;
|
|
195
195
|
messageId: string;
|
|
196
196
|
}) => Promise<{
|
|
197
|
-
|
|
197
|
+
id: string;
|
|
198
198
|
tenantId: string;
|
|
199
199
|
projectId: string;
|
|
200
|
-
fromSubAgentId: string | null;
|
|
201
|
-
toSubAgentId: string | null;
|
|
202
|
-
fromExternalAgentId: string | null;
|
|
203
|
-
toExternalAgentId: string | null;
|
|
204
|
-
taskId: string | null;
|
|
205
|
-
a2aTaskId: string | null;
|
|
206
|
-
id: string;
|
|
207
200
|
createdAt: string;
|
|
208
201
|
updatedAt: string;
|
|
209
202
|
metadata: MessageMetadata | null;
|
|
210
|
-
|
|
203
|
+
content: MessageContent;
|
|
211
204
|
role: string;
|
|
205
|
+
conversationId: string;
|
|
206
|
+
fromSubAgentId: string | null;
|
|
207
|
+
toSubAgentId: string | null;
|
|
208
|
+
fromExternalAgentId: string | null;
|
|
209
|
+
toExternalAgentId: string | null;
|
|
212
210
|
fromTeamAgentId: string | null;
|
|
213
211
|
toTeamAgentId: string | null;
|
|
214
212
|
visibility: string;
|
|
215
213
|
messageType: string;
|
|
214
|
+
taskId: string | null;
|
|
216
215
|
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" | "running" | "completed" | "failed" | "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" | "running" | "completed" | "failed" | "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" | "running" | "completed" | "failed" | "cancelled";
|
|
212
212
|
scheduledFor: string;
|
|
213
213
|
startedAt: string | null;
|
|
214
214
|
completedAt: string | null;
|
|
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
6
6
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
|
+
id: string;
|
|
9
10
|
tenantId: string;
|
|
10
11
|
projectId: string;
|
|
11
|
-
|
|
12
|
-
id: string;
|
|
12
|
+
agentId: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
metadata: TaskMetadataConfig | null;
|
|
16
|
-
agentId: string;
|
|
17
16
|
status: string;
|
|
18
|
-
|
|
17
|
+
subAgentId: string;
|
|
19
18
|
ref: {
|
|
20
19
|
type: "commit" | "tag" | "branch";
|
|
21
20
|
name: string;
|
|
22
21
|
hash: string;
|
|
23
22
|
} | null;
|
|
23
|
+
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|