@inkeep/agents-core 0.41.1 → 0.41.2

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
+ tenantId: string;
18
+ projectId: string;
17
19
  id: string;
20
+ title: string | null;
18
21
  createdAt: string;
19
22
  updatedAt: string;
20
- title: string | null;
21
- tenantId: string;
22
- metadata: ConversationMetadata | null;
23
- projectId: string;
24
23
  userId: string | null;
24
+ metadata: ConversationMetadata | null;
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
+ tenantId: string;
69
+ projectId: string;
68
70
  id: string;
71
+ title: string | null;
69
72
  createdAt: string;
70
73
  updatedAt: string;
71
- title: string | null;
72
- tenantId: string;
73
- metadata: ConversationMetadata | null;
74
- projectId: string;
75
74
  userId: string | null;
75
+ metadata: ConversationMetadata | null;
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
+ tenantId: string;
93
+ projectId: string;
92
94
  id: string;
95
+ title: string | null;
93
96
  createdAt: string;
94
97
  updatedAt: string;
95
- title: string | null;
96
- tenantId: string;
97
- metadata: ConversationMetadata | null;
98
- projectId: string;
99
98
  userId: string | null;
99
+ metadata: ConversationMetadata | null;
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
+ tenantId: string;
119
+ projectId: string;
118
120
  id: string;
121
+ title: string | null;
119
122
  createdAt: string;
120
123
  updatedAt: string;
121
- title: string | null;
122
- tenantId: string;
123
- metadata: ConversationMetadata | null;
124
- projectId: string;
125
124
  userId: string | null;
125
+ metadata: ConversationMetadata | null;
126
126
  activeSubAgentId: string;
127
127
  lastContextResolution: string | null;
128
128
  } | undefined>;
@@ -64,11 +64,11 @@ declare const associateDataComponentWithAgent: (db: DatabaseClient) => (params:
64
64
  scopes: SubAgentScopeConfig;
65
65
  dataComponentId: string;
66
66
  }) => Promise<{
67
- id: string;
68
- createdAt: string;
69
67
  tenantId: string;
70
68
  projectId: string;
69
+ id: string;
71
70
  agentId: string;
71
+ createdAt: string;
72
72
  subAgentId: string;
73
73
  dataComponentId: string;
74
74
  }>;
@@ -106,11 +106,11 @@ declare const upsertAgentDataComponentRelation: (db: DatabaseClient) => (params:
106
106
  scopes: SubAgentScopeConfig;
107
107
  dataComponentId: string;
108
108
  }) => Promise<{
109
- id: string;
110
- createdAt: string;
111
109
  tenantId: string;
112
110
  projectId: string;
111
+ id: string;
113
112
  agentId: string;
113
+ createdAt: string;
114
114
  subAgentId: string;
115
115
  dataComponentId: string;
116
116
  } | null>;
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
+ tenantId: string;
57
+ projectId: string;
56
58
  id: string;
57
59
  name: string;
58
- createdAt: string;
59
- updatedAt: string;
60
60
  description: string | null;
61
- tenantId: string;
62
- projectId: string;
63
61
  agentId: string;
62
+ createdAt: string;
63
+ updatedAt: 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
+ tenantId: string;
99
+ projectId: string;
98
100
  id: string;
99
101
  name: string;
100
- createdAt: string;
101
- updatedAt: string;
102
102
  description: string | null;
103
- tenantId: string;
104
- projectId: string;
105
103
  agentId: string;
104
+ createdAt: string;
105
+ updatedAt: string;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: DatabaseClient) => (params: {
@@ -9,21 +9,21 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
9
9
  scopes: ProjectScopeConfig;
10
10
  messageId: string;
11
11
  }) => Promise<{
12
+ tenantId: string;
13
+ projectId: string;
12
14
  id: string;
13
15
  createdAt: string;
14
16
  updatedAt: string;
15
- tenantId: string;
16
17
  metadata: MessageMetadata | null;
17
- projectId: string;
18
- conversationId: string;
18
+ content: MessageContent;
19
19
  role: string;
20
+ conversationId: string;
20
21
  fromSubAgentId: string | null;
21
22
  toSubAgentId: string | null;
22
23
  fromExternalAgentId: string | null;
23
24
  toExternalAgentId: string | null;
24
25
  fromTeamAgentId: string | null;
25
26
  toTeamAgentId: string | null;
26
- content: MessageContent;
27
27
  visibility: string;
28
28
  messageType: string;
29
29
  taskId: string | null;
@@ -140,21 +140,21 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
140
140
  id: string;
141
141
  }[]>;
142
142
  declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
143
+ tenantId: string;
144
+ projectId: string;
143
145
  id: string;
144
146
  createdAt: string;
145
147
  updatedAt: string;
146
- tenantId: string;
147
148
  metadata: MessageMetadata | null;
148
- projectId: string;
149
- conversationId: string;
149
+ content: MessageContent;
150
150
  role: string;
151
+ conversationId: string;
151
152
  fromSubAgentId: string | null;
152
153
  toSubAgentId: string | null;
153
154
  fromExternalAgentId: string | null;
154
155
  toExternalAgentId: string | null;
155
156
  fromTeamAgentId: string | null;
156
157
  toTeamAgentId: string | null;
157
- content: MessageContent;
158
158
  visibility: string;
159
159
  messageType: string;
160
160
  taskId: string | null;
@@ -193,21 +193,21 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
193
193
  scopes: ProjectScopeConfig;
194
194
  messageId: string;
195
195
  }) => Promise<{
196
+ tenantId: string;
197
+ projectId: string;
196
198
  id: string;
197
199
  createdAt: string;
198
200
  updatedAt: string;
199
- tenantId: string;
200
201
  metadata: MessageMetadata | null;
201
- projectId: string;
202
- conversationId: string;
202
+ content: MessageContent;
203
203
  role: string;
204
+ conversationId: string;
204
205
  fromSubAgentId: string | null;
205
206
  toSubAgentId: string | null;
206
207
  fromExternalAgentId: string | null;
207
208
  toExternalAgentId: string | null;
208
209
  fromTeamAgentId: string | null;
209
210
  toTeamAgentId: string | null;
210
- content: MessageContent;
211
211
  visibility: string;
212
212
  messageType: string;
213
213
  taskId: string | null;
@@ -8,15 +8,15 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
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;
17
- subAgentId: string;
15
+ createdAt: string;
16
+ updatedAt: string;
18
17
  headers: Record<string, string> | null;
19
18
  externalAgentId: string;
19
+ subAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
22
22
  scopes: SubAgentScopeConfig;
@@ -43,28 +43,28 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
43
43
  declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (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;
52
- subAgentId: string;
50
+ createdAt: string;
51
+ updatedAt: string;
53
52
  headers: Record<string, string> | null;
54
53
  externalAgentId: string;
54
+ subAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (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;
65
- subAgentId: string;
63
+ createdAt: string;
64
+ updatedAt: string;
66
65
  headers: Record<string, string> | null;
67
66
  externalAgentId: string;
67
+ subAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
70
70
  scopes: AgentScopeConfig;
@@ -179,15 +179,15 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
179
179
  headers?: Record<string, string> | null;
180
180
  };
181
181
  }) => Promise<{
182
- id: string;
183
- createdAt: string;
184
- updatedAt: string;
185
182
  tenantId: string;
186
183
  projectId: string;
184
+ id: string;
187
185
  agentId: string;
188
- subAgentId: string;
186
+ createdAt: string;
187
+ updatedAt: string;
189
188
  headers: Record<string, string> | null;
190
189
  externalAgentId: string;
190
+ subAgentId: string;
191
191
  }>;
192
192
  /**
193
193
  * Check if sub-agent external agent relation exists by params
@@ -196,15 +196,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
196
196
  scopes: SubAgentScopeConfig;
197
197
  externalAgentId: string;
198
198
  }) => Promise<{
199
- id: string;
200
- createdAt: string;
201
- updatedAt: string;
202
199
  tenantId: string;
203
200
  projectId: string;
201
+ id: string;
204
202
  agentId: string;
205
- subAgentId: string;
203
+ createdAt: string;
204
+ updatedAt: string;
206
205
  headers: Record<string, string> | null;
207
206
  externalAgentId: string;
207
+ subAgentId: string;
208
208
  } | undefined>;
209
209
  /**
210
210
  * Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
@@ -217,15 +217,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
217
217
  headers?: Record<string, string> | null;
218
218
  };
219
219
  }) => Promise<{
220
- id: string;
221
- createdAt: string;
222
- updatedAt: string;
223
220
  tenantId: string;
224
221
  projectId: string;
222
+ id: string;
225
223
  agentId: string;
226
- subAgentId: string;
224
+ createdAt: string;
225
+ updatedAt: string;
227
226
  headers: Record<string, string> | null;
228
227
  externalAgentId: string;
228
+ subAgentId: string;
229
229
  }>;
230
230
  declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
231
231
  scopes: SubAgentScopeConfig;
@@ -8,12 +8,12 @@ declare const getAgentRelationById: (db: DatabaseClient) => (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: DatabaseClient) => (params: {
43
43
  declare const getAgentRelations: (db: DatabaseClient) => (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: DatabaseClient) => (params: {
56
56
  declare const getAgentRelationsByAgent: (db: DatabaseClient) => (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: DatabaseClient) => (params: {
125
125
  }[];
126
126
  }>;
127
127
  declare const createSubAgentRelation: (db: DatabaseClient) => (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: DatabaseClient) => (params: {
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: DatabaseClient) => (params: {
158
158
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
159
159
  */
160
160
  declare const upsertSubAgentRelation: (db: DatabaseClient) => (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,19 +203,19 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
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
- subAgentId: string;
214
213
  headers: Record<string, string> | null;
215
- selectedTools: string[] | null;
216
214
  toolPolicies: Record<string, {
217
215
  needsApproval?: boolean;
218
216
  }> | null;
217
+ subAgentId: string;
218
+ selectedTools: string[] | null;
219
219
  }>;
220
220
  declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
221
221
  scopes: AgentScopeConfig;
@@ -247,19 +247,19 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
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
- subAgentId: string;
258
257
  headers: Record<string, string> | null;
259
- selectedTools: string[] | null;
260
258
  toolPolicies: Record<string, {
261
259
  needsApproval?: boolean;
262
260
  }> | null;
261
+ subAgentId: string;
262
+ selectedTools: string[] | null;
263
263
  } | undefined>;
264
264
  declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
265
265
  scopes: SubAgentScopeConfig;
@@ -8,14 +8,14 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
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;
17
- subAgentId: string;
15
+ createdAt: string;
16
+ updatedAt: string;
18
17
  headers: Record<string, string> | null;
18
+ subAgentId: 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
- id: string;
47
- createdAt: string;
48
- updatedAt: string;
49
46
  tenantId: string;
50
47
  projectId: string;
48
+ id: string;
51
49
  agentId: string;
52
- subAgentId: string;
50
+ createdAt: string;
51
+ updatedAt: string;
53
52
  headers: Record<string, string> | null;
53
+ subAgentId: string;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (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;
65
- subAgentId: string;
63
+ createdAt: string;
64
+ updatedAt: string;
66
65
  headers: Record<string, string> | null;
66
+ subAgentId: 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
- id: string;
213
- createdAt: string;
214
- updatedAt: string;
215
212
  tenantId: string;
216
213
  projectId: string;
214
+ id: string;
217
215
  agentId: string;
218
- subAgentId: string;
216
+ createdAt: string;
217
+ updatedAt: string;
219
218
  headers: Record<string, string> | null;
219
+ subAgentId: 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
- id: string;
230
- createdAt: string;
231
- updatedAt: string;
232
229
  tenantId: string;
233
230
  projectId: string;
231
+ id: string;
234
232
  agentId: string;
235
- subAgentId: string;
233
+ createdAt: string;
234
+ updatedAt: string;
236
235
  headers: Record<string, string> | null;
236
+ subAgentId: 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
- id: string;
251
- createdAt: string;
252
- updatedAt: string;
253
250
  tenantId: string;
254
251
  projectId: string;
252
+ id: string;
255
253
  agentId: string;
256
- subAgentId: string;
254
+ createdAt: string;
255
+ updatedAt: string;
257
256
  headers: Record<string, string> | null;
257
+ subAgentId: string;
258
258
  targetAgentId: string;
259
259
  }>;
260
260
  declare const updateSubAgentTeamAgentRelation: (db: DatabaseClient) => (params: {
@@ -8,11 +8,15 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
+ tenantId: string;
12
+ projectId: string;
11
13
  id: string;
12
14
  name: string;
15
+ description: string | null;
16
+ prompt: string | null;
17
+ agentId: string;
13
18
  createdAt: string;
14
19
  updatedAt: string;
15
- description: string | null;
16
20
  models: {
17
21
  base?: {
18
22
  model?: string | undefined;
@@ -30,20 +34,20 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
30
34
  stopWhen: {
31
35
  stepCountIs?: number | undefined;
32
36
  } | 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
+ tenantId: string;
43
+ projectId: string;
42
44
  id: string;
43
45
  name: string;
46
+ description: string | null;
47
+ prompt: string | null;
48
+ agentId: string;
44
49
  createdAt: string;
45
50
  updatedAt: string;
46
- description: string | null;
47
51
  models: {
48
52
  base?: {
49
53
  model?: string | undefined;
@@ -61,10 +65,6 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
61
65
  stopWhen: {
62
66
  stepCountIs?: number | undefined;
63
67
  } | 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,11 +108,15 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
111
+ tenantId: string;
112
+ projectId: string;
111
113
  id: string;
112
114
  name: string;
115
+ description: string | null;
116
+ prompt: string | null;
117
+ agentId: string;
113
118
  createdAt: string;
114
119
  updatedAt: string;
115
- description: string | null;
116
120
  models: {
117
121
  base?: {
118
122
  model?: string | undefined;
@@ -130,10 +134,6 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
130
134
  stopWhen: {
131
135
  stepCountIs?: number | undefined;
132
136
  } | 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
+ tenantId: string;
10
+ projectId: string;
9
11
  id: string;
12
+ agentId: string;
10
13
  createdAt: string;
11
14
  updatedAt: string;
12
- tenantId: string;
13
15
  metadata: TaskMetadataConfig | null;
14
- projectId: string;
15
- agentId: string;
16
- contextId: string;
17
16
  status: string;
18
17
  subAgentId: string;
18
+ contextId: string;
19
19
  }>;
20
20
  declare const getTask: (db: DatabaseClient) => (params: {
21
21
  id: string;