@inkeep/agents-core 0.0.0-dev-20260105203442 → 0.0.0-dev-20260106120605

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.
@@ -14,14 +14,14 @@ declare const listConversations: (db: DatabaseClient) => (params: {
14
14
  total: number;
15
15
  }>;
16
16
  declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
17
+ title: string | null;
17
18
  id: string;
18
19
  createdAt: string;
19
20
  updatedAt: string;
20
21
  userId: string | null;
21
22
  metadata: ConversationMetadata | null;
22
- projectId: string;
23
23
  tenantId: string;
24
- title: string | null;
24
+ projectId: string;
25
25
  activeSubAgentId: string;
26
26
  lastContextResolution: string | null;
27
27
  }>;
@@ -65,14 +65,14 @@ declare const getConversation: (db: DatabaseClient) => (params: {
65
65
  scopes: ProjectScopeConfig;
66
66
  conversationId: string;
67
67
  }) => Promise<{
68
+ title: string | null;
68
69
  id: string;
69
70
  createdAt: string;
70
71
  updatedAt: string;
71
72
  userId: string | null;
72
73
  metadata: ConversationMetadata | null;
73
- projectId: string;
74
74
  tenantId: string;
75
- title: string | null;
75
+ projectId: string;
76
76
  activeSubAgentId: string;
77
77
  lastContextResolution: string | null;
78
78
  } | undefined>;
@@ -89,14 +89,14 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
89
89
  metadata?: ConversationMetadata | null | undefined;
90
90
  contextConfigId?: string | undefined;
91
91
  } | {
92
+ title: string | null;
92
93
  id: string;
93
94
  createdAt: string;
94
95
  updatedAt: string;
95
96
  userId: string | null;
96
97
  metadata: ConversationMetadata | null;
97
- projectId: string;
98
98
  tenantId: string;
99
- title: string | null;
99
+ projectId: string;
100
100
  activeSubAgentId: string;
101
101
  lastContextResolution: string | null;
102
102
  }>;
@@ -115,14 +115,14 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
115
115
  scopes: ProjectScopeConfig;
116
116
  conversationId: string;
117
117
  }) => Promise<{
118
+ title: string | null;
118
119
  id: string;
119
120
  createdAt: string;
120
121
  updatedAt: string;
121
122
  userId: string | null;
122
123
  metadata: ConversationMetadata | null;
123
- projectId: string;
124
124
  tenantId: string;
125
- title: string | null;
125
+ projectId: string;
126
126
  activeSubAgentId: string;
127
127
  lastContextResolution: string | null;
128
128
  } | undefined>;
@@ -64,12 +64,12 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
64
64
  scopes: SubAgentScopeConfig;
65
65
  dataComponentId: string;
66
66
  }) => Promise<{
67
+ subAgentId: string;
67
68
  id: string;
68
69
  createdAt: string;
69
- agentId: string;
70
- projectId: string;
71
70
  tenantId: string;
72
- subAgentId: string;
71
+ projectId: string;
72
+ agentId: string;
73
73
  dataComponentId: string;
74
74
  }>;
75
75
  /**
@@ -106,12 +106,12 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
106
106
  scopes: SubAgentScopeConfig;
107
107
  dataComponentId: string;
108
108
  }) => Promise<{
109
+ subAgentId: string;
109
110
  id: string;
110
111
  createdAt: string;
111
- agentId: string;
112
- projectId: string;
113
112
  tenantId: string;
114
- subAgentId: string;
113
+ projectId: string;
114
+ agentId: string;
115
115
  dataComponentId: string;
116
116
  } | null>;
117
117
  /**
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- id: string;
56
+ description: string | null;
57
57
  name: string;
58
+ id: string;
58
59
  createdAt: string;
59
60
  updatedAt: string;
60
- description: string | null;
61
- agentId: string;
62
- projectId: string;
63
61
  tenantId: string;
62
+ projectId: string;
63
+ agentId: string;
64
64
  functionId: string;
65
65
  }>;
66
66
  /**
@@ -95,14 +95,14 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- id: string;
98
+ description: string | null;
99
99
  name: string;
100
+ id: string;
100
101
  createdAt: string;
101
102
  updatedAt: string;
102
- description: string | null;
103
- agentId: string;
104
- projectId: string;
105
103
  tenantId: string;
104
+ projectId: string;
105
+ agentId: string;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
@@ -9,26 +9,26 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
+ fromSubAgentId: string | null;
13
+ toSubAgentId: string | null;
14
+ fromExternalAgentId: string | null;
15
+ toExternalAgentId: string | null;
16
+ taskId: string | null;
17
+ a2aTaskId: string | null;
12
18
  id: string;
13
19
  createdAt: string;
14
20
  updatedAt: string;
15
21
  metadata: MessageMetadata | null;
16
22
  role: string;
17
- projectId: string;
18
23
  tenantId: string;
19
- content: MessageContent;
24
+ projectId: string;
20
25
  conversationId: string;
21
- fromSubAgentId: string | null;
22
- toSubAgentId: string | null;
23
- fromExternalAgentId: string | null;
24
- toExternalAgentId: string | null;
25
26
  fromTeamAgentId: string | null;
26
27
  toTeamAgentId: string | null;
28
+ content: MessageContent;
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: DatabaseClient) => (params: {
@@ -140,26 +140,26 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
143
+ fromSubAgentId: string | null;
144
+ toSubAgentId: string | null;
145
+ fromExternalAgentId: string | null;
146
+ toExternalAgentId: string | null;
147
+ taskId: string | null;
148
+ a2aTaskId: string | null;
143
149
  id: string;
144
150
  createdAt: string;
145
151
  updatedAt: string;
146
152
  metadata: MessageMetadata | null;
147
153
  role: string;
148
- projectId: string;
149
154
  tenantId: string;
150
- content: MessageContent;
155
+ projectId: string;
151
156
  conversationId: string;
152
- fromSubAgentId: string | null;
153
- toSubAgentId: string | null;
154
- fromExternalAgentId: string | null;
155
- toExternalAgentId: string | null;
156
157
  fromTeamAgentId: string | null;
157
158
  toTeamAgentId: string | null;
159
+ content: MessageContent;
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: DatabaseClient) => (params: {
@@ -193,26 +193,26 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
+ fromSubAgentId: string | null;
197
+ toSubAgentId: string | null;
198
+ fromExternalAgentId: string | null;
199
+ toExternalAgentId: string | null;
200
+ taskId: string | null;
201
+ a2aTaskId: string | null;
196
202
  id: string;
197
203
  createdAt: string;
198
204
  updatedAt: string;
199
205
  metadata: MessageMetadata | null;
200
206
  role: string;
201
- projectId: string;
202
207
  tenantId: string;
203
- content: MessageContent;
208
+ projectId: string;
204
209
  conversationId: string;
205
- fromSubAgentId: string | null;
206
- toSubAgentId: string | null;
207
- fromExternalAgentId: string | null;
208
- toExternalAgentId: string | null;
209
210
  fromTeamAgentId: string | null;
210
211
  toTeamAgentId: string | null;
212
+ content: MessageContent;
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: DatabaseClient) => (params: {
@@ -8,14 +8,14 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ subAgentId: string;
11
12
  id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
15
  headers: Record<string, string> | null;
15
- agentId: string;
16
- projectId: string;
17
16
  tenantId: string;
18
- subAgentId: string;
17
+ projectId: string;
18
+ agentId: string;
19
19
  externalAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
@@ -43,27 +43,27 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
43
43
  declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ subAgentId: string;
46
47
  id: string;
47
48
  createdAt: string;
48
49
  updatedAt: string;
49
50
  headers: Record<string, string> | null;
50
- agentId: string;
51
- projectId: string;
52
51
  tenantId: string;
53
- subAgentId: string;
52
+ projectId: string;
53
+ agentId: string;
54
54
  externalAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ subAgentId: string;
59
60
  id: string;
60
61
  createdAt: string;
61
62
  updatedAt: string;
62
63
  headers: Record<string, string> | null;
63
- agentId: string;
64
- projectId: string;
65
64
  tenantId: string;
66
- subAgentId: string;
65
+ projectId: string;
66
+ agentId: string;
67
67
  externalAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
@@ -179,14 +179,14 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
179
179
  headers?: Record<string, string> | null;
180
180
  };
181
181
  }) => Promise<{
182
+ subAgentId: string;
182
183
  id: string;
183
184
  createdAt: string;
184
185
  updatedAt: string;
185
186
  headers: Record<string, string> | null;
186
- agentId: string;
187
- projectId: string;
188
187
  tenantId: string;
189
- subAgentId: string;
188
+ projectId: string;
189
+ agentId: string;
190
190
  externalAgentId: string;
191
191
  }>;
192
192
  /**
@@ -196,14 +196,14 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
196
196
  scopes: SubAgentScopeConfig;
197
197
  externalAgentId: string;
198
198
  }) => Promise<{
199
+ subAgentId: string;
199
200
  id: string;
200
201
  createdAt: string;
201
202
  updatedAt: string;
202
203
  headers: Record<string, string> | null;
203
- agentId: string;
204
- projectId: string;
205
204
  tenantId: string;
206
- subAgentId: string;
205
+ projectId: string;
206
+ agentId: string;
207
207
  externalAgentId: string;
208
208
  } | undefined>;
209
209
  /**
@@ -217,14 +217,14 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
217
217
  headers?: Record<string, string> | null;
218
218
  };
219
219
  }) => Promise<{
220
+ subAgentId: string;
220
221
  id: string;
221
222
  createdAt: string;
222
223
  updatedAt: string;
223
224
  headers: Record<string, string> | null;
224
- agentId: string;
225
- projectId: string;
226
225
  tenantId: string;
227
- subAgentId: string;
226
+ projectId: string;
227
+ agentId: string;
228
228
  externalAgentId: string;
229
229
  }>;
230
230
  declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
@@ -11,9 +11,9 @@ declare const getAgentRelationById: (db: DatabaseClient) => (params: {
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- agentId: string;
15
- projectId: string;
16
14
  tenantId: string;
15
+ projectId: string;
16
+ agentId: string;
17
17
  sourceSubAgentId: string;
18
18
  targetSubAgentId: string | null;
19
19
  relationType: string | null;
@@ -46,9 +46,9 @@ declare const getAgentRelations: (db: DatabaseClient) => (params: {
46
46
  id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
- agentId: string;
50
- projectId: string;
51
49
  tenantId: string;
50
+ projectId: string;
51
+ agentId: string;
52
52
  sourceSubAgentId: string;
53
53
  targetSubAgentId: string | null;
54
54
  relationType: string | null;
@@ -59,9 +59,9 @@ declare const getAgentRelationsByAgent: (db: DatabaseClient) => (params: {
59
59
  id: string;
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
- agentId: string;
63
- projectId: string;
64
62
  tenantId: string;
63
+ projectId: string;
64
+ agentId: string;
65
65
  sourceSubAgentId: string;
66
66
  targetSubAgentId: string | null;
67
67
  relationType: string | null;
@@ -128,9 +128,9 @@ declare const createSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
128
128
  id: string;
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
- agentId: string;
132
- projectId: string;
133
131
  tenantId: string;
132
+ projectId: string;
133
+ agentId: string;
134
134
  sourceSubAgentId: string;
135
135
  targetSubAgentId: string | null;
136
136
  relationType: string | null;
@@ -147,9 +147,9 @@ declare const getAgentRelationByParams: (db: DatabaseClient) => (params: {
147
147
  id: string;
148
148
  createdAt: string;
149
149
  updatedAt: string;
150
- agentId: string;
151
- projectId: string;
152
150
  tenantId: string;
151
+ projectId: string;
152
+ agentId: string;
153
153
  sourceSubAgentId: string;
154
154
  targetSubAgentId: string | null;
155
155
  relationType: string | null;
@@ -161,9 +161,9 @@ declare const upsertSubAgentRelation: (db: DatabaseClient) => (params: SubAgentR
161
161
  id: string;
162
162
  createdAt: string;
163
163
  updatedAt: string;
164
- agentId: string;
165
- projectId: string;
166
164
  tenantId: string;
165
+ projectId: string;
166
+ agentId: string;
167
167
  sourceSubAgentId: string;
168
168
  targetSubAgentId: string | null;
169
169
  relationType: string | null;
@@ -203,15 +203,15 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
203
203
  }> | null;
204
204
  };
205
205
  }) => Promise<{
206
+ subAgentId: string;
206
207
  id: string;
207
208
  createdAt: string;
208
209
  updatedAt: string;
209
210
  headers: Record<string, string> | null;
210
- agentId: string;
211
- projectId: string;
212
211
  tenantId: string;
212
+ projectId: string;
213
+ agentId: string;
213
214
  toolId: string;
214
- subAgentId: string;
215
215
  selectedTools: string[] | null;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
@@ -247,15 +247,15 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
247
247
  scopes: SubAgentScopeConfig;
248
248
  relationId: string;
249
249
  }) => Promise<{
250
+ subAgentId: string;
250
251
  id: string;
251
252
  createdAt: string;
252
253
  updatedAt: string;
253
254
  headers: Record<string, string> | null;
254
- agentId: string;
255
- projectId: string;
256
255
  tenantId: string;
256
+ projectId: string;
257
+ agentId: string;
257
258
  toolId: string;
258
- subAgentId: string;
259
259
  selectedTools: string[] | null;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
@@ -8,14 +8,14 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ subAgentId: string;
11
12
  id: string;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
15
  headers: Record<string, string> | null;
15
- agentId: string;
16
- projectId: string;
17
16
  tenantId: string;
18
- subAgentId: string;
17
+ projectId: string;
18
+ agentId: string;
19
19
  targetAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
@@ -43,27 +43,27 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
43
43
  declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ subAgentId: string;
46
47
  id: string;
47
48
  createdAt: string;
48
49
  updatedAt: string;
49
50
  headers: Record<string, string> | null;
50
- agentId: string;
51
- projectId: string;
52
51
  tenantId: string;
53
- subAgentId: string;
52
+ projectId: string;
53
+ agentId: string;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ subAgentId: string;
59
60
  id: string;
60
61
  createdAt: string;
61
62
  updatedAt: string;
62
63
  headers: Record<string, string> | null;
63
- agentId: string;
64
- projectId: string;
65
64
  tenantId: string;
66
- subAgentId: string;
65
+ projectId: string;
66
+ agentId: string;
67
67
  targetAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: DatabaseClient) => (params: {
@@ -209,14 +209,14 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
209
209
  headers?: Record<string, string> | null;
210
210
  };
211
211
  }) => Promise<{
212
+ subAgentId: string;
212
213
  id: string;
213
214
  createdAt: string;
214
215
  updatedAt: string;
215
216
  headers: Record<string, string> | null;
216
- agentId: string;
217
- projectId: string;
218
217
  tenantId: string;
219
- subAgentId: string;
218
+ projectId: string;
219
+ agentId: string;
220
220
  targetAgentId: string;
221
221
  }>;
222
222
  /**
@@ -226,14 +226,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
226
226
  scopes: SubAgentScopeConfig;
227
227
  targetAgentId: string;
228
228
  }) => Promise<{
229
+ subAgentId: string;
229
230
  id: string;
230
231
  createdAt: string;
231
232
  updatedAt: string;
232
233
  headers: Record<string, string> | null;
233
- agentId: string;
234
- projectId: string;
235
234
  tenantId: string;
236
- subAgentId: string;
235
+ projectId: string;
236
+ agentId: string;
237
237
  targetAgentId: string;
238
238
  } | undefined>;
239
239
  /**
@@ -247,14 +247,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
247
247
  headers?: Record<string, string> | null;
248
248
  };
249
249
  }) => Promise<{
250
+ subAgentId: string;
250
251
  id: string;
251
252
  createdAt: string;
252
253
  updatedAt: string;
253
254
  headers: Record<string, string> | null;
254
- agentId: string;
255
- projectId: string;
256
255
  tenantId: string;
257
- subAgentId: string;
256
+ projectId: string;
257
+ agentId: string;
258
258
  targetAgentId: string;
259
259
  }>;
260
260
  declare const updateSubAgentTeamAgentRelation: (db: DatabaseClient) => (params: {
@@ -8,14 +8,11 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
- id: string;
11
+ description: string | null;
12
12
  name: string;
13
+ id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- description: string | null;
16
- agentId: string;
17
- projectId: string;
18
- tenantId: string;
19
16
  models: {
20
17
  base?: {
21
18
  model?: string | undefined;
@@ -30,23 +27,23 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
30
27
  providerOptions?: Record<string, any> | undefined;
31
28
  } | undefined;
32
29
  } | null;
33
- prompt: string | null;
34
30
  stopWhen: {
35
31
  stepCountIs?: number | undefined;
36
32
  } | null;
33
+ tenantId: string;
34
+ prompt: string | null;
35
+ projectId: string;
36
+ agentId: string;
37
37
  conversationHistoryConfig: ConversationHistoryConfig | null;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: DatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
- id: string;
42
+ description: string | null;
43
43
  name: string;
44
+ id: string;
44
45
  createdAt: string;
45
46
  updatedAt: string;
46
- description: string | null;
47
- agentId: string;
48
- projectId: string;
49
- tenantId: string;
50
47
  models: {
51
48
  base?: {
52
49
  model?: string | undefined;
@@ -61,10 +58,13 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
61
58
  providerOptions?: Record<string, any> | undefined;
62
59
  } | undefined;
63
60
  } | null;
64
- prompt: string | null;
65
61
  stopWhen: {
66
62
  stepCountIs?: number | undefined;
67
63
  } | null;
64
+ tenantId: string;
65
+ prompt: string | null;
66
+ projectId: string;
67
+ agentId: string;
68
68
  conversationHistoryConfig: ConversationHistoryConfig | null;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
@@ -108,14 +108,11 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
111
- id: string;
111
+ description: string | null;
112
112
  name: string;
113
+ id: string;
113
114
  createdAt: string;
114
115
  updatedAt: string;
115
- description: string | null;
116
- agentId: string;
117
- projectId: string;
118
- tenantId: string;
119
116
  models: {
120
117
  base?: {
121
118
  model?: string | undefined;
@@ -130,10 +127,13 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
130
127
  providerOptions?: Record<string, any> | undefined;
131
128
  } | undefined;
132
129
  } | null;
133
- prompt: string | null;
134
130
  stopWhen: {
135
131
  stepCountIs?: number | undefined;
136
132
  } | null;
133
+ tenantId: string;
134
+ prompt: string | null;
135
+ projectId: string;
136
+ agentId: string;
137
137
  conversationHistoryConfig: ConversationHistoryConfig | null;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: DatabaseClient) => (params: {
@@ -6,16 +6,16 @@ import { DatabaseClient } from "../db/client.js";
6
6
 
7
7
  //#region src/data-access/tasks.d.ts
8
8
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
9
+ subAgentId: string;
9
10
  id: string;
10
11
  createdAt: string;
11
12
  updatedAt: string;
12
13
  metadata: TaskMetadataConfig | null;
13
14
  status: string;
14
- agentId: string;
15
- projectId: string;
16
15
  tenantId: string;
16
+ projectId: string;
17
+ agentId: string;
17
18
  contextId: string;
18
- subAgentId: string;
19
19
  }>;
20
20
  declare const getTask: (db: DatabaseClient) => (params: {
21
21
  id: string;