@inkeep/agents-core 0.70.2 → 0.70.4
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 +227 -227
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/constants/otel-attributes.d.ts +1 -0
- package/dist/constants/otel-attributes.js +1 -0
- package/dist/constants/signoz-queries.d.ts +3 -0
- package/dist/constants/signoz-queries.js +7 -2
- package/dist/data-access/manage/agents.d.ts +26 -26
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +16 -16
- package/dist/data-access/manage/skills.d.ts +14 -14
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
- 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 +27 -27
- package/dist/data-access/manage/triggers.d.ts +4 -4
- package/dist/data-access/runtime/apiKeys.d.ts +20 -20
- package/dist/data-access/runtime/apps.d.ts +12 -12
- package/dist/data-access/runtime/apps.js +2 -2
- package/dist/data-access/runtime/conversations.d.ts +24 -24
- package/dist/data-access/runtime/feedback.d.ts +6 -6
- package/dist/data-access/runtime/messages.d.ts +27 -27
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +2 -2
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/db/manage/manage-schema.d.ts +457 -457
- package/dist/db/runtime/runtime-schema.d.ts +431 -431
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +47 -47
- package/dist/validation/schemas.d.ts +2406 -2406
- package/package.json +1 -1
|
@@ -15,20 +15,20 @@ 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
|
+
userId: string | null;
|
|
20
|
+
title: string | null;
|
|
21
|
+
projectId: string;
|
|
22
|
+
agentId: string | null;
|
|
18
23
|
id: string;
|
|
19
24
|
createdAt: string;
|
|
20
25
|
updatedAt: string;
|
|
26
|
+
metadata: ConversationMetadata | null;
|
|
21
27
|
ref: {
|
|
22
28
|
type: "commit" | "tag" | "branch";
|
|
23
29
|
name: string;
|
|
24
30
|
hash: string;
|
|
25
31
|
} | null;
|
|
26
|
-
userId: string | null;
|
|
27
|
-
metadata: ConversationMetadata | null;
|
|
28
|
-
title: string | null;
|
|
29
|
-
tenantId: string;
|
|
30
|
-
projectId: string;
|
|
31
|
-
agentId: string | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
+
tenantId: string;
|
|
88
|
+
userId: string | null;
|
|
89
|
+
title: string | null;
|
|
90
|
+
projectId: string;
|
|
91
|
+
agentId: string | null;
|
|
87
92
|
id: string;
|
|
88
93
|
createdAt: string;
|
|
89
94
|
updatedAt: string;
|
|
95
|
+
metadata: ConversationMetadata | null;
|
|
90
96
|
ref: {
|
|
91
97
|
type: "commit" | "tag" | "branch";
|
|
92
98
|
name: string;
|
|
93
99
|
hash: string;
|
|
94
100
|
} | null;
|
|
95
|
-
userId: string | null;
|
|
96
|
-
metadata: ConversationMetadata | null;
|
|
97
|
-
title: string | null;
|
|
98
|
-
tenantId: string;
|
|
99
|
-
projectId: string;
|
|
100
|
-
agentId: string | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
+
tenantId: string;
|
|
124
|
+
userId: string | null;
|
|
125
|
+
title: string | null;
|
|
126
|
+
projectId: string;
|
|
127
|
+
agentId: string | null;
|
|
123
128
|
id: string;
|
|
124
129
|
createdAt: string;
|
|
125
130
|
updatedAt: string;
|
|
131
|
+
metadata: ConversationMetadata | null;
|
|
126
132
|
ref: {
|
|
127
133
|
type: "commit" | "tag" | "branch";
|
|
128
134
|
name: string;
|
|
129
135
|
hash: string;
|
|
130
136
|
} | null;
|
|
131
|
-
userId: string | null;
|
|
132
|
-
metadata: ConversationMetadata | null;
|
|
133
|
-
title: string | null;
|
|
134
|
-
tenantId: string;
|
|
135
|
-
projectId: string;
|
|
136
|
-
agentId: string | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
+
tenantId: string;
|
|
156
|
+
userId: string | null;
|
|
157
|
+
title: string | null;
|
|
158
|
+
projectId: string;
|
|
159
|
+
agentId: string | null;
|
|
155
160
|
id: string;
|
|
156
161
|
createdAt: string;
|
|
157
162
|
updatedAt: string;
|
|
163
|
+
metadata: ConversationMetadata | null;
|
|
158
164
|
ref: {
|
|
159
165
|
type: "commit" | "tag" | "branch";
|
|
160
166
|
name: string;
|
|
161
167
|
hash: string;
|
|
162
168
|
} | null;
|
|
163
|
-
userId: string | null;
|
|
164
|
-
metadata: ConversationMetadata | null;
|
|
165
|
-
title: string | null;
|
|
166
|
-
tenantId: string;
|
|
167
|
-
projectId: string;
|
|
168
|
-
agentId: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -70,14 +70,14 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
70
70
|
}[]>;
|
|
71
71
|
declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
|
|
72
72
|
type: "positive" | "negative";
|
|
73
|
+
tenantId: string;
|
|
74
|
+
projectId: string;
|
|
75
|
+
details: string | null;
|
|
73
76
|
id: string;
|
|
74
77
|
createdAt: string;
|
|
75
78
|
updatedAt: string;
|
|
76
|
-
tenantId: string;
|
|
77
|
-
projectId: string;
|
|
78
79
|
conversationId: string;
|
|
79
80
|
messageId: string | null;
|
|
80
|
-
details: string | null;
|
|
81
81
|
}>;
|
|
82
82
|
declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
83
83
|
scopes: ProjectScopeConfig;
|
|
@@ -99,14 +99,14 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
99
99
|
feedbackId: string;
|
|
100
100
|
}) => Promise<{
|
|
101
101
|
type: "positive" | "negative";
|
|
102
|
+
tenantId: string;
|
|
103
|
+
projectId: string;
|
|
104
|
+
details: string | null;
|
|
102
105
|
id: string;
|
|
103
106
|
createdAt: string;
|
|
104
107
|
updatedAt: string;
|
|
105
|
-
tenantId: string;
|
|
106
|
-
projectId: string;
|
|
107
108
|
conversationId: string;
|
|
108
109
|
messageId: string | null;
|
|
109
|
-
details: string | null;
|
|
110
110
|
}>;
|
|
111
111
|
//#endregion
|
|
112
112
|
export { createFeedback, deleteFeedback, getFeedbackById, getFeedbackByIds, listFeedback, listFeedbackByConversation, updateFeedback };
|
|
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
metadata: MessageMetadata | null;
|
|
17
|
-
role: string;
|
|
18
|
-
content: MessageContent;
|
|
19
13
|
tenantId: string;
|
|
20
14
|
projectId: string;
|
|
21
|
-
|
|
15
|
+
content: MessageContent;
|
|
22
16
|
fromSubAgentId: string | null;
|
|
23
17
|
toSubAgentId: string | null;
|
|
24
18
|
fromExternalAgentId: string | null;
|
|
25
19
|
toExternalAgentId: string | null;
|
|
20
|
+
taskId: string | null;
|
|
21
|
+
a2aTaskId: string | null;
|
|
22
|
+
id: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
updatedAt: string;
|
|
25
|
+
metadata: MessageMetadata | null;
|
|
26
|
+
conversationId: string;
|
|
27
|
+
role: string;
|
|
26
28
|
fromTeamAgentId: string | null;
|
|
27
29
|
toTeamAgentId: string | null;
|
|
28
30
|
visibility: string;
|
|
29
31
|
messageType: string;
|
|
30
|
-
taskId: string | null;
|
|
31
32
|
parentMessageId: string | null;
|
|
32
|
-
a2aTaskId: string | null;
|
|
33
33
|
a2aSessionId: string | null;
|
|
34
34
|
} | undefined>;
|
|
35
35
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -144,26 +144,26 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
144
144
|
scopes: ProjectScopeConfig;
|
|
145
145
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
146
146
|
}) => Promise<{
|
|
147
|
-
id: string;
|
|
148
|
-
createdAt: string;
|
|
149
|
-
updatedAt: string;
|
|
150
|
-
metadata: MessageMetadata | null;
|
|
151
|
-
role: string;
|
|
152
|
-
content: MessageContent;
|
|
153
147
|
tenantId: string;
|
|
154
148
|
projectId: string;
|
|
155
|
-
|
|
149
|
+
content: MessageContent;
|
|
156
150
|
fromSubAgentId: string | null;
|
|
157
151
|
toSubAgentId: string | null;
|
|
158
152
|
fromExternalAgentId: string | null;
|
|
159
153
|
toExternalAgentId: string | null;
|
|
154
|
+
taskId: string | null;
|
|
155
|
+
a2aTaskId: string | null;
|
|
156
|
+
id: string;
|
|
157
|
+
createdAt: string;
|
|
158
|
+
updatedAt: string;
|
|
159
|
+
metadata: MessageMetadata | null;
|
|
160
|
+
conversationId: string;
|
|
161
|
+
role: string;
|
|
160
162
|
fromTeamAgentId: string | null;
|
|
161
163
|
toTeamAgentId: string | null;
|
|
162
164
|
visibility: string;
|
|
163
165
|
messageType: string;
|
|
164
|
-
taskId: string | null;
|
|
165
166
|
parentMessageId: string | null;
|
|
166
|
-
a2aTaskId: string | null;
|
|
167
167
|
a2aSessionId: string | null;
|
|
168
168
|
}>;
|
|
169
169
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -197,26 +197,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
scopes: ProjectScopeConfig;
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
id: string;
|
|
201
|
-
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
203
|
-
metadata: MessageMetadata | null;
|
|
204
|
-
role: string;
|
|
205
|
-
content: MessageContent;
|
|
206
200
|
tenantId: string;
|
|
207
201
|
projectId: string;
|
|
208
|
-
|
|
202
|
+
content: MessageContent;
|
|
209
203
|
fromSubAgentId: string | null;
|
|
210
204
|
toSubAgentId: string | null;
|
|
211
205
|
fromExternalAgentId: string | null;
|
|
212
206
|
toExternalAgentId: string | null;
|
|
207
|
+
taskId: string | null;
|
|
208
|
+
a2aTaskId: string | null;
|
|
209
|
+
id: string;
|
|
210
|
+
createdAt: string;
|
|
211
|
+
updatedAt: string;
|
|
212
|
+
metadata: MessageMetadata | null;
|
|
213
|
+
conversationId: string;
|
|
214
|
+
role: string;
|
|
213
215
|
fromTeamAgentId: string | null;
|
|
214
216
|
toTeamAgentId: string | null;
|
|
215
217
|
visibility: string;
|
|
216
218
|
messageType: string;
|
|
217
|
-
taskId: string | null;
|
|
218
219
|
parentMessageId: string | null;
|
|
219
|
-
a2aTaskId: string | null;
|
|
220
220
|
a2aSessionId: string | null;
|
|
221
221
|
}>;
|
|
222
222
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -15,9 +15,9 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
|
|
|
15
15
|
scheduledTriggerId: string;
|
|
16
16
|
userId: string;
|
|
17
17
|
}) => Promise<{
|
|
18
|
-
createdAt: string;
|
|
19
|
-
userId: string;
|
|
20
18
|
tenantId: string;
|
|
19
|
+
userId: string;
|
|
20
|
+
createdAt: string;
|
|
21
21
|
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
|
|
8
8
|
//#region src/data-access/runtime/tasks.d.ts
|
|
9
9
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
10
|
+
tenantId: string;
|
|
11
|
+
projectId: string;
|
|
12
|
+
agentId: string;
|
|
13
|
+
subAgentId: string;
|
|
14
|
+
status: string;
|
|
10
15
|
id: string;
|
|
11
16
|
createdAt: string;
|
|
12
17
|
updatedAt: string;
|
|
18
|
+
metadata: TaskMetadataConfig | null;
|
|
13
19
|
ref: {
|
|
14
20
|
type: "commit" | "tag" | "branch";
|
|
15
21
|
name: string;
|
|
16
22
|
hash: string;
|
|
17
23
|
} | 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: {
|