@inkeep/agents-core 0.0.0-dev-20251224012333 → 0.0.0-dev-20260102022857
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.
- package/dist/auth/auth-schema.d.ts +104 -104
- package/dist/auth/auth-validation-schemas.d.ts +129 -129
- package/dist/auth/auth.d.ts +37 -37
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +1 -2
- package/dist/data-access/agents.d.ts +41 -41
- package/dist/data-access/apiKeys.d.ts +16 -16
- package/dist/data-access/artifactComponents.d.ts +10 -10
- package/dist/data-access/contextConfigs.d.ts +16 -16
- package/dist/data-access/conversations.d.ts +12 -12
- package/dist/data-access/dataComponents.d.ts +4 -4
- package/dist/data-access/functionTools.d.ts +8 -8
- package/dist/data-access/messages.d.ts +9 -9
- package/dist/data-access/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/subAgentRelations.d.ts +22 -22
- package/dist/data-access/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/subAgents.d.ts +15 -15
- package/dist/data-access/tasks.d.ts +3 -3
- package/dist/data-access/tools.d.ts +27 -27
- package/dist/db/schema.d.ts +404 -404
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +322 -322
- package/package.json +1 -1
|
@@ -12,20 +12,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
12
12
|
scopes: ProjectScopeConfig;
|
|
13
13
|
toolId: string;
|
|
14
14
|
}) => Promise<{
|
|
15
|
-
name: string;
|
|
16
15
|
id: string;
|
|
16
|
+
name: string;
|
|
17
17
|
createdAt: string;
|
|
18
18
|
updatedAt: string;
|
|
19
|
-
projectId: string;
|
|
20
|
-
tenantId: string;
|
|
21
19
|
description: string | null;
|
|
20
|
+
headers: Record<string, string> | null;
|
|
21
|
+
tenantId: string;
|
|
22
|
+
projectId: string;
|
|
22
23
|
config: {
|
|
23
24
|
type: "mcp";
|
|
24
25
|
mcp: ToolMcpConfig;
|
|
25
26
|
};
|
|
26
27
|
credentialReferenceId: string | null;
|
|
27
28
|
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
|
-
name: string;
|
|
65
64
|
id: string;
|
|
65
|
+
name: string;
|
|
66
66
|
createdAt: string;
|
|
67
67
|
updatedAt: string;
|
|
68
|
-
projectId: string;
|
|
69
|
-
tenantId: string;
|
|
70
68
|
description: string | null;
|
|
69
|
+
headers: Record<string, string> | null;
|
|
70
|
+
tenantId: string;
|
|
71
|
+
projectId: string;
|
|
71
72
|
config: {
|
|
72
73
|
type: "mcp";
|
|
73
74
|
mcp: ToolMcpConfig;
|
|
74
75
|
};
|
|
75
76
|
credentialReferenceId: string | null;
|
|
76
77
|
credentialScope: string;
|
|
77
|
-
headers: Record<string, string> | null;
|
|
78
78
|
imageUrl: string | null;
|
|
79
79
|
capabilities: ToolServerCapabilities | null;
|
|
80
80
|
lastError: string | null;
|
|
@@ -119,16 +119,16 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
119
119
|
id: string;
|
|
120
120
|
createdAt: string;
|
|
121
121
|
updatedAt: string;
|
|
122
|
-
agentId: string;
|
|
123
|
-
projectId: string;
|
|
124
|
-
tenantId: string;
|
|
125
122
|
headers: Record<string, string> | null;
|
|
123
|
+
tenantId: string;
|
|
124
|
+
projectId: string;
|
|
125
|
+
agentId: string;
|
|
126
126
|
toolId: string;
|
|
127
|
-
subAgentId: string;
|
|
128
|
-
selectedTools: string[] | null;
|
|
129
127
|
toolPolicies: Record<string, {
|
|
130
128
|
needsApproval?: boolean;
|
|
131
129
|
}> | null;
|
|
130
|
+
subAgentId: string;
|
|
131
|
+
selectedTools: string[] | null;
|
|
132
132
|
}>;
|
|
133
133
|
declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
134
134
|
scopes: AgentScopeConfig;
|
|
@@ -138,16 +138,16 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
138
138
|
id: string;
|
|
139
139
|
createdAt: string;
|
|
140
140
|
updatedAt: string;
|
|
141
|
-
agentId: string;
|
|
142
|
-
projectId: string;
|
|
143
|
-
tenantId: string;
|
|
144
141
|
headers: Record<string, string> | null;
|
|
142
|
+
tenantId: string;
|
|
143
|
+
projectId: string;
|
|
144
|
+
agentId: string;
|
|
145
145
|
toolId: string;
|
|
146
|
-
subAgentId: string;
|
|
147
|
-
selectedTools: string[] | null;
|
|
148
146
|
toolPolicies: Record<string, {
|
|
149
147
|
needsApproval?: boolean;
|
|
150
148
|
}> | 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)
|
|
@@ -166,16 +166,16 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
166
166
|
id: string;
|
|
167
167
|
createdAt: string;
|
|
168
168
|
updatedAt: string;
|
|
169
|
-
agentId: string;
|
|
170
|
-
projectId: string;
|
|
171
|
-
tenantId: string;
|
|
172
169
|
headers: Record<string, string> | null;
|
|
170
|
+
tenantId: string;
|
|
171
|
+
projectId: string;
|
|
172
|
+
agentId: string;
|
|
173
173
|
toolId: string;
|
|
174
|
-
subAgentId: string;
|
|
175
|
-
selectedTools: string[] | null;
|
|
176
174
|
toolPolicies: Record<string, {
|
|
177
175
|
needsApproval?: boolean;
|
|
178
176
|
}> | 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
|
-
name: string;
|
|
187
186
|
id: string;
|
|
187
|
+
name: string;
|
|
188
188
|
createdAt: string;
|
|
189
189
|
updatedAt: string;
|
|
190
|
-
projectId: string;
|
|
191
|
-
tenantId: string;
|
|
192
190
|
description: string | null;
|
|
191
|
+
headers: Record<string, string> | null;
|
|
192
|
+
tenantId: string;
|
|
193
|
+
projectId: string;
|
|
193
194
|
config: {
|
|
194
195
|
type: "mcp";
|
|
195
196
|
mcp: ToolMcpConfig;
|
|
196
197
|
};
|
|
197
198
|
credentialReferenceId: string | null;
|
|
198
199
|
credentialScope: string;
|
|
199
|
-
headers: Record<string, string> | null;
|
|
200
200
|
imageUrl: string | null;
|
|
201
201
|
capabilities: ToolServerCapabilities | null;
|
|
202
202
|
lastError: string | null;
|