@inkeep/agents-core 0.53.9 → 0.53.10
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 +135 -135
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +1 -1
- package/dist/constants/otel-attributes.d.ts +7 -0
- package/dist/constants/otel-attributes.js +10 -3
- package/dist/constants/signoz-queries.d.ts +1 -0
- package/dist/constants/signoz-queries.js +2 -1
- package/dist/data-access/manage/agents.d.ts +21 -21
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +10 -10
- package/dist/data-access/manage/skills.d.ts +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +24 -24
- 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/conversations.d.ts +23 -23
- package/dist/data-access/runtime/messages.d.ts +12 -12
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +451 -451
- package/dist/db/runtime/runtime-schema.d.ts +298 -298
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/schemas.d.ts +208 -208
- package/dist/validation/schemas.js +1 -2
- package/package.json +1 -1
|
@@ -17,16 +17,16 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
19
|
id: string;
|
|
20
|
-
title: string | null;
|
|
21
|
-
createdAt: string;
|
|
22
|
-
updatedAt: string;
|
|
23
20
|
tenantId: string;
|
|
24
21
|
projectId: string;
|
|
25
22
|
agentId: string | null;
|
|
26
|
-
|
|
23
|
+
title: string | null;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
updatedAt: string;
|
|
27
26
|
metadata: ConversationMetadata | null;
|
|
27
|
+
userId: string | null;
|
|
28
28
|
ref: {
|
|
29
|
-
type: "
|
|
29
|
+
type: "tag" | "commit" | "branch";
|
|
30
30
|
name: string;
|
|
31
31
|
hash: string;
|
|
32
32
|
} | null;
|
|
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
44
44
|
agentId: string | null;
|
|
45
45
|
activeSubAgentId: string;
|
|
46
46
|
ref: {
|
|
47
|
-
type: "
|
|
47
|
+
type: "tag" | "commit" | "branch";
|
|
48
48
|
name: string;
|
|
49
49
|
hash: string;
|
|
50
50
|
} | null;
|
|
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
|
|
|
70
70
|
agentId: string | null;
|
|
71
71
|
activeSubAgentId: string;
|
|
72
72
|
ref: {
|
|
73
|
-
type: "
|
|
73
|
+
type: "tag" | "commit" | "branch";
|
|
74
74
|
name: string;
|
|
75
75
|
hash: string;
|
|
76
76
|
} | null;
|
|
@@ -86,16 +86,16 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
88
|
id: string;
|
|
89
|
-
title: string | null;
|
|
90
|
-
createdAt: string;
|
|
91
|
-
updatedAt: string;
|
|
92
89
|
tenantId: string;
|
|
93
90
|
projectId: string;
|
|
94
91
|
agentId: string | null;
|
|
95
|
-
|
|
92
|
+
title: string | null;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
updatedAt: string;
|
|
96
95
|
metadata: ConversationMetadata | null;
|
|
96
|
+
userId: string | null;
|
|
97
97
|
ref: {
|
|
98
|
-
type: "
|
|
98
|
+
type: "tag" | "commit" | "branch";
|
|
99
99
|
name: string;
|
|
100
100
|
hash: string;
|
|
101
101
|
} | null;
|
|
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
108
108
|
tenantId: string;
|
|
109
109
|
id: string;
|
|
110
110
|
ref: {
|
|
111
|
-
type: "
|
|
111
|
+
type: "tag" | "commit" | "branch";
|
|
112
112
|
name: string;
|
|
113
113
|
hash: string;
|
|
114
114
|
};
|
|
@@ -122,16 +122,16 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
124
|
id: string;
|
|
125
|
-
title: string | null;
|
|
126
|
-
createdAt: string;
|
|
127
|
-
updatedAt: string;
|
|
128
125
|
tenantId: string;
|
|
129
126
|
projectId: string;
|
|
130
127
|
agentId: string | null;
|
|
131
|
-
|
|
128
|
+
title: string | null;
|
|
129
|
+
createdAt: string;
|
|
130
|
+
updatedAt: string;
|
|
132
131
|
metadata: ConversationMetadata | null;
|
|
132
|
+
userId: string | null;
|
|
133
133
|
ref: {
|
|
134
|
-
type: "
|
|
134
|
+
type: "tag" | "commit" | "branch";
|
|
135
135
|
name: string;
|
|
136
136
|
hash: string;
|
|
137
137
|
} | null;
|
|
@@ -154,16 +154,16 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
156
|
id: string;
|
|
157
|
-
title: string | null;
|
|
158
|
-
createdAt: string;
|
|
159
|
-
updatedAt: string;
|
|
160
157
|
tenantId: string;
|
|
161
158
|
projectId: string;
|
|
162
159
|
agentId: string | null;
|
|
163
|
-
|
|
160
|
+
title: string | null;
|
|
161
|
+
createdAt: string;
|
|
162
|
+
updatedAt: string;
|
|
164
163
|
metadata: ConversationMetadata | null;
|
|
164
|
+
userId: string | null;
|
|
165
165
|
ref: {
|
|
166
|
-
type: "
|
|
166
|
+
type: "tag" | "commit" | "branch";
|
|
167
167
|
name: string;
|
|
168
168
|
hash: string;
|
|
169
169
|
} | null;
|
|
@@ -11,19 +11,19 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
13
|
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
14
|
tenantId: string;
|
|
17
15
|
projectId: string;
|
|
18
|
-
|
|
16
|
+
createdAt: string;
|
|
17
|
+
updatedAt: string;
|
|
19
18
|
metadata: MessageMetadata | null;
|
|
19
|
+
content: MessageContent;
|
|
20
|
+
role: string;
|
|
20
21
|
fromSubAgentId: string | null;
|
|
21
22
|
toSubAgentId: string | null;
|
|
22
23
|
fromExternalAgentId: string | null;
|
|
23
24
|
toExternalAgentId: string | null;
|
|
24
25
|
taskId: string | null;
|
|
25
26
|
a2aTaskId: string | null;
|
|
26
|
-
role: string;
|
|
27
27
|
conversationId: string;
|
|
28
28
|
fromTeamAgentId: string | null;
|
|
29
29
|
toTeamAgentId: string | null;
|
|
@@ -142,19 +142,19 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
142
142
|
}[]>;
|
|
143
143
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
144
144
|
id: string;
|
|
145
|
-
createdAt: string;
|
|
146
|
-
updatedAt: string;
|
|
147
145
|
tenantId: string;
|
|
148
146
|
projectId: string;
|
|
149
|
-
|
|
147
|
+
createdAt: string;
|
|
148
|
+
updatedAt: string;
|
|
150
149
|
metadata: MessageMetadata | null;
|
|
150
|
+
content: MessageContent;
|
|
151
|
+
role: string;
|
|
151
152
|
fromSubAgentId: string | null;
|
|
152
153
|
toSubAgentId: string | null;
|
|
153
154
|
fromExternalAgentId: string | null;
|
|
154
155
|
toExternalAgentId: string | null;
|
|
155
156
|
taskId: string | null;
|
|
156
157
|
a2aTaskId: string | null;
|
|
157
|
-
role: string;
|
|
158
158
|
conversationId: string;
|
|
159
159
|
fromTeamAgentId: string | null;
|
|
160
160
|
toTeamAgentId: string | null;
|
|
@@ -195,19 +195,19 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
195
195
|
messageId: string;
|
|
196
196
|
}) => Promise<{
|
|
197
197
|
id: string;
|
|
198
|
-
createdAt: string;
|
|
199
|
-
updatedAt: string;
|
|
200
198
|
tenantId: string;
|
|
201
199
|
projectId: string;
|
|
202
|
-
|
|
200
|
+
createdAt: string;
|
|
201
|
+
updatedAt: string;
|
|
203
202
|
metadata: MessageMetadata | null;
|
|
203
|
+
content: MessageContent;
|
|
204
|
+
role: string;
|
|
204
205
|
fromSubAgentId: string | null;
|
|
205
206
|
toSubAgentId: string | null;
|
|
206
207
|
fromExternalAgentId: string | null;
|
|
207
208
|
toExternalAgentId: string | null;
|
|
208
209
|
taskId: string | null;
|
|
209
210
|
a2aTaskId: string | null;
|
|
210
|
-
role: string;
|
|
211
211
|
conversationId: string;
|
|
212
212
|
fromTeamAgentId: string | null;
|
|
213
213
|
toTeamAgentId: string | null;
|
|
@@ -7,16 +7,16 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
9
|
id: string;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
updatedAt: string;
|
|
12
10
|
tenantId: string;
|
|
13
11
|
projectId: string;
|
|
14
12
|
agentId: string;
|
|
15
|
-
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
16
15
|
metadata: TaskMetadataConfig | null;
|
|
16
|
+
status: string;
|
|
17
17
|
subAgentId: string;
|
|
18
18
|
ref: {
|
|
19
|
-
type: "
|
|
19
|
+
type: "tag" | "commit" | "branch";
|
|
20
20
|
name: string;
|
|
21
21
|
hash: string;
|
|
22
22
|
} | null;
|
|
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
36
36
|
updatedAt: string;
|
|
37
37
|
contextId: string;
|
|
38
38
|
ref: {
|
|
39
|
-
type: "
|
|
39
|
+
type: "tag" | "commit" | "branch";
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|