@inkeep/agents-core 0.0.0-dev-20260219212612 → 0.0.0-dev-20260219215237

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.
@@ -38,6 +38,7 @@ declare const OPENAI_MODELS: {
38
38
  readonly GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14";
39
39
  };
40
40
  declare const GOOGLE_MODELS: {
41
+ readonly GEMINI_3_1_PRO_PREVIEW: "google/gemini-3.1-pro-preview";
41
42
  readonly GEMINI_3_PRO_PREVIEW: "google/gemini-3-pro-preview";
42
43
  readonly GEMINI_3_FLASH_PREVIEW: "google/gemini-3-flash-preview";
43
44
  readonly GEMINI_2_5_PRO: "google/gemini-2.5-pro";
@@ -38,6 +38,7 @@ const OPENAI_MODELS = {
38
38
  GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
39
39
  };
40
40
  const GOOGLE_MODELS = {
41
+ GEMINI_3_1_PRO_PREVIEW: "google/gemini-3.1-pro-preview",
41
42
  GEMINI_3_PRO_PREVIEW: "google/gemini-3-pro-preview",
42
43
  GEMINI_3_FLASH_PREVIEW: "google/gemini-3-flash-preview",
43
44
  GEMINI_2_5_PRO: "google/gemini-2.5-pro",
@@ -167,11 +167,11 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
167
167
  agentId: string;
168
168
  projectId: string;
169
169
  tenantId: string;
170
+ subAgentId: string;
171
+ functionToolId: string;
170
172
  toolPolicies: Record<string, {
171
173
  needsApproval?: boolean;
172
174
  }> | null;
173
- subAgentId: string;
174
- functionToolId: string;
175
175
  }>;
176
176
  /**
177
177
  * Update an agent-function tool relation
@@ -232,11 +232,11 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
232
232
  agentId: string;
233
233
  projectId: string;
234
234
  tenantId: string;
235
+ subAgentId: string;
236
+ functionToolId: string;
235
237
  toolPolicies: Record<string, {
236
238
  needsApproval?: boolean;
237
239
  }> | null;
238
- subAgentId: string;
239
- functionToolId: string;
240
240
  }>;
241
241
  //#endregion
242
242
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -96,10 +96,10 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
96
96
  agentId: string;
97
97
  projectId: string;
98
98
  tenantId: string;
99
- index: number;
100
- alwaysLoaded: boolean;
101
99
  subAgentId: string;
102
100
  skillId: string;
101
+ index: number;
102
+ alwaysLoaded: boolean;
103
103
  }>;
104
104
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
105
105
  scopes: AgentScopeConfig;
@@ -15,8 +15,8 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
15
15
  agentId: string;
16
16
  projectId: string;
17
17
  tenantId: string;
18
- externalAgentId: string;
19
18
  subAgentId: string;
19
+ externalAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: SubAgentScopeConfig;
@@ -50,8 +50,8 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
50
50
  agentId: string;
51
51
  projectId: string;
52
52
  tenantId: string;
53
- externalAgentId: string;
54
53
  subAgentId: string;
54
+ externalAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
@@ -63,8 +63,8 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
63
63
  agentId: string;
64
64
  projectId: string;
65
65
  tenantId: string;
66
- externalAgentId: string;
67
66
  subAgentId: string;
67
+ externalAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
70
70
  scopes: AgentScopeConfig;
@@ -186,8 +186,8 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
186
186
  agentId: string;
187
187
  projectId: string;
188
188
  tenantId: string;
189
- externalAgentId: string;
190
189
  subAgentId: string;
190
+ externalAgentId: string;
191
191
  }>;
192
192
  /**
193
193
  * Check if sub-agent external agent relation exists by params
@@ -203,8 +203,8 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
203
203
  agentId: string;
204
204
  projectId: string;
205
205
  tenantId: string;
206
- externalAgentId: string;
207
206
  subAgentId: string;
207
+ externalAgentId: string;
208
208
  } | undefined>;
209
209
  /**
210
210
  * Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
@@ -224,8 +224,8 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
224
224
  agentId: string;
225
225
  projectId: string;
226
226
  tenantId: string;
227
- externalAgentId: string;
228
227
  subAgentId: string;
228
+ externalAgentId: string;
229
229
  }>;
230
230
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
231
231
  scopes: SubAgentScopeConfig;
@@ -210,11 +210,11 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
210
210
  agentId: string;
211
211
  projectId: string;
212
212
  tenantId: string;
213
+ subAgentId: string;
213
214
  toolId: string;
214
215
  toolPolicies: Record<string, {
215
216
  needsApproval?: boolean;
216
217
  }> | null;
217
- subAgentId: string;
218
218
  selectedTools: string[] | null;
219
219
  }>;
220
220
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -254,11 +254,11 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
254
254
  agentId: string;
255
255
  projectId: string;
256
256
  tenantId: string;
257
+ subAgentId: string;
257
258
  toolId: string;
258
259
  toolPolicies: Record<string, {
259
260
  needsApproval?: boolean;
260
261
  }> | null;
261
- subAgentId: string;
262
262
  selectedTools: string[] | null;
263
263
  } | undefined>;
264
264
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -140,11 +140,11 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
140
140
  agentId: string;
141
141
  projectId: string;
142
142
  tenantId: string;
143
+ subAgentId: string;
143
144
  toolId: string;
144
145
  toolPolicies: Record<string, {
145
146
  needsApproval?: boolean;
146
147
  }> | null;
147
- subAgentId: string;
148
148
  selectedTools: string[] | null;
149
149
  }>;
150
150
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -159,11 +159,11 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
159
159
  agentId: string;
160
160
  projectId: string;
161
161
  tenantId: string;
162
+ subAgentId: string;
162
163
  toolId: string;
163
164
  toolPolicies: Record<string, {
164
165
  needsApproval?: boolean;
165
166
  }> | null;
166
- subAgentId: string;
167
167
  selectedTools: string[] | null;
168
168
  }>;
169
169
  /**
@@ -187,11 +187,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
187
187
  agentId: string;
188
188
  projectId: string;
189
189
  tenantId: string;
190
+ subAgentId: string;
190
191
  toolId: string;
191
192
  toolPolicies: Record<string, {
192
193
  needsApproval?: boolean;
193
194
  }> | null;
194
- subAgentId: string;
195
195
  selectedTools: string[] | null;
196
196
  }>;
197
197
  /**
@@ -17,18 +17,18 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
17
17
  projectId: string;
18
18
  tenantId: string;
19
19
  content: MessageContent;
20
- conversationId: string;
21
20
  fromSubAgentId: string | null;
22
21
  toSubAgentId: string | null;
23
22
  fromExternalAgentId: string | null;
24
23
  toExternalAgentId: string | null;
24
+ taskId: string | null;
25
+ a2aTaskId: string | null;
26
+ conversationId: string;
25
27
  fromTeamAgentId: string | null;
26
28
  toTeamAgentId: string | null;
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: AgentsRunDatabaseClient) => (params: {
@@ -148,18 +148,18 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
148
148
  projectId: string;
149
149
  tenantId: string;
150
150
  content: MessageContent;
151
- conversationId: string;
152
151
  fromSubAgentId: string | null;
153
152
  toSubAgentId: string | null;
154
153
  fromExternalAgentId: string | null;
155
154
  toExternalAgentId: string | null;
155
+ taskId: string | null;
156
+ a2aTaskId: string | null;
157
+ conversationId: string;
156
158
  fromTeamAgentId: string | null;
157
159
  toTeamAgentId: string | null;
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: AgentsRunDatabaseClient) => (params: {
@@ -201,18 +201,18 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
201
201
  projectId: string;
202
202
  tenantId: string;
203
203
  content: MessageContent;
204
- conversationId: string;
205
204
  fromSubAgentId: string | null;
206
205
  toSubAgentId: string | null;
207
206
  fromExternalAgentId: string | null;
208
207
  toExternalAgentId: string | null;
208
+ taskId: string | null;
209
+ a2aTaskId: string | null;
210
+ conversationId: string;
209
211
  fromTeamAgentId: string | null;
210
212
  toTeamAgentId: string | null;
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: AgentsRunDatabaseClient) => (params: {
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
34
34
  }) => Promise<{
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
37
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
38
38
  scheduledFor: string;
39
39
  startedAt: string | null;
40
40
  completedAt: string | null;
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
174
174
  }) => Promise<{
175
175
  data: {
176
176
  scheduledTriggerId: string;
177
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
177
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
178
178
  scheduledFor: string;
179
179
  startedAt: string | null;
180
180
  completedAt: string | null;
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
208
208
  }) => Promise<{
209
209
  data: {
210
210
  scheduledTriggerId: string;
211
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
211
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
212
212
  scheduledFor: string;
213
213
  startedAt: string | null;
214
214
  completedAt: string | null;