@inkeep/agents-core 0.0.0-dev-20260105192809 → 0.0.0-dev-20260105194521
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.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +1 -2
- package/dist/constants/otel-attributes.d.ts +2 -0
- package/dist/constants/otel-attributes.js +4 -2
- package/dist/constants/signoz-queries.d.ts +1 -0
- package/dist/constants/signoz-queries.js +2 -1
- package/dist/data-access/agents.d.ts +41 -41
- package/dist/data-access/apiKeys.d.ts +20 -20
- package/dist/data-access/artifactComponents.d.ts +12 -12
- package/dist/data-access/contextConfigs.d.ts +12 -12
- package/dist/data-access/conversations.d.ts +12 -12
- package/dist/data-access/dataComponents.d.ts +6 -6
- package/dist/data-access/functionTools.d.ts +8 -8
- package/dist/data-access/ledgerArtifacts.d.ts +4 -2
- package/dist/data-access/ledgerArtifacts.js +10 -6
- package/dist/data-access/messages.d.ts +18 -18
- package/dist/data-access/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/subAgentRelations.d.ts +26 -26
- 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 +4 -4
- package/dist/data-access/tools.d.ts +27 -27
- package/dist/db/schema.d.ts +288 -288
- package/dist/types/a2a.d.ts +1 -0
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1011 -1011
- package/package.json +1 -1
|
@@ -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
11
|
id: string;
|
|
14
12
|
name: string;
|
|
15
|
-
description: string | null;
|
|
16
|
-
prompt: string | null;
|
|
17
|
-
agentId: string;
|
|
18
13
|
createdAt: string;
|
|
19
14
|
updatedAt: string;
|
|
15
|
+
description: string | null;
|
|
16
|
+
agentId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
tenantId: string;
|
|
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
42
|
id: string;
|
|
45
43
|
name: string;
|
|
46
|
-
description: string | null;
|
|
47
|
-
prompt: string | null;
|
|
48
|
-
agentId: string;
|
|
49
44
|
createdAt: string;
|
|
50
45
|
updatedAt: string;
|
|
46
|
+
description: string | null;
|
|
47
|
+
agentId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
tenantId: string;
|
|
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
111
|
id: string;
|
|
114
112
|
name: string;
|
|
115
|
-
description: string | null;
|
|
116
|
-
prompt: string | null;
|
|
117
|
-
agentId: string;
|
|
118
113
|
createdAt: string;
|
|
119
114
|
updatedAt: string;
|
|
115
|
+
description: string | null;
|
|
116
|
+
agentId: string;
|
|
117
|
+
projectId: string;
|
|
118
|
+
tenantId: string;
|
|
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,15 +6,15 @@ 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;
|
|
15
12
|
metadata: TaskMetadataConfig | null;
|
|
16
|
-
contextId: string;
|
|
17
13
|
status: string;
|
|
14
|
+
agentId: string;
|
|
15
|
+
projectId: string;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
contextId: string;
|
|
18
18
|
subAgentId: string;
|
|
19
19
|
}>;
|
|
20
20
|
declare const getTask: (db: DatabaseClient) => (params: {
|
|
@@ -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;
|
|
17
15
|
id: string;
|
|
18
16
|
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;
|
|
20
23
|
config: {
|
|
21
24
|
type: "mcp";
|
|
22
25
|
mcp: ToolMcpConfig;
|
|
23
26
|
};
|
|
24
27
|
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;
|
|
66
64
|
id: string;
|
|
67
65
|
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;
|
|
69
72
|
config: {
|
|
70
73
|
type: "mcp";
|
|
71
74
|
mcp: ToolMcpConfig;
|
|
72
75
|
};
|
|
73
76
|
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;
|
|
121
119
|
id: string;
|
|
122
|
-
agentId: string;
|
|
123
120
|
createdAt: string;
|
|
124
121
|
updatedAt: string;
|
|
125
|
-
toolId: string;
|
|
126
122
|
headers: Record<string, string> | null;
|
|
123
|
+
agentId: string;
|
|
124
|
+
projectId: string;
|
|
125
|
+
tenantId: string;
|
|
126
|
+
toolId: string;
|
|
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;
|
|
140
138
|
id: string;
|
|
141
|
-
agentId: string;
|
|
142
139
|
createdAt: string;
|
|
143
140
|
updatedAt: string;
|
|
144
|
-
toolId: string;
|
|
145
141
|
headers: Record<string, string> | null;
|
|
142
|
+
agentId: string;
|
|
143
|
+
projectId: string;
|
|
144
|
+
tenantId: string;
|
|
145
|
+
toolId: string;
|
|
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;
|
|
168
166
|
id: string;
|
|
169
|
-
agentId: string;
|
|
170
167
|
createdAt: string;
|
|
171
168
|
updatedAt: string;
|
|
172
|
-
toolId: string;
|
|
173
169
|
headers: Record<string, string> | null;
|
|
170
|
+
agentId: string;
|
|
171
|
+
projectId: string;
|
|
172
|
+
tenantId: string;
|
|
173
|
+
toolId: string;
|
|
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;
|
|
188
186
|
id: string;
|
|
189
187
|
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;
|
|
191
194
|
config: {
|
|
192
195
|
type: "mcp";
|
|
193
196
|
mcp: ToolMcpConfig;
|
|
194
197
|
};
|
|
195
198
|
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;
|