@inkeep/agents-core 0.75.3 → 0.75.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/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +21 -21
- 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 +13 -13
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +34 -34
- 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 +5 -5
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/apps.d.ts +16 -16
- package/dist/data-access/runtime/conversations.d.ts +24 -24
- package/dist/data-access/runtime/events.d.ts +5 -5
- package/dist/data-access/runtime/feedback.d.ts +6 -6
- package/dist/data-access/runtime/messages.d.ts +21 -21
- 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 +484 -484
- package/dist/db/runtime/runtime-schema.d.ts +443 -443
- package/dist/validation/schemas/skills.d.ts +46 -46
- package/dist/validation/schemas.d.ts +2272 -2272
- package/package.json +1 -1
|
@@ -15,11 +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
|
-
properties: Record<string, unknown> | null;
|
|
19
|
-
title: string | null;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
projectId: string;
|
|
22
|
-
agentId: string | null;
|
|
23
18
|
id: string;
|
|
24
19
|
createdAt: string;
|
|
25
20
|
updatedAt: string;
|
|
@@ -30,9 +25,14 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
30
25
|
} | null;
|
|
31
26
|
userId: string | null;
|
|
32
27
|
metadata: ConversationMetadata | null;
|
|
28
|
+
agentId: string | null;
|
|
29
|
+
projectId: string;
|
|
30
|
+
tenantId: string;
|
|
31
|
+
properties: Record<string, unknown> | null;
|
|
32
|
+
title: string | null;
|
|
33
|
+
userProperties: Record<string, unknown> | null;
|
|
33
34
|
activeSubAgentId: string;
|
|
34
35
|
lastContextResolution: string | null;
|
|
35
|
-
userProperties: Record<string, unknown> | null;
|
|
36
36
|
}>;
|
|
37
37
|
declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
38
38
|
scopes: ProjectScopeConfig;
|
|
@@ -90,11 +90,6 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
90
90
|
scopes: ProjectScopeConfig;
|
|
91
91
|
conversationId: string;
|
|
92
92
|
}) => Promise<{
|
|
93
|
-
properties: Record<string, unknown> | null;
|
|
94
|
-
title: string | null;
|
|
95
|
-
tenantId: string;
|
|
96
|
-
projectId: string;
|
|
97
|
-
agentId: string | null;
|
|
98
93
|
id: string;
|
|
99
94
|
createdAt: string;
|
|
100
95
|
updatedAt: string;
|
|
@@ -105,9 +100,14 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
105
100
|
} | null;
|
|
106
101
|
userId: string | null;
|
|
107
102
|
metadata: ConversationMetadata | null;
|
|
103
|
+
agentId: string | null;
|
|
104
|
+
projectId: string;
|
|
105
|
+
tenantId: string;
|
|
106
|
+
properties: Record<string, unknown> | null;
|
|
107
|
+
title: string | null;
|
|
108
|
+
userProperties: Record<string, unknown> | null;
|
|
108
109
|
activeSubAgentId: string;
|
|
109
110
|
lastContextResolution: string | null;
|
|
110
|
-
userProperties: Record<string, unknown> | null;
|
|
111
111
|
} | undefined>;
|
|
112
112
|
declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
113
113
|
activeSubAgentId: string;
|
|
@@ -130,11 +130,6 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
130
130
|
userProperties?: Record<string, unknown> | null | undefined;
|
|
131
131
|
properties?: Record<string, unknown> | null | undefined;
|
|
132
132
|
} | {
|
|
133
|
-
properties: Record<string, unknown> | null;
|
|
134
|
-
title: string | null;
|
|
135
|
-
tenantId: string;
|
|
136
|
-
projectId: string;
|
|
137
|
-
agentId: string | null;
|
|
138
133
|
id: string;
|
|
139
134
|
createdAt: string;
|
|
140
135
|
updatedAt: string;
|
|
@@ -145,9 +140,14 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
145
140
|
} | null;
|
|
146
141
|
userId: string | null;
|
|
147
142
|
metadata: ConversationMetadata | null;
|
|
143
|
+
agentId: string | null;
|
|
144
|
+
projectId: string;
|
|
145
|
+
tenantId: string;
|
|
146
|
+
properties: Record<string, unknown> | null;
|
|
147
|
+
title: string | null;
|
|
148
|
+
userProperties: Record<string, unknown> | null;
|
|
148
149
|
activeSubAgentId: string;
|
|
149
150
|
lastContextResolution: string | null;
|
|
150
|
-
userProperties: Record<string, unknown> | null;
|
|
151
151
|
}>;
|
|
152
152
|
/**
|
|
153
153
|
* Get conversation history with filtering and context management
|
|
@@ -164,11 +164,6 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
164
164
|
scopes: ProjectScopeConfig;
|
|
165
165
|
conversationId: string;
|
|
166
166
|
}) => Promise<{
|
|
167
|
-
properties: Record<string, unknown> | null;
|
|
168
|
-
title: string | null;
|
|
169
|
-
tenantId: string;
|
|
170
|
-
projectId: string;
|
|
171
|
-
agentId: string | null;
|
|
172
167
|
id: string;
|
|
173
168
|
createdAt: string;
|
|
174
169
|
updatedAt: string;
|
|
@@ -179,9 +174,14 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
179
174
|
} | null;
|
|
180
175
|
userId: string | null;
|
|
181
176
|
metadata: ConversationMetadata | null;
|
|
177
|
+
agentId: string | null;
|
|
178
|
+
projectId: string;
|
|
179
|
+
tenantId: string;
|
|
180
|
+
properties: Record<string, unknown> | null;
|
|
181
|
+
title: string | null;
|
|
182
|
+
userProperties: Record<string, unknown> | null;
|
|
182
183
|
activeSubAgentId: string;
|
|
183
184
|
lastContextResolution: string | null;
|
|
184
|
-
userProperties: Record<string, unknown> | null;
|
|
185
185
|
} | undefined>;
|
|
186
186
|
/**
|
|
187
187
|
* Set active agent for a conversation (upsert operation)
|
|
@@ -8,16 +8,16 @@ import { EventInsert } from "../../types/entities.js";
|
|
|
8
8
|
declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert) => Promise<{
|
|
9
9
|
row: {
|
|
10
10
|
type: string;
|
|
11
|
-
properties: Record<string, unknown> | null;
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
|
-
agentId: string | null;
|
|
15
11
|
id: string;
|
|
16
12
|
createdAt: string;
|
|
17
13
|
updatedAt: string;
|
|
18
14
|
metadata: Record<string, unknown> | null;
|
|
19
|
-
|
|
15
|
+
agentId: string | null;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
|
+
properties: Record<string, unknown> | null;
|
|
20
19
|
conversationId: string | null;
|
|
20
|
+
userProperties: Record<string, unknown> | null;
|
|
21
21
|
messageId: string | null;
|
|
22
22
|
serverMetadata: {
|
|
23
23
|
[k: string]: unknown;
|
|
@@ -71,14 +71,14 @@ 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
|
+
details: string | null;
|
|
79
80
|
conversationId: string;
|
|
80
81
|
messageId: string | null;
|
|
81
|
-
details: string | null;
|
|
82
82
|
}>;
|
|
83
83
|
declare const createFeedbackBulk: (db: AgentsRunDatabaseClient) => (items: FeedbackInsert[]) => Promise<(typeof feedback.$inferSelect)[]>;
|
|
84
84
|
declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -101,14 +101,14 @@ 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
|
+
details: string | null;
|
|
109
110
|
conversationId: string;
|
|
110
111
|
messageId: string | null;
|
|
111
|
-
details: string | null;
|
|
112
112
|
}>;
|
|
113
113
|
//#endregion
|
|
114
114
|
export { createFeedback, createFeedbackBulk, deleteFeedback, getFeedbackById, getFeedbackByIds, listFeedback, listFeedbackByConversation, updateFeedback };
|
|
@@ -10,28 +10,28 @@ 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
|
-
userProperties: Record<string, unknown> | null;
|
|
23
|
-
conversationId: string;
|
|
24
22
|
fromSubAgentId: string | null;
|
|
25
23
|
toSubAgentId: string | null;
|
|
26
24
|
fromExternalAgentId: string | null;
|
|
27
25
|
toExternalAgentId: string | null;
|
|
26
|
+
taskId: string | null;
|
|
27
|
+
a2aTaskId: string | null;
|
|
28
|
+
conversationId: string;
|
|
29
|
+
userProperties: Record<string, unknown> | null;
|
|
28
30
|
fromTeamAgentId: string | null;
|
|
29
31
|
toTeamAgentId: string | null;
|
|
30
32
|
visibility: string;
|
|
31
33
|
messageType: string;
|
|
32
|
-
taskId: string | null;
|
|
33
34
|
parentMessageId: string | null;
|
|
34
|
-
a2aTaskId: string | null;
|
|
35
35
|
a2aSessionId: string | null;
|
|
36
36
|
} | undefined>;
|
|
37
37
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -154,28 +154,28 @@ 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
|
-
userProperties: Record<string, unknown> | null;
|
|
167
|
-
conversationId: string;
|
|
168
166
|
fromSubAgentId: string | null;
|
|
169
167
|
toSubAgentId: string | null;
|
|
170
168
|
fromExternalAgentId: string | null;
|
|
171
169
|
toExternalAgentId: string | null;
|
|
170
|
+
taskId: string | null;
|
|
171
|
+
a2aTaskId: string | null;
|
|
172
|
+
conversationId: string;
|
|
173
|
+
userProperties: Record<string, unknown> | null;
|
|
172
174
|
fromTeamAgentId: string | null;
|
|
173
175
|
toTeamAgentId: string | null;
|
|
174
176
|
visibility: string;
|
|
175
177
|
messageType: string;
|
|
176
|
-
taskId: string | null;
|
|
177
178
|
parentMessageId: string | null;
|
|
178
|
-
a2aTaskId: string | null;
|
|
179
179
|
a2aSessionId: string | null;
|
|
180
180
|
}>;
|
|
181
181
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -211,28 +211,28 @@ 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
|
-
userProperties: Record<string, unknown> | null;
|
|
224
|
-
conversationId: string;
|
|
225
223
|
fromSubAgentId: string | null;
|
|
226
224
|
toSubAgentId: string | null;
|
|
227
225
|
fromExternalAgentId: string | null;
|
|
228
226
|
toExternalAgentId: string | null;
|
|
227
|
+
taskId: string | null;
|
|
228
|
+
a2aTaskId: string | null;
|
|
229
|
+
conversationId: string;
|
|
230
|
+
userProperties: Record<string, unknown> | null;
|
|
229
231
|
fromTeamAgentId: string | null;
|
|
230
232
|
toTeamAgentId: string | null;
|
|
231
233
|
visibility: string;
|
|
232
234
|
messageType: string;
|
|
233
|
-
taskId: string | null;
|
|
234
235
|
parentMessageId: string | null;
|
|
235
|
-
a2aTaskId: string | null;
|
|
236
236
|
a2aSessionId: string | null;
|
|
237
237
|
}>;
|
|
238
238
|
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" | "failed" | "running" | "completed" | "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" | "failed" | "running" | "completed" | "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" | "failed" | "running" | "completed" | "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" | "failed" | "running" | "completed" | "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: {
|