@inkeep/agents-core 0.55.2 → 0.55.3
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 +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +9 -9
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +32 -32
- package/dist/data-access/manage/artifactComponents.d.ts +8 -8
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +12 -12
- package/dist/data-access/manage/skills.d.ts +11 -11
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- 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/conversations.d.ts +24 -24
- package/dist/data-access/runtime/messages.d.ts +18 -18
- package/dist/data-access/runtime/tasks.d.ts +7 -7
- package/dist/db/manage/manage-schema.d.ts +451 -451
- package/dist/db/runtime/runtime-schema.d.ts +292 -292
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1797 -1797
- package/package.json +1 -1
|
@@ -12,9 +12,9 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
15
|
agentId: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: 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
|
-
tenantId: string;
|
|
51
|
-
projectId: string;
|
|
52
50
|
agentId: string;
|
|
51
|
+
projectId: string;
|
|
52
|
+
tenantId: 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
|
-
tenantId: string;
|
|
64
|
-
projectId: string;
|
|
65
63
|
agentId: string;
|
|
64
|
+
projectId: string;
|
|
65
|
+
tenantId: string;
|
|
66
66
|
subAgentId: string;
|
|
67
67
|
headers: Record<string, string> | null;
|
|
68
68
|
targetAgentId: string;
|
|
@@ -213,9 +213,9 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
213
213
|
id: string;
|
|
214
214
|
createdAt: string;
|
|
215
215
|
updatedAt: string;
|
|
216
|
-
tenantId: string;
|
|
217
|
-
projectId: string;
|
|
218
216
|
agentId: string;
|
|
217
|
+
projectId: string;
|
|
218
|
+
tenantId: string;
|
|
219
219
|
subAgentId: string;
|
|
220
220
|
headers: Record<string, string> | null;
|
|
221
221
|
targetAgentId: string;
|
|
@@ -230,9 +230,9 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
230
230
|
id: string;
|
|
231
231
|
createdAt: string;
|
|
232
232
|
updatedAt: string;
|
|
233
|
-
tenantId: string;
|
|
234
|
-
projectId: string;
|
|
235
233
|
agentId: string;
|
|
234
|
+
projectId: string;
|
|
235
|
+
tenantId: string;
|
|
236
236
|
subAgentId: string;
|
|
237
237
|
headers: Record<string, string> | null;
|
|
238
238
|
targetAgentId: string;
|
|
@@ -251,9 +251,9 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
251
251
|
id: string;
|
|
252
252
|
createdAt: string;
|
|
253
253
|
updatedAt: string;
|
|
254
|
-
tenantId: string;
|
|
255
|
-
projectId: string;
|
|
256
254
|
agentId: string;
|
|
255
|
+
projectId: string;
|
|
256
|
+
tenantId: string;
|
|
257
257
|
subAgentId: string;
|
|
258
258
|
headers: Record<string, string> | null;
|
|
259
259
|
targetAgentId: string;
|
|
@@ -11,11 +11,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
|
+
description: string | null;
|
|
14
15
|
createdAt: string;
|
|
15
16
|
updatedAt: string;
|
|
16
|
-
|
|
17
|
-
tenantId: string;
|
|
17
|
+
agentId: string;
|
|
18
18
|
projectId: string;
|
|
19
|
+
tenantId: string;
|
|
19
20
|
models: {
|
|
20
21
|
base?: {
|
|
21
22
|
model?: string | undefined;
|
|
@@ -30,11 +31,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
30
31
|
providerOptions?: Record<string, any> | undefined;
|
|
31
32
|
} | undefined;
|
|
32
33
|
} | null;
|
|
34
|
+
prompt: string | null;
|
|
33
35
|
stopWhen: {
|
|
34
36
|
stepCountIs?: number | undefined;
|
|
35
37
|
} | null;
|
|
36
|
-
agentId: string;
|
|
37
|
-
prompt: string | null;
|
|
38
38
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -42,11 +42,12 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
42
42
|
}) => Promise<{
|
|
43
43
|
id: string;
|
|
44
44
|
name: string;
|
|
45
|
+
description: string | null;
|
|
45
46
|
createdAt: string;
|
|
46
47
|
updatedAt: string;
|
|
47
|
-
|
|
48
|
-
tenantId: string;
|
|
48
|
+
agentId: string;
|
|
49
49
|
projectId: string;
|
|
50
|
+
tenantId: string;
|
|
50
51
|
models: {
|
|
51
52
|
base?: {
|
|
52
53
|
model?: string | undefined;
|
|
@@ -61,11 +62,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
61
62
|
providerOptions?: Record<string, any> | undefined;
|
|
62
63
|
} | undefined;
|
|
63
64
|
} | null;
|
|
65
|
+
prompt: string | null;
|
|
64
66
|
stopWhen: {
|
|
65
67
|
stepCountIs?: number | undefined;
|
|
66
68
|
} | null;
|
|
67
|
-
agentId: string;
|
|
68
|
-
prompt: string | null;
|
|
69
69
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -111,11 +111,12 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
111
111
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
112
112
|
id: string;
|
|
113
113
|
name: string;
|
|
114
|
+
description: string | null;
|
|
114
115
|
createdAt: string;
|
|
115
116
|
updatedAt: string;
|
|
116
|
-
|
|
117
|
-
tenantId: string;
|
|
117
|
+
agentId: string;
|
|
118
118
|
projectId: string;
|
|
119
|
+
tenantId: string;
|
|
119
120
|
models: {
|
|
120
121
|
base?: {
|
|
121
122
|
model?: string | undefined;
|
|
@@ -130,11 +131,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
130
131
|
providerOptions?: Record<string, any> | undefined;
|
|
131
132
|
} | undefined;
|
|
132
133
|
} | null;
|
|
134
|
+
prompt: string | null;
|
|
133
135
|
stopWhen: {
|
|
134
136
|
stepCountIs?: number | undefined;
|
|
135
137
|
} | null;
|
|
136
|
-
agentId: string;
|
|
137
|
-
prompt: string | null;
|
|
138
138
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
139
139
|
}>;
|
|
140
140
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -21,11 +21,11 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
21
21
|
}) => Promise<{
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
24
|
+
description: string | null;
|
|
24
25
|
createdAt: string;
|
|
25
26
|
updatedAt: string;
|
|
26
|
-
description: string | null;
|
|
27
|
-
tenantId: string;
|
|
28
27
|
projectId: string;
|
|
28
|
+
tenantId: string;
|
|
29
29
|
headers: Record<string, string> | null;
|
|
30
30
|
config: {
|
|
31
31
|
type: "mcp";
|
|
@@ -79,11 +79,11 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
79
79
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
80
80
|
id: string;
|
|
81
81
|
name: string;
|
|
82
|
+
description: string | null;
|
|
82
83
|
createdAt: string;
|
|
83
84
|
updatedAt: string;
|
|
84
|
-
description: string | null;
|
|
85
|
-
tenantId: string;
|
|
86
85
|
projectId: string;
|
|
86
|
+
tenantId: string;
|
|
87
87
|
headers: Record<string, string> | null;
|
|
88
88
|
config: {
|
|
89
89
|
type: "mcp";
|
|
@@ -137,15 +137,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
137
137
|
id: string;
|
|
138
138
|
createdAt: string;
|
|
139
139
|
updatedAt: string;
|
|
140
|
-
tenantId: string;
|
|
141
|
-
projectId: string;
|
|
142
140
|
agentId: string;
|
|
141
|
+
projectId: string;
|
|
142
|
+
tenantId: string;
|
|
143
143
|
subAgentId: string;
|
|
144
|
-
headers: Record<string, string> | null;
|
|
145
|
-
toolId: string;
|
|
146
144
|
toolPolicies: Record<string, {
|
|
147
145
|
needsApproval?: boolean;
|
|
148
146
|
}> | null;
|
|
147
|
+
headers: Record<string, string> | null;
|
|
148
|
+
toolId: string;
|
|
149
149
|
selectedTools: string[] | null;
|
|
150
150
|
}>;
|
|
151
151
|
declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -156,15 +156,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
156
156
|
id: string;
|
|
157
157
|
createdAt: string;
|
|
158
158
|
updatedAt: string;
|
|
159
|
-
tenantId: string;
|
|
160
|
-
projectId: string;
|
|
161
159
|
agentId: string;
|
|
160
|
+
projectId: string;
|
|
161
|
+
tenantId: string;
|
|
162
162
|
subAgentId: string;
|
|
163
|
-
headers: Record<string, string> | null;
|
|
164
|
-
toolId: string;
|
|
165
163
|
toolPolicies: Record<string, {
|
|
166
164
|
needsApproval?: boolean;
|
|
167
165
|
}> | null;
|
|
166
|
+
headers: Record<string, string> | null;
|
|
167
|
+
toolId: string;
|
|
168
168
|
selectedTools: string[] | null;
|
|
169
169
|
}>;
|
|
170
170
|
/**
|
|
@@ -184,15 +184,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
184
184
|
id: string;
|
|
185
185
|
createdAt: string;
|
|
186
186
|
updatedAt: string;
|
|
187
|
-
tenantId: string;
|
|
188
|
-
projectId: string;
|
|
189
187
|
agentId: string;
|
|
188
|
+
projectId: string;
|
|
189
|
+
tenantId: string;
|
|
190
190
|
subAgentId: string;
|
|
191
|
-
headers: Record<string, string> | null;
|
|
192
|
-
toolId: string;
|
|
193
191
|
toolPolicies: Record<string, {
|
|
194
192
|
needsApproval?: boolean;
|
|
195
193
|
}> | null;
|
|
194
|
+
headers: Record<string, string> | null;
|
|
195
|
+
toolId: string;
|
|
196
196
|
selectedTools: string[] | null;
|
|
197
197
|
}>;
|
|
198
198
|
/**
|
|
@@ -203,11 +203,11 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
203
203
|
}) => Promise<{
|
|
204
204
|
id: string;
|
|
205
205
|
name: string;
|
|
206
|
+
description: string | null;
|
|
206
207
|
createdAt: string;
|
|
207
208
|
updatedAt: string;
|
|
208
|
-
description: string | null;
|
|
209
|
-
tenantId: string;
|
|
210
209
|
projectId: string;
|
|
210
|
+
tenantId: string;
|
|
211
211
|
headers: Record<string, string> | null;
|
|
212
212
|
config: {
|
|
213
213
|
type: "mcp";
|
|
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
40
40
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
41
41
|
encoding: "hex" | "base64";
|
|
42
42
|
signature: {
|
|
43
|
-
source: "query" | "
|
|
43
|
+
source: "query" | "header" | "body";
|
|
44
44
|
key: string;
|
|
45
45
|
prefix?: string | undefined;
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "literal" | "
|
|
49
|
+
source: "literal" | "header" | "body";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
@@ -12,28 +12,28 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
12
12
|
name: string | null;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
-
expiresAt: string | null;
|
|
16
|
-
tenantId: string;
|
|
17
|
-
projectId: string;
|
|
18
15
|
agentId: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
19
18
|
publicId: string;
|
|
20
19
|
keyHash: string;
|
|
21
20
|
keyPrefix: string;
|
|
22
21
|
lastUsedAt: string | null;
|
|
22
|
+
expiresAt: string | null;
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
25
|
id: string;
|
|
26
26
|
name: string | null;
|
|
27
27
|
createdAt: string;
|
|
28
28
|
updatedAt: string;
|
|
29
|
-
expiresAt: string | null;
|
|
30
|
-
tenantId: string;
|
|
31
|
-
projectId: string;
|
|
32
29
|
agentId: string;
|
|
30
|
+
projectId: string;
|
|
31
|
+
tenantId: string;
|
|
33
32
|
publicId: string;
|
|
34
33
|
keyHash: string;
|
|
35
34
|
keyPrefix: string;
|
|
36
35
|
lastUsedAt: string | null;
|
|
36
|
+
expiresAt: string | null;
|
|
37
37
|
} | undefined>;
|
|
38
38
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
39
39
|
scopes: ProjectScopeConfig;
|
|
@@ -43,14 +43,14 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
43
43
|
name: string | null;
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
|
-
expiresAt: string | null;
|
|
47
|
-
tenantId: string;
|
|
48
|
-
projectId: string;
|
|
49
46
|
agentId: string;
|
|
47
|
+
projectId: string;
|
|
48
|
+
tenantId: string;
|
|
50
49
|
publicId: string;
|
|
51
50
|
keyHash: string;
|
|
52
51
|
keyPrefix: string;
|
|
53
52
|
lastUsedAt: string | null;
|
|
53
|
+
expiresAt: string | null;
|
|
54
54
|
}[]>;
|
|
55
55
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
56
56
|
scopes: ProjectScopeConfig;
|
|
@@ -70,14 +70,14 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
|
|
|
70
70
|
name: string | null;
|
|
71
71
|
createdAt: string;
|
|
72
72
|
updatedAt: string;
|
|
73
|
-
expiresAt: string | null;
|
|
74
|
-
tenantId: string;
|
|
75
|
-
projectId: string;
|
|
76
73
|
agentId: string;
|
|
74
|
+
projectId: string;
|
|
75
|
+
tenantId: string;
|
|
77
76
|
publicId: string;
|
|
78
77
|
keyHash: string;
|
|
79
78
|
keyPrefix: string;
|
|
80
79
|
lastUsedAt: string | null;
|
|
80
|
+
expiresAt: string | null;
|
|
81
81
|
}>;
|
|
82
82
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
83
83
|
scopes: ProjectScopeConfig;
|
|
@@ -19,17 +19,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
19
19
|
id: string;
|
|
20
20
|
createdAt: string;
|
|
21
21
|
updatedAt: string;
|
|
22
|
+
agentId: string | null;
|
|
23
|
+
projectId: string;
|
|
24
|
+
tenantId: string;
|
|
25
|
+
title: string | null;
|
|
26
|
+
metadata: ConversationMetadata | null;
|
|
27
|
+
userId: string | null;
|
|
22
28
|
ref: {
|
|
23
29
|
type: "commit" | "tag" | "branch";
|
|
24
30
|
name: string;
|
|
25
31
|
hash: string;
|
|
26
32
|
} | null;
|
|
27
|
-
userId: string | null;
|
|
28
|
-
metadata: ConversationMetadata | null;
|
|
29
|
-
tenantId: string;
|
|
30
|
-
projectId: string;
|
|
31
|
-
title: string | null;
|
|
32
|
-
agentId: string | null;
|
|
33
33
|
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
@@ -88,17 +88,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
88
88
|
id: string;
|
|
89
89
|
createdAt: string;
|
|
90
90
|
updatedAt: string;
|
|
91
|
+
agentId: string | null;
|
|
92
|
+
projectId: string;
|
|
93
|
+
tenantId: string;
|
|
94
|
+
title: string | null;
|
|
95
|
+
metadata: ConversationMetadata | null;
|
|
96
|
+
userId: string | null;
|
|
91
97
|
ref: {
|
|
92
98
|
type: "commit" | "tag" | "branch";
|
|
93
99
|
name: string;
|
|
94
100
|
hash: string;
|
|
95
101
|
} | null;
|
|
96
|
-
userId: string | null;
|
|
97
|
-
metadata: ConversationMetadata | null;
|
|
98
|
-
tenantId: string;
|
|
99
|
-
projectId: string;
|
|
100
|
-
title: string | null;
|
|
101
|
-
agentId: string | null;
|
|
102
102
|
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
@@ -124,17 +124,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
124
124
|
id: string;
|
|
125
125
|
createdAt: string;
|
|
126
126
|
updatedAt: string;
|
|
127
|
+
agentId: string | null;
|
|
128
|
+
projectId: string;
|
|
129
|
+
tenantId: string;
|
|
130
|
+
title: string | null;
|
|
131
|
+
metadata: ConversationMetadata | null;
|
|
132
|
+
userId: string | null;
|
|
127
133
|
ref: {
|
|
128
134
|
type: "commit" | "tag" | "branch";
|
|
129
135
|
name: string;
|
|
130
136
|
hash: string;
|
|
131
137
|
} | null;
|
|
132
|
-
userId: string | null;
|
|
133
|
-
metadata: ConversationMetadata | null;
|
|
134
|
-
tenantId: string;
|
|
135
|
-
projectId: string;
|
|
136
|
-
title: string | null;
|
|
137
|
-
agentId: string | null;
|
|
138
138
|
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
@@ -156,17 +156,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
156
156
|
id: string;
|
|
157
157
|
createdAt: string;
|
|
158
158
|
updatedAt: string;
|
|
159
|
+
agentId: string | null;
|
|
160
|
+
projectId: string;
|
|
161
|
+
tenantId: string;
|
|
162
|
+
title: string | null;
|
|
163
|
+
metadata: ConversationMetadata | null;
|
|
164
|
+
userId: string | null;
|
|
159
165
|
ref: {
|
|
160
166
|
type: "commit" | "tag" | "branch";
|
|
161
167
|
name: string;
|
|
162
168
|
hash: string;
|
|
163
169
|
} | null;
|
|
164
|
-
userId: string | null;
|
|
165
|
-
metadata: ConversationMetadata | null;
|
|
166
|
-
tenantId: string;
|
|
167
|
-
projectId: string;
|
|
168
|
-
title: string | null;
|
|
169
|
-
agentId: string | null;
|
|
170
170
|
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
@@ -13,23 +13,23 @@ 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;
|
|
18
|
-
tenantId: string;
|
|
19
16
|
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
|
+
metadata: MessageMetadata | null;
|
|
20
19
|
content: MessageContent;
|
|
20
|
+
conversationId: string;
|
|
21
|
+
role: string;
|
|
21
22
|
fromSubAgentId: string | null;
|
|
22
23
|
toSubAgentId: string | null;
|
|
23
24
|
fromExternalAgentId: string | null;
|
|
24
25
|
toExternalAgentId: string | null;
|
|
25
|
-
taskId: string | null;
|
|
26
|
-
a2aTaskId: string | null;
|
|
27
|
-
conversationId: string;
|
|
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,23 +144,23 @@ 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;
|
|
149
|
-
tenantId: string;
|
|
150
147
|
projectId: string;
|
|
148
|
+
tenantId: string;
|
|
149
|
+
metadata: MessageMetadata | null;
|
|
151
150
|
content: MessageContent;
|
|
151
|
+
conversationId: string;
|
|
152
|
+
role: string;
|
|
152
153
|
fromSubAgentId: string | null;
|
|
153
154
|
toSubAgentId: string | null;
|
|
154
155
|
fromExternalAgentId: string | null;
|
|
155
156
|
toExternalAgentId: string | null;
|
|
156
|
-
taskId: string | null;
|
|
157
|
-
a2aTaskId: string | null;
|
|
158
|
-
conversationId: string;
|
|
159
157
|
fromTeamAgentId: string | null;
|
|
160
158
|
toTeamAgentId: string | null;
|
|
161
159
|
visibility: string;
|
|
162
160
|
messageType: string;
|
|
161
|
+
taskId: string | null;
|
|
163
162
|
parentMessageId: string | null;
|
|
163
|
+
a2aTaskId: string | null;
|
|
164
164
|
a2aSessionId: string | null;
|
|
165
165
|
}>;
|
|
166
166
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -197,23 +197,23 @@ 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;
|
|
202
|
-
tenantId: string;
|
|
203
200
|
projectId: string;
|
|
201
|
+
tenantId: string;
|
|
202
|
+
metadata: MessageMetadata | null;
|
|
204
203
|
content: MessageContent;
|
|
204
|
+
conversationId: string;
|
|
205
|
+
role: string;
|
|
205
206
|
fromSubAgentId: string | null;
|
|
206
207
|
toSubAgentId: string | null;
|
|
207
208
|
fromExternalAgentId: string | null;
|
|
208
209
|
toExternalAgentId: string | null;
|
|
209
|
-
taskId: string | null;
|
|
210
|
-
a2aTaskId: string | null;
|
|
211
|
-
conversationId: string;
|
|
212
210
|
fromTeamAgentId: string | null;
|
|
213
211
|
toTeamAgentId: string | null;
|
|
214
212
|
visibility: string;
|
|
215
213
|
messageType: string;
|
|
214
|
+
taskId: string | null;
|
|
216
215
|
parentMessageId: string | null;
|
|
216
|
+
a2aTaskId: string | null;
|
|
217
217
|
a2aSessionId: string | null;
|
|
218
218
|
}>;
|
|
219
219
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -9,18 +9,18 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
9
9
|
id: string;
|
|
10
10
|
createdAt: string;
|
|
11
11
|
updatedAt: string;
|
|
12
|
+
agentId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
subAgentId: string;
|
|
16
|
+
metadata: TaskMetadataConfig | null;
|
|
17
|
+
status: string;
|
|
18
|
+
contextId: string;
|
|
12
19
|
ref: {
|
|
13
20
|
type: "commit" | "tag" | "branch";
|
|
14
21
|
name: string;
|
|
15
22
|
hash: string;
|
|
16
23
|
} | null;
|
|
17
|
-
metadata: TaskMetadataConfig | null;
|
|
18
|
-
status: string;
|
|
19
|
-
tenantId: string;
|
|
20
|
-
projectId: string;
|
|
21
|
-
agentId: string;
|
|
22
|
-
subAgentId: string;
|
|
23
|
-
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|