@inkeep/agents-core 0.0.0-dev-20260119163620 → 0.0.0-dev-20260120175022

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.
@@ -15,17 +15,17 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
15
15
  total: number;
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
- tenantId: string;
19
- projectId: string;
20
18
  id: string;
21
- title: string | null;
22
- agentId: string | null;
23
19
  createdAt: string;
24
20
  updatedAt: string;
21
+ projectId: string;
22
+ tenantId: string;
23
+ title: string | null;
25
24
  userId: string | null;
26
25
  metadata: ConversationMetadata | null;
26
+ agentId: string | null;
27
27
  ref: {
28
- type: "commit" | "tag" | "branch";
28
+ type: "tag" | "commit" | "branch";
29
29
  name: string;
30
30
  hash: string;
31
31
  } | null;
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "commit" | "tag" | "branch";
46
+ type: "tag" | "commit" | "branch";
47
47
  name: string;
48
48
  hash: string;
49
49
  } | null;
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
69
69
  agentId: string | null;
70
70
  activeSubAgentId: string;
71
71
  ref: {
72
- type: "commit" | "tag" | "branch";
72
+ type: "tag" | "commit" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -84,17 +84,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
- tenantId: string;
88
- projectId: string;
89
87
  id: string;
90
- title: string | null;
91
- agentId: string | null;
92
88
  createdAt: string;
93
89
  updatedAt: string;
90
+ projectId: string;
91
+ tenantId: string;
92
+ title: string | null;
94
93
  userId: string | null;
95
94
  metadata: ConversationMetadata | null;
95
+ agentId: string | null;
96
96
  ref: {
97
- type: "commit" | "tag" | "branch";
97
+ type: "tag" | "commit" | "branch";
98
98
  name: string;
99
99
  hash: string;
100
100
  } | null;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "commit" | "tag" | "branch";
110
+ type: "tag" | "commit" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -120,17 +120,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
- tenantId: string;
124
- projectId: string;
125
123
  id: string;
126
- title: string | null;
127
- agentId: string | null;
128
124
  createdAt: string;
129
125
  updatedAt: string;
126
+ projectId: string;
127
+ tenantId: string;
128
+ title: string | null;
130
129
  userId: string | null;
131
130
  metadata: ConversationMetadata | null;
131
+ agentId: string | null;
132
132
  ref: {
133
- type: "commit" | "tag" | "branch";
133
+ type: "tag" | "commit" | "branch";
134
134
  name: string;
135
135
  hash: string;
136
136
  } | null;
@@ -152,17 +152,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
152
152
  scopes: ProjectScopeConfig;
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
- tenantId: string;
156
- projectId: string;
157
155
  id: string;
158
- title: string | null;
159
- agentId: string | null;
160
156
  createdAt: string;
161
157
  updatedAt: string;
158
+ projectId: string;
159
+ tenantId: string;
160
+ title: string | null;
162
161
  userId: string | null;
163
162
  metadata: ConversationMetadata | null;
163
+ agentId: string | null;
164
164
  ref: {
165
- type: "commit" | "tag" | "branch";
165
+ type: "tag" | "commit" | "branch";
166
166
  name: string;
167
167
  hash: string;
168
168
  } | null;
@@ -9,26 +9,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
- projectId: string;
14
12
  id: string;
15
13
  createdAt: string;
16
14
  updatedAt: string;
15
+ projectId: string;
16
+ tenantId: string;
17
17
  metadata: MessageMetadata | null;
18
18
  content: MessageContent;
19
+ role: string;
20
+ taskId: string | null;
21
+ visibility: string;
22
+ conversationId: string;
19
23
  fromSubAgentId: string | null;
20
24
  toSubAgentId: string | null;
21
25
  fromExternalAgentId: string | null;
22
26
  toExternalAgentId: string | null;
23
- taskId: string | null;
24
- a2aTaskId: string | null;
25
- conversationId: string;
26
- role: string;
27
27
  fromTeamAgentId: string | null;
28
28
  toTeamAgentId: string | null;
29
- visibility: string;
30
29
  messageType: string;
31
30
  parentMessageId: string | null;
31
+ a2aTaskId: string | null;
32
32
  a2aSessionId: string | null;
33
33
  } | undefined>;
34
34
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -140,26 +140,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
- tenantId: string;
144
- projectId: string;
145
143
  id: string;
146
144
  createdAt: string;
147
145
  updatedAt: string;
146
+ projectId: string;
147
+ tenantId: string;
148
148
  metadata: MessageMetadata | null;
149
149
  content: MessageContent;
150
+ role: string;
151
+ taskId: string | null;
152
+ visibility: string;
153
+ conversationId: string;
150
154
  fromSubAgentId: string | null;
151
155
  toSubAgentId: string | null;
152
156
  fromExternalAgentId: string | null;
153
157
  toExternalAgentId: string | null;
154
- taskId: string | null;
155
- a2aTaskId: string | null;
156
- conversationId: string;
157
- role: string;
158
158
  fromTeamAgentId: string | null;
159
159
  toTeamAgentId: string | null;
160
- visibility: string;
161
160
  messageType: string;
162
161
  parentMessageId: string | null;
162
+ a2aTaskId: string | null;
163
163
  a2aSessionId: string | null;
164
164
  }>;
165
165
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -193,26 +193,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
- tenantId: string;
197
- projectId: string;
198
196
  id: string;
199
197
  createdAt: string;
200
198
  updatedAt: string;
199
+ projectId: string;
200
+ tenantId: string;
201
201
  metadata: MessageMetadata | null;
202
202
  content: MessageContent;
203
+ role: string;
204
+ taskId: string | null;
205
+ visibility: string;
206
+ conversationId: string;
203
207
  fromSubAgentId: string | null;
204
208
  toSubAgentId: string | null;
205
209
  fromExternalAgentId: string | null;
206
210
  toExternalAgentId: string | null;
207
- taskId: string | null;
208
- a2aTaskId: string | null;
209
- conversationId: string;
210
- role: string;
211
211
  fromTeamAgentId: string | null;
212
212
  toTeamAgentId: string | null;
213
- visibility: string;
214
213
  messageType: string;
215
214
  parentMessageId: string | null;
215
+ a2aTaskId: string | null;
216
216
  a2aSessionId: string | null;
217
217
  }>;
218
218
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
6
6
 
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
- tenantId: string;
10
- projectId: string;
11
9
  id: string;
12
- agentId: string;
13
10
  createdAt: string;
14
11
  updatedAt: string;
12
+ projectId: string;
13
+ tenantId: string;
15
14
  metadata: TaskMetadataConfig | null;
16
- subAgentId: string;
17
- contextId: string;
15
+ agentId: string;
18
16
  ref: {
19
- type: "commit" | "tag" | "branch";
17
+ type: "tag" | "commit" | "branch";
20
18
  name: string;
21
19
  hash: string;
22
20
  } | null;
23
21
  status: string;
22
+ contextId: string;
23
+ subAgentId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "commit" | "tag" | "branch";
39
+ type: "tag" | "commit" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;