@inkeep/agents-core 0.73.0 → 0.73.1
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 +235 -235
- package/dist/auth/auth-schema.js +8 -8
- package/dist/auth/auth-types.d.ts +6 -1
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +65 -42
- package/dist/auth/auth.js +18 -4
- package/dist/auth/password-policy.d.ts +7 -3
- package/dist/auth/password-policy.js +6 -4
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +15 -15
- package/dist/data-access/manage/artifactComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +4 -4
- package/dist/data-access/manage/skills.d.ts +7 -7
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +9 -9
- package/dist/data-access/manage/tools.d.ts +18 -18
- package/dist/data-access/manage/triggers.d.ts +3 -3
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/apps.d.ts +11 -11
- package/dist/data-access/runtime/conversations.d.ts +32 -32
- package/dist/data-access/runtime/events.d.ts +3 -3
- package/dist/data-access/runtime/feedback.d.ts +2 -2
- package/dist/data-access/runtime/messages.d.ts +18 -18
- 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 +6 -6
- package/dist/db/manage/manage-schema.d.ts +483 -483
- package/dist/db/runtime/runtime-schema.d.ts +449 -449
- package/dist/validation/schemas/skills.d.ts +35 -35
- package/dist/validation/schemas.d.ts +617 -617
- package/drizzle/runtime/0042_long_magdalene.sql +8 -0
- package/drizzle/runtime/meta/0042_snapshot.json +6298 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +5 -5
|
@@ -16,21 +16,21 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
18
|
id: string;
|
|
19
|
+
properties: Record<string, unknown> | null;
|
|
20
|
+
title: string | null;
|
|
19
21
|
createdAt: string;
|
|
20
22
|
updatedAt: string;
|
|
23
|
+
tenantId: string;
|
|
24
|
+
metadata: ConversationMetadata | null;
|
|
25
|
+
projectId: string;
|
|
26
|
+
agentId: string | null;
|
|
27
|
+
userId: string | null;
|
|
28
|
+
activeSubAgentId: string;
|
|
21
29
|
ref: {
|
|
22
30
|
type: "commit" | "tag" | "branch";
|
|
23
31
|
name: string;
|
|
24
32
|
hash: string;
|
|
25
33
|
} | null;
|
|
26
|
-
userId: string | null;
|
|
27
|
-
metadata: ConversationMetadata | null;
|
|
28
|
-
properties: Record<string, unknown> | null;
|
|
29
|
-
title: string | null;
|
|
30
|
-
tenantId: string;
|
|
31
|
-
projectId: string;
|
|
32
|
-
agentId: string | null;
|
|
33
|
-
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
userProperties: Record<string, unknown> | null;
|
|
36
36
|
}>;
|
|
@@ -91,21 +91,21 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
91
91
|
conversationId: string;
|
|
92
92
|
}) => Promise<{
|
|
93
93
|
id: string;
|
|
94
|
+
properties: Record<string, unknown> | null;
|
|
95
|
+
title: string | null;
|
|
94
96
|
createdAt: string;
|
|
95
97
|
updatedAt: string;
|
|
98
|
+
tenantId: string;
|
|
99
|
+
metadata: ConversationMetadata | null;
|
|
100
|
+
projectId: string;
|
|
101
|
+
agentId: string | null;
|
|
102
|
+
userId: string | null;
|
|
103
|
+
activeSubAgentId: string;
|
|
96
104
|
ref: {
|
|
97
105
|
type: "commit" | "tag" | "branch";
|
|
98
106
|
name: string;
|
|
99
107
|
hash: string;
|
|
100
108
|
} | null;
|
|
101
|
-
userId: string | null;
|
|
102
|
-
metadata: ConversationMetadata | null;
|
|
103
|
-
properties: Record<string, unknown> | null;
|
|
104
|
-
title: string | null;
|
|
105
|
-
tenantId: string;
|
|
106
|
-
projectId: string;
|
|
107
|
-
agentId: string | null;
|
|
108
|
-
activeSubAgentId: string;
|
|
109
109
|
lastContextResolution: string | null;
|
|
110
110
|
userProperties: Record<string, unknown> | null;
|
|
111
111
|
} | undefined>;
|
|
@@ -131,21 +131,21 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
131
131
|
properties?: Record<string, unknown> | null | undefined;
|
|
132
132
|
} | {
|
|
133
133
|
id: string;
|
|
134
|
+
properties: Record<string, unknown> | null;
|
|
135
|
+
title: string | null;
|
|
134
136
|
createdAt: string;
|
|
135
137
|
updatedAt: string;
|
|
138
|
+
tenantId: string;
|
|
139
|
+
metadata: ConversationMetadata | null;
|
|
140
|
+
projectId: string;
|
|
141
|
+
agentId: string | null;
|
|
142
|
+
userId: string | null;
|
|
143
|
+
activeSubAgentId: string;
|
|
136
144
|
ref: {
|
|
137
145
|
type: "commit" | "tag" | "branch";
|
|
138
146
|
name: string;
|
|
139
147
|
hash: string;
|
|
140
148
|
} | null;
|
|
141
|
-
userId: string | null;
|
|
142
|
-
metadata: ConversationMetadata | null;
|
|
143
|
-
properties: Record<string, unknown> | null;
|
|
144
|
-
title: string | null;
|
|
145
|
-
tenantId: string;
|
|
146
|
-
projectId: string;
|
|
147
|
-
agentId: string | null;
|
|
148
|
-
activeSubAgentId: string;
|
|
149
149
|
lastContextResolution: string | null;
|
|
150
150
|
userProperties: Record<string, unknown> | null;
|
|
151
151
|
}>;
|
|
@@ -165,21 +165,21 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
165
165
|
conversationId: string;
|
|
166
166
|
}) => Promise<{
|
|
167
167
|
id: string;
|
|
168
|
+
properties: Record<string, unknown> | null;
|
|
169
|
+
title: string | null;
|
|
168
170
|
createdAt: string;
|
|
169
171
|
updatedAt: string;
|
|
172
|
+
tenantId: string;
|
|
173
|
+
metadata: ConversationMetadata | null;
|
|
174
|
+
projectId: string;
|
|
175
|
+
agentId: string | null;
|
|
176
|
+
userId: string | null;
|
|
177
|
+
activeSubAgentId: string;
|
|
170
178
|
ref: {
|
|
171
179
|
type: "commit" | "tag" | "branch";
|
|
172
180
|
name: string;
|
|
173
181
|
hash: string;
|
|
174
182
|
} | null;
|
|
175
|
-
userId: string | null;
|
|
176
|
-
metadata: ConversationMetadata | null;
|
|
177
|
-
properties: Record<string, unknown> | null;
|
|
178
|
-
title: string | null;
|
|
179
|
-
tenantId: string;
|
|
180
|
-
projectId: string;
|
|
181
|
-
agentId: string | null;
|
|
182
|
-
activeSubAgentId: string;
|
|
183
183
|
lastContextResolution: string | null;
|
|
184
184
|
userProperties: Record<string, unknown> | null;
|
|
185
185
|
} | undefined>;
|
|
@@ -7,13 +7,13 @@ import { EventInsert } from "../../types/entities.js";
|
|
|
7
7
|
//#region src/data-access/runtime/events.d.ts
|
|
8
8
|
declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert) => Promise<{
|
|
9
9
|
row: {
|
|
10
|
-
type: string;
|
|
11
10
|
id: string;
|
|
11
|
+
type: string;
|
|
12
|
+
properties: Record<string, unknown> | null;
|
|
12
13
|
createdAt: string;
|
|
13
14
|
updatedAt: string;
|
|
14
|
-
metadata: Record<string, unknown> | null;
|
|
15
|
-
properties: Record<string, unknown> | null;
|
|
16
15
|
tenantId: string;
|
|
16
|
+
metadata: Record<string, unknown> | null;
|
|
17
17
|
projectId: string;
|
|
18
18
|
agentId: string | null;
|
|
19
19
|
userProperties: Record<string, unknown> | null;
|
|
@@ -70,8 +70,8 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
70
70
|
agentId: string | null;
|
|
71
71
|
}[]>;
|
|
72
72
|
declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
|
|
73
|
-
type: "positive" | "negative";
|
|
74
73
|
id: string;
|
|
74
|
+
type: "positive" | "negative";
|
|
75
75
|
createdAt: string;
|
|
76
76
|
updatedAt: string;
|
|
77
77
|
tenantId: string;
|
|
@@ -100,8 +100,8 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
100
100
|
scopes: ProjectScopeConfig;
|
|
101
101
|
feedbackId: string;
|
|
102
102
|
}) => Promise<{
|
|
103
|
-
type: "positive" | "negative";
|
|
104
103
|
id: string;
|
|
104
|
+
type: "positive" | "negative";
|
|
105
105
|
createdAt: string;
|
|
106
106
|
updatedAt: string;
|
|
107
107
|
tenantId: string;
|
|
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
13
|
id: string;
|
|
14
|
+
properties: Record<string, unknown> | null;
|
|
14
15
|
createdAt: string;
|
|
15
16
|
updatedAt: string;
|
|
16
|
-
metadata: MessageMetadata | null;
|
|
17
|
-
role: string;
|
|
18
|
-
properties: Record<string, unknown> | null;
|
|
19
17
|
tenantId: string;
|
|
20
|
-
|
|
18
|
+
metadata: MessageMetadata | null;
|
|
21
19
|
content: MessageContent;
|
|
20
|
+
projectId: string;
|
|
21
|
+
taskId: string | null;
|
|
22
|
+
visibility: string;
|
|
22
23
|
userProperties: Record<string, unknown> | null;
|
|
23
24
|
conversationId: string;
|
|
25
|
+
role: string;
|
|
24
26
|
fromSubAgentId: string | null;
|
|
25
27
|
toSubAgentId: string | null;
|
|
26
28
|
fromExternalAgentId: string | null;
|
|
27
29
|
toExternalAgentId: string | null;
|
|
28
30
|
fromTeamAgentId: string | null;
|
|
29
31
|
toTeamAgentId: string | null;
|
|
30
|
-
visibility: string;
|
|
31
32
|
messageType: string;
|
|
32
|
-
taskId: string | null;
|
|
33
33
|
parentMessageId: string | null;
|
|
34
34
|
a2aTaskId: string | null;
|
|
35
35
|
a2aSessionId: string | null;
|
|
@@ -155,25 +155,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
155
155
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
156
156
|
}) => Promise<{
|
|
157
157
|
id: string;
|
|
158
|
+
properties: Record<string, unknown> | null;
|
|
158
159
|
createdAt: string;
|
|
159
160
|
updatedAt: string;
|
|
160
|
-
metadata: MessageMetadata | null;
|
|
161
|
-
role: string;
|
|
162
|
-
properties: Record<string, unknown> | null;
|
|
163
161
|
tenantId: string;
|
|
164
|
-
|
|
162
|
+
metadata: MessageMetadata | null;
|
|
165
163
|
content: MessageContent;
|
|
164
|
+
projectId: string;
|
|
165
|
+
taskId: string | null;
|
|
166
|
+
visibility: string;
|
|
166
167
|
userProperties: Record<string, unknown> | null;
|
|
167
168
|
conversationId: string;
|
|
169
|
+
role: string;
|
|
168
170
|
fromSubAgentId: string | null;
|
|
169
171
|
toSubAgentId: string | null;
|
|
170
172
|
fromExternalAgentId: string | null;
|
|
171
173
|
toExternalAgentId: string | null;
|
|
172
174
|
fromTeamAgentId: string | null;
|
|
173
175
|
toTeamAgentId: string | null;
|
|
174
|
-
visibility: string;
|
|
175
176
|
messageType: string;
|
|
176
|
-
taskId: string | null;
|
|
177
177
|
parentMessageId: string | null;
|
|
178
178
|
a2aTaskId: string | null;
|
|
179
179
|
a2aSessionId: string | null;
|
|
@@ -212,25 +212,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
212
212
|
messageId: string;
|
|
213
213
|
}) => Promise<{
|
|
214
214
|
id: string;
|
|
215
|
+
properties: Record<string, unknown> | null;
|
|
215
216
|
createdAt: string;
|
|
216
217
|
updatedAt: string;
|
|
217
|
-
metadata: MessageMetadata | null;
|
|
218
|
-
role: string;
|
|
219
|
-
properties: Record<string, unknown> | null;
|
|
220
218
|
tenantId: string;
|
|
221
|
-
|
|
219
|
+
metadata: MessageMetadata | null;
|
|
222
220
|
content: MessageContent;
|
|
221
|
+
projectId: string;
|
|
222
|
+
taskId: string | null;
|
|
223
|
+
visibility: string;
|
|
223
224
|
userProperties: Record<string, unknown> | null;
|
|
224
225
|
conversationId: string;
|
|
226
|
+
role: string;
|
|
225
227
|
fromSubAgentId: string | null;
|
|
226
228
|
toSubAgentId: string | null;
|
|
227
229
|
fromExternalAgentId: string | null;
|
|
228
230
|
toExternalAgentId: string | null;
|
|
229
231
|
fromTeamAgentId: string | null;
|
|
230
232
|
toTeamAgentId: string | null;
|
|
231
|
-
visibility: string;
|
|
232
233
|
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: "
|
|
43
|
+
status: "running" | "pending" | "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: "
|
|
202
|
+
status: "running" | "pending" | "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: "
|
|
242
|
+
status: "running" | "pending" | "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: "
|
|
295
|
+
status: "running" | "pending" | "completed" | "failed" | "cancelled";
|
|
296
296
|
scheduledFor: string;
|
|
297
297
|
startedAt: string | null;
|
|
298
298
|
completedAt: string | null;
|
|
@@ -16,8 +16,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
|
|
|
16
16
|
userId: string;
|
|
17
17
|
}) => Promise<{
|
|
18
18
|
createdAt: string;
|
|
19
|
-
userId: string;
|
|
20
19
|
tenantId: string;
|
|
20
|
+
userId: string;
|
|
21
21
|
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -10,18 +10,18 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
10
10
|
id: string;
|
|
11
11
|
createdAt: string;
|
|
12
12
|
updatedAt: string;
|
|
13
|
+
tenantId: string;
|
|
14
|
+
metadata: TaskMetadataConfig | null;
|
|
15
|
+
projectId: string;
|
|
16
|
+
agentId: string;
|
|
17
|
+
subAgentId: string;
|
|
18
|
+
contextId: string;
|
|
13
19
|
ref: {
|
|
14
20
|
type: "commit" | "tag" | "branch";
|
|
15
21
|
name: string;
|
|
16
22
|
hash: string;
|
|
17
23
|
} | null;
|
|
18
|
-
metadata: TaskMetadataConfig | null;
|
|
19
24
|
status: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
projectId: string;
|
|
22
|
-
agentId: string;
|
|
23
|
-
subAgentId: string;
|
|
24
|
-
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
27
27
|
id: string;
|