@inkeep/agents-core 0.0.0-dev-20260221002805 → 0.0.0-dev-20260221201622

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.
@@ -22,10 +22,10 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
22
22
  name: string;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
- projectId: string;
26
- tenantId: string;
27
25
  description: string | null;
28
26
  headers: Record<string, string> | null;
27
+ projectId: string;
28
+ tenantId: string;
29
29
  config: {
30
30
  type: "mcp";
31
31
  mcp: ToolMcpConfig;
@@ -80,10 +80,10 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
80
80
  name: string;
81
81
  createdAt: string;
82
82
  updatedAt: string;
83
- projectId: string;
84
- tenantId: string;
85
83
  description: string | null;
86
84
  headers: Record<string, string> | null;
85
+ projectId: string;
86
+ tenantId: string;
87
87
  config: {
88
88
  type: "mcp";
89
89
  mcp: ToolMcpConfig;
@@ -136,16 +136,16 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
136
136
  id: string;
137
137
  createdAt: string;
138
138
  updatedAt: string;
139
+ headers: Record<string, string> | null;
139
140
  agentId: string;
140
141
  projectId: string;
141
142
  tenantId: string;
142
- subAgentId: string;
143
143
  toolId: string;
144
- headers: Record<string, string> | null;
144
+ subAgentId: string;
145
+ selectedTools: string[] | null;
145
146
  toolPolicies: Record<string, {
146
147
  needsApproval?: boolean;
147
148
  }> | null;
148
- selectedTools: string[] | null;
149
149
  }>;
150
150
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
151
151
  scopes: AgentScopeConfig;
@@ -155,16 +155,16 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  id: string;
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
+ headers: Record<string, string> | null;
158
159
  agentId: string;
159
160
  projectId: string;
160
161
  tenantId: string;
161
- subAgentId: string;
162
162
  toolId: string;
163
- headers: Record<string, string> | null;
163
+ subAgentId: string;
164
+ selectedTools: string[] | null;
164
165
  toolPolicies: Record<string, {
165
166
  needsApproval?: boolean;
166
167
  }> | null;
167
- selectedTools: string[] | null;
168
168
  }>;
169
169
  /**
170
170
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -183,16 +183,16 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  id: string;
184
184
  createdAt: string;
185
185
  updatedAt: string;
186
+ headers: Record<string, string> | null;
186
187
  agentId: string;
187
188
  projectId: string;
188
189
  tenantId: string;
189
- subAgentId: string;
190
190
  toolId: string;
191
- headers: Record<string, string> | null;
191
+ subAgentId: string;
192
+ selectedTools: string[] | null;
192
193
  toolPolicies: Record<string, {
193
194
  needsApproval?: boolean;
194
195
  }> | null;
195
- selectedTools: string[] | null;
196
196
  }>;
197
197
  /**
198
198
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -204,10 +204,10 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
204
204
  name: string;
205
205
  createdAt: string;
206
206
  updatedAt: string;
207
- projectId: string;
208
- tenantId: string;
209
207
  description: string | null;
210
208
  headers: Record<string, string> | null;
209
+ projectId: string;
210
+ tenantId: string;
211
211
  config: {
212
212
  type: "mcp";
213
213
  mcp: ToolMcpConfig;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "header" | "body";
43
+ source: "query" | "body" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "header" | "body";
49
+ source: "body" | "header" | "literal";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
34
34
  }) => Promise<{
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
37
+ status: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
177
+ status: "pending" | "running" | "completed" | "failed" | "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" | "failed" | "running" | "completed" | "cancelled";
211
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
212
212
  scheduledFor: string;
213
213
  startedAt: string | null;
214
214
  completedAt: string | null;
@@ -19,8 +19,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
19
19
  agentId: string;
20
20
  projectId: string;
21
21
  tenantId: string;
22
- contextId: string;
23
22
  subAgentId: string;
23
+ contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;