@inkeep/agents-core 0.78.1 → 0.78.3

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.
Files changed (34) hide show
  1. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  2. package/dist/auth/auth.d.ts +9 -9
  3. package/dist/auth/auth.js +7 -0
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/constants/signoz-queries.d.ts +2 -0
  6. package/dist/constants/signoz-queries.js +3 -1
  7. package/dist/data-access/manage/agents.d.ts +37 -37
  8. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  9. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  10. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  11. package/dist/data-access/manage/functionTools.d.ts +12 -12
  12. package/dist/data-access/manage/skills.d.ts +11 -11
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  14. package/dist/data-access/manage/subAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  16. package/dist/data-access/manage/subAgents.d.ts +15 -15
  17. package/dist/data-access/manage/tools.d.ts +21 -21
  18. package/dist/data-access/manage/triggers.d.ts +7 -7
  19. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  20. package/dist/data-access/runtime/apps.d.ts +15 -15
  21. package/dist/data-access/runtime/conversations.d.ts +28 -28
  22. package/dist/data-access/runtime/events.d.ts +4 -4
  23. package/dist/data-access/runtime/feedback.d.ts +4 -4
  24. package/dist/data-access/runtime/messages.d.ts +27 -27
  25. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  26. package/dist/data-access/runtime/tasks.d.ts +6 -6
  27. package/dist/db/manage/manage-schema.d.ts +387 -387
  28. package/dist/db/runtime/runtime-schema.d.ts +415 -415
  29. package/dist/types/utility.d.ts +1 -0
  30. package/dist/utils/error.d.ts +51 -51
  31. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  32. package/dist/validation/schemas/skills.d.ts +37 -37
  33. package/dist/validation/schemas.d.ts +2290 -2290
  34. package/package.json +1 -1
@@ -19,18 +19,18 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  id: string;
20
20
  createdAt: string;
21
21
  updatedAt: string;
22
- agentId: string | null;
23
- projectId: string;
24
- tenantId: string;
25
- properties: Record<string, unknown> | null;
26
- title: string | null;
27
- metadata: ConversationMetadata | null;
28
- userId: string | null;
29
22
  ref: {
30
23
  type: "commit" | "tag" | "branch";
31
24
  name: string;
32
25
  hash: string;
33
26
  } | null;
27
+ userId: string | null;
28
+ metadata: ConversationMetadata | null;
29
+ properties: Record<string, unknown> | null;
30
+ title: string | null;
31
+ tenantId: string;
32
+ projectId: string;
33
+ agentId: string | null;
34
34
  activeSubAgentId: string;
35
35
  lastContextResolution: string | null;
36
36
  userProperties: Record<string, unknown> | null;
@@ -94,18 +94,18 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
94
94
  id: string;
95
95
  createdAt: string;
96
96
  updatedAt: string;
97
- agentId: string | null;
98
- projectId: string;
99
- tenantId: string;
100
- properties: Record<string, unknown> | null;
101
- title: string | null;
102
- metadata: ConversationMetadata | null;
103
- userId: string | null;
104
97
  ref: {
105
98
  type: "commit" | "tag" | "branch";
106
99
  name: string;
107
100
  hash: string;
108
101
  } | null;
102
+ userId: string | null;
103
+ metadata: ConversationMetadata | null;
104
+ properties: Record<string, unknown> | null;
105
+ title: string | null;
106
+ tenantId: string;
107
+ projectId: string;
108
+ agentId: string | null;
109
109
  activeSubAgentId: string;
110
110
  lastContextResolution: string | null;
111
111
  userProperties: Record<string, unknown> | null;
@@ -149,18 +149,18 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
149
149
  id: string;
150
150
  createdAt: string;
151
151
  updatedAt: string;
152
- agentId: string | null;
153
- projectId: string;
154
- tenantId: string;
155
- properties: Record<string, unknown> | null;
156
- title: string | null;
157
- metadata: ConversationMetadata | null;
158
- userId: string | null;
159
152
  ref: {
160
153
  type: "commit" | "tag" | "branch";
161
154
  name: string;
162
155
  hash: string;
163
156
  } | null;
157
+ userId: string | null;
158
+ metadata: ConversationMetadata | null;
159
+ properties: Record<string, unknown> | null;
160
+ title: string | null;
161
+ tenantId: string;
162
+ projectId: string;
163
+ agentId: string | null;
164
164
  activeSubAgentId: string;
165
165
  lastContextResolution: string | null;
166
166
  userProperties: Record<string, unknown> | null;
@@ -187,18 +187,18 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
187
187
  id: string;
188
188
  createdAt: string;
189
189
  updatedAt: string;
190
- agentId: string | null;
191
- projectId: string;
192
- tenantId: string;
193
- properties: Record<string, unknown> | null;
194
- title: string | null;
195
- metadata: ConversationMetadata | null;
196
- userId: string | null;
197
190
  ref: {
198
191
  type: "commit" | "tag" | "branch";
199
192
  name: string;
200
193
  hash: string;
201
194
  } | null;
195
+ userId: string | null;
196
+ metadata: ConversationMetadata | null;
197
+ properties: Record<string, unknown> | null;
198
+ title: string | null;
199
+ tenantId: string;
200
+ projectId: string;
201
+ agentId: string | null;
202
202
  activeSubAgentId: string;
203
203
  lastContextResolution: string | null;
204
204
  userProperties: Record<string, unknown> | null;
@@ -11,11 +11,11 @@ declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- agentId: string | null;
15
- projectId: string;
16
- tenantId: string;
17
- properties: Record<string, unknown> | null;
18
14
  metadata: Record<string, unknown> | null;
15
+ properties: Record<string, unknown> | null;
16
+ tenantId: string;
17
+ projectId: string;
18
+ agentId: string | null;
19
19
  userProperties: Record<string, unknown> | null;
20
20
  conversationId: string | null;
21
21
  messageId: string | null;
@@ -74,11 +74,11 @@ declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: Feedback
74
74
  id: string;
75
75
  createdAt: string;
76
76
  updatedAt: string;
77
- projectId: string;
78
77
  tenantId: string;
78
+ projectId: string;
79
+ details: string | null;
79
80
  conversationId: string;
80
81
  messageId: string | null;
81
- details: string | null;
82
82
  }>;
83
83
  declare const createFeedbackBulk: (db: AgentsRunDatabaseClient) => (items: FeedbackInsert[]) => Promise<(typeof feedback.$inferSelect)[]>;
84
84
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
@@ -104,11 +104,11 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
104
104
  id: string;
105
105
  createdAt: string;
106
106
  updatedAt: string;
107
- projectId: string;
108
107
  tenantId: string;
108
+ projectId: string;
109
+ details: string | null;
109
110
  conversationId: string;
110
111
  messageId: string | null;
111
- details: string | null;
112
112
  }>;
113
113
  //#endregion
114
114
  export { createFeedback, createFeedbackBulk, deleteFeedback, getFeedbackById, getFeedbackByIds, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -13,25 +13,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- projectId: string;
17
- tenantId: string;
18
- properties: Record<string, unknown> | null;
19
16
  metadata: MessageMetadata | null;
20
- content: MessageContent;
21
17
  role: string;
22
- userProperties: Record<string, unknown> | null;
23
- conversationId: string;
18
+ properties: Record<string, unknown> | null;
19
+ tenantId: string;
20
+ projectId: string;
21
+ content: MessageContent;
24
22
  fromSubAgentId: string | null;
25
23
  toSubAgentId: string | null;
26
24
  fromExternalAgentId: string | null;
27
25
  toExternalAgentId: string | null;
26
+ taskId: string | null;
27
+ a2aTaskId: string | null;
28
+ visibility: string;
29
+ userProperties: Record<string, unknown> | null;
30
+ conversationId: string;
28
31
  fromTeamAgentId: string | null;
29
32
  toTeamAgentId: string | null;
30
- visibility: string;
31
33
  messageType: string;
32
- taskId: string | null;
33
34
  parentMessageId: string | null;
34
- a2aTaskId: string | null;
35
35
  a2aSessionId: string | null;
36
36
  } | undefined>;
37
37
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -186,25 +186,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
186
186
  id: string;
187
187
  createdAt: string;
188
188
  updatedAt: string;
189
- projectId: string;
190
- tenantId: string;
191
- properties: Record<string, unknown> | null;
192
189
  metadata: MessageMetadata | null;
193
- content: MessageContent;
194
190
  role: string;
195
- userProperties: Record<string, unknown> | null;
196
- conversationId: string;
191
+ properties: Record<string, unknown> | null;
192
+ tenantId: string;
193
+ projectId: string;
194
+ content: MessageContent;
197
195
  fromSubAgentId: string | null;
198
196
  toSubAgentId: string | null;
199
197
  fromExternalAgentId: string | null;
200
198
  toExternalAgentId: string | null;
199
+ taskId: string | null;
200
+ a2aTaskId: string | null;
201
+ visibility: string;
202
+ userProperties: Record<string, unknown> | null;
203
+ conversationId: string;
201
204
  fromTeamAgentId: string | null;
202
205
  toTeamAgentId: string | null;
203
- visibility: string;
204
206
  messageType: string;
205
- taskId: string | null;
206
207
  parentMessageId: string | null;
207
- a2aTaskId: string | null;
208
208
  a2aSessionId: string | null;
209
209
  }>;
210
210
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -243,25 +243,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
243
243
  id: string;
244
244
  createdAt: string;
245
245
  updatedAt: string;
246
- projectId: string;
247
- tenantId: string;
248
- properties: Record<string, unknown> | null;
249
246
  metadata: MessageMetadata | null;
250
- content: MessageContent;
251
247
  role: string;
252
- userProperties: Record<string, unknown> | null;
253
- conversationId: string;
248
+ properties: Record<string, unknown> | null;
249
+ tenantId: string;
250
+ projectId: string;
251
+ content: MessageContent;
254
252
  fromSubAgentId: string | null;
255
253
  toSubAgentId: string | null;
256
254
  fromExternalAgentId: string | null;
257
255
  toExternalAgentId: string | null;
256
+ taskId: string | null;
257
+ a2aTaskId: string | null;
258
+ visibility: string;
259
+ userProperties: Record<string, unknown> | null;
260
+ conversationId: string;
258
261
  fromTeamAgentId: string | null;
259
262
  toTeamAgentId: string | null;
260
- visibility: string;
261
263
  messageType: string;
262
- taskId: string | null;
263
264
  parentMessageId: string | null;
264
- a2aTaskId: string | null;
265
265
  a2aSessionId: string | null;
266
266
  }>;
267
267
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -16,8 +16,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
16
16
  userId: string;
17
17
  }) => Promise<{
18
18
  createdAt: string;
19
- tenantId: string;
20
19
  userId: string;
20
+ tenantId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -10,17 +10,17 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
10
10
  id: string;
11
11
  createdAt: string;
12
12
  updatedAt: string;
13
- agentId: string;
14
- projectId: string;
15
- tenantId: string;
16
- metadata: TaskMetadataConfig | null;
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: {