@inkeep/agents-core 0.0.0-dev-20260313014132 → 0.0.0-dev-20260315043702
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 +107 -107
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +26 -26
- 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/skills.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 +18 -18
- package/dist/data-access/manage/tools.d.ts +24 -24
- 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 +8 -8
- package/dist/data-access/runtime/conversations.d.ts +35 -35
- 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 +453 -453
- package/dist/db/runtime/runtime-schema.d.ts +330 -330
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +2055 -2055
- package/package.json +1 -1
|
@@ -17,20 +17,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
19
|
id: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
projectId: string;
|
|
22
|
-
agentId: string | null;
|
|
23
|
-
title: string | null;
|
|
24
20
|
createdAt: string;
|
|
25
21
|
updatedAt: string;
|
|
26
|
-
metadata: ConversationMetadata | null;
|
|
27
|
-
userId: string | null;
|
|
28
|
-
activeSubAgentId: string;
|
|
29
22
|
ref: {
|
|
30
|
-
type: "
|
|
23
|
+
type: "tag" | "commit" | "branch";
|
|
31
24
|
name: string;
|
|
32
25
|
hash: string;
|
|
33
26
|
} | null;
|
|
27
|
+
userId: string | null;
|
|
28
|
+
metadata: ConversationMetadata | null;
|
|
29
|
+
title: string | null;
|
|
30
|
+
projectId: string;
|
|
31
|
+
tenantId: string;
|
|
32
|
+
agentId: string | null;
|
|
33
|
+
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
36
36
|
declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
44
44
|
agentId: string | null;
|
|
45
45
|
activeSubAgentId: string;
|
|
46
46
|
ref: {
|
|
47
|
-
type: "
|
|
47
|
+
type: "tag" | "commit" | "branch";
|
|
48
48
|
name: string;
|
|
49
49
|
hash: string;
|
|
50
50
|
} | null;
|
|
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
|
|
|
70
70
|
agentId: string | null;
|
|
71
71
|
activeSubAgentId: string;
|
|
72
72
|
ref: {
|
|
73
|
-
type: "
|
|
73
|
+
type: "tag" | "commit" | "branch";
|
|
74
74
|
name: string;
|
|
75
75
|
hash: string;
|
|
76
76
|
} | null;
|
|
@@ -86,20 +86,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
88
|
id: string;
|
|
89
|
-
tenantId: string;
|
|
90
|
-
projectId: string;
|
|
91
|
-
agentId: string | null;
|
|
92
|
-
title: string | null;
|
|
93
89
|
createdAt: string;
|
|
94
90
|
updatedAt: string;
|
|
95
|
-
metadata: ConversationMetadata | null;
|
|
96
|
-
userId: string | null;
|
|
97
|
-
activeSubAgentId: string;
|
|
98
91
|
ref: {
|
|
99
|
-
type: "
|
|
92
|
+
type: "tag" | "commit" | "branch";
|
|
100
93
|
name: string;
|
|
101
94
|
hash: string;
|
|
102
95
|
} | null;
|
|
96
|
+
userId: string | null;
|
|
97
|
+
metadata: ConversationMetadata | null;
|
|
98
|
+
title: string | null;
|
|
99
|
+
projectId: string;
|
|
100
|
+
tenantId: string;
|
|
101
|
+
agentId: string | null;
|
|
102
|
+
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
105
105
|
declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
|
|
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
108
108
|
tenantId: string;
|
|
109
109
|
id: string;
|
|
110
110
|
ref: {
|
|
111
|
-
type: "
|
|
111
|
+
type: "tag" | "commit" | "branch";
|
|
112
112
|
name: string;
|
|
113
113
|
hash: string;
|
|
114
114
|
};
|
|
@@ -122,20 +122,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
124
|
id: string;
|
|
125
|
-
tenantId: string;
|
|
126
|
-
projectId: string;
|
|
127
|
-
agentId: string | null;
|
|
128
|
-
title: string | null;
|
|
129
125
|
createdAt: string;
|
|
130
126
|
updatedAt: string;
|
|
131
|
-
metadata: ConversationMetadata | null;
|
|
132
|
-
userId: string | null;
|
|
133
|
-
activeSubAgentId: string;
|
|
134
127
|
ref: {
|
|
135
|
-
type: "
|
|
128
|
+
type: "tag" | "commit" | "branch";
|
|
136
129
|
name: string;
|
|
137
130
|
hash: string;
|
|
138
131
|
} | null;
|
|
132
|
+
userId: string | null;
|
|
133
|
+
metadata: ConversationMetadata | null;
|
|
134
|
+
title: string | null;
|
|
135
|
+
projectId: string;
|
|
136
|
+
tenantId: string;
|
|
137
|
+
agentId: string | null;
|
|
138
|
+
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
141
141
|
/**
|
|
@@ -154,20 +154,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
156
|
id: string;
|
|
157
|
-
tenantId: string;
|
|
158
|
-
projectId: string;
|
|
159
|
-
agentId: string | null;
|
|
160
|
-
title: string | null;
|
|
161
157
|
createdAt: string;
|
|
162
158
|
updatedAt: string;
|
|
163
|
-
metadata: ConversationMetadata | null;
|
|
164
|
-
userId: string | null;
|
|
165
|
-
activeSubAgentId: string;
|
|
166
159
|
ref: {
|
|
167
|
-
type: "
|
|
160
|
+
type: "tag" | "commit" | "branch";
|
|
168
161
|
name: string;
|
|
169
162
|
hash: string;
|
|
170
163
|
} | null;
|
|
164
|
+
userId: string | null;
|
|
165
|
+
metadata: ConversationMetadata | null;
|
|
166
|
+
title: string | null;
|
|
167
|
+
projectId: string;
|
|
168
|
+
tenantId: string;
|
|
169
|
+
agentId: string | null;
|
|
170
|
+
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
173
173
|
/**
|
|
@@ -11,23 +11,23 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
13
|
id: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
createdAt: string;
|
|
17
15
|
updatedAt: string;
|
|
18
16
|
metadata: MessageMetadata | null;
|
|
19
|
-
|
|
20
|
-
taskId: string | null;
|
|
21
|
-
visibility: string;
|
|
17
|
+
role: string;
|
|
22
18
|
fromSubAgentId: string | null;
|
|
23
19
|
toSubAgentId: string | null;
|
|
24
20
|
fromExternalAgentId: string | null;
|
|
25
21
|
toExternalAgentId: string | null;
|
|
22
|
+
taskId: string | null;
|
|
26
23
|
a2aTaskId: string | null;
|
|
24
|
+
projectId: string;
|
|
25
|
+
tenantId: string;
|
|
26
|
+
content: MessageContent;
|
|
27
27
|
conversationId: string;
|
|
28
|
-
role: string;
|
|
29
28
|
fromTeamAgentId: string | null;
|
|
30
29
|
toTeamAgentId: string | null;
|
|
30
|
+
visibility: string;
|
|
31
31
|
messageType: string;
|
|
32
32
|
parentMessageId: string | null;
|
|
33
33
|
a2aSessionId: string | null;
|
|
@@ -142,23 +142,23 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
142
142
|
}[]>;
|
|
143
143
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
144
144
|
id: string;
|
|
145
|
-
tenantId: string;
|
|
146
|
-
projectId: string;
|
|
147
145
|
createdAt: string;
|
|
148
146
|
updatedAt: string;
|
|
149
147
|
metadata: MessageMetadata | null;
|
|
150
|
-
|
|
151
|
-
taskId: string | null;
|
|
152
|
-
visibility: string;
|
|
148
|
+
role: string;
|
|
153
149
|
fromSubAgentId: string | null;
|
|
154
150
|
toSubAgentId: string | null;
|
|
155
151
|
fromExternalAgentId: string | null;
|
|
156
152
|
toExternalAgentId: string | null;
|
|
153
|
+
taskId: string | null;
|
|
157
154
|
a2aTaskId: string | null;
|
|
155
|
+
projectId: string;
|
|
156
|
+
tenantId: string;
|
|
157
|
+
content: MessageContent;
|
|
158
158
|
conversationId: string;
|
|
159
|
-
role: string;
|
|
160
159
|
fromTeamAgentId: string | null;
|
|
161
160
|
toTeamAgentId: string | null;
|
|
161
|
+
visibility: string;
|
|
162
162
|
messageType: string;
|
|
163
163
|
parentMessageId: string | null;
|
|
164
164
|
a2aSessionId: string | null;
|
|
@@ -195,23 +195,23 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
195
195
|
messageId: string;
|
|
196
196
|
}) => Promise<{
|
|
197
197
|
id: string;
|
|
198
|
-
tenantId: string;
|
|
199
|
-
projectId: string;
|
|
200
198
|
createdAt: string;
|
|
201
199
|
updatedAt: string;
|
|
202
200
|
metadata: MessageMetadata | null;
|
|
203
|
-
|
|
204
|
-
taskId: string | null;
|
|
205
|
-
visibility: string;
|
|
201
|
+
role: string;
|
|
206
202
|
fromSubAgentId: string | null;
|
|
207
203
|
toSubAgentId: string | null;
|
|
208
204
|
fromExternalAgentId: string | null;
|
|
209
205
|
toExternalAgentId: string | null;
|
|
206
|
+
taskId: string | null;
|
|
210
207
|
a2aTaskId: string | null;
|
|
208
|
+
projectId: string;
|
|
209
|
+
tenantId: string;
|
|
210
|
+
content: MessageContent;
|
|
211
211
|
conversationId: string;
|
|
212
|
-
role: string;
|
|
213
212
|
fromTeamAgentId: string | null;
|
|
214
213
|
toTeamAgentId: string | null;
|
|
214
|
+
visibility: string;
|
|
215
215
|
messageType: string;
|
|
216
216
|
parentMessageId: string | null;
|
|
217
217
|
a2aSessionId: string | null;
|
|
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
9
|
id: string;
|
|
10
|
-
tenantId: string;
|
|
11
|
-
projectId: string;
|
|
12
|
-
agentId: string;
|
|
13
10
|
createdAt: string;
|
|
14
11
|
updatedAt: string;
|
|
15
|
-
metadata: TaskMetadataConfig | null;
|
|
16
|
-
subAgentId: string;
|
|
17
|
-
contextId: string;
|
|
18
12
|
ref: {
|
|
19
|
-
type: "
|
|
13
|
+
type: "tag" | "commit" | "branch";
|
|
20
14
|
name: string;
|
|
21
15
|
hash: string;
|
|
22
16
|
} | null;
|
|
17
|
+
metadata: TaskMetadataConfig | null;
|
|
23
18
|
status: string;
|
|
19
|
+
subAgentId: string;
|
|
20
|
+
projectId: string;
|
|
21
|
+
tenantId: string;
|
|
22
|
+
agentId: string;
|
|
23
|
+
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|
|
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
36
36
|
updatedAt: string;
|
|
37
37
|
contextId: string;
|
|
38
38
|
ref: {
|
|
39
|
-
type: "
|
|
39
|
+
type: "tag" | "commit" | "branch";
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|