@inkeep/agents-core 0.53.11 → 0.53.12
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 +107 -107
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +30 -30
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- 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 +14 -14
- package/dist/data-access/manage/skills.d.ts +19 -19
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +22 -22
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +18 -18
- package/dist/data-access/manage/tools.d.ts +33 -33
- package/dist/data-access/manage/triggers.d.ts +1 -1
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/conversations.d.ts +28 -28
- 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 +6 -6
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +292 -292
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1888 -1888
- package/package.json +1 -1
|
@@ -16,21 +16,21 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
total: number;
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
|
-
|
|
19
|
+
tenantId: string;
|
|
20
|
+
userId: string | null;
|
|
20
21
|
title: string | null;
|
|
22
|
+
projectId: string;
|
|
23
|
+
id: string;
|
|
21
24
|
createdAt: string;
|
|
22
25
|
updatedAt: string;
|
|
23
|
-
tenantId: string;
|
|
24
|
-
projectId: string;
|
|
25
|
-
agentId: string | null;
|
|
26
|
-
userId: string | null;
|
|
27
|
-
metadata: ConversationMetadata | null;
|
|
28
|
-
activeSubAgentId: string;
|
|
29
26
|
ref: {
|
|
30
27
|
type: "commit" | "tag" | "branch";
|
|
31
28
|
name: string;
|
|
32
29
|
hash: string;
|
|
33
30
|
} | null;
|
|
31
|
+
metadata: ConversationMetadata | null;
|
|
32
|
+
agentId: string | null;
|
|
33
|
+
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
36
36
|
declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -85,21 +85,21 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
85
85
|
scopes: ProjectScopeConfig;
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
|
-
|
|
88
|
+
tenantId: string;
|
|
89
|
+
userId: string | null;
|
|
89
90
|
title: string | null;
|
|
91
|
+
projectId: string;
|
|
92
|
+
id: string;
|
|
90
93
|
createdAt: string;
|
|
91
94
|
updatedAt: string;
|
|
92
|
-
tenantId: string;
|
|
93
|
-
projectId: string;
|
|
94
|
-
agentId: string | null;
|
|
95
|
-
userId: string | null;
|
|
96
|
-
metadata: ConversationMetadata | null;
|
|
97
|
-
activeSubAgentId: string;
|
|
98
95
|
ref: {
|
|
99
96
|
type: "commit" | "tag" | "branch";
|
|
100
97
|
name: string;
|
|
101
98
|
hash: string;
|
|
102
99
|
} | null;
|
|
100
|
+
metadata: ConversationMetadata | null;
|
|
101
|
+
agentId: string | null;
|
|
102
|
+
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
105
105
|
declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
@@ -121,21 +121,21 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
121
121
|
metadata?: ConversationMetadata | null | undefined;
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
|
-
|
|
124
|
+
tenantId: string;
|
|
125
|
+
userId: string | null;
|
|
125
126
|
title: string | null;
|
|
127
|
+
projectId: string;
|
|
128
|
+
id: string;
|
|
126
129
|
createdAt: string;
|
|
127
130
|
updatedAt: string;
|
|
128
|
-
tenantId: string;
|
|
129
|
-
projectId: string;
|
|
130
|
-
agentId: string | null;
|
|
131
|
-
userId: string | null;
|
|
132
|
-
metadata: ConversationMetadata | null;
|
|
133
|
-
activeSubAgentId: string;
|
|
134
131
|
ref: {
|
|
135
132
|
type: "commit" | "tag" | "branch";
|
|
136
133
|
name: string;
|
|
137
134
|
hash: string;
|
|
138
135
|
} | null;
|
|
136
|
+
metadata: ConversationMetadata | null;
|
|
137
|
+
agentId: string | null;
|
|
138
|
+
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
141
141
|
/**
|
|
@@ -153,21 +153,21 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
153
153
|
scopes: ProjectScopeConfig;
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
-
|
|
156
|
+
tenantId: string;
|
|
157
|
+
userId: string | null;
|
|
157
158
|
title: string | null;
|
|
159
|
+
projectId: string;
|
|
160
|
+
id: string;
|
|
158
161
|
createdAt: string;
|
|
159
162
|
updatedAt: string;
|
|
160
|
-
tenantId: string;
|
|
161
|
-
projectId: string;
|
|
162
|
-
agentId: string | null;
|
|
163
|
-
userId: string | null;
|
|
164
|
-
metadata: ConversationMetadata | null;
|
|
165
|
-
activeSubAgentId: string;
|
|
166
163
|
ref: {
|
|
167
164
|
type: "commit" | "tag" | "branch";
|
|
168
165
|
name: string;
|
|
169
166
|
hash: string;
|
|
170
167
|
} | null;
|
|
168
|
+
metadata: ConversationMetadata | null;
|
|
169
|
+
agentId: string | null;
|
|
170
|
+
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
173
173
|
/**
|
|
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
13
|
tenantId: string;
|
|
17
|
-
projectId: string;
|
|
18
14
|
content: MessageContent;
|
|
19
|
-
|
|
20
|
-
conversationId: string;
|
|
21
|
-
role: string;
|
|
15
|
+
projectId: 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
|
+
role: string;
|
|
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: {
|
|
@@ -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
|
-
id: string;
|
|
145
|
-
createdAt: string;
|
|
146
|
-
updatedAt: string;
|
|
147
144
|
tenantId: string;
|
|
148
|
-
projectId: string;
|
|
149
145
|
content: MessageContent;
|
|
150
|
-
|
|
151
|
-
conversationId: string;
|
|
152
|
-
role: string;
|
|
146
|
+
projectId: 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
|
+
role: string;
|
|
158
|
+
conversationId: 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
|
-
id: string;
|
|
198
|
-
createdAt: string;
|
|
199
|
-
updatedAt: string;
|
|
200
197
|
tenantId: string;
|
|
201
|
-
projectId: string;
|
|
202
198
|
content: MessageContent;
|
|
203
|
-
|
|
204
|
-
conversationId: string;
|
|
205
|
-
role: string;
|
|
199
|
+
projectId: 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
|
+
role: string;
|
|
211
|
+
conversationId: 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,20 +6,20 @@ 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
|
-
createdAt: string;
|
|
11
|
-
updatedAt: string;
|
|
12
9
|
tenantId: string;
|
|
13
10
|
projectId: string;
|
|
14
|
-
agentId: string;
|
|
15
|
-
status: string;
|
|
16
|
-
metadata: TaskMetadataConfig | null;
|
|
17
11
|
subAgentId: string;
|
|
12
|
+
id: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
18
15
|
ref: {
|
|
19
16
|
type: "commit" | "tag" | "branch";
|
|
20
17
|
name: string;
|
|
21
18
|
hash: string;
|
|
22
19
|
} | null;
|
|
20
|
+
metadata: TaskMetadataConfig | null;
|
|
21
|
+
status: string;
|
|
22
|
+
agentId: string;
|
|
23
23
|
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|