@inkeep/agents-core 0.67.1 → 0.67.2

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 (30) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/data-access/manage/agents.d.ts +37 -37
  4. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  5. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  6. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  7. package/dist/data-access/manage/functionTools.d.ts +18 -18
  8. package/dist/data-access/manage/skills.d.ts +15 -15
  9. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  10. package/dist/data-access/manage/subAgentRelations.d.ts +30 -30
  11. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  12. package/dist/data-access/manage/subAgents.d.ts +15 -15
  13. package/dist/data-access/manage/tools.d.ts +27 -27
  14. package/dist/data-access/manage/triggers.d.ts +6 -6
  15. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  16. package/dist/data-access/runtime/apps.d.ts +10 -10
  17. package/dist/data-access/runtime/conversations.d.ts +28 -28
  18. package/dist/data-access/runtime/feedback.d.ts +6 -6
  19. package/dist/data-access/runtime/messages.d.ts +15 -15
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  21. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  22. package/dist/data-access/runtime/tasks.d.ts +7 -7
  23. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  24. package/dist/db/manage/manage-schema.d.ts +461 -461
  25. package/dist/db/runtime/runtime-schema.d.ts +409 -409
  26. package/dist/utils/error.d.ts +51 -51
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas/skills.d.ts +57 -57
  29. package/dist/validation/schemas.d.ts +2268 -2268
  30. 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
+ title: string | null;
19
+ tenantId: string;
20
+ projectId: string;
21
+ agentId: string | null;
18
22
  id: string;
19
- metadata: ConversationMetadata | null;
23
+ createdAt: string;
24
+ updatedAt: string;
20
25
  ref: {
21
26
  type: "commit" | "tag" | "branch";
22
27
  name: string;
23
28
  hash: string;
24
29
  } | null;
25
- createdAt: string;
26
- updatedAt: string;
27
- projectId: string;
28
- tenantId: string;
29
- title: string | null;
30
- agentId: string | null;
31
30
  userId: string | null;
31
+ metadata: ConversationMetadata | 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
+ title: string | null;
88
+ tenantId: string;
89
+ projectId: string;
90
+ agentId: string | null;
87
91
  id: string;
88
- metadata: ConversationMetadata | null;
92
+ createdAt: string;
93
+ updatedAt: string;
89
94
  ref: {
90
95
  type: "commit" | "tag" | "branch";
91
96
  name: string;
92
97
  hash: string;
93
98
  } | null;
94
- createdAt: string;
95
- updatedAt: string;
96
- projectId: string;
97
- tenantId: string;
98
- title: string | null;
99
- agentId: string | null;
100
99
  userId: string | null;
100
+ metadata: ConversationMetadata | 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
+ title: string | null;
124
+ tenantId: string;
125
+ projectId: string;
126
+ agentId: string | null;
123
127
  id: string;
124
- metadata: ConversationMetadata | null;
128
+ createdAt: string;
129
+ updatedAt: string;
125
130
  ref: {
126
131
  type: "commit" | "tag" | "branch";
127
132
  name: string;
128
133
  hash: string;
129
134
  } | null;
130
- createdAt: string;
131
- updatedAt: string;
132
- projectId: string;
133
- tenantId: string;
134
- title: string | null;
135
- agentId: string | null;
136
135
  userId: string | null;
136
+ metadata: ConversationMetadata | 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
+ title: string | null;
156
+ tenantId: string;
157
+ projectId: string;
158
+ agentId: string | null;
155
159
  id: string;
156
- metadata: ConversationMetadata | null;
160
+ createdAt: string;
161
+ updatedAt: string;
157
162
  ref: {
158
163
  type: "commit" | "tag" | "branch";
159
164
  name: string;
160
165
  hash: string;
161
166
  } | null;
162
- createdAt: string;
163
- updatedAt: string;
164
- projectId: string;
165
- tenantId: string;
166
- title: string | null;
167
- agentId: string | null;
168
167
  userId: string | null;
168
+ metadata: ConversationMetadata | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -58,12 +58,12 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
58
58
  total: number;
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
+ type: "positive" | "negative";
62
+ tenantId: string;
63
+ projectId: string;
61
64
  id: string;
62
65
  createdAt: string;
63
66
  updatedAt: string;
64
- projectId: string;
65
- tenantId: string;
66
- type: "positive" | "negative";
67
67
  details: string | null;
68
68
  conversationId: string;
69
69
  messageId: string | null;
@@ -87,12 +87,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
+ type: "positive" | "negative";
91
+ tenantId: string;
92
+ projectId: string;
90
93
  id: string;
91
94
  createdAt: string;
92
95
  updatedAt: string;
93
- projectId: string;
94
- tenantId: string;
95
- type: "positive" | "negative";
96
96
  details: string | null;
97
97
  conversationId: string;
98
98
  messageId: string | null;
@@ -10,13 +10,14 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ tenantId: string;
14
+ projectId: string;
13
15
  id: string;
14
- content: MessageContent;
15
- metadata: MessageMetadata | null;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
- projectId: string;
19
- tenantId: string;
18
+ metadata: MessageMetadata | null;
19
+ role: string;
20
+ content: MessageContent;
20
21
  fromSubAgentId: string | null;
21
22
  toSubAgentId: string | null;
22
23
  fromExternalAgentId: string | null;
@@ -24,7 +25,6 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
24
25
  taskId: string | null;
25
26
  a2aTaskId: string | null;
26
27
  conversationId: string;
27
- role: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
30
30
  visibility: string;
@@ -144,13 +144,14 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
144
144
  scopes: ProjectScopeConfig;
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
+ tenantId: string;
148
+ projectId: string;
147
149
  id: string;
148
- content: MessageContent;
149
- metadata: MessageMetadata | null;
150
150
  createdAt: string;
151
151
  updatedAt: string;
152
- projectId: string;
153
- tenantId: string;
152
+ metadata: MessageMetadata | null;
153
+ role: string;
154
+ content: MessageContent;
154
155
  fromSubAgentId: string | null;
155
156
  toSubAgentId: string | null;
156
157
  fromExternalAgentId: string | null;
@@ -158,7 +159,6 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
158
159
  taskId: string | null;
159
160
  a2aTaskId: string | null;
160
161
  conversationId: string;
161
- role: string;
162
162
  fromTeamAgentId: string | null;
163
163
  toTeamAgentId: string | null;
164
164
  visibility: string;
@@ -197,13 +197,14 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  scopes: ProjectScopeConfig;
198
198
  messageId: string;
199
199
  }) => Promise<{
200
+ tenantId: string;
201
+ projectId: string;
200
202
  id: string;
201
- content: MessageContent;
202
- metadata: MessageMetadata | null;
203
203
  createdAt: string;
204
204
  updatedAt: string;
205
- projectId: string;
206
- tenantId: string;
205
+ metadata: MessageMetadata | null;
206
+ role: string;
207
+ content: MessageContent;
207
208
  fromSubAgentId: string | null;
208
209
  toSubAgentId: string | null;
209
210
  fromExternalAgentId: string | null;
@@ -211,7 +212,6 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
211
212
  taskId: string | null;
212
213
  a2aTaskId: string | null;
213
214
  conversationId: string;
214
- role: string;
215
215
  fromTeamAgentId: string | null;
216
216
  toTeamAgentId: string | null;
217
217
  visibility: string;
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
199
199
  name: string;
200
200
  hash: string;
201
201
  } | null;
202
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
202
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
203
203
  scheduledFor: string;
204
204
  startedAt: string | null;
205
205
  completedAt: string | null;
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
239
239
  name: string;
240
240
  hash: string;
241
241
  } | null;
242
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
242
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
243
243
  scheduledFor: string;
244
244
  startedAt: string | null;
245
245
  completedAt: string | null;
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
292
292
  name: string;
293
293
  hash: string;
294
294
  } | null;
295
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
295
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
296
296
  scheduledFor: string;
297
297
  startedAt: string | null;
298
298
  completedAt: string | null;
@@ -15,8 +15,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
15
15
  scheduledTriggerId: string;
16
16
  userId: string;
17
17
  }) => Promise<{
18
- createdAt: string;
19
18
  tenantId: string;
19
+ createdAt: string;
20
20
  userId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
@@ -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;
10
14
  id: string;
11
- metadata: TaskMetadataConfig | null;
15
+ createdAt: string;
16
+ updatedAt: string;
12
17
  ref: {
13
18
  type: "commit" | "tag" | "branch";
14
19
  name: string;
15
20
  hash: string;
16
21
  } | null;
17
- createdAt: string;
18
- updatedAt: string;
19
- projectId: string;
20
- tenantId: string;
21
- agentId: string;
22
+ metadata: TaskMetadataConfig | null;
22
23
  status: string;
23
- subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core1263 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core220 from "drizzle-orm/pg-core";
2
2
 
3
3
  //#region src/db/manage/dolt-safe-jsonb.d.ts
4
4
  declare function encodeBackslashes(value: unknown): unknown;
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
7
7
  * Drop-in replacement for drizzle-orm's `jsonb()`.
8
8
  * Encodes backslashes on write and decodes on read to work around the Doltgres bug.
9
9
  */
10
- declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1263.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core220.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };