@inkeep/agents-core 0.53.2 → 0.53.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.d.ts +458 -429
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +15 -15
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +4 -4
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +6 -6
- package/dist/data-access/manage/skills.d.ts +5 -5
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
- package/dist/data-access/manage/subAgents.d.ts +9 -9
- package/dist/data-access/manage/tools.d.ts +9 -9
- package/dist/data-access/manage/triggers.d.ts +1 -1
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +16 -16
- package/dist/data-access/runtime/messages.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +3 -3
- package/dist/db/manage/manage-schema.d.ts +2 -2
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/error.d.ts +51 -51
- package/dist/utils/slack-link-token.d.ts +2 -0
- package/dist/utils/slack-link-token.js +2 -1
- package/dist/validation/schemas.d.ts +237 -237
- package/package.json +3 -3
|
@@ -9,14 +9,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
9
9
|
scopes: SubAgentScopeConfig;
|
|
10
10
|
relationId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
id: string;
|
|
12
13
|
tenantId: string;
|
|
13
14
|
projectId: string;
|
|
14
15
|
agentId: string;
|
|
15
|
-
subAgentId: string;
|
|
16
|
-
id: string;
|
|
17
16
|
createdAt: string;
|
|
18
17
|
updatedAt: string;
|
|
19
18
|
headers: Record<string, string> | null;
|
|
19
|
+
subAgentId: string;
|
|
20
20
|
targetAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -44,27 +44,27 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
44
44
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
45
45
|
scopes: SubAgentScopeConfig;
|
|
46
46
|
}) => Promise<{
|
|
47
|
+
id: string;
|
|
47
48
|
tenantId: string;
|
|
48
49
|
projectId: string;
|
|
49
50
|
agentId: string;
|
|
50
|
-
subAgentId: string;
|
|
51
|
-
id: string;
|
|
52
51
|
createdAt: string;
|
|
53
52
|
updatedAt: string;
|
|
54
53
|
headers: Record<string, string> | null;
|
|
54
|
+
subAgentId: string;
|
|
55
55
|
targetAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
58
58
|
scopes: AgentScopeConfig;
|
|
59
59
|
}) => Promise<{
|
|
60
|
+
id: string;
|
|
60
61
|
tenantId: string;
|
|
61
62
|
projectId: string;
|
|
62
63
|
agentId: string;
|
|
63
|
-
subAgentId: string;
|
|
64
|
-
id: string;
|
|
65
64
|
createdAt: string;
|
|
66
65
|
updatedAt: string;
|
|
67
66
|
headers: Record<string, string> | null;
|
|
67
|
+
subAgentId: string;
|
|
68
68
|
targetAgentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -210,14 +210,14 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
210
210
|
headers?: Record<string, string> | null;
|
|
211
211
|
};
|
|
212
212
|
}) => Promise<{
|
|
213
|
+
id: string;
|
|
213
214
|
tenantId: string;
|
|
214
215
|
projectId: string;
|
|
215
216
|
agentId: string;
|
|
216
|
-
subAgentId: string;
|
|
217
|
-
id: string;
|
|
218
217
|
createdAt: string;
|
|
219
218
|
updatedAt: string;
|
|
220
219
|
headers: Record<string, string> | null;
|
|
220
|
+
subAgentId: string;
|
|
221
221
|
targetAgentId: string;
|
|
222
222
|
}>;
|
|
223
223
|
/**
|
|
@@ -227,14 +227,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
227
227
|
scopes: SubAgentScopeConfig;
|
|
228
228
|
targetAgentId: string;
|
|
229
229
|
}) => Promise<{
|
|
230
|
+
id: string;
|
|
230
231
|
tenantId: string;
|
|
231
232
|
projectId: string;
|
|
232
233
|
agentId: string;
|
|
233
|
-
subAgentId: string;
|
|
234
|
-
id: string;
|
|
235
234
|
createdAt: string;
|
|
236
235
|
updatedAt: string;
|
|
237
236
|
headers: Record<string, string> | null;
|
|
237
|
+
subAgentId: string;
|
|
238
238
|
targetAgentId: string;
|
|
239
239
|
} | undefined>;
|
|
240
240
|
/**
|
|
@@ -248,14 +248,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
248
248
|
headers?: Record<string, string> | null;
|
|
249
249
|
};
|
|
250
250
|
}) => Promise<{
|
|
251
|
+
id: string;
|
|
251
252
|
tenantId: string;
|
|
252
253
|
projectId: string;
|
|
253
254
|
agentId: string;
|
|
254
|
-
subAgentId: string;
|
|
255
|
-
id: string;
|
|
256
255
|
createdAt: string;
|
|
257
256
|
updatedAt: string;
|
|
258
257
|
headers: Record<string, string> | null;
|
|
258
|
+
subAgentId: string;
|
|
259
259
|
targetAgentId: string;
|
|
260
260
|
}>;
|
|
261
261
|
declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -9,12 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: AgentScopeConfig;
|
|
10
10
|
subAgentId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
id: string;
|
|
12
13
|
name: string;
|
|
13
14
|
description: string | null;
|
|
14
15
|
tenantId: string;
|
|
15
16
|
projectId: string;
|
|
16
17
|
agentId: string;
|
|
17
|
-
|
|
18
|
+
prompt: string | null;
|
|
19
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
18
20
|
models: {
|
|
19
21
|
base?: {
|
|
20
22
|
model?: string | undefined;
|
|
@@ -34,18 +36,18 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
34
36
|
} | null;
|
|
35
37
|
createdAt: string;
|
|
36
38
|
updatedAt: string;
|
|
37
|
-
prompt: string | null;
|
|
38
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
39
39
|
} | undefined>;
|
|
40
40
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
41
41
|
scopes: AgentScopeConfig;
|
|
42
42
|
}) => Promise<{
|
|
43
|
+
id: string;
|
|
43
44
|
name: string;
|
|
44
45
|
description: string | null;
|
|
45
46
|
tenantId: string;
|
|
46
47
|
projectId: string;
|
|
47
48
|
agentId: string;
|
|
48
|
-
|
|
49
|
+
prompt: string | null;
|
|
50
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
49
51
|
models: {
|
|
50
52
|
base?: {
|
|
51
53
|
model?: string | undefined;
|
|
@@ -65,8 +67,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
65
67
|
} | null;
|
|
66
68
|
createdAt: string;
|
|
67
69
|
updatedAt: string;
|
|
68
|
-
prompt: string | null;
|
|
69
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
72
72
|
scopes: AgentScopeConfig;
|
|
@@ -109,12 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
109
109
|
};
|
|
110
110
|
}>;
|
|
111
111
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
112
|
+
id: string;
|
|
112
113
|
name: string;
|
|
113
114
|
description: string | null;
|
|
114
115
|
tenantId: string;
|
|
115
116
|
projectId: string;
|
|
116
117
|
agentId: string;
|
|
117
|
-
|
|
118
|
+
prompt: string | null;
|
|
119
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
118
120
|
models: {
|
|
119
121
|
base?: {
|
|
120
122
|
model?: string | undefined;
|
|
@@ -134,8 +136,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
134
136
|
} | null;
|
|
135
137
|
createdAt: string;
|
|
136
138
|
updatedAt: string;
|
|
137
|
-
prompt: string | null;
|
|
138
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
139
139
|
}>;
|
|
140
140
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
141
141
|
scopes: AgentScopeConfig;
|
|
@@ -19,11 +19,11 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
19
19
|
scopes: ProjectScopeConfig;
|
|
20
20
|
toolId: string;
|
|
21
21
|
}) => Promise<{
|
|
22
|
+
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
description: string | null;
|
|
24
25
|
tenantId: string;
|
|
25
26
|
projectId: string;
|
|
26
|
-
id: string;
|
|
27
27
|
createdAt: string;
|
|
28
28
|
updatedAt: string;
|
|
29
29
|
headers: Record<string, string> | null;
|
|
@@ -77,11 +77,11 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
79
79
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
80
|
+
id: string;
|
|
80
81
|
name: string;
|
|
81
82
|
description: string | null;
|
|
82
83
|
tenantId: string;
|
|
83
84
|
projectId: string;
|
|
84
|
-
id: string;
|
|
85
85
|
createdAt: string;
|
|
86
86
|
updatedAt: string;
|
|
87
87
|
headers: Record<string, string> | null;
|
|
@@ -134,11 +134,10 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
134
134
|
needsApproval?: boolean;
|
|
135
135
|
}> | null;
|
|
136
136
|
}) => Promise<{
|
|
137
|
+
id: string;
|
|
137
138
|
tenantId: string;
|
|
138
139
|
projectId: string;
|
|
139
140
|
agentId: string;
|
|
140
|
-
subAgentId: string;
|
|
141
|
-
id: string;
|
|
142
141
|
createdAt: string;
|
|
143
142
|
updatedAt: string;
|
|
144
143
|
toolId: string;
|
|
@@ -146,6 +145,7 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
146
145
|
toolPolicies: Record<string, {
|
|
147
146
|
needsApproval?: boolean;
|
|
148
147
|
}> | null;
|
|
148
|
+
subAgentId: string;
|
|
149
149
|
selectedTools: string[] | null;
|
|
150
150
|
}>;
|
|
151
151
|
declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -153,11 +153,10 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
153
153
|
subAgentId: string;
|
|
154
154
|
toolId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
+
id: string;
|
|
156
157
|
tenantId: string;
|
|
157
158
|
projectId: string;
|
|
158
159
|
agentId: string;
|
|
159
|
-
subAgentId: string;
|
|
160
|
-
id: string;
|
|
161
160
|
createdAt: string;
|
|
162
161
|
updatedAt: string;
|
|
163
162
|
toolId: string;
|
|
@@ -165,6 +164,7 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
165
164
|
toolPolicies: Record<string, {
|
|
166
165
|
needsApproval?: boolean;
|
|
167
166
|
}> | null;
|
|
167
|
+
subAgentId: string;
|
|
168
168
|
selectedTools: string[] | null;
|
|
169
169
|
}>;
|
|
170
170
|
/**
|
|
@@ -181,11 +181,10 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
181
181
|
}> | null;
|
|
182
182
|
relationId?: string;
|
|
183
183
|
}) => Promise<{
|
|
184
|
+
id: string;
|
|
184
185
|
tenantId: string;
|
|
185
186
|
projectId: string;
|
|
186
187
|
agentId: string;
|
|
187
|
-
subAgentId: string;
|
|
188
|
-
id: string;
|
|
189
188
|
createdAt: string;
|
|
190
189
|
updatedAt: string;
|
|
191
190
|
toolId: string;
|
|
@@ -193,6 +192,7 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
193
192
|
toolPolicies: Record<string, {
|
|
194
193
|
needsApproval?: boolean;
|
|
195
194
|
}> | null;
|
|
195
|
+
subAgentId: string;
|
|
196
196
|
selectedTools: string[] | null;
|
|
197
197
|
}>;
|
|
198
198
|
/**
|
|
@@ -201,11 +201,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
201
201
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
202
202
|
data: ToolInsert;
|
|
203
203
|
}) => Promise<{
|
|
204
|
+
id: string;
|
|
204
205
|
name: string;
|
|
205
206
|
description: string | null;
|
|
206
207
|
tenantId: string;
|
|
207
208
|
projectId: string;
|
|
208
|
-
id: string;
|
|
209
209
|
createdAt: string;
|
|
210
210
|
updatedAt: string;
|
|
211
211
|
headers: Record<string, string> | null;
|
|
@@ -46,7 +46,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "
|
|
49
|
+
source: "literal" | "header" | "body";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
@@ -8,49 +8,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: ProjectScopeConfig;
|
|
9
9
|
id: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
+
id: string;
|
|
11
12
|
name: string | null;
|
|
12
13
|
tenantId: string;
|
|
13
14
|
projectId: string;
|
|
14
15
|
agentId: string;
|
|
15
|
-
id: string;
|
|
16
16
|
createdAt: string;
|
|
17
17
|
updatedAt: string;
|
|
18
|
-
|
|
18
|
+
lastUsedAt: string | null;
|
|
19
19
|
publicId: string;
|
|
20
20
|
keyHash: string;
|
|
21
21
|
keyPrefix: string;
|
|
22
|
-
|
|
22
|
+
expiresAt: string | null;
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
|
+
id: string;
|
|
25
26
|
name: string | null;
|
|
26
27
|
tenantId: string;
|
|
27
28
|
projectId: string;
|
|
28
29
|
agentId: string;
|
|
29
|
-
id: string;
|
|
30
30
|
createdAt: string;
|
|
31
31
|
updatedAt: string;
|
|
32
|
-
|
|
32
|
+
lastUsedAt: string | null;
|
|
33
33
|
publicId: string;
|
|
34
34
|
keyHash: string;
|
|
35
35
|
keyPrefix: string;
|
|
36
|
-
|
|
36
|
+
expiresAt: string | null;
|
|
37
37
|
} | undefined>;
|
|
38
38
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
39
39
|
scopes: ProjectScopeConfig;
|
|
40
40
|
agentId?: string;
|
|
41
41
|
}) => Promise<{
|
|
42
|
+
id: string;
|
|
42
43
|
name: string | null;
|
|
43
44
|
tenantId: string;
|
|
44
45
|
projectId: string;
|
|
45
46
|
agentId: string;
|
|
46
|
-
id: string;
|
|
47
47
|
createdAt: string;
|
|
48
48
|
updatedAt: string;
|
|
49
|
-
|
|
49
|
+
lastUsedAt: string | null;
|
|
50
50
|
publicId: string;
|
|
51
51
|
keyHash: string;
|
|
52
52
|
keyPrefix: string;
|
|
53
|
-
|
|
53
|
+
expiresAt: string | null;
|
|
54
54
|
}[]>;
|
|
55
55
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
56
56
|
scopes: ProjectScopeConfig;
|
|
@@ -66,18 +66,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
66
66
|
};
|
|
67
67
|
}>;
|
|
68
68
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
69
|
+
id: string;
|
|
69
70
|
name: string | null;
|
|
70
71
|
tenantId: string;
|
|
71
72
|
projectId: string;
|
|
72
73
|
agentId: string;
|
|
73
|
-
id: string;
|
|
74
74
|
createdAt: string;
|
|
75
75
|
updatedAt: string;
|
|
76
|
-
|
|
76
|
+
lastUsedAt: string | null;
|
|
77
77
|
publicId: string;
|
|
78
78
|
keyHash: string;
|
|
79
79
|
keyPrefix: string;
|
|
80
|
-
|
|
80
|
+
expiresAt: string | null;
|
|
81
81
|
}>;
|
|
82
82
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
83
83
|
scopes: ProjectScopeConfig;
|
|
@@ -16,21 +16,21 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
total: number;
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
|
-
|
|
19
|
+
id: string;
|
|
20
20
|
tenantId: string;
|
|
21
21
|
projectId: string;
|
|
22
22
|
agentId: string | null;
|
|
23
|
-
|
|
24
|
-
id: string;
|
|
23
|
+
title: string | null;
|
|
25
24
|
createdAt: string;
|
|
26
25
|
updatedAt: string;
|
|
27
26
|
metadata: ConversationMetadata | null;
|
|
28
|
-
|
|
27
|
+
userId: string | null;
|
|
29
28
|
ref: {
|
|
30
29
|
type: "commit" | "tag" | "branch";
|
|
31
30
|
name: string;
|
|
32
31
|
hash: string;
|
|
33
32
|
} | null;
|
|
33
|
+
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
36
36
|
declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -85,21 +85,21 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
85
85
|
scopes: ProjectScopeConfig;
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
|
-
|
|
88
|
+
id: string;
|
|
89
89
|
tenantId: string;
|
|
90
90
|
projectId: string;
|
|
91
91
|
agentId: string | null;
|
|
92
|
-
|
|
93
|
-
id: string;
|
|
92
|
+
title: string | null;
|
|
94
93
|
createdAt: string;
|
|
95
94
|
updatedAt: string;
|
|
96
95
|
metadata: ConversationMetadata | null;
|
|
97
|
-
|
|
96
|
+
userId: string | null;
|
|
98
97
|
ref: {
|
|
99
98
|
type: "commit" | "tag" | "branch";
|
|
100
99
|
name: string;
|
|
101
100
|
hash: string;
|
|
102
101
|
} | null;
|
|
102
|
+
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
105
105
|
declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
@@ -121,21 +121,21 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
121
121
|
metadata?: ConversationMetadata | null | undefined;
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
|
-
|
|
124
|
+
id: string;
|
|
125
125
|
tenantId: string;
|
|
126
126
|
projectId: string;
|
|
127
127
|
agentId: string | null;
|
|
128
|
-
|
|
129
|
-
id: string;
|
|
128
|
+
title: string | null;
|
|
130
129
|
createdAt: string;
|
|
131
130
|
updatedAt: string;
|
|
132
131
|
metadata: ConversationMetadata | null;
|
|
133
|
-
|
|
132
|
+
userId: string | null;
|
|
134
133
|
ref: {
|
|
135
134
|
type: "commit" | "tag" | "branch";
|
|
136
135
|
name: string;
|
|
137
136
|
hash: string;
|
|
138
137
|
} | null;
|
|
138
|
+
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
141
141
|
/**
|
|
@@ -153,21 +153,21 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
153
153
|
scopes: ProjectScopeConfig;
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
|
-
|
|
156
|
+
id: string;
|
|
157
157
|
tenantId: string;
|
|
158
158
|
projectId: string;
|
|
159
159
|
agentId: string | null;
|
|
160
|
-
|
|
161
|
-
id: string;
|
|
160
|
+
title: string | null;
|
|
162
161
|
createdAt: string;
|
|
163
162
|
updatedAt: string;
|
|
164
163
|
metadata: ConversationMetadata | null;
|
|
165
|
-
|
|
164
|
+
userId: string | null;
|
|
166
165
|
ref: {
|
|
167
166
|
type: "commit" | "tag" | "branch";
|
|
168
167
|
name: string;
|
|
169
168
|
hash: string;
|
|
170
169
|
} | null;
|
|
170
|
+
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
173
173
|
/**
|
|
@@ -10,9 +10,9 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
+
id: string;
|
|
13
14
|
tenantId: string;
|
|
14
15
|
projectId: string;
|
|
15
|
-
id: string;
|
|
16
16
|
createdAt: string;
|
|
17
17
|
updatedAt: string;
|
|
18
18
|
metadata: MessageMetadata | null;
|
|
@@ -141,9 +141,9 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
141
141
|
id: string;
|
|
142
142
|
}[]>;
|
|
143
143
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
144
|
+
id: string;
|
|
144
145
|
tenantId: string;
|
|
145
146
|
projectId: string;
|
|
146
|
-
id: string;
|
|
147
147
|
createdAt: string;
|
|
148
148
|
updatedAt: string;
|
|
149
149
|
metadata: MessageMetadata | null;
|
|
@@ -194,9 +194,9 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
194
194
|
scopes: ProjectScopeConfig;
|
|
195
195
|
messageId: string;
|
|
196
196
|
}) => Promise<{
|
|
197
|
+
id: string;
|
|
197
198
|
tenantId: string;
|
|
198
199
|
projectId: string;
|
|
199
|
-
id: string;
|
|
200
200
|
createdAt: string;
|
|
201
201
|
updatedAt: string;
|
|
202
202
|
metadata: MessageMetadata | null;
|
|
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
6
6
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
|
+
id: string;
|
|
9
10
|
tenantId: string;
|
|
10
11
|
projectId: string;
|
|
11
12
|
agentId: string;
|
|
12
|
-
subAgentId: string;
|
|
13
|
-
id: string;
|
|
14
13
|
createdAt: string;
|
|
15
14
|
updatedAt: string;
|
|
16
15
|
metadata: TaskMetadataConfig | null;
|
|
16
|
+
contextId: string;
|
|
17
17
|
ref: {
|
|
18
18
|
type: "commit" | "tag" | "branch";
|
|
19
19
|
name: string;
|
|
20
20
|
hash: string;
|
|
21
21
|
} | null;
|
|
22
22
|
status: string;
|
|
23
|
-
|
|
23
|
+
subAgentId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|
|
@@ -820,7 +820,7 @@ declare const triggers: drizzle_orm_pg_core0.PgTableWithColumns<{
|
|
|
820
820
|
regex?: string | undefined;
|
|
821
821
|
};
|
|
822
822
|
signedComponents: {
|
|
823
|
-
source: "
|
|
823
|
+
source: "literal" | "header" | "body";
|
|
824
824
|
required: boolean;
|
|
825
825
|
key?: string | undefined;
|
|
826
826
|
value?: string | undefined;
|
|
@@ -857,7 +857,7 @@ declare const triggers: drizzle_orm_pg_core0.PgTableWithColumns<{
|
|
|
857
857
|
regex?: string | undefined;
|
|
858
858
|
};
|
|
859
859
|
signedComponents: {
|
|
860
|
-
source: "
|
|
860
|
+
source: "literal" | "header" | "body";
|
|
861
861
|
required: boolean;
|
|
862
862
|
key?: string | undefined;
|
|
863
863
|
value?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono0 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/no-auth.d.ts
|
|
4
|
-
declare const noAuth: () =>
|
|
4
|
+
declare const noAuth: () => hono0.MiddlewareHandler<any, string, {}, Response>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { noAuth };
|