@inkeep/agents-core 0.0.0-dev-20260410213051 → 0.0.0-dev-20260410224321

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 (38) hide show
  1. package/dist/auth/auth-schema.d.ts +1455 -87
  2. package/dist/auth/auth-schema.js +139 -6
  3. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  4. package/dist/auth/auth.d.ts +2237 -6
  5. package/dist/auth/auth.js +23 -1
  6. package/dist/auth/permissions.d.ts +13 -13
  7. package/dist/data-access/manage/agents.d.ts +37 -37
  8. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  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 +12 -12
  14. package/dist/data-access/manage/subAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  16. package/dist/data-access/manage/subAgents.d.ts +15 -15
  17. package/dist/data-access/manage/tools.d.ts +15 -15
  18. package/dist/data-access/manage/triggers.d.ts +4 -4
  19. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  20. package/dist/data-access/runtime/apps.d.ts +13 -13
  21. package/dist/data-access/runtime/conversations.d.ts +20 -20
  22. package/dist/data-access/runtime/feedback.d.ts +6 -6
  23. package/dist/data-access/runtime/messages.d.ts +21 -21
  24. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  25. package/dist/data-access/runtime/tasks.d.ts +4 -4
  26. package/dist/db/manage/manage-schema.d.ts +457 -457
  27. package/dist/db/runtime/runtime-schema.d.ts +418 -418
  28. package/dist/db/runtime/runtime-schema.js +7 -2
  29. package/dist/index.d.ts +2 -2
  30. package/dist/index.js +2 -2
  31. package/dist/utils/error.d.ts +51 -51
  32. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  33. package/dist/validation/schemas/skills.d.ts +45 -45
  34. package/dist/validation/schemas.d.ts +2206 -2206
  35. package/drizzle/runtime/0036_swift_hammerhead.sql +90 -0
  36. package/drizzle/runtime/meta/0036_snapshot.json +5915 -0
  37. package/drizzle/runtime/meta/_journal.json +8 -1
  38. package/package.json +2 -1
@@ -58,15 +58,15 @@ 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";
61
62
  id: string;
63
+ tenantId: string;
62
64
  createdAt: string;
63
65
  updatedAt: string;
64
66
  projectId: string;
65
- tenantId: string;
66
- type: "positive" | "negative";
67
- details: string | null;
68
67
  conversationId: string;
69
68
  messageId: string | null;
69
+ details: string | null;
70
70
  }>;
71
71
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
72
72
  scopes: ProjectScopeConfig;
@@ -87,15 +87,15 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
+ type: "positive" | "negative";
90
91
  id: string;
92
+ tenantId: string;
91
93
  createdAt: string;
92
94
  updatedAt: string;
93
95
  projectId: string;
94
- tenantId: string;
95
- type: "positive" | "negative";
96
- details: string | null;
97
96
  conversationId: string;
98
97
  messageId: string | null;
98
+ details: string | null;
99
99
  }>;
100
100
  //#endregion
101
101
  export { createFeedback, deleteFeedback, getFeedbackById, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
- createdAt: string;
15
- updatedAt: string;
16
- projectId: string;
17
14
  tenantId: string;
15
+ createdAt: string;
18
16
  metadata: MessageMetadata | null;
19
17
  content: MessageContent;
18
+ updatedAt: string;
19
+ projectId: string;
20
+ role: string;
21
+ conversationId: string;
20
22
  fromSubAgentId: string | null;
21
23
  toSubAgentId: string | null;
22
24
  fromExternalAgentId: string | null;
23
25
  toExternalAgentId: string | null;
24
- taskId: string | null;
25
- a2aTaskId: string | null;
26
- conversationId: string;
27
- role: string;
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: {
@@ -145,25 +145,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
147
  id: string;
148
- createdAt: string;
149
- updatedAt: string;
150
- projectId: string;
151
148
  tenantId: string;
149
+ createdAt: string;
152
150
  metadata: MessageMetadata | null;
153
151
  content: MessageContent;
152
+ updatedAt: string;
153
+ projectId: string;
154
+ role: string;
155
+ conversationId: string;
154
156
  fromSubAgentId: string | null;
155
157
  toSubAgentId: string | null;
156
158
  fromExternalAgentId: string | null;
157
159
  toExternalAgentId: string | null;
158
- taskId: string | null;
159
- a2aTaskId: string | null;
160
- conversationId: string;
161
- role: string;
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: {
@@ -198,25 +198,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
198
198
  messageId: string;
199
199
  }) => Promise<{
200
200
  id: string;
201
- createdAt: string;
202
- updatedAt: string;
203
- projectId: string;
204
201
  tenantId: string;
202
+ createdAt: string;
205
203
  metadata: MessageMetadata | null;
206
204
  content: MessageContent;
205
+ updatedAt: string;
206
+ projectId: string;
207
+ role: string;
208
+ conversationId: string;
207
209
  fromSubAgentId: string | null;
208
210
  toSubAgentId: string | null;
209
211
  fromExternalAgentId: string | null;
210
212
  toExternalAgentId: string | null;
211
- taskId: string | null;
212
- a2aTaskId: string | null;
213
- conversationId: string;
214
- role: string;
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: {
@@ -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
  }>;
@@ -8,19 +8,19 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
10
  id: string;
11
+ tenantId: string;
11
12
  createdAt: string;
13
+ metadata: TaskMetadataConfig | null;
12
14
  updatedAt: string;
13
- agentId: string;
14
15
  projectId: string;
15
- tenantId: string;
16
- metadata: TaskMetadataConfig | null;
16
+ agentId: string;
17
17
  subAgentId: string;
18
- status: string;
19
18
  ref: {
20
19
  type: "commit" | "tag" | "branch";
21
20
  name: string;
22
21
  hash: string;
23
22
  } | null;
23
+ status: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {