@inkeep/agents-core 0.0.0-dev-20260128152604 → 0.0.0-dev-20260129102805

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.
@@ -8,13 +8,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
11
  id: string;
14
- agentId: string;
15
12
  createdAt: string;
16
13
  updatedAt: string;
17
14
  headers: Record<string, string> | null;
15
+ agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  subAgentId: string;
19
19
  targetAgentId: string;
20
20
  } | undefined>;
@@ -43,26 +43,26 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
43
43
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
- tenantId: string;
47
- projectId: string;
48
46
  id: string;
49
- agentId: string;
50
47
  createdAt: string;
51
48
  updatedAt: string;
52
49
  headers: Record<string, string> | null;
50
+ agentId: string;
51
+ projectId: string;
52
+ tenantId: string;
53
53
  subAgentId: string;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
- tenantId: string;
60
- projectId: string;
61
59
  id: string;
62
- agentId: string;
63
60
  createdAt: string;
64
61
  updatedAt: string;
65
62
  headers: Record<string, string> | null;
63
+ agentId: string;
64
+ projectId: string;
65
+ tenantId: string;
66
66
  subAgentId: string;
67
67
  targetAgentId: string;
68
68
  }[]>;
@@ -209,13 +209,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
209
209
  headers?: Record<string, string> | null;
210
210
  };
211
211
  }) => Promise<{
212
- tenantId: string;
213
- projectId: string;
214
212
  id: string;
215
- agentId: string;
216
213
  createdAt: string;
217
214
  updatedAt: string;
218
215
  headers: Record<string, string> | null;
216
+ agentId: string;
217
+ projectId: string;
218
+ tenantId: string;
219
219
  subAgentId: string;
220
220
  targetAgentId: string;
221
221
  }>;
@@ -226,13 +226,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
226
226
  scopes: SubAgentScopeConfig;
227
227
  targetAgentId: string;
228
228
  }) => Promise<{
229
- tenantId: string;
230
- projectId: string;
231
229
  id: string;
232
- agentId: string;
233
230
  createdAt: string;
234
231
  updatedAt: string;
235
232
  headers: Record<string, string> | null;
233
+ agentId: string;
234
+ projectId: string;
235
+ tenantId: string;
236
236
  subAgentId: string;
237
237
  targetAgentId: string;
238
238
  } | undefined>;
@@ -247,13 +247,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
247
247
  headers?: Record<string, string> | null;
248
248
  };
249
249
  }) => Promise<{
250
- tenantId: string;
251
- projectId: string;
252
250
  id: string;
253
- agentId: string;
254
251
  createdAt: string;
255
252
  updatedAt: string;
256
253
  headers: Record<string, string> | null;
254
+ agentId: string;
255
+ projectId: string;
256
+ tenantId: string;
257
257
  subAgentId: string;
258
258
  targetAgentId: string;
259
259
  }>;
@@ -8,15 +8,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
11
  id: string;
14
12
  name: string;
15
- description: string | null;
16
- prompt: string | null;
17
- agentId: string;
18
13
  createdAt: string;
19
14
  updatedAt: string;
15
+ description: string | null;
16
+ agentId: string;
17
+ projectId: string;
18
+ tenantId: string;
20
19
  models: {
21
20
  base?: {
22
21
  model?: string | undefined;
@@ -31,6 +30,7 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
30
  providerOptions?: Record<string, any> | undefined;
32
31
  } | undefined;
33
32
  } | null;
33
+ prompt: string | null;
34
34
  stopWhen: {
35
35
  stepCountIs?: number | undefined;
36
36
  } | null;
@@ -39,15 +39,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
- tenantId: string;
43
- projectId: string;
44
42
  id: string;
45
43
  name: string;
46
- description: string | null;
47
- prompt: string | null;
48
- agentId: string;
49
44
  createdAt: string;
50
45
  updatedAt: string;
46
+ description: string | null;
47
+ agentId: string;
48
+ projectId: string;
49
+ tenantId: string;
51
50
  models: {
52
51
  base?: {
53
52
  model?: string | undefined;
@@ -62,6 +61,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
62
61
  providerOptions?: Record<string, any> | undefined;
63
62
  } | undefined;
64
63
  } | null;
64
+ prompt: string | null;
65
65
  stopWhen: {
66
66
  stepCountIs?: number | undefined;
67
67
  } | null;
@@ -108,15 +108,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
111
- tenantId: string;
112
- projectId: string;
113
111
  id: string;
114
112
  name: string;
115
- description: string | null;
116
- prompt: string | null;
117
- agentId: string;
118
113
  createdAt: string;
119
114
  updatedAt: string;
115
+ description: string | null;
116
+ agentId: string;
117
+ projectId: string;
118
+ tenantId: string;
120
119
  models: {
121
120
  base?: {
122
121
  model?: string | undefined;
@@ -131,6 +130,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
130
  providerOptions?: Record<string, any> | undefined;
132
131
  } | undefined;
133
132
  } | null;
133
+ prompt: string | null;
134
134
  stopWhen: {
135
135
  stepCountIs?: number | undefined;
136
136
  } | null;
@@ -18,19 +18,19 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
18
18
  scopes: ProjectScopeConfig;
19
19
  toolId: string;
20
20
  }) => Promise<{
21
- tenantId: string;
22
- projectId: string;
23
21
  id: string;
24
22
  name: string;
23
+ createdAt: string;
24
+ updatedAt: string;
25
25
  description: string | null;
26
+ headers: Record<string, string> | null;
27
+ projectId: string;
28
+ tenantId: string;
26
29
  config: {
27
30
  type: "mcp";
28
31
  mcp: ToolMcpConfig;
29
32
  };
30
33
  credentialReferenceId: string | null;
31
- createdAt: string;
32
- updatedAt: string;
33
- headers: Record<string, string> | null;
34
34
  credentialScope: string;
35
35
  imageUrl: string | null;
36
36
  capabilities: ToolServerCapabilities | null;
@@ -74,19 +74,19 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
74
74
  };
75
75
  }>;
76
76
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
77
- tenantId: string;
78
- projectId: string;
79
77
  id: string;
80
78
  name: string;
79
+ createdAt: string;
80
+ updatedAt: string;
81
81
  description: string | null;
82
+ headers: Record<string, string> | null;
83
+ projectId: string;
84
+ tenantId: string;
82
85
  config: {
83
86
  type: "mcp";
84
87
  mcp: ToolMcpConfig;
85
88
  };
86
89
  credentialReferenceId: string | null;
87
- createdAt: string;
88
- updatedAt: string;
89
- headers: Record<string, string> | null;
90
90
  credentialScope: string;
91
91
  imageUrl: string | null;
92
92
  capabilities: ToolServerCapabilities | null;
@@ -129,18 +129,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
129
129
  needsApproval?: boolean;
130
130
  }> | null;
131
131
  }) => Promise<{
132
- tenantId: string;
133
- projectId: string;
134
132
  id: string;
135
- agentId: string;
136
133
  createdAt: string;
137
134
  updatedAt: string;
138
- toolId: string;
139
135
  headers: Record<string, string> | null;
136
+ agentId: string;
137
+ projectId: string;
138
+ tenantId: string;
139
+ subAgentId: string;
140
+ toolId: string;
140
141
  toolPolicies: Record<string, {
141
142
  needsApproval?: boolean;
142
143
  }> | null;
143
- subAgentId: string;
144
144
  selectedTools: string[] | null;
145
145
  }>;
146
146
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -148,18 +148,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
148
148
  subAgentId: string;
149
149
  toolId: string;
150
150
  }) => Promise<{
151
- tenantId: string;
152
- projectId: string;
153
151
  id: string;
154
- agentId: string;
155
152
  createdAt: string;
156
153
  updatedAt: string;
157
- toolId: string;
158
154
  headers: Record<string, string> | null;
155
+ agentId: string;
156
+ projectId: string;
157
+ tenantId: string;
158
+ subAgentId: string;
159
+ toolId: string;
159
160
  toolPolicies: Record<string, {
160
161
  needsApproval?: boolean;
161
162
  }> | null;
162
- subAgentId: string;
163
163
  selectedTools: string[] | null;
164
164
  }>;
165
165
  /**
@@ -176,18 +176,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
176
176
  }> | null;
177
177
  relationId?: string;
178
178
  }) => Promise<{
179
- tenantId: string;
180
- projectId: string;
181
179
  id: string;
182
- agentId: string;
183
180
  createdAt: string;
184
181
  updatedAt: string;
185
- toolId: string;
186
182
  headers: Record<string, string> | null;
183
+ agentId: string;
184
+ projectId: string;
185
+ tenantId: string;
186
+ subAgentId: string;
187
+ toolId: string;
187
188
  toolPolicies: Record<string, {
188
189
  needsApproval?: boolean;
189
190
  }> | null;
190
- subAgentId: string;
191
191
  selectedTools: string[] | null;
192
192
  }>;
193
193
  /**
@@ -196,19 +196,19 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
196
196
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
197
197
  data: ToolInsert;
198
198
  }) => Promise<{
199
- tenantId: string;
200
- projectId: string;
201
199
  id: string;
202
200
  name: string;
201
+ createdAt: string;
202
+ updatedAt: string;
203
203
  description: string | null;
204
+ headers: Record<string, string> | null;
205
+ projectId: string;
206
+ tenantId: string;
204
207
  config: {
205
208
  type: "mcp";
206
209
  mcp: ToolMcpConfig;
207
210
  };
208
211
  credentialReferenceId: string | null;
209
- createdAt: string;
210
- updatedAt: string;
211
- headers: Record<string, string> | null;
212
212
  credentialScope: string;
213
213
  imageUrl: string | null;
214
214
  capabilities: ToolServerCapabilities | null;
@@ -7,49 +7,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- tenantId: string;
11
- projectId: string;
12
10
  id: string;
13
11
  name: string | null;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ expiresAt: string | null;
14
15
  agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
15
18
  publicId: string;
16
19
  keyHash: string;
17
20
  keyPrefix: string;
18
21
  lastUsedAt: string | null;
19
- expiresAt: string | null;
20
- createdAt: string;
21
- updatedAt: string;
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
24
- tenantId: string;
25
- projectId: string;
26
24
  id: string;
27
25
  name: string | null;
26
+ createdAt: string;
27
+ updatedAt: string;
28
+ expiresAt: string | null;
28
29
  agentId: string;
30
+ projectId: string;
31
+ tenantId: string;
29
32
  publicId: string;
30
33
  keyHash: string;
31
34
  keyPrefix: string;
32
35
  lastUsedAt: string | null;
33
- expiresAt: string | null;
34
- createdAt: string;
35
- updatedAt: string;
36
36
  } | undefined>;
37
37
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
38
38
  scopes: ProjectScopeConfig;
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
- tenantId: string;
42
- projectId: string;
43
41
  id: string;
44
42
  name: string | null;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ expiresAt: string | null;
45
46
  agentId: string;
47
+ projectId: string;
48
+ tenantId: string;
46
49
  publicId: string;
47
50
  keyHash: string;
48
51
  keyPrefix: string;
49
52
  lastUsedAt: string | null;
50
- expiresAt: string | null;
51
- createdAt: string;
52
- updatedAt: string;
53
53
  }[]>;
54
54
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
55
55
  scopes: ProjectScopeConfig;
@@ -65,18 +65,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
65
65
  };
66
66
  }>;
67
67
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
- tenantId: string;
69
- projectId: string;
70
68
  id: string;
71
69
  name: string | null;
70
+ createdAt: string;
71
+ updatedAt: string;
72
+ expiresAt: string | null;
72
73
  agentId: string;
74
+ projectId: string;
75
+ tenantId: string;
73
76
  publicId: string;
74
77
  keyHash: string;
75
78
  keyPrefix: string;
76
79
  lastUsedAt: string | null;
77
- expiresAt: string | null;
78
- createdAt: string;
79
- updatedAt: string;
80
80
  }>;
81
81
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
82
82
  scopes: ProjectScopeConfig;
@@ -15,20 +15,20 @@ 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;
25
- userId: string | null;
26
- metadata: ConversationMetadata | null;
27
21
  ref: {
28
- type: "tag" | "commit" | "branch";
22
+ type: "commit" | "tag" | "branch";
29
23
  name: string;
30
24
  hash: string;
31
25
  } | null;
26
+ userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ title: string | null;
29
+ agentId: string | null;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "tag" | "commit" | "branch";
46
+ type: "commit" | "tag" | "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: "tag" | "commit" | "branch";
72
+ type: "commit" | "tag" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -84,20 +84,20 @@ 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;
94
- userId: string | null;
95
- metadata: ConversationMetadata | null;
96
90
  ref: {
97
- type: "tag" | "commit" | "branch";
91
+ type: "commit" | "tag" | "branch";
98
92
  name: string;
99
93
  hash: string;
100
94
  } | null;
95
+ userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ title: string | null;
98
+ agentId: string | null;
99
+ projectId: string;
100
+ tenantId: string;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "tag" | "commit" | "branch";
110
+ type: "commit" | "tag" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -120,20 +120,20 @@ 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;
130
- userId: string | null;
131
- metadata: ConversationMetadata | null;
132
126
  ref: {
133
- type: "tag" | "commit" | "branch";
127
+ type: "commit" | "tag" | "branch";
134
128
  name: string;
135
129
  hash: string;
136
130
  } | null;
131
+ userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ title: string | null;
134
+ agentId: string | null;
135
+ projectId: string;
136
+ tenantId: string;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -152,20 +152,20 @@ 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;
162
- userId: string | null;
163
- metadata: ConversationMetadata | null;
164
158
  ref: {
165
- type: "tag" | "commit" | "branch";
159
+ type: "commit" | "tag" | "branch";
166
160
  name: string;
167
161
  hash: string;
168
162
  } | null;
163
+ userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ title: string | null;
166
+ agentId: string | null;
167
+ projectId: string;
168
+ tenantId: string;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -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;
17
15
  metadata: MessageMetadata | null;
18
- content: MessageContent;
19
16
  role: string;
20
- conversationId: string;
17
+ projectId: string;
18
+ tenantId: string;
19
+ content: MessageContent;
21
20
  fromSubAgentId: string | null;
22
21
  toSubAgentId: string | null;
23
22
  fromExternalAgentId: string | null;
24
23
  toExternalAgentId: string | null;
24
+ taskId: string | null;
25
+ a2aTaskId: string | null;
26
+ conversationId: string;
25
27
  fromTeamAgentId: string | null;
26
28
  toTeamAgentId: string | null;
27
29
  visibility: string;
28
30
  messageType: string;
29
- taskId: string | null;
30
31
  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;
148
146
  metadata: MessageMetadata | null;
149
- content: MessageContent;
150
147
  role: string;
151
- conversationId: string;
148
+ projectId: string;
149
+ tenantId: string;
150
+ content: MessageContent;
152
151
  fromSubAgentId: string | null;
153
152
  toSubAgentId: string | null;
154
153
  fromExternalAgentId: string | null;
155
154
  toExternalAgentId: string | null;
155
+ taskId: string | null;
156
+ a2aTaskId: string | null;
157
+ conversationId: string;
156
158
  fromTeamAgentId: string | null;
157
159
  toTeamAgentId: string | null;
158
160
  visibility: string;
159
161
  messageType: string;
160
- taskId: string | null;
161
162
  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;
201
199
  metadata: MessageMetadata | null;
202
- content: MessageContent;
203
200
  role: string;
204
- conversationId: string;
201
+ projectId: string;
202
+ tenantId: string;
203
+ content: MessageContent;
205
204
  fromSubAgentId: string | null;
206
205
  toSubAgentId: string | null;
207
206
  fromExternalAgentId: string | null;
208
207
  toExternalAgentId: string | null;
208
+ taskId: string | null;
209
+ a2aTaskId: string | null;
210
+ conversationId: string;
209
211
  fromTeamAgentId: string | null;
210
212
  toTeamAgentId: string | null;
211
213
  visibility: string;
212
214
  messageType: string;
213
- taskId: string | null;
214
215
  parentMessageId: string | null;
215
- a2aTaskId: string | null;
216
216
  a2aSessionId: string | null;
217
217
  }>;
218
218
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -6,20 +6,20 @@ 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;
15
- metadata: TaskMetadataConfig | null;
16
- subAgentId: string;
17
12
  ref: {
18
- type: "tag" | "commit" | "branch";
13
+ type: "commit" | "tag" | "branch";
19
14
  name: string;
20
15
  hash: string;
21
16
  } | null;
17
+ metadata: TaskMetadataConfig | null;
22
18
  status: string;
19
+ agentId: string;
20
+ projectId: string;
21
+ tenantId: string;
22
+ subAgentId: string;
23
23
  contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "tag" | "commit" | "branch";
39
+ type: "commit" | "tag" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;