@inkeep/agents-core 0.0.0-dev-20260121032144 → 0.0.0-dev-20260121072820
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 +53 -53
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +3 -4
- package/dist/constants/otel-attributes.d.ts +2 -0
- package/dist/constants/otel-attributes.js +2 -0
- package/dist/data-access/manage/agents.d.ts +26 -26
- package/dist/data-access/manage/artifactComponents.d.ts +8 -8
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +18 -18
- package/dist/data-access/manage/tools.d.ts +33 -33
- package/dist/data-access/manage/triggers.d.ts +1 -1
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/conversations.d.ts +12 -12
- package/dist/data-access/runtime/messages.d.ts +12 -12
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +300 -300
- package/dist/db/manage/manage-schema.js +1 -1
- package/dist/db/runtime/runtime-schema.d.ts +157 -157
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1394 -1394
- package/dist/validation/schemas.js +1 -1
- package/drizzle/manage/0002_bent_sunfire.sql +1 -0
- package/drizzle/manage/meta/0002_snapshot.json +3115 -0
- package/drizzle/manage/meta/_journal.json +7 -0
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
33
33
|
jmespath?: string;
|
|
34
34
|
objectTransformation?: Record<string, string>;
|
|
35
35
|
} | null;
|
|
36
|
-
messageTemplate: string;
|
|
36
|
+
messageTemplate: string | null;
|
|
37
37
|
authentication: unknown;
|
|
38
38
|
signingSecret: string | null;
|
|
39
39
|
name: 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
|
-
projectId: string;
|
|
12
10
|
id: string;
|
|
13
11
|
name: string | null;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
14
16
|
agentId: string;
|
|
15
17
|
publicId: string;
|
|
16
18
|
keyHash: string;
|
|
17
19
|
keyPrefix: string;
|
|
18
20
|
lastUsedAt: string | null;
|
|
19
21
|
expiresAt: string | null;
|
|
20
|
-
createdAt: string;
|
|
21
|
-
updatedAt: string;
|
|
22
22
|
} | undefined>;
|
|
23
23
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
24
|
-
tenantId: string;
|
|
25
|
-
projectId: string;
|
|
26
24
|
id: string;
|
|
27
25
|
name: string | null;
|
|
26
|
+
createdAt: string;
|
|
27
|
+
updatedAt: string;
|
|
28
|
+
tenantId: string;
|
|
29
|
+
projectId: string;
|
|
28
30
|
agentId: string;
|
|
29
31
|
publicId: string;
|
|
30
32
|
keyHash: string;
|
|
31
33
|
keyPrefix: string;
|
|
32
34
|
lastUsedAt: string | null;
|
|
33
35
|
expiresAt: string | null;
|
|
34
|
-
createdAt: string;
|
|
35
|
-
updatedAt: string;
|
|
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
|
-
projectId: string;
|
|
43
41
|
id: string;
|
|
44
42
|
name: string | null;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
updatedAt: string;
|
|
45
|
+
tenantId: string;
|
|
46
|
+
projectId: string;
|
|
45
47
|
agentId: string;
|
|
46
48
|
publicId: string;
|
|
47
49
|
keyHash: string;
|
|
48
50
|
keyPrefix: string;
|
|
49
51
|
lastUsedAt: string | null;
|
|
50
52
|
expiresAt: string | null;
|
|
51
|
-
createdAt: string;
|
|
52
|
-
updatedAt: string;
|
|
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
|
-
projectId: string;
|
|
70
68
|
id: string;
|
|
71
69
|
name: string | null;
|
|
70
|
+
createdAt: string;
|
|
71
|
+
updatedAt: string;
|
|
72
|
+
tenantId: string;
|
|
73
|
+
projectId: string;
|
|
72
74
|
agentId: string;
|
|
73
75
|
publicId: string;
|
|
74
76
|
keyHash: string;
|
|
75
77
|
keyPrefix: string;
|
|
76
78
|
lastUsedAt: string | null;
|
|
77
79
|
expiresAt: string | null;
|
|
78
|
-
createdAt: string;
|
|
79
|
-
updatedAt: string;
|
|
80
80
|
}>;
|
|
81
81
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
82
82
|
scopes: ProjectScopeConfig;
|
|
@@ -15,13 +15,13 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
-
tenantId: string;
|
|
19
|
-
projectId: string;
|
|
20
18
|
id: string;
|
|
21
19
|
title: string | null;
|
|
22
|
-
agentId: string | null;
|
|
23
20
|
createdAt: string;
|
|
24
21
|
updatedAt: string;
|
|
22
|
+
tenantId: string;
|
|
23
|
+
projectId: string;
|
|
24
|
+
agentId: string | null;
|
|
25
25
|
userId: string | null;
|
|
26
26
|
metadata: ConversationMetadata | null;
|
|
27
27
|
ref: {
|
|
@@ -84,13 +84,13 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
-
tenantId: string;
|
|
88
|
-
projectId: string;
|
|
89
87
|
id: string;
|
|
90
88
|
title: string | null;
|
|
91
|
-
agentId: string | null;
|
|
92
89
|
createdAt: string;
|
|
93
90
|
updatedAt: string;
|
|
91
|
+
tenantId: string;
|
|
92
|
+
projectId: string;
|
|
93
|
+
agentId: string | null;
|
|
94
94
|
userId: string | null;
|
|
95
95
|
metadata: ConversationMetadata | null;
|
|
96
96
|
ref: {
|
|
@@ -120,13 +120,13 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
-
tenantId: string;
|
|
124
|
-
projectId: string;
|
|
125
123
|
id: string;
|
|
126
124
|
title: string | null;
|
|
127
|
-
agentId: string | null;
|
|
128
125
|
createdAt: string;
|
|
129
126
|
updatedAt: string;
|
|
127
|
+
tenantId: string;
|
|
128
|
+
projectId: string;
|
|
129
|
+
agentId: string | null;
|
|
130
130
|
userId: string | null;
|
|
131
131
|
metadata: ConversationMetadata | null;
|
|
132
132
|
ref: {
|
|
@@ -152,13 +152,13 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
-
tenantId: string;
|
|
156
|
-
projectId: string;
|
|
157
155
|
id: string;
|
|
158
156
|
title: string | null;
|
|
159
|
-
agentId: string | null;
|
|
160
157
|
createdAt: string;
|
|
161
158
|
updatedAt: string;
|
|
159
|
+
tenantId: string;
|
|
160
|
+
projectId: string;
|
|
161
|
+
agentId: string | null;
|
|
162
162
|
userId: string | null;
|
|
163
163
|
metadata: ConversationMetadata | null;
|
|
164
164
|
ref: {
|
|
@@ -9,24 +9,24 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
tenantId: string;
|
|
13
|
-
projectId: string;
|
|
14
12
|
id: string;
|
|
15
13
|
createdAt: string;
|
|
16
14
|
updatedAt: string;
|
|
15
|
+
tenantId: string;
|
|
16
|
+
projectId: string;
|
|
17
17
|
metadata: MessageMetadata | null;
|
|
18
18
|
content: MessageContent;
|
|
19
19
|
role: string;
|
|
20
20
|
conversationId: string;
|
|
21
|
-
taskId: string | null;
|
|
22
|
-
visibility: string;
|
|
23
21
|
fromSubAgentId: string | null;
|
|
24
22
|
toSubAgentId: string | null;
|
|
25
23
|
fromExternalAgentId: string | null;
|
|
26
24
|
toExternalAgentId: string | null;
|
|
27
25
|
fromTeamAgentId: string | null;
|
|
28
26
|
toTeamAgentId: string | null;
|
|
27
|
+
visibility: string;
|
|
29
28
|
messageType: string;
|
|
29
|
+
taskId: string | null;
|
|
30
30
|
parentMessageId: string | null;
|
|
31
31
|
a2aTaskId: string | null;
|
|
32
32
|
a2aSessionId: string | null;
|
|
@@ -140,24 +140,24 @@ 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
|
-
projectId: string;
|
|
145
143
|
id: string;
|
|
146
144
|
createdAt: string;
|
|
147
145
|
updatedAt: string;
|
|
146
|
+
tenantId: string;
|
|
147
|
+
projectId: string;
|
|
148
148
|
metadata: MessageMetadata | null;
|
|
149
149
|
content: MessageContent;
|
|
150
150
|
role: string;
|
|
151
151
|
conversationId: string;
|
|
152
|
-
taskId: string | null;
|
|
153
|
-
visibility: string;
|
|
154
152
|
fromSubAgentId: string | null;
|
|
155
153
|
toSubAgentId: string | null;
|
|
156
154
|
fromExternalAgentId: string | null;
|
|
157
155
|
toExternalAgentId: string | null;
|
|
158
156
|
fromTeamAgentId: string | null;
|
|
159
157
|
toTeamAgentId: string | null;
|
|
158
|
+
visibility: string;
|
|
160
159
|
messageType: string;
|
|
160
|
+
taskId: string | null;
|
|
161
161
|
parentMessageId: string | null;
|
|
162
162
|
a2aTaskId: string | null;
|
|
163
163
|
a2aSessionId: string | null;
|
|
@@ -193,24 +193,24 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
-
tenantId: string;
|
|
197
|
-
projectId: string;
|
|
198
196
|
id: string;
|
|
199
197
|
createdAt: string;
|
|
200
198
|
updatedAt: string;
|
|
199
|
+
tenantId: string;
|
|
200
|
+
projectId: string;
|
|
201
201
|
metadata: MessageMetadata | null;
|
|
202
202
|
content: MessageContent;
|
|
203
203
|
role: string;
|
|
204
204
|
conversationId: string;
|
|
205
|
-
taskId: string | null;
|
|
206
|
-
visibility: string;
|
|
207
205
|
fromSubAgentId: string | null;
|
|
208
206
|
toSubAgentId: string | null;
|
|
209
207
|
fromExternalAgentId: string | null;
|
|
210
208
|
toExternalAgentId: string | null;
|
|
211
209
|
fromTeamAgentId: string | null;
|
|
212
210
|
toTeamAgentId: string | null;
|
|
211
|
+
visibility: string;
|
|
213
212
|
messageType: string;
|
|
213
|
+
taskId: string | null;
|
|
214
214
|
parentMessageId: string | null;
|
|
215
215
|
a2aTaskId: string | null;
|
|
216
216
|
a2aSessionId: string | null;
|
|
@@ -6,12 +6,13 @@ 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
|
-
tenantId: string;
|
|
10
|
-
projectId: string;
|
|
11
9
|
id: string;
|
|
12
|
-
agentId: string;
|
|
13
10
|
createdAt: string;
|
|
14
11
|
updatedAt: string;
|
|
12
|
+
tenantId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
agentId: string;
|
|
15
|
+
subAgentId: string;
|
|
15
16
|
metadata: TaskMetadataConfig | null;
|
|
16
17
|
ref: {
|
|
17
18
|
type: "commit" | "tag" | "branch";
|
|
@@ -19,7 +20,6 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
19
20
|
hash: string;
|
|
20
21
|
} | null;
|
|
21
22
|
status: string;
|
|
22
|
-
subAgentId: string;
|
|
23
23
|
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|