@inkeep/agents-core 0.0.0-dev-20260302234522 → 0.0.0-dev-20260303010841

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,20 +16,20 @@ 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;
20
- tenantId: string;
21
- userId: string | null;
22
- agentId: string | null;
23
- projectId: string;
24
19
  id: string;
25
20
  createdAt: string;
26
21
  updatedAt: string;
27
- metadata: ConversationMetadata | null;
28
22
  ref: {
29
- type: "commit" | "tag" | "branch";
23
+ type: "tag" | "commit" | "branch";
30
24
  name: string;
31
25
  hash: string;
32
26
  } | null;
27
+ userId: string | null;
28
+ metadata: ConversationMetadata | null;
29
+ agentId: string | null;
30
+ projectId: string;
31
+ tenantId: string;
32
+ title: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "commit" | "tag" | "branch";
47
+ type: "tag" | "commit" | "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: "commit" | "tag" | "branch";
73
+ type: "tag" | "commit" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -85,20 +85,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- title: string | null;
89
- tenantId: string;
90
- userId: string | null;
91
- agentId: string | null;
92
- projectId: string;
93
88
  id: string;
94
89
  createdAt: string;
95
90
  updatedAt: string;
96
- metadata: ConversationMetadata | null;
97
91
  ref: {
98
- type: "commit" | "tag" | "branch";
92
+ type: "tag" | "commit" | "branch";
99
93
  name: string;
100
94
  hash: string;
101
95
  } | null;
96
+ userId: string | null;
97
+ metadata: ConversationMetadata | null;
98
+ agentId: string | null;
99
+ projectId: string;
100
+ tenantId: string;
101
+ title: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "commit" | "tag" | "branch";
111
+ type: "tag" | "commit" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -121,20 +121,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- title: string | null;
125
- tenantId: string;
126
- userId: string | null;
127
- agentId: string | null;
128
- projectId: string;
129
124
  id: string;
130
125
  createdAt: string;
131
126
  updatedAt: string;
132
- metadata: ConversationMetadata | null;
133
127
  ref: {
134
- type: "commit" | "tag" | "branch";
128
+ type: "tag" | "commit" | "branch";
135
129
  name: string;
136
130
  hash: string;
137
131
  } | null;
132
+ userId: string | null;
133
+ metadata: ConversationMetadata | null;
134
+ agentId: string | null;
135
+ projectId: string;
136
+ tenantId: string;
137
+ title: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -153,20 +153,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- title: string | null;
157
- tenantId: string;
158
- userId: string | null;
159
- agentId: string | null;
160
- projectId: string;
161
156
  id: string;
162
157
  createdAt: string;
163
158
  updatedAt: string;
164
- metadata: ConversationMetadata | null;
165
159
  ref: {
166
- type: "commit" | "tag" | "branch";
160
+ type: "tag" | "commit" | "branch";
167
161
  name: string;
168
162
  hash: string;
169
163
  } | null;
164
+ userId: string | null;
165
+ metadata: ConversationMetadata | null;
166
+ agentId: string | null;
167
+ projectId: string;
168
+ tenantId: string;
169
+ title: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- tenantId: string;
14
- projectId: string;
15
- fromSubAgentId: string | null;
16
- toSubAgentId: string | null;
17
- fromExternalAgentId: string | null;
18
- toExternalAgentId: string | null;
19
- taskId: string | null;
20
- a2aTaskId: string | null;
21
13
  id: string;
22
14
  createdAt: string;
23
15
  updatedAt: string;
24
16
  metadata: MessageMetadata | null;
17
+ role: string;
18
+ projectId: string;
19
+ tenantId: string;
25
20
  content: MessageContent;
26
21
  conversationId: string;
27
- role: string;
22
+ fromSubAgentId: string | null;
23
+ toSubAgentId: string | null;
24
+ fromExternalAgentId: string | null;
25
+ toExternalAgentId: string | null;
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: {
@@ -141,26 +141,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
- tenantId: string;
145
- projectId: string;
146
- fromSubAgentId: string | null;
147
- toSubAgentId: string | null;
148
- fromExternalAgentId: string | null;
149
- toExternalAgentId: string | null;
150
- taskId: string | null;
151
- a2aTaskId: string | null;
152
144
  id: string;
153
145
  createdAt: string;
154
146
  updatedAt: string;
155
147
  metadata: MessageMetadata | null;
148
+ role: string;
149
+ projectId: string;
150
+ tenantId: string;
156
151
  content: MessageContent;
157
152
  conversationId: string;
158
- role: string;
153
+ fromSubAgentId: string | null;
154
+ toSubAgentId: string | null;
155
+ fromExternalAgentId: string | null;
156
+ toExternalAgentId: string | null;
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: {
@@ -194,26 +194,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
- tenantId: string;
198
- projectId: string;
199
- fromSubAgentId: string | null;
200
- toSubAgentId: string | null;
201
- fromExternalAgentId: string | null;
202
- toExternalAgentId: string | null;
203
- taskId: string | null;
204
- a2aTaskId: string | null;
205
197
  id: string;
206
198
  createdAt: string;
207
199
  updatedAt: string;
208
200
  metadata: MessageMetadata | null;
201
+ role: string;
202
+ projectId: string;
203
+ tenantId: string;
209
204
  content: MessageContent;
210
205
  conversationId: string;
211
- role: string;
206
+ fromSubAgentId: string | null;
207
+ toSubAgentId: string | null;
208
+ fromExternalAgentId: string | null;
209
+ toExternalAgentId: string | null;
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: {
@@ -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
- status: string;
10
- tenantId: string;
11
- agentId: string;
12
- projectId: string;
13
- subAgentId: string;
14
9
  id: string;
15
10
  createdAt: string;
16
11
  updatedAt: string;
17
- metadata: TaskMetadataConfig | null;
18
- contextId: string;
19
12
  ref: {
20
- type: "commit" | "tag" | "branch";
13
+ type: "tag" | "commit" | "branch";
21
14
  name: string;
22
15
  hash: string;
23
16
  } | null;
17
+ metadata: TaskMetadataConfig | null;
18
+ status: string;
19
+ agentId: string;
20
+ projectId: string;
21
+ tenantId: string;
22
+ subAgentId: string;
23
+ contextId: 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;