@inkeep/agents-core 0.53.12 → 0.53.13

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.
Files changed (31) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +9 -9
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/data-access/manage/agents.d.ts +20 -20
  7. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  8. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  9. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  10. package/dist/data-access/manage/functionTools.d.ts +10 -10
  11. package/dist/data-access/manage/skills.d.ts +9 -9
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  13. package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  15. package/dist/data-access/manage/subAgents.d.ts +12 -12
  16. package/dist/data-access/manage/tools.d.ts +9 -9
  17. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  18. package/dist/data-access/runtime/conversations.d.ts +8 -8
  19. package/dist/data-access/runtime/messages.d.ts +18 -18
  20. package/dist/data-access/runtime/tasks.d.ts +5 -5
  21. package/dist/db/manage/manage-schema.d.ts +447 -447
  22. package/dist/db/runtime/runtime-schema.d.ts +290 -290
  23. package/dist/index.d.ts +2 -2
  24. package/dist/index.js +2 -2
  25. package/dist/utils/error.d.ts +51 -51
  26. package/dist/utils/index.d.ts +2 -2
  27. package/dist/utils/index.js +2 -2
  28. package/dist/utils/mcp-client.d.ts +2 -1
  29. package/dist/utils/mcp-client.js +20 -5
  30. package/dist/validation/schemas.d.ts +1757 -1757
  31. package/package.json +1 -1
@@ -10,11 +10,11 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  tenantId: string;
13
+ agentId: string;
13
14
  projectId: string;
14
15
  id: string;
15
16
  createdAt: string;
16
17
  updatedAt: string;
17
- agentId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -45,11 +45,11 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  tenantId: string;
48
+ agentId: string;
48
49
  projectId: string;
49
50
  id: string;
50
51
  createdAt: string;
51
52
  updatedAt: string;
52
- agentId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -58,11 +58,11 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  tenantId: string;
61
+ agentId: string;
61
62
  projectId: string;
62
63
  id: string;
63
64
  createdAt: string;
64
65
  updatedAt: string;
65
- agentId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -127,11 +127,11 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
129
  tenantId: string;
130
+ agentId: string;
130
131
  projectId: string;
131
132
  id: string;
132
133
  createdAt: string;
133
134
  updatedAt: string;
134
- agentId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -146,11 +146,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
146
146
  relationType: string;
147
147
  }) => Promise<{
148
148
  tenantId: string;
149
+ agentId: string;
149
150
  projectId: string;
150
151
  id: string;
151
152
  createdAt: string;
152
153
  updatedAt: string;
153
- agentId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -160,11 +160,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
162
  tenantId: string;
163
+ agentId: string;
163
164
  projectId: string;
164
165
  id: string;
165
166
  createdAt: string;
166
167
  updatedAt: string;
167
- agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -205,13 +205,13 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
205
205
  };
206
206
  }) => Promise<{
207
207
  tenantId: string;
208
+ agentId: string;
208
209
  projectId: string;
209
- subAgentId: string;
210
210
  id: string;
211
211
  createdAt: string;
212
212
  updatedAt: string;
213
+ subAgentId: string;
213
214
  headers: Record<string, string> | null;
214
- agentId: string;
215
215
  toolId: string;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
@@ -249,13 +249,13 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
249
249
  relationId: string;
250
250
  }) => Promise<{
251
251
  tenantId: string;
252
+ agentId: string;
252
253
  projectId: string;
253
- subAgentId: string;
254
254
  id: string;
255
255
  createdAt: string;
256
256
  updatedAt: string;
257
+ subAgentId: string;
257
258
  headers: Record<string, string> | null;
258
- agentId: string;
259
259
  toolId: string;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
@@ -10,13 +10,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  tenantId: string;
13
+ agentId: string;
13
14
  projectId: string;
14
- subAgentId: string;
15
15
  id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
+ subAgentId: string;
18
19
  headers: Record<string, string> | null;
19
- agentId: string;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -45,26 +45,26 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  tenantId: string;
48
+ agentId: string;
48
49
  projectId: string;
49
- subAgentId: string;
50
50
  id: string;
51
51
  createdAt: string;
52
52
  updatedAt: string;
53
+ subAgentId: string;
53
54
  headers: Record<string, string> | null;
54
- agentId: string;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  tenantId: string;
61
+ agentId: string;
61
62
  projectId: string;
62
- subAgentId: string;
63
63
  id: string;
64
64
  createdAt: string;
65
65
  updatedAt: string;
66
+ subAgentId: string;
66
67
  headers: Record<string, string> | null;
67
- agentId: string;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -211,13 +211,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
211
211
  };
212
212
  }) => Promise<{
213
213
  tenantId: string;
214
+ agentId: string;
214
215
  projectId: string;
215
- subAgentId: string;
216
216
  id: string;
217
217
  createdAt: string;
218
218
  updatedAt: string;
219
+ subAgentId: string;
219
220
  headers: Record<string, string> | null;
220
- agentId: string;
221
221
  targetAgentId: string;
222
222
  }>;
223
223
  /**
@@ -228,13 +228,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
230
  tenantId: string;
231
+ agentId: string;
231
232
  projectId: string;
232
- subAgentId: string;
233
233
  id: string;
234
234
  createdAt: string;
235
235
  updatedAt: string;
236
+ subAgentId: string;
236
237
  headers: Record<string, string> | null;
237
- agentId: string;
238
238
  targetAgentId: string;
239
239
  } | undefined>;
240
240
  /**
@@ -249,13 +249,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
249
249
  };
250
250
  }) => Promise<{
251
251
  tenantId: string;
252
+ agentId: string;
252
253
  projectId: string;
253
- subAgentId: string;
254
254
  id: string;
255
255
  createdAt: string;
256
256
  updatedAt: string;
257
+ subAgentId: string;
257
258
  headers: Record<string, string> | null;
258
- agentId: string;
259
259
  targetAgentId: string;
260
260
  }>;
261
261
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -11,11 +11,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  }) => Promise<{
12
12
  tenantId: string;
13
13
  description: string | null;
14
- name: string;
14
+ agentId: string;
15
15
  projectId: string;
16
16
  id: string;
17
- createdAt: string;
18
- updatedAt: string;
17
+ name: string;
19
18
  models: {
20
19
  base?: {
21
20
  model?: string | undefined;
@@ -33,8 +32,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
33
32
  stopWhen: {
34
33
  stepCountIs?: number | undefined;
35
34
  } | null;
35
+ createdAt: string;
36
+ updatedAt: string;
36
37
  prompt: string | null;
37
- agentId: string;
38
38
  conversationHistoryConfig: ConversationHistoryConfig | null;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
@@ -42,11 +42,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
42
42
  }) => Promise<{
43
43
  tenantId: string;
44
44
  description: string | null;
45
- name: string;
45
+ agentId: string;
46
46
  projectId: string;
47
47
  id: string;
48
- createdAt: string;
49
- updatedAt: string;
48
+ name: string;
50
49
  models: {
51
50
  base?: {
52
51
  model?: string | undefined;
@@ -64,8 +63,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
64
63
  stopWhen: {
65
64
  stepCountIs?: number | undefined;
66
65
  } | null;
66
+ createdAt: string;
67
+ updatedAt: string;
67
68
  prompt: string | null;
68
- agentId: string;
69
69
  conversationHistoryConfig: ConversationHistoryConfig | null;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -111,11 +111,10 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
112
  tenantId: string;
113
113
  description: string | null;
114
- name: string;
114
+ agentId: string;
115
115
  projectId: string;
116
116
  id: string;
117
- createdAt: string;
118
- updatedAt: string;
117
+ name: string;
119
118
  models: {
120
119
  base?: {
121
120
  model?: string | undefined;
@@ -133,8 +132,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
133
132
  stopWhen: {
134
133
  stepCountIs?: number | undefined;
135
134
  } | null;
135
+ createdAt: string;
136
+ updatedAt: string;
136
137
  prompt: string | null;
137
- agentId: string;
138
138
  conversationHistoryConfig: ConversationHistoryConfig | null;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -21,9 +21,9 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
21
21
  }) => Promise<{
22
22
  tenantId: string;
23
23
  description: string | null;
24
- name: string;
25
24
  projectId: string;
26
25
  id: string;
26
+ name: string;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
29
  headers: Record<string, string> | null;
@@ -79,9 +79,9 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
80
  tenantId: string;
81
81
  description: string | null;
82
- name: string;
83
82
  projectId: string;
84
83
  id: string;
84
+ name: string;
85
85
  createdAt: string;
86
86
  updatedAt: string;
87
87
  headers: Record<string, string> | null;
@@ -135,13 +135,13 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
135
135
  }> | null;
136
136
  }) => Promise<{
137
137
  tenantId: string;
138
+ agentId: string;
138
139
  projectId: string;
139
- subAgentId: string;
140
140
  id: string;
141
141
  createdAt: string;
142
142
  updatedAt: string;
143
+ subAgentId: string;
143
144
  headers: Record<string, string> | null;
144
- agentId: string;
145
145
  toolId: string;
146
146
  toolPolicies: Record<string, {
147
147
  needsApproval?: boolean;
@@ -154,13 +154,13 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
154
154
  toolId: string;
155
155
  }) => Promise<{
156
156
  tenantId: string;
157
+ agentId: string;
157
158
  projectId: string;
158
- subAgentId: string;
159
159
  id: string;
160
160
  createdAt: string;
161
161
  updatedAt: string;
162
+ subAgentId: string;
162
163
  headers: Record<string, string> | null;
163
- agentId: string;
164
164
  toolId: string;
165
165
  toolPolicies: Record<string, {
166
166
  needsApproval?: boolean;
@@ -182,13 +182,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
184
  tenantId: string;
185
+ agentId: string;
185
186
  projectId: string;
186
- subAgentId: string;
187
187
  id: string;
188
188
  createdAt: string;
189
189
  updatedAt: string;
190
+ subAgentId: string;
190
191
  headers: Record<string, string> | null;
191
- agentId: string;
192
192
  toolId: string;
193
193
  toolPolicies: Record<string, {
194
194
  needsApproval?: boolean;
@@ -203,9 +203,9 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  }) => Promise<{
204
204
  tenantId: string;
205
205
  description: string | null;
206
- name: string;
207
206
  projectId: string;
208
207
  id: string;
208
+ name: string;
209
209
  createdAt: string;
210
210
  updatedAt: string;
211
211
  headers: Record<string, string> | null;
@@ -9,48 +9,48 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  id: string;
10
10
  }) => Promise<{
11
11
  tenantId: string;
12
- name: string | null;
12
+ agentId: string;
13
13
  projectId: string;
14
14
  id: string;
15
+ name: string | null;
15
16
  createdAt: string;
16
17
  updatedAt: string;
17
- expiresAt: string | null;
18
- agentId: string;
19
18
  publicId: string;
20
19
  keyHash: string;
21
20
  keyPrefix: string;
22
21
  lastUsedAt: string | null;
22
+ expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  tenantId: string;
26
- name: string | null;
26
+ agentId: string;
27
27
  projectId: string;
28
28
  id: string;
29
+ name: string | null;
29
30
  createdAt: string;
30
31
  updatedAt: string;
31
- expiresAt: string | null;
32
- agentId: string;
33
32
  publicId: string;
34
33
  keyHash: string;
35
34
  keyPrefix: string;
36
35
  lastUsedAt: string | null;
36
+ expiresAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
42
  tenantId: string;
43
- name: string | null;
43
+ agentId: string;
44
44
  projectId: string;
45
45
  id: string;
46
+ name: string | null;
46
47
  createdAt: string;
47
48
  updatedAt: string;
48
- expiresAt: string | null;
49
- agentId: string;
50
49
  publicId: string;
51
50
  keyHash: string;
52
51
  keyPrefix: string;
53
52
  lastUsedAt: string | null;
53
+ expiresAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -67,17 +67,17 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
69
  tenantId: string;
70
- name: string | null;
70
+ agentId: string;
71
71
  projectId: string;
72
72
  id: string;
73
+ name: string | null;
73
74
  createdAt: string;
74
75
  updatedAt: string;
75
- expiresAt: string | null;
76
- agentId: string;
77
76
  publicId: string;
78
77
  keyHash: string;
79
78
  keyPrefix: string;
80
79
  lastUsedAt: string | null;
80
+ expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -19,17 +19,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  tenantId: string;
20
20
  userId: string | null;
21
21
  title: string | null;
22
+ agentId: string | null;
22
23
  projectId: string;
23
24
  id: string;
24
25
  createdAt: string;
25
26
  updatedAt: string;
27
+ metadata: ConversationMetadata | null;
26
28
  ref: {
27
29
  type: "commit" | "tag" | "branch";
28
30
  name: string;
29
31
  hash: string;
30
32
  } | null;
31
- metadata: ConversationMetadata | null;
32
- agentId: 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
  tenantId: string;
89
89
  userId: string | null;
90
90
  title: string | null;
91
+ agentId: string | null;
91
92
  projectId: string;
92
93
  id: string;
93
94
  createdAt: string;
94
95
  updatedAt: string;
96
+ metadata: ConversationMetadata | null;
95
97
  ref: {
96
98
  type: "commit" | "tag" | "branch";
97
99
  name: string;
98
100
  hash: string;
99
101
  } | null;
100
- metadata: ConversationMetadata | null;
101
- agentId: 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
  tenantId: string;
125
125
  userId: string | null;
126
126
  title: string | null;
127
+ agentId: string | null;
127
128
  projectId: string;
128
129
  id: string;
129
130
  createdAt: string;
130
131
  updatedAt: string;
132
+ metadata: ConversationMetadata | null;
131
133
  ref: {
132
134
  type: "commit" | "tag" | "branch";
133
135
  name: string;
134
136
  hash: string;
135
137
  } | null;
136
- metadata: ConversationMetadata | null;
137
- agentId: 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
  tenantId: string;
157
157
  userId: string | null;
158
158
  title: string | null;
159
+ agentId: string | null;
159
160
  projectId: string;
160
161
  id: string;
161
162
  createdAt: string;
162
163
  updatedAt: string;
164
+ metadata: ConversationMetadata | null;
163
165
  ref: {
164
166
  type: "commit" | "tag" | "branch";
165
167
  name: string;
166
168
  hash: string;
167
169
  } | null;
168
- metadata: ConversationMetadata | null;
169
- agentId: string | null;
170
170
  activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
@@ -11,20 +11,20 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  tenantId: string;
14
- content: MessageContent;
15
14
  projectId: string;
15
+ id: string;
16
+ createdAt: string;
17
+ updatedAt: string;
18
+ metadata: MessageMetadata | null;
19
+ content: MessageContent;
16
20
  fromSubAgentId: string | null;
17
21
  toSubAgentId: string | null;
18
22
  fromExternalAgentId: string | null;
19
23
  toExternalAgentId: string | null;
20
24
  taskId: string | null;
21
25
  a2aTaskId: string | null;
22
- id: string;
23
- createdAt: string;
24
- updatedAt: string;
25
- metadata: MessageMetadata | null;
26
- role: string;
27
26
  conversationId: string;
27
+ role: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
30
30
  visibility: string;
@@ -142,20 +142,20 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
144
  tenantId: string;
145
- content: MessageContent;
146
145
  projectId: string;
146
+ id: string;
147
+ createdAt: string;
148
+ updatedAt: string;
149
+ metadata: MessageMetadata | null;
150
+ content: MessageContent;
147
151
  fromSubAgentId: string | null;
148
152
  toSubAgentId: string | null;
149
153
  fromExternalAgentId: string | null;
150
154
  toExternalAgentId: string | null;
151
155
  taskId: string | null;
152
156
  a2aTaskId: string | null;
153
- id: string;
154
- createdAt: string;
155
- updatedAt: string;
156
- metadata: MessageMetadata | null;
157
- role: string;
158
157
  conversationId: string;
158
+ role: string;
159
159
  fromTeamAgentId: string | null;
160
160
  toTeamAgentId: string | null;
161
161
  visibility: string;
@@ -195,20 +195,20 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
195
195
  messageId: string;
196
196
  }) => Promise<{
197
197
  tenantId: string;
198
- content: MessageContent;
199
198
  projectId: string;
199
+ id: string;
200
+ createdAt: string;
201
+ updatedAt: string;
202
+ metadata: MessageMetadata | null;
203
+ content: MessageContent;
200
204
  fromSubAgentId: string | null;
201
205
  toSubAgentId: string | null;
202
206
  fromExternalAgentId: string | null;
203
207
  toExternalAgentId: string | null;
204
208
  taskId: string | null;
205
209
  a2aTaskId: string | null;
206
- id: string;
207
- createdAt: string;
208
- updatedAt: string;
209
- metadata: MessageMetadata | null;
210
- role: string;
211
210
  conversationId: string;
211
+ role: string;
212
212
  fromTeamAgentId: string | null;
213
213
  toTeamAgentId: string | null;
214
214
  visibility: string;
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
9
  tenantId: string;
10
+ status: string;
11
+ agentId: string;
10
12
  projectId: string;
11
- subAgentId: string;
12
13
  id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
16
+ metadata: TaskMetadataConfig | null;
17
+ subAgentId: string;
18
+ contextId: string;
15
19
  ref: {
16
20
  type: "commit" | "tag" | "branch";
17
21
  name: string;
18
22
  hash: string;
19
23
  } | null;
20
- metadata: TaskMetadataConfig | null;
21
- status: string;
22
- agentId: string;
23
- contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;