@inkeep/agents-core 0.53.10 → 0.53.11

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 (28) hide show
  1. package/dist/auth/auth-schema.d.ts +107 -107
  2. package/dist/auth/auth-validation-schemas.d.ts +135 -135
  3. package/dist/auth/auth.d.ts +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agents.d.ts +21 -21
  6. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  7. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  8. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  9. package/dist/data-access/manage/functionTools.d.ts +10 -10
  10. package/dist/data-access/manage/skills.d.ts +12 -12
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  12. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  14. package/dist/data-access/manage/subAgents.d.ts +15 -15
  15. package/dist/data-access/manage/tools.d.ts +24 -24
  16. package/dist/data-access/manage/triggers.d.ts +2 -2
  17. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  18. package/dist/data-access/runtime/conversations.d.ts +27 -27
  19. package/dist/data-access/runtime/messages.d.ts +18 -18
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  21. package/dist/data-access/runtime/tasks.d.ts +5 -5
  22. package/dist/db/manage/manage-schema.d.ts +451 -451
  23. package/dist/db/runtime/runtime-schema.d.ts +300 -300
  24. package/dist/utils/error.d.ts +51 -51
  25. package/dist/validation/dolt-schemas.d.ts +1 -1
  26. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  27. package/dist/validation/schemas.d.ts +1734 -1734
  28. package/package.json +1 -1
@@ -17,20 +17,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
19
  id: string;
20
- tenantId: string;
21
- projectId: string;
22
- agentId: string | null;
23
20
  title: string | null;
24
21
  createdAt: string;
25
22
  updatedAt: string;
26
- metadata: ConversationMetadata | null;
23
+ tenantId: string;
24
+ projectId: string;
25
+ agentId: string | null;
27
26
  userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ activeSubAgentId: string;
28
29
  ref: {
29
- type: "tag" | "commit" | "branch";
30
+ type: "commit" | "tag" | "branch";
30
31
  name: string;
31
32
  hash: string;
32
33
  } | null;
33
- activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
36
36
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "tag" | "commit" | "branch";
47
+ type: "commit" | "tag" | "branch";
48
48
  name: string;
49
49
  hash: string;
50
50
  } | null;
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
70
70
  agentId: string | null;
71
71
  activeSubAgentId: string;
72
72
  ref: {
73
- type: "tag" | "commit" | "branch";
73
+ type: "commit" | "tag" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -86,20 +86,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
88
  id: string;
89
- tenantId: string;
90
- projectId: string;
91
- agentId: string | null;
92
89
  title: string | null;
93
90
  createdAt: string;
94
91
  updatedAt: string;
95
- metadata: ConversationMetadata | null;
92
+ tenantId: string;
93
+ projectId: string;
94
+ agentId: string | null;
96
95
  userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ activeSubAgentId: string;
97
98
  ref: {
98
- type: "tag" | "commit" | "branch";
99
+ type: "commit" | "tag" | "branch";
99
100
  name: string;
100
101
  hash: string;
101
102
  } | null;
102
- activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
105
105
  declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "tag" | "commit" | "branch";
111
+ type: "commit" | "tag" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -122,20 +122,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
124
  id: string;
125
- tenantId: string;
126
- projectId: string;
127
- agentId: string | null;
128
125
  title: string | null;
129
126
  createdAt: string;
130
127
  updatedAt: string;
131
- metadata: ConversationMetadata | null;
128
+ tenantId: string;
129
+ projectId: string;
130
+ agentId: string | null;
132
131
  userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ activeSubAgentId: string;
133
134
  ref: {
134
- type: "tag" | "commit" | "branch";
135
+ type: "commit" | "tag" | "branch";
135
136
  name: string;
136
137
  hash: string;
137
138
  } | null;
138
- activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
141
141
  /**
@@ -154,20 +154,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
156
  id: string;
157
- tenantId: string;
158
- projectId: string;
159
- agentId: string | null;
160
157
  title: string | null;
161
158
  createdAt: string;
162
159
  updatedAt: string;
163
- metadata: ConversationMetadata | null;
160
+ tenantId: string;
161
+ projectId: string;
162
+ agentId: string | null;
164
163
  userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ activeSubAgentId: string;
165
166
  ref: {
166
- type: "tag" | "commit" | "branch";
167
+ type: "commit" | "tag" | "branch";
167
168
  name: string;
168
169
  hash: string;
169
170
  } | null;
170
- activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
173
173
  /**
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
- tenantId: string;
15
- projectId: string;
16
14
  createdAt: string;
17
15
  updatedAt: string;
18
- metadata: MessageMetadata | null;
16
+ tenantId: string;
17
+ projectId: string;
19
18
  content: MessageContent;
19
+ metadata: MessageMetadata | null;
20
+ conversationId: string;
20
21
  role: string;
21
22
  fromSubAgentId: string | null;
22
23
  toSubAgentId: string | null;
23
24
  fromExternalAgentId: string | null;
24
25
  toExternalAgentId: string | null;
25
- taskId: string | null;
26
- a2aTaskId: string | null;
27
- conversationId: 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: {
@@ -142,25 +142,25 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
144
  id: string;
145
- tenantId: string;
146
- projectId: string;
147
145
  createdAt: string;
148
146
  updatedAt: string;
149
- metadata: MessageMetadata | null;
147
+ tenantId: string;
148
+ projectId: string;
150
149
  content: MessageContent;
150
+ metadata: MessageMetadata | null;
151
+ conversationId: string;
151
152
  role: string;
152
153
  fromSubAgentId: string | null;
153
154
  toSubAgentId: string | null;
154
155
  fromExternalAgentId: string | null;
155
156
  toExternalAgentId: string | null;
156
- taskId: string | null;
157
- a2aTaskId: string | null;
158
- conversationId: string;
159
157
  fromTeamAgentId: string | null;
160
158
  toTeamAgentId: string | null;
161
159
  visibility: string;
162
160
  messageType: string;
161
+ taskId: string | null;
163
162
  parentMessageId: string | null;
163
+ a2aTaskId: string | null;
164
164
  a2aSessionId: string | null;
165
165
  }>;
166
166
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -195,25 +195,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
195
195
  messageId: string;
196
196
  }) => Promise<{
197
197
  id: string;
198
- tenantId: string;
199
- projectId: string;
200
198
  createdAt: string;
201
199
  updatedAt: string;
202
- metadata: MessageMetadata | null;
200
+ tenantId: string;
201
+ projectId: string;
203
202
  content: MessageContent;
203
+ metadata: MessageMetadata | null;
204
+ conversationId: string;
204
205
  role: string;
205
206
  fromSubAgentId: string | null;
206
207
  toSubAgentId: string | null;
207
208
  fromExternalAgentId: string | null;
208
209
  toExternalAgentId: string | null;
209
- taskId: string | null;
210
- a2aTaskId: string | null;
211
- conversationId: string;
212
210
  fromTeamAgentId: string | null;
213
211
  toTeamAgentId: string | null;
214
212
  visibility: string;
215
213
  messageType: string;
214
+ taskId: string | null;
216
215
  parentMessageId: string | null;
216
+ a2aTaskId: string | null;
217
217
  a2aSessionId: string | null;
218
218
  }>;
219
219
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -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;
@@ -7,16 +7,16 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
9
  id: string;
10
+ createdAt: string;
11
+ updatedAt: string;
10
12
  tenantId: string;
11
13
  projectId: string;
12
14
  agentId: string;
13
- createdAt: string;
14
- updatedAt: string;
15
- metadata: TaskMetadataConfig | null;
16
15
  status: string;
16
+ metadata: TaskMetadataConfig | null;
17
17
  subAgentId: string;
18
18
  ref: {
19
- type: "tag" | "commit" | "branch";
19
+ type: "commit" | "tag" | "branch";
20
20
  name: string;
21
21
  hash: string;
22
22
  } | null;
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "tag" | "commit" | "branch";
39
+ type: "commit" | "tag" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;