@inkeep/agents-core 0.0.0-dev-20260121184116 → 0.0.0-dev-20260121211317
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 +22 -22
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +0 -1
- package/dist/data-access/manage/agents.d.ts +21 -21
- package/dist/data-access/manage/artifactComponents.d.ts +12 -12
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +8 -8
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
- 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 +33 -33
- package/dist/data-access/manage/tools.js +2 -16
- package/dist/data-access/runtime/apiKeys.d.ts +20 -20
- package/dist/data-access/runtime/conversations.d.ts +24 -24
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/tasks.d.ts +7 -7
- package/dist/db/manage/manage-schema.d.ts +375 -375
- package/dist/db/runtime/runtime-schema.d.ts +175 -175
- package/dist/validation/schemas.d.ts +1274 -1274
- package/package.json +1 -2
- package/dist/db/migrations/cleanup-old-trigger-auth.d.ts +0 -1
- package/dist/db/migrations/cleanup-old-trigger-auth.js +0 -68
|
@@ -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
|
-
id: string;
|
|
19
18
|
tenantId: string;
|
|
19
|
+
projectId: string;
|
|
20
|
+
id: string;
|
|
21
|
+
title: string | null;
|
|
22
|
+
agentId: string | null;
|
|
20
23
|
createdAt: string;
|
|
24
|
+
updatedAt: string;
|
|
25
|
+
userId: string | null;
|
|
21
26
|
metadata: ConversationMetadata | null;
|
|
22
|
-
title: string | null;
|
|
23
27
|
ref: {
|
|
24
28
|
type: "commit" | "tag" | "branch";
|
|
25
29
|
name: string;
|
|
26
30
|
hash: string;
|
|
27
31
|
} | null;
|
|
28
|
-
updatedAt: string;
|
|
29
|
-
agentId: string | null;
|
|
30
|
-
projectId: string;
|
|
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
|
-
id: string;
|
|
88
87
|
tenantId: string;
|
|
88
|
+
projectId: string;
|
|
89
|
+
id: string;
|
|
90
|
+
title: string | null;
|
|
91
|
+
agentId: string | null;
|
|
89
92
|
createdAt: string;
|
|
93
|
+
updatedAt: string;
|
|
94
|
+
userId: string | null;
|
|
90
95
|
metadata: ConversationMetadata | null;
|
|
91
|
-
title: string | null;
|
|
92
96
|
ref: {
|
|
93
97
|
type: "commit" | "tag" | "branch";
|
|
94
98
|
name: string;
|
|
95
99
|
hash: string;
|
|
96
100
|
} | null;
|
|
97
|
-
updatedAt: string;
|
|
98
|
-
agentId: string | null;
|
|
99
|
-
projectId: string;
|
|
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
|
-
id: string;
|
|
124
123
|
tenantId: string;
|
|
124
|
+
projectId: string;
|
|
125
|
+
id: string;
|
|
126
|
+
title: string | null;
|
|
127
|
+
agentId: string | null;
|
|
125
128
|
createdAt: string;
|
|
129
|
+
updatedAt: string;
|
|
130
|
+
userId: string | null;
|
|
126
131
|
metadata: ConversationMetadata | null;
|
|
127
|
-
title: string | null;
|
|
128
132
|
ref: {
|
|
129
133
|
type: "commit" | "tag" | "branch";
|
|
130
134
|
name: string;
|
|
131
135
|
hash: string;
|
|
132
136
|
} | null;
|
|
133
|
-
updatedAt: string;
|
|
134
|
-
agentId: string | null;
|
|
135
|
-
projectId: string;
|
|
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
|
-
id: string;
|
|
156
155
|
tenantId: string;
|
|
156
|
+
projectId: string;
|
|
157
|
+
id: string;
|
|
158
|
+
title: string | null;
|
|
159
|
+
agentId: string | null;
|
|
157
160
|
createdAt: string;
|
|
161
|
+
updatedAt: string;
|
|
162
|
+
userId: string | null;
|
|
158
163
|
metadata: ConversationMetadata | null;
|
|
159
|
-
title: string | null;
|
|
160
164
|
ref: {
|
|
161
165
|
type: "commit" | "tag" | "branch";
|
|
162
166
|
name: string;
|
|
163
167
|
hash: string;
|
|
164
168
|
} | null;
|
|
165
|
-
updatedAt: string;
|
|
166
|
-
agentId: string | null;
|
|
167
|
-
projectId: string;
|
|
168
|
-
userId: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
171
171
|
} | undefined>;
|
|
@@ -9,21 +9,21 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
-
id: string;
|
|
13
12
|
tenantId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
id: string;
|
|
14
15
|
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
15
17
|
metadata: MessageMetadata | null;
|
|
16
18
|
content: MessageContent;
|
|
17
|
-
|
|
18
|
-
projectId: string;
|
|
19
|
-
conversationId: string;
|
|
19
|
+
role: string;
|
|
20
20
|
fromSubAgentId: string | null;
|
|
21
21
|
toSubAgentId: string | null;
|
|
22
22
|
fromExternalAgentId: string | null;
|
|
23
23
|
toExternalAgentId: string | null;
|
|
24
24
|
taskId: string | null;
|
|
25
25
|
a2aTaskId: string | null;
|
|
26
|
-
|
|
26
|
+
conversationId: string;
|
|
27
27
|
fromTeamAgentId: string | null;
|
|
28
28
|
toTeamAgentId: string | null;
|
|
29
29
|
visibility: string;
|
|
@@ -140,21 +140,21 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
140
140
|
id: string;
|
|
141
141
|
}[]>;
|
|
142
142
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
143
|
-
id: string;
|
|
144
143
|
tenantId: string;
|
|
144
|
+
projectId: string;
|
|
145
|
+
id: string;
|
|
145
146
|
createdAt: string;
|
|
147
|
+
updatedAt: string;
|
|
146
148
|
metadata: MessageMetadata | null;
|
|
147
149
|
content: MessageContent;
|
|
148
|
-
|
|
149
|
-
projectId: string;
|
|
150
|
-
conversationId: string;
|
|
150
|
+
role: string;
|
|
151
151
|
fromSubAgentId: string | null;
|
|
152
152
|
toSubAgentId: string | null;
|
|
153
153
|
fromExternalAgentId: string | null;
|
|
154
154
|
toExternalAgentId: string | null;
|
|
155
155
|
taskId: string | null;
|
|
156
156
|
a2aTaskId: string | null;
|
|
157
|
-
|
|
157
|
+
conversationId: string;
|
|
158
158
|
fromTeamAgentId: string | null;
|
|
159
159
|
toTeamAgentId: string | null;
|
|
160
160
|
visibility: string;
|
|
@@ -193,21 +193,21 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
-
id: string;
|
|
197
196
|
tenantId: string;
|
|
197
|
+
projectId: string;
|
|
198
|
+
id: string;
|
|
198
199
|
createdAt: string;
|
|
200
|
+
updatedAt: string;
|
|
199
201
|
metadata: MessageMetadata | null;
|
|
200
202
|
content: MessageContent;
|
|
201
|
-
|
|
202
|
-
projectId: string;
|
|
203
|
-
conversationId: string;
|
|
203
|
+
role: string;
|
|
204
204
|
fromSubAgentId: string | null;
|
|
205
205
|
toSubAgentId: string | null;
|
|
206
206
|
fromExternalAgentId: string | null;
|
|
207
207
|
toExternalAgentId: string | null;
|
|
208
208
|
taskId: string | null;
|
|
209
209
|
a2aTaskId: string | null;
|
|
210
|
-
|
|
210
|
+
conversationId: string;
|
|
211
211
|
fromTeamAgentId: string | null;
|
|
212
212
|
toTeamAgentId: string | null;
|
|
213
213
|
visibility: string;
|
|
@@ -6,21 +6,21 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
6
6
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
|
-
id: string;
|
|
10
9
|
tenantId: string;
|
|
10
|
+
projectId: string;
|
|
11
|
+
id: string;
|
|
12
|
+
agentId: string;
|
|
11
13
|
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
12
15
|
metadata: TaskMetadataConfig | null;
|
|
13
|
-
|
|
16
|
+
subAgentId: string;
|
|
17
|
+
status: string;
|
|
14
18
|
ref: {
|
|
15
19
|
type: "commit" | "tag" | "branch";
|
|
16
20
|
name: string;
|
|
17
21
|
hash: string;
|
|
18
22
|
} | null;
|
|
19
|
-
|
|
20
|
-
updatedAt: string;
|
|
21
|
-
subAgentId: string;
|
|
22
|
-
agentId: string;
|
|
23
|
-
projectId: string;
|
|
23
|
+
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|