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

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.
@@ -12,10 +12,10 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
14
  headers: Record<string, string> | null;
15
+ subAgentId: string;
15
16
  agentId: string;
16
17
  projectId: string;
17
18
  tenantId: string;
18
- subAgentId: string;
19
19
  externalAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
@@ -47,10 +47,10 @@ declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
49
  headers: Record<string, string> | null;
50
+ subAgentId: string;
50
51
  agentId: string;
51
52
  projectId: string;
52
53
  tenantId: string;
53
- subAgentId: string;
54
54
  externalAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
@@ -60,10 +60,10 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) =>
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
62
  headers: Record<string, string> | null;
63
+ subAgentId: string;
63
64
  agentId: string;
64
65
  projectId: string;
65
66
  tenantId: string;
66
- subAgentId: string;
67
67
  externalAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
@@ -183,10 +183,10 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
183
183
  createdAt: string;
184
184
  updatedAt: string;
185
185
  headers: Record<string, string> | null;
186
+ subAgentId: string;
186
187
  agentId: string;
187
188
  projectId: string;
188
189
  tenantId: string;
189
- subAgentId: string;
190
190
  externalAgentId: string;
191
191
  }>;
192
192
  /**
@@ -200,10 +200,10 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
200
200
  createdAt: string;
201
201
  updatedAt: string;
202
202
  headers: Record<string, string> | null;
203
+ subAgentId: string;
203
204
  agentId: string;
204
205
  projectId: string;
205
206
  tenantId: string;
206
- subAgentId: string;
207
207
  externalAgentId: string;
208
208
  } | undefined>;
209
209
  /**
@@ -221,10 +221,10 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
221
221
  createdAt: string;
222
222
  updatedAt: string;
223
223
  headers: Record<string, string> | null;
224
+ subAgentId: string;
224
225
  agentId: string;
225
226
  projectId: string;
226
227
  tenantId: string;
227
- subAgentId: string;
228
228
  externalAgentId: string;
229
229
  }>;
230
230
  declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
@@ -207,11 +207,11 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
207
207
  createdAt: string;
208
208
  updatedAt: string;
209
209
  headers: Record<string, string> | null;
210
+ subAgentId: string;
210
211
  agentId: string;
211
212
  projectId: string;
212
213
  tenantId: string;
213
214
  toolId: string;
214
- subAgentId: string;
215
215
  selectedTools: string[] | null;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
@@ -251,11 +251,11 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
251
251
  createdAt: string;
252
252
  updatedAt: string;
253
253
  headers: Record<string, string> | null;
254
+ subAgentId: string;
254
255
  agentId: string;
255
256
  projectId: string;
256
257
  tenantId: string;
257
258
  toolId: string;
258
- subAgentId: string;
259
259
  selectedTools: string[] | null;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
@@ -12,10 +12,10 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
14
  headers: Record<string, string> | null;
15
+ subAgentId: string;
15
16
  agentId: string;
16
17
  projectId: string;
17
18
  tenantId: string;
18
- subAgentId: string;
19
19
  targetAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
@@ -47,10 +47,10 @@ declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
49
  headers: Record<string, string> | null;
50
+ subAgentId: string;
50
51
  agentId: string;
51
52
  projectId: string;
52
53
  tenantId: string;
53
- subAgentId: string;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
@@ -60,10 +60,10 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (par
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
62
  headers: Record<string, string> | null;
63
+ subAgentId: string;
63
64
  agentId: string;
64
65
  projectId: string;
65
66
  tenantId: string;
66
- subAgentId: string;
67
67
  targetAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: DatabaseClient) => (params: {
@@ -213,10 +213,10 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
213
213
  createdAt: string;
214
214
  updatedAt: string;
215
215
  headers: Record<string, string> | null;
216
+ subAgentId: string;
216
217
  agentId: string;
217
218
  projectId: string;
218
219
  tenantId: string;
219
- subAgentId: string;
220
220
  targetAgentId: string;
221
221
  }>;
222
222
  /**
@@ -230,10 +230,10 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
230
230
  createdAt: string;
231
231
  updatedAt: string;
232
232
  headers: Record<string, string> | null;
233
+ subAgentId: string;
233
234
  agentId: string;
234
235
  projectId: string;
235
236
  tenantId: string;
236
- subAgentId: string;
237
237
  targetAgentId: string;
238
238
  } | undefined>;
239
239
  /**
@@ -251,10 +251,10 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
251
251
  createdAt: string;
252
252
  updatedAt: string;
253
253
  headers: Record<string, string> | null;
254
+ subAgentId: string;
254
255
  agentId: string;
255
256
  projectId: string;
256
257
  tenantId: string;
257
- subAgentId: string;
258
258
  targetAgentId: string;
259
259
  }>;
260
260
  declare const updateSubAgentTeamAgentRelation: (db: DatabaseClient) => (params: {
@@ -13,9 +13,8 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  description: string | null;
16
- agentId: string;
17
- projectId: string;
18
- tenantId: string;
16
+ prompt: string | null;
17
+ conversationHistoryConfig: ConversationHistoryConfig | null;
19
18
  models: {
20
19
  base?: {
21
20
  model?: string | undefined;
@@ -30,11 +29,12 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
30
29
  providerOptions?: Record<string, any> | undefined;
31
30
  } | undefined;
32
31
  } | null;
33
- prompt: string | null;
34
32
  stopWhen: {
35
33
  stepCountIs?: number | undefined;
36
34
  } | null;
37
- conversationHistoryConfig: ConversationHistoryConfig | null;
35
+ agentId: string;
36
+ projectId: string;
37
+ tenantId: string;
38
38
  } | undefined>;
39
39
  declare const listSubAgents: (db: DatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
@@ -44,9 +44,8 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
46
  description: string | null;
47
- agentId: string;
48
- projectId: string;
49
- tenantId: string;
47
+ prompt: string | null;
48
+ conversationHistoryConfig: ConversationHistoryConfig | null;
50
49
  models: {
51
50
  base?: {
52
51
  model?: string | undefined;
@@ -61,11 +60,12 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
61
60
  providerOptions?: Record<string, any> | undefined;
62
61
  } | undefined;
63
62
  } | null;
64
- prompt: string | null;
65
63
  stopWhen: {
66
64
  stepCountIs?: number | undefined;
67
65
  } | null;
68
- conversationHistoryConfig: ConversationHistoryConfig | null;
66
+ agentId: string;
67
+ projectId: string;
68
+ tenantId: string;
69
69
  }[]>;
70
70
  declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -113,9 +113,8 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
113
113
  createdAt: string;
114
114
  updatedAt: string;
115
115
  description: string | null;
116
- agentId: string;
117
- projectId: string;
118
- tenantId: string;
116
+ prompt: string | null;
117
+ conversationHistoryConfig: ConversationHistoryConfig | null;
119
118
  models: {
120
119
  base?: {
121
120
  model?: string | undefined;
@@ -130,11 +129,12 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
130
129
  providerOptions?: Record<string, any> | undefined;
131
130
  } | undefined;
132
131
  } | null;
133
- prompt: string | null;
134
132
  stopWhen: {
135
133
  stepCountIs?: number | undefined;
136
134
  } | null;
137
- conversationHistoryConfig: ConversationHistoryConfig | null;
135
+ agentId: string;
136
+ projectId: string;
137
+ tenantId: string;
138
138
  }>;
139
139
  declare const updateSubAgent: (db: DatabaseClient) => (params: {
140
140
  scopes: AgentScopeConfig;
@@ -11,11 +11,11 @@ declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promis
11
11
  updatedAt: string;
12
12
  metadata: TaskMetadataConfig | null;
13
13
  status: string;
14
+ subAgentId: string;
14
15
  agentId: string;
15
16
  projectId: string;
16
17
  tenantId: string;
17
18
  contextId: string;
18
- subAgentId: string;
19
19
  }>;
20
20
  declare const getTask: (db: DatabaseClient) => (params: {
21
21
  id: string;
@@ -16,8 +16,8 @@ declare const getToolById: (db: DatabaseClient) => (params: {
16
16
  name: string;
17
17
  createdAt: string;
18
18
  updatedAt: string;
19
- headers: Record<string, string> | null;
20
19
  description: string | null;
20
+ headers: Record<string, string> | null;
21
21
  projectId: string;
22
22
  tenantId: string;
23
23
  config: {
@@ -65,8 +65,8 @@ declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promis
65
65
  name: string;
66
66
  createdAt: string;
67
67
  updatedAt: string;
68
- headers: Record<string, string> | null;
69
68
  description: string | null;
69
+ headers: Record<string, string> | null;
70
70
  projectId: string;
71
71
  tenantId: string;
72
72
  config: {
@@ -120,11 +120,11 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
120
120
  createdAt: string;
121
121
  updatedAt: string;
122
122
  headers: Record<string, string> | null;
123
+ subAgentId: string;
123
124
  agentId: string;
124
125
  projectId: string;
125
126
  tenantId: string;
126
127
  toolId: string;
127
- subAgentId: string;
128
128
  selectedTools: string[] | null;
129
129
  toolPolicies: Record<string, {
130
130
  needsApproval?: boolean;
@@ -139,11 +139,11 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
141
  headers: Record<string, string> | null;
142
+ subAgentId: string;
142
143
  agentId: string;
143
144
  projectId: string;
144
145
  tenantId: string;
145
146
  toolId: string;
146
- subAgentId: string;
147
147
  selectedTools: string[] | null;
148
148
  toolPolicies: Record<string, {
149
149
  needsApproval?: boolean;
@@ -167,11 +167,11 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
167
167
  createdAt: string;
168
168
  updatedAt: string;
169
169
  headers: Record<string, string> | null;
170
+ subAgentId: string;
170
171
  agentId: string;
171
172
  projectId: string;
172
173
  tenantId: string;
173
174
  toolId: string;
174
- subAgentId: string;
175
175
  selectedTools: string[] | null;
176
176
  toolPolicies: Record<string, {
177
177
  needsApproval?: boolean;
@@ -187,8 +187,8 @@ declare const upsertTool: (db: DatabaseClient) => (params: {
187
187
  name: string;
188
188
  createdAt: string;
189
189
  updatedAt: string;
190
- headers: Record<string, string> | null;
191
190
  description: string | null;
191
+ headers: Record<string, string> | null;
192
192
  projectId: string;
193
193
  tenantId: string;
194
194
  config: {