@inkeep/agents-core 0.0.0-dev-20260219220341 → 0.0.0-dev-20260220013449

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 (33) hide show
  1. package/dist/auth/auth-schema.d.ts +105 -105
  2. package/dist/auth/auth-validation-schemas.d.ts +131 -131
  3. package/dist/auth/auth.d.ts +18 -18
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +5 -4
  6. package/dist/data-access/manage/agents.d.ts +26 -26
  7. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  8. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  9. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  10. package/dist/data-access/manage/functionTools.d.ts +12 -12
  11. package/dist/data-access/manage/skills.d.ts +10 -10
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  13. package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgents.d.ts +18 -18
  16. package/dist/data-access/manage/tools.d.ts +15 -15
  17. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  18. package/dist/data-access/runtime/conversations.d.ts +8 -8
  19. package/dist/data-access/runtime/messages.d.ts +15 -15
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  21. package/dist/data-access/runtime/tasks.d.ts +4 -4
  22. package/dist/data-access/runtime/workAppSlack.js +1 -0
  23. package/dist/db/manage/manage-schema.d.ts +445 -445
  24. package/dist/db/runtime/runtime-schema.d.ts +307 -290
  25. package/dist/db/runtime/runtime-schema.js +1 -0
  26. package/dist/types/utility.d.ts +6 -0
  27. package/dist/utils/slack-user-token.d.ts +11 -0
  28. package/dist/utils/slack-user-token.js +11 -3
  29. package/dist/validation/schemas.d.ts +306 -306
  30. package/drizzle/runtime/0014_odd_oracle.sql +1 -0
  31. package/drizzle/runtime/meta/0014_snapshot.json +3753 -0
  32. package/drizzle/runtime/meta/_journal.json +7 -0
  33. package/package.json +1 -1
@@ -10,18 +10,18 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  messageId: string;
11
11
  }) => Promise<{
12
12
  tenantId: string;
13
- content: MessageContent;
13
+ id: string;
14
14
  projectId: string;
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ metadata: MessageMetadata | null;
18
+ content: MessageContent;
15
19
  fromSubAgentId: string | null;
16
20
  toSubAgentId: string | null;
17
21
  fromExternalAgentId: string | null;
18
22
  toExternalAgentId: string | null;
19
23
  taskId: string | null;
20
24
  a2aTaskId: string | null;
21
- id: string;
22
- createdAt: string;
23
- updatedAt: string;
24
- metadata: MessageMetadata | null;
25
25
  conversationId: string;
26
26
  role: string;
27
27
  fromTeamAgentId: string | null;
@@ -141,18 +141,18 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
143
  tenantId: string;
144
- content: MessageContent;
144
+ id: string;
145
145
  projectId: string;
146
+ createdAt: string;
147
+ updatedAt: string;
148
+ metadata: MessageMetadata | null;
149
+ content: MessageContent;
146
150
  fromSubAgentId: string | null;
147
151
  toSubAgentId: string | null;
148
152
  fromExternalAgentId: string | null;
149
153
  toExternalAgentId: string | null;
150
154
  taskId: string | null;
151
155
  a2aTaskId: string | null;
152
- id: string;
153
- createdAt: string;
154
- updatedAt: string;
155
- metadata: MessageMetadata | null;
156
156
  conversationId: string;
157
157
  role: string;
158
158
  fromTeamAgentId: string | null;
@@ -194,18 +194,18 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  messageId: string;
195
195
  }) => Promise<{
196
196
  tenantId: string;
197
- content: MessageContent;
197
+ id: string;
198
198
  projectId: string;
199
+ createdAt: string;
200
+ updatedAt: string;
201
+ metadata: MessageMetadata | null;
202
+ content: MessageContent;
199
203
  fromSubAgentId: string | null;
200
204
  toSubAgentId: string | null;
201
205
  fromExternalAgentId: string | null;
202
206
  toExternalAgentId: string | null;
203
207
  taskId: string | null;
204
208
  a2aTaskId: string | null;
205
- id: string;
206
- createdAt: string;
207
- updatedAt: string;
208
- metadata: MessageMetadata | null;
209
209
  conversationId: string;
210
210
  role: string;
211
211
  fromTeamAgentId: string | null;
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
34
34
  }) => Promise<{
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
37
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
38
38
  scheduledFor: string;
39
39
  startedAt: string | null;
40
40
  completedAt: string | null;
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
174
174
  }) => Promise<{
175
175
  data: {
176
176
  scheduledTriggerId: string;
177
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
177
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
178
178
  scheduledFor: string;
179
179
  startedAt: string | null;
180
180
  completedAt: string | null;
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
208
208
  }) => Promise<{
209
209
  data: {
210
210
  scheduledTriggerId: string;
211
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
211
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
212
212
  scheduledFor: string;
213
213
  startedAt: string | null;
214
214
  completedAt: string | null;
@@ -8,19 +8,19 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
9
  status: string;
10
10
  tenantId: string;
11
- projectId: string;
12
- subAgentId: string;
13
11
  id: string;
12
+ projectId: string;
13
+ agentId: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
16
  metadata: TaskMetadataConfig | null;
17
- agentId: string;
18
- contextId: string;
17
+ subAgentId: string;
19
18
  ref: {
20
19
  type: "commit" | "tag" | "branch";
21
20
  name: string;
22
21
  hash: string;
23
22
  } | null;
23
+ contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -129,6 +129,7 @@ const upsertWorkAppSlackChannelAgentConfig = (db) => async (data) => {
129
129
  slackChannelName: data.slackChannelName,
130
130
  slackChannelType: data.slackChannelType,
131
131
  enabled: data.enabled,
132
+ grantAccessToMembers: data.grantAccessToMembers,
132
133
  configuredByUserId: data.configuredByUserId,
133
134
  updatedAt: now
134
135
  }