@inkeep/agents-core 0.0.0-dev-20260401192843 → 0.0.0-dev-20260402150502
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-validation-schemas.d.ts +17 -17
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +20 -20
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- 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 +16 -16
- package/dist/data-access/manage/skills.d.ts +10 -10
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +21 -21
- package/dist/data-access/manage/triggers.d.ts +4 -4
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +10 -10
- package/dist/data-access/runtime/conversations.d.ts +16 -16
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +8 -8
- package/dist/db/runtime/runtime-schema.d.ts +348 -348
- package/dist/middleware/no-auth.d.ts +2 -2
- 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 +37 -37
- package/dist/validation/schemas.d.ts +795 -795
- package/package.json +1 -1
|
@@ -15,10 +15,6 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
-
title: string | null;
|
|
19
|
-
tenantId: string;
|
|
20
|
-
projectId: string;
|
|
21
|
-
agentId: string | null;
|
|
22
18
|
id: string;
|
|
23
19
|
createdAt: string;
|
|
24
20
|
updatedAt: string;
|
|
@@ -29,6 +25,10 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
29
25
|
} | null;
|
|
30
26
|
userId: string | null;
|
|
31
27
|
metadata: ConversationMetadata | null;
|
|
28
|
+
tenantId: string;
|
|
29
|
+
projectId: string;
|
|
30
|
+
agentId: string | null;
|
|
31
|
+
title: string | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
@@ -84,10 +84,6 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
-
title: string | null;
|
|
88
|
-
tenantId: string;
|
|
89
|
-
projectId: string;
|
|
90
|
-
agentId: string | null;
|
|
91
87
|
id: string;
|
|
92
88
|
createdAt: string;
|
|
93
89
|
updatedAt: string;
|
|
@@ -98,6 +94,10 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
98
94
|
} | null;
|
|
99
95
|
userId: string | null;
|
|
100
96
|
metadata: ConversationMetadata | null;
|
|
97
|
+
tenantId: string;
|
|
98
|
+
projectId: string;
|
|
99
|
+
agentId: string | null;
|
|
100
|
+
title: string | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
@@ -120,10 +120,6 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
-
title: string | null;
|
|
124
|
-
tenantId: string;
|
|
125
|
-
projectId: string;
|
|
126
|
-
agentId: string | null;
|
|
127
123
|
id: string;
|
|
128
124
|
createdAt: string;
|
|
129
125
|
updatedAt: string;
|
|
@@ -134,6 +130,10 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
134
130
|
} | null;
|
|
135
131
|
userId: string | null;
|
|
136
132
|
metadata: ConversationMetadata | null;
|
|
133
|
+
tenantId: string;
|
|
134
|
+
projectId: string;
|
|
135
|
+
agentId: string | null;
|
|
136
|
+
title: string | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
@@ -152,10 +152,6 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
-
title: string | null;
|
|
156
|
-
tenantId: string;
|
|
157
|
-
projectId: string;
|
|
158
|
-
agentId: string | null;
|
|
159
155
|
id: string;
|
|
160
156
|
createdAt: string;
|
|
161
157
|
updatedAt: string;
|
|
@@ -166,6 +162,10 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
166
162
|
} | null;
|
|
167
163
|
userId: string | null;
|
|
168
164
|
metadata: ConversationMetadata | null;
|
|
165
|
+
tenantId: string;
|
|
166
|
+
projectId: string;
|
|
167
|
+
agentId: string | null;
|
|
168
|
+
title: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -10,13 +10,13 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
tenantId: string;
|
|
14
|
-
projectId: string;
|
|
15
13
|
id: string;
|
|
16
14
|
createdAt: string;
|
|
17
15
|
updatedAt: string;
|
|
18
16
|
metadata: MessageMetadata | null;
|
|
19
17
|
role: string;
|
|
18
|
+
tenantId: string;
|
|
19
|
+
projectId: string;
|
|
20
20
|
content: MessageContent;
|
|
21
21
|
fromSubAgentId: string | null;
|
|
22
22
|
toSubAgentId: string | null;
|
|
@@ -24,10 +24,10 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
24
24
|
toExternalAgentId: string | null;
|
|
25
25
|
taskId: string | null;
|
|
26
26
|
a2aTaskId: string | null;
|
|
27
|
+
visibility: string;
|
|
27
28
|
conversationId: string;
|
|
28
29
|
fromTeamAgentId: string | null;
|
|
29
30
|
toTeamAgentId: string | null;
|
|
30
|
-
visibility: string;
|
|
31
31
|
messageType: string;
|
|
32
32
|
parentMessageId: string | null;
|
|
33
33
|
a2aSessionId: string | null;
|
|
@@ -144,13 +144,13 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
144
144
|
scopes: ProjectScopeConfig;
|
|
145
145
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
146
146
|
}) => Promise<{
|
|
147
|
-
tenantId: string;
|
|
148
|
-
projectId: string;
|
|
149
147
|
id: string;
|
|
150
148
|
createdAt: string;
|
|
151
149
|
updatedAt: string;
|
|
152
150
|
metadata: MessageMetadata | null;
|
|
153
151
|
role: string;
|
|
152
|
+
tenantId: string;
|
|
153
|
+
projectId: string;
|
|
154
154
|
content: MessageContent;
|
|
155
155
|
fromSubAgentId: string | null;
|
|
156
156
|
toSubAgentId: string | null;
|
|
@@ -158,10 +158,10 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
158
158
|
toExternalAgentId: string | null;
|
|
159
159
|
taskId: string | null;
|
|
160
160
|
a2aTaskId: string | null;
|
|
161
|
+
visibility: string;
|
|
161
162
|
conversationId: string;
|
|
162
163
|
fromTeamAgentId: string | null;
|
|
163
164
|
toTeamAgentId: string | null;
|
|
164
|
-
visibility: string;
|
|
165
165
|
messageType: string;
|
|
166
166
|
parentMessageId: string | null;
|
|
167
167
|
a2aSessionId: string | null;
|
|
@@ -197,13 +197,13 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
scopes: ProjectScopeConfig;
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
tenantId: string;
|
|
201
|
-
projectId: string;
|
|
202
200
|
id: string;
|
|
203
201
|
createdAt: string;
|
|
204
202
|
updatedAt: string;
|
|
205
203
|
metadata: MessageMetadata | null;
|
|
206
204
|
role: string;
|
|
205
|
+
tenantId: string;
|
|
206
|
+
projectId: string;
|
|
207
207
|
content: MessageContent;
|
|
208
208
|
fromSubAgentId: string | null;
|
|
209
209
|
toSubAgentId: string | null;
|
|
@@ -211,10 +211,10 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
211
211
|
toExternalAgentId: string | null;
|
|
212
212
|
taskId: string | null;
|
|
213
213
|
a2aTaskId: string | null;
|
|
214
|
+
visibility: string;
|
|
214
215
|
conversationId: string;
|
|
215
216
|
fromTeamAgentId: string | null;
|
|
216
217
|
toTeamAgentId: string | null;
|
|
217
|
-
visibility: string;
|
|
218
218
|
messageType: string;
|
|
219
219
|
parentMessageId: string | null;
|
|
220
220
|
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;
|
|
@@ -194,7 +194,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
|
|
|
194
194
|
name: string;
|
|
195
195
|
hash: string;
|
|
196
196
|
} | null;
|
|
197
|
-
status: "pending" | "
|
|
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" | "
|
|
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" | "
|
|
288
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
289
289
|
scheduledFor: string;
|
|
290
290
|
startedAt: string | null;
|
|
291
291
|
completedAt: string | null;
|
|
@@ -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
|
+
tenantId: string;
|
|
21
|
+
projectId: string;
|
|
22
|
+
agentId: string;
|
|
23
|
+
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -855,16 +855,16 @@ declare const triggers: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
|
855
855
|
dataType: "json";
|
|
856
856
|
columnType: "PgJsonb";
|
|
857
857
|
data: {
|
|
858
|
-
algorithm: "
|
|
859
|
-
encoding: "
|
|
858
|
+
algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
|
|
859
|
+
encoding: "base64" | "hex";
|
|
860
860
|
signature: {
|
|
861
|
-
source: "query" | "
|
|
861
|
+
source: "query" | "header" | "body";
|
|
862
862
|
key: string;
|
|
863
863
|
prefix?: string | undefined;
|
|
864
864
|
regex?: string | undefined;
|
|
865
865
|
};
|
|
866
866
|
signedComponents: {
|
|
867
|
-
source: "literal" | "
|
|
867
|
+
source: "literal" | "header" | "body";
|
|
868
868
|
required: boolean;
|
|
869
869
|
key?: string | undefined;
|
|
870
870
|
value?: string | undefined;
|
|
@@ -892,16 +892,16 @@ declare const triggers: drizzle_orm_pg_core1458.PgTableWithColumns<{
|
|
|
892
892
|
generated: undefined;
|
|
893
893
|
}, {}, {
|
|
894
894
|
$type: {
|
|
895
|
-
algorithm: "
|
|
896
|
-
encoding: "
|
|
895
|
+
algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
|
|
896
|
+
encoding: "base64" | "hex";
|
|
897
897
|
signature: {
|
|
898
|
-
source: "query" | "
|
|
898
|
+
source: "query" | "header" | "body";
|
|
899
899
|
key: string;
|
|
900
900
|
prefix?: string | undefined;
|
|
901
901
|
regex?: string | undefined;
|
|
902
902
|
};
|
|
903
903
|
signedComponents: {
|
|
904
|
-
source: "literal" | "
|
|
904
|
+
source: "literal" | "header" | "body";
|
|
905
905
|
required: boolean;
|
|
906
906
|
key?: string | undefined;
|
|
907
907
|
value?: string | undefined;
|