@inkeep/agents-core 0.0.0-dev-20260107203842 → 0.0.0-dev-20260108085347
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 +146 -146
- package/dist/auth/auth.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/agents.d.ts +21 -21
- 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 +12 -12
- package/dist/data-access/conversations.d.ts +16 -16
- 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 +12 -12
- package/dist/data-access/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/subAgentRelations.d.ts +28 -28
- package/dist/data-access/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/subAgents.d.ts +15 -15
- package/dist/data-access/tasks.d.ts +4 -4
- package/dist/data-access/tools.d.ts +33 -33
- package/dist/db/schema.d.ts +405 -405
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +821 -821
- 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
|
-
tenantId: string;
|
|
16
|
-
projectId: string;
|
|
17
15
|
id: string;
|
|
18
16
|
name: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
19
|
description: string | null;
|
|
20
|
+
tenantId: string;
|
|
21
|
+
projectId: string;
|
|
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
64
|
id: string;
|
|
67
65
|
name: string;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
updatedAt: string;
|
|
68
68
|
description: string | null;
|
|
69
|
+
tenantId: string;
|
|
70
|
+
projectId: string;
|
|
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
|
+
tenantId: string;
|
|
123
|
+
projectId: string;
|
|
124
|
+
agentId: 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
|
+
tenantId: string;
|
|
142
|
+
projectId: string;
|
|
143
|
+
agentId: 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
|
+
tenantId: string;
|
|
170
|
+
projectId: string;
|
|
171
|
+
agentId: 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
186
|
id: string;
|
|
189
187
|
name: string;
|
|
188
|
+
createdAt: string;
|
|
189
|
+
updatedAt: string;
|
|
190
190
|
description: string | null;
|
|
191
|
+
tenantId: string;
|
|
192
|
+
projectId: string;
|
|
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;
|