@inkeep/agents-core 0.0.0-dev-20260318225235 → 0.0.0-dev-20260319002638

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.
@@ -16,11 +16,11 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- title: string | null;
19
+ id: string;
20
20
  tenantId: string;
21
21
  projectId: string;
22
22
  agentId: string | null;
23
- id: string;
23
+ title: string | null;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
26
  metadata: ConversationMetadata | null;
@@ -85,11 +85,11 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- title: string | null;
88
+ id: string;
89
89
  tenantId: string;
90
90
  projectId: string;
91
91
  agentId: string | null;
92
- id: string;
92
+ title: string | null;
93
93
  createdAt: string;
94
94
  updatedAt: string;
95
95
  metadata: ConversationMetadata | null;
@@ -121,11 +121,11 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- title: string | null;
124
+ id: string;
125
125
  tenantId: string;
126
126
  projectId: string;
127
127
  agentId: string | null;
128
- id: string;
128
+ title: string | null;
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
131
  metadata: ConversationMetadata | null;
@@ -153,11 +153,11 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- title: string | null;
156
+ id: string;
157
157
  tenantId: string;
158
158
  projectId: string;
159
159
  agentId: string | null;
160
- id: string;
160
+ title: string | null;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
163
  metadata: ConversationMetadata | null;
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ id: string;
13
14
  tenantId: string;
14
15
  projectId: string;
15
- id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
18
  metadata: MessageMetadata | null;
19
19
  content: MessageContent;
20
- role: string;
21
20
  conversationId: 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
+ role: string;
28
+ visibility: string;
26
29
  fromTeamAgentId: string | null;
27
30
  toTeamAgentId: string | null;
28
- 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
+ id: string;
147
148
  tenantId: string;
148
149
  projectId: string;
149
- id: string;
150
150
  createdAt: string;
151
151
  updatedAt: string;
152
152
  metadata: MessageMetadata | null;
153
153
  content: MessageContent;
154
- role: string;
155
154
  conversationId: 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
+ role: string;
162
+ visibility: string;
160
163
  fromTeamAgentId: string | null;
161
164
  toTeamAgentId: string | null;
162
- 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
+ id: string;
200
201
  tenantId: string;
201
202
  projectId: string;
202
- id: string;
203
203
  createdAt: string;
204
204
  updatedAt: string;
205
205
  metadata: MessageMetadata | null;
206
206
  content: MessageContent;
207
- role: string;
208
207
  conversationId: 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
+ role: string;
215
+ visibility: string;
213
216
  fromTeamAgentId: string | null;
214
217
  toTeamAgentId: string | null;
215
- 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: {
@@ -7,11 +7,10 @@ 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
+ id: string;
10
11
  tenantId: string;
11
12
  projectId: string;
12
13
  agentId: string;
13
- subAgentId: string;
14
- id: string;
15
14
  createdAt: string;
16
15
  updatedAt: string;
17
16
  metadata: TaskMetadataConfig | null;
@@ -21,6 +20,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
21
20
  hash: string;
22
21
  } | null;
23
22
  status: string;
23
+ subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {