@inkeep/agents-core 0.0.0-dev-20260414201919 → 0.0.0-dev-20260415134917

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.
@@ -15,9 +15,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
15
15
  updatedAt: string;
16
16
  description: string | null;
17
17
  prompt: string | null;
18
- agentId: string;
19
- projectId: string;
20
18
  tenantId: string;
19
+ projectId: string;
20
+ agentId: string;
21
+ conversationHistoryConfig: ConversationHistoryConfig | null;
21
22
  models: {
22
23
  base?: {
23
24
  model?: string | undefined;
@@ -41,7 +42,6 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
41
42
  stopWhen: {
42
43
  stepCountIs?: number | undefined;
43
44
  } | null;
44
- conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  } | undefined>;
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
@@ -52,9 +52,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
52
52
  updatedAt: string;
53
53
  description: string | null;
54
54
  prompt: string | null;
55
- agentId: string;
56
- projectId: string;
57
55
  tenantId: string;
56
+ projectId: string;
57
+ agentId: string;
58
+ conversationHistoryConfig: ConversationHistoryConfig | null;
58
59
  models: {
59
60
  base?: {
60
61
  model?: string | undefined;
@@ -78,7 +79,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
78
79
  stopWhen: {
79
80
  stepCountIs?: number | undefined;
80
81
  } | null;
81
- conversationHistoryConfig: ConversationHistoryConfig | null;
82
82
  }[]>;
83
83
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
84
84
  scopes: AgentScopeConfig;
@@ -133,9 +133,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
133
133
  updatedAt: string;
134
134
  description: string | null;
135
135
  prompt: string | null;
136
- agentId: string;
137
- projectId: string;
138
136
  tenantId: string;
137
+ projectId: string;
138
+ agentId: string;
139
+ conversationHistoryConfig: ConversationHistoryConfig | null;
139
140
  models: {
140
141
  base?: {
141
142
  model?: string | undefined;
@@ -159,7 +160,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
159
160
  stopWhen: {
160
161
  stepCountIs?: number | undefined;
161
162
  } | null;
162
- conversationHistoryConfig: ConversationHistoryConfig | null;
163
163
  }>;
164
164
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
165
165
  scopes: AgentScopeConfig;
@@ -26,13 +26,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
26
26
  updatedAt: string;
27
27
  description: string | null;
28
28
  headers: Record<string, string> | null;
29
- projectId: string;
30
29
  tenantId: string;
31
- credentialReferenceId: string | null;
30
+ projectId: string;
32
31
  config: {
33
32
  type: "mcp";
34
33
  mcp: ToolMcpConfig;
35
34
  };
35
+ credentialReferenceId: string | null;
36
36
  credentialScope: string;
37
37
  imageUrl: string | null;
38
38
  capabilities: ToolServerCapabilities | null;
@@ -84,13 +84,13 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
84
84
  updatedAt: string;
85
85
  description: string | null;
86
86
  headers: Record<string, string> | null;
87
- projectId: string;
88
87
  tenantId: string;
89
- credentialReferenceId: string | null;
88
+ projectId: string;
90
89
  config: {
91
90
  type: "mcp";
92
91
  mcp: ToolMcpConfig;
93
92
  };
93
+ credentialReferenceId: string | null;
94
94
  credentialScope: string;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
@@ -139,11 +139,11 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
141
  headers: Record<string, string> | null;
142
- agentId: string;
143
- projectId: string;
144
142
  tenantId: string;
145
- toolId: string;
143
+ projectId: string;
144
+ agentId: string;
146
145
  subAgentId: string;
146
+ toolId: string;
147
147
  toolPolicies: Record<string, {
148
148
  needsApproval?: boolean;
149
149
  }> | null;
@@ -158,11 +158,11 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
158
158
  createdAt: string;
159
159
  updatedAt: string;
160
160
  headers: Record<string, string> | null;
161
- agentId: string;
162
- projectId: string;
163
161
  tenantId: string;
164
- toolId: string;
162
+ projectId: string;
163
+ agentId: string;
165
164
  subAgentId: string;
165
+ toolId: string;
166
166
  toolPolicies: Record<string, {
167
167
  needsApproval?: boolean;
168
168
  }> | null;
@@ -186,11 +186,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
186
186
  createdAt: string;
187
187
  updatedAt: string;
188
188
  headers: Record<string, string> | null;
189
- agentId: string;
190
- projectId: string;
191
189
  tenantId: string;
192
- toolId: string;
190
+ projectId: string;
191
+ agentId: string;
193
192
  subAgentId: string;
193
+ toolId: string;
194
194
  toolPolicies: Record<string, {
195
195
  needsApproval?: boolean;
196
196
  }> | null;
@@ -208,13 +208,13 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
208
208
  updatedAt: string;
209
209
  description: string | null;
210
210
  headers: Record<string, string> | null;
211
- projectId: string;
212
211
  tenantId: string;
213
- credentialReferenceId: string | null;
212
+ projectId: string;
214
213
  config: {
215
214
  type: "mcp";
216
215
  mcp: ToolMcpConfig;
217
216
  };
217
+ credentialReferenceId: string | null;
218
218
  credentialScope: string;
219
219
  imageUrl: string | null;
220
220
  capabilities: ToolServerCapabilities | null;
@@ -37,8 +37,8 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
- encoding: "hex" | "base64";
40
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
+ encoding: "base64" | "hex";
42
42
  signature: {
43
43
  source: "query" | "body" | "header";
44
44
  key: string;
@@ -133,9 +133,9 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
133
133
  }) => Promise<{
134
134
  createdAt: string;
135
135
  userId: string;
136
- agentId: string;
137
- projectId: string;
138
136
  tenantId: string;
137
+ projectId: string;
138
+ agentId: string;
139
139
  triggerId: string;
140
140
  }>;
141
141
  declare const deleteTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
@@ -13,9 +13,9 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  expiresAt: string | null;
16
- agentId: string;
17
- projectId: string;
18
16
  tenantId: string;
17
+ projectId: string;
18
+ agentId: string;
19
19
  publicId: string;
20
20
  keyHash: string;
21
21
  keyPrefix: string;
@@ -27,9 +27,9 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
29
  expiresAt: string | null;
30
- agentId: string;
31
- projectId: string;
32
30
  tenantId: string;
31
+ projectId: string;
32
+ agentId: string;
33
33
  publicId: string;
34
34
  keyHash: string;
35
35
  keyPrefix: string;
@@ -44,9 +44,9 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
46
  expiresAt: string | null;
47
- agentId: string;
48
- projectId: string;
49
47
  tenantId: string;
48
+ projectId: string;
49
+ agentId: string;
50
50
  publicId: string;
51
51
  keyHash: string;
52
52
  keyPrefix: string;
@@ -71,9 +71,9 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
73
  expiresAt: string | null;
74
- agentId: string;
75
- projectId: string;
76
74
  tenantId: string;
75
+ projectId: string;
76
+ agentId: string;
77
77
  publicId: string;
78
78
  keyHash: string;
79
79
  keyPrefix: string;
@@ -13,8 +13,8 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
13
13
  description: string | null;
14
14
  enabled: boolean;
15
15
  prompt: string | null;
16
- projectId: string | null;
17
16
  tenantId: string | null;
17
+ projectId: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -74,8 +74,8 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
74
74
  description: string | null;
75
75
  enabled: boolean;
76
76
  prompt: string | null;
77
- projectId: string | null;
78
77
  tenantId: string | null;
78
+ projectId: string | null;
79
79
  config: {
80
80
  type: "web_client";
81
81
  webClient: {
@@ -25,10 +25,10 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
25
25
  } | null;
26
26
  userId: string | null;
27
27
  metadata: ConversationMetadata | null;
28
- agentId: string | null;
29
- projectId: string;
30
- tenantId: string;
31
28
  title: string | null;
29
+ tenantId: string;
30
+ projectId: string;
31
+ agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -94,10 +94,10 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
94
94
  } | null;
95
95
  userId: string | null;
96
96
  metadata: ConversationMetadata | null;
97
- agentId: string | null;
98
- projectId: string;
99
- tenantId: string;
100
97
  title: string | null;
98
+ tenantId: string;
99
+ projectId: string;
100
+ agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -130,10 +130,10 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
130
130
  } | null;
131
131
  userId: string | null;
132
132
  metadata: ConversationMetadata | null;
133
- agentId: string | null;
134
- projectId: string;
135
- tenantId: string;
136
133
  title: string | null;
134
+ tenantId: string;
135
+ projectId: string;
136
+ agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -162,10 +162,10 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
162
162
  } | null;
163
163
  userId: string | null;
164
164
  metadata: ConversationMetadata | null;
165
- agentId: string | null;
166
- projectId: string;
167
- tenantId: string;
168
165
  title: string | null;
166
+ tenantId: string;
167
+ projectId: string;
168
+ agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -62,11 +62,11 @@ declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: Feedback
62
62
  id: string;
63
63
  createdAt: string;
64
64
  updatedAt: string;
65
- projectId: string;
66
65
  tenantId: string;
67
- details: string | null;
66
+ projectId: string;
68
67
  conversationId: string;
69
68
  messageId: string | null;
69
+ details: string | null;
70
70
  }>;
71
71
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
72
72
  scopes: ProjectScopeConfig;
@@ -91,11 +91,11 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
91
91
  id: string;
92
92
  createdAt: string;
93
93
  updatedAt: string;
94
- projectId: string;
95
94
  tenantId: string;
96
- details: string | null;
95
+ projectId: string;
97
96
  conversationId: string;
98
97
  messageId: string | null;
98
+ details: string | null;
99
99
  }>;
100
100
  //#endregion
101
101
  export { createFeedback, deleteFeedback, getFeedbackById, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -15,21 +15,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
15
15
  updatedAt: string;
16
16
  metadata: MessageMetadata | null;
17
17
  role: string;
18
- projectId: string;
19
18
  tenantId: string;
19
+ projectId: string;
20
20
  content: MessageContent;
21
+ conversationId: string;
21
22
  fromSubAgentId: string | null;
22
23
  toSubAgentId: string | null;
23
24
  fromExternalAgentId: string | null;
24
25
  toExternalAgentId: string | null;
25
- taskId: string | null;
26
- a2aTaskId: string | null;
27
- conversationId: string;
28
26
  fromTeamAgentId: string | null;
29
27
  toTeamAgentId: string | null;
30
28
  visibility: string;
31
29
  messageType: string;
30
+ taskId: string | null;
32
31
  parentMessageId: string | null;
32
+ a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -149,21 +149,21 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
149
149
  updatedAt: string;
150
150
  metadata: MessageMetadata | null;
151
151
  role: string;
152
- projectId: string;
153
152
  tenantId: string;
153
+ projectId: string;
154
154
  content: MessageContent;
155
+ conversationId: string;
155
156
  fromSubAgentId: string | null;
156
157
  toSubAgentId: string | null;
157
158
  fromExternalAgentId: string | null;
158
159
  toExternalAgentId: string | null;
159
- taskId: string | null;
160
- a2aTaskId: string | null;
161
- conversationId: string;
162
160
  fromTeamAgentId: string | null;
163
161
  toTeamAgentId: string | null;
164
162
  visibility: string;
165
163
  messageType: string;
164
+ taskId: string | null;
166
165
  parentMessageId: string | null;
166
+ a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -202,21 +202,21 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
202
202
  updatedAt: string;
203
203
  metadata: MessageMetadata | null;
204
204
  role: string;
205
- projectId: string;
206
205
  tenantId: string;
206
+ projectId: string;
207
207
  content: MessageContent;
208
+ conversationId: string;
208
209
  fromSubAgentId: string | null;
209
210
  toSubAgentId: string | null;
210
211
  fromExternalAgentId: string | null;
211
212
  toExternalAgentId: string | null;
212
- taskId: string | null;
213
- a2aTaskId: string | null;
214
- conversationId: string;
215
213
  fromTeamAgentId: string | null;
216
214
  toTeamAgentId: string | null;
217
215
  visibility: string;
218
216
  messageType: string;
217
+ taskId: string | null;
219
218
  parentMessageId: string | null;
219
+ a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -163,6 +163,7 @@ function allowedMethodsToMethodOptions(methods, ssoProviders) {
163
163
  const options = [];
164
164
  for (const m of methods) if (m.method === "email-password") options.push({ method: "email-password" });
165
165
  else if (m.method === "google") options.push({ method: "google" });
166
+ else if (m.method === "microsoft") options.push({ method: "microsoft" });
166
167
  else if (m.method === "sso") {
167
168
  if (!m.enabled) continue;
168
169
  const provider = ssoProviders.find((p) => p.providerId === m.providerId);
@@ -17,9 +17,9 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
17
17
  } | null;
18
18
  metadata: TaskMetadataConfig | null;
19
19
  status: string;
20
- agentId: string;
21
- projectId: string;
22
20
  tenantId: string;
21
+ projectId: string;
22
+ agentId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
25
25
  }>;