@inkeep/agents-core 0.62.1 → 0.62.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/init.js +12 -2
- package/dist/data-access/manage/agents.d.ts +6 -6
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +8 -8
- package/dist/data-access/manage/skills.d.ts +8 -8
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +16 -16
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgents.d.ts +6 -6
- package/dist/data-access/manage/tools.d.ts +9 -9
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/apps.d.ts +4 -4
- package/dist/data-access/runtime/conversations.d.ts +12 -12
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +450 -450
- package/dist/db/runtime/runtime-schema.d.ts +340 -340
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +367 -367
- package/package.json +1 -1
|
@@ -5,15 +5,15 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
|
|
|
5
5
|
|
|
6
6
|
//#region src/data-access/runtime/apps.d.ts
|
|
7
7
|
declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
|
|
8
|
-
type: AppType;
|
|
9
8
|
id: string;
|
|
10
9
|
name: string;
|
|
11
10
|
createdAt: string;
|
|
12
11
|
updatedAt: string;
|
|
13
12
|
description: string | null;
|
|
14
13
|
enabled: boolean;
|
|
15
|
-
|
|
14
|
+
type: AppType;
|
|
16
15
|
tenantId: string | null;
|
|
16
|
+
projectId: string | null;
|
|
17
17
|
prompt: string | null;
|
|
18
18
|
config: {
|
|
19
19
|
type: "web_client";
|
|
@@ -64,15 +64,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
66
66
|
declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
|
|
67
|
-
type: AppType;
|
|
68
67
|
id: string;
|
|
69
68
|
name: string;
|
|
70
69
|
createdAt: string;
|
|
71
70
|
updatedAt: string;
|
|
72
71
|
description: string | null;
|
|
73
72
|
enabled: boolean;
|
|
74
|
-
|
|
73
|
+
type: AppType;
|
|
75
74
|
tenantId: string | null;
|
|
75
|
+
projectId: string | null;
|
|
76
76
|
prompt: string | null;
|
|
77
77
|
config: {
|
|
78
78
|
type: "web_client";
|
|
@@ -25,10 +25,10 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
25
25
|
} | null;
|
|
26
26
|
userId: string | null;
|
|
27
27
|
metadata: ConversationMetadata | null;
|
|
28
|
-
agentId: string | null;
|
|
29
|
-
projectId: string;
|
|
30
|
-
tenantId: string;
|
|
31
28
|
title: string | null;
|
|
29
|
+
tenantId: string;
|
|
30
|
+
projectId: string;
|
|
31
|
+
agentId: string | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
@@ -94,10 +94,10 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
94
94
|
} | null;
|
|
95
95
|
userId: string | null;
|
|
96
96
|
metadata: ConversationMetadata | null;
|
|
97
|
-
agentId: string | null;
|
|
98
|
-
projectId: string;
|
|
99
|
-
tenantId: string;
|
|
100
97
|
title: string | null;
|
|
98
|
+
tenantId: string;
|
|
99
|
+
projectId: string;
|
|
100
|
+
agentId: string | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
@@ -130,10 +130,10 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
130
130
|
} | null;
|
|
131
131
|
userId: string | null;
|
|
132
132
|
metadata: ConversationMetadata | null;
|
|
133
|
-
agentId: string | null;
|
|
134
|
-
projectId: string;
|
|
135
|
-
tenantId: string;
|
|
136
133
|
title: string | null;
|
|
134
|
+
tenantId: string;
|
|
135
|
+
projectId: string;
|
|
136
|
+
agentId: string | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
@@ -162,10 +162,10 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
162
162
|
} | null;
|
|
163
163
|
userId: string | null;
|
|
164
164
|
metadata: ConversationMetadata | null;
|
|
165
|
-
agentId: string | null;
|
|
166
|
-
projectId: string;
|
|
167
|
-
tenantId: string;
|
|
168
165
|
title: string | null;
|
|
166
|
+
tenantId: string;
|
|
167
|
+
projectId: string;
|
|
168
|
+
agentId: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -15,21 +15,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
updatedAt: string;
|
|
16
16
|
metadata: MessageMetadata | null;
|
|
17
17
|
role: string;
|
|
18
|
-
projectId: string;
|
|
19
|
-
tenantId: string;
|
|
20
18
|
content: MessageContent;
|
|
21
|
-
|
|
19
|
+
tenantId: string;
|
|
20
|
+
projectId: string;
|
|
22
21
|
fromSubAgentId: string | null;
|
|
23
22
|
toSubAgentId: string | null;
|
|
24
23
|
fromExternalAgentId: string | null;
|
|
25
24
|
toExternalAgentId: string | null;
|
|
25
|
+
taskId: string | null;
|
|
26
|
+
a2aTaskId: string | null;
|
|
27
|
+
conversationId: string;
|
|
26
28
|
fromTeamAgentId: string | null;
|
|
27
29
|
toTeamAgentId: string | null;
|
|
28
30
|
visibility: string;
|
|
29
31
|
messageType: string;
|
|
30
|
-
taskId: string | null;
|
|
31
32
|
parentMessageId: string | null;
|
|
32
|
-
a2aTaskId: string | null;
|
|
33
33
|
a2aSessionId: string | null;
|
|
34
34
|
} | undefined>;
|
|
35
35
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -149,21 +149,21 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
149
149
|
updatedAt: string;
|
|
150
150
|
metadata: MessageMetadata | null;
|
|
151
151
|
role: string;
|
|
152
|
-
projectId: string;
|
|
153
|
-
tenantId: string;
|
|
154
152
|
content: MessageContent;
|
|
155
|
-
|
|
153
|
+
tenantId: string;
|
|
154
|
+
projectId: string;
|
|
156
155
|
fromSubAgentId: string | null;
|
|
157
156
|
toSubAgentId: string | null;
|
|
158
157
|
fromExternalAgentId: string | null;
|
|
159
158
|
toExternalAgentId: string | null;
|
|
159
|
+
taskId: string | null;
|
|
160
|
+
a2aTaskId: string | null;
|
|
161
|
+
conversationId: string;
|
|
160
162
|
fromTeamAgentId: string | null;
|
|
161
163
|
toTeamAgentId: string | null;
|
|
162
164
|
visibility: string;
|
|
163
165
|
messageType: string;
|
|
164
|
-
taskId: string | null;
|
|
165
166
|
parentMessageId: string | null;
|
|
166
|
-
a2aTaskId: string | null;
|
|
167
167
|
a2aSessionId: string | null;
|
|
168
168
|
}>;
|
|
169
169
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -202,21 +202,21 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
202
202
|
updatedAt: string;
|
|
203
203
|
metadata: MessageMetadata | null;
|
|
204
204
|
role: string;
|
|
205
|
-
projectId: string;
|
|
206
|
-
tenantId: string;
|
|
207
205
|
content: MessageContent;
|
|
208
|
-
|
|
206
|
+
tenantId: string;
|
|
207
|
+
projectId: string;
|
|
209
208
|
fromSubAgentId: string | null;
|
|
210
209
|
toSubAgentId: string | null;
|
|
211
210
|
fromExternalAgentId: string | null;
|
|
212
211
|
toExternalAgentId: string | null;
|
|
212
|
+
taskId: string | null;
|
|
213
|
+
a2aTaskId: string | null;
|
|
214
|
+
conversationId: string;
|
|
213
215
|
fromTeamAgentId: string | null;
|
|
214
216
|
toTeamAgentId: string | null;
|
|
215
217
|
visibility: string;
|
|
216
218
|
messageType: string;
|
|
217
|
-
taskId: string | null;
|
|
218
219
|
parentMessageId: string | null;
|
|
219
|
-
a2aTaskId: string | null;
|
|
220
220
|
a2aSessionId: string | null;
|
|
221
221
|
}>;
|
|
222
222
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -17,9 +17,9 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
17
17
|
} | null;
|
|
18
18
|
metadata: TaskMetadataConfig | null;
|
|
19
19
|
status: string;
|
|
20
|
-
agentId: string;
|
|
21
|
-
projectId: string;
|
|
22
20
|
tenantId: string;
|
|
21
|
+
projectId: string;
|
|
22
|
+
agentId: string;
|
|
23
23
|
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|