@inkeep/agents-core 0.0.0-dev-20260324170433 → 0.0.0-dev-20260324185007

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.
@@ -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;
14
16
  createdAt: string;
15
17
  updatedAt: string;
16
18
  metadata: MessageMetadata | null;
17
- role: string;
18
- projectId: string;
19
- tenantId: string;
20
19
  content: MessageContent;
20
+ role: string;
21
+ conversationId: 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: {
@@ -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
+ tenantId: string;
149
+ projectId: string;
148
150
  createdAt: string;
149
151
  updatedAt: string;
150
152
  metadata: MessageMetadata | null;
151
- role: string;
152
- projectId: string;
153
- tenantId: string;
154
153
  content: MessageContent;
154
+ role: string;
155
+ conversationId: string;
155
156
  fromSubAgentId: string | null;
156
157
  toSubAgentId: string | null;
157
158
  fromExternalAgentId: string | null;
158
159
  toExternalAgentId: string | null;
159
- taskId: string | null;
160
- a2aTaskId: string | null;
161
- conversationId: 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
+ tenantId: string;
202
+ projectId: string;
201
203
  createdAt: string;
202
204
  updatedAt: string;
203
205
  metadata: MessageMetadata | null;
204
- role: string;
205
- projectId: string;
206
- tenantId: string;
207
206
  content: MessageContent;
207
+ role: string;
208
+ conversationId: string;
208
209
  fromSubAgentId: string | null;
209
210
  toSubAgentId: string | null;
210
211
  fromExternalAgentId: string | null;
211
212
  toExternalAgentId: string | null;
212
- taskId: string | null;
213
- a2aTaskId: string | null;
214
- conversationId: 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: {
@@ -39,7 +39,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
39
39
  name: string;
40
40
  hash: string;
41
41
  } | null;
42
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
42
+ status: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
196
+ status: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
235
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
236
236
  scheduledFor: string;
237
237
  startedAt: string | null;
238
238
  completedAt: string | null;
@@ -8,18 +8,18 @@ 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;
12
+ projectId: string;
13
+ agentId: string;
11
14
  createdAt: string;
12
15
  updatedAt: string;
16
+ metadata: TaskMetadataConfig | null;
13
17
  ref: {
14
18
  type: "commit" | "tag" | "branch";
15
19
  name: string;
16
20
  hash: string;
17
21
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
22
  status: string;
20
- agentId: string;
21
- projectId: string;
22
- tenantId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
25
25
  }>;