@inkeep/agents-core 0.72.1 → 0.72.2
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.d.ts +113 -113
- package/dist/auth/password-policy.d.ts +2 -2
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +41 -41
- package/dist/data-access/manage/artifactComponents.d.ts +12 -12
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +18 -18
- package/dist/data-access/manage/skills.d.ts +15 -15
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +30 -30
- 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 +30 -30
- package/dist/data-access/manage/triggers.d.ts +7 -7
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +13 -13
- 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 +8 -8
- package/dist/data-access/runtime/messages.d.ts +27 -27
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +385 -385
- package/dist/db/runtime/runtime-schema.d.ts +415 -415
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +52 -52
- package/dist/validation/schemas.d.ts +927 -927
- package/package.json +1 -1
|
@@ -15,13 +15,7 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
-
tenantId: string;
|
|
19
|
-
projectId: string;
|
|
20
18
|
id: string;
|
|
21
|
-
metadata: ConversationMetadata | null;
|
|
22
|
-
properties: Record<string, unknown> | null;
|
|
23
|
-
title: string | null;
|
|
24
|
-
agentId: string | null;
|
|
25
19
|
createdAt: string;
|
|
26
20
|
updatedAt: string;
|
|
27
21
|
ref: {
|
|
@@ -30,6 +24,12 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
30
24
|
hash: string;
|
|
31
25
|
} | null;
|
|
32
26
|
userId: string | null;
|
|
27
|
+
metadata: ConversationMetadata | null;
|
|
28
|
+
projectId: string;
|
|
29
|
+
tenantId: string;
|
|
30
|
+
properties: Record<string, unknown> | null;
|
|
31
|
+
title: string | null;
|
|
32
|
+
agentId: string | null;
|
|
33
33
|
userProperties: Record<string, unknown> | null;
|
|
34
34
|
activeSubAgentId: string;
|
|
35
35
|
lastContextResolution: string | null;
|
|
@@ -90,13 +90,7 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
90
90
|
scopes: ProjectScopeConfig;
|
|
91
91
|
conversationId: string;
|
|
92
92
|
}) => Promise<{
|
|
93
|
-
tenantId: string;
|
|
94
|
-
projectId: string;
|
|
95
93
|
id: string;
|
|
96
|
-
metadata: ConversationMetadata | null;
|
|
97
|
-
properties: Record<string, unknown> | null;
|
|
98
|
-
title: string | null;
|
|
99
|
-
agentId: string | null;
|
|
100
94
|
createdAt: string;
|
|
101
95
|
updatedAt: string;
|
|
102
96
|
ref: {
|
|
@@ -105,6 +99,12 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
105
99
|
hash: string;
|
|
106
100
|
} | null;
|
|
107
101
|
userId: string | null;
|
|
102
|
+
metadata: ConversationMetadata | null;
|
|
103
|
+
projectId: string;
|
|
104
|
+
tenantId: string;
|
|
105
|
+
properties: Record<string, unknown> | null;
|
|
106
|
+
title: string | null;
|
|
107
|
+
agentId: string | null;
|
|
108
108
|
userProperties: Record<string, unknown> | null;
|
|
109
109
|
activeSubAgentId: string;
|
|
110
110
|
lastContextResolution: string | null;
|
|
@@ -130,13 +130,7 @@ 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
|
-
tenantId: string;
|
|
134
|
-
projectId: string;
|
|
135
133
|
id: string;
|
|
136
|
-
metadata: ConversationMetadata | null;
|
|
137
|
-
properties: Record<string, unknown> | null;
|
|
138
|
-
title: string | null;
|
|
139
|
-
agentId: string | null;
|
|
140
134
|
createdAt: string;
|
|
141
135
|
updatedAt: string;
|
|
142
136
|
ref: {
|
|
@@ -145,6 +139,12 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
145
139
|
hash: string;
|
|
146
140
|
} | null;
|
|
147
141
|
userId: string | null;
|
|
142
|
+
metadata: ConversationMetadata | null;
|
|
143
|
+
projectId: string;
|
|
144
|
+
tenantId: string;
|
|
145
|
+
properties: Record<string, unknown> | null;
|
|
146
|
+
title: string | null;
|
|
147
|
+
agentId: string | null;
|
|
148
148
|
userProperties: Record<string, unknown> | null;
|
|
149
149
|
activeSubAgentId: string;
|
|
150
150
|
lastContextResolution: string | null;
|
|
@@ -164,13 +164,7 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
164
164
|
scopes: ProjectScopeConfig;
|
|
165
165
|
conversationId: string;
|
|
166
166
|
}) => Promise<{
|
|
167
|
-
tenantId: string;
|
|
168
|
-
projectId: string;
|
|
169
167
|
id: string;
|
|
170
|
-
metadata: ConversationMetadata | null;
|
|
171
|
-
properties: Record<string, unknown> | null;
|
|
172
|
-
title: string | null;
|
|
173
|
-
agentId: string | null;
|
|
174
168
|
createdAt: string;
|
|
175
169
|
updatedAt: string;
|
|
176
170
|
ref: {
|
|
@@ -179,6 +173,12 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
179
173
|
hash: string;
|
|
180
174
|
} | null;
|
|
181
175
|
userId: string | null;
|
|
176
|
+
metadata: ConversationMetadata | null;
|
|
177
|
+
projectId: string;
|
|
178
|
+
tenantId: string;
|
|
179
|
+
properties: Record<string, unknown> | null;
|
|
180
|
+
title: string | null;
|
|
181
|
+
agentId: string | null;
|
|
182
182
|
userProperties: Record<string, unknown> | null;
|
|
183
183
|
activeSubAgentId: string;
|
|
184
184
|
lastContextResolution: string | null;
|
|
@@ -7,15 +7,15 @@ 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
|
-
|
|
11
|
-
projectId: string;
|
|
10
|
+
type: string;
|
|
12
11
|
id: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
13
14
|
metadata: Record<string, unknown> | null;
|
|
14
|
-
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
15
17
|
properties: Record<string, unknown> | null;
|
|
16
18
|
agentId: string | null;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
updatedAt: string;
|
|
19
19
|
conversationId: string | null;
|
|
20
20
|
userProperties: Record<string, unknown> | null;
|
|
21
21
|
messageId: string | null;
|
|
@@ -70,15 +70,15 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
70
70
|
agentId: string | null;
|
|
71
71
|
}[]>;
|
|
72
72
|
declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
|
|
73
|
-
tenantId: string;
|
|
74
|
-
projectId: string;
|
|
75
|
-
id: string;
|
|
76
73
|
type: "positive" | "negative";
|
|
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: {
|
|
@@ -100,15 +100,15 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
100
100
|
scopes: ProjectScopeConfig;
|
|
101
101
|
feedbackId: string;
|
|
102
102
|
}) => Promise<{
|
|
103
|
-
tenantId: string;
|
|
104
|
-
projectId: string;
|
|
105
|
-
id: string;
|
|
106
103
|
type: "positive" | "negative";
|
|
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
|
-
tenantId: string;
|
|
14
|
-
projectId: string;
|
|
15
13
|
id: string;
|
|
16
|
-
metadata: MessageMetadata | null;
|
|
17
|
-
content: MessageContent;
|
|
18
|
-
properties: Record<string, unknown> | null;
|
|
19
14
|
createdAt: string;
|
|
20
15
|
updatedAt: string;
|
|
16
|
+
metadata: MessageMetadata | null;
|
|
21
17
|
role: string;
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
projectId: string;
|
|
19
|
+
tenantId: string;
|
|
20
|
+
properties: Record<string, unknown> | null;
|
|
21
|
+
content: MessageContent;
|
|
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
|
-
tenantId: string;
|
|
158
|
-
projectId: string;
|
|
159
157
|
id: string;
|
|
160
|
-
metadata: MessageMetadata | null;
|
|
161
|
-
content: MessageContent;
|
|
162
|
-
properties: Record<string, unknown> | null;
|
|
163
158
|
createdAt: string;
|
|
164
159
|
updatedAt: string;
|
|
160
|
+
metadata: MessageMetadata | null;
|
|
165
161
|
role: string;
|
|
166
|
-
|
|
167
|
-
|
|
162
|
+
projectId: string;
|
|
163
|
+
tenantId: string;
|
|
164
|
+
properties: Record<string, unknown> | null;
|
|
165
|
+
content: MessageContent;
|
|
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
|
-
tenantId: string;
|
|
215
|
-
projectId: string;
|
|
216
214
|
id: string;
|
|
217
|
-
metadata: MessageMetadata | null;
|
|
218
|
-
content: MessageContent;
|
|
219
|
-
properties: Record<string, unknown> | null;
|
|
220
215
|
createdAt: string;
|
|
221
216
|
updatedAt: string;
|
|
217
|
+
metadata: MessageMetadata | null;
|
|
222
218
|
role: string;
|
|
223
|
-
|
|
224
|
-
|
|
219
|
+
projectId: string;
|
|
220
|
+
tenantId: string;
|
|
221
|
+
properties: Record<string, unknown> | null;
|
|
222
|
+
content: MessageContent;
|
|
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: {
|
|
@@ -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,12 +7,7 @@ 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
10
|
id: string;
|
|
13
|
-
metadata: TaskMetadataConfig | null;
|
|
14
|
-
agentId: string;
|
|
15
|
-
subAgentId: string;
|
|
16
11
|
createdAt: string;
|
|
17
12
|
updatedAt: string;
|
|
18
13
|
ref: {
|
|
@@ -20,7 +15,12 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
20
15
|
name: string;
|
|
21
16
|
hash: string;
|
|
22
17
|
} | null;
|
|
18
|
+
metadata: TaskMetadataConfig | null;
|
|
23
19
|
status: string;
|
|
20
|
+
projectId: string;
|
|
21
|
+
tenantId: string;
|
|
22
|
+
agentId: string;
|
|
23
|
+
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|