@inkeep/agents-core 0.0.0-dev-20260407215434 → 0.0.0-dev-20260407230245
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 +86 -86
- package/dist/auth/auth-validation-schemas.d.ts +137 -137
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +37 -37
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- package/dist/data-access/manage/contextConfigs.d.ts +16 -16
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/skills.d.ts +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +22 -22
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- 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 +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/apps.d.ts +10 -10
- package/dist/data-access/runtime/conversations.d.ts +32 -32
- package/dist/data-access/runtime/feedback.d.ts +4 -4
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +8 -8
- package/dist/db/manage/manage-schema.d.ts +354 -354
- package/dist/db/runtime/runtime-schema.d.ts +369 -369
- package/dist/dolt/ref-scope.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils/logger.d.ts +21 -2
- package/dist/utils/logger.js +62 -10
- package/dist/validation/schemas/skills.d.ts +42 -42
- package/dist/validation/schemas.d.ts +2034 -2034
- package/package.json +1 -1
|
@@ -15,20 +15,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
+
metadata: ConversationMetadata | null;
|
|
19
|
+
userId: string | null;
|
|
18
20
|
id: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedAt: string;
|
|
23
|
+
title: string | null;
|
|
24
|
+
tenantId: string;
|
|
25
|
+
projectId: string;
|
|
26
|
+
agentId: string | null;
|
|
19
27
|
ref: {
|
|
20
28
|
type: "commit" | "tag" | "branch";
|
|
21
29
|
name: string;
|
|
22
30
|
hash: string;
|
|
23
31
|
} | null;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
updatedAt: string;
|
|
26
|
-
agentId: string | null;
|
|
27
|
-
projectId: string;
|
|
28
|
-
tenantId: string;
|
|
29
|
-
title: string | null;
|
|
30
|
-
metadata: ConversationMetadata | null;
|
|
31
|
-
userId: string | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
34
34
|
}>;
|
|
@@ -84,20 +84,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
+
metadata: ConversationMetadata | null;
|
|
88
|
+
userId: string | null;
|
|
87
89
|
id: string;
|
|
90
|
+
createdAt: string;
|
|
91
|
+
updatedAt: string;
|
|
92
|
+
title: string | null;
|
|
93
|
+
tenantId: string;
|
|
94
|
+
projectId: string;
|
|
95
|
+
agentId: string | null;
|
|
88
96
|
ref: {
|
|
89
97
|
type: "commit" | "tag" | "branch";
|
|
90
98
|
name: string;
|
|
91
99
|
hash: string;
|
|
92
100
|
} | null;
|
|
93
|
-
createdAt: string;
|
|
94
|
-
updatedAt: string;
|
|
95
|
-
agentId: string | null;
|
|
96
|
-
projectId: string;
|
|
97
|
-
tenantId: string;
|
|
98
|
-
title: string | null;
|
|
99
|
-
metadata: ConversationMetadata | null;
|
|
100
|
-
userId: string | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
103
103
|
} | undefined>;
|
|
@@ -120,20 +120,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
+
metadata: ConversationMetadata | null;
|
|
124
|
+
userId: string | null;
|
|
123
125
|
id: string;
|
|
126
|
+
createdAt: string;
|
|
127
|
+
updatedAt: string;
|
|
128
|
+
title: string | null;
|
|
129
|
+
tenantId: string;
|
|
130
|
+
projectId: string;
|
|
131
|
+
agentId: string | null;
|
|
124
132
|
ref: {
|
|
125
133
|
type: "commit" | "tag" | "branch";
|
|
126
134
|
name: string;
|
|
127
135
|
hash: string;
|
|
128
136
|
} | null;
|
|
129
|
-
createdAt: string;
|
|
130
|
-
updatedAt: string;
|
|
131
|
-
agentId: string | null;
|
|
132
|
-
projectId: string;
|
|
133
|
-
tenantId: string;
|
|
134
|
-
title: string | null;
|
|
135
|
-
metadata: ConversationMetadata | null;
|
|
136
|
-
userId: string | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
139
139
|
}>;
|
|
@@ -152,20 +152,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
+
metadata: ConversationMetadata | null;
|
|
156
|
+
userId: string | null;
|
|
155
157
|
id: string;
|
|
158
|
+
createdAt: string;
|
|
159
|
+
updatedAt: string;
|
|
160
|
+
title: string | null;
|
|
161
|
+
tenantId: string;
|
|
162
|
+
projectId: string;
|
|
163
|
+
agentId: string | null;
|
|
156
164
|
ref: {
|
|
157
165
|
type: "commit" | "tag" | "branch";
|
|
158
166
|
name: string;
|
|
159
167
|
hash: string;
|
|
160
168
|
} | null;
|
|
161
|
-
createdAt: string;
|
|
162
|
-
updatedAt: string;
|
|
163
|
-
agentId: string | null;
|
|
164
|
-
projectId: string;
|
|
165
|
-
tenantId: string;
|
|
166
|
-
title: string | null;
|
|
167
|
-
metadata: ConversationMetadata | null;
|
|
168
|
-
userId: 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";
|
|
61
62
|
id: string;
|
|
62
63
|
createdAt: string;
|
|
63
64
|
updatedAt: string;
|
|
64
|
-
projectId: string;
|
|
65
65
|
tenantId: string;
|
|
66
|
-
|
|
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";
|
|
90
91
|
id: string;
|
|
91
92
|
createdAt: string;
|
|
92
93
|
updatedAt: string;
|
|
93
|
-
projectId: string;
|
|
94
94
|
tenantId: string;
|
|
95
|
-
|
|
95
|
+
projectId: string;
|
|
96
96
|
details: string | null;
|
|
97
97
|
conversationId: string;
|
|
98
98
|
messageId: string | null;
|
|
@@ -10,14 +10,14 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
+
metadata: MessageMetadata | null;
|
|
14
|
+
role: string;
|
|
13
15
|
id: string;
|
|
14
16
|
createdAt: string;
|
|
15
17
|
updatedAt: string;
|
|
16
|
-
projectId: string;
|
|
17
18
|
tenantId: string;
|
|
18
|
-
|
|
19
|
+
projectId: string;
|
|
19
20
|
content: MessageContent;
|
|
20
|
-
role: string;
|
|
21
21
|
fromSubAgentId: string | null;
|
|
22
22
|
toSubAgentId: string | null;
|
|
23
23
|
fromExternalAgentId: string | null;
|
|
@@ -144,14 +144,14 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
144
144
|
scopes: ProjectScopeConfig;
|
|
145
145
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
146
146
|
}) => Promise<{
|
|
147
|
+
metadata: MessageMetadata | null;
|
|
148
|
+
role: string;
|
|
147
149
|
id: string;
|
|
148
150
|
createdAt: string;
|
|
149
151
|
updatedAt: string;
|
|
150
|
-
projectId: string;
|
|
151
152
|
tenantId: string;
|
|
152
|
-
|
|
153
|
+
projectId: string;
|
|
153
154
|
content: MessageContent;
|
|
154
|
-
role: string;
|
|
155
155
|
fromSubAgentId: string | null;
|
|
156
156
|
toSubAgentId: string | null;
|
|
157
157
|
fromExternalAgentId: string | null;
|
|
@@ -197,14 +197,14 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
scopes: ProjectScopeConfig;
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
+
metadata: MessageMetadata | null;
|
|
201
|
+
role: string;
|
|
200
202
|
id: string;
|
|
201
203
|
createdAt: string;
|
|
202
204
|
updatedAt: string;
|
|
203
|
-
projectId: string;
|
|
204
205
|
tenantId: string;
|
|
205
|
-
|
|
206
|
+
projectId: string;
|
|
206
207
|
content: MessageContent;
|
|
207
|
-
role: string;
|
|
208
208
|
fromSubAgentId: string | null;
|
|
209
209
|
toSubAgentId: string | null;
|
|
210
210
|
fromExternalAgentId: string | null;
|
|
@@ -15,9 +15,9 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
|
|
|
15
15
|
scheduledTriggerId: string;
|
|
16
16
|
userId: string;
|
|
17
17
|
}) => Promise<{
|
|
18
|
+
userId: string;
|
|
18
19
|
createdAt: string;
|
|
19
20
|
tenantId: string;
|
|
20
|
-
userId: string;
|
|
21
21
|
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -7,20 +7,20 @@ 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
|
+
metadata: TaskMetadataConfig | null;
|
|
10
11
|
id: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
status: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
tenantId: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
agentId: string;
|
|
18
|
+
subAgentId: string;
|
|
11
19
|
ref: {
|
|
12
20
|
type: "commit" | "tag" | "branch";
|
|
13
21
|
name: string;
|
|
14
22
|
hash: string;
|
|
15
23
|
} | null;
|
|
16
|
-
createdAt: string;
|
|
17
|
-
updatedAt: string;
|
|
18
|
-
agentId: string;
|
|
19
|
-
projectId: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
metadata: TaskMetadataConfig | null;
|
|
22
|
-
subAgentId: string;
|
|
23
|
-
status: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|