@inkeep/agents-core 0.77.0 → 0.77.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/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +24 -24
- 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 +18 -18
- package/dist/data-access/manage/skills.d.ts +15 -15
- 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 +12 -12
- package/dist/data-access/manage/tools.d.ts +27 -27
- package/dist/data-access/manage/triggers.d.ts +5 -5
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +28 -28
- package/dist/data-access/runtime/events.d.ts +6 -6
- package/dist/data-access/runtime/feedback.d.ts +6 -6
- package/dist/data-access/runtime/messages.d.ts +24 -24
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +4 -4
- package/dist/db/runtime/runtime-schema.d.ts +4 -4
- package/dist/validation/schemas/skills.d.ts +37 -37
- package/dist/validation/schemas.d.ts +714 -714
- package/package.json +1 -1
|
@@ -16,21 +16,21 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
16
16
|
total: number;
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
|
+
properties: Record<string, unknown> | null;
|
|
20
|
+
title: string | null;
|
|
21
|
+
tenantId: string;
|
|
22
|
+
projectId: string;
|
|
23
|
+
agentId: string | null;
|
|
19
24
|
id: string;
|
|
25
|
+
metadata: ConversationMetadata | null;
|
|
20
26
|
createdAt: string;
|
|
21
27
|
updatedAt: string;
|
|
28
|
+
userId: string | null;
|
|
22
29
|
ref: {
|
|
23
30
|
type: "commit" | "tag" | "branch";
|
|
24
31
|
name: string;
|
|
25
32
|
hash: string;
|
|
26
33
|
} | null;
|
|
27
|
-
userId: string | null;
|
|
28
|
-
metadata: ConversationMetadata | null;
|
|
29
|
-
projectId: string;
|
|
30
|
-
tenantId: string;
|
|
31
|
-
properties: Record<string, unknown> | null;
|
|
32
|
-
title: string | null;
|
|
33
|
-
agentId: string | null;
|
|
34
34
|
activeSubAgentId: string;
|
|
35
35
|
lastContextResolution: string | null;
|
|
36
36
|
userProperties: Record<string, unknown> | null;
|
|
@@ -91,21 +91,21 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
91
91
|
scopes: ProjectScopeConfig;
|
|
92
92
|
conversationId: string;
|
|
93
93
|
}) => Promise<{
|
|
94
|
+
properties: Record<string, unknown> | null;
|
|
95
|
+
title: string | null;
|
|
96
|
+
tenantId: string;
|
|
97
|
+
projectId: string;
|
|
98
|
+
agentId: string | null;
|
|
94
99
|
id: string;
|
|
100
|
+
metadata: ConversationMetadata | null;
|
|
95
101
|
createdAt: string;
|
|
96
102
|
updatedAt: string;
|
|
103
|
+
userId: string | null;
|
|
97
104
|
ref: {
|
|
98
105
|
type: "commit" | "tag" | "branch";
|
|
99
106
|
name: string;
|
|
100
107
|
hash: string;
|
|
101
108
|
} | null;
|
|
102
|
-
userId: string | null;
|
|
103
|
-
metadata: ConversationMetadata | null;
|
|
104
|
-
projectId: string;
|
|
105
|
-
tenantId: string;
|
|
106
|
-
properties: Record<string, unknown> | null;
|
|
107
|
-
title: string | null;
|
|
108
|
-
agentId: string | null;
|
|
109
109
|
activeSubAgentId: string;
|
|
110
110
|
lastContextResolution: string | null;
|
|
111
111
|
userProperties: Record<string, unknown> | null;
|
|
@@ -131,21 +131,21 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
131
131
|
userProperties?: Record<string, unknown> | null | undefined;
|
|
132
132
|
properties?: Record<string, unknown> | null | undefined;
|
|
133
133
|
} | {
|
|
134
|
+
properties: Record<string, unknown> | null;
|
|
135
|
+
title: string | null;
|
|
136
|
+
tenantId: string;
|
|
137
|
+
projectId: string;
|
|
138
|
+
agentId: string | null;
|
|
134
139
|
id: string;
|
|
140
|
+
metadata: ConversationMetadata | null;
|
|
135
141
|
createdAt: string;
|
|
136
142
|
updatedAt: string;
|
|
143
|
+
userId: string | null;
|
|
137
144
|
ref: {
|
|
138
145
|
type: "commit" | "tag" | "branch";
|
|
139
146
|
name: string;
|
|
140
147
|
hash: string;
|
|
141
148
|
} | null;
|
|
142
|
-
userId: string | null;
|
|
143
|
-
metadata: ConversationMetadata | null;
|
|
144
|
-
projectId: string;
|
|
145
|
-
tenantId: string;
|
|
146
|
-
properties: Record<string, unknown> | null;
|
|
147
|
-
title: string | null;
|
|
148
|
-
agentId: string | null;
|
|
149
149
|
activeSubAgentId: string;
|
|
150
150
|
lastContextResolution: string | null;
|
|
151
151
|
userProperties: Record<string, unknown> | null;
|
|
@@ -165,21 +165,21 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
165
165
|
scopes: ProjectScopeConfig;
|
|
166
166
|
conversationId: string;
|
|
167
167
|
}) => Promise<{
|
|
168
|
+
properties: Record<string, unknown> | null;
|
|
169
|
+
title: string | null;
|
|
170
|
+
tenantId: string;
|
|
171
|
+
projectId: string;
|
|
172
|
+
agentId: string | null;
|
|
168
173
|
id: string;
|
|
174
|
+
metadata: ConversationMetadata | null;
|
|
169
175
|
createdAt: string;
|
|
170
176
|
updatedAt: string;
|
|
177
|
+
userId: string | null;
|
|
171
178
|
ref: {
|
|
172
179
|
type: "commit" | "tag" | "branch";
|
|
173
180
|
name: string;
|
|
174
181
|
hash: string;
|
|
175
182
|
} | null;
|
|
176
|
-
userId: string | null;
|
|
177
|
-
metadata: ConversationMetadata | null;
|
|
178
|
-
projectId: string;
|
|
179
|
-
tenantId: string;
|
|
180
|
-
properties: Record<string, unknown> | null;
|
|
181
|
-
title: string | null;
|
|
182
|
-
agentId: string | null;
|
|
183
183
|
activeSubAgentId: string;
|
|
184
184
|
lastContextResolution: string | null;
|
|
185
185
|
userProperties: Record<string, unknown> | null;
|
|
@@ -8,16 +8,16 @@ import { EventInsert } from "../../types/entities.js";
|
|
|
8
8
|
declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert) => Promise<{
|
|
9
9
|
row: {
|
|
10
10
|
type: string;
|
|
11
|
+
properties: Record<string, unknown> | null;
|
|
12
|
+
tenantId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
agentId: string | null;
|
|
11
15
|
id: string;
|
|
16
|
+
metadata: Record<string, unknown> | null;
|
|
12
17
|
createdAt: string;
|
|
13
18
|
updatedAt: string;
|
|
14
|
-
metadata: Record<string, unknown> | null;
|
|
15
|
-
projectId: string;
|
|
16
|
-
tenantId: string;
|
|
17
|
-
properties: Record<string, unknown> | null;
|
|
18
|
-
agentId: string | null;
|
|
19
|
-
conversationId: string | null;
|
|
20
19
|
userProperties: Record<string, unknown> | null;
|
|
20
|
+
conversationId: string | null;
|
|
21
21
|
messageId: string | null;
|
|
22
22
|
serverMetadata: {
|
|
23
23
|
[k: string]: unknown;
|
|
@@ -71,14 +71,14 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
71
71
|
}[]>;
|
|
72
72
|
declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
|
|
73
73
|
type: "positive" | "negative";
|
|
74
|
+
tenantId: string;
|
|
75
|
+
projectId: string;
|
|
74
76
|
id: string;
|
|
75
77
|
createdAt: string;
|
|
76
78
|
updatedAt: string;
|
|
77
|
-
projectId: string;
|
|
78
|
-
tenantId: string;
|
|
79
79
|
conversationId: string;
|
|
80
|
-
details: string | null;
|
|
81
80
|
messageId: string | null;
|
|
81
|
+
details: string | null;
|
|
82
82
|
}>;
|
|
83
83
|
declare const createFeedbackBulk: (db: AgentsRunDatabaseClient) => (items: FeedbackInsert[]) => Promise<(typeof feedback.$inferSelect)[]>;
|
|
84
84
|
declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -101,14 +101,14 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
101
101
|
feedbackId: string;
|
|
102
102
|
}) => Promise<{
|
|
103
103
|
type: "positive" | "negative";
|
|
104
|
+
tenantId: string;
|
|
105
|
+
projectId: string;
|
|
104
106
|
id: string;
|
|
105
107
|
createdAt: string;
|
|
106
108
|
updatedAt: string;
|
|
107
|
-
projectId: string;
|
|
108
|
-
tenantId: string;
|
|
109
109
|
conversationId: string;
|
|
110
|
-
details: string | null;
|
|
111
110
|
messageId: string | null;
|
|
111
|
+
details: string | null;
|
|
112
112
|
}>;
|
|
113
113
|
//#endregion
|
|
114
114
|
export { createFeedback, createFeedbackBulk, deleteFeedback, getFeedbackById, getFeedbackByIds, listFeedback, listFeedbackByConversation, updateFeedback };
|
|
@@ -10,28 +10,28 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
+
properties: Record<string, unknown> | null;
|
|
14
|
+
tenantId: string;
|
|
15
|
+
projectId: string;
|
|
13
16
|
id: string;
|
|
17
|
+
content: MessageContent;
|
|
18
|
+
metadata: MessageMetadata | null;
|
|
14
19
|
createdAt: string;
|
|
15
20
|
updatedAt: string;
|
|
16
|
-
metadata: MessageMetadata | null;
|
|
17
21
|
role: string;
|
|
18
|
-
|
|
19
|
-
projectId: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
properties: Record<string, unknown> | null;
|
|
22
|
+
userProperties: Record<string, unknown> | null;
|
|
22
23
|
conversationId: string;
|
|
23
24
|
fromSubAgentId: string | null;
|
|
24
25
|
toSubAgentId: string | null;
|
|
25
26
|
fromExternalAgentId: string | null;
|
|
26
27
|
toExternalAgentId: string | null;
|
|
27
|
-
taskId: string | null;
|
|
28
|
-
a2aTaskId: string | null;
|
|
29
|
-
userProperties: Record<string, unknown> | null;
|
|
30
28
|
fromTeamAgentId: string | null;
|
|
31
29
|
toTeamAgentId: string | null;
|
|
32
30
|
visibility: string;
|
|
33
31
|
messageType: string;
|
|
32
|
+
taskId: string | null;
|
|
34
33
|
parentMessageId: string | null;
|
|
34
|
+
a2aTaskId: string | null;
|
|
35
35
|
a2aSessionId: string | null;
|
|
36
36
|
} | undefined>;
|
|
37
37
|
declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -154,28 +154,28 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
154
154
|
scopes: ProjectScopeConfig;
|
|
155
155
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
156
156
|
}) => Promise<{
|
|
157
|
+
properties: Record<string, unknown> | null;
|
|
158
|
+
tenantId: string;
|
|
159
|
+
projectId: string;
|
|
157
160
|
id: string;
|
|
161
|
+
content: MessageContent;
|
|
162
|
+
metadata: MessageMetadata | null;
|
|
158
163
|
createdAt: string;
|
|
159
164
|
updatedAt: string;
|
|
160
|
-
metadata: MessageMetadata | null;
|
|
161
165
|
role: string;
|
|
162
|
-
|
|
163
|
-
projectId: string;
|
|
164
|
-
tenantId: string;
|
|
165
|
-
properties: Record<string, unknown> | null;
|
|
166
|
+
userProperties: Record<string, unknown> | null;
|
|
166
167
|
conversationId: string;
|
|
167
168
|
fromSubAgentId: string | null;
|
|
168
169
|
toSubAgentId: string | null;
|
|
169
170
|
fromExternalAgentId: string | null;
|
|
170
171
|
toExternalAgentId: string | null;
|
|
171
|
-
taskId: string | null;
|
|
172
|
-
a2aTaskId: string | null;
|
|
173
|
-
userProperties: Record<string, unknown> | null;
|
|
174
172
|
fromTeamAgentId: string | null;
|
|
175
173
|
toTeamAgentId: string | null;
|
|
176
174
|
visibility: string;
|
|
177
175
|
messageType: string;
|
|
176
|
+
taskId: string | null;
|
|
178
177
|
parentMessageId: string | null;
|
|
178
|
+
a2aTaskId: string | null;
|
|
179
179
|
a2aSessionId: string | null;
|
|
180
180
|
}>;
|
|
181
181
|
declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -211,28 +211,28 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
211
211
|
scopes: ProjectScopeConfig;
|
|
212
212
|
messageId: string;
|
|
213
213
|
}) => Promise<{
|
|
214
|
+
properties: Record<string, unknown> | null;
|
|
215
|
+
tenantId: string;
|
|
216
|
+
projectId: string;
|
|
214
217
|
id: string;
|
|
218
|
+
content: MessageContent;
|
|
219
|
+
metadata: MessageMetadata | null;
|
|
215
220
|
createdAt: string;
|
|
216
221
|
updatedAt: string;
|
|
217
|
-
metadata: MessageMetadata | null;
|
|
218
222
|
role: string;
|
|
219
|
-
|
|
220
|
-
projectId: string;
|
|
221
|
-
tenantId: string;
|
|
222
|
-
properties: Record<string, unknown> | null;
|
|
223
|
+
userProperties: Record<string, unknown> | null;
|
|
223
224
|
conversationId: string;
|
|
224
225
|
fromSubAgentId: string | null;
|
|
225
226
|
toSubAgentId: string | null;
|
|
226
227
|
fromExternalAgentId: string | null;
|
|
227
228
|
toExternalAgentId: string | null;
|
|
228
|
-
taskId: string | null;
|
|
229
|
-
a2aTaskId: string | null;
|
|
230
|
-
userProperties: Record<string, unknown> | null;
|
|
231
229
|
fromTeamAgentId: string | null;
|
|
232
230
|
toTeamAgentId: string | null;
|
|
233
231
|
visibility: string;
|
|
234
232
|
messageType: string;
|
|
233
|
+
taskId: string | null;
|
|
235
234
|
parentMessageId: string | null;
|
|
235
|
+
a2aTaskId: string | null;
|
|
236
236
|
a2aSessionId: string | null;
|
|
237
237
|
}>;
|
|
238
238
|
declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
|
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|
|
43
|
-
status: "pending" | "
|
|
43
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
44
44
|
scheduledFor: string;
|
|
45
45
|
startedAt: string | null;
|
|
46
46
|
completedAt: string | null;
|
|
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
|
|
|
199
199
|
name: string;
|
|
200
200
|
hash: string;
|
|
201
201
|
} | null;
|
|
202
|
-
status: "pending" | "
|
|
202
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
203
203
|
scheduledFor: string;
|
|
204
204
|
startedAt: string | null;
|
|
205
205
|
completedAt: string | null;
|
|
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
|
|
|
239
239
|
name: string;
|
|
240
240
|
hash: string;
|
|
241
241
|
} | null;
|
|
242
|
-
status: "pending" | "
|
|
242
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
243
243
|
scheduledFor: string;
|
|
244
244
|
startedAt: string | null;
|
|
245
245
|
completedAt: string | null;
|
|
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
|
|
|
292
292
|
name: string;
|
|
293
293
|
hash: string;
|
|
294
294
|
} | null;
|
|
295
|
-
status: "pending" | "
|
|
295
|
+
status: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
296
296
|
scheduledFor: string;
|
|
297
297
|
startedAt: string | null;
|
|
298
298
|
completedAt: 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;
|
|
18
19
|
createdAt: string;
|
|
19
20
|
userId: string;
|
|
20
|
-
tenantId: string;
|
|
21
21
|
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
23
23
|
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -7,7 +7,12 @@ 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;
|
|
10
14
|
id: string;
|
|
15
|
+
metadata: TaskMetadataConfig | null;
|
|
11
16
|
createdAt: string;
|
|
12
17
|
updatedAt: string;
|
|
13
18
|
ref: {
|
|
@@ -15,12 +20,7 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
15
20
|
name: string;
|
|
16
21
|
hash: string;
|
|
17
22
|
} | null;
|
|
18
|
-
metadata: TaskMetadataConfig | null;
|
|
19
23
|
status: string;
|
|
20
|
-
projectId: string;
|
|
21
|
-
tenantId: string;
|
|
22
|
-
agentId: string;
|
|
23
|
-
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -858,13 +858,13 @@ declare const triggers: drizzle_orm_pg_core1569.PgTableWithColumns<{
|
|
|
858
858
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
859
859
|
encoding: "hex" | "base64";
|
|
860
860
|
signature: {
|
|
861
|
-
source: "query" | "
|
|
861
|
+
source: "query" | "body" | "header";
|
|
862
862
|
key: string;
|
|
863
863
|
prefix?: string | undefined;
|
|
864
864
|
regex?: string | undefined;
|
|
865
865
|
};
|
|
866
866
|
signedComponents: {
|
|
867
|
-
source: "literal" | "
|
|
867
|
+
source: "literal" | "body" | "header";
|
|
868
868
|
required: boolean;
|
|
869
869
|
key?: string | undefined;
|
|
870
870
|
value?: string | undefined;
|
|
@@ -895,13 +895,13 @@ declare const triggers: drizzle_orm_pg_core1569.PgTableWithColumns<{
|
|
|
895
895
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
896
896
|
encoding: "hex" | "base64";
|
|
897
897
|
signature: {
|
|
898
|
-
source: "query" | "
|
|
898
|
+
source: "query" | "body" | "header";
|
|
899
899
|
key: string;
|
|
900
900
|
prefix?: string | undefined;
|
|
901
901
|
regex?: string | undefined;
|
|
902
902
|
};
|
|
903
903
|
signedComponents: {
|
|
904
|
-
source: "literal" | "
|
|
904
|
+
source: "literal" | "body" | "header";
|
|
905
905
|
required: boolean;
|
|
906
906
|
key?: string | undefined;
|
|
907
907
|
value?: string | undefined;
|
|
@@ -3023,7 +3023,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1947.PgTableWithCo
|
|
|
3023
3023
|
tableName: "scheduled_trigger_invocations";
|
|
3024
3024
|
dataType: "string";
|
|
3025
3025
|
columnType: "PgVarchar";
|
|
3026
|
-
data: "pending" | "
|
|
3026
|
+
data: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
3027
3027
|
driverParam: string;
|
|
3028
3028
|
notNull: true;
|
|
3029
3029
|
hasDefault: false;
|
|
@@ -3036,7 +3036,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1947.PgTableWithCo
|
|
|
3036
3036
|
generated: undefined;
|
|
3037
3037
|
}, {}, {
|
|
3038
3038
|
length: 50;
|
|
3039
|
-
$type: "pending" | "
|
|
3039
|
+
$type: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
3040
3040
|
}>;
|
|
3041
3041
|
scheduledFor: drizzle_orm_pg_core1947.PgColumn<{
|
|
3042
3042
|
name: "scheduled_for";
|
|
@@ -4415,7 +4415,7 @@ declare const coPilotRuns: drizzle_orm_pg_core1947.PgTableWithColumns<{
|
|
|
4415
4415
|
tableName: "copilot_runs";
|
|
4416
4416
|
dataType: "string";
|
|
4417
4417
|
columnType: "PgVarchar";
|
|
4418
|
-
data: "
|
|
4418
|
+
data: "running" | "completed" | "failed" | "suspended";
|
|
4419
4419
|
driverParam: string;
|
|
4420
4420
|
notNull: true;
|
|
4421
4421
|
hasDefault: false;
|
|
@@ -4428,7 +4428,7 @@ declare const coPilotRuns: drizzle_orm_pg_core1947.PgTableWithColumns<{
|
|
|
4428
4428
|
generated: undefined;
|
|
4429
4429
|
}, {}, {
|
|
4430
4430
|
length: 50;
|
|
4431
|
-
$type: "
|
|
4431
|
+
$type: "running" | "completed" | "failed" | "suspended";
|
|
4432
4432
|
}>;
|
|
4433
4433
|
projectId: drizzle_orm_pg_core1947.PgColumn<{
|
|
4434
4434
|
name: "project_id";
|
|
@@ -336,10 +336,10 @@ declare const SkillFileInsertSchema: z.ZodObject<{
|
|
|
336
336
|
in: {};
|
|
337
337
|
}>;
|
|
338
338
|
declare const SkillInsertSchema: z.ZodObject<{
|
|
339
|
-
name: z.ZodString;
|
|
340
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
341
339
|
description: z.ZodString;
|
|
340
|
+
name: z.ZodString;
|
|
342
341
|
content: z.ZodString;
|
|
342
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
343
343
|
}, {
|
|
344
344
|
out: {};
|
|
345
345
|
in: {};
|
|
@@ -351,13 +351,13 @@ declare const SkillUpdateSchema: z.ZodObject<{
|
|
|
351
351
|
}, z.core.$strip>>;
|
|
352
352
|
}, z.core.$strip>;
|
|
353
353
|
declare const SkillApiSelectSchema: z.ZodObject<{
|
|
354
|
+
description: z.ZodString;
|
|
354
355
|
id: z.ZodString;
|
|
355
356
|
name: z.ZodString;
|
|
357
|
+
content: z.ZodString;
|
|
358
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
356
359
|
createdAt: z.ZodString;
|
|
357
360
|
updatedAt: z.ZodString;
|
|
358
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
359
|
-
description: z.ZodString;
|
|
360
|
-
content: z.ZodString;
|
|
361
361
|
}, z.core.$strip>;
|
|
362
362
|
declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
363
363
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -384,8 +384,8 @@ declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
|
384
384
|
filePath: z.ZodString;
|
|
385
385
|
content: z.ZodString;
|
|
386
386
|
}, z.core.$strip>>;
|
|
387
|
-
name: z.ZodString;
|
|
388
387
|
description: z.ZodString;
|
|
388
|
+
name: z.ZodString;
|
|
389
389
|
content: z.ZodString;
|
|
390
390
|
}, z.core.$strict>>;
|
|
391
391
|
declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
@@ -400,8 +400,8 @@ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
|
400
400
|
}[];
|
|
401
401
|
}>>, z.ZodObject<{
|
|
402
402
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
403
|
-
name: z.ZodOptional<z.ZodString>;
|
|
404
403
|
description: z.ZodOptional<z.ZodString>;
|
|
404
|
+
name: z.ZodOptional<z.ZodString>;
|
|
405
405
|
content: z.ZodOptional<z.ZodString>;
|
|
406
406
|
files: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
407
407
|
filePath: z.ZodString;
|
|
@@ -410,11 +410,11 @@ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
|
410
410
|
}, z.core.$strict>>;
|
|
411
411
|
declare const SkillFileApiSelectSchema: z.ZodObject<{
|
|
412
412
|
id: z.ZodString;
|
|
413
|
+
content: z.ZodString;
|
|
413
414
|
createdAt: z.ZodString;
|
|
414
415
|
updatedAt: z.ZodString;
|
|
415
|
-
skillId: z.ZodString;
|
|
416
416
|
filePath: z.ZodString;
|
|
417
|
-
|
|
417
|
+
skillId: z.ZodString;
|
|
418
418
|
}, z.core.$strip>;
|
|
419
419
|
declare const SkillFileApiInsertSchema: z.ZodObject<{
|
|
420
420
|
filePath: z.ZodString;
|
|
@@ -424,20 +424,20 @@ declare const SkillFileApiUpdateSchema: z.ZodObject<{
|
|
|
424
424
|
content: z.ZodString;
|
|
425
425
|
}, z.core.$strip>;
|
|
426
426
|
declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
|
|
427
|
+
description: z.ZodString;
|
|
427
428
|
id: z.ZodString;
|
|
428
429
|
name: z.ZodString;
|
|
430
|
+
content: z.ZodString;
|
|
431
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
429
432
|
createdAt: z.ZodString;
|
|
430
433
|
updatedAt: z.ZodString;
|
|
431
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
432
|
-
description: z.ZodString;
|
|
433
|
-
content: z.ZodString;
|
|
434
434
|
files: z.ZodArray<z.ZodObject<{
|
|
435
435
|
id: z.ZodString;
|
|
436
|
+
content: z.ZodString;
|
|
436
437
|
createdAt: z.ZodString;
|
|
437
438
|
updatedAt: z.ZodString;
|
|
438
|
-
skillId: z.ZodString;
|
|
439
439
|
filePath: z.ZodString;
|
|
440
|
-
|
|
440
|
+
skillId: z.ZodString;
|
|
441
441
|
}, z.core.$strip>>;
|
|
442
442
|
}, z.core.$strip>;
|
|
443
443
|
declare const SubAgentSkillSelectSchema: z.ZodObject<{
|
|
@@ -486,41 +486,41 @@ declare const SubAgentSkillUpdateSchema: z.ZodObject<{
|
|
|
486
486
|
in: {};
|
|
487
487
|
}>;
|
|
488
488
|
declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
|
|
489
|
+
subAgentId: z.ZodString;
|
|
489
490
|
id: z.ZodString;
|
|
490
491
|
createdAt: z.ZodString;
|
|
491
492
|
updatedAt: z.ZodString;
|
|
492
|
-
skillId: z.ZodString;
|
|
493
|
-
subAgentId: z.ZodString;
|
|
494
493
|
index: z.ZodInt;
|
|
495
494
|
alwaysLoaded: z.ZodBoolean;
|
|
495
|
+
skillId: z.ZodString;
|
|
496
496
|
}, z.core.$strip>;
|
|
497
497
|
declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
|
|
498
|
-
skillId: z.ZodString;
|
|
499
498
|
agentId: z.ZodString;
|
|
500
499
|
subAgentId: z.ZodString;
|
|
501
500
|
index: z.ZodInt;
|
|
502
501
|
alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
502
|
+
skillId: z.ZodString;
|
|
503
503
|
}, {
|
|
504
504
|
out: {};
|
|
505
505
|
in: {};
|
|
506
506
|
}>;
|
|
507
507
|
declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
|
|
508
|
+
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
508
509
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
509
510
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
510
511
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
511
|
-
skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
512
|
-
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
513
512
|
index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
514
513
|
alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
|
|
514
|
+
skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
515
515
|
}, z.core.$strip>;
|
|
516
516
|
declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
|
|
517
|
+
description: z.ZodString;
|
|
517
518
|
id: z.ZodString;
|
|
518
519
|
name: z.ZodString;
|
|
520
|
+
content: z.ZodString;
|
|
521
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
519
522
|
createdAt: z.ZodString;
|
|
520
523
|
updatedAt: z.ZodString;
|
|
521
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
522
|
-
description: z.ZodString;
|
|
523
|
-
content: z.ZodString;
|
|
524
524
|
subAgentSkillId: z.ZodString;
|
|
525
525
|
subAgentId: z.ZodString;
|
|
526
526
|
index: z.ZodInt;
|
|
@@ -529,41 +529,41 @@ declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
|
|
|
529
529
|
declare const SkillFileResponse: z.ZodObject<{
|
|
530
530
|
data: z.ZodObject<{
|
|
531
531
|
id: z.ZodString;
|
|
532
|
+
content: z.ZodString;
|
|
532
533
|
createdAt: z.ZodString;
|
|
533
534
|
updatedAt: z.ZodString;
|
|
534
|
-
skillId: z.ZodString;
|
|
535
535
|
filePath: z.ZodString;
|
|
536
|
-
|
|
536
|
+
skillId: z.ZodString;
|
|
537
537
|
}, z.core.$strip>;
|
|
538
538
|
}, z.core.$strip>;
|
|
539
539
|
declare const SkillWithFilesResponse: z.ZodObject<{
|
|
540
540
|
data: z.ZodObject<{
|
|
541
|
+
description: z.ZodString;
|
|
541
542
|
id: z.ZodString;
|
|
542
543
|
name: z.ZodString;
|
|
544
|
+
content: z.ZodString;
|
|
545
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
543
546
|
createdAt: z.ZodString;
|
|
544
547
|
updatedAt: z.ZodString;
|
|
545
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
546
|
-
description: z.ZodString;
|
|
547
|
-
content: z.ZodString;
|
|
548
548
|
files: z.ZodArray<z.ZodObject<{
|
|
549
549
|
id: z.ZodString;
|
|
550
|
+
content: z.ZodString;
|
|
550
551
|
createdAt: z.ZodString;
|
|
551
552
|
updatedAt: z.ZodString;
|
|
552
|
-
skillId: z.ZodString;
|
|
553
553
|
filePath: z.ZodString;
|
|
554
|
-
|
|
554
|
+
skillId: z.ZodString;
|
|
555
555
|
}, z.core.$strip>>;
|
|
556
556
|
}, z.core.$strip>;
|
|
557
557
|
}, z.core.$strip>;
|
|
558
558
|
declare const SkillListResponse: z.ZodObject<{
|
|
559
559
|
data: z.ZodArray<z.ZodObject<{
|
|
560
|
+
description: z.ZodString;
|
|
560
561
|
id: z.ZodString;
|
|
561
562
|
name: z.ZodString;
|
|
563
|
+
content: z.ZodString;
|
|
564
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
562
565
|
createdAt: z.ZodString;
|
|
563
566
|
updatedAt: z.ZodString;
|
|
564
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
565
|
-
description: z.ZodString;
|
|
566
|
-
content: z.ZodString;
|
|
567
567
|
}, z.core.$strip>>;
|
|
568
568
|
pagination: z.ZodObject<{
|
|
569
569
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -574,24 +574,24 @@ declare const SkillListResponse: z.ZodObject<{
|
|
|
574
574
|
}, z.core.$strip>;
|
|
575
575
|
declare const SubAgentSkillResponse: z.ZodObject<{
|
|
576
576
|
data: z.ZodObject<{
|
|
577
|
+
subAgentId: z.ZodString;
|
|
577
578
|
id: z.ZodString;
|
|
578
579
|
createdAt: z.ZodString;
|
|
579
580
|
updatedAt: z.ZodString;
|
|
580
|
-
skillId: z.ZodString;
|
|
581
|
-
subAgentId: z.ZodString;
|
|
582
581
|
index: z.ZodInt;
|
|
583
582
|
alwaysLoaded: z.ZodBoolean;
|
|
583
|
+
skillId: z.ZodString;
|
|
584
584
|
}, z.core.$strip>;
|
|
585
585
|
}, z.core.$strip>;
|
|
586
586
|
declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
|
|
587
587
|
data: z.ZodArray<z.ZodObject<{
|
|
588
|
+
description: z.ZodString;
|
|
588
589
|
id: z.ZodString;
|
|
589
590
|
name: z.ZodString;
|
|
591
|
+
content: z.ZodString;
|
|
592
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
590
593
|
createdAt: z.ZodString;
|
|
591
594
|
updatedAt: z.ZodString;
|
|
592
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
593
|
-
description: z.ZodString;
|
|
594
|
-
content: z.ZodString;
|
|
595
595
|
subAgentSkillId: z.ZodString;
|
|
596
596
|
subAgentId: z.ZodString;
|
|
597
597
|
index: z.ZodInt;
|