@inkeep/agents-core 0.0.0-dev-20260330201301 → 0.0.0-dev-20260330205052
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-validation-schemas.d.ts +137 -137
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +20 -20
- package/dist/data-access/manage/artifactComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +4 -4
- 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 +2 -2
- 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 +15 -15
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/apps.d.ts +10 -10
- package/dist/data-access/runtime/conversations.d.ts +24 -24
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/db/manage/manage-schema.d.ts +342 -342
- package/dist/db/runtime/runtime-schema.d.ts +2 -2
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +680 -680
- package/package.json +1 -1
|
@@ -8,28 +8,28 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: ProjectScopeConfig;
|
|
9
9
|
id: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
name: string | null;
|
|
12
11
|
id: string;
|
|
12
|
+
name: string | null;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
|
+
expiresAt: string | null;
|
|
15
16
|
tenantId: string;
|
|
16
17
|
projectId: string;
|
|
17
18
|
agentId: string;
|
|
18
|
-
expiresAt: string | null;
|
|
19
19
|
publicId: string;
|
|
20
20
|
keyHash: string;
|
|
21
21
|
keyPrefix: string;
|
|
22
22
|
lastUsedAt: string | null;
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
|
-
name: string | null;
|
|
26
25
|
id: string;
|
|
26
|
+
name: string | null;
|
|
27
27
|
createdAt: string;
|
|
28
28
|
updatedAt: string;
|
|
29
|
+
expiresAt: string | null;
|
|
29
30
|
tenantId: string;
|
|
30
31
|
projectId: string;
|
|
31
32
|
agentId: string;
|
|
32
|
-
expiresAt: string | null;
|
|
33
33
|
publicId: string;
|
|
34
34
|
keyHash: string;
|
|
35
35
|
keyPrefix: string;
|
|
@@ -39,14 +39,14 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
39
39
|
scopes: ProjectScopeConfig;
|
|
40
40
|
agentId?: string;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
name: string | null;
|
|
43
42
|
id: string;
|
|
43
|
+
name: string | null;
|
|
44
44
|
createdAt: string;
|
|
45
45
|
updatedAt: string;
|
|
46
|
+
expiresAt: string | null;
|
|
46
47
|
tenantId: string;
|
|
47
48
|
projectId: string;
|
|
48
49
|
agentId: string;
|
|
49
|
-
expiresAt: string | null;
|
|
50
50
|
publicId: string;
|
|
51
51
|
keyHash: string;
|
|
52
52
|
keyPrefix: string;
|
|
@@ -66,14 +66,14 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
66
66
|
};
|
|
67
67
|
}>;
|
|
68
68
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
69
|
-
name: string | null;
|
|
70
69
|
id: string;
|
|
70
|
+
name: string | null;
|
|
71
71
|
createdAt: string;
|
|
72
72
|
updatedAt: string;
|
|
73
|
+
expiresAt: string | null;
|
|
73
74
|
tenantId: string;
|
|
74
75
|
projectId: string;
|
|
75
76
|
agentId: string;
|
|
76
|
-
expiresAt: string | null;
|
|
77
77
|
publicId: string;
|
|
78
78
|
keyHash: string;
|
|
79
79
|
keyPrefix: string;
|
|
@@ -5,14 +5,16 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
|
|
|
5
5
|
|
|
6
6
|
//#region src/data-access/runtime/apps.d.ts
|
|
7
7
|
declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
|
|
8
|
-
name: string;
|
|
9
|
-
type: AppType;
|
|
10
8
|
id: string;
|
|
11
|
-
|
|
9
|
+
name: string;
|
|
12
10
|
createdAt: string;
|
|
13
11
|
updatedAt: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
type: AppType;
|
|
14
15
|
tenantId: string | null;
|
|
15
16
|
projectId: string | null;
|
|
17
|
+
prompt: string | null;
|
|
16
18
|
config: {
|
|
17
19
|
type: "web_client";
|
|
18
20
|
webClient: {
|
|
@@ -33,8 +35,6 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
|
|
|
33
35
|
type: "api";
|
|
34
36
|
api: Record<string, never>;
|
|
35
37
|
};
|
|
36
|
-
enabled: boolean;
|
|
37
|
-
prompt: string | null;
|
|
38
38
|
lastUsedAt: string | null;
|
|
39
39
|
defaultProjectId: string | null;
|
|
40
40
|
defaultAgentId: string | null;
|
|
@@ -64,14 +64,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
66
66
|
declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
|
|
67
|
-
name: string;
|
|
68
|
-
type: AppType;
|
|
69
67
|
id: string;
|
|
70
|
-
|
|
68
|
+
name: string;
|
|
71
69
|
createdAt: string;
|
|
72
70
|
updatedAt: string;
|
|
71
|
+
description: string | null;
|
|
72
|
+
enabled: boolean;
|
|
73
|
+
type: AppType;
|
|
73
74
|
tenantId: string | null;
|
|
74
75
|
projectId: string | null;
|
|
76
|
+
prompt: string | null;
|
|
75
77
|
config: {
|
|
76
78
|
type: "web_client";
|
|
77
79
|
webClient: {
|
|
@@ -92,8 +94,6 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
|
|
|
92
94
|
type: "api";
|
|
93
95
|
api: Record<string, never>;
|
|
94
96
|
};
|
|
95
|
-
enabled: boolean;
|
|
96
|
-
prompt: string | null;
|
|
97
97
|
lastUsedAt: string | null;
|
|
98
98
|
defaultProjectId: string | null;
|
|
99
99
|
defaultAgentId: string | null;
|
|
@@ -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
|
-
title: string | null;
|
|
20
19
|
createdAt: string;
|
|
21
20
|
updatedAt: string;
|
|
22
|
-
tenantId: string;
|
|
23
|
-
metadata: ConversationMetadata | null;
|
|
24
|
-
projectId: string;
|
|
25
|
-
agentId: string | null;
|
|
26
|
-
userId: string | null;
|
|
27
21
|
ref: {
|
|
28
22
|
type: "commit" | "tag" | "branch";
|
|
29
23
|
name: string;
|
|
30
24
|
hash: string;
|
|
31
25
|
} | null;
|
|
26
|
+
userId: string | null;
|
|
27
|
+
metadata: ConversationMetadata | null;
|
|
28
|
+
tenantId: string;
|
|
29
|
+
title: string | null;
|
|
30
|
+
projectId: string;
|
|
31
|
+
agentId: string | 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
|
-
title: string | null;
|
|
89
88
|
createdAt: string;
|
|
90
89
|
updatedAt: string;
|
|
91
|
-
tenantId: string;
|
|
92
|
-
metadata: ConversationMetadata | null;
|
|
93
|
-
projectId: string;
|
|
94
|
-
agentId: string | null;
|
|
95
|
-
userId: string | null;
|
|
96
90
|
ref: {
|
|
97
91
|
type: "commit" | "tag" | "branch";
|
|
98
92
|
name: string;
|
|
99
93
|
hash: string;
|
|
100
94
|
} | null;
|
|
95
|
+
userId: string | null;
|
|
96
|
+
metadata: ConversationMetadata | null;
|
|
97
|
+
tenantId: string;
|
|
98
|
+
title: string | null;
|
|
99
|
+
projectId: string;
|
|
100
|
+
agentId: string | 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
|
-
title: string | null;
|
|
125
124
|
createdAt: string;
|
|
126
125
|
updatedAt: string;
|
|
127
|
-
tenantId: string;
|
|
128
|
-
metadata: ConversationMetadata | null;
|
|
129
|
-
projectId: string;
|
|
130
|
-
agentId: string | null;
|
|
131
|
-
userId: string | null;
|
|
132
126
|
ref: {
|
|
133
127
|
type: "commit" | "tag" | "branch";
|
|
134
128
|
name: string;
|
|
135
129
|
hash: string;
|
|
136
130
|
} | null;
|
|
131
|
+
userId: string | null;
|
|
132
|
+
metadata: ConversationMetadata | null;
|
|
133
|
+
tenantId: string;
|
|
134
|
+
title: string | null;
|
|
135
|
+
projectId: string;
|
|
136
|
+
agentId: string | 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
|
-
title: string | null;
|
|
157
156
|
createdAt: string;
|
|
158
157
|
updatedAt: string;
|
|
159
|
-
tenantId: string;
|
|
160
|
-
metadata: ConversationMetadata | null;
|
|
161
|
-
projectId: string;
|
|
162
|
-
agentId: string | null;
|
|
163
|
-
userId: string | null;
|
|
164
158
|
ref: {
|
|
165
159
|
type: "commit" | "tag" | "branch";
|
|
166
160
|
name: string;
|
|
167
161
|
hash: string;
|
|
168
162
|
} | null;
|
|
163
|
+
userId: string | null;
|
|
164
|
+
metadata: ConversationMetadata | null;
|
|
165
|
+
tenantId: string;
|
|
166
|
+
title: string | null;
|
|
167
|
+
projectId: string;
|
|
168
|
+
agentId: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -13,11 +13,11 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
13
13
|
id: string;
|
|
14
14
|
createdAt: string;
|
|
15
15
|
updatedAt: string;
|
|
16
|
-
tenantId: string;
|
|
17
16
|
metadata: MessageMetadata | null;
|
|
17
|
+
role: string;
|
|
18
|
+
tenantId: string;
|
|
18
19
|
content: MessageContent;
|
|
19
20
|
projectId: string;
|
|
20
|
-
role: string;
|
|
21
21
|
conversationId: string;
|
|
22
22
|
fromSubAgentId: string | null;
|
|
23
23
|
toSubAgentId: string | null;
|
|
@@ -147,11 +147,11 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
147
147
|
id: string;
|
|
148
148
|
createdAt: string;
|
|
149
149
|
updatedAt: string;
|
|
150
|
-
tenantId: string;
|
|
151
150
|
metadata: MessageMetadata | null;
|
|
151
|
+
role: string;
|
|
152
|
+
tenantId: string;
|
|
152
153
|
content: MessageContent;
|
|
153
154
|
projectId: string;
|
|
154
|
-
role: string;
|
|
155
155
|
conversationId: string;
|
|
156
156
|
fromSubAgentId: string | null;
|
|
157
157
|
toSubAgentId: string | null;
|
|
@@ -200,11 +200,11 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
200
200
|
id: string;
|
|
201
201
|
createdAt: string;
|
|
202
202
|
updatedAt: string;
|
|
203
|
-
tenantId: string;
|
|
204
203
|
metadata: MessageMetadata | null;
|
|
204
|
+
role: string;
|
|
205
|
+
tenantId: string;
|
|
205
206
|
content: MessageContent;
|
|
206
207
|
projectId: string;
|
|
207
|
-
role: string;
|
|
208
208
|
conversationId: string;
|
|
209
209
|
fromSubAgentId: string | null;
|
|
210
210
|
toSubAgentId: string | null;
|
|
@@ -10,17 +10,17 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
10
10
|
id: string;
|
|
11
11
|
createdAt: string;
|
|
12
12
|
updatedAt: string;
|
|
13
|
-
tenantId: string;
|
|
14
|
-
metadata: TaskMetadataConfig | null;
|
|
15
|
-
projectId: string;
|
|
16
|
-
agentId: string;
|
|
17
|
-
subAgentId: string;
|
|
18
|
-
status: string;
|
|
19
13
|
ref: {
|
|
20
14
|
type: "commit" | "tag" | "branch";
|
|
21
15
|
name: string;
|
|
22
16
|
hash: string;
|
|
23
17
|
} | null;
|
|
18
|
+
metadata: TaskMetadataConfig | null;
|
|
19
|
+
status: string;
|
|
20
|
+
tenantId: string;
|
|
21
|
+
projectId: string;
|
|
22
|
+
agentId: string;
|
|
23
|
+
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|