@inkeep/agents-core 0.0.0-dev-20260324095902 → 0.0.0-dev-20260324140455
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 +137 -137
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +5 -5
- package/dist/data-access/manage/agents.d.ts +37 -37
- package/dist/data-access/manage/artifactComponents.d.ts +16 -16
- package/dist/data-access/manage/contextConfigs.d.ts +16 -16
- 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 +15 -15
- 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 +15 -15
- package/dist/data-access/manage/tools.d.ts +21 -21
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +8 -8
- package/dist/data-access/runtime/conversations.d.ts +20 -20
- package/dist/data-access/runtime/messages.d.ts +30 -30
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +330 -330
- package/dist/utils/error.d.ts +51 -51
- package/dist/utils/work-app-mcp.js +4 -3
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1874 -1874
- package/package.json +1 -1
|
@@ -16,20 +16,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
total: number;
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
|
+
title: string | null;
|
|
20
|
+
tenantId: string;
|
|
21
|
+
projectId: string;
|
|
19
22
|
id: string;
|
|
20
23
|
createdAt: string;
|
|
21
24
|
updatedAt: string;
|
|
22
|
-
agentId: string | null;
|
|
23
|
-
projectId: string;
|
|
24
|
-
tenantId: string;
|
|
25
|
-
title: string | null;
|
|
26
25
|
metadata: ConversationMetadata | null;
|
|
26
|
+
agentId: string | null;
|
|
27
|
+
userId: string | null;
|
|
27
28
|
ref: {
|
|
28
29
|
type: "commit" | "tag" | "branch";
|
|
29
30
|
name: string;
|
|
30
31
|
hash: string;
|
|
31
32
|
} | null;
|
|
32
|
-
userId: string | null;
|
|
33
33
|
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
85
85
|
scopes: ProjectScopeConfig;
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
|
+
title: string | null;
|
|
89
|
+
tenantId: string;
|
|
90
|
+
projectId: string;
|
|
88
91
|
id: string;
|
|
89
92
|
createdAt: string;
|
|
90
93
|
updatedAt: string;
|
|
91
|
-
agentId: string | null;
|
|
92
|
-
projectId: string;
|
|
93
|
-
tenantId: string;
|
|
94
|
-
title: string | null;
|
|
95
94
|
metadata: ConversationMetadata | null;
|
|
95
|
+
agentId: string | null;
|
|
96
|
+
userId: string | null;
|
|
96
97
|
ref: {
|
|
97
98
|
type: "commit" | "tag" | "branch";
|
|
98
99
|
name: string;
|
|
99
100
|
hash: string;
|
|
100
101
|
} | null;
|
|
101
|
-
userId: string | null;
|
|
102
102
|
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
121
121
|
metadata?: ConversationMetadata | null | undefined;
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
|
+
title: string | null;
|
|
125
|
+
tenantId: string;
|
|
126
|
+
projectId: string;
|
|
124
127
|
id: string;
|
|
125
128
|
createdAt: string;
|
|
126
129
|
updatedAt: string;
|
|
127
|
-
agentId: string | null;
|
|
128
|
-
projectId: string;
|
|
129
|
-
tenantId: string;
|
|
130
|
-
title: string | null;
|
|
131
130
|
metadata: ConversationMetadata | null;
|
|
131
|
+
agentId: string | null;
|
|
132
|
+
userId: string | null;
|
|
132
133
|
ref: {
|
|
133
134
|
type: "commit" | "tag" | "branch";
|
|
134
135
|
name: string;
|
|
135
136
|
hash: string;
|
|
136
137
|
} | null;
|
|
137
|
-
userId: string | null;
|
|
138
138
|
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
153
153
|
scopes: ProjectScopeConfig;
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
+
title: string | null;
|
|
157
|
+
tenantId: string;
|
|
158
|
+
projectId: string;
|
|
156
159
|
id: string;
|
|
157
160
|
createdAt: string;
|
|
158
161
|
updatedAt: string;
|
|
159
|
-
agentId: string | null;
|
|
160
|
-
projectId: string;
|
|
161
|
-
tenantId: string;
|
|
162
|
-
title: string | null;
|
|
163
162
|
metadata: ConversationMetadata | null;
|
|
163
|
+
agentId: string | null;
|
|
164
|
+
userId: string | null;
|
|
164
165
|
ref: {
|
|
165
166
|
type: "commit" | "tag" | "branch";
|
|
166
167
|
name: string;
|
|
167
168
|
hash: string;
|
|
168
169
|
} | null;
|
|
169
|
-
userId: string | null;
|
|
170
170
|
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
@@ -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
|
-
projectId: string;
|
|
17
|
-
tenantId: string;
|
|
18
|
-
metadata: MessageMetadata | null;
|
|
19
13
|
content: MessageContent;
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
tenantId: 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
|
+
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: {
|
|
@@ -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
|
-
id: string;
|
|
148
|
-
createdAt: string;
|
|
149
|
-
updatedAt: string;
|
|
150
|
-
projectId: string;
|
|
151
|
-
tenantId: string;
|
|
152
|
-
metadata: MessageMetadata | null;
|
|
153
147
|
content: MessageContent;
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
tenantId: string;
|
|
149
|
+
projectId: string;
|
|
156
150
|
fromSubAgentId: string | null;
|
|
157
151
|
toSubAgentId: string | null;
|
|
158
152
|
fromExternalAgentId: string | null;
|
|
159
153
|
toExternalAgentId: string | null;
|
|
154
|
+
taskId: string | null;
|
|
155
|
+
a2aTaskId: string | null;
|
|
156
|
+
id: string;
|
|
157
|
+
createdAt: string;
|
|
158
|
+
updatedAt: string;
|
|
159
|
+
metadata: MessageMetadata | null;
|
|
160
|
+
conversationId: string;
|
|
161
|
+
role: 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: {
|
|
@@ -197,26 +197,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
scopes: ProjectScopeConfig;
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
id: string;
|
|
201
|
-
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
203
|
-
projectId: string;
|
|
204
|
-
tenantId: string;
|
|
205
|
-
metadata: MessageMetadata | null;
|
|
206
200
|
content: MessageContent;
|
|
207
|
-
|
|
208
|
-
|
|
201
|
+
tenantId: string;
|
|
202
|
+
projectId: string;
|
|
209
203
|
fromSubAgentId: string | null;
|
|
210
204
|
toSubAgentId: string | null;
|
|
211
205
|
fromExternalAgentId: string | null;
|
|
212
206
|
toExternalAgentId: string | null;
|
|
207
|
+
taskId: string | null;
|
|
208
|
+
a2aTaskId: string | null;
|
|
209
|
+
id: string;
|
|
210
|
+
createdAt: string;
|
|
211
|
+
updatedAt: string;
|
|
212
|
+
metadata: MessageMetadata | null;
|
|
213
|
+
conversationId: string;
|
|
214
|
+
role: 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: {
|
|
@@ -7,14 +7,14 @@ 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
|
+
subAgentId: string;
|
|
10
13
|
id: string;
|
|
11
14
|
createdAt: string;
|
|
12
15
|
updatedAt: string;
|
|
13
|
-
agentId: string;
|
|
14
|
-
projectId: string;
|
|
15
|
-
tenantId: string;
|
|
16
16
|
metadata: TaskMetadataConfig | null;
|
|
17
|
-
|
|
17
|
+
agentId: string;
|
|
18
18
|
ref: {
|
|
19
19
|
type: "commit" | "tag" | "branch";
|
|
20
20
|
name: string;
|