@inkeep/agents-core 0.0.0-dev-20260402165145 → 0.0.0-dev-20260402205032

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.
@@ -25,14 +25,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
25
25
  createdAt: string;
26
26
  updatedAt: string;
27
27
  description: string | null;
28
+ headers: Record<string, string> | null;
28
29
  projectId: string;
29
30
  tenantId: string;
30
- headers: Record<string, string> | null;
31
- credentialReferenceId: string | null;
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;
@@ -83,14 +83,14 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
83
83
  createdAt: string;
84
84
  updatedAt: string;
85
85
  description: string | null;
86
+ headers: Record<string, string> | null;
86
87
  projectId: string;
87
88
  tenantId: string;
88
- headers: Record<string, string> | null;
89
- credentialReferenceId: string | null;
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;
@@ -138,16 +138,16 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
138
138
  id: string;
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
+ headers: Record<string, string> | null;
142
+ agentId: string;
141
143
  projectId: string;
142
144
  tenantId: string;
143
- agentId: string;
144
- headers: Record<string, string> | null;
145
145
  subAgentId: string;
146
146
  toolId: string;
147
- selectedTools: string[] | null;
148
147
  toolPolicies: Record<string, {
149
148
  needsApproval?: boolean;
150
149
  }> | null;
150
+ selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
153
153
  scopes: AgentScopeConfig;
@@ -157,16 +157,16 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
157
157
  id: string;
158
158
  createdAt: string;
159
159
  updatedAt: string;
160
+ headers: Record<string, string> | null;
161
+ agentId: string;
160
162
  projectId: string;
161
163
  tenantId: string;
162
- agentId: string;
163
- headers: Record<string, string> | null;
164
164
  subAgentId: string;
165
165
  toolId: string;
166
- selectedTools: string[] | null;
167
166
  toolPolicies: Record<string, {
168
167
  needsApproval?: boolean;
169
168
  }> | null;
169
+ selectedTools: string[] | null;
170
170
  }>;
171
171
  /**
172
172
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -185,16 +185,16 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
185
185
  id: string;
186
186
  createdAt: string;
187
187
  updatedAt: string;
188
+ headers: Record<string, string> | null;
189
+ agentId: string;
188
190
  projectId: string;
189
191
  tenantId: string;
190
- agentId: string;
191
- headers: Record<string, string> | null;
192
192
  subAgentId: string;
193
193
  toolId: string;
194
- selectedTools: string[] | null;
195
194
  toolPolicies: Record<string, {
196
195
  needsApproval?: boolean;
197
196
  }> | null;
197
+ selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
200
200
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -207,14 +207,14 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
207
207
  createdAt: string;
208
208
  updatedAt: string;
209
209
  description: string | null;
210
+ headers: Record<string, string> | null;
210
211
  projectId: string;
211
212
  tenantId: string;
212
- headers: Record<string, string> | null;
213
- credentialReferenceId: string | null;
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: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
- encoding: "base64" | "hex";
40
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
+ encoding: "hex" | "base64";
42
42
  signature: {
43
43
  source: "query" | "body" | "header";
44
44
  key: string;
@@ -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;
16
17
  projectId: string;
17
18
  tenantId: 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;
30
31
  projectId: string;
31
32
  tenantId: 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;
47
48
  projectId: string;
48
49
  tenantId: 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;
74
75
  projectId: string;
75
76
  tenantId: string;
76
- agentId: string;
77
77
  publicId: string;
78
78
  keyHash: string;
79
79
  keyPrefix: string;
@@ -5,12 +5,12 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- enabled: boolean;
9
8
  id: string;
10
9
  name: string;
11
10
  createdAt: string;
12
11
  updatedAt: string;
13
12
  description: string | null;
13
+ enabled: boolean;
14
14
  type: AppType;
15
15
  projectId: string | null;
16
16
  tenantId: string | null;
@@ -61,12 +61,12 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
- enabled: boolean;
65
64
  id: string;
66
65
  name: string;
67
66
  createdAt: string;
68
67
  updatedAt: string;
69
68
  description: string | null;
69
+ enabled: boolean;
70
70
  type: AppType;
71
71
  projectId: string | null;
72
72
  tenantId: string | null;
@@ -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
- projectId: string;
29
- tenantId: string;
30
28
  title: string | null;
31
29
  agentId: string | null;
30
+ projectId: string;
31
+ tenantId: string;
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
- projectId: string;
98
- tenantId: string;
99
97
  title: string | null;
100
98
  agentId: string | null;
99
+ projectId: string;
100
+ tenantId: string;
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
- projectId: string;
134
- tenantId: string;
135
133
  title: string | null;
136
134
  agentId: string | null;
135
+ projectId: string;
136
+ tenantId: string;
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
- projectId: string;
166
- tenantId: string;
167
165
  title: string | null;
168
166
  agentId: string | null;
167
+ projectId: string;
168
+ tenantId: string;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -15,21 +15,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
15
15
  updatedAt: string;
16
16
  metadata: MessageMetadata | null;
17
17
  role: string;
18
- content: MessageContent;
19
18
  projectId: string;
20
19
  tenantId: string;
21
- conversationId: string;
20
+ content: MessageContent;
22
21
  fromSubAgentId: string | null;
23
22
  toSubAgentId: string | null;
24
23
  fromExternalAgentId: string | null;
25
24
  toExternalAgentId: string | null;
25
+ taskId: string | null;
26
+ a2aTaskId: string | null;
27
+ conversationId: string;
26
28
  fromTeamAgentId: string | null;
27
29
  toTeamAgentId: string | null;
28
30
  visibility: string;
29
31
  messageType: string;
30
- taskId: string | null;
31
32
  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
- content: MessageContent;
153
152
  projectId: string;
154
153
  tenantId: string;
155
- conversationId: string;
154
+ content: MessageContent;
156
155
  fromSubAgentId: string | null;
157
156
  toSubAgentId: string | null;
158
157
  fromExternalAgentId: string | null;
159
158
  toExternalAgentId: string | null;
159
+ taskId: string | null;
160
+ a2aTaskId: string | null;
161
+ conversationId: string;
160
162
  fromTeamAgentId: string | null;
161
163
  toTeamAgentId: string | null;
162
164
  visibility: string;
163
165
  messageType: string;
164
- taskId: string | null;
165
166
  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
- content: MessageContent;
206
205
  projectId: string;
207
206
  tenantId: string;
208
- conversationId: string;
207
+ content: MessageContent;
209
208
  fromSubAgentId: string | null;
210
209
  toSubAgentId: string | null;
211
210
  fromExternalAgentId: string | null;
212
211
  toExternalAgentId: string | null;
212
+ taskId: string | null;
213
+ a2aTaskId: string | null;
214
+ conversationId: string;
213
215
  fromTeamAgentId: string | null;
214
216
  toTeamAgentId: string | null;
215
217
  visibility: string;
216
218
  messageType: string;
217
- taskId: string | null;
218
219
  parentMessageId: string | null;
219
- a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
43
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -194,7 +194,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
194
194
  name: string;
195
195
  hash: string;
196
196
  } | null;
197
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
197
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
198
198
  scheduledFor: string;
199
199
  startedAt: string | null;
200
200
  completedAt: string | null;
@@ -233,7 +233,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
233
233
  name: string;
234
234
  hash: string;
235
235
  } | null;
236
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
236
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
237
237
  scheduledFor: string;
238
238
  startedAt: string | null;
239
239
  completedAt: string | null;
@@ -285,7 +285,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
285
285
  name: string;
286
286
  hash: string;
287
287
  } | null;
288
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
288
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
289
289
  scheduledFor: string;
290
290
  startedAt: string | null;
291
291
  completedAt: string | null;
@@ -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;
20
21
  projectId: string;
21
22
  tenantId: string;
22
- agentId: string;
23
23
  subAgentId: string;
24
24
  contextId: string;
25
25
  }>;