@inkeep/agents-core 0.0.0-dev-20260223213559 → 0.0.0-dev-20260224023234
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 +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +135 -135
- package/dist/auth/auth.d.ts +22 -22
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +5 -5
- package/dist/data-access/manage/agents.d.ts +31 -31
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +12 -12
- package/dist/data-access/manage/skills.d.ts +13 -13
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +21 -21
- package/dist/data-access/manage/tools.d.ts +24 -24
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +12 -12
- package/dist/data-access/runtime/messages.d.ts +27 -27
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +353 -353
- package/dist/db/runtime/runtime-schema.d.ts +264 -264
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/retry.d.ts +8 -0
- package/dist/utils/retry.js +30 -0
- package/dist/validation/schemas.d.ts +1661 -1661
- package/package.json +1 -1
|
@@ -16,14 +16,14 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
total: number;
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
|
-
|
|
19
|
+
title: string | null;
|
|
20
20
|
tenantId: string;
|
|
21
21
|
projectId: string;
|
|
22
|
-
|
|
23
|
-
title: string | null;
|
|
22
|
+
id: string;
|
|
24
23
|
createdAt: string;
|
|
25
24
|
updatedAt: string;
|
|
26
25
|
metadata: ConversationMetadata | null;
|
|
26
|
+
agentId: string | null;
|
|
27
27
|
userId: string | null;
|
|
28
28
|
ref: {
|
|
29
29
|
type: "commit" | "tag" | "branch";
|
|
@@ -85,14 +85,14 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
85
85
|
scopes: ProjectScopeConfig;
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
|
-
|
|
88
|
+
title: string | null;
|
|
89
89
|
tenantId: string;
|
|
90
90
|
projectId: string;
|
|
91
|
-
|
|
92
|
-
title: string | null;
|
|
91
|
+
id: string;
|
|
93
92
|
createdAt: string;
|
|
94
93
|
updatedAt: string;
|
|
95
94
|
metadata: ConversationMetadata | null;
|
|
95
|
+
agentId: string | null;
|
|
96
96
|
userId: string | null;
|
|
97
97
|
ref: {
|
|
98
98
|
type: "commit" | "tag" | "branch";
|
|
@@ -121,14 +121,14 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
121
121
|
metadata?: ConversationMetadata | null | undefined;
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
|
-
|
|
124
|
+
title: string | null;
|
|
125
125
|
tenantId: string;
|
|
126
126
|
projectId: string;
|
|
127
|
-
|
|
128
|
-
title: string | null;
|
|
127
|
+
id: string;
|
|
129
128
|
createdAt: string;
|
|
130
129
|
updatedAt: string;
|
|
131
130
|
metadata: ConversationMetadata | null;
|
|
131
|
+
agentId: string | null;
|
|
132
132
|
userId: string | null;
|
|
133
133
|
ref: {
|
|
134
134
|
type: "commit" | "tag" | "branch";
|
|
@@ -153,14 +153,14 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
153
153
|
scopes: ProjectScopeConfig;
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
-
|
|
156
|
+
title: string | null;
|
|
157
157
|
tenantId: string;
|
|
158
158
|
projectId: string;
|
|
159
|
-
|
|
160
|
-
title: string | null;
|
|
159
|
+
id: string;
|
|
161
160
|
createdAt: string;
|
|
162
161
|
updatedAt: string;
|
|
163
162
|
metadata: ConversationMetadata | null;
|
|
163
|
+
agentId: string | null;
|
|
164
164
|
userId: string | null;
|
|
165
165
|
ref: {
|
|
166
166
|
type: "commit" | "tag" | "branch";
|
|
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
|
|
13
|
+
content: MessageContent;
|
|
14
14
|
tenantId: string;
|
|
15
15
|
projectId: string;
|
|
16
|
-
createdAt: string;
|
|
17
|
-
updatedAt: string;
|
|
18
|
-
metadata: MessageMetadata | null;
|
|
19
|
-
content: MessageContent;
|
|
20
|
-
role: string;
|
|
21
|
-
conversationId: string;
|
|
22
16
|
fromSubAgentId: string | null;
|
|
23
17
|
toSubAgentId: string | null;
|
|
24
18
|
fromExternalAgentId: string | null;
|
|
25
19
|
toExternalAgentId: string | null;
|
|
20
|
+
taskId: string | null;
|
|
21
|
+
a2aTaskId: string | null;
|
|
22
|
+
id: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
updatedAt: string;
|
|
25
|
+
metadata: MessageMetadata | null;
|
|
26
|
+
conversationId: string;
|
|
27
|
+
role: 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: {
|
|
@@ -141,26 +141,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
141
141
|
id: string;
|
|
142
142
|
}[]>;
|
|
143
143
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
144
|
-
|
|
144
|
+
content: MessageContent;
|
|
145
145
|
tenantId: string;
|
|
146
146
|
projectId: string;
|
|
147
|
-
createdAt: string;
|
|
148
|
-
updatedAt: string;
|
|
149
|
-
metadata: MessageMetadata | null;
|
|
150
|
-
content: MessageContent;
|
|
151
|
-
role: string;
|
|
152
|
-
conversationId: string;
|
|
153
147
|
fromSubAgentId: string | null;
|
|
154
148
|
toSubAgentId: string | null;
|
|
155
149
|
fromExternalAgentId: string | null;
|
|
156
150
|
toExternalAgentId: string | null;
|
|
151
|
+
taskId: string | null;
|
|
152
|
+
a2aTaskId: string | null;
|
|
153
|
+
id: string;
|
|
154
|
+
createdAt: string;
|
|
155
|
+
updatedAt: string;
|
|
156
|
+
metadata: MessageMetadata | null;
|
|
157
|
+
conversationId: string;
|
|
158
|
+
role: string;
|
|
157
159
|
fromTeamAgentId: string | null;
|
|
158
160
|
toTeamAgentId: string | null;
|
|
159
161
|
visibility: string;
|
|
160
162
|
messageType: string;
|
|
161
|
-
taskId: string | null;
|
|
162
163
|
parentMessageId: string | null;
|
|
163
|
-
a2aTaskId: string | null;
|
|
164
164
|
a2aSessionId: string | null;
|
|
165
165
|
}>;
|
|
166
166
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -194,26 +194,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
194
194
|
scopes: ProjectScopeConfig;
|
|
195
195
|
messageId: string;
|
|
196
196
|
}) => Promise<{
|
|
197
|
-
|
|
197
|
+
content: MessageContent;
|
|
198
198
|
tenantId: string;
|
|
199
199
|
projectId: string;
|
|
200
|
-
createdAt: string;
|
|
201
|
-
updatedAt: string;
|
|
202
|
-
metadata: MessageMetadata | null;
|
|
203
|
-
content: MessageContent;
|
|
204
|
-
role: string;
|
|
205
|
-
conversationId: string;
|
|
206
200
|
fromSubAgentId: string | null;
|
|
207
201
|
toSubAgentId: string | null;
|
|
208
202
|
fromExternalAgentId: string | null;
|
|
209
203
|
toExternalAgentId: string | null;
|
|
204
|
+
taskId: string | null;
|
|
205
|
+
a2aTaskId: string | null;
|
|
206
|
+
id: string;
|
|
207
|
+
createdAt: string;
|
|
208
|
+
updatedAt: string;
|
|
209
|
+
metadata: MessageMetadata | null;
|
|
210
|
+
conversationId: string;
|
|
211
|
+
role: string;
|
|
210
212
|
fromTeamAgentId: string | null;
|
|
211
213
|
toTeamAgentId: string | null;
|
|
212
214
|
visibility: string;
|
|
213
215
|
messageType: string;
|
|
214
|
-
taskId: string | null;
|
|
215
216
|
parentMessageId: string | null;
|
|
216
|
-
a2aTaskId: string | null;
|
|
217
217
|
a2aSessionId: string | null;
|
|
218
218
|
}>;
|
|
219
219
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
|
|
|
34
34
|
}) => Promise<{
|
|
35
35
|
data: {
|
|
36
36
|
scheduledTriggerId: string;
|
|
37
|
-
status: "pending" | "
|
|
37
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
38
38
|
scheduledFor: string;
|
|
39
39
|
startedAt: string | null;
|
|
40
40
|
completedAt: string | null;
|
|
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
|
|
|
174
174
|
}) => Promise<{
|
|
175
175
|
data: {
|
|
176
176
|
scheduledTriggerId: string;
|
|
177
|
-
status: "pending" | "
|
|
177
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
178
178
|
scheduledFor: string;
|
|
179
179
|
startedAt: string | null;
|
|
180
180
|
completedAt: string | null;
|
|
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
|
|
|
208
208
|
}) => Promise<{
|
|
209
209
|
data: {
|
|
210
210
|
scheduledTriggerId: string;
|
|
211
|
-
status: "pending" | "
|
|
211
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
212
212
|
scheduledFor: string;
|
|
213
213
|
startedAt: string | null;
|
|
214
214
|
completedAt: string | null;
|
|
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
6
6
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
|
-
id: string;
|
|
10
9
|
tenantId: string;
|
|
11
10
|
projectId: string;
|
|
12
|
-
|
|
11
|
+
subAgentId: string;
|
|
12
|
+
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
metadata: TaskMetadataConfig | null;
|
|
16
|
+
agentId: string;
|
|
16
17
|
status: string;
|
|
17
|
-
|
|
18
|
+
contextId: string;
|
|
18
19
|
ref: {
|
|
19
20
|
type: "commit" | "tag" | "branch";
|
|
20
21
|
name: string;
|
|
21
22
|
hash: string;
|
|
22
23
|
} | null;
|
|
23
|
-
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|