@inkeep/agents-core 0.0.0-dev-20260220013449 → 0.0.0-dev-20260220022607
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 +105 -105
- package/dist/auth/auth-validation-schemas.d.ts +131 -131
- package/dist/auth/auth.d.ts +22 -22
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +1 -2
- package/dist/data-access/manage/agents.d.ts +10 -10
- 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 +2 -2
- package/dist/data-access/manage/functionTools.d.ts +6 -6
- package/dist/data-access/manage/skills.d.ts +7 -7
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentRelations.d.ts +14 -14
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +6 -6
- package/dist/data-access/manage/tools.d.ts +9 -9
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/conversations.d.ts +12 -12
- package/dist/data-access/runtime/messages.d.ts +3 -3
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +3 -3
- package/dist/db/manage/manage-schema.d.ts +445 -445
- package/dist/db/manage/manage-schema.js +1 -1
- package/dist/db/runtime/runtime-schema.d.ts +291 -291
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/validation/schemas.d.ts +173 -173
- package/drizzle/manage/0010_oval_angel.sql +2 -0
- package/drizzle/manage/meta/0010_snapshot.json +3673 -0
- package/drizzle/manage/meta/_journal.json +7 -0
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
|
|
|
8
8
|
scopes: SubAgentScopeConfig;
|
|
9
9
|
relationId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
tenantId: string;
|
|
12
11
|
id: string;
|
|
12
|
+
tenantId: string;
|
|
13
13
|
projectId: string;
|
|
14
14
|
agentId: string;
|
|
15
15
|
createdAt: string;
|
|
@@ -43,8 +43,8 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
|
|
|
43
43
|
declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
44
44
|
scopes: SubAgentScopeConfig;
|
|
45
45
|
}) => Promise<{
|
|
46
|
-
tenantId: string;
|
|
47
46
|
id: string;
|
|
47
|
+
tenantId: string;
|
|
48
48
|
projectId: string;
|
|
49
49
|
agentId: string;
|
|
50
50
|
createdAt: string;
|
|
@@ -56,8 +56,8 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
|
|
|
56
56
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
57
57
|
scopes: AgentScopeConfig;
|
|
58
58
|
}) => Promise<{
|
|
59
|
-
tenantId: string;
|
|
60
59
|
id: string;
|
|
60
|
+
tenantId: string;
|
|
61
61
|
projectId: string;
|
|
62
62
|
agentId: string;
|
|
63
63
|
createdAt: string;
|
|
@@ -209,8 +209,8 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
209
209
|
headers?: Record<string, string> | null;
|
|
210
210
|
};
|
|
211
211
|
}) => Promise<{
|
|
212
|
-
tenantId: string;
|
|
213
212
|
id: string;
|
|
213
|
+
tenantId: string;
|
|
214
214
|
projectId: string;
|
|
215
215
|
agentId: string;
|
|
216
216
|
createdAt: string;
|
|
@@ -226,8 +226,8 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
|
|
|
226
226
|
scopes: SubAgentScopeConfig;
|
|
227
227
|
targetAgentId: string;
|
|
228
228
|
}) => Promise<{
|
|
229
|
-
tenantId: string;
|
|
230
229
|
id: string;
|
|
230
|
+
tenantId: string;
|
|
231
231
|
projectId: string;
|
|
232
232
|
agentId: string;
|
|
233
233
|
createdAt: string;
|
|
@@ -247,8 +247,8 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
|
|
|
247
247
|
headers?: Record<string, string> | null;
|
|
248
248
|
};
|
|
249
249
|
}) => Promise<{
|
|
250
|
-
tenantId: string;
|
|
251
250
|
id: string;
|
|
251
|
+
tenantId: string;
|
|
252
252
|
projectId: string;
|
|
253
253
|
agentId: string;
|
|
254
254
|
createdAt: string;
|
|
@@ -8,10 +8,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: AgentScopeConfig;
|
|
9
9
|
subAgentId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
description: string | null;
|
|
12
|
-
tenantId: string;
|
|
13
11
|
id: string;
|
|
14
12
|
name: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
tenantId: string;
|
|
15
15
|
projectId: string;
|
|
16
16
|
agentId: string;
|
|
17
17
|
prompt: string | null;
|
|
@@ -39,10 +39,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
39
39
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
40
40
|
scopes: AgentScopeConfig;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
description: string | null;
|
|
43
|
-
tenantId: string;
|
|
44
42
|
id: string;
|
|
45
43
|
name: string;
|
|
44
|
+
description: string | null;
|
|
45
|
+
tenantId: string;
|
|
46
46
|
projectId: string;
|
|
47
47
|
agentId: string;
|
|
48
48
|
prompt: string | null;
|
|
@@ -108,10 +108,10 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
108
108
|
};
|
|
109
109
|
}>;
|
|
110
110
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
111
|
-
description: string | null;
|
|
112
|
-
tenantId: string;
|
|
113
111
|
id: string;
|
|
114
112
|
name: string;
|
|
113
|
+
description: string | null;
|
|
114
|
+
tenantId: string;
|
|
115
115
|
projectId: string;
|
|
116
116
|
agentId: string;
|
|
117
117
|
prompt: string | null;
|
|
@@ -18,10 +18,10 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
18
18
|
scopes: ProjectScopeConfig;
|
|
19
19
|
toolId: string;
|
|
20
20
|
}) => Promise<{
|
|
21
|
-
description: string | null;
|
|
22
|
-
tenantId: string;
|
|
23
21
|
id: string;
|
|
24
22
|
name: string;
|
|
23
|
+
description: string | null;
|
|
24
|
+
tenantId: string;
|
|
25
25
|
projectId: string;
|
|
26
26
|
createdAt: string;
|
|
27
27
|
updatedAt: string;
|
|
@@ -76,10 +76,10 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
76
76
|
};
|
|
77
77
|
}>;
|
|
78
78
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
79
|
-
description: string | null;
|
|
80
|
-
tenantId: string;
|
|
81
79
|
id: string;
|
|
82
80
|
name: string;
|
|
81
|
+
description: string | null;
|
|
82
|
+
tenantId: string;
|
|
83
83
|
projectId: string;
|
|
84
84
|
createdAt: string;
|
|
85
85
|
updatedAt: string;
|
|
@@ -133,8 +133,8 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
133
133
|
needsApproval?: boolean;
|
|
134
134
|
}> | null;
|
|
135
135
|
}) => Promise<{
|
|
136
|
-
tenantId: string;
|
|
137
136
|
id: string;
|
|
137
|
+
tenantId: string;
|
|
138
138
|
projectId: string;
|
|
139
139
|
agentId: string;
|
|
140
140
|
createdAt: string;
|
|
@@ -152,8 +152,8 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
152
152
|
subAgentId: string;
|
|
153
153
|
toolId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
-
tenantId: string;
|
|
156
155
|
id: string;
|
|
156
|
+
tenantId: string;
|
|
157
157
|
projectId: string;
|
|
158
158
|
agentId: string;
|
|
159
159
|
createdAt: string;
|
|
@@ -180,8 +180,8 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
180
180
|
}> | null;
|
|
181
181
|
relationId?: string;
|
|
182
182
|
}) => Promise<{
|
|
183
|
-
tenantId: string;
|
|
184
183
|
id: string;
|
|
184
|
+
tenantId: string;
|
|
185
185
|
projectId: string;
|
|
186
186
|
agentId: string;
|
|
187
187
|
createdAt: string;
|
|
@@ -200,10 +200,10 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
200
200
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
201
201
|
data: ToolInsert;
|
|
202
202
|
}) => Promise<{
|
|
203
|
-
description: string | null;
|
|
204
|
-
tenantId: string;
|
|
205
203
|
id: string;
|
|
206
204
|
name: string;
|
|
205
|
+
description: string | null;
|
|
206
|
+
tenantId: string;
|
|
207
207
|
projectId: string;
|
|
208
208
|
createdAt: string;
|
|
209
209
|
updatedAt: string;
|
|
@@ -7,49 +7,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
7
7
|
scopes: ProjectScopeConfig;
|
|
8
8
|
id: string;
|
|
9
9
|
}) => Promise<{
|
|
10
|
-
tenantId: string;
|
|
11
10
|
id: string;
|
|
12
11
|
name: string | null;
|
|
12
|
+
tenantId: string;
|
|
13
13
|
projectId: string;
|
|
14
14
|
agentId: string;
|
|
15
15
|
createdAt: string;
|
|
16
16
|
updatedAt: string;
|
|
17
|
-
expiresAt: string | null;
|
|
18
17
|
publicId: string;
|
|
19
18
|
keyHash: string;
|
|
20
19
|
keyPrefix: string;
|
|
21
20
|
lastUsedAt: string | null;
|
|
21
|
+
expiresAt: string | null;
|
|
22
22
|
} | undefined>;
|
|
23
23
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
24
|
-
tenantId: string;
|
|
25
24
|
id: string;
|
|
26
25
|
name: string | null;
|
|
26
|
+
tenantId: string;
|
|
27
27
|
projectId: string;
|
|
28
28
|
agentId: string;
|
|
29
29
|
createdAt: string;
|
|
30
30
|
updatedAt: string;
|
|
31
|
-
expiresAt: string | null;
|
|
32
31
|
publicId: string;
|
|
33
32
|
keyHash: string;
|
|
34
33
|
keyPrefix: string;
|
|
35
34
|
lastUsedAt: string | null;
|
|
35
|
+
expiresAt: string | null;
|
|
36
36
|
} | undefined>;
|
|
37
37
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
38
38
|
scopes: ProjectScopeConfig;
|
|
39
39
|
agentId?: string;
|
|
40
40
|
}) => Promise<{
|
|
41
|
-
tenantId: string;
|
|
42
41
|
id: string;
|
|
43
42
|
name: string | null;
|
|
43
|
+
tenantId: string;
|
|
44
44
|
projectId: string;
|
|
45
45
|
agentId: string;
|
|
46
46
|
createdAt: string;
|
|
47
47
|
updatedAt: string;
|
|
48
|
-
expiresAt: string | null;
|
|
49
48
|
publicId: string;
|
|
50
49
|
keyHash: string;
|
|
51
50
|
keyPrefix: string;
|
|
52
51
|
lastUsedAt: string | null;
|
|
52
|
+
expiresAt: string | null;
|
|
53
53
|
}[]>;
|
|
54
54
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
55
55
|
scopes: ProjectScopeConfig;
|
|
@@ -65,18 +65,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
65
65
|
};
|
|
66
66
|
}>;
|
|
67
67
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
68
|
-
tenantId: string;
|
|
69
68
|
id: string;
|
|
70
69
|
name: string | null;
|
|
70
|
+
tenantId: string;
|
|
71
71
|
projectId: string;
|
|
72
72
|
agentId: string;
|
|
73
73
|
createdAt: string;
|
|
74
74
|
updatedAt: string;
|
|
75
|
-
expiresAt: string | null;
|
|
76
75
|
publicId: string;
|
|
77
76
|
keyHash: string;
|
|
78
77
|
keyPrefix: string;
|
|
79
78
|
lastUsedAt: string | null;
|
|
79
|
+
expiresAt: string | null;
|
|
80
80
|
}>;
|
|
81
81
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
82
82
|
scopes: ProjectScopeConfig;
|
|
@@ -15,15 +15,15 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
-
title: string | null;
|
|
19
|
-
tenantId: string;
|
|
20
|
-
userId: string | null;
|
|
21
18
|
id: string;
|
|
19
|
+
tenantId: string;
|
|
22
20
|
projectId: string;
|
|
23
21
|
agentId: string | null;
|
|
22
|
+
title: string | null;
|
|
24
23
|
createdAt: string;
|
|
25
24
|
updatedAt: string;
|
|
26
25
|
metadata: ConversationMetadata | null;
|
|
26
|
+
userId: string | null;
|
|
27
27
|
ref: {
|
|
28
28
|
type: "commit" | "tag" | "branch";
|
|
29
29
|
name: string;
|
|
@@ -84,15 +84,15 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
-
title: string | null;
|
|
88
|
-
tenantId: string;
|
|
89
|
-
userId: string | null;
|
|
90
87
|
id: string;
|
|
88
|
+
tenantId: string;
|
|
91
89
|
projectId: string;
|
|
92
90
|
agentId: string | null;
|
|
91
|
+
title: string | null;
|
|
93
92
|
createdAt: string;
|
|
94
93
|
updatedAt: string;
|
|
95
94
|
metadata: ConversationMetadata | null;
|
|
95
|
+
userId: string | null;
|
|
96
96
|
ref: {
|
|
97
97
|
type: "commit" | "tag" | "branch";
|
|
98
98
|
name: string;
|
|
@@ -120,15 +120,15 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
-
title: string | null;
|
|
124
|
-
tenantId: string;
|
|
125
|
-
userId: string | null;
|
|
126
123
|
id: string;
|
|
124
|
+
tenantId: string;
|
|
127
125
|
projectId: string;
|
|
128
126
|
agentId: string | null;
|
|
127
|
+
title: string | null;
|
|
129
128
|
createdAt: string;
|
|
130
129
|
updatedAt: string;
|
|
131
130
|
metadata: ConversationMetadata | null;
|
|
131
|
+
userId: string | null;
|
|
132
132
|
ref: {
|
|
133
133
|
type: "commit" | "tag" | "branch";
|
|
134
134
|
name: string;
|
|
@@ -152,15 +152,15 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
-
title: string | null;
|
|
156
|
-
tenantId: string;
|
|
157
|
-
userId: string | null;
|
|
158
155
|
id: string;
|
|
156
|
+
tenantId: string;
|
|
159
157
|
projectId: string;
|
|
160
158
|
agentId: string | null;
|
|
159
|
+
title: string | null;
|
|
161
160
|
createdAt: string;
|
|
162
161
|
updatedAt: string;
|
|
163
162
|
metadata: ConversationMetadata | null;
|
|
163
|
+
userId: string | null;
|
|
164
164
|
ref: {
|
|
165
165
|
type: "commit" | "tag" | "branch";
|
|
166
166
|
name: string;
|
|
@@ -9,8 +9,8 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
12
|
id: string;
|
|
13
|
+
tenantId: string;
|
|
14
14
|
projectId: string;
|
|
15
15
|
createdAt: string;
|
|
16
16
|
updatedAt: string;
|
|
@@ -140,8 +140,8 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
140
140
|
id: string;
|
|
141
141
|
}[]>;
|
|
142
142
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
143
|
-
tenantId: string;
|
|
144
143
|
id: string;
|
|
144
|
+
tenantId: string;
|
|
145
145
|
projectId: string;
|
|
146
146
|
createdAt: string;
|
|
147
147
|
updatedAt: string;
|
|
@@ -193,8 +193,8 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
-
tenantId: string;
|
|
197
196
|
id: string;
|
|
197
|
+
tenantId: string;
|
|
198
198
|
projectId: string;
|
|
199
199
|
createdAt: string;
|
|
200
200
|
updatedAt: string;
|
|
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
|
|
|
34
34
|
}) => Promise<{
|
|
35
35
|
data: {
|
|
36
36
|
scheduledTriggerId: string;
|
|
37
|
-
status: "pending" | "
|
|
37
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
38
38
|
scheduledFor: string;
|
|
39
39
|
startedAt: string | null;
|
|
40
40
|
completedAt: string | null;
|
|
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
|
|
|
174
174
|
}) => Promise<{
|
|
175
175
|
data: {
|
|
176
176
|
scheduledTriggerId: string;
|
|
177
|
-
status: "pending" | "
|
|
177
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
178
178
|
scheduledFor: string;
|
|
179
179
|
startedAt: string | null;
|
|
180
180
|
completedAt: string | null;
|
|
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
|
|
|
208
208
|
}) => Promise<{
|
|
209
209
|
data: {
|
|
210
210
|
scheduledTriggerId: string;
|
|
211
|
-
status: "pending" | "
|
|
211
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
212
212
|
scheduledFor: string;
|
|
213
213
|
startedAt: string | null;
|
|
214
214
|
completedAt: string | 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
|
-
status: string;
|
|
10
|
-
tenantId: string;
|
|
11
9
|
id: string;
|
|
10
|
+
tenantId: string;
|
|
12
11
|
projectId: string;
|
|
13
12
|
agentId: string;
|
|
14
13
|
createdAt: string;
|
|
15
14
|
updatedAt: string;
|
|
16
15
|
metadata: TaskMetadataConfig | null;
|
|
17
16
|
subAgentId: string;
|
|
17
|
+
status: string;
|
|
18
|
+
contextId: string;
|
|
18
19
|
ref: {
|
|
19
20
|
type: "commit" | "tag" | "branch";
|
|
20
21
|
name: string;
|
|
21
22
|
hash: string;
|
|
22
23
|
} | null;
|
|
23
|
-
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|