@inkeep/agents-core 0.0.0-dev-20260404012728 → 0.0.0-dev-20260404213053

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 (29) hide show
  1. package/dist/auth/auth-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/permissions.d.ts +9 -9
  4. package/dist/data-access/manage/agents.d.ts +42 -42
  5. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  6. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  7. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  8. package/dist/data-access/manage/functionTools.d.ts +14 -14
  9. package/dist/data-access/manage/skills.d.ts +14 -14
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  11. package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  13. package/dist/data-access/manage/subAgents.d.ts +18 -18
  14. package/dist/data-access/manage/tools.d.ts +24 -24
  15. package/dist/data-access/manage/triggers.d.ts +4 -4
  16. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  17. package/dist/data-access/runtime/apps.d.ts +18 -18
  18. package/dist/data-access/runtime/conversations.d.ts +24 -24
  19. package/dist/data-access/runtime/messages.d.ts +27 -27
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  21. package/dist/data-access/runtime/tasks.d.ts +6 -6
  22. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  23. package/dist/db/manage/manage-schema.d.ts +453 -453
  24. package/dist/db/runtime/runtime-schema.d.ts +384 -384
  25. package/dist/utils/error.d.ts +51 -51
  26. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  27. package/dist/validation/schemas/skills.d.ts +52 -52
  28. package/dist/validation/schemas.d.ts +2505 -2505
  29. 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
18
  id: string;
19
+ createdAt: string;
20
+ updatedAt: string;
22
21
  ref: {
23
22
  type: "commit" | "tag" | "branch";
24
23
  name: string;
25
24
  hash: string;
26
25
  } | null;
27
- createdAt: string;
28
- updatedAt: string;
26
+ userId: string | null;
29
27
  metadata: ConversationMetadata | null;
30
28
  agentId: string | null;
31
- userId: string | null;
29
+ projectId: string;
30
+ tenantId: string;
31
+ title: 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
- title: string | null;
88
- tenantId: string;
89
- projectId: string;
90
87
  id: string;
88
+ createdAt: string;
89
+ updatedAt: string;
91
90
  ref: {
92
91
  type: "commit" | "tag" | "branch";
93
92
  name: string;
94
93
  hash: string;
95
94
  } | null;
96
- createdAt: string;
97
- updatedAt: string;
95
+ userId: string | null;
98
96
  metadata: ConversationMetadata | null;
99
97
  agentId: string | null;
100
- userId: string | null;
98
+ projectId: string;
99
+ tenantId: string;
100
+ title: 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
- title: string | null;
124
- tenantId: string;
125
- projectId: string;
126
123
  id: string;
124
+ createdAt: string;
125
+ updatedAt: string;
127
126
  ref: {
128
127
  type: "commit" | "tag" | "branch";
129
128
  name: string;
130
129
  hash: string;
131
130
  } | null;
132
- createdAt: string;
133
- updatedAt: string;
131
+ userId: string | null;
134
132
  metadata: ConversationMetadata | null;
135
133
  agentId: string | null;
136
- userId: string | null;
134
+ projectId: string;
135
+ tenantId: string;
136
+ title: 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
- title: string | null;
156
- tenantId: string;
157
- projectId: string;
158
155
  id: string;
156
+ createdAt: string;
157
+ updatedAt: string;
159
158
  ref: {
160
159
  type: "commit" | "tag" | "branch";
161
160
  name: string;
162
161
  hash: string;
163
162
  } | null;
164
- createdAt: string;
165
- updatedAt: string;
163
+ userId: string | null;
166
164
  metadata: ConversationMetadata | null;
167
165
  agentId: string | null;
168
- userId: string | null;
166
+ projectId: string;
167
+ tenantId: string;
168
+ title: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- content: MessageContent;
14
- tenantId: string;
15
- projectId: string;
16
- fromSubAgentId: string | null;
17
- toSubAgentId: string | null;
18
- fromExternalAgentId: string | null;
19
- toExternalAgentId: string | null;
20
- taskId: string | null;
21
- a2aTaskId: string | null;
22
13
  id: string;
23
14
  createdAt: string;
24
15
  updatedAt: string;
25
16
  metadata: MessageMetadata | null;
26
17
  role: string;
18
+ projectId: string;
19
+ tenantId: string;
20
+ content: MessageContent;
27
21
  conversationId: string;
22
+ fromSubAgentId: string | null;
23
+ toSubAgentId: string | null;
24
+ fromExternalAgentId: string | null;
25
+ toExternalAgentId: string | null;
28
26
  fromTeamAgentId: string | null;
29
27
  toTeamAgentId: string | null;
30
28
  visibility: string;
31
29
  messageType: string;
30
+ taskId: string | null;
32
31
  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
- content: MessageContent;
148
- tenantId: string;
149
- projectId: string;
150
- fromSubAgentId: string | null;
151
- toSubAgentId: string | null;
152
- fromExternalAgentId: string | null;
153
- toExternalAgentId: string | null;
154
- taskId: string | null;
155
- a2aTaskId: string | null;
156
147
  id: string;
157
148
  createdAt: string;
158
149
  updatedAt: string;
159
150
  metadata: MessageMetadata | null;
160
151
  role: string;
152
+ projectId: string;
153
+ tenantId: string;
154
+ content: MessageContent;
161
155
  conversationId: string;
156
+ fromSubAgentId: string | null;
157
+ toSubAgentId: string | null;
158
+ fromExternalAgentId: string | null;
159
+ toExternalAgentId: string | null;
162
160
  fromTeamAgentId: string | null;
163
161
  toTeamAgentId: string | null;
164
162
  visibility: string;
165
163
  messageType: string;
164
+ taskId: string | null;
166
165
  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
- content: MessageContent;
201
- tenantId: string;
202
- projectId: string;
203
- fromSubAgentId: string | null;
204
- toSubAgentId: string | null;
205
- fromExternalAgentId: string | null;
206
- toExternalAgentId: string | null;
207
- taskId: string | null;
208
- a2aTaskId: string | null;
209
200
  id: string;
210
201
  createdAt: string;
211
202
  updatedAt: string;
212
203
  metadata: MessageMetadata | null;
213
204
  role: string;
205
+ projectId: string;
206
+ tenantId: string;
207
+ content: MessageContent;
214
208
  conversationId: string;
209
+ fromSubAgentId: string | null;
210
+ toSubAgentId: string | null;
211
+ fromExternalAgentId: string | null;
212
+ toExternalAgentId: string | null;
215
213
  fromTeamAgentId: string | null;
216
214
  toTeamAgentId: string | null;
217
215
  visibility: string;
218
216
  messageType: string;
217
+ taskId: string | null;
219
218
  parentMessageId: string | null;
219
+ a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
43
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -194,7 +194,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
194
194
  name: string;
195
195
  hash: string;
196
196
  } | null;
197
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
197
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
198
198
  scheduledFor: string;
199
199
  startedAt: string | null;
200
200
  completedAt: string | null;
@@ -233,7 +233,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
233
233
  name: string;
234
234
  hash: string;
235
235
  } | null;
236
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
236
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
237
237
  scheduledFor: string;
238
238
  startedAt: string | null;
239
239
  completedAt: string | null;
@@ -285,7 +285,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
285
285
  name: string;
286
286
  hash: string;
287
287
  } | null;
288
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
288
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
289
289
  scheduledFor: string;
290
290
  startedAt: string | null;
291
291
  completedAt: string | null;
@@ -7,21 +7,21 @@ 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
- status: string;
13
- subAgentId: string;
14
10
  id: string;
11
+ createdAt: string;
12
+ updatedAt: string;
15
13
  ref: {
16
14
  type: "commit" | "tag" | "branch";
17
15
  name: string;
18
16
  hash: string;
19
17
  } | null;
20
- createdAt: string;
21
- updatedAt: string;
22
18
  metadata: TaskMetadataConfig | null;
19
+ status: string;
23
20
  agentId: string;
21
+ projectId: string;
22
+ tenantId: string;
24
23
  contextId: string;
24
+ subAgentId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
27
27
  id: string;
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core220 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core1809 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_core220.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1809.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };