@inkeep/agents-core 0.56.0 → 0.56.1
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/client-exports.d.ts +2 -2
- package/dist/data-access/manage/agents.d.ts +31 -31
- package/dist/data-access/manage/artifactComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +2 -2
- package/dist/data-access/manage/skills.d.ts +7 -7
- package/dist/data-access/manage/subAgents.d.ts +21 -21
- package/dist/data-access/manage/tools.d.ts +3 -3
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/conversations.d.ts +35 -35
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +8 -8
- package/dist/db/manage/manage-schema.d.ts +453 -453
- package/dist/db/runtime/runtime-schema.d.ts +302 -302
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1889 -1889
- package/package.json +1 -1
|
@@ -17,20 +17,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
19
|
id: string;
|
|
20
|
-
title: string | null;
|
|
21
20
|
createdAt: string;
|
|
22
21
|
updatedAt: string;
|
|
23
|
-
tenantId: string;
|
|
24
|
-
projectId: string;
|
|
25
|
-
metadata: ConversationMetadata | null;
|
|
26
|
-
agentId: string | null;
|
|
27
|
-
userId: string | null;
|
|
28
|
-
activeSubAgentId: string;
|
|
29
22
|
ref: {
|
|
30
|
-
type: "
|
|
23
|
+
type: "tag" | "commit" | "branch";
|
|
31
24
|
name: string;
|
|
32
25
|
hash: string;
|
|
33
26
|
} | null;
|
|
27
|
+
userId: string | null;
|
|
28
|
+
metadata: ConversationMetadata | null;
|
|
29
|
+
tenantId: string;
|
|
30
|
+
projectId: string;
|
|
31
|
+
agentId: string | null;
|
|
32
|
+
title: string | null;
|
|
33
|
+
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
36
36
|
declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
44
44
|
agentId: string | null;
|
|
45
45
|
activeSubAgentId: string;
|
|
46
46
|
ref: {
|
|
47
|
-
type: "
|
|
47
|
+
type: "tag" | "commit" | "branch";
|
|
48
48
|
name: string;
|
|
49
49
|
hash: string;
|
|
50
50
|
} | null;
|
|
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
|
|
|
70
70
|
agentId: string | null;
|
|
71
71
|
activeSubAgentId: string;
|
|
72
72
|
ref: {
|
|
73
|
-
type: "
|
|
73
|
+
type: "tag" | "commit" | "branch";
|
|
74
74
|
name: string;
|
|
75
75
|
hash: string;
|
|
76
76
|
} | null;
|
|
@@ -86,20 +86,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
88
|
id: string;
|
|
89
|
-
title: string | null;
|
|
90
89
|
createdAt: string;
|
|
91
90
|
updatedAt: string;
|
|
92
|
-
tenantId: string;
|
|
93
|
-
projectId: string;
|
|
94
|
-
metadata: ConversationMetadata | null;
|
|
95
|
-
agentId: string | null;
|
|
96
|
-
userId: string | null;
|
|
97
|
-
activeSubAgentId: string;
|
|
98
91
|
ref: {
|
|
99
|
-
type: "
|
|
92
|
+
type: "tag" | "commit" | "branch";
|
|
100
93
|
name: string;
|
|
101
94
|
hash: string;
|
|
102
95
|
} | null;
|
|
96
|
+
userId: string | null;
|
|
97
|
+
metadata: ConversationMetadata | null;
|
|
98
|
+
tenantId: string;
|
|
99
|
+
projectId: string;
|
|
100
|
+
agentId: string | null;
|
|
101
|
+
title: string | null;
|
|
102
|
+
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
105
105
|
declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
108
108
|
tenantId: string;
|
|
109
109
|
id: string;
|
|
110
110
|
ref: {
|
|
111
|
-
type: "
|
|
111
|
+
type: "tag" | "commit" | "branch";
|
|
112
112
|
name: string;
|
|
113
113
|
hash: string;
|
|
114
114
|
};
|
|
@@ -122,20 +122,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
124
|
id: string;
|
|
125
|
-
title: string | null;
|
|
126
125
|
createdAt: string;
|
|
127
126
|
updatedAt: string;
|
|
128
|
-
tenantId: string;
|
|
129
|
-
projectId: string;
|
|
130
|
-
metadata: ConversationMetadata | null;
|
|
131
|
-
agentId: string | null;
|
|
132
|
-
userId: string | null;
|
|
133
|
-
activeSubAgentId: string;
|
|
134
127
|
ref: {
|
|
135
|
-
type: "
|
|
128
|
+
type: "tag" | "commit" | "branch";
|
|
136
129
|
name: string;
|
|
137
130
|
hash: string;
|
|
138
131
|
} | null;
|
|
132
|
+
userId: string | null;
|
|
133
|
+
metadata: ConversationMetadata | null;
|
|
134
|
+
tenantId: string;
|
|
135
|
+
projectId: string;
|
|
136
|
+
agentId: string | null;
|
|
137
|
+
title: string | null;
|
|
138
|
+
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
141
141
|
/**
|
|
@@ -154,20 +154,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
156
|
id: string;
|
|
157
|
-
title: string | null;
|
|
158
157
|
createdAt: string;
|
|
159
158
|
updatedAt: string;
|
|
160
|
-
tenantId: string;
|
|
161
|
-
projectId: string;
|
|
162
|
-
metadata: ConversationMetadata | null;
|
|
163
|
-
agentId: string | null;
|
|
164
|
-
userId: string | null;
|
|
165
|
-
activeSubAgentId: string;
|
|
166
159
|
ref: {
|
|
167
|
-
type: "
|
|
160
|
+
type: "tag" | "commit" | "branch";
|
|
168
161
|
name: string;
|
|
169
162
|
hash: string;
|
|
170
163
|
} | null;
|
|
164
|
+
userId: string | null;
|
|
165
|
+
metadata: ConversationMetadata | null;
|
|
166
|
+
tenantId: string;
|
|
167
|
+
projectId: string;
|
|
168
|
+
agentId: string | null;
|
|
169
|
+
title: string | null;
|
|
170
|
+
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
173
173
|
/**
|
|
@@ -13,12 +13,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
13
13
|
id: string;
|
|
14
14
|
createdAt: string;
|
|
15
15
|
updatedAt: string;
|
|
16
|
+
metadata: MessageMetadata | null;
|
|
17
|
+
role: string;
|
|
16
18
|
tenantId: string;
|
|
17
19
|
projectId: string;
|
|
18
|
-
metadata: MessageMetadata | null;
|
|
19
20
|
content: MessageContent;
|
|
20
21
|
conversationId: string;
|
|
21
|
-
role: string;
|
|
22
22
|
fromSubAgentId: string | null;
|
|
23
23
|
toSubAgentId: string | null;
|
|
24
24
|
fromExternalAgentId: string | null;
|
|
@@ -144,12 +144,12 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
|
|
|
144
144
|
id: string;
|
|
145
145
|
createdAt: string;
|
|
146
146
|
updatedAt: string;
|
|
147
|
+
metadata: MessageMetadata | null;
|
|
148
|
+
role: string;
|
|
147
149
|
tenantId: string;
|
|
148
150
|
projectId: string;
|
|
149
|
-
metadata: MessageMetadata | null;
|
|
150
151
|
content: MessageContent;
|
|
151
152
|
conversationId: string;
|
|
152
|
-
role: string;
|
|
153
153
|
fromSubAgentId: string | null;
|
|
154
154
|
toSubAgentId: string | null;
|
|
155
155
|
fromExternalAgentId: string | null;
|
|
@@ -197,12 +197,12 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
id: string;
|
|
198
198
|
createdAt: string;
|
|
199
199
|
updatedAt: string;
|
|
200
|
+
metadata: MessageMetadata | null;
|
|
201
|
+
role: string;
|
|
200
202
|
tenantId: string;
|
|
201
203
|
projectId: string;
|
|
202
|
-
metadata: MessageMetadata | null;
|
|
203
204
|
content: MessageContent;
|
|
204
205
|
conversationId: string;
|
|
205
|
-
role: string;
|
|
206
206
|
fromSubAgentId: string | null;
|
|
207
207
|
toSubAgentId: string | null;
|
|
208
208
|
fromExternalAgentId: string | null;
|
|
@@ -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;
|
|
@@ -9,17 +9,17 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
9
9
|
id: string;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
|
-
metadata: TaskMetadataConfig | null;
|
|
15
|
-
agentId: string;
|
|
16
|
-
subAgentId: string;
|
|
17
|
-
status: string;
|
|
18
12
|
ref: {
|
|
19
|
-
type: "
|
|
13
|
+
type: "tag" | "commit" | "branch";
|
|
20
14
|
name: string;
|
|
21
15
|
hash: string;
|
|
22
16
|
} | null;
|
|
17
|
+
metadata: TaskMetadataConfig | null;
|
|
18
|
+
status: string;
|
|
19
|
+
tenantId: string;
|
|
20
|
+
projectId: string;
|
|
21
|
+
agentId: string;
|
|
22
|
+
subAgentId: string;
|
|
23
23
|
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
36
36
|
updatedAt: string;
|
|
37
37
|
contextId: string;
|
|
38
38
|
ref: {
|
|
39
|
-
type: "
|
|
39
|
+
type: "tag" | "commit" | "branch";
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|