@inkeep/agents-core 0.0.0-dev-20260326201814 → 0.0.0-dev-20260326213425

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-schema.d.ts +86 -86
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/permissions.d.ts +9 -9
  4. package/dist/client-exports.d.ts +3 -106
  5. package/dist/client-exports.js +2 -60
  6. package/dist/data-access/manage/agents.d.ts +46 -46
  7. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  8. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  9. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  10. package/dist/data-access/manage/functionTools.d.ts +10 -10
  11. package/dist/data-access/manage/skills.d.ts +15 -15
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +21 -21
  13. package/dist/data-access/manage/subAgentRelations.d.ts +17 -17
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgents.d.ts +33 -33
  16. package/dist/data-access/manage/tools.d.ts +27 -27
  17. package/dist/data-access/manage/triggers.d.ts +2 -2
  18. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  19. package/dist/data-access/runtime/apps.d.ts +8 -8
  20. package/dist/data-access/runtime/conversations.d.ts +24 -24
  21. package/dist/data-access/runtime/messages.d.ts +18 -18
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  23. package/dist/data-access/runtime/tasks.d.ts +6 -6
  24. package/dist/db/manage/manage-schema.d.ts +384 -384
  25. package/dist/db/runtime/runtime-schema.d.ts +314 -314
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +2 -2
  28. package/dist/validation/agentFull.js +0 -1
  29. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  30. package/dist/validation/index.d.ts +2 -2
  31. package/dist/validation/index.js +2 -2
  32. package/dist/validation/schemas.d.ts +2881 -2683
  33. package/dist/validation/schemas.js +53 -32
  34. package/package.json +1 -1
@@ -6,15 +6,15 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
- tenantId: string | null;
10
- id: string;
11
9
  name: string;
10
+ description: string | null;
11
+ id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- description: string | null;
14
+ tenantId: string | null;
15
+ projectId: string | null;
15
16
  enabled: boolean;
16
17
  prompt: string | null;
17
- projectId: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -54,15 +54,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
54
54
  }>;
55
55
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
56
56
  type: AppType;
57
- tenantId: string | null;
58
- id: string;
59
57
  name: string;
58
+ description: string | null;
59
+ id: string;
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
- description: string | null;
62
+ tenantId: string | null;
63
+ projectId: string | null;
63
64
  enabled: boolean;
64
65
  prompt: string | null;
65
- projectId: string | null;
66
66
  config: {
67
67
  type: "web_client";
68
68
  webClient: {
@@ -16,20 +16,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- tenantId: string;
20
- userId: string | null;
19
+ title: string | null;
21
20
  id: string;
22
21
  createdAt: string;
23
22
  updatedAt: string;
23
+ tenantId: string;
24
+ projectId: string;
25
+ metadata: ConversationMetadata | null;
26
+ agentId: string | null;
27
+ userId: string | null;
24
28
  ref: {
25
29
  type: "commit" | "tag" | "branch";
26
30
  name: string;
27
31
  hash: string;
28
32
  } | null;
29
- metadata: ConversationMetadata | null;
30
- title: string | null;
31
- projectId: string;
32
- agentId: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- tenantId: string;
89
- userId: string | null;
88
+ title: string | null;
90
89
  id: string;
91
90
  createdAt: string;
92
91
  updatedAt: string;
92
+ tenantId: string;
93
+ projectId: string;
94
+ metadata: ConversationMetadata | null;
95
+ agentId: string | null;
96
+ userId: string | null;
93
97
  ref: {
94
98
  type: "commit" | "tag" | "branch";
95
99
  name: string;
96
100
  hash: string;
97
101
  } | null;
98
- metadata: ConversationMetadata | null;
99
- title: string | null;
100
- projectId: string;
101
- agentId: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- tenantId: string;
125
- userId: string | null;
124
+ title: string | null;
126
125
  id: string;
127
126
  createdAt: string;
128
127
  updatedAt: string;
128
+ tenantId: string;
129
+ projectId: string;
130
+ metadata: ConversationMetadata | null;
131
+ agentId: string | null;
132
+ userId: string | null;
129
133
  ref: {
130
134
  type: "commit" | "tag" | "branch";
131
135
  name: string;
132
136
  hash: string;
133
137
  } | null;
134
- metadata: ConversationMetadata | null;
135
- title: string | null;
136
- projectId: string;
137
- agentId: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- tenantId: string;
157
- userId: string | null;
156
+ title: string | null;
158
157
  id: string;
159
158
  createdAt: string;
160
159
  updatedAt: string;
160
+ tenantId: string;
161
+ projectId: string;
162
+ metadata: ConversationMetadata | null;
163
+ agentId: string | null;
164
+ userId: string | null;
161
165
  ref: {
162
166
  type: "commit" | "tag" | "branch";
163
167
  name: string;
164
168
  hash: string;
165
169
  } | null;
166
- metadata: ConversationMetadata | null;
167
- title: string | null;
168
- projectId: string;
169
- agentId: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- tenantId: string;
14
13
  id: string;
15
14
  createdAt: string;
16
15
  updatedAt: string;
17
- metadata: MessageMetadata | null;
18
- role: string;
16
+ tenantId: string;
19
17
  projectId: string;
18
+ metadata: MessageMetadata | null;
20
19
  content: MessageContent;
21
- conversationId: string;
20
+ role: string;
22
21
  fromSubAgentId: string | null;
23
22
  toSubAgentId: string | null;
24
23
  fromExternalAgentId: string | null;
25
24
  toExternalAgentId: string | null;
25
+ taskId: string | null;
26
+ a2aTaskId: string | null;
27
+ conversationId: string;
26
28
  fromTeamAgentId: string | null;
27
29
  toTeamAgentId: string | null;
28
30
  visibility: string;
29
31
  messageType: string;
30
- taskId: string | null;
31
32
  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
- tenantId: string;
148
147
  id: string;
149
148
  createdAt: string;
150
149
  updatedAt: string;
151
- metadata: MessageMetadata | null;
152
- role: string;
150
+ tenantId: string;
153
151
  projectId: string;
152
+ metadata: MessageMetadata | null;
154
153
  content: MessageContent;
155
- conversationId: string;
154
+ role: string;
156
155
  fromSubAgentId: string | null;
157
156
  toSubAgentId: string | null;
158
157
  fromExternalAgentId: string | null;
159
158
  toExternalAgentId: string | null;
159
+ taskId: string | null;
160
+ a2aTaskId: string | null;
161
+ conversationId: string;
160
162
  fromTeamAgentId: string | null;
161
163
  toTeamAgentId: string | null;
162
164
  visibility: string;
163
165
  messageType: string;
164
- taskId: string | null;
165
166
  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
- tenantId: string;
201
200
  id: string;
202
201
  createdAt: string;
203
202
  updatedAt: string;
204
- metadata: MessageMetadata | null;
205
- role: string;
203
+ tenantId: string;
206
204
  projectId: string;
205
+ metadata: MessageMetadata | null;
207
206
  content: MessageContent;
208
- conversationId: string;
207
+ role: string;
209
208
  fromSubAgentId: string | null;
210
209
  toSubAgentId: string | null;
211
210
  fromExternalAgentId: string | null;
212
211
  toExternalAgentId: string | null;
212
+ taskId: string | null;
213
+ a2aTaskId: string | null;
214
+ conversationId: string;
213
215
  fromTeamAgentId: string | null;
214
216
  toTeamAgentId: string | null;
215
217
  visibility: string;
216
218
  messageType: string;
217
- taskId: string | null;
218
219
  parentMessageId: string | null;
219
- a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -39,7 +39,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
39
39
  name: string;
40
40
  hash: string;
41
41
  } | null;
42
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
42
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
43
  scheduledFor: string;
44
44
  startedAt: string | null;
45
45
  completedAt: string | null;
@@ -193,7 +193,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
193
193
  name: string;
194
194
  hash: string;
195
195
  } | null;
196
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
196
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
197
197
  scheduledFor: string;
198
198
  startedAt: string | null;
199
199
  completedAt: string | null;
@@ -232,7 +232,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
232
232
  name: string;
233
233
  hash: string;
234
234
  } | null;
235
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
235
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
236
236
  scheduledFor: string;
237
237
  startedAt: string | null;
238
238
  completedAt: string | null;
@@ -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
10
  id: string;
12
11
  createdAt: string;
13
12
  updatedAt: string;
13
+ tenantId: string;
14
+ projectId: string;
15
+ metadata: TaskMetadataConfig | null;
16
+ agentId: string;
17
+ subAgentId: string;
18
+ status: string;
14
19
  ref: {
15
20
  type: "commit" | "tag" | "branch";
16
21
  name: string;
17
22
  hash: string;
18
23
  } | null;
19
- metadata: TaskMetadataConfig | null;
20
- status: string;
21
- projectId: string;
22
- agentId: string;
23
- subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {