@inkeep/agents-core 0.0.0-dev-20260116211102 → 0.0.0-dev-20260117013710
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 +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +25 -25
- 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 +6 -6
- package/dist/data-access/manage/functionTools.d.ts +16 -16
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +34 -34
- 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/runtime/apiKeys.d.ts +20 -20
- package/dist/data-access/runtime/conversations.d.ts +32 -32
- package/dist/data-access/runtime/messages.d.ts +18 -18
- package/dist/data-access/runtime/tasks.d.ts +8 -8
- package/dist/db/manage/manage-schema.d.ts +360 -360
- package/dist/db/runtime/runtime-schema.d.ts +163 -163
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1295 -1295
- package/package.json +2 -4
|
@@ -15,22 +15,22 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
+
tenantId: string;
|
|
19
|
+
projectId: string;
|
|
18
20
|
id: string;
|
|
21
|
+
title: string | null;
|
|
22
|
+
agentId: string | null;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
updatedAt: string;
|
|
25
|
+
userId: string | null;
|
|
26
|
+
metadata: ConversationMetadata | 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
|
-
userId: string | null;
|
|
27
|
-
metadata: ConversationMetadata | null;
|
|
28
|
-
tenantId: string;
|
|
29
|
-
agentId: string | null;
|
|
30
32
|
activeSubAgentId: string;
|
|
31
|
-
title: string | null;
|
|
32
33
|
lastContextResolution: string | null;
|
|
33
|
-
projectId: string;
|
|
34
34
|
}>;
|
|
35
35
|
declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
36
36
|
scopes: ProjectScopeConfig;
|
|
@@ -84,22 +84,22 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
+
tenantId: string;
|
|
88
|
+
projectId: string;
|
|
87
89
|
id: string;
|
|
90
|
+
title: string | null;
|
|
91
|
+
agentId: string | null;
|
|
92
|
+
createdAt: string;
|
|
93
|
+
updatedAt: string;
|
|
94
|
+
userId: string | null;
|
|
95
|
+
metadata: ConversationMetadata | 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
|
-
userId: string | null;
|
|
96
|
-
metadata: ConversationMetadata | null;
|
|
97
|
-
tenantId: string;
|
|
98
|
-
agentId: string | null;
|
|
99
101
|
activeSubAgentId: string;
|
|
100
|
-
title: string | null;
|
|
101
102
|
lastContextResolution: string | null;
|
|
102
|
-
projectId: string;
|
|
103
103
|
} | undefined>;
|
|
104
104
|
declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
105
105
|
activeSubAgentId: string;
|
|
@@ -120,22 +120,22 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
+
tenantId: string;
|
|
124
|
+
projectId: string;
|
|
123
125
|
id: string;
|
|
126
|
+
title: string | null;
|
|
127
|
+
agentId: string | null;
|
|
128
|
+
createdAt: string;
|
|
129
|
+
updatedAt: string;
|
|
130
|
+
userId: string | null;
|
|
131
|
+
metadata: ConversationMetadata | 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
|
-
userId: string | null;
|
|
132
|
-
metadata: ConversationMetadata | null;
|
|
133
|
-
tenantId: string;
|
|
134
|
-
agentId: string | null;
|
|
135
137
|
activeSubAgentId: string;
|
|
136
|
-
title: string | null;
|
|
137
138
|
lastContextResolution: string | null;
|
|
138
|
-
projectId: string;
|
|
139
139
|
}>;
|
|
140
140
|
/**
|
|
141
141
|
* Get conversation history with filtering and context management
|
|
@@ -152,22 +152,22 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
+
tenantId: string;
|
|
156
|
+
projectId: string;
|
|
155
157
|
id: string;
|
|
158
|
+
title: string | null;
|
|
159
|
+
agentId: string | null;
|
|
160
|
+
createdAt: string;
|
|
161
|
+
updatedAt: string;
|
|
162
|
+
userId: string | null;
|
|
163
|
+
metadata: ConversationMetadata | 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
|
-
userId: string | null;
|
|
164
|
-
metadata: ConversationMetadata | null;
|
|
165
|
-
tenantId: string;
|
|
166
|
-
agentId: string | null;
|
|
167
169
|
activeSubAgentId: string;
|
|
168
|
-
title: string | null;
|
|
169
170
|
lastContextResolution: string | null;
|
|
170
|
-
projectId: string;
|
|
171
171
|
} | undefined>;
|
|
172
172
|
/**
|
|
173
173
|
* Set active agent for a conversation (upsert operation)
|
|
@@ -9,26 +9,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
tenantId: string;
|
|
13
|
+
projectId: string;
|
|
12
14
|
id: string;
|
|
13
15
|
createdAt: string;
|
|
14
16
|
updatedAt: string;
|
|
15
17
|
metadata: MessageMetadata | null;
|
|
18
|
+
content: MessageContent;
|
|
16
19
|
role: string;
|
|
17
|
-
tenantId: string;
|
|
18
|
-
projectId: string;
|
|
19
|
-
conversationId: string;
|
|
20
20
|
fromSubAgentId: string | null;
|
|
21
21
|
toSubAgentId: string | null;
|
|
22
22
|
fromExternalAgentId: string | null;
|
|
23
23
|
toExternalAgentId: string | null;
|
|
24
|
+
taskId: string | null;
|
|
25
|
+
a2aTaskId: string | null;
|
|
26
|
+
conversationId: string;
|
|
24
27
|
fromTeamAgentId: string | null;
|
|
25
28
|
toTeamAgentId: string | null;
|
|
26
|
-
content: MessageContent;
|
|
27
29
|
visibility: string;
|
|
28
30
|
messageType: string;
|
|
29
|
-
taskId: string | null;
|
|
30
31
|
parentMessageId: string | null;
|
|
31
|
-
a2aTaskId: string | null;
|
|
32
32
|
a2aSessionId: string | null;
|
|
33
33
|
} | undefined>;
|
|
34
34
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -140,26 +140,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
140
140
|
id: string;
|
|
141
141
|
}[]>;
|
|
142
142
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
143
|
+
tenantId: string;
|
|
144
|
+
projectId: string;
|
|
143
145
|
id: string;
|
|
144
146
|
createdAt: string;
|
|
145
147
|
updatedAt: string;
|
|
146
148
|
metadata: MessageMetadata | null;
|
|
149
|
+
content: MessageContent;
|
|
147
150
|
role: string;
|
|
148
|
-
tenantId: string;
|
|
149
|
-
projectId: string;
|
|
150
|
-
conversationId: string;
|
|
151
151
|
fromSubAgentId: string | null;
|
|
152
152
|
toSubAgentId: string | null;
|
|
153
153
|
fromExternalAgentId: string | null;
|
|
154
154
|
toExternalAgentId: string | null;
|
|
155
|
+
taskId: string | null;
|
|
156
|
+
a2aTaskId: string | null;
|
|
157
|
+
conversationId: string;
|
|
155
158
|
fromTeamAgentId: string | null;
|
|
156
159
|
toTeamAgentId: string | null;
|
|
157
|
-
content: MessageContent;
|
|
158
160
|
visibility: string;
|
|
159
161
|
messageType: string;
|
|
160
|
-
taskId: string | null;
|
|
161
162
|
parentMessageId: string | null;
|
|
162
|
-
a2aTaskId: string | null;
|
|
163
163
|
a2aSessionId: string | null;
|
|
164
164
|
}>;
|
|
165
165
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -193,26 +193,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
+
tenantId: string;
|
|
197
|
+
projectId: string;
|
|
196
198
|
id: string;
|
|
197
199
|
createdAt: string;
|
|
198
200
|
updatedAt: string;
|
|
199
201
|
metadata: MessageMetadata | null;
|
|
202
|
+
content: MessageContent;
|
|
200
203
|
role: string;
|
|
201
|
-
tenantId: string;
|
|
202
|
-
projectId: string;
|
|
203
|
-
conversationId: string;
|
|
204
204
|
fromSubAgentId: string | null;
|
|
205
205
|
toSubAgentId: string | null;
|
|
206
206
|
fromExternalAgentId: string | null;
|
|
207
207
|
toExternalAgentId: string | null;
|
|
208
|
+
taskId: string | null;
|
|
209
|
+
a2aTaskId: string | null;
|
|
210
|
+
conversationId: string;
|
|
208
211
|
fromTeamAgentId: string | null;
|
|
209
212
|
toTeamAgentId: string | null;
|
|
210
|
-
content: MessageContent;
|
|
211
213
|
visibility: string;
|
|
212
214
|
messageType: string;
|
|
213
|
-
taskId: string | null;
|
|
214
215
|
parentMessageId: string | null;
|
|
215
|
-
a2aTaskId: string | null;
|
|
216
216
|
a2aSessionId: string | null;
|
|
217
217
|
}>;
|
|
218
218
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -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
|
+
tenantId: string;
|
|
10
|
+
projectId: string;
|
|
9
11
|
id: string;
|
|
12
|
+
agentId: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
metadata: TaskMetadataConfig | null;
|
|
16
|
+
status: string;
|
|
10
17
|
ref: {
|
|
11
18
|
type: "commit" | "tag" | "branch";
|
|
12
19
|
name: string;
|
|
13
20
|
hash: string;
|
|
14
21
|
} | null;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
status: string;
|
|
18
|
-
metadata: TaskMetadataConfig | null;
|
|
19
|
-
tenantId: string;
|
|
20
|
-
agentId: string;
|
|
21
|
-
projectId: string;
|
|
22
|
-
contextId: string;
|
|
23
22
|
subAgentId: string;
|
|
23
|
+
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|