@inkeep/agents-core 0.0.0-dev-20260105194521 → 0.0.0-dev-20260105201718

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.
@@ -6,14 +6,14 @@ 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;
9
11
  id: string;
12
+ agentId: string;
10
13
  createdAt: string;
11
14
  updatedAt: string;
12
15
  metadata: TaskMetadataConfig | null;
13
16
  status: string;
14
- agentId: string;
15
- projectId: string;
16
- tenantId: string;
17
17
  contextId: string;
18
18
  subAgentId: string;
19
19
  }>;
@@ -12,19 +12,19 @@ declare const getToolById: (db: DatabaseClient) => (params: {
12
12
  scopes: ProjectScopeConfig;
13
13
  toolId: string;
14
14
  }) => Promise<{
15
+ tenantId: string;
16
+ projectId: string;
15
17
  id: string;
16
18
  name: string;
17
- createdAt: string;
18
- updatedAt: string;
19
19
  description: string | null;
20
- headers: Record<string, string> | null;
21
- projectId: string;
22
- tenantId: string;
23
20
  config: {
24
21
  type: "mcp";
25
22
  mcp: ToolMcpConfig;
26
23
  };
27
24
  credentialReferenceId: string | null;
25
+ createdAt: string;
26
+ updatedAt: string;
27
+ headers: Record<string, string> | null;
28
28
  credentialScope: string;
29
29
  imageUrl: string | null;
30
30
  capabilities: ToolServerCapabilities | null;
@@ -61,19 +61,19 @@ 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;
64
66
  id: string;
65
67
  name: string;
66
- createdAt: string;
67
- updatedAt: string;
68
68
  description: string | null;
69
- headers: Record<string, string> | null;
70
- projectId: string;
71
- tenantId: string;
72
69
  config: {
73
70
  type: "mcp";
74
71
  mcp: ToolMcpConfig;
75
72
  };
76
73
  credentialReferenceId: string | null;
74
+ createdAt: string;
75
+ updatedAt: string;
76
+ headers: Record<string, string> | null;
77
77
  credentialScope: string;
78
78
  imageUrl: string | null;
79
79
  capabilities: ToolServerCapabilities | null;
@@ -116,14 +116,14 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
116
116
  needsApproval?: boolean;
117
117
  }> | null;
118
118
  }) => Promise<{
119
+ tenantId: string;
120
+ projectId: string;
119
121
  id: string;
122
+ agentId: string;
120
123
  createdAt: string;
121
124
  updatedAt: string;
122
- headers: Record<string, string> | null;
123
- agentId: string;
124
- projectId: string;
125
- tenantId: string;
126
125
  toolId: string;
126
+ headers: Record<string, string> | null;
127
127
  toolPolicies: Record<string, {
128
128
  needsApproval?: boolean;
129
129
  }> | null;
@@ -135,14 +135,14 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
135
135
  subAgentId: string;
136
136
  toolId: string;
137
137
  }) => Promise<{
138
+ tenantId: string;
139
+ projectId: string;
138
140
  id: string;
141
+ agentId: string;
139
142
  createdAt: string;
140
143
  updatedAt: string;
141
- headers: Record<string, string> | null;
142
- agentId: string;
143
- projectId: string;
144
- tenantId: string;
145
144
  toolId: string;
145
+ headers: Record<string, string> | null;
146
146
  toolPolicies: Record<string, {
147
147
  needsApproval?: boolean;
148
148
  }> | null;
@@ -163,14 +163,14 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
163
163
  }> | null;
164
164
  relationId?: string;
165
165
  }) => Promise<{
166
+ tenantId: string;
167
+ projectId: string;
166
168
  id: string;
169
+ agentId: string;
167
170
  createdAt: string;
168
171
  updatedAt: string;
169
- headers: Record<string, string> | null;
170
- agentId: string;
171
- projectId: string;
172
- tenantId: string;
173
172
  toolId: string;
173
+ headers: Record<string, string> | null;
174
174
  toolPolicies: Record<string, {
175
175
  needsApproval?: boolean;
176
176
  }> | null;
@@ -183,19 +183,19 @@ 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;
186
188
  id: string;
187
189
  name: string;
188
- createdAt: string;
189
- updatedAt: string;
190
190
  description: string | null;
191
- headers: Record<string, string> | null;
192
- projectId: string;
193
- tenantId: string;
194
191
  config: {
195
192
  type: "mcp";
196
193
  mcp: ToolMcpConfig;
197
194
  };
198
195
  credentialReferenceId: string | null;
196
+ createdAt: string;
197
+ updatedAt: string;
198
+ headers: Record<string, string> | null;
199
199
  credentialScope: string;
200
200
  imageUrl: string | null;
201
201
  capabilities: ToolServerCapabilities | null;