@inkeep/agents-core 0.0.0-dev-20260205205159 → 0.0.0-dev-20260205231249

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,12 +8,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
8
8
  scopes: AgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
- id: string;
12
- createdAt: string;
13
- updatedAt: string;
14
11
  tenantId: string;
15
12
  projectId: string;
13
+ id: string;
16
14
  agentId: string;
15
+ createdAt: string;
16
+ updatedAt: string;
17
17
  sourceSubAgentId: string;
18
18
  targetSubAgentId: string | null;
19
19
  relationType: string | null;
@@ -43,12 +43,12 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
43
43
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
- id: string;
47
- createdAt: string;
48
- updatedAt: string;
49
46
  tenantId: string;
50
47
  projectId: string;
48
+ id: string;
51
49
  agentId: string;
50
+ createdAt: string;
51
+ updatedAt: string;
52
52
  sourceSubAgentId: string;
53
53
  targetSubAgentId: string | null;
54
54
  relationType: string | null;
@@ -56,12 +56,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
56
56
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
- id: string;
60
- createdAt: string;
61
- updatedAt: string;
62
59
  tenantId: string;
63
60
  projectId: string;
61
+ id: string;
64
62
  agentId: string;
63
+ createdAt: string;
64
+ updatedAt: string;
65
65
  sourceSubAgentId: string;
66
66
  targetSubAgentId: string | null;
67
67
  relationType: string | null;
@@ -125,12 +125,12 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
125
125
  }[];
126
126
  }>;
127
127
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
128
- id: string;
129
- createdAt: string;
130
- updatedAt: string;
131
128
  tenantId: string;
132
129
  projectId: string;
130
+ id: string;
133
131
  agentId: string;
132
+ createdAt: string;
133
+ updatedAt: string;
134
134
  sourceSubAgentId: string;
135
135
  targetSubAgentId: string | null;
136
136
  relationType: string | null;
@@ -144,12 +144,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
144
144
  targetSubAgentId?: string;
145
145
  relationType: string;
146
146
  }) => Promise<{
147
- id: string;
148
- createdAt: string;
149
- updatedAt: string;
150
147
  tenantId: string;
151
148
  projectId: string;
149
+ id: string;
152
150
  agentId: string;
151
+ createdAt: string;
152
+ updatedAt: string;
153
153
  sourceSubAgentId: string;
154
154
  targetSubAgentId: string | null;
155
155
  relationType: string | null;
@@ -158,12 +158,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
158
158
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
159
159
  */
160
160
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
161
- id: string;
162
- createdAt: string;
163
- updatedAt: string;
164
161
  tenantId: string;
165
162
  projectId: string;
163
+ id: string;
166
164
  agentId: string;
165
+ createdAt: string;
166
+ updatedAt: string;
167
167
  sourceSubAgentId: string;
168
168
  targetSubAgentId: string | null;
169
169
  relationType: string | null;
@@ -203,12 +203,12 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
203
203
  }> | null;
204
204
  };
205
205
  }) => Promise<{
206
- id: string;
207
- createdAt: string;
208
- updatedAt: string;
209
206
  tenantId: string;
210
207
  projectId: string;
208
+ id: string;
211
209
  agentId: string;
210
+ createdAt: string;
211
+ updatedAt: string;
212
212
  toolId: string;
213
213
  headers: Record<string, string> | null;
214
214
  toolPolicies: Record<string, {
@@ -247,12 +247,12 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
247
247
  scopes: SubAgentScopeConfig;
248
248
  relationId: string;
249
249
  }) => Promise<{
250
- id: string;
251
- createdAt: string;
252
- updatedAt: string;
253
250
  tenantId: string;
254
251
  projectId: string;
252
+ id: string;
255
253
  agentId: string;
254
+ createdAt: string;
255
+ updatedAt: string;
256
256
  toolId: string;
257
257
  headers: Record<string, string> | null;
258
258
  toolPolicies: Record<string, {
@@ -8,12 +8,12 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
- id: string;
12
- createdAt: string;
13
- updatedAt: string;
14
11
  tenantId: string;
15
12
  projectId: string;
13
+ id: string;
16
14
  agentId: string;
15
+ createdAt: string;
16
+ updatedAt: string;
17
17
  headers: Record<string, string> | null;
18
18
  subAgentId: string;
19
19
  targetAgentId: string;
@@ -43,12 +43,12 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
43
43
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
- id: string;
47
- createdAt: string;
48
- updatedAt: string;
49
46
  tenantId: string;
50
47
  projectId: string;
48
+ id: string;
51
49
  agentId: string;
50
+ createdAt: string;
51
+ updatedAt: string;
52
52
  headers: Record<string, string> | null;
53
53
  subAgentId: string;
54
54
  targetAgentId: string;
@@ -56,12 +56,12 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
- id: string;
60
- createdAt: string;
61
- updatedAt: string;
62
59
  tenantId: string;
63
60
  projectId: string;
61
+ id: string;
64
62
  agentId: string;
63
+ createdAt: string;
64
+ updatedAt: string;
65
65
  headers: Record<string, string> | null;
66
66
  subAgentId: string;
67
67
  targetAgentId: string;
@@ -209,12 +209,12 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
209
209
  headers?: Record<string, string> | null;
210
210
  };
211
211
  }) => Promise<{
212
- id: string;
213
- createdAt: string;
214
- updatedAt: string;
215
212
  tenantId: string;
216
213
  projectId: string;
214
+ id: string;
217
215
  agentId: string;
216
+ createdAt: string;
217
+ updatedAt: string;
218
218
  headers: Record<string, string> | null;
219
219
  subAgentId: string;
220
220
  targetAgentId: string;
@@ -226,12 +226,12 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
226
226
  scopes: SubAgentScopeConfig;
227
227
  targetAgentId: string;
228
228
  }) => Promise<{
229
- id: string;
230
- createdAt: string;
231
- updatedAt: string;
232
229
  tenantId: string;
233
230
  projectId: string;
231
+ id: string;
234
232
  agentId: string;
233
+ createdAt: string;
234
+ updatedAt: string;
235
235
  headers: Record<string, string> | null;
236
236
  subAgentId: string;
237
237
  targetAgentId: string;
@@ -247,12 +247,12 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
247
247
  headers?: Record<string, string> | null;
248
248
  };
249
249
  }) => Promise<{
250
- id: string;
251
- createdAt: string;
252
- updatedAt: string;
253
250
  tenantId: string;
254
251
  projectId: string;
252
+ id: string;
255
253
  agentId: string;
254
+ createdAt: string;
255
+ updatedAt: string;
256
256
  headers: Record<string, string> | null;
257
257
  subAgentId: string;
258
258
  targetAgentId: string;
@@ -8,15 +8,15 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
- id: string;
11
+ description: string | null;
12
12
  name: string;
13
- createdAt: string;
14
- updatedAt: string;
15
13
  tenantId: string;
16
14
  projectId: string;
17
- description: string | null;
15
+ id: string;
18
16
  prompt: string | null;
19
17
  agentId: string;
18
+ createdAt: string;
19
+ updatedAt: string;
20
20
  models: {
21
21
  base?: {
22
22
  model?: string | undefined;
@@ -39,15 +39,15 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
- id: string;
42
+ description: string | null;
43
43
  name: string;
44
- createdAt: string;
45
- updatedAt: string;
46
44
  tenantId: string;
47
45
  projectId: string;
48
- description: string | null;
46
+ id: string;
49
47
  prompt: string | null;
50
48
  agentId: string;
49
+ createdAt: string;
50
+ updatedAt: string;
51
51
  models: {
52
52
  base?: {
53
53
  model?: string | undefined;
@@ -108,15 +108,15 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
111
- id: string;
111
+ description: string | null;
112
112
  name: string;
113
- createdAt: string;
114
- updatedAt: string;
115
113
  tenantId: string;
116
114
  projectId: string;
117
- description: string | null;
115
+ id: string;
118
116
  prompt: string | null;
119
117
  agentId: string;
118
+ createdAt: string;
119
+ updatedAt: string;
120
120
  models: {
121
121
  base?: {
122
122
  model?: string | undefined;
@@ -18,18 +18,18 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
18
18
  scopes: ProjectScopeConfig;
19
19
  toolId: string;
20
20
  }) => Promise<{
21
- id: string;
21
+ description: string | null;
22
22
  name: string;
23
- createdAt: string;
24
- updatedAt: string;
25
23
  tenantId: string;
26
24
  projectId: string;
27
- description: string | null;
25
+ id: string;
28
26
  config: {
29
27
  type: "mcp";
30
28
  mcp: ToolMcpConfig;
31
29
  };
32
30
  credentialReferenceId: string | null;
31
+ createdAt: string;
32
+ updatedAt: string;
33
33
  headers: Record<string, string> | null;
34
34
  credentialScope: string;
35
35
  imageUrl: string | null;
@@ -76,18 +76,18 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
76
76
  };
77
77
  }>;
78
78
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
79
- id: string;
79
+ description: string | null;
80
80
  name: string;
81
- createdAt: string;
82
- updatedAt: string;
83
81
  tenantId: string;
84
82
  projectId: string;
85
- description: string | null;
83
+ id: string;
86
84
  config: {
87
85
  type: "mcp";
88
86
  mcp: ToolMcpConfig;
89
87
  };
90
88
  credentialReferenceId: string | null;
89
+ createdAt: string;
90
+ updatedAt: string;
91
91
  headers: Record<string, string> | null;
92
92
  credentialScope: string;
93
93
  imageUrl: string | null;
@@ -133,12 +133,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
133
133
  needsApproval?: boolean;
134
134
  }> | null;
135
135
  }) => Promise<{
136
- id: string;
137
- createdAt: string;
138
- updatedAt: string;
139
136
  tenantId: string;
140
137
  projectId: string;
138
+ id: string;
141
139
  agentId: string;
140
+ createdAt: string;
141
+ updatedAt: string;
142
142
  toolId: string;
143
143
  headers: Record<string, string> | null;
144
144
  toolPolicies: Record<string, {
@@ -152,12 +152,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
152
152
  subAgentId: string;
153
153
  toolId: string;
154
154
  }) => Promise<{
155
- id: string;
156
- createdAt: string;
157
- updatedAt: string;
158
155
  tenantId: string;
159
156
  projectId: string;
157
+ id: string;
160
158
  agentId: string;
159
+ createdAt: string;
160
+ updatedAt: string;
161
161
  toolId: string;
162
162
  headers: Record<string, string> | null;
163
163
  toolPolicies: Record<string, {
@@ -180,12 +180,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
180
180
  }> | null;
181
181
  relationId?: string;
182
182
  }) => Promise<{
183
- id: string;
184
- createdAt: string;
185
- updatedAt: string;
186
183
  tenantId: string;
187
184
  projectId: string;
185
+ id: string;
188
186
  agentId: string;
187
+ createdAt: string;
188
+ updatedAt: string;
189
189
  toolId: string;
190
190
  headers: Record<string, string> | null;
191
191
  toolPolicies: Record<string, {
@@ -200,18 +200,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
200
200
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
201
201
  data: ToolInsert;
202
202
  }) => Promise<{
203
- id: string;
203
+ description: string | null;
204
204
  name: string;
205
- createdAt: string;
206
- updatedAt: string;
207
205
  tenantId: string;
208
206
  projectId: string;
209
- description: string | null;
207
+ id: string;
210
208
  config: {
211
209
  type: "mcp";
212
210
  mcp: ToolMcpConfig;
213
211
  };
214
212
  credentialReferenceId: string | null;
213
+ createdAt: string;
214
+ updatedAt: string;
215
215
  headers: Record<string, string> | null;
216
216
  credentialScope: string;
217
217
  imageUrl: string | null;
@@ -7,49 +7,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
- id: string;
11
10
  name: string | null;
12
- createdAt: string;
13
- updatedAt: string;
14
- expiresAt: string | null;
15
11
  tenantId: string;
16
12
  projectId: string;
13
+ id: string;
17
14
  agentId: string;
18
15
  publicId: string;
19
16
  keyHash: string;
20
17
  keyPrefix: string;
21
18
  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
- id: string;
25
24
  name: string | null;
26
- createdAt: string;
27
- updatedAt: string;
28
- expiresAt: string | null;
29
25
  tenantId: string;
30
26
  projectId: string;
27
+ id: string;
31
28
  agentId: string;
32
29
  publicId: string;
33
30
  keyHash: string;
34
31
  keyPrefix: string;
35
32
  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
- id: string;
42
41
  name: string | null;
43
- createdAt: string;
44
- updatedAt: string;
45
- expiresAt: string | null;
46
42
  tenantId: string;
47
43
  projectId: string;
44
+ id: string;
48
45
  agentId: string;
49
46
  publicId: string;
50
47
  keyHash: string;
51
48
  keyPrefix: string;
52
49
  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
- id: string;
69
68
  name: string | null;
70
- createdAt: string;
71
- updatedAt: string;
72
- expiresAt: string | null;
73
69
  tenantId: string;
74
70
  projectId: string;
71
+ id: string;
75
72
  agentId: string;
76
73
  publicId: string;
77
74
  keyHash: string;
78
75
  keyPrefix: string;
79
76
  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
+ title: string | null;
19
+ tenantId: string;
20
+ projectId: string;
18
21
  id: string;
22
+ agentId: string | null;
19
23
  createdAt: string;
20
24
  updatedAt: string;
25
+ userId: string | null;
26
+ metadata: ConversationMetadata | null;
21
27
  ref: {
22
28
  type: "commit" | "tag" | "branch";
23
29
  name: string;
24
30
  hash: string;
25
31
  } | null;
26
- userId: string | null;
27
- metadata: ConversationMetadata | null;
28
- tenantId: string;
29
- projectId: string;
30
- title: string | null;
31
- agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
84
84
  scopes: ProjectScopeConfig;
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
+ title: string | null;
88
+ tenantId: string;
89
+ projectId: string;
87
90
  id: string;
91
+ agentId: string | null;
88
92
  createdAt: string;
89
93
  updatedAt: string;
94
+ userId: string | null;
95
+ metadata: ConversationMetadata | null;
90
96
  ref: {
91
97
  type: "commit" | "tag" | "branch";
92
98
  name: string;
93
99
  hash: string;
94
100
  } | null;
95
- userId: string | null;
96
- metadata: ConversationMetadata | null;
97
- tenantId: string;
98
- projectId: string;
99
- title: string | null;
100
- agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
120
120
  metadata?: ConversationMetadata | null | undefined;
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
+ title: string | null;
124
+ tenantId: string;
125
+ projectId: string;
123
126
  id: string;
127
+ agentId: string | null;
124
128
  createdAt: string;
125
129
  updatedAt: string;
130
+ userId: string | null;
131
+ metadata: ConversationMetadata | null;
126
132
  ref: {
127
133
  type: "commit" | "tag" | "branch";
128
134
  name: string;
129
135
  hash: string;
130
136
  } | null;
131
- userId: string | null;
132
- metadata: ConversationMetadata | null;
133
- tenantId: string;
134
- projectId: string;
135
- title: string | null;
136
- agentId: string | null;
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
+ title: string | null;
156
+ tenantId: string;
157
+ projectId: string;
155
158
  id: string;
159
+ agentId: string | null;
156
160
  createdAt: string;
157
161
  updatedAt: string;
162
+ userId: string | null;
163
+ metadata: ConversationMetadata | null;
158
164
  ref: {
159
165
  type: "commit" | "tag" | "branch";
160
166
  name: string;
161
167
  hash: string;
162
168
  } | null;
163
- userId: string | null;
164
- metadata: ConversationMetadata | null;
165
- tenantId: string;
166
- projectId: string;
167
- title: string | null;
168
- agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -9,15 +9,15 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
+ content: MessageContent;
13
+ tenantId: string;
14
+ projectId: string;
12
15
  id: string;
13
16
  createdAt: string;
14
17
  updatedAt: string;
15
18
  metadata: MessageMetadata | null;
16
- role: string;
17
- tenantId: string;
18
- projectId: string;
19
- content: MessageContent;
20
19
  conversationId: string;
20
+ role: string;
21
21
  fromSubAgentId: string | null;
22
22
  toSubAgentId: string | null;
23
23
  fromExternalAgentId: string | null;
@@ -140,15 +140,15 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
+ content: MessageContent;
144
+ tenantId: string;
145
+ projectId: string;
143
146
  id: string;
144
147
  createdAt: string;
145
148
  updatedAt: string;
146
149
  metadata: MessageMetadata | null;
147
- role: string;
148
- tenantId: string;
149
- projectId: string;
150
- content: MessageContent;
151
150
  conversationId: string;
151
+ role: string;
152
152
  fromSubAgentId: string | null;
153
153
  toSubAgentId: string | null;
154
154
  fromExternalAgentId: string | null;
@@ -193,15 +193,15 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
+ content: MessageContent;
197
+ tenantId: string;
198
+ projectId: string;
196
199
  id: string;
197
200
  createdAt: string;
198
201
  updatedAt: string;
199
202
  metadata: MessageMetadata | null;
200
- role: string;
201
- tenantId: string;
202
- projectId: string;
203
- content: MessageContent;
204
203
  conversationId: string;
204
+ role: string;
205
205
  fromSubAgentId: string | null;
206
206
  toSubAgentId: string | null;
207
207
  fromExternalAgentId: string | null;
@@ -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;
9
11
  id: string;
12
+ agentId: string;
10
13
  createdAt: string;
11
14
  updatedAt: string;
15
+ metadata: TaskMetadataConfig | null;
16
+ status: string;
17
+ contextId: string;
12
18
  ref: {
13
19
  type: "commit" | "tag" | "branch";
14
20
  name: string;
15
21
  hash: string;
16
22
  } | null;
17
- metadata: TaskMetadataConfig | null;
18
- status: string;
19
- tenantId: string;
20
- projectId: string;
21
- agentId: string;
22
23
  subAgentId: string;
23
- contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;