@inkeep/agents-core 0.58.6 → 0.58.7

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.
@@ -19,17 +19,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  id: string;
20
20
  createdAt: string;
21
21
  updatedAt: string;
22
- agentId: string | null;
23
- projectId: string;
24
- tenantId: string;
25
- title: string | null;
26
- metadata: ConversationMetadata | null;
27
- userId: string | null;
28
22
  ref: {
29
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
+ tenantId: string;
30
+ projectId: string;
31
+ agentId: string | null;
32
+ title: string | null;
33
33
  activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
@@ -88,17 +88,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
88
  id: string;
89
89
  createdAt: string;
90
90
  updatedAt: string;
91
- agentId: string | null;
92
- projectId: string;
93
- tenantId: string;
94
- title: string | null;
95
- metadata: ConversationMetadata | null;
96
- userId: string | null;
97
91
  ref: {
98
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
+ tenantId: string;
99
+ projectId: string;
100
+ agentId: string | null;
101
+ title: string | null;
102
102
  activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
@@ -124,17 +124,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
124
  id: string;
125
125
  createdAt: string;
126
126
  updatedAt: string;
127
- agentId: string | null;
128
- projectId: string;
129
- tenantId: string;
130
- title: string | null;
131
- metadata: ConversationMetadata | null;
132
- userId: string | null;
133
127
  ref: {
134
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
+ tenantId: string;
135
+ projectId: string;
136
+ agentId: string | null;
137
+ title: string | null;
138
138
  activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
@@ -156,17 +156,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
156
  id: string;
157
157
  createdAt: string;
158
158
  updatedAt: string;
159
- agentId: string | null;
160
- projectId: string;
161
- tenantId: string;
162
- title: string | null;
163
- metadata: ConversationMetadata | null;
164
- userId: string | null;
165
159
  ref: {
166
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
+ tenantId: string;
167
+ projectId: string;
168
+ agentId: string | null;
169
+ title: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -13,9 +13,10 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- projectId: string;
17
- tenantId: string;
18
16
  metadata: MessageMetadata | null;
17
+ role: string;
18
+ tenantId: string;
19
+ projectId: string;
19
20
  content: MessageContent;
20
21
  fromSubAgentId: string | null;
21
22
  toSubAgentId: string | null;
@@ -24,7 +25,6 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
24
25
  taskId: string | null;
25
26
  a2aTaskId: string | null;
26
27
  conversationId: string;
27
- role: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
30
30
  visibility: string;
@@ -144,9 +144,10 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
144
144
  id: string;
145
145
  createdAt: string;
146
146
  updatedAt: string;
147
- projectId: string;
148
- tenantId: string;
149
147
  metadata: MessageMetadata | null;
148
+ role: string;
149
+ tenantId: string;
150
+ projectId: string;
150
151
  content: MessageContent;
151
152
  fromSubAgentId: string | null;
152
153
  toSubAgentId: string | null;
@@ -155,7 +156,6 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
155
156
  taskId: string | null;
156
157
  a2aTaskId: string | null;
157
158
  conversationId: string;
158
- role: string;
159
159
  fromTeamAgentId: string | null;
160
160
  toTeamAgentId: string | null;
161
161
  visibility: string;
@@ -197,9 +197,10 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
197
197
  id: string;
198
198
  createdAt: string;
199
199
  updatedAt: string;
200
- projectId: string;
201
- tenantId: string;
202
200
  metadata: MessageMetadata | null;
201
+ role: string;
202
+ tenantId: string;
203
+ projectId: string;
203
204
  content: MessageContent;
204
205
  fromSubAgentId: string | null;
205
206
  toSubAgentId: string | null;
@@ -208,7 +209,6 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
208
209
  taskId: string | null;
209
210
  a2aTaskId: string | null;
210
211
  conversationId: string;
211
- role: string;
212
212
  fromTeamAgentId: string | null;
213
213
  toTeamAgentId: string | null;
214
214
  visibility: string;
@@ -9,18 +9,18 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
9
9
  id: string;
10
10
  createdAt: string;
11
11
  updatedAt: string;
12
- agentId: string;
13
- projectId: string;
14
- tenantId: string;
15
- metadata: TaskMetadataConfig | null;
16
- status: string;
17
- subAgentId: string;
18
- contextId: string;
19
12
  ref: {
20
13
  type: "tag" | "commit" | "branch";
21
14
  name: string;
22
15
  hash: string;
23
16
  } | null;
17
+ metadata: TaskMetadataConfig | null;
18
+ status: string;
19
+ tenantId: string;
20
+ projectId: string;
21
+ agentId: string;
22
+ subAgentId: string;
23
+ contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;