@inkeep/agents-core 0.0.0-dev-20260106221934 → 0.0.0-dev-20260106225040

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.
@@ -8,14 +8,14 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
11
  id: string;
14
- agentId: string;
15
12
  createdAt: string;
16
13
  updatedAt: string;
17
- headers: Record<string, string> | null;
14
+ agentId: string;
15
+ projectId: string;
16
+ tenantId: string;
18
17
  subAgentId: string;
18
+ headers: Record<string, string> | null;
19
19
  targetAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
@@ -43,27 +43,27 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
43
43
  declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
- tenantId: string;
47
- projectId: string;
48
46
  id: string;
49
- agentId: string;
50
47
  createdAt: string;
51
48
  updatedAt: string;
52
- headers: Record<string, string> | null;
49
+ agentId: string;
50
+ projectId: string;
51
+ tenantId: string;
53
52
  subAgentId: string;
53
+ headers: Record<string, string> | null;
54
54
  targetAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
- tenantId: string;
60
- projectId: string;
61
59
  id: string;
62
- agentId: string;
63
60
  createdAt: string;
64
61
  updatedAt: string;
65
- headers: Record<string, string> | null;
62
+ agentId: string;
63
+ projectId: string;
64
+ tenantId: string;
66
65
  subAgentId: string;
66
+ headers: Record<string, string> | null;
67
67
  targetAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: DatabaseClient) => (params: {
@@ -209,14 +209,14 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
209
209
  headers?: Record<string, string> | null;
210
210
  };
211
211
  }) => Promise<{
212
- tenantId: string;
213
- projectId: string;
214
212
  id: string;
215
- agentId: string;
216
213
  createdAt: string;
217
214
  updatedAt: string;
218
- headers: Record<string, string> | null;
215
+ agentId: string;
216
+ projectId: string;
217
+ tenantId: string;
219
218
  subAgentId: string;
219
+ headers: Record<string, string> | null;
220
220
  targetAgentId: string;
221
221
  }>;
222
222
  /**
@@ -226,14 +226,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
226
226
  scopes: SubAgentScopeConfig;
227
227
  targetAgentId: string;
228
228
  }) => Promise<{
229
- tenantId: string;
230
- projectId: string;
231
229
  id: string;
232
- agentId: string;
233
230
  createdAt: string;
234
231
  updatedAt: string;
235
- headers: Record<string, string> | null;
232
+ agentId: string;
233
+ projectId: string;
234
+ tenantId: string;
236
235
  subAgentId: string;
236
+ headers: Record<string, string> | null;
237
237
  targetAgentId: string;
238
238
  } | undefined>;
239
239
  /**
@@ -247,14 +247,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
247
247
  headers?: Record<string, string> | null;
248
248
  };
249
249
  }) => Promise<{
250
- tenantId: string;
251
- projectId: string;
252
250
  id: string;
253
- agentId: string;
254
251
  createdAt: string;
255
252
  updatedAt: string;
256
- headers: Record<string, string> | null;
253
+ agentId: string;
254
+ projectId: string;
255
+ tenantId: string;
257
256
  subAgentId: string;
257
+ headers: Record<string, string> | null;
258
258
  targetAgentId: string;
259
259
  }>;
260
260
  declare const updateSubAgentTeamAgentRelation: (db: DatabaseClient) => (params: {
@@ -8,15 +8,14 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
8
8
  scopes: AgentScopeConfig;
9
9
  subAgentId: string;
10
10
  }) => Promise<{
11
- tenantId: string;
12
- projectId: string;
13
- id: string;
14
11
  name: string;
15
- description: string | null;
16
- prompt: string | null;
17
- agentId: string;
12
+ id: string;
18
13
  createdAt: string;
19
14
  updatedAt: string;
15
+ agentId: string;
16
+ projectId: string;
17
+ tenantId: string;
18
+ description: string | null;
20
19
  models: {
21
20
  base?: {
22
21
  model?: string | undefined;
@@ -31,6 +30,7 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
31
30
  providerOptions?: Record<string, any> | undefined;
32
31
  } | undefined;
33
32
  } | null;
33
+ prompt: string | null;
34
34
  stopWhen: {
35
35
  stepCountIs?: number | undefined;
36
36
  } | null;
@@ -39,15 +39,14 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
39
39
  declare const listSubAgents: (db: DatabaseClient) => (params: {
40
40
  scopes: AgentScopeConfig;
41
41
  }) => Promise<{
42
- tenantId: string;
43
- projectId: string;
44
- id: string;
45
42
  name: string;
46
- description: string | null;
47
- prompt: string | null;
48
- agentId: string;
43
+ id: string;
49
44
  createdAt: string;
50
45
  updatedAt: string;
46
+ agentId: string;
47
+ projectId: string;
48
+ tenantId: string;
49
+ description: string | null;
51
50
  models: {
52
51
  base?: {
53
52
  model?: string | undefined;
@@ -62,6 +61,7 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
62
61
  providerOptions?: Record<string, any> | undefined;
63
62
  } | undefined;
64
63
  } | null;
64
+ prompt: string | null;
65
65
  stopWhen: {
66
66
  stepCountIs?: number | undefined;
67
67
  } | null;
@@ -108,15 +108,14 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
108
108
  };
109
109
  }>;
110
110
  declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
111
- tenantId: string;
112
- projectId: string;
113
- id: string;
114
111
  name: string;
115
- description: string | null;
116
- prompt: string | null;
117
- agentId: string;
112
+ id: string;
118
113
  createdAt: string;
119
114
  updatedAt: string;
115
+ agentId: string;
116
+ projectId: string;
117
+ tenantId: string;
118
+ description: string | null;
120
119
  models: {
121
120
  base?: {
122
121
  model?: string | undefined;
@@ -131,6 +130,7 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
131
130
  providerOptions?: Record<string, any> | undefined;
132
131
  } | undefined;
133
132
  } | null;
133
+ prompt: string | null;
134
134
  stopWhen: {
135
135
  stepCountIs?: number | undefined;
136
136
  } | null;
@@ -6,16 +6,16 @@ import { DatabaseClient } from "../db/client.js";
6
6
 
7
7
  //#region src/data-access/tasks.d.ts
8
8
  declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
9
- tenantId: string;
10
- projectId: string;
11
9
  id: string;
12
- agentId: string;
13
10
  createdAt: string;
14
11
  updatedAt: string;
12
+ agentId: string;
13
+ projectId: string;
14
+ tenantId: string;
15
15
  metadata: TaskMetadataConfig | null;
16
+ contextId: string;
16
17
  status: string;
17
18
  subAgentId: string;
18
- contextId: string;
19
19
  }>;
20
20
  declare const getTask: (db: DatabaseClient) => (params: {
21
21
  id: string;
@@ -12,20 +12,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
12
12
  scopes: ProjectScopeConfig;
13
13
  toolId: string;
14
14
  }) => Promise<{
15
- tenantId: string;
16
- projectId: string;
17
- id: string;
18
15
  name: string;
16
+ id: string;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ projectId: string;
20
+ tenantId: string;
19
21
  description: string | null;
22
+ credentialReferenceId: string | null;
20
23
  config: {
21
24
  type: "mcp";
22
25
  mcp: ToolMcpConfig;
23
26
  };
24
- credentialReferenceId: string | null;
25
- createdAt: string;
26
- updatedAt: string;
27
- headers: Record<string, string> | null;
28
27
  credentialScope: string;
28
+ headers: Record<string, string> | null;
29
29
  imageUrl: string | null;
30
30
  capabilities: ToolServerCapabilities | null;
31
31
  lastError: string | null;
@@ -61,20 +61,20 @@ declare const listTools: (db: DatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
64
- tenantId: string;
65
- projectId: string;
66
- id: string;
67
64
  name: string;
65
+ id: string;
66
+ createdAt: string;
67
+ updatedAt: string;
68
+ projectId: string;
69
+ tenantId: string;
68
70
  description: string | null;
71
+ credentialReferenceId: string | null;
69
72
  config: {
70
73
  type: "mcp";
71
74
  mcp: ToolMcpConfig;
72
75
  };
73
- credentialReferenceId: string | null;
74
- createdAt: string;
75
- updatedAt: string;
76
- headers: Record<string, string> | null;
77
76
  credentialScope: string;
77
+ headers: Record<string, string> | null;
78
78
  imageUrl: string | null;
79
79
  capabilities: ToolServerCapabilities | null;
80
80
  lastError: string | null;
@@ -116,38 +116,38 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
116
116
  needsApproval?: boolean;
117
117
  }> | null;
118
118
  }) => Promise<{
119
- tenantId: string;
120
- projectId: string;
121
119
  id: string;
122
- agentId: string;
123
120
  createdAt: string;
124
121
  updatedAt: string;
122
+ agentId: string;
123
+ projectId: string;
124
+ tenantId: string;
125
125
  toolId: string;
126
+ subAgentId: string;
126
127
  headers: Record<string, string> | null;
128
+ selectedTools: string[] | null;
127
129
  toolPolicies: Record<string, {
128
130
  needsApproval?: boolean;
129
131
  }> | null;
130
- subAgentId: string;
131
- selectedTools: string[] | null;
132
132
  }>;
133
133
  declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
134
134
  scopes: AgentScopeConfig;
135
135
  subAgentId: string;
136
136
  toolId: string;
137
137
  }) => Promise<{
138
- tenantId: string;
139
- projectId: string;
140
138
  id: string;
141
- agentId: string;
142
139
  createdAt: string;
143
140
  updatedAt: string;
141
+ agentId: string;
142
+ projectId: string;
143
+ tenantId: string;
144
144
  toolId: string;
145
+ subAgentId: string;
145
146
  headers: Record<string, string> | null;
147
+ selectedTools: string[] | null;
146
148
  toolPolicies: Record<string, {
147
149
  needsApproval?: boolean;
148
150
  }> | null;
149
- subAgentId: string;
150
- selectedTools: string[] | null;
151
151
  }>;
152
152
  /**
153
153
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -163,19 +163,19 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
163
163
  }> | null;
164
164
  relationId?: string;
165
165
  }) => Promise<{
166
- tenantId: string;
167
- projectId: string;
168
166
  id: string;
169
- agentId: string;
170
167
  createdAt: string;
171
168
  updatedAt: string;
169
+ agentId: string;
170
+ projectId: string;
171
+ tenantId: string;
172
172
  toolId: string;
173
+ subAgentId: string;
173
174
  headers: Record<string, string> | null;
175
+ selectedTools: string[] | null;
174
176
  toolPolicies: Record<string, {
175
177
  needsApproval?: boolean;
176
178
  }> | null;
177
- subAgentId: string;
178
- selectedTools: string[] | null;
179
179
  }>;
180
180
  /**
181
181
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -183,20 +183,20 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
183
183
  declare const upsertTool: (db: DatabaseClient) => (params: {
184
184
  data: ToolInsert;
185
185
  }) => Promise<{
186
- tenantId: string;
187
- projectId: string;
188
- id: string;
189
186
  name: string;
187
+ id: string;
188
+ createdAt: string;
189
+ updatedAt: string;
190
+ projectId: string;
191
+ tenantId: string;
190
192
  description: string | null;
193
+ credentialReferenceId: string | null;
191
194
  config: {
192
195
  type: "mcp";
193
196
  mcp: ToolMcpConfig;
194
197
  };
195
- credentialReferenceId: string | null;
196
- createdAt: string;
197
- updatedAt: string;
198
- headers: Record<string, string> | null;
199
198
  credentialScope: string;
199
+ headers: Record<string, string> | null;
200
200
  imageUrl: string | null;
201
201
  capabilities: ToolServerCapabilities | null;
202
202
  lastError: string | null;