@inkeep/agents-core 0.0.0-dev-20260225215837 → 0.0.0-dev-20260225221009

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.
@@ -9,9 +9,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
12
  agentId: string;
14
13
  projectId: string;
14
+ tenantId: string;
15
15
  id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
@@ -44,9 +44,9 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
- tenantId: string;
48
47
  agentId: string;
49
48
  projectId: string;
49
+ tenantId: string;
50
50
  id: string;
51
51
  createdAt: string;
52
52
  updatedAt: string;
@@ -57,9 +57,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- tenantId: string;
61
60
  agentId: string;
62
61
  projectId: string;
62
+ tenantId: string;
63
63
  id: string;
64
64
  createdAt: string;
65
65
  updatedAt: string;
@@ -126,9 +126,9 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
126
126
  }[];
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
- tenantId: string;
130
129
  agentId: string;
131
130
  projectId: string;
131
+ tenantId: string;
132
132
  id: string;
133
133
  createdAt: string;
134
134
  updatedAt: string;
@@ -145,9 +145,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
145
145
  targetSubAgentId?: string;
146
146
  relationType: string;
147
147
  }) => Promise<{
148
- tenantId: string;
149
148
  agentId: string;
150
149
  projectId: string;
150
+ tenantId: string;
151
151
  id: string;
152
152
  createdAt: string;
153
153
  updatedAt: string;
@@ -159,9 +159,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
159
159
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
- tenantId: string;
163
162
  agentId: string;
164
163
  projectId: string;
164
+ tenantId: string;
165
165
  id: string;
166
166
  createdAt: string;
167
167
  updatedAt: string;
@@ -204,19 +204,19 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
- tenantId: string;
208
207
  agentId: string;
209
208
  projectId: string;
209
+ tenantId: string;
210
210
  subAgentId: string;
211
211
  id: string;
212
212
  createdAt: string;
213
213
  updatedAt: string;
214
- toolId: string;
215
214
  headers: Record<string, string> | null;
216
- selectedTools: string[] | null;
215
+ toolId: string;
217
216
  toolPolicies: Record<string, {
218
217
  needsApproval?: boolean;
219
218
  }> | null;
219
+ selectedTools: string[] | null;
220
220
  }>;
221
221
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
222
222
  scopes: AgentScopeConfig;
@@ -248,19 +248,19 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
- tenantId: string;
252
251
  agentId: string;
253
252
  projectId: string;
253
+ tenantId: string;
254
254
  subAgentId: string;
255
255
  id: string;
256
256
  createdAt: string;
257
257
  updatedAt: string;
258
- toolId: string;
259
258
  headers: Record<string, string> | null;
260
- selectedTools: string[] | null;
259
+ toolId: string;
261
260
  toolPolicies: Record<string, {
262
261
  needsApproval?: boolean;
263
262
  }> | null;
263
+ selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
266
266
  scopes: SubAgentScopeConfig;
@@ -9,9 +9,9 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
12
  agentId: string;
14
13
  projectId: string;
14
+ tenantId: string;
15
15
  subAgentId: string;
16
16
  id: string;
17
17
  createdAt: string;
@@ -44,9 +44,9 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
44
44
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
- tenantId: string;
48
47
  agentId: string;
49
48
  projectId: string;
49
+ tenantId: string;
50
50
  subAgentId: string;
51
51
  id: string;
52
52
  createdAt: string;
@@ -57,9 +57,9 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- tenantId: string;
61
60
  agentId: string;
62
61
  projectId: string;
62
+ tenantId: string;
63
63
  subAgentId: string;
64
64
  id: string;
65
65
  createdAt: string;
@@ -210,9 +210,9 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
210
210
  headers?: Record<string, string> | null;
211
211
  };
212
212
  }) => Promise<{
213
- tenantId: string;
214
213
  agentId: string;
215
214
  projectId: string;
215
+ tenantId: string;
216
216
  subAgentId: string;
217
217
  id: string;
218
218
  createdAt: string;
@@ -227,9 +227,9 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
227
227
  scopes: SubAgentScopeConfig;
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
- tenantId: string;
231
230
  agentId: string;
232
231
  projectId: string;
232
+ tenantId: string;
233
233
  subAgentId: string;
234
234
  id: string;
235
235
  createdAt: string;
@@ -248,9 +248,9 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
248
248
  headers?: Record<string, string> | null;
249
249
  };
250
250
  }) => Promise<{
251
- tenantId: string;
252
251
  agentId: string;
253
252
  projectId: string;
253
+ tenantId: string;
254
254
  subAgentId: string;
255
255
  id: string;
256
256
  createdAt: string;
@@ -9,11 +9,11 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- name: string;
13
- description: string | null;
14
- tenantId: string;
15
12
  agentId: string;
16
13
  projectId: string;
14
+ tenantId: string;
15
+ description: string | null;
16
+ name: string;
17
17
  id: string;
18
18
  createdAt: string;
19
19
  updatedAt: string;
@@ -40,11 +40,11 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- name: string;
44
- description: string | null;
45
- tenantId: string;
46
43
  agentId: string;
47
44
  projectId: string;
45
+ tenantId: string;
46
+ description: string | null;
47
+ name: string;
48
48
  id: string;
49
49
  createdAt: string;
50
50
  updatedAt: string;
@@ -109,11 +109,11 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- name: string;
113
- description: string | null;
114
- tenantId: string;
115
112
  agentId: string;
116
113
  projectId: string;
114
+ tenantId: string;
115
+ description: string | null;
116
+ name: string;
117
117
  id: string;
118
118
  createdAt: string;
119
119
  updatedAt: string;
@@ -19,20 +19,20 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
- name: string;
23
- description: string | null;
24
- tenantId: string;
25
22
  projectId: string;
23
+ tenantId: string;
24
+ description: string | null;
25
+ name: string;
26
26
  id: string;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- credentialReferenceId: string | null;
29
+ headers: Record<string, string> | null;
30
30
  config: {
31
31
  type: "mcp";
32
32
  mcp: ToolMcpConfig;
33
33
  };
34
+ credentialReferenceId: string | null;
34
35
  credentialScope: string;
35
- headers: Record<string, string> | null;
36
36
  imageUrl: string | null;
37
37
  capabilities: ToolServerCapabilities | null;
38
38
  lastError: string | null;
@@ -77,20 +77,20 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
- name: string;
81
- description: string | null;
82
- tenantId: string;
83
80
  projectId: string;
81
+ tenantId: string;
82
+ description: string | null;
83
+ name: string;
84
84
  id: string;
85
85
  createdAt: string;
86
86
  updatedAt: string;
87
- credentialReferenceId: string | null;
87
+ headers: Record<string, string> | null;
88
88
  config: {
89
89
  type: "mcp";
90
90
  mcp: ToolMcpConfig;
91
91
  };
92
+ credentialReferenceId: string | null;
92
93
  credentialScope: string;
93
- headers: Record<string, string> | null;
94
94
  imageUrl: string | null;
95
95
  capabilities: ToolServerCapabilities | null;
96
96
  lastError: string | null;
@@ -134,38 +134,38 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
134
134
  needsApproval?: boolean;
135
135
  }> | null;
136
136
  }) => Promise<{
137
- tenantId: string;
138
137
  agentId: string;
139
138
  projectId: string;
139
+ tenantId: string;
140
140
  subAgentId: string;
141
141
  id: string;
142
142
  createdAt: string;
143
143
  updatedAt: string;
144
- toolId: string;
145
144
  headers: Record<string, string> | null;
146
- selectedTools: string[] | null;
145
+ toolId: string;
147
146
  toolPolicies: Record<string, {
148
147
  needsApproval?: boolean;
149
148
  }> | null;
149
+ selectedTools: string[] | null;
150
150
  }>;
151
151
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
152
152
  scopes: AgentScopeConfig;
153
153
  subAgentId: string;
154
154
  toolId: string;
155
155
  }) => Promise<{
156
- tenantId: string;
157
156
  agentId: string;
158
157
  projectId: string;
158
+ tenantId: string;
159
159
  subAgentId: string;
160
160
  id: string;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
- toolId: string;
164
163
  headers: Record<string, string> | null;
165
- selectedTools: string[] | null;
164
+ toolId: string;
166
165
  toolPolicies: Record<string, {
167
166
  needsApproval?: boolean;
168
167
  }> | null;
168
+ selectedTools: string[] | null;
169
169
  }>;
170
170
  /**
171
171
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -181,19 +181,19 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
181
181
  }> | null;
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
- tenantId: string;
185
184
  agentId: string;
186
185
  projectId: string;
186
+ tenantId: string;
187
187
  subAgentId: string;
188
188
  id: string;
189
189
  createdAt: string;
190
190
  updatedAt: string;
191
- toolId: string;
192
191
  headers: Record<string, string> | null;
193
- selectedTools: string[] | null;
192
+ toolId: string;
194
193
  toolPolicies: Record<string, {
195
194
  needsApproval?: boolean;
196
195
  }> | null;
196
+ selectedTools: string[] | null;
197
197
  }>;
198
198
  /**
199
199
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -201,20 +201,20 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
- name: string;
205
- description: string | null;
206
- tenantId: string;
207
204
  projectId: string;
205
+ tenantId: string;
206
+ description: string | null;
207
+ name: string;
208
208
  id: string;
209
209
  createdAt: string;
210
210
  updatedAt: string;
211
- credentialReferenceId: string | null;
211
+ headers: Record<string, string> | null;
212
212
  config: {
213
213
  type: "mcp";
214
214
  mcp: ToolMcpConfig;
215
215
  };
216
+ credentialReferenceId: string | null;
216
217
  credentialScope: string;
217
- headers: Record<string, string> | null;
218
218
  imageUrl: string | null;
219
219
  capabilities: ToolServerCapabilities | null;
220
220
  lastError: string | null;
@@ -46,7 +46,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "header" | "literal" | "body";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,10 +8,10 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- name: string | null;
12
- tenantId: string;
13
11
  agentId: string;
14
12
  projectId: string;
13
+ tenantId: string;
14
+ name: string | null;
15
15
  id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
@@ -22,10 +22,10 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- name: string | null;
26
- tenantId: string;
27
25
  agentId: string;
28
26
  projectId: string;
27
+ tenantId: string;
28
+ name: string | null;
29
29
  id: string;
30
30
  createdAt: string;
31
31
  updatedAt: string;
@@ -39,10 +39,10 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- name: string | null;
43
- tenantId: string;
44
42
  agentId: string;
45
43
  projectId: string;
44
+ tenantId: string;
45
+ name: string | null;
46
46
  id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
@@ -66,10 +66,10 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- name: string | null;
70
- tenantId: string;
71
69
  agentId: string;
72
70
  projectId: string;
71
+ tenantId: string;
72
+ name: string | null;
73
73
  id: string;
74
74
  createdAt: string;
75
75
  updatedAt: string;
@@ -16,11 +16,11 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- title: string | null;
20
- tenantId: string;
21
- userId: string | null;
22
19
  agentId: string | null;
23
20
  projectId: string;
21
+ tenantId: string;
22
+ userId: string | null;
23
+ title: string | null;
24
24
  id: string;
25
25
  createdAt: string;
26
26
  updatedAt: string;
@@ -85,11 +85,11 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- title: string | null;
89
- tenantId: string;
90
- userId: string | null;
91
88
  agentId: string | null;
92
89
  projectId: string;
90
+ tenantId: string;
91
+ userId: string | null;
92
+ title: string | null;
93
93
  id: string;
94
94
  createdAt: string;
95
95
  updatedAt: string;
@@ -121,11 +121,11 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- title: string | null;
125
- tenantId: string;
126
- userId: string | null;
127
124
  agentId: string | null;
128
125
  projectId: string;
126
+ tenantId: string;
127
+ userId: string | null;
128
+ title: string | null;
129
129
  id: string;
130
130
  createdAt: string;
131
131
  updatedAt: string;
@@ -153,11 +153,11 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- title: string | null;
157
- tenantId: string;
158
- userId: string | null;
159
156
  agentId: string | null;
160
157
  projectId: string;
158
+ tenantId: string;
159
+ userId: string | null;
160
+ title: string | null;
161
161
  id: string;
162
162
  createdAt: string;
163
163
  updatedAt: string;
@@ -10,8 +10,8 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
- tenantId: string;
14
13
  projectId: string;
14
+ tenantId: string;
15
15
  content: MessageContent;
16
16
  fromSubAgentId: string | null;
17
17
  toSubAgentId: string | null;
@@ -141,8 +141,8 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
- tenantId: string;
145
144
  projectId: string;
145
+ tenantId: string;
146
146
  content: MessageContent;
147
147
  fromSubAgentId: string | null;
148
148
  toSubAgentId: string | null;
@@ -194,8 +194,8 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
- tenantId: string;
198
197
  projectId: string;
198
+ tenantId: string;
199
199
  content: MessageContent;
200
200
  fromSubAgentId: string | null;
201
201
  toSubAgentId: string | null;
@@ -6,9 +6,9 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
6
6
 
7
7
  //#region src/data-access/runtime/tasks.d.ts
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
- tenantId: string;
10
9
  agentId: string;
11
10
  projectId: string;
11
+ tenantId: string;
12
12
  subAgentId: string;
13
13
  id: string;
14
14
  createdAt: string;