@inkeep/agents-core 0.0.0-dev-20260404012728 → 0.0.0-dev-20260405002047
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 +108 -108
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +34 -34
- package/dist/data-access/manage/artifactComponents.d.ts +12 -12
- 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 +14 -14
- package/dist/data-access/manage/skills.d.ts +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +18 -18
- package/dist/data-access/manage/tools.d.ts +18 -18
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +16 -16
- 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/tasks.d.ts +4 -4
- package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +352 -352
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +49 -49
- package/dist/validation/schemas.d.ts +2095 -2095
- package/package.json +1 -1
|
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
content: MessageContent;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
|
-
fromSubAgentId: string | null;
|
|
17
|
-
toSubAgentId: string | null;
|
|
18
|
-
fromExternalAgentId: string | null;
|
|
19
|
-
toExternalAgentId: string | null;
|
|
20
|
-
taskId: string | null;
|
|
21
|
-
a2aTaskId: string | null;
|
|
22
13
|
id: string;
|
|
23
14
|
createdAt: string;
|
|
24
15
|
updatedAt: string;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
projectId: string;
|
|
25
18
|
metadata: MessageMetadata | null;
|
|
19
|
+
content: MessageContent;
|
|
26
20
|
role: string;
|
|
27
21
|
conversationId: string;
|
|
22
|
+
fromSubAgentId: string | null;
|
|
23
|
+
toSubAgentId: string | null;
|
|
24
|
+
fromExternalAgentId: string | null;
|
|
25
|
+
toExternalAgentId: string | null;
|
|
28
26
|
fromTeamAgentId: string | null;
|
|
29
27
|
toTeamAgentId: string | null;
|
|
30
28
|
visibility: string;
|
|
31
29
|
messageType: string;
|
|
30
|
+
taskId: string | null;
|
|
32
31
|
parentMessageId: string | null;
|
|
32
|
+
a2aTaskId: string | null;
|
|
33
33
|
a2aSessionId: string | null;
|
|
34
34
|
} | undefined>;
|
|
35
35
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -144,26 +144,26 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
144
144
|
scopes: ProjectScopeConfig;
|
|
145
145
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
146
146
|
}) => Promise<{
|
|
147
|
-
content: MessageContent;
|
|
148
|
-
tenantId: string;
|
|
149
|
-
projectId: string;
|
|
150
|
-
fromSubAgentId: string | null;
|
|
151
|
-
toSubAgentId: string | null;
|
|
152
|
-
fromExternalAgentId: string | null;
|
|
153
|
-
toExternalAgentId: string | null;
|
|
154
|
-
taskId: string | null;
|
|
155
|
-
a2aTaskId: string | null;
|
|
156
147
|
id: string;
|
|
157
148
|
createdAt: string;
|
|
158
149
|
updatedAt: string;
|
|
150
|
+
tenantId: string;
|
|
151
|
+
projectId: string;
|
|
159
152
|
metadata: MessageMetadata | null;
|
|
153
|
+
content: MessageContent;
|
|
160
154
|
role: string;
|
|
161
155
|
conversationId: string;
|
|
156
|
+
fromSubAgentId: string | null;
|
|
157
|
+
toSubAgentId: string | null;
|
|
158
|
+
fromExternalAgentId: string | null;
|
|
159
|
+
toExternalAgentId: string | null;
|
|
162
160
|
fromTeamAgentId: string | null;
|
|
163
161
|
toTeamAgentId: string | null;
|
|
164
162
|
visibility: string;
|
|
165
163
|
messageType: string;
|
|
164
|
+
taskId: string | null;
|
|
166
165
|
parentMessageId: string | null;
|
|
166
|
+
a2aTaskId: string | null;
|
|
167
167
|
a2aSessionId: string | null;
|
|
168
168
|
}>;
|
|
169
169
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -197,26 +197,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
scopes: ProjectScopeConfig;
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
content: MessageContent;
|
|
201
|
-
tenantId: string;
|
|
202
|
-
projectId: string;
|
|
203
|
-
fromSubAgentId: string | null;
|
|
204
|
-
toSubAgentId: string | null;
|
|
205
|
-
fromExternalAgentId: string | null;
|
|
206
|
-
toExternalAgentId: string | null;
|
|
207
|
-
taskId: string | null;
|
|
208
|
-
a2aTaskId: string | null;
|
|
209
200
|
id: string;
|
|
210
201
|
createdAt: string;
|
|
211
202
|
updatedAt: string;
|
|
203
|
+
tenantId: string;
|
|
204
|
+
projectId: string;
|
|
212
205
|
metadata: MessageMetadata | null;
|
|
206
|
+
content: MessageContent;
|
|
213
207
|
role: string;
|
|
214
208
|
conversationId: string;
|
|
209
|
+
fromSubAgentId: string | null;
|
|
210
|
+
toSubAgentId: string | null;
|
|
211
|
+
fromExternalAgentId: string | null;
|
|
212
|
+
toExternalAgentId: string | null;
|
|
215
213
|
fromTeamAgentId: string | null;
|
|
216
214
|
toTeamAgentId: string | null;
|
|
217
215
|
visibility: string;
|
|
218
216
|
messageType: string;
|
|
217
|
+
taskId: string | null;
|
|
219
218
|
parentMessageId: string | null;
|
|
219
|
+
a2aTaskId: string | null;
|
|
220
220
|
a2aSessionId: string | null;
|
|
221
221
|
}>;
|
|
222
222
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -7,10 +7,6 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
|
|
8
8
|
//#region src/data-access/runtime/tasks.d.ts
|
|
9
9
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
10
|
-
tenantId: string;
|
|
11
|
-
projectId: string;
|
|
12
|
-
status: string;
|
|
13
|
-
subAgentId: string;
|
|
14
10
|
id: string;
|
|
15
11
|
ref: {
|
|
16
12
|
type: "commit" | "tag" | "branch";
|
|
@@ -19,8 +15,12 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
19
15
|
} | null;
|
|
20
16
|
createdAt: string;
|
|
21
17
|
updatedAt: string;
|
|
18
|
+
tenantId: string;
|
|
19
|
+
projectId: string;
|
|
22
20
|
metadata: TaskMetadataConfig | null;
|
|
23
21
|
agentId: string;
|
|
22
|
+
subAgentId: string;
|
|
23
|
+
status: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as drizzle_orm_pg_core15 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_core15.jsonb>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { decodeBackslashes, encodeBackslashes, jsonb };
|