@inkeep/agents-core 0.0.0-dev-20260410161635 → 0.0.0-dev-20260410213051
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/auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +32 -32
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +8 -8
- package/dist/data-access/manage/skills.d.ts +9 -9
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +12 -12
- package/dist/data-access/manage/triggers.d.ts +1 -1
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/apps.d.ts +6 -6
- package/dist/data-access/runtime/conversations.d.ts +28 -28
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/tasks.d.ts +7 -7
- package/dist/db/manage/manage-schema.d.ts +491 -491
- package/dist/db/manage/manage-schema.js +39 -40
- package/dist/db/runtime/runtime-schema.d.ts +405 -405
- package/dist/validation/schemas/skills.d.ts +43 -43
- package/dist/validation/schemas.d.ts +705 -705
- package/package.json +1 -1
- package/dist/db/manage/dolt-safe-jsonb.d.ts +0 -12
- package/dist/db/manage/dolt-safe-jsonb.js +0 -61
|
@@ -12,9 +12,9 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
+
agentId: string;
|
|
15
16
|
projectId: string;
|
|
16
17
|
tenantId: string;
|
|
17
|
-
agentId: string;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
headers: Record<string, string> | null;
|
|
20
20
|
targetAgentId: string;
|
|
@@ -47,9 +47,9 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
|
|
|
47
47
|
id: string;
|
|
48
48
|
createdAt: string;
|
|
49
49
|
updatedAt: string;
|
|
50
|
+
agentId: string;
|
|
50
51
|
projectId: string;
|
|
51
52
|
tenantId: string;
|
|
52
|
-
agentId: string;
|
|
53
53
|
subAgentId: string;
|
|
54
54
|
headers: Record<string, string> | null;
|
|
55
55
|
targetAgentId: string;
|
|
@@ -60,9 +60,9 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
|
|
|
60
60
|
id: string;
|
|
61
61
|
createdAt: string;
|
|
62
62
|
updatedAt: string;
|
|
63
|
+
agentId: string;
|
|
63
64
|
projectId: string;
|
|
64
65
|
tenantId: string;
|
|
65
|
-
agentId: string;
|
|
66
66
|
subAgentId: string;
|
|
67
67
|
headers: Record<string, string> | null;
|
|
68
68
|
targetAgentId: string;
|
|
@@ -225,9 +225,9 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
225
225
|
id: string;
|
|
226
226
|
createdAt: string;
|
|
227
227
|
updatedAt: string;
|
|
228
|
+
agentId: string;
|
|
228
229
|
projectId: string;
|
|
229
230
|
tenantId: string;
|
|
230
|
-
agentId: string;
|
|
231
231
|
subAgentId: string;
|
|
232
232
|
headers: Record<string, string> | null;
|
|
233
233
|
targetAgentId: string;
|
|
@@ -242,9 +242,9 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
242
242
|
id: string;
|
|
243
243
|
createdAt: string;
|
|
244
244
|
updatedAt: string;
|
|
245
|
+
agentId: string;
|
|
245
246
|
projectId: string;
|
|
246
247
|
tenantId: string;
|
|
247
|
-
agentId: string;
|
|
248
248
|
subAgentId: string;
|
|
249
249
|
headers: Record<string, string> | null;
|
|
250
250
|
targetAgentId: string;
|
|
@@ -263,9 +263,9 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
263
263
|
id: string;
|
|
264
264
|
createdAt: string;
|
|
265
265
|
updatedAt: string;
|
|
266
|
+
agentId: string;
|
|
266
267
|
projectId: string;
|
|
267
268
|
tenantId: string;
|
|
268
|
-
agentId: string;
|
|
269
269
|
subAgentId: string;
|
|
270
270
|
headers: Record<string, string> | null;
|
|
271
271
|
targetAgentId: string;
|
|
@@ -10,12 +10,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
description: string | null;
|
|
15
13
|
createdAt: string;
|
|
14
|
+
name: string;
|
|
16
15
|
updatedAt: string;
|
|
16
|
+
agentId: string;
|
|
17
17
|
projectId: string;
|
|
18
18
|
tenantId: string;
|
|
19
|
+
description: string | null;
|
|
19
20
|
models: {
|
|
20
21
|
base?: {
|
|
21
22
|
model?: string | undefined;
|
|
@@ -36,23 +37,23 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
36
37
|
allowedProviders?: string[] | undefined;
|
|
37
38
|
} | undefined;
|
|
38
39
|
} | null;
|
|
40
|
+
prompt: string | null;
|
|
39
41
|
stopWhen: {
|
|
40
42
|
stepCountIs?: number | undefined;
|
|
41
43
|
} | null;
|
|
42
|
-
agentId: string;
|
|
43
|
-
prompt: string | null;
|
|
44
44
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
45
45
|
} | undefined>;
|
|
46
46
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
47
47
|
scopes: AgentScopeConfig;
|
|
48
48
|
}) => Promise<{
|
|
49
49
|
id: string;
|
|
50
|
-
name: string;
|
|
51
|
-
description: string | null;
|
|
52
50
|
createdAt: string;
|
|
51
|
+
name: string;
|
|
53
52
|
updatedAt: string;
|
|
53
|
+
agentId: string;
|
|
54
54
|
projectId: string;
|
|
55
55
|
tenantId: string;
|
|
56
|
+
description: string | null;
|
|
56
57
|
models: {
|
|
57
58
|
base?: {
|
|
58
59
|
model?: string | undefined;
|
|
@@ -73,11 +74,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
73
74
|
allowedProviders?: string[] | undefined;
|
|
74
75
|
} | undefined;
|
|
75
76
|
} | null;
|
|
77
|
+
prompt: string | null;
|
|
76
78
|
stopWhen: {
|
|
77
79
|
stepCountIs?: number | undefined;
|
|
78
80
|
} | null;
|
|
79
|
-
agentId: string;
|
|
80
|
-
prompt: string | null;
|
|
81
81
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
82
82
|
}[]>;
|
|
83
83
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -128,12 +128,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
128
128
|
}>;
|
|
129
129
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
130
130
|
id: string;
|
|
131
|
-
name: string;
|
|
132
|
-
description: string | null;
|
|
133
131
|
createdAt: string;
|
|
132
|
+
name: string;
|
|
134
133
|
updatedAt: string;
|
|
134
|
+
agentId: string;
|
|
135
135
|
projectId: string;
|
|
136
136
|
tenantId: string;
|
|
137
|
+
description: string | null;
|
|
137
138
|
models: {
|
|
138
139
|
base?: {
|
|
139
140
|
model?: string | undefined;
|
|
@@ -154,11 +155,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
154
155
|
allowedProviders?: string[] | undefined;
|
|
155
156
|
} | undefined;
|
|
156
157
|
} | null;
|
|
158
|
+
prompt: string | null;
|
|
157
159
|
stopWhen: {
|
|
158
160
|
stepCountIs?: number | undefined;
|
|
159
161
|
} | null;
|
|
160
|
-
agentId: string;
|
|
161
|
-
prompt: string | null;
|
|
162
162
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
163
163
|
}>;
|
|
164
164
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -21,12 +21,12 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
21
21
|
toolId: string;
|
|
22
22
|
}) => Promise<{
|
|
23
23
|
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
description: string | null;
|
|
26
24
|
createdAt: string;
|
|
25
|
+
name: string;
|
|
27
26
|
updatedAt: string;
|
|
28
27
|
projectId: string;
|
|
29
28
|
tenantId: string;
|
|
29
|
+
description: string | null;
|
|
30
30
|
headers: Record<string, string> | null;
|
|
31
31
|
config: {
|
|
32
32
|
type: "mcp";
|
|
@@ -79,12 +79,12 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
79
79
|
}>;
|
|
80
80
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
81
81
|
id: string;
|
|
82
|
-
name: string;
|
|
83
|
-
description: string | null;
|
|
84
82
|
createdAt: string;
|
|
83
|
+
name: string;
|
|
85
84
|
updatedAt: string;
|
|
86
85
|
projectId: string;
|
|
87
86
|
tenantId: string;
|
|
87
|
+
description: string | null;
|
|
88
88
|
headers: Record<string, string> | null;
|
|
89
89
|
config: {
|
|
90
90
|
type: "mcp";
|
|
@@ -138,12 +138,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
138
138
|
id: string;
|
|
139
139
|
createdAt: string;
|
|
140
140
|
updatedAt: string;
|
|
141
|
+
agentId: string;
|
|
141
142
|
projectId: string;
|
|
142
143
|
tenantId: string;
|
|
143
|
-
agentId: string;
|
|
144
144
|
subAgentId: string;
|
|
145
|
-
headers: Record<string, string> | null;
|
|
146
145
|
toolId: string;
|
|
146
|
+
headers: Record<string, string> | null;
|
|
147
147
|
toolPolicies: Record<string, {
|
|
148
148
|
needsApproval?: boolean;
|
|
149
149
|
}> | null;
|
|
@@ -157,12 +157,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
157
157
|
id: string;
|
|
158
158
|
createdAt: string;
|
|
159
159
|
updatedAt: string;
|
|
160
|
+
agentId: string;
|
|
160
161
|
projectId: string;
|
|
161
162
|
tenantId: string;
|
|
162
|
-
agentId: string;
|
|
163
163
|
subAgentId: string;
|
|
164
|
-
headers: Record<string, string> | null;
|
|
165
164
|
toolId: string;
|
|
165
|
+
headers: Record<string, string> | null;
|
|
166
166
|
toolPolicies: Record<string, {
|
|
167
167
|
needsApproval?: boolean;
|
|
168
168
|
}> | null;
|
|
@@ -185,12 +185,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
185
185
|
id: string;
|
|
186
186
|
createdAt: string;
|
|
187
187
|
updatedAt: string;
|
|
188
|
+
agentId: string;
|
|
188
189
|
projectId: string;
|
|
189
190
|
tenantId: string;
|
|
190
|
-
agentId: string;
|
|
191
191
|
subAgentId: string;
|
|
192
|
-
headers: Record<string, string> | null;
|
|
193
192
|
toolId: string;
|
|
193
|
+
headers: Record<string, string> | null;
|
|
194
194
|
toolPolicies: Record<string, {
|
|
195
195
|
needsApproval?: boolean;
|
|
196
196
|
}> | null;
|
|
@@ -203,12 +203,12 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
203
203
|
data: ToolInsert;
|
|
204
204
|
}) => Promise<{
|
|
205
205
|
id: string;
|
|
206
|
-
name: string;
|
|
207
|
-
description: string | null;
|
|
208
206
|
createdAt: string;
|
|
207
|
+
name: string;
|
|
209
208
|
updatedAt: string;
|
|
210
209
|
projectId: string;
|
|
211
210
|
tenantId: string;
|
|
211
|
+
description: string | null;
|
|
212
212
|
headers: Record<string, string> | null;
|
|
213
213
|
config: {
|
|
214
214
|
type: "mcp";
|
|
@@ -132,9 +132,9 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
132
132
|
userId: string;
|
|
133
133
|
}) => Promise<{
|
|
134
134
|
createdAt: string;
|
|
135
|
+
agentId: string;
|
|
135
136
|
projectId: string;
|
|
136
137
|
tenantId: string;
|
|
137
|
-
agentId: string;
|
|
138
138
|
userId: string;
|
|
139
139
|
triggerId: string;
|
|
140
140
|
}>;
|
|
@@ -9,12 +9,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
id: string;
|
|
10
10
|
}) => Promise<{
|
|
11
11
|
id: string;
|
|
12
|
-
name: string | null;
|
|
13
12
|
createdAt: string;
|
|
13
|
+
name: string | null;
|
|
14
14
|
updatedAt: string;
|
|
15
|
+
agentId: string;
|
|
15
16
|
projectId: string;
|
|
16
17
|
tenantId: string;
|
|
17
|
-
agentId: string;
|
|
18
18
|
publicId: string;
|
|
19
19
|
keyHash: string;
|
|
20
20
|
keyPrefix: string;
|
|
@@ -23,12 +23,12 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
25
|
id: string;
|
|
26
|
-
name: string | null;
|
|
27
26
|
createdAt: string;
|
|
27
|
+
name: string | null;
|
|
28
28
|
updatedAt: string;
|
|
29
|
+
agentId: string;
|
|
29
30
|
projectId: string;
|
|
30
31
|
tenantId: string;
|
|
31
|
-
agentId: string;
|
|
32
32
|
publicId: string;
|
|
33
33
|
keyHash: string;
|
|
34
34
|
keyPrefix: string;
|
|
@@ -40,12 +40,12 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
40
40
|
agentId?: string;
|
|
41
41
|
}) => Promise<{
|
|
42
42
|
id: string;
|
|
43
|
-
name: string | null;
|
|
44
43
|
createdAt: string;
|
|
44
|
+
name: string | null;
|
|
45
45
|
updatedAt: string;
|
|
46
|
+
agentId: string;
|
|
46
47
|
projectId: string;
|
|
47
48
|
tenantId: string;
|
|
48
|
-
agentId: string;
|
|
49
49
|
publicId: string;
|
|
50
50
|
keyHash: string;
|
|
51
51
|
keyPrefix: string;
|
|
@@ -67,12 +67,12 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
67
67
|
}>;
|
|
68
68
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
69
69
|
id: string;
|
|
70
|
-
name: string | null;
|
|
71
70
|
createdAt: string;
|
|
71
|
+
name: string | null;
|
|
72
72
|
updatedAt: string;
|
|
73
|
+
agentId: string;
|
|
73
74
|
projectId: string;
|
|
74
75
|
tenantId: string;
|
|
75
|
-
agentId: string;
|
|
76
76
|
publicId: string;
|
|
77
77
|
keyHash: string;
|
|
78
78
|
keyPrefix: string;
|
|
@@ -6,15 +6,15 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
|
|
|
6
6
|
//#region src/data-access/runtime/apps.d.ts
|
|
7
7
|
declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
|
|
8
8
|
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description: string | null;
|
|
11
9
|
createdAt: string;
|
|
10
|
+
name: string;
|
|
12
11
|
updatedAt: string;
|
|
13
12
|
projectId: string | null;
|
|
14
13
|
tenantId: string | null;
|
|
14
|
+
description: string | null;
|
|
15
15
|
type: AppType;
|
|
16
|
-
prompt: string | null;
|
|
17
16
|
enabled: boolean;
|
|
17
|
+
prompt: string | null;
|
|
18
18
|
config: {
|
|
19
19
|
type: "web_client";
|
|
20
20
|
webClient: {
|
|
@@ -62,15 +62,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
62
62
|
}>;
|
|
63
63
|
declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
|
|
64
64
|
id: string;
|
|
65
|
-
name: string;
|
|
66
|
-
description: string | null;
|
|
67
65
|
createdAt: string;
|
|
66
|
+
name: string;
|
|
68
67
|
updatedAt: string;
|
|
69
68
|
projectId: string | null;
|
|
70
69
|
tenantId: string | null;
|
|
70
|
+
description: string | null;
|
|
71
71
|
type: AppType;
|
|
72
|
-
prompt: string | null;
|
|
73
72
|
enabled: boolean;
|
|
73
|
+
prompt: string | null;
|
|
74
74
|
config: {
|
|
75
75
|
type: "web_client";
|
|
76
76
|
webClient: {
|
|
@@ -16,19 +16,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
18
|
id: string;
|
|
19
|
-
metadata: ConversationMetadata | null;
|
|
20
|
-
ref: {
|
|
21
|
-
type: "commit" | "tag" | "branch";
|
|
22
|
-
name: string;
|
|
23
|
-
hash: string;
|
|
24
|
-
} | null;
|
|
25
19
|
createdAt: string;
|
|
26
20
|
updatedAt: string;
|
|
21
|
+
agentId: string | null;
|
|
27
22
|
projectId: string;
|
|
28
23
|
tenantId: string;
|
|
29
24
|
title: string | null;
|
|
30
|
-
|
|
25
|
+
metadata: ConversationMetadata | null;
|
|
31
26
|
userId: string | null;
|
|
27
|
+
ref: {
|
|
28
|
+
type: "commit" | "tag" | "branch";
|
|
29
|
+
name: string;
|
|
30
|
+
hash: string;
|
|
31
|
+
} | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
@@ -85,19 +85,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
87
|
id: string;
|
|
88
|
-
metadata: ConversationMetadata | null;
|
|
89
|
-
ref: {
|
|
90
|
-
type: "commit" | "tag" | "branch";
|
|
91
|
-
name: string;
|
|
92
|
-
hash: string;
|
|
93
|
-
} | null;
|
|
94
88
|
createdAt: string;
|
|
95
89
|
updatedAt: string;
|
|
90
|
+
agentId: string | null;
|
|
96
91
|
projectId: string;
|
|
97
92
|
tenantId: string;
|
|
98
93
|
title: string | null;
|
|
99
|
-
|
|
94
|
+
metadata: ConversationMetadata | null;
|
|
100
95
|
userId: string | null;
|
|
96
|
+
ref: {
|
|
97
|
+
type: "commit" | "tag" | "branch";
|
|
98
|
+
name: string;
|
|
99
|
+
hash: string;
|
|
100
|
+
} | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
@@ -121,19 +121,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
123
|
id: string;
|
|
124
|
-
metadata: ConversationMetadata | null;
|
|
125
|
-
ref: {
|
|
126
|
-
type: "commit" | "tag" | "branch";
|
|
127
|
-
name: string;
|
|
128
|
-
hash: string;
|
|
129
|
-
} | null;
|
|
130
124
|
createdAt: string;
|
|
131
125
|
updatedAt: string;
|
|
126
|
+
agentId: string | null;
|
|
132
127
|
projectId: string;
|
|
133
128
|
tenantId: string;
|
|
134
129
|
title: string | null;
|
|
135
|
-
|
|
130
|
+
metadata: ConversationMetadata | null;
|
|
136
131
|
userId: string | null;
|
|
132
|
+
ref: {
|
|
133
|
+
type: "commit" | "tag" | "branch";
|
|
134
|
+
name: string;
|
|
135
|
+
hash: string;
|
|
136
|
+
} | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
@@ -153,19 +153,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
155
|
id: string;
|
|
156
|
-
metadata: ConversationMetadata | null;
|
|
157
|
-
ref: {
|
|
158
|
-
type: "commit" | "tag" | "branch";
|
|
159
|
-
name: string;
|
|
160
|
-
hash: string;
|
|
161
|
-
} | null;
|
|
162
156
|
createdAt: string;
|
|
163
157
|
updatedAt: string;
|
|
158
|
+
agentId: string | null;
|
|
164
159
|
projectId: string;
|
|
165
160
|
tenantId: string;
|
|
166
161
|
title: string | null;
|
|
167
|
-
|
|
162
|
+
metadata: ConversationMetadata | null;
|
|
168
163
|
userId: string | null;
|
|
164
|
+
ref: {
|
|
165
|
+
type: "commit" | "tag" | "branch";
|
|
166
|
+
name: string;
|
|
167
|
+
hash: string;
|
|
168
|
+
} | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -11,12 +11,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
13
|
id: string;
|
|
14
|
-
content: MessageContent;
|
|
15
|
-
metadata: MessageMetadata | null;
|
|
16
14
|
createdAt: string;
|
|
17
15
|
updatedAt: string;
|
|
18
16
|
projectId: string;
|
|
19
17
|
tenantId: string;
|
|
18
|
+
metadata: MessageMetadata | null;
|
|
19
|
+
content: MessageContent;
|
|
20
20
|
fromSubAgentId: string | null;
|
|
21
21
|
toSubAgentId: string | null;
|
|
22
22
|
fromExternalAgentId: string | null;
|
|
@@ -145,12 +145,12 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
145
145
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
146
146
|
}) => Promise<{
|
|
147
147
|
id: string;
|
|
148
|
-
content: MessageContent;
|
|
149
|
-
metadata: MessageMetadata | null;
|
|
150
148
|
createdAt: string;
|
|
151
149
|
updatedAt: string;
|
|
152
150
|
projectId: string;
|
|
153
151
|
tenantId: string;
|
|
152
|
+
metadata: MessageMetadata | null;
|
|
153
|
+
content: MessageContent;
|
|
154
154
|
fromSubAgentId: string | null;
|
|
155
155
|
toSubAgentId: string | null;
|
|
156
156
|
fromExternalAgentId: string | null;
|
|
@@ -198,12 +198,12 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
200
|
id: string;
|
|
201
|
-
content: MessageContent;
|
|
202
|
-
metadata: MessageMetadata | null;
|
|
203
201
|
createdAt: string;
|
|
204
202
|
updatedAt: string;
|
|
205
203
|
projectId: string;
|
|
206
204
|
tenantId: string;
|
|
205
|
+
metadata: MessageMetadata | null;
|
|
206
|
+
content: MessageContent;
|
|
207
207
|
fromSubAgentId: string | null;
|
|
208
208
|
toSubAgentId: string | null;
|
|
209
209
|
fromExternalAgentId: string | null;
|
|
@@ -8,19 +8,19 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
8
8
|
//#region src/data-access/runtime/tasks.d.ts
|
|
9
9
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
10
10
|
id: string;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
agentId: string;
|
|
14
|
+
projectId: string;
|
|
15
|
+
tenantId: string;
|
|
11
16
|
metadata: TaskMetadataConfig | null;
|
|
17
|
+
subAgentId: string;
|
|
18
|
+
status: string;
|
|
12
19
|
ref: {
|
|
13
20
|
type: "commit" | "tag" | "branch";
|
|
14
21
|
name: string;
|
|
15
22
|
hash: string;
|
|
16
23
|
} | null;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
projectId: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
agentId: string;
|
|
22
|
-
status: string;
|
|
23
|
-
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|