@inkeep/agents-core 0.45.3 → 0.46.0
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 +17 -17
- package/dist/auth/auth.d.ts +4 -4
- package/dist/auth/authz/permissions.js +1 -0
- package/dist/constants/signoz-queries.d.ts +2 -0
- package/dist/constants/signoz-queries.js +2 -0
- package/dist/data-access/manage/agents.d.ts +32 -32
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- 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 +16 -16
- 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 +18 -18
- package/dist/data-access/manage/subAgents.d.ts +24 -24
- package/dist/data-access/manage/tools.d.ts +30 -30
- package/dist/data-access/runtime/apiKeys.d.ts +20 -20
- package/dist/data-access/runtime/conversations.d.ts +24 -24
- package/dist/data-access/runtime/messages.d.ts +21 -21
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +378 -378
- package/dist/db/runtime/runtime-schema.d.ts +232 -232
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +559 -559
- package/package.json +1 -1
|
@@ -15,21 +15,21 @@ 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;
|
|
18
20
|
id: string;
|
|
19
|
-
|
|
21
|
+
title: string | null;
|
|
22
|
+
agentId: string | null;
|
|
20
23
|
createdAt: string;
|
|
21
24
|
updatedAt: string;
|
|
22
|
-
projectId: string;
|
|
23
|
-
tenantId: string;
|
|
24
25
|
userId: string | null;
|
|
25
|
-
|
|
26
|
-
activeSubAgentId: string;
|
|
26
|
+
metadata: ConversationMetadata | null;
|
|
27
27
|
ref: {
|
|
28
28
|
type: "commit" | "tag" | "branch";
|
|
29
29
|
name: string;
|
|
30
30
|
hash: string;
|
|
31
31
|
} | null;
|
|
32
|
-
|
|
32
|
+
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
35
35
|
declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -84,21 +84,21 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
+
tenantId: string;
|
|
88
|
+
projectId: string;
|
|
87
89
|
id: string;
|
|
88
|
-
|
|
90
|
+
title: string | null;
|
|
91
|
+
agentId: string | null;
|
|
89
92
|
createdAt: string;
|
|
90
93
|
updatedAt: string;
|
|
91
|
-
projectId: string;
|
|
92
|
-
tenantId: string;
|
|
93
94
|
userId: string | null;
|
|
94
|
-
|
|
95
|
-
activeSubAgentId: string;
|
|
95
|
+
metadata: ConversationMetadata | null;
|
|
96
96
|
ref: {
|
|
97
97
|
type: "commit" | "tag" | "branch";
|
|
98
98
|
name: string;
|
|
99
99
|
hash: string;
|
|
100
100
|
} | null;
|
|
101
|
-
|
|
101
|
+
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
104
104
|
declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
@@ -120,21 +120,21 @@ 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;
|
|
123
125
|
id: string;
|
|
124
|
-
|
|
126
|
+
title: string | null;
|
|
127
|
+
agentId: string | null;
|
|
125
128
|
createdAt: string;
|
|
126
129
|
updatedAt: string;
|
|
127
|
-
projectId: string;
|
|
128
|
-
tenantId: string;
|
|
129
130
|
userId: string | null;
|
|
130
|
-
|
|
131
|
-
activeSubAgentId: string;
|
|
131
|
+
metadata: ConversationMetadata | null;
|
|
132
132
|
ref: {
|
|
133
133
|
type: "commit" | "tag" | "branch";
|
|
134
134
|
name: string;
|
|
135
135
|
hash: string;
|
|
136
136
|
} | null;
|
|
137
|
-
|
|
137
|
+
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
140
140
|
/**
|
|
@@ -152,21 +152,21 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
+
tenantId: string;
|
|
156
|
+
projectId: string;
|
|
155
157
|
id: string;
|
|
156
|
-
|
|
158
|
+
title: string | null;
|
|
159
|
+
agentId: string | null;
|
|
157
160
|
createdAt: string;
|
|
158
161
|
updatedAt: string;
|
|
159
|
-
projectId: string;
|
|
160
|
-
tenantId: string;
|
|
161
162
|
userId: string | null;
|
|
162
|
-
|
|
163
|
-
activeSubAgentId: string;
|
|
163
|
+
metadata: ConversationMetadata | null;
|
|
164
164
|
ref: {
|
|
165
165
|
type: "commit" | "tag" | "branch";
|
|
166
166
|
name: string;
|
|
167
167
|
hash: string;
|
|
168
168
|
} | null;
|
|
169
|
-
|
|
169
|
+
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
172
172
|
/**
|
|
@@ -9,26 +9,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
tenantId: string;
|
|
13
|
+
projectId: string;
|
|
12
14
|
id: string;
|
|
13
|
-
taskId: string | null;
|
|
14
|
-
metadata: MessageMetadata | null;
|
|
15
|
-
visibility: string;
|
|
16
15
|
createdAt: string;
|
|
17
16
|
updatedAt: string;
|
|
18
|
-
|
|
19
|
-
tenantId: string;
|
|
17
|
+
metadata: MessageMetadata | null;
|
|
20
18
|
content: MessageContent;
|
|
21
19
|
role: string;
|
|
22
|
-
conversationId: string;
|
|
23
20
|
fromSubAgentId: string | null;
|
|
24
21
|
toSubAgentId: string | null;
|
|
25
22
|
fromExternalAgentId: string | null;
|
|
26
23
|
toExternalAgentId: string | null;
|
|
24
|
+
taskId: string | null;
|
|
25
|
+
a2aTaskId: string | null;
|
|
26
|
+
conversationId: string;
|
|
27
27
|
fromTeamAgentId: string | null;
|
|
28
28
|
toTeamAgentId: string | null;
|
|
29
|
+
visibility: string;
|
|
29
30
|
messageType: string;
|
|
30
31
|
parentMessageId: string | null;
|
|
31
|
-
a2aTaskId: string | null;
|
|
32
32
|
a2aSessionId: string | null;
|
|
33
33
|
} | undefined>;
|
|
34
34
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -140,26 +140,26 @@ 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;
|
|
143
145
|
id: string;
|
|
144
|
-
taskId: string | null;
|
|
145
|
-
metadata: MessageMetadata | null;
|
|
146
|
-
visibility: string;
|
|
147
146
|
createdAt: string;
|
|
148
147
|
updatedAt: string;
|
|
149
|
-
|
|
150
|
-
tenantId: string;
|
|
148
|
+
metadata: MessageMetadata | null;
|
|
151
149
|
content: MessageContent;
|
|
152
150
|
role: string;
|
|
153
|
-
conversationId: string;
|
|
154
151
|
fromSubAgentId: string | null;
|
|
155
152
|
toSubAgentId: string | null;
|
|
156
153
|
fromExternalAgentId: string | null;
|
|
157
154
|
toExternalAgentId: string | null;
|
|
155
|
+
taskId: string | null;
|
|
156
|
+
a2aTaskId: string | null;
|
|
157
|
+
conversationId: string;
|
|
158
158
|
fromTeamAgentId: string | null;
|
|
159
159
|
toTeamAgentId: string | null;
|
|
160
|
+
visibility: string;
|
|
160
161
|
messageType: string;
|
|
161
162
|
parentMessageId: string | null;
|
|
162
|
-
a2aTaskId: string | null;
|
|
163
163
|
a2aSessionId: string | null;
|
|
164
164
|
}>;
|
|
165
165
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -193,26 +193,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
+
tenantId: string;
|
|
197
|
+
projectId: string;
|
|
196
198
|
id: string;
|
|
197
|
-
taskId: string | null;
|
|
198
|
-
metadata: MessageMetadata | null;
|
|
199
|
-
visibility: string;
|
|
200
199
|
createdAt: string;
|
|
201
200
|
updatedAt: string;
|
|
202
|
-
|
|
203
|
-
tenantId: string;
|
|
201
|
+
metadata: MessageMetadata | null;
|
|
204
202
|
content: MessageContent;
|
|
205
203
|
role: string;
|
|
206
|
-
conversationId: string;
|
|
207
204
|
fromSubAgentId: string | null;
|
|
208
205
|
toSubAgentId: string | null;
|
|
209
206
|
fromExternalAgentId: string | null;
|
|
210
207
|
toExternalAgentId: string | null;
|
|
208
|
+
taskId: string | null;
|
|
209
|
+
a2aTaskId: string | null;
|
|
210
|
+
conversationId: string;
|
|
211
211
|
fromTeamAgentId: string | null;
|
|
212
212
|
toTeamAgentId: string | null;
|
|
213
|
+
visibility: string;
|
|
213
214
|
messageType: string;
|
|
214
215
|
parentMessageId: string | null;
|
|
215
|
-
a2aTaskId: string | null;
|
|
216
216
|
a2aSessionId: string | null;
|
|
217
217
|
}>;
|
|
218
218
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -6,14 +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;
|
|
9
11
|
id: string;
|
|
10
|
-
|
|
11
|
-
metadata: TaskMetadataConfig | null;
|
|
12
|
+
agentId: string;
|
|
12
13
|
createdAt: string;
|
|
13
14
|
updatedAt: string;
|
|
14
|
-
|
|
15
|
-
tenantId: string;
|
|
16
|
-
agentId: string;
|
|
15
|
+
metadata: TaskMetadataConfig | null;
|
|
17
16
|
ref: {
|
|
18
17
|
type: "commit" | "tag" | "branch";
|
|
19
18
|
name: string;
|
|
@@ -21,6 +20,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
21
20
|
} | null;
|
|
22
21
|
status: string;
|
|
23
22
|
subAgentId: string;
|
|
23
|
+
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|