@inkeep/agents-core 0.0.0-dev-20260404213053 → 0.0.0-dev-20260405014717
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/data-access/manage/subAgentRelations.d.ts +2 -2
- package/dist/data-access/manage/tools.d.ts +3 -3
- package/dist/data-access/runtime/apps.d.ts +2 -2
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/tasks.d.ts +1 -1
- package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
- package/dist/db/runtime/runtime-schema.d.ts +354 -354
- package/dist/validation/schemas/skills.d.ts +17 -17
- package/dist/validation/schemas.d.ts +48 -48
- package/package.json +1 -1
|
@@ -211,8 +211,8 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
211
211
|
agentId: string;
|
|
212
212
|
projectId: string;
|
|
213
213
|
tenantId: string;
|
|
214
|
-
toolId: string;
|
|
215
214
|
subAgentId: string;
|
|
215
|
+
toolId: string;
|
|
216
216
|
toolPolicies: Record<string, {
|
|
217
217
|
needsApproval?: boolean;
|
|
218
218
|
}> | null;
|
|
@@ -255,8 +255,8 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
255
255
|
agentId: string;
|
|
256
256
|
projectId: string;
|
|
257
257
|
tenantId: string;
|
|
258
|
-
toolId: string;
|
|
259
258
|
subAgentId: string;
|
|
259
|
+
toolId: string;
|
|
260
260
|
toolPolicies: Record<string, {
|
|
261
261
|
needsApproval?: boolean;
|
|
262
262
|
}> | null;
|
|
@@ -142,8 +142,8 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
142
142
|
agentId: string;
|
|
143
143
|
projectId: string;
|
|
144
144
|
tenantId: string;
|
|
145
|
-
toolId: string;
|
|
146
145
|
subAgentId: string;
|
|
146
|
+
toolId: string;
|
|
147
147
|
toolPolicies: Record<string, {
|
|
148
148
|
needsApproval?: boolean;
|
|
149
149
|
}> | null;
|
|
@@ -161,8 +161,8 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
161
161
|
agentId: string;
|
|
162
162
|
projectId: string;
|
|
163
163
|
tenantId: string;
|
|
164
|
-
toolId: string;
|
|
165
164
|
subAgentId: string;
|
|
165
|
+
toolId: string;
|
|
166
166
|
toolPolicies: Record<string, {
|
|
167
167
|
needsApproval?: boolean;
|
|
168
168
|
}> | null;
|
|
@@ -189,8 +189,8 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
189
189
|
agentId: string;
|
|
190
190
|
projectId: string;
|
|
191
191
|
tenantId: string;
|
|
192
|
-
toolId: string;
|
|
193
192
|
subAgentId: string;
|
|
193
|
+
toolId: string;
|
|
194
194
|
toolPolicies: Record<string, {
|
|
195
195
|
needsApproval?: boolean;
|
|
196
196
|
}> | null;
|
|
@@ -5,13 +5,13 @@ 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;
|
|
8
9
|
id: string;
|
|
9
10
|
name: string;
|
|
10
11
|
createdAt: string;
|
|
11
12
|
updatedAt: string;
|
|
12
13
|
description: string | null;
|
|
13
14
|
enabled: boolean;
|
|
14
|
-
type: AppType;
|
|
15
15
|
projectId: string | null;
|
|
16
16
|
tenantId: string | null;
|
|
17
17
|
prompt: string | null;
|
|
@@ -61,13 +61,13 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
63
|
declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
|
|
64
|
+
type: AppType;
|
|
64
65
|
id: string;
|
|
65
66
|
name: string;
|
|
66
67
|
createdAt: string;
|
|
67
68
|
updatedAt: string;
|
|
68
69
|
description: string | null;
|
|
69
70
|
enabled: boolean;
|
|
70
|
-
type: AppType;
|
|
71
71
|
projectId: string | null;
|
|
72
72
|
tenantId: string | null;
|
|
73
73
|
prompt: string | null;
|
|
@@ -18,18 +18,18 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
18
18
|
projectId: string;
|
|
19
19
|
tenantId: string;
|
|
20
20
|
content: MessageContent;
|
|
21
|
-
conversationId: 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: {
|
|
@@ -152,18 +152,18 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
152
152
|
projectId: string;
|
|
153
153
|
tenantId: string;
|
|
154
154
|
content: MessageContent;
|
|
155
|
-
conversationId: 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: {
|
|
@@ -205,18 +205,18 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
205
205
|
projectId: string;
|
|
206
206
|
tenantId: string;
|
|
207
207
|
content: MessageContent;
|
|
208
|
-
conversationId: 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: {
|
|
@@ -20,8 +20,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
20
20
|
agentId: string;
|
|
21
21
|
projectId: string;
|
|
22
22
|
tenantId: string;
|
|
23
|
-
contextId: string;
|
|
24
23
|
subAgentId: string;
|
|
24
|
+
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
27
27
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as drizzle_orm_pg_core1458 from "drizzle-orm/pg-core";
|
|
2
2
|
|
|
3
3
|
//#region src/db/manage/dolt-safe-jsonb.d.ts
|
|
4
4
|
declare function encodeBackslashes(value: unknown): unknown;
|
|
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
|
|
|
7
7
|
* Drop-in replacement for drizzle-orm's `jsonb()`.
|
|
8
8
|
* Encodes backslashes on write and decodes on read to work around the Doltgres bug.
|
|
9
9
|
*/
|
|
10
|
-
declare function jsonb(name: string): ReturnType<typeof
|
|
10
|
+
declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1458.jsonb>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { decodeBackslashes, encodeBackslashes, jsonb };
|