@inkeep/agents-core 0.67.4 → 0.68.1
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 +1369 -1
- package/dist/auth/auth-schema.js +139 -6
- package/dist/auth/auth-validation-schemas.d.ts +137 -137
- package/dist/auth/auth.d.ts +2231 -0
- package/dist/auth/auth.js +23 -1
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +41 -41
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +16 -16
- package/dist/data-access/manage/skills.d.ts +11 -11
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +30 -30
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +30 -30
- package/dist/data-access/manage/triggers.d.ts +4 -4
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +11 -11
- package/dist/data-access/runtime/conversations.d.ts +16 -16
- package/dist/data-access/runtime/feedback.d.ts +6 -6
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +457 -457
- package/dist/db/runtime/runtime-schema.d.ts +418 -418
- package/dist/db/runtime/runtime-schema.js +7 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/validation/schemas/skills.d.ts +38 -38
- package/dist/validation/schemas.d.ts +1907 -1907
- package/drizzle/runtime/0036_swift_hammerhead.sql +90 -0
- package/drizzle/runtime/meta/0036_snapshot.json +5915 -0
- package/drizzle/runtime/meta/_journal.json +8 -1
- package/package.json +2 -1
|
@@ -5,16 +5,16 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
|
|
|
5
5
|
|
|
6
6
|
//#region src/data-access/runtime/apps.d.ts
|
|
7
7
|
declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
|
|
8
|
-
type: AppType;
|
|
9
|
-
description: string | null;
|
|
10
|
-
tenantId: string | null;
|
|
11
|
-
projectId: string | null;
|
|
12
8
|
id: string;
|
|
13
9
|
name: string;
|
|
14
10
|
createdAt: string;
|
|
15
11
|
updatedAt: string;
|
|
12
|
+
type: AppType;
|
|
13
|
+
description: string | null;
|
|
16
14
|
enabled: boolean;
|
|
17
15
|
prompt: string | null;
|
|
16
|
+
tenantId: string | null;
|
|
17
|
+
projectId: string | null;
|
|
18
18
|
config: {
|
|
19
19
|
type: "web_client";
|
|
20
20
|
webClient: {
|
|
@@ -22,7 +22,7 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
|
|
|
22
22
|
publicKeys: {
|
|
23
23
|
kid: string;
|
|
24
24
|
publicKey: string;
|
|
25
|
-
algorithm: "
|
|
25
|
+
algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
|
|
26
26
|
addedAt: string;
|
|
27
27
|
}[];
|
|
28
28
|
allowAnonymous: boolean;
|
|
@@ -61,16 +61,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
63
|
declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
|
|
64
|
-
type: AppType;
|
|
65
|
-
description: string | null;
|
|
66
|
-
tenantId: string | null;
|
|
67
|
-
projectId: string | null;
|
|
68
64
|
id: string;
|
|
69
65
|
name: string;
|
|
70
66
|
createdAt: string;
|
|
71
67
|
updatedAt: string;
|
|
68
|
+
type: AppType;
|
|
69
|
+
description: string | null;
|
|
72
70
|
enabled: boolean;
|
|
73
71
|
prompt: string | null;
|
|
72
|
+
tenantId: string | null;
|
|
73
|
+
projectId: string | null;
|
|
74
74
|
config: {
|
|
75
75
|
type: "web_client";
|
|
76
76
|
webClient: {
|
|
@@ -78,7 +78,7 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
|
|
|
78
78
|
publicKeys: {
|
|
79
79
|
kid: string;
|
|
80
80
|
publicKey: string;
|
|
81
|
-
algorithm: "
|
|
81
|
+
algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
|
|
82
82
|
addedAt: string;
|
|
83
83
|
}[];
|
|
84
84
|
allowAnonymous: boolean;
|
|
@@ -148,7 +148,7 @@ declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
148
148
|
publicKeys: {
|
|
149
149
|
kid: string;
|
|
150
150
|
publicKey: string;
|
|
151
|
-
algorithm: "
|
|
151
|
+
algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
|
|
152
152
|
addedAt: string;
|
|
153
153
|
}[];
|
|
154
154
|
allowAnonymous: boolean;
|
|
@@ -15,10 +15,6 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
-
title: string | null;
|
|
19
|
-
tenantId: string;
|
|
20
|
-
projectId: string;
|
|
21
|
-
agentId: string | null;
|
|
22
18
|
id: string;
|
|
23
19
|
createdAt: string;
|
|
24
20
|
updatedAt: string;
|
|
@@ -29,6 +25,10 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
29
25
|
} | null;
|
|
30
26
|
userId: string | null;
|
|
31
27
|
metadata: ConversationMetadata | null;
|
|
28
|
+
title: string | null;
|
|
29
|
+
tenantId: string;
|
|
30
|
+
projectId: string;
|
|
31
|
+
agentId: string | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
@@ -84,10 +84,6 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
-
title: string | null;
|
|
88
|
-
tenantId: string;
|
|
89
|
-
projectId: string;
|
|
90
|
-
agentId: string | null;
|
|
91
87
|
id: string;
|
|
92
88
|
createdAt: string;
|
|
93
89
|
updatedAt: string;
|
|
@@ -98,6 +94,10 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
98
94
|
} | null;
|
|
99
95
|
userId: string | null;
|
|
100
96
|
metadata: ConversationMetadata | null;
|
|
97
|
+
title: string | null;
|
|
98
|
+
tenantId: string;
|
|
99
|
+
projectId: string;
|
|
100
|
+
agentId: string | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
@@ -120,10 +120,6 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
-
title: string | null;
|
|
124
|
-
tenantId: string;
|
|
125
|
-
projectId: string;
|
|
126
|
-
agentId: string | null;
|
|
127
123
|
id: string;
|
|
128
124
|
createdAt: string;
|
|
129
125
|
updatedAt: string;
|
|
@@ -134,6 +130,10 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
134
130
|
} | null;
|
|
135
131
|
userId: string | null;
|
|
136
132
|
metadata: ConversationMetadata | null;
|
|
133
|
+
title: string | null;
|
|
134
|
+
tenantId: string;
|
|
135
|
+
projectId: string;
|
|
136
|
+
agentId: string | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
@@ -152,10 +152,6 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
-
title: string | null;
|
|
156
|
-
tenantId: string;
|
|
157
|
-
projectId: string;
|
|
158
|
-
agentId: string | null;
|
|
159
155
|
id: string;
|
|
160
156
|
createdAt: string;
|
|
161
157
|
updatedAt: string;
|
|
@@ -166,6 +162,10 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
166
162
|
} | null;
|
|
167
163
|
userId: string | null;
|
|
168
164
|
metadata: ConversationMetadata | null;
|
|
165
|
+
title: string | null;
|
|
166
|
+
tenantId: string;
|
|
167
|
+
projectId: string;
|
|
168
|
+
agentId: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -58,12 +58,12 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
58
58
|
total: number;
|
|
59
59
|
}>;
|
|
60
60
|
declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
|
|
61
|
-
type: "positive" | "negative";
|
|
62
|
-
tenantId: string;
|
|
63
|
-
projectId: string;
|
|
64
61
|
id: string;
|
|
65
62
|
createdAt: string;
|
|
66
63
|
updatedAt: string;
|
|
64
|
+
type: "positive" | "negative";
|
|
65
|
+
tenantId: string;
|
|
66
|
+
projectId: string;
|
|
67
67
|
details: string | null;
|
|
68
68
|
conversationId: string;
|
|
69
69
|
messageId: string | null;
|
|
@@ -87,12 +87,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
87
87
|
scopes: ProjectScopeConfig;
|
|
88
88
|
feedbackId: string;
|
|
89
89
|
}) => Promise<{
|
|
90
|
-
type: "positive" | "negative";
|
|
91
|
-
tenantId: string;
|
|
92
|
-
projectId: string;
|
|
93
90
|
id: string;
|
|
94
91
|
createdAt: string;
|
|
95
92
|
updatedAt: string;
|
|
93
|
+
type: "positive" | "negative";
|
|
94
|
+
tenantId: string;
|
|
95
|
+
projectId: string;
|
|
96
96
|
details: string | null;
|
|
97
97
|
conversationId: string;
|
|
98
98
|
messageId: string | null;
|
|
@@ -10,13 +10,13 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
tenantId: string;
|
|
14
|
-
projectId: string;
|
|
15
13
|
id: string;
|
|
16
14
|
createdAt: string;
|
|
17
15
|
updatedAt: string;
|
|
18
16
|
metadata: MessageMetadata | null;
|
|
19
17
|
role: string;
|
|
18
|
+
tenantId: string;
|
|
19
|
+
projectId: string;
|
|
20
20
|
content: MessageContent;
|
|
21
21
|
fromSubAgentId: string | null;
|
|
22
22
|
toSubAgentId: string | null;
|
|
@@ -144,13 +144,13 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
144
144
|
scopes: ProjectScopeConfig;
|
|
145
145
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
146
146
|
}) => Promise<{
|
|
147
|
-
tenantId: string;
|
|
148
|
-
projectId: string;
|
|
149
147
|
id: string;
|
|
150
148
|
createdAt: string;
|
|
151
149
|
updatedAt: string;
|
|
152
150
|
metadata: MessageMetadata | null;
|
|
153
151
|
role: string;
|
|
152
|
+
tenantId: string;
|
|
153
|
+
projectId: string;
|
|
154
154
|
content: MessageContent;
|
|
155
155
|
fromSubAgentId: string | null;
|
|
156
156
|
toSubAgentId: string | null;
|
|
@@ -197,13 +197,13 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
scopes: ProjectScopeConfig;
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
tenantId: string;
|
|
201
|
-
projectId: string;
|
|
202
200
|
id: string;
|
|
203
201
|
createdAt: string;
|
|
204
202
|
updatedAt: string;
|
|
205
203
|
metadata: MessageMetadata | null;
|
|
206
204
|
role: string;
|
|
205
|
+
tenantId: string;
|
|
206
|
+
projectId: string;
|
|
207
207
|
content: MessageContent;
|
|
208
208
|
fromSubAgentId: string | null;
|
|
209
209
|
toSubAgentId: string | null;
|
|
@@ -15,9 +15,9 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
|
|
|
15
15
|
scheduledTriggerId: string;
|
|
16
16
|
userId: string;
|
|
17
17
|
}) => Promise<{
|
|
18
|
-
tenantId: string;
|
|
19
18
|
createdAt: string;
|
|
20
19
|
userId: string;
|
|
20
|
+
tenantId: string;
|
|
21
21
|
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -7,10 +7,6 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
|
|
8
8
|
//#region src/data-access/runtime/tasks.d.ts
|
|
9
9
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
10
|
-
tenantId: string;
|
|
11
|
-
projectId: string;
|
|
12
|
-
agentId: string;
|
|
13
|
-
subAgentId: string;
|
|
14
10
|
id: string;
|
|
15
11
|
createdAt: string;
|
|
16
12
|
updatedAt: string;
|
|
@@ -21,6 +17,10 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
21
17
|
} | null;
|
|
22
18
|
metadata: TaskMetadataConfig | null;
|
|
23
19
|
status: string;
|
|
20
|
+
tenantId: string;
|
|
21
|
+
projectId: string;
|
|
22
|
+
agentId: string;
|
|
23
|
+
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|