@inkeep/agents-core 0.0.0-dev-20260209055455 → 0.0.0-dev-20260209072547

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.
@@ -11,9 +11,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- tenantId: string;
15
- projectId: string;
16
14
  agentId: string;
15
+ projectId: string;
16
+ tenantId: string;
17
17
  sourceSubAgentId: string;
18
18
  targetSubAgentId: string | null;
19
19
  relationType: string | null;
@@ -46,9 +46,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
46
46
  id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
- tenantId: string;
50
- projectId: string;
51
49
  agentId: string;
50
+ projectId: string;
51
+ tenantId: string;
52
52
  sourceSubAgentId: string;
53
53
  targetSubAgentId: string | null;
54
54
  relationType: string | null;
@@ -59,9 +59,9 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
59
59
  id: string;
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
- tenantId: string;
63
- projectId: string;
64
62
  agentId: string;
63
+ projectId: string;
64
+ tenantId: string;
65
65
  sourceSubAgentId: string;
66
66
  targetSubAgentId: string | null;
67
67
  relationType: string | null;
@@ -128,9 +128,9 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
128
128
  id: string;
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
- tenantId: string;
132
- projectId: string;
133
131
  agentId: string;
132
+ projectId: string;
133
+ tenantId: string;
134
134
  sourceSubAgentId: string;
135
135
  targetSubAgentId: string | null;
136
136
  relationType: string | null;
@@ -147,9 +147,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
147
147
  id: string;
148
148
  createdAt: string;
149
149
  updatedAt: string;
150
- tenantId: string;
151
- projectId: string;
152
150
  agentId: string;
151
+ projectId: string;
152
+ tenantId: string;
153
153
  sourceSubAgentId: string;
154
154
  targetSubAgentId: string | null;
155
155
  relationType: string | null;
@@ -161,9 +161,9 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
161
161
  id: string;
162
162
  createdAt: string;
163
163
  updatedAt: string;
164
- tenantId: string;
165
- projectId: string;
166
164
  agentId: string;
165
+ projectId: string;
166
+ tenantId: string;
167
167
  sourceSubAgentId: string;
168
168
  targetSubAgentId: string | null;
169
169
  relationType: string | null;
@@ -203,13 +203,13 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
203
203
  }> | null;
204
204
  };
205
205
  }) => Promise<{
206
- headers: Record<string, string> | null;
207
206
  id: string;
208
207
  createdAt: string;
209
208
  updatedAt: string;
210
- tenantId: string;
211
- projectId: string;
212
209
  agentId: string;
210
+ projectId: string;
211
+ tenantId: string;
212
+ headers: Record<string, string> | null;
213
213
  toolId: string;
214
214
  toolPolicies: Record<string, {
215
215
  needsApproval?: boolean;
@@ -247,13 +247,13 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
247
247
  scopes: SubAgentScopeConfig;
248
248
  relationId: string;
249
249
  }) => Promise<{
250
- headers: Record<string, string> | null;
251
250
  id: string;
252
251
  createdAt: string;
253
252
  updatedAt: string;
254
- tenantId: string;
255
- projectId: string;
256
253
  agentId: string;
254
+ projectId: string;
255
+ tenantId: string;
256
+ headers: Record<string, string> | null;
257
257
  toolId: string;
258
258
  toolPolicies: Record<string, {
259
259
  needsApproval?: boolean;
@@ -8,13 +8,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
- headers: Record<string, string> | null;
12
11
  id: string;
13
12
  createdAt: string;
14
13
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
14
  agentId: string;
15
+ projectId: string;
16
+ tenantId: string;
17
+ headers: Record<string, string> | null;
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
- headers: Record<string, string> | null;
47
46
  id: string;
48
47
  createdAt: string;
49
48
  updatedAt: string;
50
- tenantId: string;
51
- projectId: string;
52
49
  agentId: string;
50
+ projectId: string;
51
+ tenantId: string;
52
+ headers: Record<string, string> | null;
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
- headers: Record<string, string> | null;
60
59
  id: string;
61
60
  createdAt: string;
62
61
  updatedAt: string;
63
- tenantId: string;
64
- projectId: string;
65
62
  agentId: string;
63
+ projectId: string;
64
+ tenantId: string;
65
+ headers: Record<string, string> | null;
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
- headers: Record<string, string> | null;
213
212
  id: string;
214
213
  createdAt: string;
215
214
  updatedAt: string;
216
- tenantId: string;
217
- projectId: string;
218
215
  agentId: string;
216
+ projectId: string;
217
+ tenantId: string;
218
+ headers: Record<string, string> | null;
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
- headers: Record<string, string> | null;
230
229
  id: string;
231
230
  createdAt: string;
232
231
  updatedAt: string;
233
- tenantId: string;
234
- projectId: string;
235
232
  agentId: string;
233
+ projectId: string;
234
+ tenantId: string;
235
+ headers: Record<string, string> | null;
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
- headers: Record<string, string> | null;
251
250
  id: string;
252
251
  createdAt: string;
253
252
  updatedAt: string;
254
- tenantId: string;
255
- projectId: string;
256
253
  agentId: string;
254
+ projectId: string;
255
+ tenantId: string;
256
+ headers: Record<string, string> | null;
257
257
  subAgentId: string;
258
258
  targetAgentId: string;
259
259
  }>;
@@ -9,15 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
11
  id: string;
12
+ name: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- name: string;
15
15
  description: string | null;
16
- tenantId: string;
17
- projectId: string;
18
16
  agentId: string;
19
- prompt: string | null;
20
- conversationHistoryConfig: ConversationHistoryConfig | null;
17
+ projectId: string;
18
+ tenantId: string;
21
19
  models: {
22
20
  base?: {
23
21
  model?: string | undefined;
@@ -32,23 +30,23 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
32
30
  providerOptions?: Record<string, any> | undefined;
33
31
  } | undefined;
34
32
  } | null;
33
+ prompt: string | null;
35
34
  stopWhen: {
36
35
  stepCountIs?: number | undefined;
37
36
  } | null;
37
+ conversationHistoryConfig: ConversationHistoryConfig | null;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
42
  id: string;
43
+ name: string;
43
44
  createdAt: string;
44
45
  updatedAt: string;
45
- name: string;
46
46
  description: string | null;
47
- tenantId: string;
48
- projectId: string;
49
47
  agentId: string;
50
- prompt: string | null;
51
- conversationHistoryConfig: ConversationHistoryConfig | null;
48
+ projectId: string;
49
+ tenantId: string;
52
50
  models: {
53
51
  base?: {
54
52
  model?: string | undefined;
@@ -63,9 +61,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
63
61
  providerOptions?: Record<string, any> | undefined;
64
62
  } | undefined;
65
63
  } | null;
64
+ prompt: string | null;
66
65
  stopWhen: {
67
66
  stepCountIs?: number | undefined;
68
67
  } | null;
68
+ conversationHistoryConfig: ConversationHistoryConfig | null;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -109,15 +109,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  }>;
110
110
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
111
111
  id: string;
112
+ name: string;
112
113
  createdAt: string;
113
114
  updatedAt: string;
114
- name: string;
115
115
  description: string | null;
116
- tenantId: string;
117
- projectId: string;
118
116
  agentId: string;
119
- prompt: string | null;
120
- conversationHistoryConfig: ConversationHistoryConfig | null;
117
+ projectId: string;
118
+ tenantId: string;
121
119
  models: {
122
120
  base?: {
123
121
  model?: string | undefined;
@@ -132,9 +130,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
132
130
  providerOptions?: Record<string, any> | undefined;
133
131
  } | undefined;
134
132
  } | null;
133
+ prompt: string | null;
135
134
  stopWhen: {
136
135
  stepCountIs?: number | undefined;
137
136
  } | null;
137
+ conversationHistoryConfig: ConversationHistoryConfig | null;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
140
140
  scopes: AgentScopeConfig;
@@ -18,14 +18,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
18
18
  scopes: ProjectScopeConfig;
19
19
  toolId: string;
20
20
  }) => Promise<{
21
- headers: Record<string, string> | null;
22
21
  id: string;
22
+ name: string;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
- name: string;
26
25
  description: string | null;
27
- tenantId: string;
28
26
  projectId: string;
27
+ tenantId: string;
28
+ headers: Record<string, string> | null;
29
29
  config: {
30
30
  type: "mcp";
31
31
  mcp: ToolMcpConfig;
@@ -76,14 +76,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
76
76
  };
77
77
  }>;
78
78
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
79
- headers: Record<string, string> | null;
80
79
  id: string;
80
+ name: string;
81
81
  createdAt: string;
82
82
  updatedAt: string;
83
- name: string;
84
83
  description: string | null;
85
- tenantId: string;
86
84
  projectId: string;
85
+ tenantId: string;
86
+ headers: Record<string, string> | null;
87
87
  config: {
88
88
  type: "mcp";
89
89
  mcp: ToolMcpConfig;
@@ -133,13 +133,13 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
133
133
  needsApproval?: boolean;
134
134
  }> | null;
135
135
  }) => Promise<{
136
- headers: Record<string, string> | null;
137
136
  id: string;
138
137
  createdAt: string;
139
138
  updatedAt: string;
140
- tenantId: string;
141
- projectId: string;
142
139
  agentId: string;
140
+ projectId: string;
141
+ tenantId: string;
142
+ headers: Record<string, string> | null;
143
143
  toolId: string;
144
144
  toolPolicies: Record<string, {
145
145
  needsApproval?: boolean;
@@ -152,13 +152,13 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
152
152
  subAgentId: string;
153
153
  toolId: string;
154
154
  }) => Promise<{
155
- headers: Record<string, string> | null;
156
155
  id: string;
157
156
  createdAt: string;
158
157
  updatedAt: string;
159
- tenantId: string;
160
- projectId: string;
161
158
  agentId: string;
159
+ projectId: string;
160
+ tenantId: string;
161
+ headers: Record<string, string> | null;
162
162
  toolId: string;
163
163
  toolPolicies: Record<string, {
164
164
  needsApproval?: boolean;
@@ -180,13 +180,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
180
180
  }> | null;
181
181
  relationId?: string;
182
182
  }) => Promise<{
183
- headers: Record<string, string> | null;
184
183
  id: string;
185
184
  createdAt: string;
186
185
  updatedAt: string;
187
- tenantId: string;
188
- projectId: string;
189
186
  agentId: string;
187
+ projectId: string;
188
+ tenantId: string;
189
+ headers: Record<string, string> | null;
190
190
  toolId: string;
191
191
  toolPolicies: Record<string, {
192
192
  needsApproval?: boolean;
@@ -200,14 +200,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
200
200
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
201
201
  data: ToolInsert;
202
202
  }) => Promise<{
203
- headers: Record<string, string> | null;
204
203
  id: string;
204
+ name: string;
205
205
  createdAt: string;
206
206
  updatedAt: string;
207
- name: string;
208
207
  description: string | null;
209
- tenantId: string;
210
208
  projectId: string;
209
+ tenantId: string;
210
+ headers: Record<string, string> | null;
211
211
  config: {
212
212
  type: "mcp";
213
213
  mcp: ToolMcpConfig;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "body" | "query" | "header";
43
+ source: "query" | "body" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "body" | "header" | "literal";
49
+ source: "literal" | "body" | "header";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,13 +8,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  id: string;
9
9
  }) => Promise<{
10
10
  id: string;
11
+ name: string | null;
11
12
  createdAt: string;
12
13
  updatedAt: string;
13
- name: string | null;
14
14
  expiresAt: string | null;
15
- tenantId: string;
16
- projectId: string;
17
15
  agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
18
  publicId: string;
19
19
  keyHash: string;
20
20
  keyPrefix: string;
@@ -22,13 +22,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  } | undefined>;
23
23
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
24
24
  id: string;
25
+ name: string | null;
25
26
  createdAt: string;
26
27
  updatedAt: string;
27
- name: string | null;
28
28
  expiresAt: string | null;
29
- tenantId: string;
30
- projectId: string;
31
29
  agentId: string;
30
+ projectId: string;
31
+ tenantId: string;
32
32
  publicId: string;
33
33
  keyHash: string;
34
34
  keyPrefix: string;
@@ -39,13 +39,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  agentId?: string;
40
40
  }) => Promise<{
41
41
  id: string;
42
+ name: string | null;
42
43
  createdAt: string;
43
44
  updatedAt: string;
44
- name: string | null;
45
45
  expiresAt: string | null;
46
- tenantId: string;
47
- projectId: string;
48
46
  agentId: string;
47
+ projectId: string;
48
+ tenantId: string;
49
49
  publicId: string;
50
50
  keyHash: string;
51
51
  keyPrefix: string;
@@ -66,13 +66,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  }>;
67
67
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
68
68
  id: string;
69
+ name: string | null;
69
70
  createdAt: string;
70
71
  updatedAt: string;
71
- name: string | null;
72
72
  expiresAt: string | null;
73
- tenantId: string;
74
- projectId: string;
75
73
  agentId: string;
74
+ projectId: string;
75
+ tenantId: string;
76
76
  publicId: string;
77
77
  keyHash: string;
78
78
  keyPrefix: string;
@@ -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
- metadata: ConversationMetadata | null;
19
18
  id: string;
20
- userId: string | null;
21
19
  createdAt: string;
22
20
  updatedAt: string;
23
- tenantId: string;
24
- projectId: string;
25
- agentId: string | null;
26
- title: string | null;
27
21
  ref: {
28
22
  type: "tag" | "commit" | "branch";
29
23
  name: string;
30
24
  hash: string;
31
25
  } | null;
26
+ userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ agentId: string | null;
29
+ projectId: string;
30
+ tenantId: string;
31
+ title: 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
- metadata: ConversationMetadata | null;
88
87
  id: string;
89
- userId: string | null;
90
88
  createdAt: string;
91
89
  updatedAt: string;
92
- tenantId: string;
93
- projectId: string;
94
- agentId: string | null;
95
- title: string | null;
96
90
  ref: {
97
91
  type: "tag" | "commit" | "branch";
98
92
  name: string;
99
93
  hash: string;
100
94
  } | null;
95
+ userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ agentId: string | null;
98
+ projectId: string;
99
+ tenantId: string;
100
+ title: 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
- metadata: ConversationMetadata | null;
124
123
  id: string;
125
- userId: string | null;
126
124
  createdAt: string;
127
125
  updatedAt: string;
128
- tenantId: string;
129
- projectId: string;
130
- agentId: string | null;
131
- title: string | null;
132
126
  ref: {
133
127
  type: "tag" | "commit" | "branch";
134
128
  name: string;
135
129
  hash: string;
136
130
  } | null;
131
+ userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ agentId: string | null;
134
+ projectId: string;
135
+ tenantId: string;
136
+ title: 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
- metadata: ConversationMetadata | null;
156
155
  id: string;
157
- userId: string | null;
158
156
  createdAt: string;
159
157
  updatedAt: string;
160
- tenantId: string;
161
- projectId: string;
162
- agentId: string | null;
163
- title: string | null;
164
158
  ref: {
165
159
  type: "tag" | "commit" | "branch";
166
160
  name: string;
167
161
  hash: string;
168
162
  } | null;
163
+ userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ agentId: string | null;
166
+ projectId: string;
167
+ tenantId: string;
168
+ title: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -9,13 +9,13 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
- metadata: MessageMetadata | null;
13
12
  id: string;
14
- role: string;
15
13
  createdAt: string;
16
14
  updatedAt: string;
17
- tenantId: string;
15
+ metadata: MessageMetadata | null;
16
+ role: string;
18
17
  projectId: string;
18
+ tenantId: string;
19
19
  content: MessageContent;
20
20
  fromSubAgentId: string | null;
21
21
  toSubAgentId: string | null;
@@ -140,13 +140,13 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
143
- metadata: MessageMetadata | null;
144
143
  id: string;
145
- role: string;
146
144
  createdAt: string;
147
145
  updatedAt: string;
148
- tenantId: string;
146
+ metadata: MessageMetadata | null;
147
+ role: string;
149
148
  projectId: string;
149
+ tenantId: string;
150
150
  content: MessageContent;
151
151
  fromSubAgentId: string | null;
152
152
  toSubAgentId: string | null;
@@ -193,13 +193,13 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
- metadata: MessageMetadata | null;
197
196
  id: string;
198
- role: string;
199
197
  createdAt: string;
200
198
  updatedAt: string;
201
- tenantId: string;
199
+ metadata: MessageMetadata | null;
200
+ role: string;
202
201
  projectId: string;
202
+ tenantId: string;
203
203
  content: MessageContent;
204
204
  fromSubAgentId: string | null;
205
205
  toSubAgentId: string | null;
@@ -6,19 +6,19 @@ 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
- metadata: TaskMetadataConfig | null;
10
9
  id: string;
11
10
  createdAt: string;
12
11
  updatedAt: string;
13
- status: string;
14
- tenantId: string;
15
- projectId: string;
16
- agentId: string;
17
12
  ref: {
18
13
  type: "tag" | "commit" | "branch";
19
14
  name: string;
20
15
  hash: string;
21
16
  } | null;
17
+ metadata: TaskMetadataConfig | null;
18
+ status: string;
19
+ agentId: string;
20
+ projectId: string;
21
+ tenantId: string;
22
22
  subAgentId: string;
23
23
  contextId: string;
24
24
  }>;